1 2000-12-03 Joseph S. Myers <jsm28@cam.ac.uk>
3 * docs/configopts.html, docs/documentation.html,
4 docs/install.html, docs/17_intro/BADNAMES,
5 docs/17_intro/contribute.html, docs/17_intro/howto.html,
6 docs/18_support/howto.html, docs/19_diagnostics/howto.html,
7 docs/20_util/howto.html, docs/21_strings/howto.html,
8 docs/22_locale/howto.html, docs/23_containers/howto.html,
9 docs/24_iterators/howto.html, docs/25_algorithms/howto.html,
10 docs/26_numerics/howto.html, docs/27_io/howto.html,
11 docs/ext/howto.html, docs/faq/index.html, docs/faq/index.txt: Sync
14 2000-12-01 Phil Edwards <pme@sources.redhat.com>
16 * docs/download.html: Remove.
17 * docs/footer.ihtml: Remove.
18 * docs/header.ihtml: Remove.
19 * docs/index.html: Remove.
20 * docs/links.html: Remove.
21 * docs/mail.html: Remove.
22 * docs/status.html: Remove.
23 * docs/thanks.html: Remove.
25 2000-12-01 Phil Edwards <pme@sources.redhat.com>
27 * mkcheck.in: Count static and shared results separately.
29 2000-12-01 Loren J. Rittle <ljrittle@acm.org>
31 * mkcheck.in: Correct typo.
33 2000-12-01 Gabriel Dos Reis <gdr@codesourcery.com>
35 * src/cmath.cc: Remove.
36 * src/Makefile.am (c_base_headers): Add bits/cmath.tcc.
37 (sources): Remove cmath.cc
38 * src/Makefile.in: Regenerate.
40 * include/c/bits/std_cmath.h (__cmath_power<>): Declare.
41 (__cmath_abs<>): New function.
42 (abs, fabs): Use __cmath_abs when no direct support is available.
43 (__pow_helper<>): New function.
44 (pow): Define here. Use __pow_helper<>.
46 * include/c/bits/cmath.tcc: New file.
48 2000-11-29 Benjamin Kosnik <bkoz@redhat.com>
50 Fixes for build directories with colons, AIX build problems.
51 * src/Makefile.am: Cleanups, add documentation.
52 (libstdc++.INC): Simplify rule.
53 (myinstallheaders): Consolidate install rules.
54 (myinstalldirs): New, make directores.
55 (base_headers): Subdivide based on install directory.
57 (backward_headers): New.
59 (c_headers): Remove, unused.
60 (c_shadow_headers): Split up, deal with conditional usage in a
62 * src/Makefile.in: Regenerate.
64 2000-11-29 Phil Edwards <pme@sources.redhat.com>
66 Sync with the documentation from wwwdocs.
67 * docs/Makefile: New file (rebuilds FAQ text version).
68 * docs/configopts.html: Update.
69 * docs/documentation.html: Update.
70 * docs/download.html: Update.
71 * docs/index.html: Update.
72 * docs/install.html: Update.
73 * docs/links.html: Update.
74 * docs/mail.html: Update.
75 * docs/status.html: Update.
76 * docs/thanks.html: Update.
77 * docs/27_io/howto.html: Update.
78 * docs/faq/index.html: Update for 2.91.
79 * docs/faq/index.txt: Update for 2.91.
80 * docs/footer.html: Removed.
81 * docs/footer.ihtml: New file.
82 * docs/gccrebuild.html: Removed.
83 * docs/header.html: Removed.
84 * docs/header.ihtml: New file.
86 2000-11-29 Loren J. Rittle <ljrittle@acm.org>
88 * tests_flags.in: Correct typo.
90 2000-11-29 Gabriel Dos Reis <gdr@codesourcery.com>
92 * tests_flags (SH_FLAGS, ST_FLAGS): Move them back to ...
93 * mkcheck.in (SH_FLAGS, ST_FLAGS): ...here
95 2000-11-29 Gabriel Dos Reis <gdr@codesourcery.com>
97 * src/Makefile.am (sources): Add bitset.cc
98 * src/Makefile.in: Regenrate.
100 * include/bits/std_bitset.h (_GLIBCPP_BITSET_BITS_PER_WORD): New
101 macro. Replace __BITS_PER_WORDS throughout.
102 (__BITS_PER_WORDS): Remove.
103 (bitset<>::_M_do_find_first, bitset<>::_M_do_find_next): Move
104 definitions to src/bitset.cc.
106 * src/bitset.cc (bitset<>::_M_do_find_first,
107 bitset<>::_M_do_find_next): Define here.
108 (_Bit_count<>::_S_bit_count, _Find_one<>::_S_first_one): Define
109 here. Explicitly instantiate definitions.
111 2000-11-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
113 * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): Silence
114 preprocessor multi-line string warnings.
115 (__atomic_add): Likewise.
116 (__compare_and_swap): Likewise.
117 (__always_swap): Likewise.
118 (__test_and_set): Likewise.
119 * config/cpu/arm/bits/atomicity.h (__exchange_and_add): Likewise.
120 (__atomic_add): Likewise.
121 (__compare_and_swap): Likewise.
122 (__always_swap): Likewise.
123 (__test_and_set): Likewise.
125 2000-11-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
127 Update for 2.91 release.
128 * include/bits/c++config (__GLIBCPP__): Update.
129 * docs/17_intro/RELEASE-NOTES: Update.
130 * docs/status.html: Update, remove bogus autotools disinformation.
132 2000-11-27 Benjamin Kosnik <bkoz@redhat.com>
134 * tests_flags.in (LTCXX): Change CXX_FLAG to CXXFLAGS.
136 * testsuite/22_locale/ctor_copy_dtor.cc: Adjust formatting.
137 * testsuite/27_io/istream_extractor_arith.cc (test11): New
138 testcase, based on libstdc++/90.
140 2000-11-27 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
142 * config/cpu/arm/bits/atomicity.h (__exchange_and_add): Add
144 (__atomic_add): Likewise.
145 (__compare_and_swap): Likewise.
146 (__always_swap): Likewise.
147 (__test_and_set): Likewise.
149 * config/cpu/powerpc/bits/atomicity.h: Replace '__ATOMICITY_INLINE'
151 (__exchange_and_add): Add __volatile__ to asm.
152 (__atomic_add): Likewise.
153 (__compare_and_swap): Likewise.
154 (__always_swap): Likewise.
155 (__test_and_set): Likewise.
157 2000-11-27 Gabriel Dos Reis <gdr@codesourcery.com>
159 * tests_flags.in: Update documentation to reflect the change
162 2000-11-26 Benjamin Kosnik <bkoz@fillmore.constant.com>
164 * tests_flags.in: Export CXX, CXXFLAGS.
165 * mkcheck.in: Grab them.
167 2000-11-26 David Billinghurst <David.Billinghurst@riotinto.com>
168 Benjamin Kosnik <bkoz@redhat.com>
170 * mkcheck.in: Add exe extension to printnow executable, abstract
171 out call to this with TIMER_COMMAND.
172 * configure.target (l_glibcpp_cxxflags): Add cygwin support.
173 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Correct paths.
174 * aclocal.m4: Regenerate.
175 * configure: Regenerate.
177 2000-11-26 Benjamin Kosnik <bkoz@redhat.com>
179 * testsuite/27_io/istream_unformatted.cc (test05): Fixup.
181 2000-11-26 Benjamin Kosnik <bkoz@redhat.com>
183 * acinclude.m4: Only sanity check for compiler version when
184 configuring. More fixes for 'make clean'.
185 * aclocal.m4: Regenerate.
186 * configure: Regenerate.
188 2000-11-26 Gabriel Dos Reis <gdr@codesourcery.com>
190 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove cabsl.c
191 * libmath/Makefile.in: Regenerate.
192 * libmath/cabs.c: Remove.
193 * libmath/cabsf.c: Likewise.
194 * libmath/cabsl.c: Likewise.
195 * libmath/complex-stub.h: Remove declarations for cabs*.
197 * acinclude.m4: Remove check for cabs*.
198 * aclocal.m4: Regenerate.
200 * Makefile.in: Regenerate.
202 2000-11-26 Gabriel Dos Reis <gdr@codesourcery.com>
204 * tests_flags.in: New file. Split out of ...
205 * mkcheck.in: ... this. Move flags computation into
207 * configure.in: Add support for tests_flags.
208 * confiigure: Regenerate.
210 2000-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
212 * acinclude.m4: Change C9X references to refer to C99.
213 * aclocal.m4, configure: Regenerate.
214 * config/os/gnu-linux/bits/os_defines.h, src/complex.cc,
215 testsuite/22_locale/codecvt_wchar_t_char.cc,
216 include/bits/stl_config.h, include/c/bits/std_cwchar.h,
217 libmath/mathconf.h: Change C9X references to refer to C99.
219 2000-11-25 Benjamin Kosnik <bkoz@redhat.com>
220 Richard Earnshaw <rearnsha@arm.com>
222 * src/Makefile.am (INCLUDES): Remove unconditional use of
223 _GNU_SOURCE and _ISOC99_SOURCE macros.
224 * src/Makefile.in: Regenerate.
226 2000-11-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
228 * testsuite/22_locale/codecvt_wchar_t_char.cc (main): Add
229 _GLIBCPP_USE_WCHAR_T guards.
231 * configure.in (AC_OUTPUT_COMMANDS): Remove, just run scripts as
232 is, so that checks for existence of generated files actually work.
233 * configure: Regenerate.
235 2000-11-23 Hans-Peter Nilsson <hp@bitrange.com>
237 * config/os/gnu-linux/bits/os_defines.h: Include <features.h>.
238 If not glibc 2.1 or higher, include <gnu/types.h> and define
239 __off64_t as __loff_t and #define __THROW as empty.
241 * libio/libio.h [__P]: Move __THROW and __PMT into their own
244 2000-11-23 David Edelsohn <edelsohn@gnu.org>
246 * porting.texi: Expand libtool information.
248 2000-11-23 Gabriel Dos Reis <gdr@codesourcery.com>
250 * include/bits/ios_base.h (ios_base::failure::~failure,
251 ios_base::failure::what): Move defintion to ...
253 * src/ios.cc (ios_base::failure::~failure): ... here.
254 src/ios.cc (ios::failure::what): Likewise.
256 2000-11-22 Benjamin Kosnik <bkoz@redhat.com>
258 Make deprecated strstream header consistent with new and new.h.
259 * include/backward/strstream.h: Add. Use using declarations to
260 scope strstreambuf, istrstream, ostrstream, strstream to global
262 * include/backward/strstream: Remove using declarations.
263 * src/Makefile.am (base_headers): Add strstream.
264 * src/Makefile.in: Regenerate.
266 * include/backward/new.h (_CPP_BACKWARD_NEW_H): Change macro guard
267 to be consistent with other headers.
269 2000-11-22 Richard Henderson <rth@redhat.com>
271 * config/os/bsd/bits/ctype_inline.h (is): Fix order of expressions.
273 2000-11-22 Phil Edwards <pme@sources.redhat.com>
275 * porting.texi: Minor tweaks to vocabulary.
277 2000-11-22 Loren J. Rittle <ljrittle@acm.org>
279 * include/backward/strstream.h: Reinstate the `using'
282 2000-11-22 Loren J. Rittle <ljrittle@acm.org>
284 * src/Makefile.am (base_headers): Add missing backwards headers.
285 * src/Makefile.in: Regenerate.
287 2000-11-21 scott snyder <snyder@fnal.gov>
289 * config/c_io_stdio.cc (seekoff): Fix return value.
291 (sys_seek): Likewise.
293 2000-11-21 Loren J. Rittle <ljrittle@acm.org>
295 * mkcheck.in (explanation): Retain output of all failing
296 compiles. Don't add gratuitous space to the log file.
298 2000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
300 * src/strstream.cc: Adjust includes.
301 * src/Makefile.am (base_headers): Remove std_strstream.h, add
302 backwards/strstream.h.
303 (std_headers): Remove strstream.
304 * src/Makefile.in: Regenerate.
305 * libsupc++/Makefile.am (headers): Remove new.h
306 * libsupc++/Makefile.in: Regenerate.
307 * include/std/strstream: Remove.
308 * include/backward/strstream.h: Replace with...
309 * include/bits/std_strstream.h: ...this. Move.
310 * include/backward/complex.h: Remove SGIisms.
311 * include/backward/streambuf.h: Same.
312 * include/backward/stream.h: Same.
313 * include/backward/ostream.h: Same.
314 * include/backward/istream.h: Same.
315 * include/backward/iostream.h: Same.
316 * include/backward/iomanip.h: Same.
317 * include/backward/fstream.h: Same.
318 * libsupc++/new.h: Add using declarations for bad_alloc,
319 nothrow_t, and nothrow, move to ...
320 * include/backward/new.h: ...here.
322 2000-11-21 Mark Mitchell <mark@codesourcery.com>
324 * porting.texi: New file.
326 2000-11-21 Branko Cibej <brankoe@xbc.nu>
328 * config/os/solaris/solaris2.6/bits/os_defines.h: Define
329 _XOPEN_SOURCE, _LARGEFILE64_SOURCE, __EXTENSIONS__, __off_t,
330 __off64_t and __ssize_t.
331 * config/os/solaris/solaris2.5/bits/os_defines.h: For now, use the
332 same configuration as above.
334 2000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
336 * acinclude.m4 (AC_LC_MESSAGES): Check for locale.h.
337 * aclocal.m4: Regenerate.
338 * configure: Renerate.
340 2000-11-20 Benjamin Kosnik <bkoz@redhat.com>
342 * mkcheck.in (explanation): Don't paste output of passing compiles
343 into log file. Use -static. Get version info.
345 * testsuite/23_containers/vector_ctor.cc (test02): Fix thinko.
347 2000-11-20 Gabriel Dos Reis <gdr@codesourcery.com>
349 * include/bits/std_complex.h (complex<double>): Constructor
350 complex<double>::complex(const complex<float>&) is not explicit;
351 since it is a promotion.
352 (complex<long double>): Constructors taking complex<float> and
353 complex<double> are not explicit.
355 2000-11-20 Benjamin Kosnik <bkoz@redhat.com>
357 * include/bits/std_complex.h: Tweaks, include cmath for abs overloads.
358 * src/complex.cc: Remove cmath include, formatting tweaks, remove
360 * include/c/bits/std_cmath.h: Formatting tweaks.
361 * testsuite/26_numerics/complex_value.cc: New file, for catching
362 bits gleaned from libstdc++/106.
364 * testsuite/23_containers/vector_ctor.cc (test02): Add test from
367 2000-11-20 Joseph S. Myers <jsm28@cam.ac.uk>
369 * include/bits/c++config, include/bits/ios_base.h,
370 include/bits/std_streambuf.h: Correct spelling of "deprecated".
372 2000-11-19 Mark Mitchell <mark@codesourcery.com>
374 * libsupc++/exception_support.cc (__throw_bad_cast): Name it
375 __cxa_bad_cast under the new ABI.
376 (__throw_bad_typeid): Name it __cxa_bad_typeid under the new ABI.
377 * libsupc++/pure.cc (__pure_virtual): Name it __cxa_pure_virtual
380 2000-11-18 Mark Mitchell <mark@codesourcery.com>
382 * libsupc++/exception_support.h: New header file.
383 * libsupc++/vec.cc: Include it.
384 (__cxa_vec_new2): Recatch exceptions before rethrows.
385 (__cxa_vec_new3): Likewise.
386 (__cxa_vec_ctor): Likewise.
387 (__cxa_vec_cctor): Likewise.
388 (__cxa_vec_dtor): Likewise.
389 (__cxa_vec_delete2): Likewise.
390 (__cxa_vec_delete3): Likewise.
392 2000-11-17 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
394 * include/bits/stl_tree.h: Overload operators == and != to be able
395 to handle the case (const_iterator,iterator) and
396 (iterator,const_iterator), thus fixing libstdc++/737 and the like.
397 * testsuite/23_containers/map_operators.cc (test02): New tests.
399 2000-11-17 Loren J. Rittle <ljrittle@acm.org>
401 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Correct last patch
402 to ``make --enable-cstdio=stdio the default''.
403 * libstdc++-v3/aclocal.m4: Rebuilt.
404 * libstdc++-v3/configure: Rebuilt.
406 2000-11-17 Phil Edwards <pme@sources.redhat.com>
408 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Move switch statement
410 * configure.target: ...here. Enable generic atomic ops, and warn.
411 * aclocal.m4: Regenerated.
413 * Makefile.in: Ditto.
414 * libio/Makefile.in: Ditto.
415 * libmath/Makefile.in: Ditto.
416 * libsupc++/Makefile.in: Ditto.
417 * src/Makefile.in: Ditto.
419 2000-11-16 Loren J. Rittle <ljrittle@acm.org>
421 * include/bits/locale_facets.tcc (num_get<_CharT,
422 _InIter>::do_get(...)): Add missing typename keyword.
424 2000-11-16 Mark Mitchell <mark@codesourcery.com>
426 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Make
427 --enable-cstdio=stdio the default. Disable wide character support
429 * configure.in: Move GLIBCPP_ENABLE_C_MBCHAR after
430 (GLIBCPP_ENABLE_CSTDIO).
431 * config/c_io_stdio.h: Don't include <libio.h>, don't define
433 * aclocal.m4: Regenerated.
434 * configure: Likewise.
435 * Makefile.in: Likewise.
436 * libio/Makefile.in: Likewise.
437 * libmath/Makefile.in: Likewise.
438 * libsupc++/Makefile.in: Likewise.
439 * src/Makefile.in: Likewise.
441 2000-11-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
443 * config/c_io_stdio.h: Include stddef.h.
445 2000-11-16 Mark Mitchell <mark@codesourcery.com>
447 * config/c_io_stdio.h (streamsize): Make it a typedef for
449 (wstreamsize): Likewise.
451 * config/c_io_stdio.h: Include libio.h.
453 2000-11-15 Mark P Mitchell <mark@codesourcery.com>
455 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Substitute libio_la.
456 * src/Makefile.am (libstdc___la_LIBADD): Use it.
457 * aclocal.m4: Regenerated.
458 * configure: Likewise.
459 * Makefile.in: Likewise.
460 * libio/Makefile.in: Likewise.
461 * libmath/Makefile.in: Likewise.
462 * libsupc++/Makefile.in: Likewise.
463 * src/Makfile.in: Likewise.
465 2000-11-15 Mark Mitchell <mark@codesourcery.com>
467 * mkcheckin.in: Move check for bash version 2 later in the file.
469 * include/bits/basic_string.h (basic_string::_Rep::_S_max_size):
471 (basic_string::_Rep::_S_terminal): Likewise.
472 * include/bits/string.tcc (basic_string::_Rep::_S_max_size):
474 (basic_string::_Rep::_S_terminal): Likewise.
476 2000-11-15 David Billinghurst <David.Billinghurst@riotinto.com>
478 * mkcheck.in: Add function size_command() for irix.
480 2000-11-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
482 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPOR): Set LIBS back to
484 (GLIBCPP_EXPORT_INCLUDES): Only export TOPLEVEL_INCLUDES if
485 building a canadian cross. This should fix the remaining java
487 * aclocal.m4: Regenerate.
488 * configure: Regenerate.
490 * include/bits/c++config (__GLIBCPP__): Set release version for 2.91.
492 2000-11-14 Phil Edwards <pme@sources.redhat.com>
494 * mkcheck.in: On a platform where we don't know how to extract
495 section sizes, just set them to zero. Use old method of reading
498 2000-11-13 Loren J. Rittle <ljrittle@acm.org>
500 * config/c_io_stdio.h: Don't define __c_wfile_type
501 when _GLIBCPP_USE_WCHAR_T is not defined.
503 2000-11-13 Phil Edwards <pme@sources.redhat.com>
505 * acinclude.m4 (GLIBCPP_CHECK_TARGET): New macro, replacing
506 GLIBCPP_CHECK_CPU and GLIBCPP_CHECK_OS, sourcing configure.target.
507 (GLIBCPP_CONFIGURE): Call new macro here.
508 * configure.host: Cleanup.
509 * configure.in: Remove those two macros.
510 * configure.target: New file.
511 * aclocal.m4: Regenerated.
513 * Makefile.in: Ditto.
514 * libio/Makefile.in: Ditto.
515 * libmath/Makefile.in: Ditto.
516 * libsupc++/Makefile.in: Ditto.
517 * src/Makefile.in: Ditto.
519 * mkcheck.in: Use libtool. Split things out into functions.
521 2000-11-12 Alexandre Petit-Bianco <apbianco@cygnus.com>
523 * Makefile.am (tmp-libstdsc++.INC:): Do not use -I$(top_builddir).
524 * Makefile.in: Regenerate.
526 2000-11-12 David Edelsohn <edelsohn@gnu.org>
528 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add test for
529 libiconv.a providing wchar_t support functions.
530 * aclocal.m4: Regenerate.
532 2000-11-12 Loren J. Rittle <ljrittle@acm.org>
534 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle FreeBSD.
535 * aclocal.m4, configure: Rebuilt.
537 2000-11-12 Brent Verner <brent@rcfile.org>
539 * include/c_std/bits/wrap_langinfo.h: New file.
540 * include/c_std/langinfo.h: New file.
541 * include/bits/codecvt.h (__enc_trants::__enc_traits()): Bring in
542 CODESET from _C_legacy::CODESET if using shadow headers.
543 * src/Makefile.am: Add new files.
544 * src/Makefile.in: Regenerate.
546 2000-11-12 Mark Mitchell <mark@codesourcery.com>
548 * include/c/bits/std_cmath.h (abs): Change extern "C" declaration
549 of `abs (double)' to ...
552 * config/os/solaris/solaris2.7/bits/os_defines.h: Define
555 2000-11-11 Mark P Mitchell <mark@codesourcery.com>
557 * include/bits/basic_file.h (__basic_file): Don't use __c_wfile_type
558 when _GLIBCPP_USE_WCHAR_T is not defined.
560 2000-11-10 Phil Edwards <pme@sources.redhat.com>
562 * include/bits/codecvt.h (__iconv_adaptor): New adaptor function,
563 courtesy of Alexandre Oliva, to handle const/non-const signatures.
564 (codecvt::do_out): Use.
565 (codecvt::do_in): And here.
567 2000-11-10 Gabriel Dos Reis <gdr@codesourcery.com>
569 * include/bits/cpp_type_traits.h: Fix typos. Adjust formatting.
571 2000-11-10 Gabriel Dos Reis <gdr@codesourcery.com>
573 * include/bits/localefwd.h (_Count_ones<>::_S_halfcount,
574 _Count_ones<>::_S_count): Turn into enumerators.
576 2000-11-08 Mark Mitchell <mark@codesourcery.com>
578 * include/bits/codecvt.h (codecvt::do_out): Make it const-correct.
579 (codecvt::do_in): Likewise.
581 2000-11-08 David Edelsohn <edelsohn@gnu.org>
583 * src/locale-inst.cc: Add explicit instantiations of
584 _M_fill_insert and fill_n<..., unsigned long,...> .
586 2000-11-06 Gabriel Dos Reis <gdr@codesourcery.com>
588 * include/bits/std_complex.h (conj): Undo double removal.
590 2000-11-06 Alexandre Oliva <aoliva@redhat.com>
592 * acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of
593 alternatives for CXX_libstdcxx, now that it is useless.
594 * aclocal.m4, configure: Rebuilt.
596 2000-11-04 Mark Mitchell <mark@codesourcery.com>
598 * acinclude.m4 (LIB_AC_PROG_CXX): Set CXX_libstdcxx from CXX.
599 * aclocal.m4: Regenerated.
600 * configure: Likewise.
602 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix punctuation in
604 * aclocal.m4: Regenerated.
605 * configure: Likewise.
607 2000-11-04 Alexandre Oliva <aoliva@redhat.com>
609 * acinclude.m4 (CXX): Prevent it from being cached.
610 * aclocal.m4, configure, */Makefile.in: Rebuilt.
612 2000-11-03 David Edelsohn <dje@watson.ibm.com>
614 * acinclude.m4 (GLIBCPP_CHECK_OS): Add AIX target selecting threads
615 flag based on multilib definition of $CXX.
616 * mknumeric_limits (LDFLAGS): Add AIX target linking with pthreads
617 based on multilib definition of $CXX.
618 * config/os/aix/bits/os_defines.h (_G_USING_THUNKS): Define as 0.
620 2000-11-03 Phil Edwards <pme@sources.redhat.com>
622 * acinclude.m4: Cleanups.
623 * aclocal.m4: Regenerated.
625 * Makefile.in: Ditto.
626 * libio/Makefile.in: Ditto.
627 * libmath/Makefile.in: Ditto.
628 * libsupc++/Makefile.in: Ditto.
629 * src/Makefile.in: Ditto.
631 * docs/install.html: Removal of EGCS.
632 * docs/23_containers/wrappers_h.txt: Likewise.
633 * docs/faq/index.html: Likewise.
634 * docs/faq/index.txt: Regenerated.
635 * docs/thanks.html: More people.
637 2000-11-03 David Edelsohn <edelsohn@gnu.org>
639 * include/c/bits/std_cwchar.h: Undefine macro that conflicts
640 with function name defined in this file.
642 Thu Nov 2 23:19:20 2000 Mark P Mitchell <mark@codesourcery.com>
644 * include/c/bits/std_cctype.h: Undefine macros that conflict
645 with function names defined in this file.
646 * include/c/bits/std_cstdio.h: Likewise.
648 2000-11-02 Mark Mitchell <mark@codesourcery.com>
650 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix typo.
652 Thu Nov 2 10:11:45 2000 Mark P Mitchell <mark@codesourcery.com>
654 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Add support for IRIX.
655 * aclocal.m4: Regenerated.
656 * Makefile.in: Regenerated.
657 * libio/Makefile.in: Likewise.
658 * libmath/Makefile.in: Likewise.
659 * libsupc++/Makefile.in: Likewise.
660 * src/Makefile.in: Likewise.
661 * configure: Likewise.
662 * config/os/irix/bits/ctype_base.h: Revise.
663 * config/os/irix/bits/ctype_inline.h: Likewise.
664 * config/os/irix/bits/ctype_noninline.h: Likewise.
666 * testsuite/22_locale/codecvt_unicode_char.cc: Don't run it
667 if not _GLIBCPP_USE_WCHAR_T.
668 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
669 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
670 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
672 * mkcheck.in: Fix echoing of -rpath option.
674 * config/os/irix/bits/atomicity.h (_Atomic_word): Make it a
676 (__exchange_aand_add): Adjust accordingly.
677 (__atomic_add): Likewise.
679 2000-11-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
681 * src/locale.cc: Match orderings for static members.
682 * include/bits/fstream.tcc: Fixes for cin.
684 2000-11-02 Gabriel Dos Reis <gdr@codesourcery.com>
686 * include/bits/std_complex.h (complex<>): Remove (cos<>, cosh<>,
687 exp<>, log<>, log<>, sin, sinh<>) friend declarations.
688 (cos, cosh, sin, sinh): Define primary templates.
690 * src/complex.cc (cos<>, cosh<>, sin<>, sinh<>): Comment out
693 2000-11-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
695 * bits/basic_file.h (_M_open_mode): Change signature, move
697 * config/c_io_libio.cc: ...here.
698 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add sdtio option, remove wince.
699 * aclocal.m4: Regenerate.
700 * configure: Regenerate.
701 * config/c_io_stdio.h: New file.
702 * config/c_io_stdio.cc: New file.
703 * docs/configopts.html: Modify documentation.
705 2000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
707 * include/c/bits/std_cwctype.h: Add more undefs.
709 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
711 * include/bits/std_complex.h (norm): Forward declare.
712 (complex<>): Comment out friend declaration of conj<>.
713 (conj<>): Comment out specialization.
714 (exp, log, log10): Define primary templates.
716 * src/complex.cc (exp<>, log<>, log10<>): Comment out
719 2000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
721 * include/bits/std_complex.h: Remove duplicate definition of conj.
722 * include/c/bits/std_cwctype.h: Consistent placement of undefs.
724 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
726 * src/complex.cc (arg, polar): Comment out specializations.
728 * include/bits/std_complex.h (complex<>): Remove arg<> friend
730 (arg): Define primary template.
734 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
736 * include/c/bits/std_cwctype.h: #undef possible function-like
737 macro definitions of iswxxx functions, which might be brought in
738 by <wctype.h>. Those macro definitions prevent build on some
741 * include/bits/std_complex.h (complex<>): Comment out friend
742 declarations of abs<> specializations.
743 (abs): Define primary template.
745 * src/complex.cc (abs): Comment out specialization definition.
747 2000-10-30 Phil Edwards <pme@sources.redhat.com>
749 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Raise debugging level from
750 the default of 2 to 3.
751 * configure.in: Fix minor typos. SUBST the values of enable_shared
752 and enable_static so that mkcheck will be aware of them. Put the
753 test for gconv.h in with all the other header tests.
754 * aclocal.m4: Regenerate.
756 * Makefile.in: Ditto.
757 * libio/Makefile.in: Ditto.
758 * libmath/Makefile.in: Ditto.
759 * libsupc++/Makefile.in: Ditto.
760 * src/Makefile.in: Ditto.
762 * config/os/solaris/solaris2.7/bits/os_defines.h: Define
763 _G_USING_THUNKS to 0.
765 2000-10-30 Benjamin Kosnik <bkoz@redhat.com>
767 * src/complex_io.cc : Remove ancient defines.
768 * config/os/gnu-linux/bits/os_defines.h: Add defines.
769 * libsupc++/tinfo2.cc: Change to cstddef.
771 * include/bits/codecvt.h: Add include of c++config.h, so that
772 __USE_GNU gets defined. (Important for alpha.)
774 * include/c/bits/std_cwctype.h: Same.
775 * include/c/bits/std_ctime.h: And here.
776 * include/c/bits/std_cstdarg.h: Same.
777 * include/c/bits/std_csignal.h: Same.
778 * include/c/bits/std_csetjmp.h: Same.
779 * include/c/bits/std_clocale.h: Same.
780 * include/c/bits/std_climits.h: Touch.
781 * include/c/bits/std_cfloat.h: Same.
782 * include/c/bits/std_cerrno.h: Same.
783 * include/c/bits/std_cwchar.h: Same.
784 * include/c/bits/std_cassert.h: Same.
785 * include/c/bits/std_cctype.h: Same.
786 * include/c/bits/std_cstddef.h: And here.
787 * include/c/bits/std_cstdlib.h: And here.
788 * include/c/bits/std_cstdio.h: Same.
789 * include/c/bits/std_cstring.h: Add names to namespace std::.
791 * include/bits/c++config (_GNU_SOURCE): Move linux-specific macros
793 (_ISOC99_SOURCE): And this one....
794 * config/os/gnu-linux/bits/os_defines.h: ...to here.
796 * include/bits/codecvt.h (codecvt<_InternT, _ExternT,
797 __enc_traits>::do_in): Don't cast to const, this is a bug in glibc
799 (codecvt<_InternT, _ExternT, __enc_traits>::do_out): Same.
800 * include/c/bits/std_cwchar.h: Add using declarations for mbstate_t.
802 2000-10-30 Steven King <sxking@uswest.net>
804 * include/bits/codecvt.h: Add cast.
805 * include/c_std/stdio.h: Re-add printf using declaration.
806 * include/c_std/bits/std_cstdio.h: Same
807 * testsuite/22_locale/codecvt_wchar_t_char.cc: Fixup testsuite.
808 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
809 * testsuite/22_locale/facet.cc: Same.
810 * testsuite/22_locale/global_templates.cc: Same.
811 * testsuite/22_locale/operators.cc: Same.
812 * testsuite/22_locale/static_members.cc: Same.
813 * testsuite/26_numerics/c_math.cc: Same.
814 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
815 * testsuite/27_io/fpos.cc: Same.
816 * testsuite/27_io/istream_extractor_arith.cc: Same.
817 * testsuite/27_io/istream_unformatted.cc: Same.
818 * testsuite/27_io/ostream_inserter_arith.cc: Same.
819 * testsuite/27_io/streambuf.cc: Same.
821 2000-10-30 Mark Mitchell <mark@codesourcery.com>
823 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT): Check
824 for cabs, cabsf, and cabsl, too.
825 * aclocal.m4: Regenerated.
826 * config.h.in: Likewise.
827 * configure: Likewise.
828 * libmath/Makefile.am (libmath_la_SOURCES): Remove cabs.c and
830 * libmath/Makefile.in: Regenerated.
831 * libmath/complex-stub.h (cabs): Don't declare if the system
832 already provides this function.
835 * src/complex.cc (abs): Directly use `hypot' since we can't call
838 2000-10-30 Joseph S. Myers <jsm28@cam.ac.uk>
840 * acinclude.m4: Update URL on egcs.cygnus.com to point to
842 * aclocal.m4, configure: Regenerate.
843 * src/gen-num-limits.cc, include/bits/c++config,
844 include/bits/stl_config.h: Remove EGCS references.
846 2000-10-29 Mark Mitchell <mark@codesourcery.com>
848 * mkcheck.in (test_file): Use -rpath, rather than --rpath, when
849 building shared executables.
851 2000-10-29 Mark Harig <mharig@landmark.com>
853 * src/Makefile.am: Change logic for include dir options.
854 * src/Makefile.in: Regenerate.
855 * libsupc++/Makefile.am: Ditto.
856 * libsupc++/Makefile.in: Regenerate.
858 2000-10-29 Benjamin Kosnik <bkoz@redhat.com>
860 * configure.in: Simplify use of AC_CACHE_SAVE. Put linked files
861 in $(top_builddir)/include/bits, not $(top_builddir)/bits, to help
862 with libgcj build issues and improve consistency with the source
863 directory's include directory setup.
864 * configure: Regenerate.
865 * acinclude.m4: Same here.
866 * aclocal.m4: Regenerate.
867 * mknumeric_limits (OUT_H): Also change paths here.
868 * mkcheck.in (C_DIR): And here.
869 * mkc++config (OUT_H): And here.
870 * libmath/Makefile.am (INCLUDES): And here.
871 * src/Makefile.am (INCLUDES): Change to $(top_builddir)/include.
872 * libio/Makefile.am: Ditto.
873 * libsupc++/Makefile.am (INCLUDES): Ditto.
875 2000-10-29 Mark Mitchell <mark@codesourcery.com>
877 * config/c_io_libio.cc (basic_file<char>::__basic_file):
878 Don't pass a NULL _IO_wide_data to _IO_no_init when
879 _GLIBCPP_USE_WCHAR_T is not defined.
880 * config/c_io_libio.h (_IO_codecvt): Don't declare when
881 _GLIBCPP_USE_WCHAR_T is not defined.
882 * config/c_io_libio_codecvt.c: Don't compile it
883 when _GLIBCPP_USE_WCHAR_T is not defined.
884 * include/bits/codecvt.h (codecvt<_InternT, _ExternT, __enc_traits):
885 Don't define this specialization when _GLIBCPP_USE_WCHAR_T
887 * include/bits/locale_facets.h (<bits/std_cwctype.h>): Don't
888 include it when _GLIBCPP_USE_WCHAR_T is not defined.
889 * src/codecvt.cc (__enc_traits::_S_max_size): Don't define
890 when _GLIBCPP_USE_WCHAR_T is not defined.
891 * src/localename.cc (locale::_Impl::_M_construct_collate):
892 Don't call wide-character functions when _GLIBCPP_USE_WCHAR_T is
894 (locale::_Impl::_M_construct_ctype): Likewise.
895 (locale::_Impl::_M_construct_monetary): Likewise.
896 (locale::_Impl::_M_construct_numeric): Likewise.
897 (locale::_Impl::_M_construct_time): Likewise.
898 (locale::_Impl::_M_construct_messages): Likewise.
900 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle IRIX.
901 * aclocal.m4: Regenerated.
902 * configure: Likewise.
903 * config/os/irix/bits/atomicity.h: New file.
904 * config/os/irix/bits/os_defines.h (_POSIX_SOURCE): Undefine.
906 (__off64_t): Likewise.
907 (__ssize_t): Likewise.
908 (_G_USING_THUNKS): Define to zero.
910 2000-10-28 Mark Mitchell <mark@codesourcery.com>
912 * src/string-inst.cc (basic_string<C>::npos): Explicitly
915 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
917 * include/c/bits/std_cmath.h: Fix double declarations in namespace std.
919 Clean up naming, consistency in "C" library autoconf testing.
920 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): For consistency, change to
921 GLIBCPP_CHECK_CTYPE_SUPPORT.
922 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add.
923 * aclocal.m4: Regenerate.
924 * configure.in: And here.
925 Add call to GLIBCPP_CHECK_STDLIB_SUPPORT.
926 * configure: Regenerate.
928 2000-10-26 David Edelsohn <edelsohn@gnu.org>
930 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_2): New macro.
931 (GLIBCPP_CHECK_MATH_SUPPORT): Use it to test for strtold.
933 2000-10-26 Phil Edwards <pme@sources.redhat.com>
934 David Edelsohn <dje@watson.ibm.com>
936 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
937 --gc-sections stuff entirely to avoid misleading people.
938 (GLIBCPP_ENABLE_CSTDIO): Merge need_libio and need_xtra_libio.
939 * libio/Makefile.am (LIBIO_SRCS,LIBIO_WSRCS,LIBIO_XTRA_SRCS):
941 * libio/libio.h: Simplify, make fewer assumptions. Define those
942 macros which must be defined.
943 * config/os/solaris/solaris2.7/bits/os_defines.h: Simplify as a
946 2000-10-26 Mark Mitchell <mark@codesourcery.com>
948 * include/backward/streambuf.h: New file.
950 2000-10-26 David Edelsohn <dje@watson.ibm.com>
952 * config/os/aix/bits/ctype_inline.h (is): Use __OBJ_DATA directly.
953 * config/os/aix/bits/ctype_noninline.h (do_tolower): Fix typo.
954 * config/os/aix/bits/os_defines.h: Add AIX defines.
956 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
958 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Remove.
959 * aclocal.m4: Regenerate.
960 * configure.in: Remove GLIBCPP_ENABLE_LONG_DOUBLE.
961 * configure: Regenerate.
962 * docs/configopts.html: Remove.
963 * src/complexl.cc: Revert.
964 * config.h.in: Remove.
965 * include/c_std/bits/std_cmath.h: Remove guards based on
966 _GLIBCPP_USE_LONG_DOUBLE.
967 * include/c/bits/std_cmath.h: Same. Format. Match c_std behavior
968 with respect to long double signatures.
970 * config/os/aix/bits/ctype_noninline.h (ctype): Remove throw
972 * config/os/newlib/bits/ctype_noninline.h (ctype): And here.
973 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
974 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
975 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
976 * config/os/bsd/bits/ctype_noninline.h (ctype): Same.
978 2000-10-26 Gabriel Dos Reis <gdr@codesourcery.com>
980 * include/bits/std_valarray.h (valarray::valarray): Fix thinko.
981 Use __valarray_copy_construct only where appropriate.
983 2000-10-25 Mark Mitchell <mark@codesourcery.com>
985 * Makefile.in (check): Don't make mkcheck executable.
986 (check-install): Likewise.
987 * configure.in (AC_OUTPUT): Make mkcheck executable.
988 * mkcheck.in (top_srcdir): New variable.
989 (INC_PATH): Set the path to the backward and ext directories
992 2000-10-25 Phil Edwards <pme@sources.redhat.com>
994 * configure.in: Check for gconv.h.
995 * libio/wfileops.c: Wrap gconv.h in HAVE_GCONV_H.
997 * config/c_io_libio_codecvt.c: Change __mbstate_t to __c_mbstate_t.
998 * libio/_G_config.h: And here.
999 * libio/iofwide.c: And here.
1000 * libio/libio.h: And here.
1002 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Remove
1003 exception specification to match declaration.
1004 * include/bits/locale_facets.tcc: Include bits/std_clocale.h.
1006 2000-10-24 Mark Harig <mharig@landmark.com>
1008 * docs/configopts.html: Added documentation for the
1009 "--enable-version-specific-runtime-libs" and
1010 "--with-gxx-include-dir" configuration switches.
1012 2000-10-24 Benjamin Kosnik <bkoz@redhat.com>
1014 * include/bits/stl_pair.h (make_pair): Add LWG solution.
1016 * testsuite/21_strings/compare.cc (test01): Inject namespace std
1019 * mkcheck.in (MAX_MEM_USAGE): Bump up to 3072. Strangely enough,
1022 2000-10-24 Levente Farkas <lfarkas@mindmaker.hu>
1024 * include/bits/std_bitset.h (_M_do_find_next): Fix typo.
1026 2000-10-24 Phil Edwards <pme@sources.redhat.com>
1028 * acconfig.h: List _GLIBCPP_USE_THREADS.
1029 * acinclude.m4: General formatting cleanup (tabs/spaces), typo
1030 correction, etc. Add comments about following *real* changes
1031 where they are used.
1032 (GLIBCPP_ENABLE_C_MBCHAR): New test...
1033 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): ...results used here.
1034 (GLIBCPP_ENABLE_CSTDIO): Define need_wlibio iff wide characters
1036 (GLIBCPP_ENABLE_THREADS): If threads are used, define new
1037 macro _GLIBCPP_USE_THREADS in c++config.h.
1038 (GLIBCPP_ENABLE_SHADOW): For C_INCLUDE_DIR, change () to {} as
1039 this is used in both makefiles and shell scripts (mkcheck).
1040 * configure.in: Call GLIBCPP_ENABLE_C_MBCHAR.
1042 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USE_THREADS.
1043 * config/c_io_libio.h: In nonthreaded case, typedef __c_lock to
1044 something harmless, like int.
1046 * config/os/aix/bits/os_defines.h: Guard with _GLIBCPP_OS_DEFINES,
1047 add comment/instructions.
1048 * config/os/bsd/bits/os_defines.h: Ditto.
1049 * config/os/generic/bits/os_defines.h: Ditto.
1050 * config/os/gnu-linux/bits/os_defines.h: Ditto.
1051 * config/os/irix/bits/os_defines.h: Ditto.
1052 * config/os/newlib/bits/os_defines.h: Ditto.
1053 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
1054 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
1056 * mkcheck.in: Limit the available heap size for testsuite
1057 binaries, initially at 2MB.
1059 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
1061 * testsuite/21_strings/compare.cc (test01): Add using declarations.
1063 * include/c_std/bits/std_cerrno.h: And here.
1064 * include/c_std/bits/std_cassert.h: Tweaks.
1066 * mkcheck.in: Simplify.
1068 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
1069 (GLIBCPP_ENABLE_LONG_LONG): Same.
1070 * aclocal.m4: Regenerate.
1072 * src/Makefile.am (c_shadow_headers): Add features.h,
1073 bits/wrap_features.h.
1074 * src/Makefile.in: Regenerate.
1075 * include/c_std/features.h: New file.
1076 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
1077 file. Need to have c++config.h included before this file so
1078 _ISOC99_SOURCE around.
1080 * include/c_std/sys/cdefs.h: Hack.
1081 * include/c_std/stdlib.h: Same, use c++config.h.
1082 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
1084 * include/c_std/bits/std_cassert.h: Fix.
1085 * include/c_std/bits/std_cerrno.h: Make consistent.
1087 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
1088 declaration from ::_C_legacy to _C_legacy.
1090 * include/c_std/bits/std_cstdio.h: same with printf.
1091 * include/c_std/stdio.h: And here.
1093 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
1094 * include/c_std/stdlib.h: Same here.
1096 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
1098 * testsuite/21_strings/compare.cc (test01): Add using declarations.
1100 * include/c_std/bits/std_cerrno.h: And here.
1101 * include/c_std/bits/std_cassert.h: Tweaks.
1103 * mkcheck.in: Simplify.
1105 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
1106 (GLIBCPP_ENABLE_LONG_LONG): Same.
1107 * aclocal.m4: Regenerate.
1109 * src/Makefile.am (c_shadow_headers): Add features.h,
1110 bits/wrap_features.h.
1111 * src/Makefile.in: Regenerate.
1112 * include/c_std/features.h: New file.
1113 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
1114 file. Need to have c++config.h included before this file so
1115 _ISOC99_SOURCE around.
1117 * include/c_std/sys/cdefs.h: Hack.
1118 * include/c_std/stdlib.h: Same, use c++config.h.
1119 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
1121 * include/c_std/bits/std_cassert.h: Fix.
1122 * include/c_std/bits/std_cerrno.h: Make consistent.
1124 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
1125 declaration from ::_C_legacy to _C_legacy.
1127 * include/c_std/bits/std_cstdio.h: same with printf.
1128 * include/c_std/stdio.h: And here.
1130 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
1131 * include/c_std/stdlib.h: Same here.
1133 2000-10-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1135 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): New macro.
1136 * aclocal.m4: Regenerate.
1137 * configure.in: Use it.
1138 * configure: Regenerate.
1139 * src/complexl.cc: Fixup.
1140 * include/c_std/bits/std_cmath.h: Fixup.
1141 * include/c/bits/std_cmath.h: Fixup.
1142 * docs/configopts.html: Add docs.
1144 * docs/links.html: Add links to defects list, standards FAQ.
1146 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Disable tests
1147 with string creation that allocate huge ammounts of memory.
1149 * include/c/bits/std_cstddef.h: Put size_t, ptrdiff_t in
1152 2000-10-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1154 * libsupc++/exception.cc: Use namespace std.
1155 * libsupc++/new: DITTO.
1156 * libsupc++/new_op.cc: DITTO.
1157 * libsupc++/new_opnt.cc: DITTO.
1158 * libsupc++/new_opv.cc: DITTO.
1159 * libsupc++/new_opvnt.cc: DITTO.
1160 * libsupc++/tinfo.cc: DITTO.
1161 * libsupc++/tinfo.h: DITTO.
1162 * libsupc++/vec.cc: DITTO.
1163 * libsupc++/Makefile.am: Blank lines removal.
1165 2000-10-21 Joseph S. Myers <jsm28@cam.ac.uk>
1167 * docs/configopts.html, docs/install.html, docs/17_intro/BADNAMES,
1168 docs/17_intro/howto.html, docs/18_support/howto.html,
1169 docs/19_diagnostics/howto.html, docs/20_util/howto.html,
1170 docs/21_strings/howto.html, docs/22_locale/howto.html,
1171 docs/23_containers/howto.html, docs/24_iterators/howto.html,
1172 docs/25_algorithms/howto.html, docs/26_numerics/howto.html,
1173 docs/27_io/howto.html, docs/ext/howto.html, docs/faq/index.html:
1174 Remove many EGCS references; use current absolute URLs on
1175 gcc.gnu.org or sources.redhat.com for messages in list archives.
1176 * docs/faq/index.txt: Regenerate.
1178 2000-10-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1180 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Adjust
1181 creation of state_type for unicode_codecvt to take into account
1182 the byte order markings. Add distinct tests for UCS-2BE and UCS-2LE.
1183 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Same.
1184 * include/bits/codecvt.h (__enc_traits): Add support for encodings
1185 that need a byte order marker. Needed for correct unicode support.
1187 * src/locale.cc: Remove explicit qualification std::.
1188 (locale::locale(const char* __name)): Revert, as named locale
1189 support not finished.
1190 * src/localename.cc (locale::_Impl:: _Impl(size_t __numfacets,
1191 size_t __refs, bool __has_name = false, string __name): Move
1193 * include/bits/localefwd.h: Here.
1195 2000-10-18 Chip Salzenberg <chip@valinux.com>
1197 * libio/libio.h (_IO_USER_LOCK): Define.
1199 2000-10-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1201 * libsupc++/Makefile.am (exception): Change exception.cc to
1202 exception_support.cc.
1203 (CXXLINK): Remove bogus --tag CC.
1204 * libsupc++/Makefile.in: Regenerate.
1205 * libsupc++/exception.cc: Move to...
1206 * libsupc++/exception_support.cc: ...here.
1208 * src/Makefile.am: Remove bogus --tag CC.
1209 * src/Makefile.in: Regenerate.
1211 * include/bits/locale_facets.tcc (use_facet): Simplify.
1212 * include/bits/locale_facets.h (use_facet<ctype<char> >): Correct
1213 use_facet declaration. Replace 'const ctype<T>' with ctype<T>.
1214 (use_facet<ctype<wchar_t> >): Same.
1215 * src/locale-inst.cc: Remove explicit instantiation.
1216 * src/locale.cc: Correct signature here too.
1217 (_Bad_use_facet::what()): Correct error string.
1218 * include/bits/localefwd.h: Correct comment.
1220 * mkcheck.in (C_DIR): Change libsupc++/include to libsupc++.
1222 2000-10-17 Martin Buchholz <martin@xemacs.org>
1224 * testsuite/27_io/istream_seeks.cc: Fix spelling typo.
1225 * testsuite/27_io/ostream_seeks.cc: Similarly.
1227 2000-10-17 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1229 via Alexandre Oliva <aoliva@redhat.com>
1230 * libsupc++/Makefile.am: Add --tag CXX, --tag CC, comments.
1231 * libsupc++/Makefile.in: Regenerate.
1232 * src/Makefile.am: Duplicate code.
1233 * src/Makefile.in: Regenerate.
1235 * acinclude.m4 (GLIBCPP_ENABLE_RELIBGCC): Take this out.
1236 * aclocal.m4: Regenerate.
1237 * configure.in: And here.
1238 * configure: Regenerate.
1240 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Disable
1241 test for SECTION_LDFLAGS.
1243 2000-10-16 Benjamin Kosnik <bkoz@gnu.org>
1245 Shadow headers would work if libsupc++ was strict about namespaces.
1246 This only possible if g++ maps std::size_t -> size_t. (Hint hint.)
1247 * include/c_std/assert.h: Add guards.
1248 * include/c_std/bits/std_climits.h: Correct typo.
1249 * include/c_std/ctype.h: Remove #error.
1251 * libio/libioP.h: Break up extern "C" bits around includes.
1252 * libio/libio.h: Only include C headers, or else _C_legacy namespaces
1254 * libio/libioP.h: Same here.
1256 2000-10-15 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1258 * include/c_std/unistd.h: Define some types only when defined in
1259 the original unistd.h.
1260 * include/c_std/bits/std_cstddef.h: Explicitly ask for the
1261 definition of size_t, ptrdiff_t and NULL.
1262 * include/c_std/bits/wrap_unistd.h: Blank lines removal.
1264 2000-10-15 Phil Edwards <pme@sources.redhat.com>
1266 * docs/configopts.html: Remove libgcc-rebuild; HTML formatting.
1268 2000-10-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1269 Mark Harig <markh@landmark.com>
1271 * src/Makefile.am (toolexeclibdir): Add support fo
1272 VERSION_SPECIFIC_LIBS and --with-gxx-include-dir.
1273 * src/Makefile.in: Regenerate.
1274 * libsupc++/Makefile.am: Same.
1275 (glibcppinstalldir): Adjust.
1276 * libsupc++/Makefile.in: Regenerate.
1277 * Makefile.am: Remove gxx_include_dir. Remove INCLUDE.
1278 * Makefile.in: Regenerate.
1279 * docs/configopts.html: Add descriptions of flags.
1281 2000-10-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1283 * libsupc++/Makefile.am: Use it.
1284 * libio/Makefile.am: Use it.
1285 * libmath/Makefile.am: Use it.
1286 * src/Makefile.am: Use it.
1287 * Makefile.am (AM_MAKEFLAGS): Remove includes.
1289 * acinclude.m4 (GLIBCPP_EXPORT_INCLUES): Move include macros here.
1290 (GLIBCPP_EXPORT_FLAGS): Move CXX flag setting here.
1291 * configure.in: Use it.
1293 * mkcheck.in (SRC_DIR): Use C_INCLUDE_DIR.
1295 * src/Makefile.am (CXXCOMPILE): Remove.
1296 * src/Makefile.in: Regenerate.
1297 * libsupc++/Makefile.am (CXXCOMPILE): Same here.
1298 * libsupc++/Makefile.in: Regenerate.
1300 * include/c_std/*: Merge with shadow.
1301 * include/c_std/bits/*: Same.
1303 * shadow: Remove directory.
1304 * shadow/*: De-populate.
1306 2000-10-11 Phil Edwards <pme@sources.redhat.com>
1308 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
1309 exception-throwing code for linker test.
1310 * aclocal.m4: Regenerate.
1311 * configure: Regenerate.
1313 2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1315 * Makefile.am (LIBSUPCXX_INCLUDES): Adjust.
1316 * libsupc++/include: Remove
1317 * libsupc++/include/*: Move to ...
1319 * libsupc++/Makefile.am (glibcppinstall_HEADERS): Install headers.
1320 (glibcppinstalldir): New.
1322 * src/Makefile.am (c_base_headers): New.
1323 (c_shadow_headers): New
1325 (myinstallheaders): Correct install issues.
1326 * src/Makefile.in: Regenerate.
1328 * Makefile.am (CSHADOW_INCLUDES): Simplify.
1329 * Makefile.in: Regenerate.
1330 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add c_include_dir.
1331 * aclocal.m4: Regenerate.
1332 * mkcheck.in (SRC_DIR): Use it.
1334 * include/bits/std_stdexcept.h: And here.
1335 * include/bits/std_ios.h: Change std_exception.h to exception.
1336 * src/locale.cc: And here.
1337 * src/locale-inst.cc: And here.
1339 * include/bits/valarray_array.h: And here.
1340 * include/bits/stl_alloc.h: And here.
1341 * include/bits/stl_algobase.h: And here.
1342 * include/bits/pthread_allocimpl.h: And here.
1343 * include/bits/stl_construct.h: Change to std_new.h to new.
1345 * include/bits/locale_facets.h: Change std_typeinfo.h to typeinfo.
1347 * src/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
1348 (headers): Remove duplicated headers.
1349 (std_headers): And here.
1350 * src/Makefile.in: Regenerate.
1351 * libsupc++/Makefile.am (LIBSUPCXX_INCLUDES): Remove.
1352 * libsupc++/Makefile.in: Regenerate.
1353 * Makefile.am (LIBSUPCXX_INCLUDES): Add here.
1354 (AM_MAKEFLAGS): And here.
1355 * Makefile.in: Regenerate.
1356 * include/bits/std_typeinfo.h: Remove.
1357 * include/bits/std_new.h: Remove
1358 * include/bits/std_exception.h: Remove.
1360 * std/typeinfo: Remove.
1361 * std/exception: Remove.
1363 * libio/_G_config.h (__need_ptrdiff_t): Add.
1365 * libsupc++/include/new: Change stddef.h to cstddef.
1366 * libsupc++/tinfo.h: Change limits.h to climits.
1367 * libsupc++/pure.cc: Comment out _GNU_LIBRARY_ bits, as this
1368 renders the file uncompilable. Add copyright.
1370 * include/c_std/bits/std_cstddef.h: Don't bring wchar_t into std
1371 namespace, as it is a fundamental type.
1373 2000-10-09 Richard Henderson <rth@cygnus.com>
1375 * libsupc++/pure.cc: New file.
1376 * libsupc++/Makefile.am (INCLUDES): Add top_builddir.
1377 (sources): Add pure.cc.
1378 * libsupc++/Makefile.in: Regenerate.
1380 2000-10-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1382 * docs/configopts.html: Edit.
1384 * libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
1385 * libio/Makefile.in: Regenerate.
1386 * libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
1387 * libmath/Makefile.in: Regenerate.
1388 * libsupc++/Makefile.am (INCLUDES): Remove duplicate.
1389 * libsupc++/Makefile.in: Regenerate.
1391 * Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
1392 TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
1393 CSHADOW_INCLUDES up here.
1394 * Makefile.in: Regenerate.
1395 * src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
1397 (myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
1398 Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
1399 LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
1400 * src/Makefile.in: Regenerate.
1402 * include/c: New directory.
1403 * include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
1404 std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
1405 std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
1406 std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
1407 std_cwchar.h, std_cwctype.h): Add, moving from...
1408 * include/bits: ...here.
1409 * include/c_std: New directory.
1410 * include/c_std/bits/*: Populate from...
1411 * shadow: ...here. Remove directory.
1413 2000-10-08 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1415 * libsupc++/Makefile.am (INCLUDES): Add toplevel include directory.
1416 (INCLUDES): Add glibcpp_includedir.
1417 * libsupc++/Makefile.in: Regenerate.
1419 * acinclude.m4 (GLIBCPP_CHECK_OS): Link to os_defines.h.
1420 * aclocal.m4: Regenerate.
1421 * config/os/*/bits/os_defintes: Adjust copyright dates.
1423 2000-10-08 Phil Edwards <pme@sources.redhat.com>
1425 * include/bits/c++config: Include <bits/os_defines.h>
1426 * config/os/aix/bits/os_defines.h: New file.
1427 * config/os/bsd/bits/os_defines.h: Ditto.
1428 * config/os/generic/bits/os_defines.h: Ditto.
1429 * config/os/gnu-linux/bits/os_defines.h: Ditto.
1430 * config/os/irix/bits/os_defines.h: Ditto.
1431 * config/os/newlib/bits/os_defines.h: Ditto.
1432 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
1433 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
1434 * config/os/solaris/solaris2.7/bits/os_defines.h: Ditto.
1436 2000-10-07 David Edelsohn <dje@watson.ibm.com>
1438 * config/os/aix/bits/atomicity.h: New file.
1440 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1442 * acinclude.m4: Remove CPU_FLAGS
1443 * libio/Makefile.am: Here too.
1444 * Makefile.am: Here too.
1446 * src/Makefile.am (CONFIG_INCLUDES): Remove.
1447 (INCLUDES): Remove CONFIG_INCLUDES.
1448 (cpu_headers): Remove.
1449 (myinstallheaders): Remove cpu_headers.
1450 (generated_headers): Rename to build_headers.
1451 (build_headers): Add atomicity.h, ctype_base.h,
1452 ctype_specializations.h.
1454 * config/os: New directory.
1455 * config/aix: Move to...
1456 * config/bsd: Move to...
1457 * config/generic: Move to...
1458 * config/gnu-linux: Move to...
1459 * config/irix: Move to...
1460 * config/newlib: Move to...
1461 * config/solaris: Move to...
1462 * config/os/*: Here.
1464 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1466 * acinclude.m4: Remove CPU_FLAGS
1467 * libio/Makefile.am: Here too.
1468 * Makefile.am: Here too.
1470 * src/Makefile.am (CONFIG_INCLUDES): Remove.
1471 (INCLUDES): Remove CONFIG_INCLUDES.
1472 (cpu_headers): Remove.
1473 (myinstallheaders): Remove cpu_headers.
1474 (generated_headers): Rename to build_headers.
1475 (build_headers): Add atomicity.h, ctype_base.h,
1476 ctype_specializations.h.
1478 * config/os: New directory.
1479 * config/aix: Move to...
1480 * config/bsd: Move to...
1481 * config/generic: Move to...
1482 * config/gnu-linux: Move to...
1483 * config/irix: Move to...
1484 * config/newlib: Move to...
1485 * config/solaris: Move to...
1486 * config/os/*: Here.
1488 2000-10-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1490 * src/Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS,
1491 CONFIG_CXXFLAGS from here, and move to...
1492 * src/Makefile.in: Regenerate.
1493 * Makefile.am: ... here. Clean.
1494 (OPTIMIZE_CXXFLAGS): Move up Makefile hierarchy to here.
1495 (WARN_CXXFLAGS): Same.
1496 (CONFIG_CXXFLAGS): Same.
1497 * Makefile.in: Regenerate.
1498 * libsupc++/Makefile.am: Use top-level OPTIMIZE_CXXFLAGS,
1499 WARN_CXXFLAGS, CONFIG_CXXFLAGS as part of local AM_CXXFLAGS.
1500 * libsupc++/Makefile.in: Regenerate.
1502 Change math to libmath.
1503 * math: Move to libmath, delete.
1504 * libmath: New directory.
1505 * libmath/*: Populate.
1506 * src/Makefile.am (LIBMATH_INCLUDES): Change to libmath.
1507 (libstdc___la_LIBADD): Same.
1508 * src/Makefile.in: Regenerate.
1509 * configure.in: Add AC_OUTPUT for libmath/Makefile.
1510 * configure: Regenerate.
1511 * Makefile.am (SUBDIRS): Add libmath.
1512 * Makefile.in: Regenerate.
1513 * README (file): Change name.
1515 2000-10-06 Benjamin Kosnik <bkoz@cygnus.com>
1516 Richard Henderson <rth@cygnus.com>
1517 Alexandre Oliva <aoliva@redhat.com>
1519 * libsupc++: New directory.
1520 * libsupc++/*: Populate.
1521 * libsupc++/Makefile.am (INCLUDES): Add -I../../gcc for
1522 eh-common.h, gansidecl.h.
1523 * configure.in: Add in libsupc++/Makefile to AC_OUTPUT.
1524 * configure: Regenerate.
1525 * Makefile.am (SUBDIRS): Add libsupc++.
1526 * Makefile.in: Regenerate.
1527 * src/Makefile.am (libstdc___la_LIBADD): Add in libsupc++.la
1528 * src/Makefile.in: Regenerate.
1529 * libio/Makefile.am: Remove extraneous, confusing bits.
1530 * libio/Makefile.in: Regenerate.
1532 2000-10-05 Brent Verner <brent@rcfile.org>
1534 * bits/istream.tcc [basic_istream::get(basic_streambuf&)]: Removed
1535 test for _M_gcount < in_avail(), as in_avail() only reports info
1536 for current buffer, causing method to return at end of buffer.
1537 * testsuite/27_io/istream_unformatted.cc [test07()]: New test.
1538 * testsuite/27_io/istream_unformatted-3.txt: New file.
1539 * testsuite/27_io/istream_unformatted-3.tst: New file.
1541 2000-10-05 Benjamin Kosnik <bkoz@fillmore.constant.com>
1543 * README (file): Adjust directory structures.
1544 * mkcheck.in (INC_PATH): Adjust for header changes.
1546 2000-10-05 Phil Edwards <pme@sources.redhat.com>
1548 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Tweaks to message texts
1549 for public relations purposes.
1550 * aclocal.m4: Regenerated.
1551 * configure: Regenerated.
1553 * docs/ext/howto.html: Additional explanation about hashing.
1555 2000-10-05 Benjamin Kosnik <bkoz@cygnus.com>
1557 * include: New directory.
1558 * include/backward: New directory.
1559 * include/bits: New directory.
1560 * include/ext: New directory.
1561 * include/std: New directory.
1562 * include/*/*: Populate.
1564 * backwards: Move to include/backwards, delete.
1565 * bits: Move to include/bits, delete.
1566 * ext: Move to include/ext, delete.
1567 * std: Move to include/std, delete.
1569 * src/complex.cc: Adjust include of mathconf.
1571 * mkc++config (BASE_H): Add include.
1573 * src/Makefile.am: Support for topleve sources include directory.
1574 (INCLUDES): Add LIBMATH_INCLUDE.
1575 * src/Makefile.in: Regenerate.
1576 * math/Makefile.am (INCLUDES): Append /include.
1577 * math/Makefile.in: Regenerate.
1578 * libio/Makefile.am (INCLUDES): Add glibcpp_includedir.
1579 * libio/Makefile.in: Regenerate.
1581 2000-10-04 Benjamin Kosnik <bkoz@gnu.org>
1583 * libio/_G_config.h : Re-guard the __mbstate_t declaration.
1585 2000-10-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1587 * docs/22_locale/howto.html: Add link to proto-documentation on
1589 * docs/documentation.html: Rename links for clarity.
1591 * src/Makefile.am (headers): Remove unistd.h, wrap_unistd.h. Add
1592 fcntl.h, iolibio.h, libioP.h, pthread.h, iconv.h.
1593 * src/Makefile.in: Regenerate.
1595 2000-10-02 Steven King <sxking@uswest.net>
1597 * mkcshadow: Fixed script to output proper include guard.
1598 * bits/char_traits.h: Cleaned up types in char_traits<char> functions.
1599 * libio/_G_config.h: Hacked to make work with shadow heraders.
1600 * shadow/*: Hacked to make shadow headers work.
1602 2000-10-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1604 Self-compile with shadow headers.
1605 * acconfig.h (_GLIBCPP_USE_SHADOW_HEADERS): Define. Eventually,
1606 like _GLIBCPP_USE_NAMESPACES before it, this macro will die when
1607 it becomes the default way the library is built.
1608 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro.
1609 * config/gnu-linux/bits/ctype_base.h (ctype_base): Use it.
1610 * config/gnu-linux/ctype.cc (ctype): Use it.
1612 * src/localename.cc (locale::_Impl::_M_replace_categories): Remove
1614 * src/locale.cc: Explicitly cast mbstate_t to void* in calls to
1615 memset. This should not be necessary, but an ambiguous overload
1618 * shadow/bits/std_cwchar.h: Fix.
1619 * shadow/wchar.h: Fix.
1621 * config/gnu-linux/bits/ctype_base.h (ctype_base): Inject ctype
1622 enums into namespace std:: for ctype_base enum. Other OS types
1623 will have to do this as well.
1624 * config/gnu-linux/ctype.cc (ctype): Inject ctype data into
1625 namespace std, in particular __ctype_toupper, __ctype_tolower,
1628 * shadow/iolibio.h: New file.
1629 * shadow/bits/wrap_iolibio.h: New file.
1630 * shadow/libioP.h: New file.
1631 * shadow/bits/wrap_libioP.h: New file.
1632 * shadow/bits/wrap_fcntl.h: New file.
1633 * shadow/fcntl.h: New file.
1634 * shadow/iconv.h: New file. Inject iconv names into the global
1635 namespace, unmangled for the moment.
1636 * shadow/bits/wrap_iconv.h: New file.
1637 * shadow/unistd.h: Remove. Useless.
1638 * shadow/bits/wrap_unistd.h: Remove.
1640 * src/Makefile.am: Take out machine-ansi.h, add fcntl.h unistd.h.
1641 * src/Makefile.in: Regenerate.
1643 * config/c_io_libio.h (_IO_codecvt): Change to normal C++ decl.
1645 * shadow/libio.h: Fix.
1646 * shadow/bits/wrap_libio.h: Fix.
1648 * shadow/bits/std_clocale.h: Remove typedef struct construct,
1649 which will not compile.
1650 * shadow/bits/std_ctime.h: Same.
1652 * shadow/pthread.h: New file. Put pthreads types and functions
1653 into global scope, which is probably not the correct long-term
1654 solution but has to be done at the moment before libio wrappers
1655 can even be started.
1656 * shadow/bits/wrap_pthread.h: New file.
1658 * bits/std_ios.h: Formatting tweak.
1659 * shadow/bits/std_cstdio.h: Format. Remove extraneous bits.
1661 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Add -Werror to
1662 tests for compiler features.
1663 * aclocal.m4: Regenerate.
1664 * configure: Regenerate.
1666 * config/c_io_libio.cc: Remove fcntl.h include, as SEEK_SET
1668 * libio/libioP.h: Comment out fcntl.h include.
1670 * shadow/math.h: Add in float and long declarations, as per ISO C9X.
1672 * bits/c++config: Define _ISOC99_SOURCE.
1674 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add -fno-builtins to
1675 CSHADOWFLAGS, as well as _ISOC99_SOURCE.
1676 * aclocal.m4: Regenerate.
1677 * configure: Regenerate.
1678 * src/Makefile.am (CSHADOW_INCLUDES): Enable, again.
1679 (CSHADOW_INCLUDES): Add -I$(top_srcdir)/std before shadow include dir.
1680 (CXXCOMPILE): Remove $(DEFS), which searches $(top_srcdir) before
1681 std or shadow directories.
1682 (LTCXXCOMPILE): Same.
1683 (INCLUDES): Add $(top_builddir) before $(top_srcdir).
1684 (AC_CXXFLAGS): Add CSHADOWFLAGS.
1685 * src/Makefile.in: Regenerate.
1687 * src/complex.cc (FCT): Change ::name to name.
1688 * src/complexl.cc (FCT): Same. Use _GLIBCPP_USE_LONG_LONG here.
1689 * src/complexf.cc (FCT): Same.
1691 * src/complexf.cc: Remove FCT define, as things are properly
1692 overloaded in the std namespace with the shadow headers.
1693 * src/complexl.cc: Same.
1694 * src/complex.cc: Same.
1696 2000-09-25 Phil Edwards <pme@sources.redhat.com>
1698 * docs/documentation.html: Add link to...
1699 * docs/ext/howto.html: ...this. New dir/file, describing library
1700 extensions (both ours and SGI's).
1701 * docs/faq/index.html: Small updates.
1702 * docs/faq/index.txt: Regenerate.
1704 2000-09-25 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1706 * bits/basic_file.h (_M_open_mode): Remove extra qualifier.
1708 2000-09-25 Levente Farkas <lfarkas@mindmaker.hu>
1710 * ext/stl_hashtable.h (_M_copy_from): Change __copy to __local_copy.
1712 2000-09-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1714 * src/localename.cc (locale::_Imp) : Remove typedefs.
1715 * bits/localefwd.h (locale::locale(const locale& __other, _Facet*
1716 __f): Consistency check, call _Imp ctor with reference argument
1718 * bits/localefwd.h: Change _S_num_categories to
1719 _S_categories_num. Add new data member, _S_facets_num, which is
1720 the number of standard facets.
1722 2000-09-19 Phil Edwards <pme@sources.redhat.com>
1724 * docs/21_strings/howto.html: Fix editor lossage from last commit.
1726 2000-09-19 Phil Edwards <pme@sources.redhat.com>
1728 * docs/thanks.html: More thanks.
1729 * docs/18_support/howto.html: Fix thinko.
1730 * docs/21_strings/howto.html: Minor tweaks and updates to URLs.
1731 Redo the string transformation notes and link to...
1732 * docs/22_locale/howto.html: ...here.
1734 2000-09-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1736 * src/locale-inst.cc: Add time_put_byname and
1737 time_get_byname instantiations.
1738 * bits/locale_facets.h: Correct default, private derivation to
1739 public derivation in _byname declarations.
1740 * src/locale.cc (locale::classic()): Simplify.
1741 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
1742 const string& __name, category __cat, size_t __refs): Re-work for
1744 (_M_normalize_category_names): Remove.
1746 * testsuite/22_locale/global_templates.cc (test01): Tweaks.
1747 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
1749 2000-09-18 Yuri V. Baskakov <yuribsk@lab.sun.mcst.ru>
1751 * bits/std_bitset.h (operator>>): Change to char_type.
1753 2000-09-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1755 * src/locale.cc (locale::locale(const char* __name)): Consolidate
1756 name setting. Add checks for NULL __name pointers. Remove calls to
1757 _S_initialize() as initial locale initialization can either be
1758 assumed, or needs to be made consistent throughout locale
1760 (locale::locale(const locale& __other, const char* __name,
1761 category __cat): Add checks for NULL name. Add checks for
1763 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
1764 const string& __name, category __cat, size_t __refs)): Set correct
1765 name, has_name values.
1766 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
1767 * docs/22_locale/locale.html: New file, more unfinished docs...
1769 2000-09-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1771 * src/locale.cc (locale::name()): Implement.
1772 (_Impl(size_t __numfacets, size_t __refs, bool __namep = false,
1773 string __name = "*")): Change signature.
1774 (locale::classic): Initialize the "C" locale as a named locale.
1775 * bits/localefwd.h (locale): Change _M_num_references to
1776 _M_references. Eliminate _M_cached_name_ok. Rename _M_cached_name
1778 * bits/localefwd.h: Tweaks.
1779 * src/localename.cc: Tweaks.
1780 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Add tests.
1783 * bits/basic_string.h: Consistency check, change _M_state ->
1786 2000-09-14 Brendan Kehoe <brendan@zen.org>
1788 * bits/string.tcc (_Rep::_S_max_size): Use typename for its size_type
1791 * src/Makefile.an (headers): Also install backward/fstream.h.
1792 * src/Makefile.in: Regenerate.
1794 * bits/char_traits.h (char_traits<_CharT>::get_state,
1795 char_traits<char>::get_state, char_traits<wchar_t>::get_state): Pass
1796 argument in by reference, not by value. Uglify to _S_get_state.
1797 (char_traits<*>::__eos): Uglify to _S_eos.
1798 * bits/std_ostream.h (ends(basic_ostream<_CharT, _Traits>& __os)):
1799 Change __eos to _S_eos.
1801 2000-09-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1803 * testsuite/22_locale/static_members.cc: New file.
1804 * testsuite/22_locale/ctor_copy_dtor.cc: New file.
1805 * src/locale.cc: Minor formatting tweaks.
1807 2000-09-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1809 * testsuite/22_locale/global_templates.cc (test01): Add negative
1810 tests for use_facet.
1812 * bits/localefwd.h (locale::operator()): Minor tweaks.
1813 * bits/locale_facets.tcc (locale::operator()): Same.
1814 * testsuite/22_locale/operators.cc: New file.
1816 * testsuite/22_locale/facet.cc (output_iterator): Remove
1817 gnu_input_iterator, gnu_output_iterator.
1819 2000-09-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1821 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Remove test != "0".
1822 * aclocal.m4: Regenerate.
1823 * configure: Regenerate.
1825 * bits/c++config (__GLIBCPP__): Update, in the hopes of making a
1826 snapshot release soon.
1827 (_GNU_SOURCE): Define this in the header files, as ISO C99 support
1828 is pretty much assumed.
1830 * testsuite/22_locale/global_templates.cc: New file. Add tests for
1831 use_facet and has_facet.
1833 * bits/codecvt.h (codecvt<_InT, _ExT, __enc_traits>::do_out):
1834 Modify/correct iconv signatures for glibc2.2.
1836 2000-09-10 Branko Cibej <branko.cibej@hermes.si>
1838 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Replace "grep -q" with
1841 2000-09-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1843 * bits/localefwd.h (locale::_Impl): Scope out types to public.
1844 (locale): Make _Impl declaration public.
1846 2000-09-08 Felix Natter <fnatter@gmx.net>
1848 * docs/17_intro/porting-howto.html: New version.
1850 2000-09-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1852 * config/cpu/i386/bits/atomicity.h (__exchange_and_add): Change unused
1854 * config/cpu/ia64/bits/atomicity.h (__exchange_and_add): And here.
1855 * config/cpu/i486/bits/atomicity.h (__exchange_and_add): And here.
1857 2000-09-07 Phil Edwards <pme@sources.redhat.com>
1859 Add bits for --enable-maintainer-mode:
1860 - turns on enable_debug
1861 (doing "--enable-maint --disable-debug" will DTRT)
1862 - turns on -Werror, now off by default
1863 * acinclude.m4: Add bits.
1864 * aclocal.m4: Regenerate.
1865 * configure.in: Add defaults for GLIBCPP_ENABLE_DEBUG.
1866 * configure: Regenerate.
1868 2000-09-07 Benjamin Kosnik <bkoz@cygnus.com>
1870 * bits/std_cwctype.h: Remove yesterday's hacks.
1872 2000-09-07 Brad Garcia <bgarcia@laurelnetworks.com>
1874 * bits/stl_tree.h: Make operators !=, == type safe for map, set.
1875 * testsuite/23_containers/set_operators.cc: New file. Should not
1877 * testsuite/23_containers/map_operators.cc: New file. Ditto.
1879 2000-09-06 Richard Henderson <rth@cygnus.com>
1880 Benjamin Kosnik <bkoz@cygnus.com>
1882 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add ia64 support.
1883 * aclocal.m4: Regenerate.
1884 * configure: Regenerate.
1885 * config/cpu/ia64: New directory.
1886 * config/cpu/ia64/bits: New directory.
1887 * config/cpu/ia64/bits/atomicity.h: New file.
1889 2000-09-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1891 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Force glibc_satisfactory
1892 to no, so that libstdc++-v3's libio will be built on glibc-2.2
1894 * aclocal.m4: Regenerate.
1895 * configure: Regenerate.
1896 * */Makefile.in: Regenerate.
1898 * bits/std_cwctype.h: Put in temporary hack to work around -O2 +
1899 glibc 2.1.x unsigned errors. Or disable -Werror by default...
1901 * testsuite/23_containers/vector_element_access.cc: New file.
1902 * bits/stl_config.h (__STL_THROW_RANGE_ERRORS): Define.
1904 2000-09-06 Levente Farkas <lfarkas@mindmaker.hu>
1906 * bits/string.tcc: Fix up more parameter names.
1908 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1910 * configure: Rebuilt with new libtool.m4.
1912 2000-09-01 Benjamin Kosnik <bkoz@cygnus.com>
1914 * src/locale-inst.cc: Remove pre-instantiation of unicode
1915 codecvt types. Now unnecessary, as locale header now correct.
1917 2000-08-31 Benjamin Kosnik <bkoz@cygnus.com>
1919 * bits/locale_facets.tcc (_S_build_float_format): Move ...
1920 * src/locale.cc: Here.
1921 * bits/locale_facets.tcc (num_get::_M_extract): Clean up generic
1922 definition. Move specialization to ...
1923 * src/locale.cc: Here.
1924 * bits/locale_facets.tcc: Move _Format_cache specializations to ...
1925 * src/locale.cc: Here.
1926 * bits/locale_facets.tcc: Move use_facet<ctype> specializations to ...
1927 * src/locale.cc: Here.
1929 * bits/std_locale.h: Note that locale_facets.tcc should be
1930 included here, for standards conformance. It may increase
1931 compile times though. For the time being, enable.
1932 * testsuite/22_locale/facet.cc: New file, some parts commented out
1935 * mkcheck.in: Append total time to test summary file.
1937 * bits/sbuf_iter.h : Formatting tweaks.
1939 Clean up static const data member definitions.
1940 * src/locale.cc: Add definitions for all missing locale,
1941 locale::_Imp, and locale::id static data members.
1942 (ctype<char>): Add table_size define.
1943 (money_base): Add _S_default_pattern, uglify.
1944 * bits/localefwd.h: Add definitions for static members of _Count_ones.
1945 * bits/locale_facets.h: Tweaks.
1946 * bits/locale_facets.tcc: Tweaks.
1947 * bits/string.tcc: Add definition for npos.
1948 * bits/ios_base.h: Tweaks.
1949 * bits/ios_base.h (ios_base::Init::_M_ios_base_init): Change to
1951 * src/ios.cc: And here. Add _S_local_words definition.
1952 Add definitions for __ios_flags const static data.
1953 * src/codecvt.cc: Same for __enc_traits.
1954 * src/locale-inst.cc: Remove money_base data member definition
1957 2000-08-30 Benjamin Kosnik <bkoz@redhat.com>
1959 * testsuite/22_locale/ctype_wchar_t_members.cc (test01): New file.
1961 * docs/22_locale/codecvt.html: Re-number.
1962 * docs/22_locale/howto.html: Add entry for ctype
1963 documentation. Add entry for Nathan's introduction to locales
1965 * docs/22_locale/ctype.html: New file. In progress...
1967 * docs/22_locale/codecvt.html: Formatting cleanups.
1968 * src/locale.cc (ctype<wchar_t>::do_is): Fix thinko.
1970 2000-08-30 Phil Edwards <pme@sources.redhat.com>
1972 * docs/22_locale/codecvt.html: Behind-the-scenes ASCII->HTML
1973 tweaks for certain browsers.
1975 2000-08-29 Benjamin Kosnik <bkoz@redhat.com>
1977 * bits/locale_facets.h (ctype<char>): Remove __table_type.
1978 Add include for bits/std_cwctype.h, for wctype_t.
1979 * src/locale.cc (ctype<wchar_t>): Implement.
1980 * config/gnu-linux/bits/ctype_base.h (ctype_base): Remove mask
1981 typedef, instead name enum.
1982 * config/gnu-linux/bits/ctype_specializations.h: Tweak.
1983 * config/gnu-linux/ctype.cc: Tweak.
1984 * testsuite/22_locale/ctype.cc: Tweak.
1986 * bits/codecvt.h (__enc_traits): Uglify names.
1988 2000-08-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1990 * docs/22_locale/codecvt.html: Add more bits, format.
1991 * bits/codecvt.h: Add copy ctor, rename types.
1992 * testsuite/22_locale/codecvt_unicode_char.cc: Tweak.
1994 * libio/iofwide.c: Tweak.
1996 2000-08-28 Phil Edwards <pme@sources.redhat.com>
1998 * docs/configopts.html: Mention new options.
1999 * docs/install.html: Formatting changes for platform-specific
2000 pre-reqs, previously only Cygwin.
2001 * docs/mail.html: Fix new link.
2002 * docs/thanks.html: A couple more people.
2003 * docs/26_numerics/howto.html: Fix typo.
2005 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2007 * docs/22_locale/howto.html: Add notes on codecvt implementation.
2008 * docs/22_locale/codecvt.html: New file. In progress.
2010 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2012 * acconfig.h: Revert.
2013 * acinclude.m4: Revert.
2014 * libio/_G_config.h: Revert.
2015 * libio/libio.h: Revert.
2017 2000-08-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2019 * bits/codecvt.h: Tweaks.
2020 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Fix up
2021 initial string literals for UCS4.
2023 2000-08-23 Phil Edwards <pme@sourceware.cygnus.com>
2025 * acconfig.h: _GLIBCPP_USING_THREADS and some workaround types added.
2026 * acinclude.m4: New macro, GLIBCPP_ENABLE_WCHAR. Set the threads
2027 definition as well, and some minor spelling/spacing fixes. If
2028 building libio, check for certain typedefs.
2029 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USING_THREADS.
2030 Conditionally define _LARGEFILE64_SOURCE, otherwise the 64-bit types
2031 will never be there.
2032 * libio/libio.h: In the null case, _IO_lock_t can't just be void.
2033 * src/string-inst.cc: Use _GLIBCPP_USE_WCHAR_T.
2035 * configure.in: Update the cache a bit more often.
2037 * mkcheck.in: For check-install, also need to -I the testsuite dir.
2039 2000-08-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2041 * src/locale-inst.cc: Add codecvt<unicode_t, wchar_t,
2042 __enc_traits> instantiations for has_facet and use_facet.
2043 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: New file, for
2044 testing two-byte unicode encodings converted to four-byte UCS4
2047 * bits/codecvt.h (codecvt<__enc_traits>): Fix do_unshift.
2048 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Add
2049 correct state/encoding information.
2051 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add wcsrtombs,
2052 mbsrtowcs checks as codecvt<wchar_t, char, mbstate_t> needs them
2054 Add checks for langinfo.h, nl_langinfo function call.
2055 * libio/iofwide.c (_IO_fwide): Simplify, as nl_langinfo is assumed.
2057 2000-08-22 Richard B. Kreckel <Richard.Kreckel@Uni-Mainz.DE>
2059 * config/cpu/alpha/bits/atomicity.h: Change __attribute__
2060 ((unused)) to __attribute__ ((__unused__)).
2061 * config/cpu/arm/bits/atomicity.h: Same.
2062 * config/cpu/generic/bits/atomicity.h: Same.
2063 * config/cpu/i386/bits/atomicity.h: Same.
2064 * config/cpu/i486/bits/atomicity.h: Same.
2065 * config/cpu/powerpc/bits/atomicity.h: Same.
2066 * config/cpu/sparc/sparc32/bits/atomicity.h: Same.
2067 * config/cpu/sparc/sparc64/bits/atomicity.h: Same.
2069 2000-08-22 Levente Farkas <lfarkas@mindmaker.hu>
2071 * bits/basic_string.h: Fix up parameter names.
2073 2000-08-22 Brent Verner <brent@rcfile.org>
2075 * src/Makefile.am (INCLUDES): Put $(CSHADOW_INCLUDES) before
2077 * src/Makefile.in: Regenerate.
2079 2000-08-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2081 * bits/codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>. Fix
2082 up __enc_traits template so as to be marginally useful.
2083 * src/codecvt.cc: And here.
2084 * bits/char_traits: Tweak.
2085 * bits/locale_facets.h: Tweak.
2086 * bits/locale_facets.tcc: Tweak.
2087 * bits/localefwd.h: Tweak.
2088 * src/locale-inst.cc: Add use_facet/has_facet instantiations here.
2089 * testsuite/22_locale/codecvt_wchar_t_cc.cc: New file.
2090 * testsuite/22_locale/codecvt_char_char.cc: New file.
2091 * testsuite/22_locale/codecvt_unicode_char.cc: New file.
2093 2000-08-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2095 * bits/std_cmath.h (std::abs): Overload for int and long.
2097 2000-08-20 Benjamin Kosnik <bkoz@gnu.org>
2099 * src/string-inst.cc: Tweak instantiations for new-gxx-abi.
2101 2000-08-19 Gabriel Dos Reis <gdr@codesourcery.com>
2103 * bits/valarray_array.h (__valarray_min, __valarray_max): Fix
2104 thinko. Diagnostic messages really need to be improved for
2105 template argument deduction.
2107 2000-08-18 Benjamin Kosnik <bkoz@gnu.org>
2109 * bits/valarray_meta.h: Fix typos...
2111 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
2113 * bits/valarray_meta.h (_Expr<>::shift, _Expr::cshift,
2114 _Expr<>::apply): Implement.
2116 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
2118 * bits/valarray_meta.h (_Expr<>::min, _Expr<>::max): Implement.
2120 * bits/valarray_array.h (__valarray_min, __valarray_max): New
2123 2000-08-17 Mark Mitchell <mark@codesourcery.com>
2125 * bits/localefwd.h (std::locale): Use explicit `class' specified
2126 when declaring friends.
2127 * bits/std_fstream.h (std::basic_filebuf): Likewise.
2129 2000-08-16 Alexandre Oliva <aoliva@redhat.com>
2131 * src/Makefile.am (libstdc++.INC): Renamed from INCLUDES.
2132 * src/Makefile.in: Regenerate.
2134 2000-08-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2136 * bits/codecvt.h: New file.
2137 * src/codecvt.cc: New file.
2138 * bits/std_locale.h: Add include here.
2139 * src/Makefile.am (headers): Add codecvt.h
2140 (sources): Add codecvt.cc.
2141 * src/Makefile.in: Regenerate.
2142 * bits/locale_facets.h (codecvt): Re-implement. Rename _Codecvt to
2143 __codecvt_abstract_base in an attempt to point some light this way...
2144 Move __enc_traits and codecvt bits to codecvt.h.
2145 * src/locale-inst.cc: Remove codecvt<wchar_t, wchar_t, mbstate_t>
2146 explicit instantiation. Separate out codecvt instantations, simplify.
2147 * src/locale.cc: Move codecvt bits to codecvt.cc
2149 2000-08-15 Alexandre Oliva <aoliva@redhat.com>
2151 * src/Makefile.am (INCLUDES): New target file, with all -I flags.
2152 * src/Makefile.in: Regenerate.
2154 2000-08-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2156 C/C++ io merge/sync.
2167 * config/c_io_libio.cc (__basic_file): Add hacky casts to
2168 ((struct _IO_FILE_plus *) in ctors.
2169 (__basic_file<wchar_t>): Adjust _wide_data->_codecvt to just _codecvt.
2170 * libio/Makefile.am: Fix copyright. Remove cleanup.c.
2171 * libio/cleanup.c: Remove.
2172 * libio/filedoalloc.c (_IO_file_doallocate): Don't call
2173 _IO_cleanup_registration_needed, even if not libc.
2175 * testsuite/27_io/stringstream.cc (test02): Fix.
2177 2000-08-14 Brent Verner <brent@rcfile.org>
2179 * testsuite/debug_assert.h: new file
2180 * testsuite/*/*.cc: s/test\s*&=([^;]+);/VERIFY($1);/g
2181 changed conditional #include <c?assert.?h?> to
2182 unconditional #include <debug_assert.h>
2183 * mkcheck.in: added $SRC_DIR/testsuite to include search path
2184 for testsuite compile command.
2186 2000-08-14 Levente Farkas <lfarkas@mindmaker.hu>
2188 * bits/std_fstream.h: Remove duplicate typdefs for ofstream and
2189 wofstream, filebuf, wfilebuf, fstream, wfstream.
2190 * bits/std_streambuf.h: Same for streambuf, wstreambuf.
2191 * bits/std_sstream.h: Same for stringstream and wstringstream.
2192 Same for stringbuf, wstringbuf, istringstream, wistringstream,
2193 ostringstream, wostringstream.
2195 * testsuite/26_numerics/valarray.cc: Add test.
2197 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
2199 * configure: Regenerate after change to ../libtool.m4.
2201 2000-08-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2203 * bits/locale_facets.tcc: Formatting tweaks.
2204 * bits/locale_facets.h (__enc_traits): Start integrating this
2205 into codecvt, ctype. Formatting tweaks.
2207 2000-08-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2209 Preliminary wchar_t implementation, with trivial encodings.
2210 * docs/configopts.html: Add bits about canonical configure option
2213 * testsuite/27_io/iostream_objects.cc: Replace this file (which
2214 has newly-declared-illegal mixing of wide/narrow stdstreams) with...
2215 * testsuite/27_io/narrow_stream_objects.cc: New file.
2216 * testsuite/27_io/wide_stream_objects.cc: New file.
2218 * bits/fstream.tcc (underflow): Temporarily hack a solution
2219 together that writes from the external file to the internal
2220 buffers. This removes codecvt from the loop, and is incorrect.
2221 (_M_really_overflow): Same here.
2223 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
2225 2000-08-08 Benjamin Kosnik <bkoz@cygnus.com>
2226 Ulrich Drepper <drepper@cygnus.com>
2228 * config/c_io_libio.h: Tweak.
2229 * config/c_io_libio_codecvt.c: New file.
2230 * libio/Makefile.am: Add c_codecvt.c.
2231 * libio/Makefile.in: Regenerate.
2232 * libio/genops.c (_IO_unbuffer_write): Don't call _IO_SETBUF if the
2233 stream is not orientated.
2235 * acinclude.m4: Add config/c_io_libio_codecvt.c dummy file, until
2236 encoding gets fleshed out.
2238 * bits/basic_file.h: Add specialization declarations.
2239 * config/c_io_libio.cc: Add specializations for pbackfail, uflow.
2241 * config/c_io_libio.h: Add __c_wfile_type.
2242 * bits/basic_file.h: Add _M_wfile.
2244 * config/c_io_libio.cc (__basic_file<char>): Initialize the
2245 streams without setting the orientation of the underlying FILE to
2246 either wide or narrow.
2247 (__basic_file<wchar_t>)): Enable tricky wchar_t io bits.
2249 2000-08-07 Felix Natter <fnatter@gmx.net>
2251 * docs/17_intro/porting-howto.html: New version.
2253 2000-08-03 Mark Mitchell <mark@codesourcery.com>
2255 * bits/locale_facets.h (ctype::ctype): Don't name unused
2258 2000-08-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2260 * docs/install.html: Edit bits about requiring a special version
2263 2000-07-31 Benjamin Kosnik <bkoz@cygnus.com>
2265 * libio/fileops.cc: Update to current glibc sources.
2266 * libio/genops.c: Same.
2267 * libio/iofwide.c: Same.
2268 * libio/libio.h: Same.
2269 * libio/libioP.h: Same.
2270 * libio/wfiledoalloc.c: Same.
2271 * libio/wgenops.c: Same.
2273 2000-07-28 Alexandre Oliva <aoliva@redhat.com>
2275 * acinclude.m4: Include ../libtool.m4.
2276 * aclocal.m4, configure: Rebuilt.
2278 2000-07-26 Phil Edwards <pme@sourceware.cygnus.com>
2280 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Test for GNU ld
2281 before trying to use any of its options.
2282 (CHECK_MATH_DECL*,CHECK_BUILTIN_MATH_DECL*): Cache tests.
2283 * aclocal.m4: Regenerate.
2284 * configure.in: Having found GNU make, name it.
2285 * configure: Regenerate.
2286 * docs/install.html: Mention possible problems with caching.
2287 * src/Makefile.am (CXXLINK): Use new OPT_LDFLAGS.
2288 * src/Makefile.in: Regenerate.
2289 * libio/Makefile.in: Regenerate.
2290 * math/Makefile.in: Regenerate.
2291 * Makefile.in: Regenerate.
2293 2000-07-26 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2295 * src/misc-inst.cc (std): Remove instantiations.
2297 * acinclude.m4: Add forward-looking bits for autoconf.
2298 * aclocal.m4: Regenerate.
2300 * bits/ostream.tcc (ostream::operator<<): Fix const char* case.
2302 2000-07-25 Benjamin Kosnik <bkoz@gnu.org>
2304 * configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL. Change
2305 it back for current versions of maintainer-tools...
2306 * acinclude.m4: Some cleanups...
2307 * aclocal: Regenerated.
2308 * configure: Regenerated.
2310 * src/Makefile.am (CXXLINK): Add -Wl,-01 to the link line for
2311 optimizing/adapting the hash table using GNU ld.
2312 * src/Makefile.in: Regenerate.
2314 2000-07-24 H.J. Lu <hjl@gnu.org>
2316 * src/Makefile.am (LIBIO_INCLUDES): Set to -I$(top_srcdir)/libio
2317 even if GLIBCPP_NEED_LIBIO is false. The installed glibc header
2318 files don't include private libio header files needed by
2320 * src/Makefile.in: Rebuild.
2322 2000-07-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2324 * bits/std_fstream.h: Parameterize __basic_file.
2325 * config/c_io_libio.cc: Add wchar_t methods for parameterization.
2326 * bits/basic_file.h: Same here.
2328 * bits/istream.tcc (getline): Tweaks.
2330 * bits/fstream.tcc: Shorten __retval to __ret.
2331 * bits/ostream.tcc: Same.
2332 * bits/sbuf_iter.h: Same.
2333 * bits/sstream.tcc: Same.
2334 * bits/streambuf.tcc: Same.
2335 * bits/std_fstream.h: Same.
2336 * src/string-inst.cc: Same.
2338 * config/c_io_libio.cc: Same.
2339 * bits/string.tcc: Same.
2340 * bits/std_streambuf.h: Same.
2342 2000-07-23 Brent Verner <brent@rcfile.org>
2344 * bits/istream.tcc: istream::getline(char_type*, streamsize,
2345 char_type) make compliant
2346 * testsuite/27_io/istream_unformatted.cc: test for compliant behavior
2348 2000-07-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2350 * acinclude.m4 (enable_cshadow_headers): Fix problems with blddir
2351 and srcdir used to define CSHADOW_INCLUDES..
2353 * configure.in: For consistency, change .sanity_warned to
2354 stamp-sanity-warned.
2356 * acinclude.m4: Tweak formatting.
2357 * Makefile.am (check): Call mkcheck with full pathname for build
2359 (check-install): And here.
2360 * Makefile.in: Regenerate.
2362 2000-07-22 Gabriel Dos Reis <gdr@codesourcery.com>
2364 Line up with libstdc++-v2 version of valarray.
2365 * bits/valarray_array.h (__valarray_product): Make inline.
2366 * src/valarray-inst.cc (__valarray_product): Remove explicit
2369 2000-07-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2371 * src/stl-inst.cc: Change __sink_unused_warning to unsigned int
2374 * testsuite/26_numerics/complex_inserters_extractors.cc (testall):
2375 Change return type to void.
2376 * testsuite/25_algorithms/lower_bound.cc: Add return values.
2377 * testsuite/17_intro/header_ciso646.cc: Modify.
2378 * bits/locale_facets.h: Add return values for the generic cases.
2380 2000-07-21 H.J. Lu (hjl@gnu.org)
2382 * acinclude.m4: Include <features.h> for glibc testing.
2383 * aclocal.m4: Likewise.
2385 * configure: Rebuild.
2387 2000-07-20 H.J. Lu (hjl@gnu.org)
2389 * acinclude.m4: Change "#pragma system_header" to
2390 "#pragma GCC system_header".
2391 * aclocal.m4: Likewise.
2392 * bits/std_cmath.h: Likewise.
2393 * bits/std_cassert.h: Likewise.
2394 * bits/std_cctype.h: Likewise.
2395 * bits/std_cerrno.h: Likewise.
2396 * bits/std_cfloat.h: Likewise.
2397 * bits/std_climits.h: Likewise.
2398 * bits/std_clocale.h: Likewise.
2399 * bits/std_cwchar.h: Likewise.
2400 * bits/std_csetjmp.h: Likewise.
2401 * bits/std_csignal.h: Likewise.
2402 * bits/std_cstdarg.h: Likewise.
2403 * bits/std_cstddef.h: Likewise.
2404 * bits/std_cstdio.h: Likewise.
2405 * bits/std_cstdlib.h: Likewise.
2406 * bits/std_cstring.h: Likewise.
2407 * bits/std_ctime.h: Likewise.
2408 * bits/std_cwctype.h: Likewise.
2409 * bits/std_exception.h: Likewise.
2410 * bits/std_new.h: Likewise.
2411 * bits/std_typeinfo.h: Likewise.
2412 * shadow/bits/std_cassert.h: Likewise.
2413 * shadow/bits/std_cctype.h: Likewise.
2414 * shadow/bits/std_cerrno.h: Likewise.
2415 * shadow/bits/std_cfloat.h: Likewise.
2416 * shadow/bits/std_climits.h: Likewise.
2417 * shadow/bits/std_clocale.h: Likewise.
2418 * shadow/bits/std_cmath.h: Likewise.
2419 * shadow/bits/std_csetjmp.h: Likewise.
2420 * shadow/bits/std_csignal.h: Likewise.
2421 * shadow/bits/std_cstdarg.h: Likewise.
2422 * shadow/bits/std_cstddef.h: Likewise.
2423 * shadow/bits/std_cstdio.h: Likewise.
2424 * shadow/bits/std_cstdlib.h: Likewise.
2425 * shadow/bits/std_cstring.h: Likewise.
2426 * shadow/bits/std_ctime.h: Likewise.
2427 * shadow/bits/std_cwchar.h: Likewise.
2428 * shadow/bits/std_cwctype.h: Likewise.
2429 * shadow/bits/wrap_libio.h: Likewise.
2430 * shadow/bits/wrap_unistd.h: Likewise.
2431 * shadow/sys/cdefs.h: Likewise.
2433 * configure: Rebuild.
2435 2000-07-20 Jakub Jelinek <jakub@redhat.com>
2437 * config/cpu/sparc/sparc64/bits/atomicity.h (__exchange_and_add):
2438 Use extended word instructions to match 64bit _Atomic_word.
2439 (__atomic_add): Likewise.
2440 * math/clog10l.c (clog10l): Use M_PIl if defined.
2441 * math/c_logl.c (c_logl): Likewise.
2442 * math/signbitl.c (__signbitl): Adapt for IEEE quad long doubles.
2443 * math/mathconf.h (ieee_quad_double_shape_type): New type.
2444 (GET_LDOUBLE_MSW64): New define.
2446 2000-07-20 Benjamin Kosnik <bkoz@cygnus.com>
2448 * bits/std_streambuf.h: Add bits for pback buffers here, so that
2449 in_avail, etc can use them.
2450 * bits/std_fstream.h: Ditto.
2451 * bits/fstream.tcc: Ditto.
2452 * testsuite/27_io/filebuf.cc: Tweaks.
2453 * testsuite/27_io/filebuf-3.tst: Correct for pbackfail bits.
2455 2000-07-19 Benjamin Kosnik <bkoz@cygnus.com>
2457 * src/localename.cc: Same.
2458 * src/locale.cc: Same.
2459 * bits/localefwd.h: _M_init_facet to _M_facet_init.
2461 * bits/locale_facets.h: _M_init_boolnames to _M_boolnames_init.
2463 * bits/std_sstream.h: Change _M_init_stringbuf to _M_stringbuf_init.
2465 * bits/fstream.tcc: Change _M_init_filebuf to _M_filebuf_init.
2466 * bits/std_fstream.h: Same.
2468 * bits/basic_string.h: Tweaks.
2470 2000-07-19 Phil Edwards <pme@sourceware.cygnus.com>
2472 * docs/18_support/howto.html: Update.
2474 2000-07-19 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
2476 Internal consistency checks.....
2477 * bits/ios_base.h: Change _M_locale_ios to _M_ios_locale.
2480 * bits/basic_ios.h: Change _M_fctype_ios to _M_ios_fctype.
2481 * bits/basic_ios.tcc: Same.
2483 * bits/std_streambuf.h: Change _M_locale_buf to _M_buf_locale.
2484 Change _M_fctype_buf to _M_buf_fctype.
2485 * bits/fstream.tcc: Same.
2487 * bits/std_streambuf.h: Change _M_buf_bump to _M_out_cur_move.
2488 Change _M_locale_set to _M_buf_locale_init.
2489 * bits/streambuf.tcc: Same.
2490 * bits/sstream.tcc: Same.
2491 * bits/fstream.tcc: Same.
2493 * bits/std_streambuf.h: Make typedefs consistent.
2494 (_M_buf_bump): Be more careful with input sequence.
2496 * bits/std_sstream.h: Same.
2497 * bits/std_fstream.h: Same.
2499 2000-07-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2501 * acinclude.m4: Tweaks.
2502 * config/c_io_libio.cc: Tweaks.
2503 * bits/sstream.tcc (stringbuf::pbackfail): Simplify.
2504 * libio/_G_config.h: Don't define _G_HAVE_ST_BLKSIZE.
2505 * libio/[iofwide.c, wfiledoalloc.c, wfiteopos.c, wgenops.c]: New files.
2506 * libio/iofclose.c iofopen.c, stdio.c: New files.
2507 * libio/Makefile.am: Add files, add flags, etc.
2508 * src/Makefile.am (sources): Add filebuf.cc.
2509 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT):
2510 (GLIBCPP_ENABLE_CSTDIO): Versioning testing, etc etc.
2512 2000-07-17 Phil Edwards <pme@sourceware.cygnus.com>
2514 * acinclude.m4: Import CHECK_GNU_MAKE from autoconf macro archive.
2515 * configure.in: Use it. Also print reminders one time.
2516 * aclocal.m4: Regenerate.
2517 * configure: Regenerate.
2519 2000-07-15 Gabriel Dos Reis <gdr@codesourcery.com>
2521 * bits/valarray_array.h (__valarray_get_storage): New function.
2522 (_Array<>::Array): Use it.
2523 * bits/std_valarray.h (valarray<>::valarray): Likewise.
2524 (valarray<>::resize): Likewise. Tweak.
2525 * src/valarray-inst.cc (__valarray_product): Tweak.
2527 2000-07-11 Phil Edwards <pme@sourceware.cygnus.com>
2529 * docs: Update sourceware->sources in every HTML file. Minor updates.
2531 2000-07-07 Benjamin Kosnik <bkoz@soma.redhat.com>
2533 Clean up configure/build longstanding issues.
2534 * src/Makefile.am (AC_CXXFLAGS): Don't set @SECTION_LDFLAGS@ here.
2535 (CXXLINK): Add here, instead.
2537 * Makefile.am (check-install): Make sure mkcheck has execute privs.
2539 * configure.in (AC_OUTPUT_COMMANDS): Remove hacks here.
2541 * configure.in (AC_OUTPUT_COMMANDS): Link c_io_libio.h and
2542 c_io_libio.cc instead of copying.
2543 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Do link here.
2545 * configure.in (AC_OUTPUT_COMMANDS): Link $THREADS.h and
2546 c++threads.h instead of copying.
2547 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Do link here.
2550 * config/c_io_libio.cc (__basic_file::_M_open_mode): Consolidate.
2551 * bits/basic_file.h: Declare.
2553 * mkcheck.in (TESTS_FILE): Use -v instead of --version.
2555 2000-07-07 brent verner <brent@rcfile.org>
2557 * testsuite/27_io/istream_unformatted.cc (test05): New test.
2559 2000-07-07 Benjamin Kosnik <bkoz@gnu.org>
2561 * bits/istream.tcc (istream::getline): Minor tweaks.
2563 2000-07-07 Phil Edwards <pme@sourceware.cygnus.com>
2565 * docs/download.html: Mention gcc_update.
2566 * docs/configopts.html: Minor updates.
2567 * docs/gccrebuild.html: Ditto.
2568 * docs/18_support/howto.html: More tips, explanations, and reminders.
2569 * docs/19_diagnostics/howto.html: Ditto.
2570 * docs/21_strings/howto.html: Ditto.
2571 * docs/24_iterators/howto.html: Ditto.
2572 * docs/25_algorithms/howto.html: Ditto.
2573 * docs/26_numerics/howto.html: Ditto.
2575 2000-07-05 brent verner <brent@rcfile.org>
2577 * testsuite/27_io/ifstream_members.cc (test01): Add tests.
2578 * testsuite/27_io/ofstream_members.cc (test01): Add tests.
2579 * config/c_io_libio.cc (__basic_file::open): Unset
2580 ~_IO_DELETE_DONT_CLOSE.
2582 2000-07-05 Zack Weinberg <zack@wolery.cumb.org>
2584 * bits/gslice_array.h, bits/indirect_array.h, bits/mask_array.h,
2585 bits/slice_array.h, bits/std_valarray.h, bits/valarray_meta.h:
2586 Do not paste anything after 'operator' keyword.
2588 2000-07-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2590 * bits/std_memory.h: Revert.
2592 2000-07-03 Brendan Kehoe <brendan@zen.org>
2594 * bits/std_complex.h: Fix parens. Format.
2596 2000-07-03 scott snyder <snyder@fnal.gov>
2598 * bits/locale_facets.tcc (_M_extract): Only figure out the base
2599 from the input if base == 0.
2600 * testsuite/27_io/istream_extractor_arith.cc: Test reading a
2601 number with a leading `0' in hex mode.
2603 * shadow/bits/std_cmath.h: Fix typo in _GLIBCPP_HAVE_CEILL test.
2605 * mkinclosure: Change `==' to `=' in test.
2607 2000-07-03 Chip Salzenberg <chip@valinux.com>
2609 * src/Makefile.am (libio_headers): _G_config.h is found in srcdir,
2611 * src/Makefile.in: Regenerate.
2613 2000-07-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2614 Ulrich Drepper <drepper@purist.soma.redhat.com>
2616 Sync libio to glibc-2.2 current CVS.
2617 * libio/_G_config.h: New file.
2618 * libio/wfileops.c: New file.
2619 * libio/wfiledoalloc.c: New file.
2620 * libio/wgenops.c: New file.
2621 * libio/iofwide.c: New file.
2622 * libio/Makefile.am: Tweaks.
2623 * libio/Makefile.in: Regenerate.
2624 * libio/gen-params: Remove. Generic replacement for this yet undone.
2625 * libio/[filedoalloc.c, fileops.c, genops.c, iolibio.h, libio.h,
2626 libioP.h, stdfiles.c]: Update.
2627 * config/c_io_libio.cc: Tweaks.
2628 * acinclude.m4: Complete hacks to test wide io.
2629 * aclocal.m4: Regenerate.
2630 * configure: Regenerate.
2631 * src/Makefile.am: Update.
2632 * src/Makefile.in: Regenerate.
2634 * math/cargl.c: Remove underscores.
2636 * bits/locale_facets.h: Tweaks. Start adding iconv details
2638 * bits/locale_facets.tcc: Tweaks.
2639 * bits/std_cwchar.h: Tweaks.
2641 2000-06-29 scott snyder <snyder@fnal.gov>
2643 * bits/concept_checks.h
2644 (__less_then_comparable_requirement_violation): Only check for <.
2645 * testsuite/25_algorithms/lower_bound.cc: New file.
2647 2000-06-29 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2649 * testsuite/27_io/ostream_manip.cc (test02): Add tests.
2650 * bits/ostream.tcc: Tweak.
2651 * bits/std_fstream.h (basic_filebuf::setbuf): Reset
2652 _M_buf_size_opt too.
2653 * bits/std_streambuf.h (basic_streambuf::~basic_streambuf): Zero
2654 out _M_buf_size_opt.
2655 * bits/std_sstream.h (basic_stringbuf::_M_init_stringbuf): Set
2656 _M_buf_size_opt out here.
2657 * bits/char_traits.h (char_traits::eos): Non standard member
2658 function, uglify to __eos. Return char_type().
2659 * bits/std_ostream.h: Change.
2661 * testsuite/27_io/ostream_seeks.cc: New file.
2662 * testsuite/27_io/ostream_seeks-1.tst: New file.
2663 * testsuite/27_io/istream_unformatted.cc (main): Move test04 and
2665 * testsuite/27_io/istream_seeks.cc: New file.
2667 2000-06-29 Branko Cibej <branko.cibej@hermes.si>
2669 * bits/std_memory.h (auto_ptr_ref): Reworked and defined only if
2670 _GLIBCPP_RESOLVE_LIB_DEFECTS.
2671 (auto_ptr): _M_ptr changed to void*.
2672 (suto_ptr::get): Cast _M_ptr to element type.
2673 (auto_ptr::auto_ptr(auto_ptr<Tp1>)): Test implicit convetsion.
2674 (auto_ptr::~auto_ptr): Use this->get() instead of _M_ptr.
2675 (auto_ptr::operator*): Likewise.
2676 (auto_ptr::operator->): Likewise.
2677 (auto_ptr::release): Likewise.
2678 (auto_ptr::reset): Likewise.
2679 (auto_ptr::auto_ptr(auto_ptr_ref)): Initialize from __ref._M_release.
2680 (auto_ptr::operator auto_ptr_rev<_Tp1>): Updated.
2681 Define nested auto_ptr_ref unless _GLIBCPP_RESOLVE_LIB_DEFECTS.
2682 Define operator=(auto_ptr_ref) if _GLIBCPP_RESOLVE_LIB_DEFECTS.
2684 2000-06-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2686 * testsuite/27_io/filebuf.cc: Tweak.
2687 * testsuite/27_io/filebuf_members.cc (test_01): Fix.
2688 * config/c_io_libio.cc (__basic_file::~__basic_file): Match libio
2690 (__basic_file::basic_file): Clean, add calls similar to
2692 (__basic_file::open): Clean.
2693 (__basic_file::sys_open): Clean.
2695 * bits/std_fstream.h: Revert.
2696 * bits/fstream.tcc (filebuf::close()): Revert.
2697 (filebuf::basic_filebuf()): Revert.
2699 2000-06-27 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2701 Update to SGI STL 3.3
2702 * ext/hash_map, ext/hash_set, ext/slist, ext/stl_bvector.h,
2703 ext/stl_rope.h, ext/ropeimpl.h: Update.
2704 * bits/std_bitset.h, bits/std_map, bits/std_memory.h,
2705 bits/stl_algo.h, bits/stl_algobase.h, bits/stl_alloc.h,
2706 bits/stl_config.h, bits/stl_construct.h, bits/stl_deque.h,
2707 bits/stl_function.h, bits/stl_heap.h, bits/stl_iterator.h,
2708 bits/stl_iterator_base.h, bits/stl_list.h, bits/stl_map.h,
2709 bits/stl_multimap.h, bits/stl_multiset.h, bits/stl_numeric.h,
2710 bits/stl_queue.h, bits/stl_set.h, bits/stl_stack.h,
2711 bits/stl_string_fwd.h, bits/stl_threads.h, bits/stl_three.h,
2712 bits/stl_uninitialized.h, bits/stl_vectory.h: Update.
2714 * src/Makefile.am (headers): Add new files.
2715 * src/Makefile.in: Regenerate.
2716 * src/stl-inst.cc (std): Add instantiation for __sink_unused_warning.
2717 * bits/concept_checks.h: New file.
2718 * bits/container_concepts.h: New file.
2719 * bits/sequence_concepts.h: New file.
2721 2000-06-27 H.J. Lu <hjl@gnu.org>
2722 Loren J. Rittle <ljrittle@acm.org>
2724 * mkcheck.in: Add support to print standard flags needed to
2725 test g++ in build tree. Enhance command line error checking.
2727 2000-06-27 Phil Edwards <pme@sourceware.cygnus.com>
2729 * docs/install.html: Fix minor typo as reported.
2731 2000-06-26 Brent Verner <brent@rcfile.org>
2733 * bits/string.tcc (string::rfind): Fix.
2734 * testsuite/21_strings/rfind.cc: New file.
2736 2000-06-26 Anthony Williams <anthony@anthonyw.cjb.net>
2738 * testsuite/21_strings/ctor_copy_dtor.cc: Fixed logic error.
2740 2000-06-26 Branko Cibej <branko.cibej@hermes.si>
2742 * testsuite/27_io/filebuf_members.cc (test_01): Fixed typos.
2744 * mkcheck.in: Make the *.txt and *.tst files writable after
2745 copying them to $TEST_DIR.
2747 * testsuite/27_io/ostream_inserter_arith.cc: Renamed
2748 __TEST_NUMPUT_VERBOSE to TEST_NUMPUT_VERBOSE. Define
2749 TEST_NUMPUT_VERBOSE only if DEBUG_ASSERT.
2751 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2753 * bits/fstream.tcc (basic_filebuf::basic_filebuf(fd)): Use it.
2754 (basic_filebuf::close): Use it.
2755 * bits/std_fstream.h (basic_filebuf): Remove default arguments for
2757 (basic_filebuf): Add _M_fileno_based data member.
2758 As reported by brent verner <brent@rcfile.org>
2759 * testsuite/27_io/filebuf_members.cc: New file.
2760 * testsuite/27_io/filebuf_members-1.tst: New file.
2762 * bits/std_fstream.h: Formatting tweaks.
2763 * testsuite/27_io/ofstream_members.cc: New file.
2764 * testsuite/27_io/ofstream_members-1.tst: New file.
2765 * testsuite/27_io/ifstream_members.cc: New file.
2766 * testsuite/27_io/ifstream_members-1.tst: New file.
2768 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2769 Ulrich Drepper <drepper@cygnus.com>
2771 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so
2772 that all the freaky stuff like sincos will be around...
2774 2000-06-22 Branko Cibej <branko.cibej@hermes.si>
2776 * Makefile.am (AM_MAKEFLAGS): Added WERROR to list of flags.
2778 2000-06-22 Steven King <sxking@uswest.net>
2780 * acinclude.m4: Check for sinl, _sinl using 1 parameter.
2782 2000-06-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2784 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Redo. Use the
2785 same approach as GLIBCPP_CHECK_MATH_SUPPORT, only don't try to
2786 link against libm and don't use -fno-builtins...
2787 * math/mathconf.h: Change up builtin macros to new schema.
2788 * bits/std_cmath.h: And here. Wheee!
2789 * shadow/bits/std_cmath.h: And here.
2790 * acconfig.h: Change up builtin macros here.
2791 * math/cosf.c: Remove.
2792 * math/fabsf.c: Likewise.
2793 * math/sinf.c: Likewise.
2794 * math/sqrtf.c: Likewise.
2795 * math/Makefile.am (EXTRA_DIST): Remove those four files.
2796 * math/Makefile.in: Regenerate.
2798 2000-06-22 Anthony Williams <anthony@anthonyw.cjb.net>
2800 * testsuite/21_strings/find.cc: Patch.
2802 2000-06-22 Benjamin Kosnik <bkoz@soma.redhat.com>
2804 * acinclude.m4 (GLIBCPP_CHEC_LINKER_FEATURES): Use gcc + -x c++ as
2805 an easy way to get at g++ without having to link in libstdc++.
2807 2000-06-21 Benjamin Kosnik <bkoz@soma.redhat.com>
2809 Fix alpha, powerpc build failures.
2810 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Substantially
2811 re-write. Need to check for both proper declaration when using a
2812 c++ compiler, and "C" linkage when linking. Do both, and if both
2813 exist, then define the HAVE_* bits in config.h.
2814 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE): New, uber-macro. Does all.
2815 (GLIBCPP_CHECK_LINKER_FEATURES): Actually link and run this
2818 2000-06-20 Anthony Williams <anthony@anthonyw.cjb.net>
2820 * bits/string.tcc: Fix find.
2821 * testsuite/21_strings/find.cc: Patch.
2823 2000-06-20 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2825 * docs/install.html: Update where to get automake, where to get
2827 * acinclude.m4: Need -fno-builtins too, so gcc doesn't recognize
2830 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
2832 * acinclude.m4 ((GLIBCPP_CHECK_MATH_SUPPORT): Revert last change.
2833 Add -Werror-implicit-function-declaration instead.
2835 Regenerate with fixed maintainer-tools.
2836 * aclocal.m4: Regenerate.
2837 * configure: Regenerate.
2838 * libio/Makefile.in: Regenerate.
2839 * src/Makefile.in: Regenerate.
2841 2000-06-19 Russell Davidson <russell@ehess.cnrs-mrs.fr>
2843 * testsuite/27_io/istream_extractor_arith.cc: Patch.
2844 * bits/locale_factets.tcc: Tweak.
2846 2000-06-19 Raja R Harinath <harinath@cs.umn.edu>
2848 * src/Makefile.am: change @WERROR@ to $(WERROR) so that this can
2849 be overridden on the command line for individual files.
2851 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
2853 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Can't use
2854 AC_LANG_CPLUSPLUS as this tries to link in libstdc++, which we are
2855 building. Use -x c++ instead, which does not attempt to link
2858 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Actually check for
2859 not coring when we hit a try/throw block, which was the problem
2860 with the linker support...
2862 * docs/17_intro/contribute.html: Add bits about getting to the LWG
2864 * docs/documentation.html: Rename link to make more accurate and scary.
2865 * docs/gccrebuild.html: Edit for clarity as these are no longer
2867 * docs/install.html: Add bits about binutils for
2868 -ffunction-sections, -fdata-sections, -Wl,--gc-sections
2870 * configure.in: Add call for GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
2871 * math/Makefile.am (EXTRA_DIST): Change USE_LONG_DOUBLE to
2872 USE_COMPLEX_LONG_DOUBLE.
2873 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Break into
2874 GLIBCPP_CHECK_MATH_SUPPORT and GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
2875 Works around irregularies in powerpc "C" compiler, but a good idea
2878 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT):
2879 New. Merge both old compiler bug checks for complex into this.
2881 2000-06-19 Anthony Williams <anthony@anthonyw.cjb.net>
2883 * testsuite/21_strings/find.cc: Empty strings can be found at all
2884 positions. Modified.
2886 2000-06-19 Branko Cibej <branko.cibej@hermes.si>
2888 * testsuite/20_utilities: New directory.
2889 * testsuite/20_utilities/auto_ptr.cc: New file.
2891 2000-06-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2893 * src/Makefile.am (string_sources): Simplify, assuming that with
2894 -ffunction-sections, -fdata-sections, -Wl,--gc-sections, all this
2895 hacking is not necessary.
2896 (wstring_sources): Same.
2897 (OPTIMIZE_CXXFLAGS): Enable -fdata-sections -ffunction-sections
2899 * src/string-inst.cc: Remove macro blocks.
2900 * mkcheck.in (CXX_FLAG): Add bits here.
2902 * src/string-inst.cc: Remove iostream-related string instantiations.
2903 * src/misc-inst.cc: Add here.
2905 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change FMTFLAGS
2907 * aclocal.m4: Regenerate.
2908 * configure.in: Change up.
2909 * configure: Regenerate.
2911 2000-06-13 Steven King <sxking@uswest.net>
2913 * acinclude.m4: Fixup some of the builtin math tests and add tests for
2914 __builtin_fmod* and test libm for fmodf, fmodl or _fmodf, _fmodl.
2915 * acconfig.h: Add entries for fmod*.
2917 2000-06-13 Branko Cibej <branko.cibej@hermes.si>
2919 * bits/std_cmath.h: Fix typos in tests (*_FMODFF -> *_FMODF).
2920 Test *_MODFF not *_MODF for modf(float, float*).
2921 (modf(float, float*)): Remove reference to _C_legacy.
2923 2000-06-13 Benjamin Kosnik <bkoz@redhat.com>
2925 * acinclude.m4 (enable_cshadow_headers): Change CSHADOWFLAGS to
2926 _GNU_SOURCE instead of _ISOC9X_SOURCE, as _GNU_SOURCE is the
2927 superset, and already defined at top level.
2928 * aclocal.m4: Regenerate.
2929 * configure: Regenerate.
2931 * docs/17_intro/contribute.html: Plead with people to use -cp.
2933 2000-06-13 Anthony Williams <anthony@anthonyw.cjb.net>
2935 * testsuite/23_containers/bitset_ctor.cc: Qualify reverse wth std::.
2937 * testsuite/27_io/filebuf.cc: Changed calls to
2938 fpos<>._M_position() to implicit calls to operator streamoff().
2939 * testsuite/27_io/iostream_objects.cc: Removed #include <ciso646>,
2940 as not needed. Revert, as part of standard.
2941 * testsuite/27_io/ostream_inserter_arith.cc: Replaced explicit
2942 call to numpunct<>._M_init() with overrides of the appropriate
2945 * testsuite/27_io/stringstream.cc: Removed unnecessary char *
2946 pointers from test01, so no need to call base(), which isn't
2947 guaranteed to be implemented as iterators may themselves be pointers
2948 * testsuite/27_io/stringbuf.cc: Removed unnecessary calls to
2949 _M_position() - use implicit conversion to streamoff instead
2951 2000-06-13 Thomas Holenstein <thomas@hex.ch>
2953 * bits/stl_iterator.h: Added inline to operators == to >=.
2955 2000-06-13 Brent Verner <brent@rcfile.org>
2957 * bits/streambuf.tcc: repaired _S_copy_streambufs()
2958 * testsuite/27_io/ostream_inserter_other.cc (test03): Added testcase.
2960 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2962 * bits/locale_facets.h (ctype<wchar_t>): Remove unnecessary data
2964 * src/locale.cc: Add cwchar include here. Remove incorrect
2965 definitions, and stub them out.
2966 * config/generic/ctype.cc (ctype): Remove ctype<wchar_t> bits.
2967 * config/solaris/solaris2.7/ctype.cc (ctype): Same.
2968 * config/solaris/solaris2.5/ctype.cc (ctype): Same.
2969 * config/newlib/ctype.cc: Same.
2970 * config/gnu-linux/ctype.cc: Same.
2971 * config/bsd/ctype.cc: Same.
2972 * config/aix/ctype.cc: Same.
2974 2000-06-12 Branko Cibej <branko.cibej@hermes.si>
2976 * config/solaris/solaris2.6/ctype.cc (do_toupper, do_tolower): Use
2977 towupper and towlower to convert wide characters.
2979 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2981 * mkcheck.in: Clean up confusion regarding NAME, PRE_NAME.
2983 2000-06-08 Branko Cibej <branko.cibej@hermes.si>
2985 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Check for
2986 sinf, cosf, fabsf, and sqrtf; add to LIBMATHOBJS if missing.
2987 * aclocal.m4: Regenerate.
2988 * configure: Regenerate.
2989 * math/cosf.c: New file.
2990 * math/fabsf.c: Likewise.
2991 * math/sinf.c: Likewise.
2992 * math/sqrtf.c: Likewise.
2993 * math/Makefile.am (EXTRA_DIST): Add those four files.
2994 * math/Makefile.in: Regenerate.
2996 2000-06-08 Phil Edwards <pme@sourceware.cygnus.com>
2998 * testsuite/26_numerics/complex_inserters_extractors.cc: Need cmath.
3000 2000-06-06 Steven King <sxking@uswest.net>
3002 * acconfig.h: Added defines for HAVE_BUILTIN math functs for float,
3003 double and long double. Added defines for HAVE libm math functs for
3004 float and long double.
3005 * aclocal.m4: Added configure checks for builtin math funcs and libm
3006 support for float and long double versions of the math functions.
3007 * config.h.in: Added undefs for math functs.
3008 * configure: Regenerate.
3009 * math/mathconf: Changed the _GLIBCPP_HAS_BUILTIN_* to
3010 _GLIBCPP_HAVE_BUILTIN_*.
3011 * bits/std_cmath.h: Added long double support. Use builtins for
3012 float, double and long if available, otherwise, use libm versions if
3013 availible, otherwise, punt.
3014 * shadow/bits/std_cmath.h: ditto
3016 2000-06-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3018 * bits/locale_facets.h: Tweak.
3019 * src/locale.cc (codecvt<wchar_t>): Tweak.
3021 * bits/locale_facets.h (_Format_cache): _S_ecks -> _S_x.
3022 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix for hex.
3024 * bits/basic_string.h: Move data member up.
3025 * src/string-inst.cc: Fix instantiations.
3026 * bits/string.tcc: Fix types.
3028 2000-06-02 Anthony Williams <anthony@anthonyw.cjb.net>
3030 * testsuite/21_strings/replace.cc (test01): Qualify find with std::.
3032 2000-06-01 Benjamin Kosnik <bkoz@gnu.org>
3034 * bits/std_cwctype.h: Clean.
3035 * bits/std_cwchar.h: Clean, remove cruft.
3037 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Re-work, add bits
3038 for beginning iconv support.
3039 Remove _GLIBCPP_HAS_WCHAR_MIN_MAX, roll into _GLIBCPP_USE_WCHAR_T
3041 * acconfig.h: Remove _GLIBCPP_HAS_WCHAR_MIN_MAX.
3042 * bits/limits_generic.h: Remove.
3043 * src/gen-num-limits.cc: Same.
3045 * src/locale.cc: Tweaks.
3047 * bits/char_traits.h: Tweaks.
3049 2000-05-31 Russell Davidson <russell@ehess.cnrs-mrs.fr>
3051 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix signage,
3052 exponent, scientific formatting issues.
3053 * testsuite/27_io/istream_extractor_arith.cc (test09): Add tests.
3055 2000-05-31 Branko Cibej <branko.cibej@hermes.si>
3057 * bits/limits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN
3058 and WCHAR_MAX instead of WCHART_MIN and WCHART_MAX.
3060 2000-05-31 Nathan Myers <ncm@cantrip.org>
3062 * docs/thanks.html: edit own credits
3064 2000-05-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3066 * bits/generic_shadow.h: Remaining _C_Shadow -> _C_shadow fix.
3068 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...
3070 * mkcheck.in (SH_FLAG): Add in -Wl,--rpath -Wl,$LIB_PATH. Tweaks.
3072 2000-05-31 Steven King <sxking@uswest.net>
3074 * shadow/time.h: fix typo
3075 * shadow/wchar.h: ifdef __USE_GNU for wcsdup
3076 * shadow/bits/std_cwchar.h: ditto
3077 * shadow/bits/std_cstdlib.h: add overloads of abs and div for long
3080 2000-05-26 Phil Edwards <pme@sourceware.cygnus.com>
3082 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): If strtoll isn't
3083 available, force --disable. Need to flesh this out; make smarter.
3084 * aclocal.m4: Regenerate.
3085 * configure: Regenerate.
3087 * mkcheck.in: Minor tweaks.
3088 * docs/download.html: Fix typo.
3090 2000-05-25 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
3092 * inclosure: Change to...
3093 * mkinclosure: This.
3095 * mkcshadow: Fix paths to bash.
3097 * src/Makefile.am: Tweaks. Do cshadow header trickery at build time.
3098 * src/Makefile.in: Regnerate.
3099 * acinclude.m4 (GLIBCPP_COMPILER_VERSION): Fix typo.
3100 (GLIBCPP_ENABLE_SHADOW): Do a less gross hack.
3101 * aclocal.m4: Regenerate.
3102 * mkcheck.in (INC_PATH): Tweak.
3104 * configure.in: Enable long long by default.
3105 * configure: Regenerate.
3107 * mkcheck.in (LIB_PATH): Revert.
3109 2000-05-24 Nathan "I don't write ChangeLog Entries" Myers <ncm@cantrip.org>
3111 * config/cpu/i486: New directory.
3112 * config/cpu/i486/bits: New directory.
3113 * config/cpu/i486/bits/atomicity.h: New file.
3114 * config/cpu/i386/bits/atomicity.h (__compare_and_swap): Delete
3116 * acinclude.m4 (GLIBCPP_CHECK_CPU): Enable i386.
3118 2000-05-24 Loren J. Rittle <ljrittle@acm.org>
3120 * backward/alloc.h (__default_alloc_template): Only expose
3121 implementation-specific symbol, if it exists in the
3123 * backward/iostream.h (ends): Expose symbol.
3124 * backward/strstream.h: New file.
3125 * backward/stream.h: New file.
3126 * backward/ostream.h: New file.
3127 * backward/istream.h: New file.
3128 * backward/fstream.h: New file.
3129 * backward/complex.h: New file.
3130 * backward/iomanip.h: New file.
3132 * mkcheck.in (LIB_PATH): Add -R bits.
3134 * math/carg.c (carg): Replace __atan2 with atan2.
3136 2000-05-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3138 * Makefile.am (TAGS): Construct.
3139 * Makefile.in: Rengerate.
3140 * src/Makefile.am: Tweak.
3141 * src/Makefile.in: Tweak.
3142 * configure.in: Tweak.
3144 * bits/c++config.h: Rename to ...
3145 * bits/c++config: This.
3146 * mkc++config: Adjust.
3149 * m4/lc_message.m4: Merge into acinclude.m4.
3150 * m4/mathfcts.m4: Same.
3151 * m4/stringfcts.m4: Same.
3152 * acinclude.m4: Add here.
3153 * configure: Regnerate.
3155 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Remove
3156 OPTLEVEL. Add FMTFLAGS.
3157 * aclocal.m4: Regenerate.
3158 * src/Makefile.am (AC_CXXFLAGS): Take out OPTLEVEL, as this has
3159 been disabled due to higher-level Makefiles running amuck over
3160 this bit, and add in FMTFLAGS so that formatting is clear.
3161 * src/Makefile.in: Regenerate.
3162 * configure: Regenerate.
3164 * src/ios.cc (ios_base::sync_with_stdio): Clean up buffers from
3167 * docs/download.html: Remove references to Cygwin-specific bits,
3168 as this can now be built natively.
3169 Update with current information.
3171 2000-05-24 Phil Edwards <pme@sourceware.cygnus.com>
3173 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): If we can use
3174 -fdiagnostics-show-location=once, do so. Expand AC_LANG_* to
3175 enclose other tests in this macro, including future ones.
3176 * aclocal.m4: Regenerate.
3177 * configure: Regenerate.
3179 * docs/faq/index.html: Update location of libg++ FAQ.
3180 * docs/faq/index.txt: Regenerate.
3182 2000-05-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3184 * docs/17_intro/libstdc++-assign.txt: Change Cygnus to FSF.
3186 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
3188 * mkcheck.in: Tweak for Solaris 8. Additional minor output comment.
3190 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
3192 * acinclude.m4: If the new pragma isn't supported, don't kill -Werror;
3193 keep -Werror and add -Wno-unknown-pragma. -Werror Is Good.
3194 * aclocal.m4: Regenerate.
3195 * configure: Regenerate.
3197 2000-05-19 Nathan C. Myers <ncm@cantrip.org>
3199 * bits/generic_shadow.h: s/swamp/legacy/
3201 2000-05-19 Phil Edwards <pme@sourceware.cygnus.com>
3203 * acinclude.m4: Clean up comments on newer checks.
3204 (GLIBCPP_CHECK_COMPILER_VERSION): Check for system_header
3205 pragma support. Remove WERRORSUPPRESS variable, add WERROR.
3206 * aclocal.m4: Regenerate.
3207 * configure: Regenerate.
3208 * Makefile.in: Regenerate.
3209 * libio/Makefile.in: Regenerate.
3210 * math/Makefile.in: Regenerate.
3211 * src/Makefile.am: Tell make's WERROR to depend on configure's WERROR.
3212 * src/Makefile.in: Regenerate.
3213 * docs/configopts.html: Document changes to --enable names.
3215 2000-05-18 Chip Salzenberg <chip@valinux.com>
3217 * bits/ostream.tcc (_S_pad_char): Function template should not be
3219 * bits/streambuf.tcc (_S_copy_streambufs): Likewise.
3220 * src/string-inst.cc (__destroy_aux): Instantiate for string*.
3222 2000-05-18 Nathan C. Myers <ncm@cantrip.org>
3224 * mkcshadow: Change C_Swamp to C_legacy.
3226 * shadow/bits/*: Same.
3227 s/C_Swamp/C_legacy/g
3231 2000-05-18 Anthony Williams <anthony@anthonyw.cjb.net>
3233 * bits/locale_facets.tcc (num_get::_M_extract): Change char* to
3235 * src/string-inst.cc (string::_S_find): Same.
3237 2000-05-18 Benjamin Kosnik <bkoz@gnu.org>
3239 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
3240 --enable-cshadow-headers. Add output messages.
3241 (GCC_ENABLE_LONG_LONG): Change to --enable-long-long, no
3242 underscores (like the rest of the enable options.) Add output messages.
3243 * aclocal.m4: Regenerate.
3244 * configure: Regenerate.
3245 * configure.in: Touch.
3247 2000-05-17 Benjamin Kosnik <bkoz@cygnus.com>
3249 * mkcheck.in: Enable shared library testing.
3251 2000-05-17 Nathan C. Myers <ncm@cantrip.org>
3253 * bits/std_cmath.h: fix sqrt(float)
3255 2000-05-16 Loren J. Rittle <ljrittle@acm.org>
3257 * bits/std_cassert.h: Use system_header pragma.
3258 * bits/std_cctype.h: Likewise.
3259 * bits/std_cerrno.h: Likewise.
3260 * bits/std_cfloat.h: Likewise.
3261 * bits/std_climits.h: Likewise.
3262 * bits/std_clocale.h: Likewise.
3263 * bits/std_cmath.h: Likewise.
3264 * bits/std_csetjmp.h: Likewise.
3265 * bits/std_csignal.h: Likewise.
3266 * bits/std_cstdarg.h: Likewise.
3267 * bits/std_cstddef.h: Likewise.
3268 * bits/std_cstdio.h: Likewise.
3269 * bits/std_cstdlib.h: Likewise.
3270 * bits/std_cstring.h: Likewise.
3271 * bits/std_ctime.h: Likewise.
3272 * bits/std_cwchar.h: Likewise.
3273 * bits/std_cwctype.h: Likewise.
3274 * bits/std_exception.h: Likewise.
3275 * bits/std_new.h: Likewise.
3276 * bits/std_typeinfo.h: Likewise.
3277 * shadow/bits/std_cassert.h: Likewise.
3278 * shadow/bits/std_cctype.h: Likewise.
3279 * shadow/bits/std_cerrno.h: Likewise.
3280 * shadow/bits/std_cfloat.h: Likewise.
3281 * shadow/bits/std_climits.h: Likewise.
3282 * shadow/bits/std_clocale.h: Likewise.
3283 * shadow/bits/std_cmath.h: Likewise.
3284 * shadow/bits/std_csetjmp.h: Likewise.
3285 * shadow/bits/std_csignal.h: Likewise.
3286 * shadow/bits/std_cstdarg.h: Likewise.
3287 * shadow/bits/std_cstddef.h: Likewise.
3288 * shadow/bits/std_cstdio.h: Likewise.
3289 * shadow/bits/std_cstdlib.h: Likewise.
3290 * shadow/bits/std_cstring.h: Likewise.
3291 * shadow/bits/std_ctime.h: Likewise.
3292 * shadow/bits/std_cwchar.h: Likewise.
3293 * shadow/bits/std_cwctype.h: Likewise.
3294 * shadow/bits/wrap_libio.h: Likewise.
3295 * shadow/bits/wrap_unistd.h: Likewise.
3296 * shadow/sys/cdefs.h: Likewise.
3298 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
3300 It appears that gcc-2.96 supports the keyword "and" now.
3301 * bits/std_ciso646.h: remove.
3303 * testsuite/17_intro/header_ciso646.c: enable testing.
3304 * src/Makefile.am, src/Makefile.in: remove mention of
3307 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
3309 * mkcshadow: fix typo s/_C_Swamp_/_C_Swamp/.
3311 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
3313 * acinclude.m4: Fix typo, switch to decaf...
3314 * aclocal.m4: Regenerate.
3315 * configure: Regenerate.
3317 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
3319 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro, stub.
3320 * aclocal.m4: Regenerate.
3321 * configure.in: Call.
3322 * configure: Regenerate.
3323 * docs/configopts.html: Stub documentation.
3325 2000-05-14 Nathan Myers <ncm@cantrip.org>
3327 * mkcshadow: build in more-correct directory, create cshadow/
3328 directory if needed, report progress.
3330 2000-05-14 LLeweLLyn Reese <llewelly@dbritsch.dsl.xmission.com>
3332 * src/Makefile.am: Fix tr commands.
3333 * src/Makefile.am: Remove references to [w]stringCTORDUPAL.[lo,cc]
3334 * src/string-inst.cc: Remove extra instantiation of
3335 S::basic_string(S::size_type, C, S::allocator_type const&);
3336 * src/string-inst.cc: Remove extra template keyword.
3338 2000-05-14 Loren J. Rittle <ljrittle@acm.org>
3340 * config/bsd/bits/ctype_base.h: Add support for plain BSD4.4.
3341 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Enhance bsd tests.
3342 * aclocal.m4: Regenerate.
3343 * configure: Regenerate.
3344 * */Makefile.in: Regenerate.
3346 2000-05-11 Phil Edwards <pme@sourceware.cygnus.com>
3348 * acinclude.m4: Fix minor typo with ctypes, add more sanity to
3349 enable-cxx-flags, and remove GLIBCPP_ENABLE_NAMESPACES altogether.
3350 * aclocal.m4: Regenerate.
3351 * configure.in: Non-blank arguments break fewer Linuxes.
3352 * configure: Regenerate.
3353 * src/Makefile.am: Re-order AC_CXXFLAGS components.
3354 * src/Makefile.in: Regenerate.
3356 2000-05-10 Benjamin Kosnik <bkoz@redhat.com>
3358 * bits/std_cmath.h: Tweaks.
3359 * math/mathconf.h: Tweaks and fixes for HP-UX 11.
3360 (sqrtf): Define away iff !builtin and !in <math.h>.
3364 At some point this directory should be converted to c++, the
3365 autoconf tests should be run by the c++ compiler (not c), and
3366 <cmath> should be used instead of math.h.
3367 Move declaration of nan() here.
3368 * math/complex-stub.h (cabsl): Remove nan() declaration.
3370 Finish up FreeBSD4.0 support.
3371 * config/bsd/ctype.cc: Scope out toupper, tolower calls.
3372 * config/generic/ctype.cc: And here.
3373 * testsuite/21_strings/char_traits.cc (test02): Guard with
3374 _GLIBCPP_USE_WCHAR_T.
3376 via Phil Edwards <pme@sourceware.cygnus.com>
3377 * bits/std_cctype.h: Remove _GLIBCPP_USE_NAMESPACES.
3378 * acconfig.h: And here.
3379 * acinclude.m4: Same.
3380 * testsuite/27_io/istream.cc: And here.
3381 * testsuite/27_io/ostream.cc: And here.
3383 2000-05-09 Benjamin Kosnik <bkoz@gnu.org>
3385 * acinclude.m4 (GLIBCPP_CHECK_CPU): Change powerpc bits to
3387 * src/Makefile.am: Disable ENABLE_CXX_FLAGS stuff for the moment.
3389 * config/generic/bits/ctype_specializations.h (ctype<char>::is):
3392 * config/bsd: New directory.
3393 * config/bsd/ctype.cc: New.
3394 * config/bsd/bits/ctype_base.h (ctype_base): New.
3395 * config/bsd/bits/ctype_specializations.h: New.
3396 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bsd tests.
3398 2000-05-09 Phil Edwards <pme@sourceware.cygnus.com>
3400 * acinclude.m4: New macro, GLIBCPP_ENABLE_CXX_FLAGS.
3401 * configure.in: Call.
3402 * src/Makefile.am: Append results of macro to AC_CXXFLAGS.
3403 * aclocal.m4: Regenerate.
3405 * src/Makefile.in: Ditto.
3406 * docs/configopts.html: Document.
3407 * docs/download.html: Fix typo (close quote).
3408 * docs/footer.html: Update.
3410 2000-05-09 Loren J. Rittle <ljrittle@acm.org>
3412 * backward/iostream.h: Expose endl. Guard wide types.
3413 * src/Makefile.am (headers): Update list to match files.
3414 * src/Makefile.in: Regenerate.
3416 2000-05-09 Vadim Egorov <egorovv@mailandnews.com>
3417 Benjamin Kosnik <bkoz@gnu.org>
3418 Nathan Myers <ncm@cantrip.org>
3419 Dietmar Kuehl <dietmar_kuehl@yahoo.com>
3421 * bits/streambuf.tcc (basic_streambuf::xsgetn): Fix uflow case.
3422 (basic_streambuf::xsputn): Make consistent.
3423 * testsuite/27_io/filebuf.cc: Add tests.
3425 2000-05-08 Steven King <sxking@uswest.net>
3427 * bits/char_traits.h: Use wchar_t utility functions for
3428 char_traits<wchar_t> methods.
3429 * testsuite/21_string/char_traits.cc: New (test02): test
3430 char_traits<wchar_t>
3432 2000-05-08 Benjamin Kosnik <bkoz@cygnus.com>
3434 * acinclude.m4 (GLIBCPP_CXXFLAGS): Add bits for solaris2.8.
3436 * bits/fstream.tcc (filebuf::_M_init_filebuf): Don't set
3437 _M_buf_size based on macro, instead use _M_buf_size_opt.
3438 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_size_opt.
3439 (basic_streambuf()): Set _M_buf_size_opt.
3440 * testsuite/27_io/filebuf.cc (filebuf): Use _M_buf_size_opt
3441 instead of _M_buf_size.
3443 2000-05-04 Branko Cibej <branko.cibej@hermes.si>
3445 * src/complex_io.cc: Don't instantiate inserters and extractors
3446 for wide-character streams unless _GLIBCPP_USE_WCHAR_T is defined.
3448 2000-05-03 Phil Edwards <pme@sourceware.cygnus.com>
3449 Felix Natter <fnatter@gmx.net>
3451 * docs/footer.html: Update to see if it takes effect.
3452 * docs/thanks.html: More people.
3453 * docs/17_intro/headers_cc.txt: Copy from testsuite, since that can't
3454 be seen from the web pages. Rename for browser-friendliness...
3455 * docs/17_intro/howto.html: ...and update here.
3456 * docs/17_intro/porting-howto.html: Changes from Felix.
3457 * docs/gccrebuild.html: Mention v3->egcs move.
3458 * docs/faq/index.html: Ditto. Also misc tweaks and URL updates.
3459 * docs/faq/index.txt: Regenerate.
3461 2000-05-01 Benjamin Kosnik <bkoz@redhat.com>
3463 * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): More
3466 2000-05-01 Vadim Egorov <egorovv@@mailandnews.com>
3468 * bits/char_traits.h: Fix parameter types.
3469 * bits/string.tcc: Avoid traits_type::move.
3471 2000-05-01 Benjamin Kosnik <bkoz@haight.constant.com>
3473 * src/Makefile.am (AC_CXXFLAGS): Add CPUFLAGS here.
3474 * src/Makefile.in: Regenerate.
3475 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Revert.
3477 2000-04-30 Steven King <sxking@uswest.net>
3479 * bits/locale_facets.h: Fix syntax error.
3480 * bits/std_fstream.h: ditto
3482 2000-04-30 Benjamin Kosnik <bkoz@gnu.org>
3484 * config/cpu/powerpc/bits/atomicity.h (__compare_and_swap): Fix typo.
3486 * mknumeric_limits (trait_name): Fix copyright notice.
3487 * src/gen-num-limits.cc: Explicitly instantiate epsilon and
3488 round_error data members of struct value. This works around
3489 weak-linking issues on AIX, HPUX.
3491 2000-04-29 Phil Edwards <pme@sourceware.cygnus.com>
3493 * docs/download.html: Add link to list of mirror sites.
3495 2000-04-28 Loren J. Rittle <ljrittle@acm.org>
3497 * mkcheck.in: Rely on exit status instead of the presence of a
3498 core file. Added comments on how/where to save core and exe
3499 files. Move shell wildcards outside quotes and fix core path.
3501 2000-04-27 scott snyder <snyder@fnal.gov>
3503 * src/misc-inst.cc: Explicitly instantiate ifstream and ofstream
3506 2000-04-26 Nathan C. Myers <ncm@cantrip.org>
3508 * bits/basic_string.h: include <bits/atomicity.h> instead
3509 of <atomicity.h>, and use the uglified names.
3510 * config/cpu/*/atomicity.h: replace with bits/atomicity.h;
3511 uglify names, eliminate dependence on <inttypes.h>.
3512 * src/Makefile.in, src/Makefile.am: refer to correct place
3513 for atomicity.h header.
3515 2000-04-25 Steven King <sxking@uswest.net>
3517 * bits/basic_string.h: Fix syntax error.
3519 2000-04-25 Benjamin Kosnik <bkoz@redhat.com>
3521 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Improve checks for
3523 (GLIBCPP_ENABLE_DEBUG): If alpha, use -gdwarf-2.
3524 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Add all the long
3525 versions to this as copysignl is needed anyway for these targets.
3526 * math/Makefile.in: Regenerate.
3528 * bits/streambuf.tcc (streambuf::xsgetn): Tweak.
3529 * bits/fstream.tcc (underflow): Cast to libio types.
3530 * bits/basic_file.h (seekoff): Fixes for alpha: use __c_streamoff.
3531 * config/c_io_libio.cc (seekoff): And here.
3533 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
3535 * mkcheck.in: Report compiler version used for test. Find
3536 the built _G_config.h instead of any old installed version.
3538 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
3540 * config/generic/ctype.cc (do_toupper): Remove dependence on
3541 non-portable/non-existent lookup table.
3544 2000-04-24 Nathan Myers <ncm@cantrip.org>
3546 * src/string-inst.cc: More fixing.
3548 2000-04-24 Benjamin Kosnik <bkoz@gnu.org>
3550 * bits/stl_iterator.h: Pedantic fixing.
3551 * bits/std_sstream.h: And here.
3552 * bits/string.tcc: And here.
3554 2000-04-24 Felix Natter <fnatter@gmx.net>
3556 * docs/17_intro/howto.html: Add bits.
3557 * docs/17_intro/porting-howto.html: New file.
3559 2000-04-24 Branko Cibej <branko.cibej@hermes.si>
3561 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Expand
3562 @libinst_wstring_la@ to libinst-wstring.la when specializing for
3563 wchar_t, to empty string otherwise.
3564 * src/Makefile.am: (EXTRA_LTLIBRARIES): New.
3565 (sources): Remove $(string_sources) and $(wstring_sources).
3566 (libstdc___la_LIBADD): Add libinst-string.la and @libinst_wstring_la@.
3567 (libstdc___la_DEPENDENCIES): New.
3568 (libinst_string_la_SOURCES, libinst_wstring_la_SOURCES): New.
3570 2000-04-20 Benjamin Kosnik <bkoz@redhat.com>
3572 * bits/std_sstream.h: Tweak formatting.
3573 * bits/std_fstream.h: Make types public.
3575 * testsuite/27_io/streambuf.cc: Fix for alpha.
3577 Brad Garcia <bgarcia@laurelnetworks.com>
3578 * bits/locale_facets.h (numpunct::numpunct(size_t)): Fix bool
3580 * testsuite/27_io/ios_manip_fmtflags.cc (test02): Add test for
3583 2000-04-19 Nathan Myers <ncm@cantrip.org>
3585 * src/string-inst: consolidate _S_create,
3586 destroy, leak, clone members into stringMAIN and stringMUTATE
3588 * src/Makefile.am: Above, and eliminate dependence on
3590 * src/wstring-inst.cc: Remove.
3592 2000-04-18 Benjamin Kosnik <bkoz@redhat.com>
3594 * src/Makefile.am (AC_CXXFLAGS): Activate debugging code, again.
3595 Add flags for specialized rules dealing with instantiations.
3597 * src/string-inst.cc: Add instantiations missing from shared
3598 libraries--see stringEQ, stringCONSC.
3599 * src/Makefile.am (wstring_sources): Add.
3600 (string_sources): Same.
3601 * src/Makefile.in: Regenerate.
3603 * stl/*: Integrate contents of this directory into top-level
3605 * ext/bvector hash_map hash_set rope ropeimpl.h slist
3606 stl_bvector.h stl_hash_fun.h stl_hashtable.h stl_rope.h tree: Add.
3607 * bits/pthread_allocimpl.h std_algorithm.h std_bitset.h
3608 std_deque.h std_functional.h std_iterator.h std_list.h std_map.h
3609 std_memory.h std_numeric.h std_queue.h std_set.h std_stack.h
3610 std_stdexcept.h std_strstream.h std_utility.h std_vector.h
3611 stl_algo.h stl_algobase.h stl_alloc.h stl_config.h stl_construct.h
3612 stl_deque.h stl_function.h stl_heap.h stl_iterator.h
3613 stl_iterator_base.h stl_list.h stl_map.h stl_multimap.h
3614 stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h
3615 stl_queue.h stl_range_errors.h stl_raw_storage_iter.h stl_relops.h
3616 stl_set.h stl_stack.h stl_string_fwd.h stl_tempbuf.h stl_threads.h
3617 stl_tree.h stl_uninitialized.h stl_vector.h type_traits.h: Add.
3618 * backward/algo.h algobase.h alloc.h bvector.h defalloc.h deque.h
3619 function.h hash_map.h hash_set.h hashtable.h heap.h iterator.h
3620 list.h map.h multimap.h multiset.h pair.h rope.h set.h slist.h
3621 stack.h tempbuf.h tree.h vector.h: Add.
3622 * README (file): Update.
3623 * docs/documentation.html: README not being found.
3624 * src/Makefile.am (sources): Take out stl directory.
3625 * mkcheck.in (SRC_DIR): And here.
3626 * src/Makefile.in: Regenerate.
3628 2000-04-18 Levente Farkas <lfarkas@mindmaker.hu>
3630 * stl/bits/stl_function.h: Add bits so that const and non-const
3633 2000-04-18 scott snyder <snyder@fnal.gov>
3635 * stl/bits/stl_map.h (class map): Fix default for _Alloc template
3636 parameter. Get rid of use of __STL_DEFAULT_ALLOCATOR and
3637 __STL_LIMITED_DEFAULT_TEMPLATES macros.
3638 * stl/bits/stl_multimap.h (class multimap): Likewise. Get rid of
3639 use of __STL_DEPENDENT_DEFAULT_TMPL macro.
3641 2000-04-18 scott snyder <snyder@fnal.gov>
3643 * stl/bits/stl_config.h (__STL_DEPENDENT_DEFAULT_TMPL): Deleted
3646 * stl/ext/hash_map (class hash_map, class hash_multimap): Get rid
3647 of use of __STL_DEPENDENT_DEFAULT_TMPL macro.
3648 * stl/ext/hash_set (class hash_set, class hash_multiset):
3650 * stl/bits/stl_function.h (struct constant_unary_fun, struct
3651 constant_binary_fun): Likewise.
3652 * stl/bits/stl_queue.h (class queue, class priority_queue): Likewise.
3653 * stl/bits/stl_stack.h (class stack): Likewise.
3654 * stl/bits/stl_set.h (class set): Likewise.
3655 * stl/bits/stl_multiset.h (class multiset): Likewise.
3657 * stl/bits/stl_iterator.h (class reverse_bidirectional_iterator,
3658 class reverse_iterator): Get rid of use of
3659 __STL_LIMITED_DEFAULT_TEMPLATES macro.
3661 * stl/bits/stl_config.h (__STL_DEFAULT_ALLOCATOR): Deleted this
3664 * stl/bits/stl_deque.h (class deque): Get rid of use of
3665 __STL_DEFAULT_ALLOCATOR macro.
3666 * stl/bits/stl_list.h (class list): Likewise.
3667 * stl/bits/stl_multiset.h (class multiset): Likewise.
3668 * stl/bits/stl_set.h (class set): Likewise.
3669 * stl/bits/stl_string_fwd.h (class basic_string): Likewise.
3670 * stl/bits/stl_tree.h (class _Rb_tree, class rb_tree): Likewise.
3671 * stl/bits/stl_vector.h (class vector): Likewise.
3672 * stl/ext/ropeimpl.h (rotate): Likewise.
3673 * stl/ext/hash_map (class hash_map, class hash_multimap):
3675 * stl/ext/hash_set (class hash_set, class hash_multiset):
3677 * stl/ext/slist (class slist): Likewise.
3678 * stl/ext/stl_bvector.h (class bit_vector): Likewise.
3679 * stl/ext/stl_rope.h (class rope): Likewise.
3680 * src/locale.cc (_Impl): Likewise.
3681 * src/localename.cc (_Impl): Likewise.
3682 * bits/localefwd.h (_Impl): Likewise.
3684 2000-04-18 Phil Edwards <pme@sourceware.cygnus.com>
3686 * docs/install.html: Cleanup, minor changes.
3687 * docs/17_intro/howto.html: Ditto.
3689 2000-04-18 Nathan Myers <ncm@cantrip.org>
3691 * bits/basic_string.h: Remove "inline" from member _S_find.
3693 * src/string-inst.cc: Rewrite to reflect non-inline template
3694 instantiations in string.tcc.
3696 * src/stringADDCS.cc, stringADDPS.cc, stringADDSC.cc, stringADDSP.cc,
3697 stringADDSS.cc, stringBIST.cc, stringBOST.cc, stringCHTR.cc,
3698 stringEQPS.cc, stringEQSP.cc, stringEQSS.cc, stringEXTRA.cc,
3699 stringGEPS.cc, stringGESP.cc, stringGESS.cc, stringGETLI.cc,
3700 stringGTPS.cc, stringGTPS.cc, stringGTSP.cc, stringGTSS.cc,
3701 stringINSER.cc, stringLEPS.cc, stringLESP.cc, stringLESS.cc,
3702 stringLESP.cc, stringLTPS.cc, stringLTPS.cc, stringLTSP.cc,
3703 stringLTSS.cc, stringMAIN.cc, stringNEPS.cc, stringNESP.cc,
3704 stringNESS.cc, stringSCOPY.cc: Remove.
3705 * src/wstringADDCS.cc, etc: Remove.
3707 Benjamin Kosnik <bkoz@haight.constant.com>
3708 * src/Makefile.am: Modify to reflect above.
3709 * src/Makefile.in: Regenerate.
3711 2000-04-17 Benjamin Kosnik <bkoz@cygnus.com>
3713 * docs/install.html (--enable-libstdcxx-v3): Clean up install docs.
3715 2000-04-13 Benjamin Kosnik <bkoz@haight.cygnus.com>
3717 * bits/std_fstream.h (filebuf::sync): Need to use the abstracted
3718 io interface here instead of the libio particulars.
3720 * config/threads-posix.h: Consistency with stl_config.h.
3722 * mkcheck.in (CXX_FLAG): Add DDEBUG_ASSERT back in.
3724 2000-04-13 Loren J. Rittle <ljrittle@acm.org>
3726 * mknumeric_limits: Rename generic type template parameter name
3728 * stl/bits/type_traits.h: Ditto.
3730 2000-04-06 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3732 * mkcheck.in (SRC_DIR): Change default mkcheck behavior, so that
3733 it is more useful for --enable-libstdcxx-v3. Use the built
3734 compilers with v3, instead of compilers in PATH, and don't
3735 re-include include directories for checking the install.
3737 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
3739 * src/Makefile.am (AM_CXXFLAGS): Disable NAMESPACES, as this is on
3740 by default when using --enable-libstdcxx-v3.
3741 * src/Makefile.in: Regenerate.
3742 * configure.in: Disable GLIBCPP_ENABLE_NAMESPACES,
3743 GLIBCPP_ENABLE_RELIBGCC for --enable-libstdcxx-v3 flag.
3744 * configure: Regenerate.
3745 * mkcheck.in: Deal with NAMESPACES.
3747 2000-04-05 Petter Urkedal <petter@matfys.lth.se>
3749 * src/cmath.cc: New file...
3750 (pow(*, int)): Define functions...
3751 * src/Makefile.am (sources): ...register file.
3752 * src/Makefile.in: Regenerate.
3753 * bits/std_cmath.h (pow): ...declare functions here, and remove
3756 2000-04-04 Benjamin Kosnik <bkoz@redhat.com>
3758 * acinclude.m4 (GCC_OBJDIR): Tweaks
3760 2000-04-03 Benjamin Kosnik <bkoz@redhat.com>
3762 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add arm configure bits.
3763 * config/cpu/arm: New directory.
3765 Jesper Skov <jskov@redhat.com>
3766 * config/cpu/arm/atomicity.h: New file.
3768 2000-03-31 Benjamin Kosnik <bkoz@redhat.com>
3770 * stl/bits/stl_config.h: Make _STL_THREADS depend on _REENTRANT.
3771 Remove unused bits. Clean.
3773 2000-03-29 Benjamin Kosnik <bkoz@cygnus.com>
3775 * testsuite/25_algorithms: New directory.
3776 * testsuite/25_algorithms/min_max.cc: New file.
3778 2000-03-29 scott snyder <snyder@fnal.gov>
3780 * bits/locale_facets.tcc (do_put): Allow a couple extra digits of
3781 precision beyond that which we get from numeric_limits::digits10.
3783 * stl/bits/stl_algobase.h (max, min): Don't use comparison
3786 * testsuite/23_containers/bitset_shift.cc: Fix.
3788 * testsuite/27_io/ios_manip_fmtflags.cc (test01): Don't give a
3789 temporary to imbue().
3791 * bits/std_fstream.h (sync): Resync libio's idea of the current
3792 file position with the external file.
3794 2000-03-28 Benjamin Kosnik <bkoz@cygnus.com>
3796 * testsuite/27_io/istream_extractor_arith.cc.cvs: Fix merge
3799 * bits/std_fstream.h (filebuf::is_open): Check for _M_file before
3800 attempting calls to it.
3801 * bits/fstream.tcc (ctors): Don't call _M_init_filebuf in
3802 ctors. Instead, call _M_init_filebuf ...
3803 (open): Here, as suggested by 27.8.1.3.
3804 * src/ios.cc (ios_base::Init::Init()): Clean up default filebufs
3805 properly when initializing cout/cin/cerr.
3807 2000-03-27 Russell Davidson <russell@ehess.cnrs-mrs.fr>
3809 * testsuite/23_containers/multiset.cc (main): Clean up for namespaces.
3810 * testsuite/22_locale/ctype_char_members.cc: And here.
3811 * testsuite/27_io/streambuf.cc (streambuf): And here.
3812 * testsuite/27_io/ostream_inserter_char.cc (test06): And here.
3813 * testsuite/27_io/istream_unformatted.cc (test05): And here.
3814 * testsuite/27_io/istream_extractor_arith.cc: And here.
3815 * testsuite/27_io/ios_manip_basefield.cc (test02): And here.
3816 * testsuite/27_io/ios_base_members_static.cc: And here.
3817 * bits/std_climits.h (_CPP_CLIMITS): Fix typo.
3819 2000-03-27 Chris Faylor <cgf@cygnus.com>
3821 * configure.in: Remove setting of CXX if canadian cross.
3822 * configure: Regenerate.
3824 2000-03-27 Nathan Myers <ncm@zembu.com>
3826 * bits/sstream.tcc: Optimize.
3827 * bits/basic_string.h(string::append): Don't inline.
3828 * bits/string.tcc: Move out-of-line.
3830 2000-03-27 Phil Edwards <pme@sourceware.cygnus.com>
3832 * acinclude.m4: (GLIBCPP_CHECK_COMPILER_VERSION) When using <2.96,
3833 define WERRORSUPPRESS so that the inlining warnings won't kill us.
3834 * aclocal.m4: Regenerate.
3835 * configure: Regenerate.
3836 * src/Makefile.am: Use WERRORSUPPRESS for the files that need it.
3837 * src/Makefile.in: Regenerate.
3839 * docs/install.html: Almost complete rewrite.
3841 2000-03-25 Phil Edwards <pme@sourceware.cygnus.com>
3843 * docs/install.html: Explain -Werror problem at "#Werror" mark.
3844 * docs/faq/index.html: Testsuite will die horribly if new libgcc.a
3846 * docs/faq/index.txt: Regenerate.
3848 2000-03-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3850 * src/Makefile.am (libio_headers_install): Fix.
3851 * src/Makefile.in: Regenerate.
3853 2000-03-24 Benjamin Kosnik <bkoz@cygnus.com>
3855 * docs/17_intro/RELEASE-NOTES: Fix typos.
3856 * docs/index.html: Update.
3857 * docs/17_intro/BUGS: Update.
3858 * docs/status.html: Update for 2.90.8 release.
3860 2000-03-23 Phil Edwards <pme@sourceware.cygnus.com>
3862 * Makefile.am: Better error message when missing libgcc2.ready.
3863 * Makefile.in: Regenerate.
3864 * acinclude.m4: Fastidious nitpicking reformatting.
3865 * aclocal.m4: Regenerate.
3866 * configure: Regenerate.
3867 * mkcheck.in: Must use same namespace settings as the library being
3868 tested. Also log ST_FLAG, since it's being passed.
3869 * docs/install.html: Add brief chunk on configuration.
3870 * docs/17_intro/RELEASE-NOTES: Fix minor Cygwin typo.
3871 * docs/23_containers/howto.html: Mention MT-safe string.
3872 * docs/faq/index.html: Minor updates.
3873 * docs/faq/index.txt: Regerarate.
3875 2000-03-22 Benjamin Kosnik <bkoz@cygnus.com>
3877 * bits/sstream.tcc (seekoff): Fix for gptr() null cases.
3879 * bits/fstream.tcc (seekoff): Sync.
3881 * testsuite/27_io/ostream_unformatted.cc: New file.
3882 * testsuite/27_io/stringbuf.cc: Fix.
3883 * testsuite/27_io/istream_unformatted.cc (test04): Fix.
3885 * config/newlib/bits/ctype_base.h (ctype_base): Fix.
3886 * config/newlib/ctype.cc (ctype): Change __ctype -> _ctype_.
3888 * src/complex_io.cc (operator>>complex): Tweak.
3890 * config/cpu/alpha/atomicity.h: Explicitly typedef uint32_t, int32_t if
3891 <inttypes.h> does not exist.
3892 * config/cpu/sparc/sparc64/atomicity.h: Same.
3893 * config/cpu/sparc/sparc32/atomicity.h: Same.
3894 * config/cpu/powerpc/atomicity.h: Same.
3895 * config/cpu/i386/atomicity.h: Same.
3896 * config/cpu/generic/atomicity.h: Same.
3897 * configure.in: Check for inttypes.h.
3898 * configure: Regnerate.
3900 2000-03-21 Benjamin Kosnik <bkoz@cygnus.com>
3902 * bits/std_sstream.h (_M_init_stringbuf): Set initial ate position
3904 * testsuite/27_io/ostream_inserter_char.cc (test06): Add tests for ate.
3906 * docs/17_intro/RELEASE-NOTES (New): Add bits.
3908 * configure.in: Move AC_CHECK_HEADERS to a point where we know we
3909 are compiling natively.
3911 * libio/*: Update to CVS libio from egcs.
3913 2000-03-21 Phil Edwards <pme@sourceware.cygnus.com>
3915 * docs/download.html: Document use of -z9 for CVS.
3916 * docs/index.html: Add target date (no link) for future snapshot.
3918 2000-03-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3920 * bits/slice_array.h: Rename generic type template parameter name
3922 * bits/mask_array.h: Ditto
3924 2000-03-20 Benjamin Kosnik <bkoz@cygnus.com>
3926 * *: Change copyright holder from "Cygnus Solutions" to "Free
3927 Software Foundation, Inc."
3929 * docs/configopts.html: Explain what "hella versions" means.
3930 * docs/install.html: Some tweaks--nice job on this Phil.
3931 * docs/documentation.html: Add a direct link to configuration options.
3933 * src/Makefile.am (OPTIMIZE_CXXFLAGS): Add in extras.
3934 * docs/17_intro/RELEASE-NOTES (New): Add.
3935 * bits/c++config.h (__GLIBCPP__): Bump version.
3937 * config/c_io_libio.cc (__basic__file(__c_lock*)): Change argument
3938 type to match prototype.
3940 2000-03-20 Phil Edwards <pme@sourceware.cygnus.com>
3942 * docs/install.html: Update for new funky build procedure. Move
3943 description of 'configure' options to...
3944 * docs/configopts.html: ...here. New file.
3945 * docs/17_intro/howto.html: Updates for new snapshot.
3946 * docs/20_util/howto.html: Ditto.
3947 * docs/21_strings/howto.html: Ditto.
3948 * docs/21_strings/stringtok_std_h.txt: Fix example typos.
3949 * docs/22_locale/howto.html: Ditto.
3950 * docs/23_containers/howto.html: Ditto.
3951 * docs/faq/index.html: Ditto.
3953 2000-03-18 Petter Urkedal <petter@matfys.lth.se>
3954 Benjamin Kosnik <bkoz@gnu.org>
3956 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_SUPPORT): Move code for main
3958 * aclocal.m4: Regenerate.
3959 * configure: Regenerate.
3961 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
3962 scott snyder <sss@karma.fnal.gov>
3964 * config/c_io_libio.h: Add __c_lock.
3965 * config/threads-no.h: Same here.
3966 * config/threads-posix.h: Add __mutext_type typedef.
3967 * config/c_io_libio.cc: basic_file ctor takes lock arg.
3968 * bits/basic_file.h: Ctor takes lock arg.
3969 * bits/std_fstream.h: Add _M_lock.
3970 * bits/fstream.tcc: Supply it to basic_file ctor.
3972 * mkcheck.in (resultstext): Change [[ to [.
3974 * testsuite/27_io/ostream_inserter_char.cc (test06): Tweak.
3976 * bits/locale_facets.h: Tweak.
3978 * stl/bits/stl_config.h: Fix defines.
3980 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
3982 * mkcheck.in (INC_PATH): Add paths from cpu_include_dir to find
3984 * configure: Regenerate.
3985 * aclocal.m4: Regnerate.
3987 2000-03-16 Nathan Myers <ncm@zembu.com>
3989 * bits/string.tcc: Add MT support.
3990 * bits/basic_string.h: Same.
3992 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3994 * configure.in: Make --enable-namespaces and -libgcc-rebuild=../..
3996 * configure: Regenerate.
3998 * config/solaris/solaris2.7/ctype.cc: Fix unsigned/signed comparison.
4000 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
4002 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): If Sol2.5 ctype is found, keep
4003 checking for 2.[67]. (GLIBCPP_ENABLE_RELIBGCC): No longer ignore
4004 any defaults passed in.
4005 * aclocal.m4: Regenerate.
4007 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
4009 * mkcheck.in: Report total successes and failures.
4011 2000-03-15 Benjamin Kosnik <bkoz@cygnus.com>
4013 * config/cpu: New directory, intended to be used to provide
4014 cpu-specific configuration files. In particular, assembly language
4015 primitives for thread safety.
4016 * config/cpu/alpha: Populate.
4017 * config/cpu/alpha/atomicity.h: New file.
4018 * config/cpu/arm: Populate.
4019 * config/cpu/generic: Populate.
4020 * config/cpu/generic/atomicity.h: New file.
4021 * config/cpu/hppa: Populate.
4022 * config/cpu/i386: Populate.
4023 * config/cpu/i386/atomicity.h: New file, take from i486.
4024 * config/cpu/m68k: Populate.
4025 * config/cpu/mips: Populate.
4026 * config/cpu/powerpc: Populate.
4027 * config/cpu/powerpc/atomicity.h: New file.
4028 * config/cpu/sparc: Populate.
4029 * config/cpu/sparc/sparc32: Populate.
4030 * config/cpu/sparc/sparc64: Populate.
4031 * config/cpu/sparc/sparc32/atomicity.h: New file.
4032 * config/cpu/sparc/sparc64/atomicity.h: New file.
4034 * src/Makefile.am (myinstallheaders): Add install routines.
4035 * acinclude.m4 (GLIBCPP_CHECK_CPU):Add configuration for the
4037 * configure.in: Add.
4039 * config/default: Adopt glibc naming conventions, and so move to
4040 * config/generic: Here.
4041 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Modify default case to generic.
4043 2000-03-15 Bill Thompson <billt@toast.net>
4045 * testsuite/27_io/ostream_inserter_char.cc (test06): Add test.
4047 2000-03-14 Phil Edwards <pme@sourceware.cygnus.com>
4049 * docs/17_intro/howto.html: Add missing "TOC" entry, and new section.
4051 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Fixup.
4052 * aclocal.m4: Regenerate.
4053 * configure: Regenerate.
4055 2000-03-13 scott snyder <snyder@fnal.gov>
4056 Jason Merrill <jason@cygnus.com>
4058 * bits/locale_facets.h (class ctype, class ctype<char>, class
4059 ctype<wchar_t>): More mask fixes.
4060 * testsuite/22_locale/ctype.cc: Test for the problem.
4062 2000-03-13 Benjamin Kosnik <bkoz@cygnus.com>
4064 * acconfig.h: Add bits.
4065 * configure.in: Move AM_PROG_LIBTOOL up in file.
4066 Tweak cross compiling info.
4067 * configure: Regenerate.
4069 * mknumeric_limits (XCOMPILE): Echo compilation line for
4072 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add aix checks.
4073 * aclocal.m4: Regenerate.
4074 * configure: Regenerate.
4075 * config/aix/ctype.cc (ctype): Tweak.
4076 * config/aix/bits/ctype_base.h (ctype_base): Tweak.
4077 * config/aix/bits/ctype_specializations.h: New file.
4079 2000-03-10 scott snyder <snyder@fnal.gov>
4081 * stl/bits/stl_vector.h (_M_assign_aux): Fix for __normal_iterator
4083 * testsuite/23_containers/vector_modifiers.cc (test01): Add a
4084 regression test for the problem.
4086 2000-03-09 Benjamin Kosnik <bkoz@fidel.cygnus.com>
4088 * testsuite/27_io/streambuf.cc (class testbuf): Same here.
4089 * bits/fpos.h: And here.
4090 * bits/std_ostream.h: Same here.
4091 * bits/std_istream.h: Same here.
4092 * bits/basic_ios.h: Same here.
4093 * bits/std_fstream.h: Same here.
4094 * bits/sbuf_iter.h (std): Here too.
4095 * bits/std_sstream.h: Make types public.
4097 * src/misc-inst.cc: Use size_t instead of unsigned int.
4098 * bits/locale_facets.tcc (_S_format): For now, cast to char. I
4099 suppose this should be ctype::narrow... all the ctype<wchar_t>
4100 stuff needs to be cleaned up.
4102 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
4104 * docs/gentop: Remove entire directory, finally.
4106 2000-03-09 scott snyder <snyder@fnal.gov>
4108 * bits/std_cmath.h (modf): Fix pointer overrun.
4109 * testsuite/26_numerics/c_math.cc (test04, main): Add a regression
4110 test for the problem.
4112 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
4114 Looks like changes to the #include'd files must be followed by a
4115 change to the #include'ing files to take effect. Caveat emptor.
4116 * docs/header.html: New file, for server-side include.
4117 * docs/footer.html: New file, for server-side include.
4118 * docs/documentation.html: Change to use SSI.
4119 * docs/download.html: Ditto.
4120 * docs/index.html: Ditto.
4121 * docs/mail.html: Ditto.
4122 * docs/status.html: Ditto.
4123 * docs/thanks.html: Ditto, plus minor updates.
4124 * docs/how.html: Remove.
4126 2000-03-09 Benjamin Kosnik <bkoz@gnu.org>
4128 Preliminary alpha-linux support.
4129 * src/locale.cc (ctype<wchar_t>): Use correct types...
4130 * bits/locale_facets.h (ctype<char>): Add __table_type typedef.
4131 (ctype<wchar_t>): Same.
4132 * bits/locale_facets.h (ctype<wchar_t>): Have char and wchar_t
4133 types match for table_size (size_t).
4135 * config/gnu-linux/ctype.cc (ctype): Change char_type to wchar_t
4136 as per char specialization.
4137 * config/*/ctype.cc: Same.
4139 2000-03-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4141 * bits/locale_facets.h (_Ctype<>::mask): Import from base class
4142 _Ctype_nois<>. Template base classes are never examinated in
4143 first-phase name-lookup.
4145 2000-03-08 Benjamin Kosnik <bkoz@gnu.org>
4147 Add Solaris 2.5.1 support.
4148 * config/solaris/solaris2.5/bits/ctype_base.h (ctype_base): And here.
4149 * config/solaris/solaris2.5/ctype.cc: Fixup.
4150 * config/solaris/solaris2.5/bits/ctype_specializations.h: Add.
4151 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bits for solaris2.5.1.
4152 * aclocal.m4: Regenerate.
4153 * configure: Regenerate.
4155 * config/default/ctype.cc (ctype): Fixup.
4157 2000-03-07 Benjamin Kosnik <bkoz@blues.cygnus.com>
4159 * testsuite/27_io/filebuf.cc: Activate init code from yesterday...
4160 * testsuite/27_io/ostream_inserter_arith.cc (testcases): Fix for
4163 2000-03-07 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4165 * bits/cpp_type_traits.h: Expand on this file purpose.
4167 2000-03-06 Benjamin Kosnik <bkoz@gnu.org>
4169 * bits/locale_facets.h (ctype<char>): Remove static members, and
4170 re-work initialization code.
4171 (ctype<wchar_t>): Same.
4172 Move _S_touppper to _M_toupper and initialize in ctor.
4173 Move _S_tolower to _M_tolower and initialize in ctor.
4174 Move _S_table to _M_ctable and intialize in ctor.
4175 * bits/locale_facets.h (std): And here.
4176 * src/locale.cc (std): Tweak.
4177 * config/gnu-linux/ctype.cc: Change initialization here.
4178 * config/newlib/ctype.cc: And here.
4179 * config/solaris/solaris2.7/ctype.cc: And here.
4180 * config/solaris/solaris2.6/ctype.cc: And here.
4182 * bits/localefwd.h: Tweak.
4183 * bits/std_streambuf.h: Tweak formatting.
4185 * testsuite/27_io/filebuf.cc: Remove BUFSIZ dependancies.
4187 2000-03-05 Chip Salzenberg <chip@valinux.com>
4189 * src/misc-inst.cc (basic_iostream<>): Instantiate.
4191 2000-03-02 Phil Edwards <pme@sourceware.cygnus.com>
4192 Kevin Atkinson <kevinatk@home.com>
4194 Initial grab of SGI's strstream implementation with minor
4196 * src/strstream.cc: New file.
4197 * std/strstream: New file.
4198 * stl/bits/std_strstream.h: New file.
4199 * bits/std_streambuf.h: Add public access.
4200 * src/Makefile.am: Add strstream sources to list of dependancies.
4201 * src/Makefile.in: Regenerate.
4203 2000-03-03 2000 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4205 * bits/valarray_meta.h: Fix typo.
4207 2000-03-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4208 Chip Salzenberg <chip@valinux.com>
4209 Petter Urkedal <petter@matfys.lth.se>
4211 * src/Makefile.am (myinstallheaders): Hack to avoid
4213 * src/Makefile.in: Regenerate.
4215 2000-03-02 Chip Salzenberg <chip@valinux.com>
4217 * libio/Makefile.an, math/Makefile.an, src/Makefile.am
4218 (LINK): Put quotes around "$(CC)" for libtool link mode,
4219 so libtool will use "-B" options during GCC bootstrap.
4220 * */Makefile.in: Regenerate.
4222 2000-03-02 Petter Urkedal <petter@matfys.lth.se>
4224 * config/c_io_libio.h: Enclose it all in ::std.
4225 * bits/basic_string.h (basic_string<>): Make types and
4227 * mkc++config: Truncate output file before writing.
4229 2000-03-01 Benjamin Kosnik <bkoz@gnu.org>
4231 * math/cabsf.c (__mycabsf): Rename to cabsf.
4232 * math/cabs.c (__mycabs): Rename to cabs.
4234 2000-02-29 LLeweLLyn Reese <llewelly@198.dsl.xmission.com>
4236 * bits/basic_string.h: Move declarations of __out_of_range(),
4237 __length_error() and accompanying macros ...
4238 * bits/exception_support.h: here. (Newly created file).
4239 * bits/basic_string.h: #include <bits/exception_support.h>
4240 * stl/bits/stl_vector.h: #include <bits/exception_support.h>
4241 * src/Makefile.am (headers): Add.
4242 * src/Makefile.in: Regenerate.
4244 2000-02-29 Benjamin Kosnik <bkoz@cygnus.com>
4246 * bits/cpp_type_traits.h: Rename structs so they don't clash with
4248 * bits/valarray_array.h: Synch. Fix typos.
4250 * libio/Makefile.am: Change to only compile source files that
4251 config/c_io_libio.cc actually needs.
4252 * libio/Makefile.in: Regnerate.
4253 * libio/PlotFile.hes SFile.h builtinbuf.h editbuf.h floatconv.c
4254 floatio.h fstream.h indstream.h iofclose.c iofdopen.c iofeof.c
4255 ioferror.c iofflush.c iofgetpos.c iofgets.c iofopen.c iofprintf.c
4256 iofputs.c iofread.c iofscanf.c iofsetpos.c ioftell.c iofwrite.c
4257 iogetc.c iogetdelim.c iogetline.c iogets.c ioignore.c iomanip.h
4258 iopadn.c ioperror.c iopopen.c ioprims.c ioprintf.c ioputc.c
4259 ioputs.c ioscanf.c ioseekoff.c ioseekpos.c iosetbuffer.c
4260 iosetvbuf.c iosprintf.c iosscanf.c iostream.h iostrerror.c
4261 ioungetc.c iovfprintf.c iovfscanf.c iovsprintf.c iovsscanf.c
4262 istream.h list.out ostream.h outfloat.c parsestream.h peekc.c
4263 pfstream.h procbuf.h stdiostream.h stream.h streambuf.h strfile.h
4264 strops.c strstream.h: Delete.
4266 * bits/basic_file.h: Stub out or delete unused bits in this
4268 (filepos_beg): Remove.
4269 (filepos_cur): Remove.
4270 (filepos_valid): Remove.
4271 * config/c_io_libio.cc: Resynch with the changes to basic_file.
4273 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4275 * bits/cpp_type_traits.h: Correct typo.
4277 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4279 * bits/cpp_type_traits.h: New file.
4281 * bits/valarray_array.h: Tweak. #include <bits/cpp_type_traits.h>
4282 Improve array construction.
4283 (_Array_default_ctor): New dispatcher class.
4284 (__valarray_default_construct): New function.
4285 (_Array_copy_ctor): New dispatcher class.
4286 (__valarray_copy_construct): New function.
4287 (_Array<>::free_data): Remove.
4289 * src/Makefile.am (headers): Add cpp_type_traits.h
4290 * src/Makefile.in: Regenerate.
4292 2000-02-28 Benjamin Kosnik <bkoz@cygnus.com>
4294 Prune libio directory to match files in libio/Makefile.
4295 * libio/PlotFile.cc,indstream.cc, isgetsb.cc, sbform.cc,
4296 stream.cc, SFile.cc, ioassign.cc, isscan.cc, sbgetline.cc,
4297 streambuf.cc, builtinbuf.cc, ioextend.cc, osform.cc, sbscan.cc,
4298 strstream.cc, editbuf.cc, iomanip.cc, parsestream.cc,
4299 stdiostream.cc, filebuf.cc, iostream.cc, pfstream.cc,
4300 stdstrbufs.cc, fstream.cc, isgetline.cc, procbuf.cc,
4301 stdstreams.cc: Remove.
4302 * libio/floatio.h, iolibio.h, iostdio.h, iostreamP.h: Remove.
4303 * libio/iofflush_u.c: Remove.
4305 * libio/dbz: Remove.
4306 * libio/include: Remove.
4307 * libio/stdio: Remove.
4308 * libio/tests: Remove.
4309 * libio/testsuite: Remove.
4311 * config/c_io_libio.cc: Add fcntl.h include for Solaris.
4313 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add bits.
4314 * configure.in: Replace 'grep -e' with 'grep' for Solaris.
4315 * configure: Regenerate.
4317 2000-02-25 Benjamin Kosnik <bkoz@gnu.org>
4319 Abstract out the underlying "C" io bits.
4320 * bits/std_new.h: Remove <stl_config> include, as well as <cstddef>.
4321 * stl/bits/stl_string_fwd.h: Remove <stddef> include.
4322 * bits/std_cwchar.h: Wrap with _GLIBCPP_USE_WCHAR_T guards. Don't
4324 * stl/bits/stl_config.h: Don't include _G_config.h.
4326 * bits/basic_file.h: Allow for non-inheritance based __basic_files.
4327 * config/c_io_libio.h (_GLIBCPP_BASIC_FILE_INHERITANCE): Define.
4328 * config/c_io_libio.cc: Tweak.
4330 * src/Makefile.am (TOPLEVEL_INCLUDES): Add includedir.
4331 * src/Makefile.in: Regenerate.
4332 * Makefile.am (AM_MAKEFLAGS): Define includedir so that
4333 prefix/include files will be picked up.
4334 * Makefile.in: Regenerate.
4335 * math/Makefile.am (TOPLEVEL_INCLUDES): And here.
4336 * libio/Makefile.am (TOPLEVEL_INCLUDES): And here.
4338 * bits/std_ios.h: Include <bits/c++io.h> instead of libio.
4339 * bits/fpos.h: And here.
4340 * bits/basic_file.h (get_fileno): Move definition from ...
4341 * src/basic_file.cc (std): To here.
4342 * bits/fpos.h: Move types for streamoff, streampos to..
4343 * bits/basic_file.h: Move __c_file_type and fpos typedefs to...
4344 * config/c_io_libio.h: ...here.
4345 (_GLIBCPP_[BOOLALPHA, HEX, DEC, FIXED, INTERNAL, LEFT, OCT, RIGHT,
4346 SCIENTIFIC, SHOWBASE, SHOWPOINT, SHOWPOS, SKIPWS, UNITBUF,
4347 UPPERCASE, ADJUSTFIELD, BASEFIELD, FLOATFIELD, BADBIT, EOFBIT,
4348 FAILBIT, GOODBIT, APP, ATE, BINARY, IN, OUT, TRUNC): New macros to
4349 abstract out bits in ios_base.
4350 * bits/ios_base.h: Re-macrofy.
4351 * src/basic_file.cc : Rename, move to
4352 * config/c_io_libio.cc: Here.
4353 * config/c_io_libio.h: New file. Include libio.
4354 * bits/c++config.h: Don't define _GLIBCPP_USE_LIBIO.
4355 * configure.in (blddir): Add enabling bits for GLIBCPP_ENABLE_CSTDIO.
4356 * configure: Regenerate.
4357 * src/Makefile.am (sources): Take out basic_file.cc and add c++io.cc.
4358 (generated_headers): Add c++io.h
4359 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New function to select
4360 underlying "C" io library.
4361 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Roll functionality into
4362 GLIBCPP_ENABLE_CSTDIO.
4364 * configure.in: Add configure bits for cross compiling non-newlib
4366 GLIBCPP_CHECK_COMPILER_VERSION: Take out this test for this
4367 target, as we assume g++ support is not the limiting factor.
4368 GLIBCPP_CHECK_LIBIO: Same, know we don't need libio.
4369 * configure: Regenerate.
4371 2000-02-22 Benjamin Kosnik <bkoz@cygnus.com>
4373 * Makefile.am (INTERFACE): Define.
4374 * Makefile.in: Regenerate.
4375 * libio/ChangeLog: Add entry.
4377 2000-02-21 Benjamin Kosnik <bkoz@cygnus.com>
4379 * docs/install.html: Update install directions.
4381 * docs/status.html: Fix sidebar to be consistent.
4382 * docs/thanks.html: Same.
4383 * docs/links.html: Same.
4384 * docs/mail.html: Same.
4385 * docs/download.html: Same.
4387 * testsuite/27_io/filebuf.cc: Change BUFSIZ to buffer_size, and
4388 kill the macro BUFSIZ. I think the solaris fails lie elsewhere
4389 however, in the ctype_char_members.cc fail (for instance.)
4390 * testsuite/17_intro/headers.cc: Remove extraneous fails for hosts
4391 that do not have wchar_t enabled.
4392 * testsuite/27_io/ostream_inserter_arith.cc (struct _TestCase):
4394 * testsuite/27_io/iostream_objects.cc: And here.
4396 * libio/gen-params (CONFIG_NM): Specifically add in nm as the
4399 2000-02-18 Benjamin Kosnik <bkoz@haight.constant.com>
4400 Tom Tromey <tromey@cygnus.com>
4402 * configure.in: Manually add MULTISUBDIR.
4403 * configure: Regenerate.
4404 * src/Makefile.am (MULTISUBDIR): Add the lesser evil of Tom's two
4405 "Eww" hacks to get multilib installs working correctly.
4406 ($(headers): Test for MULTISUBDIR before installing.
4407 * Makefile.am (AM_MAKEFLAGS): Don't define MULTISUBDIR, instead
4408 have configure hack it in.
4409 * Makefile.in: Regenerate.
4410 * acinclude.m4 (GLIBCPP_CXXFLAGS): Tweak wording.
4411 Add enabling bits for native Cygwin ctypes, and other newlib-based
4414 2000-02-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4416 * mkc++config (OUT_H): Remove EOF in cygwin.
4417 * acinclude.m4 (LIBS): Tweaks to allow cygwin to configure.
4419 Tom Tromey <tromey@cygnus.com>
4420 * src/Makefile.am: Tweaks for installing multilibs.
4422 2000-02-17 Benjamin Kosnik <bkoz@cygnus.com>
4425 (toolexeclib_LTLIBRARIES): Use this instead of lib_LTLIBRARIES.
4426 Add USE_LIBDIR bits here, not...
4427 * src/Makefile.in: Regenerate.
4428 * Makefile.am: ...here.
4429 * Makefile.in: Regenerate.
4431 2000-02-17 Benjamin Kosnik <bkoz@gnu.org>
4433 * acinclude.m4 (LIBS): Fix typos.
4434 * configure.in: _GLIBCPP_BUGGY_FLOAT_COMPLEX,
4435 _GLIBCPP_BUGGY_COMPLEX for crosses.
4436 * src/Makefile.am (std_headers): Add libio.h as install include,
4438 * src/Makefile.in: Regenerate.
4440 * mkcheck.in: Add bits to set CXX to cross compiler.
4442 * src/complex_io.cc: Tweak.
4443 * configure.in: _GLIBCPP_BUGGY_COMPLEX for crosses.
4444 * configure: Regenerate.
4446 * config/newlib/ctype.cc: Tweaks.
4447 * config/newlib/bits/ctype_base.h (ctype_base): Set mask to char,
4449 * src/complex_io.cc (operator>>(istream, complex): Define out if
4452 2000-02-16 Benjamin Kosnik <bkoz@cygnus.com>
4454 * config/newlib/bits/ctype_base.h: Correct _S_table.
4456 Reconfigure ctype support for "C" libraries that don't use arrays.
4457 * testsuite/22_locale/ctype_char_members.cc: New file. Test for
4458 basic ctype<char> functionality.
4459 * src/locale.cc: Move host-specific ctype functions that are not
4460 inlines to config/*/ctype.cc files.
4461 (ctype<char>::do_tolower): For instance.
4462 (ctype<char>::do_toupper): For instance.
4463 (ctype<wchar_t>::do_tolower): For instance.
4464 (ctype<wchar_t>::do_toupper): For instance.
4465 * config/gnu-linux/ctype.cc: Modify.
4466 * config/default/ctype.cc: Modify.
4467 * config/newlib/ctype.cc: Modify.
4468 * config/solaris/solaris2.6/ctype.cc: Modify.
4469 * config/solaris/solaris2.7/ctype.cc: Modify.
4471 * bits/locale_facets.h (ctype<char>::is): Mark inline, move
4473 (ctype<char>::scan_is): Here too.
4474 (ctype<char>::scan_not): Here too.
4475 Move out of line defs to config/*/bits/ctype_specializations.h.
4476 * config/gnu-linux/bits/ctype_specializations.h: ...here. New file.
4477 * config/default/bits/ctype_specializations.h: ...here. New file.
4478 * config/newlib/bits/ctype_specializations.h: ...here. New file.
4479 * config/solaris/solaris2.6/bits/ctype_specializations.h: New file.
4480 * config/solaris/solaris2.7/bits/ctype_specializations.h: New file.
4481 * src/Makefile.am (headers): Add ctype_specializations.h.
4482 * src/Makefile.in: Regenerate.
4484 Aaron Weiss <weiss@clearway.com>
4485 * Makefile.am (AM_MAKEFLAGS): Add NM_FOR_BUILD, NM_FOR_TARGET, and
4486 CONFIG_NM for Solaris builds.
4487 * Makefile.in: Regenerate.
4489 * src/locale.cc: Tweak formatting.
4491 2000-02-15 Benjamin Kosnik <bkoz@cygnus.com>
4493 Jim Parsons <parsons@clearway.com>
4494 * testsuite/27_io/istream_unformatted.cc (test06): Add test.
4495 * bits/istream.tcc (read): Set failbit if !good(). Don't increment
4499 Michel Decima <michel.decima@cnet.francetelecom.fr>
4500 * testsuite/27_io/streambuf.cc: Add test.
4501 * bits/streambuf.tcc (xsgetn): Don't test for valid mode.
4504 * src/Makefile.am (AM_CXXFLAGS): Pass down AC_CXXFLAGS,
4505 OPTIMIZE_CXXFLAGS, etc. So --enable-debug and --enable-namespaces
4506 will work correctly, for instance.
4507 * src/Makefile.in: Regenerate.
4509 * bits/locale_facets.h: Fix merge error.
4510 (num_put::put(unsigned long long): And here.
4511 * mknumeric_limits (trait_name): Same.
4513 2000-02-15 Chip Salzenberg <chip@valinux.com>
4515 Support 'configure --enable-long-long'.
4516 * bits/c++config.h (_GLIBCPP_USE_LONG_LONG): Remove.
4517 * stl/bits/stl_config.h (__STL_LONG_LONG): Remove '#if 0'.
4518 * acconfig.h (_GLIBCPP_USE_LONG_LONG): Add. Default to undef.
4519 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Define flag macro.
4520 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Use it.
4522 * aclocal.m4: Regenerate.
4523 * config.h.in: Regenerate.
4524 * configure: Regenerate.
4526 2000-02-15 Chip Salzenberg <chip@valinux.com>
4528 Improve (complete?) 'long long' support.
4529 * mknumeric_limits: Call $CXX with $CPPFLAGS. Define statics
4530 for {,unsigned} long long if the limits header declares them.
4531 * src/gen-num-limits.cc: Include <bits/c++config.h> early.
4532 (__USE_GNU, _GNU_SOURCE): Define if _GLIBC_USE_LONG_LONG.
4533 (long long, unsigned long long): Gen limits if _GLIBC_USE_LONG_LONG.
4534 * bits/locale_facets.h (num_get<>::get(..., long long &)): Define.
4535 (num_put<>::put(..., long long)): Likewise.
4536 (num_put<>::put(..., unsigned long long)): Likewise.
4537 * bits/locale_facets.tcc (_S_format): Rename from _S_format_long.
4538 Templatize last parameter to support 'long long'.
4539 (num_put<>::put(...)): Call _S_format with new name.
4540 (num_put<>::put(..., long long)): Define.
4541 (num_put<>::put(..., unsigned long long)): Likewise.
4542 * src/locale-inst.cc (_S_format): Instantiate under new name.
4544 2000-02-15 Petter Urkedal <petter@matfys.lth.se>
4546 * src/complex.cc (operator<<, operator>>): Moved from here...
4547 * src/complex_io.cc: ...to new file.
4548 (operator>>): Stub replaced by the real thing.
4549 * src/Makefile.am (sources): Inserted complex_io.cc.
4550 * src/Makefile.in: Regenerate.
4551 * testsuite/26_numerics/complex_inserters_extractors.cc: Check it.
4553 2000-02-14 Benjamin Kosnik <bkoz@gnu.org>
4555 Add in ctype information for newlib "C" libraries.
4556 * config/newlib: New directory
4557 * config/newlib/bits/ctype_base.h: New file.
4558 * config/newlib/ctype.cc: New file.
4560 * ctype/config/linux/*: Rename, move to...
4561 * ctype/config/gnu-linux/*: Here.
4563 Finish off multilib work.
4564 * configure.in: Don't set CXX if not Canadian cross.
4565 * configure: Regenerate.
4566 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Tweak messages.
4567 * aclocal.m4: Regenerate.
4568 * config.h.in: Regenerate.
4570 * install-sh: Remove, as AC_CONFIG_AUX_DIR(..) picks this out of
4571 the top-level gcc directory now.
4572 * mkinstalldirs: Remove.
4575 * ltmain.sh: Remove.
4576 * config.guess: Remove.
4577 * config.sub: Remove.
4579 2000-02-13 Benjamin Kosnik <bkoz@cygnus.com>
4581 * configure.in (glibcpp_basedir): Add glibcpp_basedir.
4582 * Makefile.am: Move mutlilib stuff to src/Makefile.am.
4583 * Makefile.in: Regenerate.
4584 * src/Makefile.am: Add multilib bits.
4585 * src/Makefile.in: Regenerate.
4587 2000-02-12 Benjamin Kosnik <bkoz@cygnus.com>
4589 * configure.in: Clean, add some multilib support.
4590 * configure: Regenerate.
4591 * configure.host: New file.
4593 * acinclude.m4: GLIBCPP_CHECK_LIBIO. Take bits from configure.in and
4594 roll a new function, checks for presence of libio.
4595 GLIBCPP_CHECK_COMPILER_VERSION: Same.
4596 GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT: Same.
4597 GLIBCPP_CHECK_MATH_SUPPORT: Same.
4598 GLIBCPP_CHECK_WCHAR_T_SUPPORT: Same.
4599 GLIBCPP_CHECK_LIBIO: Same.
4600 GLIBCPP_CHECK_CTYPE: Same.
4601 * aclocal.m4: Regenerate.
4602 * config.h.in: Regenerate.
4604 * Makefile.am: Tweaks.
4605 * Makefile.in: Regenerate.
4607 2000-02-11 Benjamin Kosnik <bkoz@cygnus.com>
4609 * configure.in: Make outputing the libio/Makefile
4610 conditional. Haha, yeah right. Anyway, we instead do this thing
4611 where if libio is found, then we build a null library, as there is
4612 no point in duplicating the found libio.
4613 * Makefile.am: Tweak.
4614 * Makefile: Regenerate.
4615 * libio/Makefile.am: Add _G_config.h stuff. Now cross compilers
4616 are happy happy happy.
4617 * libio/Makefile.am: Regenerate.
4618 * libio/gen-params: New file.
4619 * src/Makefile.am: Make libio.la non-conditional, as it is now a
4620 null library if it's not needed. At least we are being consistent,
4621 if not as elegant as we could be.
4622 * src/Makefile: Regenerate.
4624 2000-02-10 Benjamin Kosnik <bkoz@gnu.org>
4626 * Makefile.am (SUBDIRS): Add libio again.
4627 * Makefile.in: Regenerate.
4628 * configure.in (BUILD_LIBIO_INCLUDE): And here.
4629 (AC_OUTPUT): Generate libio/Makefile again.
4630 * configure: Regnerate.
4631 * src/Makefile.am (libstdc___la_LIBADD): Change path so that
4632 libio.la is referring back to the libio subdir again.
4633 (LIBIO_INCLUDES): And here.
4634 * src/Makefile.in: Regenerate.
4636 2000-02-09 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4638 * math/complex-stub.h: Missed one. Change __mycabs* to cabs*.
4640 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4642 * bits/valarray_array.h (<bits/std_new.h>): #include.
4643 (__valarray_get_memory): New function.
4644 (__valarray_release_memory): Likewise.
4645 (__valarray_default_construct): New functions.
4646 (__valarray_fill_construct): New function.
4647 (__valarray_copy_construct): New funstions.
4648 (__valarray_destroy_elements): New function.
4650 * bits/valarray_array.tcc (__valarray_copy_construct): New
4653 * bits/std_valarray.h (valarray<>::valarray): Use
4654 __valarray_get_memory and __valarray_fill_construct,
4655 __valarray_copy_construct, __valarray_default_construct to
4656 properly construct valarrays.
4657 (valarray<>::~valarray): Use __valarray_destroy_elements to
4658 destroy elements and __valarray_release_memory to return memory.
4659 (valarray<>::shift): Tweak.
4660 (valarray<>::cshift): Likewise.
4661 (valarray<>::resize): Robustify.
4663 2000-02-09 Benjamin Kosnik <bkoz@cygnus.com>
4665 * mknumeric_limits (XCOMPILE): Add support for cross compiling.
4666 * bits/limits_generic.h: New file, defaults.
4667 * src/limits_generic.cc: New file, defaults.
4668 * configure.in (LIBS): Run mknumeric_limits at configure time.
4669 * acconfig.h: Remove PACKAGE VERSION HAVE_COMPLEX
4670 HAVE_LC_MESSAGES, tidy, clean, etc.
4671 * src/Makefile.am (geberated_sources): Remove.
4673 * bits/fpos.h: Use _GLIBCPP_USE_LIBIO guards for libio typenames
4674 (_IO_off_t, _IO_ssize_t)
4676 * src/complex.cc: Use glibc's <complex.h> if
4677 possible. . . apparently this was not being done before. Include
4679 (abs): Enable cabs if it's around, instead of mycabs.
4680 * src/complexf.cc (FCT): Add global scope to match complex.cc.
4681 * src/complexl.cc (FCT): Same.
4682 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Change mycabsl to cabsl.
4683 (libmath_la_SOURCES): And here.
4684 * math/(mycabs.c, mycabsf.c, mycabsl.c): Move to. . .
4685 * math/(cabs.c, cabsf.c, cabsl.c): . . . Here.
4686 * math/complex-stub.h: Move c_log declarations into. . .
4687 * math/mathconf.h: Here. This is because glibc's <complex.h>
4688 declares cclog, not c_log. The case of the dueling standards. . .
4689 * math/mathconf.h: Add _GLIBCPP_HAVE_* to macros.
4690 * math/Makefile.am: Change.
4691 * math/nan.c (nan): Change signature.
4692 * math/mathconf.h (NAN): Same.
4693 * math/complex-stub.h (nan): And here.
4695 * Makefile.am (rebuild-stamp): Remove libio and libio
4696 dependancies. Plan to take out libio subdir and just merge with
4697 libio in top level gcc directory. Of course, this assumes there is
4698 a libio in the top level directory (ie ../src_dir). This will
4699 probably change the way this library is configured by default.
4702 2000-02-09 Chip Salzenberg <chip@valinux.com>
4704 * localefwd.h (locale): Make public: facet, id, category.
4706 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4708 * testsuite/26_numerics/buggy_complex.cc: Fix Origin:.
4710 * acinclude.m4: Patch only once!
4712 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4714 * testsuite/26_numerics/buggy_complex.cc: New file.
4716 2000-02-05 Petter Urkedal <petter@matfys.lth.se>
4718 * acinclude.m4: New GLIBCPP_CHECK_COMPLEX_SUPPORT macro. Based
4719 on the 1999-11-21 entries by Mumit Khan.
4720 * configure.in: Use.
4721 * acconfig.h: New _GLIBCPP_BUGGY_COMPLEX macro.
4722 * bits/std_complex.h: Use.
4724 2000-02-04 Philip Martin <pm@corris.dircon.co.uk>
4726 * stl/bits/stl_algobase.h: Add traits based dispatch for
4727 __normal_iterator in the copy_backward()algorithm
4728 * stl/bits/stl_vector.h: Reduce use of __normal_iterator
4731 2000-02-04 Mumit Khan <khan@xraylith.wisc.edu>
4733 * src/gen-num-limits.cc (signal_handler): Work around signal
4734 handling problem on Cygwin.
4735 Thanks to Chris Faylor <cgf@cygnus.com>.
4737 2000-02-03 Benjamin Kosnik <bkoz@cygnus.com>
4739 * configure.in: Add (preliminary) support for cross compiles and
4741 Remove AC_C_BIGENDIAN tests. Why is this necessary? Cross
4742 compilation freaks on this.
4743 * configure: Regenerate.
4744 * src/Makefile.am: Add support for cross compiles.
4745 * src/Makefile: Regenerate.
4746 * Makefile.am: Add support for cross compiles.
4747 * Makefile.in: Regenerate.
4749 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
4751 * configure.in (LIBS): Remove unused subdirs.
4752 * configure: Regenerate.
4753 * Makefile.am (SUBDIRS): And here.
4754 * Makefile.in: Regenerate.
4755 * src/Makefile.am (sources): And here.
4756 * src/Makefile.in: Regenerate.
4759 * generic/*: Remove.
4761 * mkcheck.in (INC_PATH): Include $BUILD_DIR before any source dirs.
4763 * libtool: Update to libtool-1.3.4.
4767 * config.guess: Same.
4769 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
4770 Alexandre Petit-Bianco <apbianco@cygnus.com>
4772 * mkc++config: New file. Put autoconf macros into _GLIBCPP_
4773 namespace instead of polluting global namespace with duplicate
4775 * configure.in (AC_OUTPUT): Don't need to generate bits/config.h
4777 (AC_OUTPUT_COMMANDS): Make it here.
4778 * configure: Regenerate.
4779 * bits/c++config.h.in (_CPP_CPPCONFIG): Change. Tweak. Remove
4780 endif, as now we will add it manually.
4781 Move to this file. . .
4782 * bits/c++config.h: New file. Same as old c++config.h.in except
4783 the ending macro guard is now appended manually.
4785 * bits/locale_facets.tcc: Change HAVE_* macros to _GLIBCPP_HAVE_*.
4786 * bits/std_cmath.h: Same here.
4787 * bits/std_cwchar.h: And here.
4788 * src/locale.cc: And here.
4789 * src/complexl.cc: And here.
4790 * math/mathconf.h: Change to include "config.h" instead of
4793 2000-02-01 Benjamin Kosnik <bkoz@gnu.org>
4795 * configure.in: Add support for threads. Try a model closer to
4796 libjava, as hopefully if the thread bits are added carefully
4797 enough, the source code will not have gross hacks. Besides, the
4798 libstdc++-v2 model could be easily emulated without the necessity
4799 of linking files in (as currently done)--all that needs to be done
4800 is AC_DEFINE(-D_PTHREADS) etc. However, let's try something
4801 new. . . and see if we arrive at a more elegant solution.
4802 * configure: Regenerated.
4803 * config/threads-no.h: New file.
4804 * config/threads-posix.h: New file.
4805 * src/Makefile.am (myinstallheaders): Install c++threads.h.
4806 * src/Makefile.in: Regenerated.
4808 2000-01-31 Benjamin Kosnik <bkoz@gnu.org>
4810 META-QUESTION: Can we just make a "header.html" file and a
4811 "footer.html" and just include them in all the doc sub-pages. The
4812 duplication of the header info is kind of gross, and weak
4813 considering that if you change order or layout then all this stuff
4814 has to be changed in all the sub-files.
4816 * docs/17_intro/contribute.html: Take out duplicate file info.
4817 * README: Should just contain a link to the docs/index.html
4818 page. Duplicate information removed.
4819 * docs/faq/index.html: Remove indexes into HOWTOS.
4820 * docs/17_intro/howto.html: Make intro and docs part more
4821 centralized. Move intro stuff to documentation.html.
4822 * docs/how.html: Tweak. Does this file need to exist? What calls it?
4823 * docs/README.html: Move documentation files to
4824 documentation.html. Should this file be renamed
4825 "config_and_install.html" as that is what is apparently covered
4827 * docs/install.html: Yes. New file, moved and renamed README.html.
4828 * docs/documentation.html: New file. This is the index file for
4830 * docs/index.html: Edit sidebar order. Insert new link to new
4831 documentation spine, documentation.html.
4833 2000-01-31 Scott Snyder <snyder@fnal.gov>
4835 * bits/istream.tcc (operator>>(istream&, string&)): Set failbit if
4836 we don't extract any characters.
4837 * testsuite/21_strings/inserters_extractors.cc (main): New tests.
4839 2000-01-31 Anders Widell <awl@hem.passagen.se>
4841 * stl/bits/std_bitset.h (_M_do_left_shift): Handle case when shift
4842 step is a multiple of the word size.
4843 (_M_do_right_shift): Same.
4844 * testsuite/23_containers/bitset_shift.cc: New file.
4846 2000-01-31 Nathan Myers <ncm@zembu.com>
4848 * README (Documentation): Add path info, fix typos.
4850 2000-01-26 Benjamin Kosnik <bkoz@redhat.com>
4852 * bits/locale_facets.tcc (num_get::_M_extract): Add the freaking
4853 crazy group checking for numpunct, for real this time. At some
4854 point, the local variable __grp should probably get replaced a
4855 char array, or something a bit more lightweight.
4856 (num_get::do_get(bool)): Simplify. Don't set bool reference to
4857 parsed value unless err isn't failbit.
4858 (num_get::do_get(*)): Same, make consistent.
4860 Nathan Myers <ncm@zembu.com>
4861 Jim Parsons <parsons@clearway.com>
4862 * testsuite/27_io/istream_extractor_arith.cc (test08): Add
4863 more grouping tests, tweak, scold, wine.
4865 2000-01-24 Benjamin Kosnik <bkoz@gnu.org>
4867 * testsuite/27_io/istream_extractor_arith.cc (test07): Add
4869 * bits/locale_facets.tcc (num_get::_M_extract): Change to fix
4870 grouping bugs. Only allow thousands_sep if _M_use_groupings is
4873 via <llewelly@198.dsl.xmission.com>
4874 * stl/bits/stl_vector.h (vector::_M_range_check): Throw
4875 out_of_range instead of range_error.
4877 2000-01-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4879 * bits/std_iomanip.h (setw): Fix typo.
4881 2000-01-14 Benjamin Kosnik <bkoz@gnu.org>
4883 * testsuite/27_io/istream_extractor_arith.cc: Fix.
4884 * bits/locale_facets.tcc (do_get(...void)): Change to strtoul.
4885 * testsuite/27_io/istream_unformatted.cc (test04): Tweak.
4887 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
4889 * docs/README.html: Reformat, more installation instructions.
4890 * docs/gccrebuild.html: New file.
4891 * docs/faq/index.html: Update for new testsuite output filenames.
4892 * docs/faq/index.txt: Regenerate.
4894 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
4896 * Makefile.am (rebuild-stamp, all-local): New targets.
4897 * Makefile.in: Regenerated.
4898 * acinclude.m4: New macro, GLIBCPP_ENABLE_RELIBGCC.
4899 * aclocal.m4: Regenerated.
4900 * configure.in: Call new macro. Also do some sanity checks
4901 for combinations of --enable's that may not make sense.
4902 * configure: Regenerated.
4904 2000-01-13 Benjamin Kosnik <bkoz@cygnus.com>
4906 * testsuite/27_io/istream_extractor_arith.cc: Add checks for void*.
4907 * bits/locale_facets.tcc (do_get::(...void)): Set fmtflags
4908 correctly for hex-formatted input.
4910 * testsuite/27_io/istream_manip.cc (test01): Fix, as per setting
4911 eofbit instead of eofbit | failbit.
4912 * testsuite/27_io/istream_unformatted.cc (test04): Fix, as
4913 ifstreams now are opened or'd with ios_base::in (as is correct).
4914 * bits/fstream.tcc (filebuf::seekoff): Simplify.
4915 * testsuite/27_io/ios_base_members_static.cc (test01): Fix thinko.
4917 2000-01-12 Benjamin Kosnik <bkoz@gnu.org>
4919 * bits/std_fstream.h: Add ios_base as a friend to basic_filebuf.
4920 * bits/basic_file.h (basic_file::filepos_cur): Remove incorrect
4922 (__basic_file::filepos_valid): Same.
4923 (__basic_file::filepos_beg): Same.
4924 (__baseic_file::get_fileno): New function.
4925 * bits/ios_base.h (ios_base::sync_with_stdio): Implement, including
4926 feedback from LWG 49.
4927 * src/ios.cc: Move definition here.
4928 * testsuite/27_io/ios_base_members_static.cc (test01): Add tests.
4930 * bits/std_sstream.h (_M_really_sync): Simplify argument list. Set
4931 output part of internal buffer based on string size, so that
4932 _M_out_end is set consistently with filebufs. Correct comments.
4933 * bits/sstream.tcc (stringbuf::overflow): Update here too.
4934 * testsuite/27_io/stringbuf.cc: Changes.
4936 2000-01-11 Benjamin Kosnik <bkoz@gnu.org>
4938 * bits/sstream.tcc (seekoff): Set based on end of written buffer,
4940 * testsuite/27_io/stringbuf.cc: Add tests for seekoff(end).
4942 * bits/std_fstream.h (ifstream::open): Add ios_base::in to openmode.
4943 (ofstream::open): Add ios_base::out to openmode.
4945 * bits/locale_facets.tcc (_M_extract): Have consistency between
4946 istream::sentry and extractors, where failbit | eofbit is
4947 set. Don't change this, but instead change. . (do some formatting
4949 * bits/istream.tcc (istream::sentry): Only set eofbit.
4951 2000-01-10 Benjamin Kosnik <bkoz@gnu.org>
4953 * testsuite/27_io/istringstream_members.cc: New file.
4955 2000-01-09 Benjamin Kosnik <bkoz@gnu.org>
4957 * bits/istream.tcc (istream::sentry): Flush.
4959 * configure.in (AC_OUTPUT_COMMANDS): Simplify.
4960 * configure: Regenerate.
4961 * src/Makefile.am (generated_headers): Remove bits/c++config.h so
4962 that make clean will not delete it.
4963 * src/Makefile: Regenerate.
4965 2000-01-07 Phil Edwards <pme@sourceware.cygnus.com>
4967 * mkcheck.in: Use host-specific invocation of size(1);
4968 GNU binutils isn't necessarily there (more's the pity).
4970 2000-01-06 Benjamin Kosnik <bkoz@cygnus.com>
4972 * configure.in (LIBS): Better tests for solaris2.6.
4973 * configure: Regenerate.
4975 <vakatov@ncbi.nlm.nih.gov>
4976 * bits/std_sstream.h: As per libstdc++20.
4978 2000-01-06 Benjamin Kosnik <bkoz@gnu.org>
4980 Break out configuration on solaris.
4981 * configure.in (ctype_solaris): Add in bits for solaris2.6 and 2.7.
4982 * config/solaris/ctype.cc: Delete and move to proper version.
4983 * config/solaris/bits: Same.
4984 * config/solaris/solaris2.5: Add this directory, with subdir bits
4985 and file ctype.cc. Probably doesn't work.
4986 * config/solaris/solaris2.6: Same.
4987 * config/solaris/solaris2.7: Same, as per specs via Phil Edwards.
4989 * Makefile.am: Change paths to mkcheck.
4990 * Makefile: Regenerate.
4991 * configure.in (AC_OUTPUT_COMMANDS): Build mkcheck here.
4992 * configure: Regenerate.
4993 * src/Makefile.am (generated_headers): Add bits/c++config.h.
4995 * mkcheck: Now autogenerated by configure and renamed. . .
4996 * mkcheck.in (INC_PATH): Add glue for ctype_include_dir.
4997 Have longer-style dates.
4998 Raja R Harinath <harinath@cs.umn.edu>
4999 * mkcheck: Change path to #!/usr/clocal/bin/bash.
5001 * docs/README.html: Correct links, maybe. FAQ, install notes, and
5002 general documentation need to be organized around each other, not
5003 fight against each other. . .
5005 2000-01-04 Phil Edwards <pme@sourceware.cygnus.com>
5006 Nicolai Josuttis <nicolai.josuttis@braunschweig.netsurf.de>
5008 * README: Add a note referring to README.html.
5009 * docs/README.html: New file from Nicolai.
5010 * docs/faq/index.html: Move "how to get a copy" to here.
5011 * docs/gentop/footchunk.html: Update.
5012 * docs/gentop/headchunk.html: New links according to
5013 bkoz's idea for "How to..." stuff.
5014 * docs/gentop/thanks: Actually put people here.
5015 * docs/download.html: Regenerated.
5016 * docs/index.html, docs/links.html, docs/mail.html,
5017 docs/status.html, docs/thanks.html, docs/faq/index.txt: Ditto.
5018 * docs/how.html: Ditto. (This file should go away soon.)
5020 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
5022 * docs/gentop/status: Add snapshot version column, update
5024 * docs/status.html: Regenerated.
5026 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
5028 * docs/faq/index.html: Turn README and RELEASE-NOTES into links
5029 from installation FAQ, and specify location of text files.
5030 * docs/faq/index.txt: Regenerated.
5032 1999-12-23 Phil Edwards <pme@sourceware.cygnus.com>
5034 * docs/gentop/download: Add links to prebuilds for Cygwin/Mingw32.
5035 * docs/download.html: Regenerated.
5037 1999-12-22 Phil Edwards <pme@sourceware.cygnus.com>
5039 * docs/faq/index.html: Update 'what works' for .7 snapshot,
5040 clean up various links.
5041 * docs/faq/index.txt: Regenerated.
5042 * docs/gentop/gentop: Smarter regeneration script.
5043 * docs/gentop/{head,foot}chunk.html: Updated with new
5044 contributors link and mod date.
5045 * docs/gentop/index: Snapshot relase date.
5046 * docs/gentop/thanks: New contributors page added.
5047 * docs/{download,how,index,links,mail,status,thanks}.html:
5048 Regenerated from gentop; thanks.html created.
5050 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5052 * bits/c++config.h.in (__GLIBCPP__): 19991221.
5053 * docs/index.html: Add correct information.
5055 * config/irix: New directory.
5056 * config/irix/ctype.cc: Add irix-6.5 info. Not tested.
5057 * config/irix/bits/ctype_base.h: And here.
5059 * config/aix: New directory.
5060 * config/aix/ctype.cc: Add aix-4.2 info. Not tested.
5061 * config/aix/bits/ctype_base.h: And here.
5063 1999-12-21 Philip Martin <pm@corris.dircon.co.uk>
5065 * bits/basic_string.h: Add special case handling for integral
5067 * bits/std_string.h: include type_traits.h
5068 * testsuite/21_strings/ctor_copy_dtor.cc: Tweak.
5070 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5072 * bits/fstream.tcc (seekoff): Output buffer based on _M_*_in and
5074 * bits/std_fstream.h (sync): And here.
5075 * testsuite/27_io/filebuf.cc: Revisions.
5076 * testsuite/27_io/filebuf-2.tst: Correct, remove weird character
5077 at the end of the file.
5078 * testsuite/27_io/filebuf-3.tst: Correct.
5080 1999-12-21 Phil Edwards <pedwards@jaj.com>
5082 * docs/gentop/index: Hold off on .7 announcement date.
5083 * docs/index.html: Regenerate.
5085 1999-12-21 Benjamin Kosnik <bkoz@kcygnus.com>
5087 * bits/std_fstream.h (sync): Move _M_file->sync() to
5088 _M_really_overflow().
5089 * bits/fstream.tcc (seekoff): Call sync, not _M_really_overflow so
5090 as to get the _M_file->sync action, which forces the external
5091 buffer to update itself.
5092 (underflow): Same here.
5094 1999-12-21 Phil Edwards <pedwards@jaj.com>
5096 * bits/c++config.h.in: Uncomment _GLIBCPP_USE_NAMESPACES and move...
5097 * acconfig.h: ...to here.
5098 * config.h.in: Regenerate from aclocal.
5099 * acinclude.m4: Add GLIBCPP_ENABLE_DEBUG, GLIBCPP_ENABLE_NAMESPACES.
5100 * aclocal.m4: Regenerate from acinclude.
5101 * configure.in: Use ENABLE macros here.
5102 * configure: Regenerate.
5103 * src/Makefile.am: Use results from ENABLE macros.
5104 * src/Makefile.in: Regenerate.
5106 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
5108 * mkcheck (SRC_DIR): Now have to include config/* dir if "make
5109 check" and not "make check-install." Temporarily hack in linux
5112 * bits/std_streambuf.h: Tweaks.
5113 * bits/streambuf.tcc (xsgetn): Tweaks.
5114 * bits/std_fstream.h (sync): Make _M_really_overflow consistent.
5115 * bits/fstream.tcc (filebuf::underflow): Simplify.
5116 * bits/std_sstream.h (streambuf::underflow): Minor change to make
5117 checks for read position precisely implement the standard.
5118 * bits/basic_file.h (filepos_cur): Base this on _offset.
5119 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
5120 * testsuite/27_io/filebuf.cc: Tweak.
5122 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
5124 * docs/17_intro/RELEASE-NOTES: Fix typos.
5126 * bits/locale_facets.h (ctype): Modify, use __to_type to abstract
5127 out platform-specific bits.
5128 * config/default/ctype.cc: And here.
5129 * config/defaults/bits/ctype_base.h: And here.
5130 * config/linux/ctype.cc: And here.
5131 * config/linux/bits/ctype_base.h (ctype_base): And here.
5132 * config/solaris/bits/ctype_base.h (ctype_base): Add
5133 __to_type. Comment, as it looks like this is for solaris2.6 and
5134 above: solaris2.5.1 doesn't seem to have the same definitions.
5135 * config/solaris/ctype.cc: And here.
5137 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
5138 Ulrich Drepper <drepper@cygnus.com>
5140 * acconfig.h: Remove _GLIBCPP_USE_CTYPE_ISBIT.
5142 * src/locale.cc: Take out platform-specific hacks.
5143 * config/linux/ctype.cc: Put here.
5144 * config/solaris/ctype.cc: Put here.
5145 * config/default/ctype.cc: Put here.
5147 * bits/locale_facets.h: Take out platform-specific hacks.
5148 * config/linux/bits/ctype_base.h: Put here.
5149 * config/solaris/bits/ctype_base.h: Put here.
5150 * config/default/bits/ctype_base.h: Put here.
5152 * configure.in: Bump version.
5153 Add tests for top-level config directory.
5154 * configure: Regenerated.
5155 * src/Makefile.am (INCLUDES): Add platform-specific dir.
5156 * src/Makefile: Regenerate.
5158 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
5159 Ulrich Drepper <drepper@cygnus.com>
5161 * bits/locale_facets.h: Hack in solaris support.
5162 * src/locale.cc: Here too.
5164 1999-12-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5166 * docs/17_intro/TODO: Update
5167 * docs/17_intro/RELEASE-NOTES (New): Update.
5169 1999-12-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
5171 * bits/c++config.h.in (__GLIBCPP__): Bump.
5172 * docs/17_intro/RELEASE-NOTES: Update, Gaby please add your stuff.
5173 * docs/17_intro/TODO: Update.
5175 * bits/locale_facets.h: Touch this too.
5176 * bits/localefwd.h: Add typedefs for loooooong vector names.
5177 * bits/locale_facets.tcc (locale::operator()): Need parens.
5178 (has_facet): Simplify.
5179 * src/locale-inst.cc: Add instantiations.
5180 * src/locale.cc: Tweaks.
5182 * bits/std_streambuf.h: Move indeterminates into. .
5183 * bits/std_fstream.h: Here.
5184 * bits/fstream.tcc (underflow): Rewind just for ios_base::out
5186 * bits/sstream.tcc: Very minor formatting tweaks.
5187 * bits/std_streambuf.h (_M_set_determinate): If exclusively an
5188 input buffer, set _M_buf to offset.
5189 * bits/istream.tcc (std): Tweaks.
5190 * testsuite/27_io/istream_unformatted.cc (test05): More tweaks,
5192 * testsuite/27_io/filebuf.cc: Tweaks.
5194 1999-12-17 Phil Edwards <pedwards@jaj.com>
5196 * configure.in: Add OPTLEVEL, -O2 for gcc 2.96+, nothing otherwise.
5197 * configure: Regenerate.
5198 * src/Makefile.am: Use OPTLEVEL in CXXFLAGS.
5199 * src/Makefile.in: Regenerate. Also picks up OTHER_CXXFLAGS rename
5200 to OPTIMIZE_CXXFLAGS from a previous revision (1.96) to Makefile.am.
5202 1999-12-17 Phil Edwards <pedwards@jaj.com>
5204 * docs/21_strings/stringtok_std_h.txt: New algorithm
5205 suggested by Chris King.
5206 * docs/21_strings/howto.html: Link to new version.
5208 1999-12-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5210 * bits/valarray_array.h (__valarray_sum): Use operator+=, not
5212 * docs/17_intro/TODO: Update.
5214 1999-12-15 Phil Edwards <pme@sourceware.cygnus.com>
5216 * docs/gentop/footchunk.html: Updated, fixed CRLFs.
5217 * docs/gentop/gentop: Ditto.
5218 * docs/gentop/headchunk.html: Ditto.
5219 * docs/*.html: Regenerated from gentop.
5220 * docs/*/howto.html: Updated as test.
5221 * docs/faq/index.html: Updated, fixed CRLFs.
5222 * docs/faq/index.txt: Regenerated.
5224 1999-12-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5226 * mknumeric_limits (OUT_C): restart only if $OUT_C is present.
5228 * bits/std_complex.h
5229 (complex<float>::complex(const complex<double>&),
5230 complex<float>::complex(const complex<long double>&)): Define.
5232 * docs/17_intro/TODO: Update.
5234 1999-12-13 Benjamin Kosnik <bkoz@cygnus.com>
5236 * bits/istream.tcc (seekg): Don't set _M_gcount.
5238 * bits/fstream.tcc (filebuf::underflow): Re-sync
5239 external byte sequence's input buffer only. . .
5240 * testsuite/27_io/istream_unformatted.cc (test04): New tests for
5241 tellg, seekg and filebufs.
5242 (test05): Same for stringbufs.
5243 * testsuite/27_io/istream_unformatted-2.tst: New file.
5244 * testsuite/27_io/istream_unformatted-1.tst: New file.
5245 * testsuite/27_io/istream_unformatted-1.txt: New file.
5246 * testsuite/21_strings/inserters_extractors.cc (test05): Change
5249 1999-12-13 Phil Edwards <pedwards@jaj.com>
5251 * docs/gentop/*: New directory, containing bits for the homepages.
5252 * docs/*.html: Regenerated from gentop.
5253 * docs/*/*.html: Entries added and regenerated.
5255 1999-12-13 Benjamin Kosnik <bkoz@gnu.org>
5257 Efforts to get -O2 to work with -Winline -Werrors.
5258 * bits/valarray_array.h (__valarray_fill(_Tp*, size_t, const
5259 _Tp&): Remove inline declaration, as cannot be inlined and
5260 -Winline -Werror complains. An interesting question is why this
5261 cannot be inlined, as I can see no real reason to disqualify it.
5262 (__valarray_product(const _Tp*, const _Tp*)): Same here.
5263 * bits/std_valarray.h (valarray::operator[](size_t)): Same here.
5265 * docs/17_intro/TODO: Update.
5267 1999-12-12 Benjamin Kosnik <bkoz@gnu.org>
5269 * bits/std_fstream.h (seekpos): Tweaks, fixes. Move definition to
5271 * bits/basic_file.h (filepos_cur()): Make pointers themselves be
5272 the resultant position.
5273 * bits/fstream.tcc (seekoff): Explicitly set return value to
5274 resultant external byte sequence position, not value returned from
5275 _M_file->seekoff. Need to make
5276 (seekpos): New definition.
5278 * bits/istream.tcc (seekg): As per Library Issues List 136, set to
5279 just istream. Necessary, or else tellg will give an invalid stream
5280 position, but seekg will return a valid stream position, which is
5281 not groovy: see testcase addition.
5282 * bits/ostream.tcc (seekp): Same.
5284 * bits/streambuf.tcc (_S_copy_streambufs): Simplify.
5285 * bits/sstream.tcc: Tweaks.
5286 * bits/locale_facets.tcc: Tweaks.
5287 (num_put::do_put(iter_type, ios_base, char_type, const void*)):
5288 Re-write in a way that is easier for the inliner to work with.
5289 * bits/ios_base.h: Use explicit static_cast<int>(...) notation.
5291 1999-12-10 Benjamin Kosnik <bkoz@cygnus.com>
5293 * bits/locale_facets.tcc: Tweaks.
5294 * bits/locale_facets.h (use_facet): Can't inline, remove inline
5296 * bits/localefwd.h: And here.
5297 * bits/std_ostream.h: Tweaks, sentry ctor can't be inlined.
5298 * bits/ostream.tcc: Put here.
5300 Frank Ch. Eigler <fche@cygnus.com>
5301 * src/Makefile.am: Adjust CXXFLAGS, add AM_CXXFLAGS.
5303 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
5305 * bits/sstream.tcc (stringbuf::seekoff): Long overdue revamp. Make
5306 in and out buffers update independantly.
5308 * bits/basic_ios.h: Minor formatting.
5309 * bits/fstream.tcc (std): Fix indentation.
5311 1999-12-08 Chip Salzenberg <chip@valinux.com>
5313 * bits/char_traits.h (char_traits<>): Move not_eof() functions
5314 after corresponding eof() functions, so they're easier for the
5316 * bits/locale_facets.h (money_base::__default_pattern): Move
5317 static variable out of inline functions.
5318 (_Moneypunct<>::do_{pos,neg}_format): Use it.
5319 * src/locale-inst.cc (money_base::__default_pattern): Define it.
5321 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
5323 * bits/std_fstream.h (filebuf::open): Tweak.
5324 * bits/fstream.tcc (filebuf::seekoff): Simplify, fix.
5325 * bits/std_ios.h: Minor tweaks for headers.
5327 1999-12-06 Benjamin Kosnik <bkoz@gnu.org>
5329 * bits/c++config.h.in (_GLIBCPP_FULLY_COMPLIANT_HEADERS): New macro.
5330 * src/string-inst.cc: Add guards . . .
5331 * src/misc-inst.cc: And here.
5332 * bits/std_sstream.h: And here.
5333 * bits/std_fstream.h: And here.
5334 * bits/std_streambuf.h: And here.
5335 * bits/std_istream.h: And here.
5336 * bits/std_ostream.h: And here.
5338 1999-12-06 Scott Snyder <snyder@fnal.gov>
5340 * bits/istream.tcc (basic_istream::read): Try to handle __n == 0
5342 (basic_istream::readsome): And here as well.
5343 * testsuite/27_io/istream_unformatted.cc: Test a zero-length
5346 1999-12-06 Mumit Khan <khan@xraylith.wisc.edu>
5348 * bits/istream.tcc (basic_istream::ignore): streamsize is not
5349 necessarily an `int'.
5351 1999-12-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5353 * mknumeric_limits: Don't use $CXXFLAGS when building
5354 gen-num-limits. It's definitely wrong to use it since $CXXFLAGS
5355 generally instructs the compiler not to emit template
5356 instantiations and we end up with undefined symbols. Sigh.
5358 1999-12-05 Benjamin Kosnik <bkoz@gnu.org>
5360 * bits/locale_facets.tcc: Tweak.
5361 (_S_format_long): Adjust showpos formatting for hex and oct.
5362 * bits/std_ostream.h (operator<<(short)): Correctly deal with hex
5363 and oct by formatting as unsigned.
5364 (operator<<(int)): Same here.
5365 * bits/ostream.tcc (operator<<(long)): Same.
5366 (operator<<(long long)): Same.
5367 (_S_pad_char): Actually treat ios_base::internal as something
5368 worth doing correctly. Remove const designation on ios argument.
5369 * testsuite/27_io/ios_manip_basefield.cc (test02): Add tests.
5370 * testsuite/27_io/ostream_inserter_arith.cc (test03): Add tests.
5372 1999-12-04 Benjamin Kosnik <bkoz@gnu.org>
5374 * bits/std_sstream.h (streambuf::underflow): Check for mode == in.
5376 1999-12-03 Benjamin Kosnik <bkoz@gnu.org>
5378 * bits/locale_facets.tcc (num_put::do_put(bool): Fix.
5380 * bits/sstream.tcc (streambuf::seekoff): Add parens.
5381 * bits/istream.tcc (istream::get(sb)): Handle exceptional events.
5382 (operator>>(istream, _CharT*)): Change streamsize to int_type.
5383 (operator>>(istream, _CharT&)): Fix typedef'd type to be _CharT.
5384 * bits/ostream.tcc (ostream::operator<<(const char*)): Stub out
5386 (ostream::operator<<(_CharT)): Fix.
5388 * bits/std_sstream.h: Temporarily disable including sstream.tcc to
5389 see if this will increase compile speed.
5390 * bits/std_ostream.h: Likewise. . .
5391 * bits/std_istream.h: And here.
5392 * bits/std_fstream.h: And here.
5393 * src/misc-inst.cc: Add relevant header file includes for
5394 instantiation purposes.
5395 * src/string-inst.cc: And here.
5396 * testsuite/27_io/ostream_inserter_arith.cc: Add test case.
5398 1999-12-02 Benjamin Kosnik <bkoz@gnu.org>
5400 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5401 * bits/istream.tcc (get(streambuf)): More fixes.
5402 (istream::ignore): Get specific about numeric_limits<int>::max()
5405 * bits/fstream.tcc (filebuf::open): Tweaks for _M_last_overflowed.
5406 (filebuf::close): Same.
5407 * testsuite/27_io/filebuf.cc: Add tests for ios_base::ate.
5409 1999-12-01 Phil Edwards <pedwards@jaj.com>
5411 * mkcheck: Support for compilation/execution timing.
5412 * testsuite/printnow.c: New file.
5414 1999-12-01 Phil Edwards <pedwards@jaj.com>
5416 * bits/std_cwchar.h: Test for _GLIBCPP_USE_WCHAR_T.
5417 * configure.in: Test for presence of wchar.h before testing
5418 for any of its features.
5419 * configure: Regenerate.
5421 1999-11-30 Benjamin Kosnik <bkoz@gnu.org>
5423 Preliminary istream validations complete.
5424 * bits/istream.tcc (istream::getline): Fixes. Tweaks to make
5425 formatting more consistent. Removal of if-statements inside of for
5430 * bits/std_istream.h: Same.
5431 * bits/sstream.tcc (stringbuf::pbackfail): Fix.
5432 * testsuite/27_io/stringbuf.cc: Tweak.
5433 * testsuite/27_io/istream_unformatted.cc (test02): Mo' tests.
5435 * bits/ostream.tcc (ostream::operator<<(arith)): Set badbit, not
5436 failbit on failure, as per 27.6.2.5.2.
5438 * stl/bits/std_vector.h: Allow bool specializations. Should move
5439 ext/std_bvector to bits, not ext, maybe.
5441 1999-11-30 Mumit Khan <khan@xraylith.wisc.edu>
5443 * configure.in: Fix checks for mbstate_t and WCHAR_MIN/MAX.
5444 * configure: Regenerate.
5446 999-11-29 Benjamin Kosnik <bkoz@gnu.org>
5448 * bits/istream.tcc (get(streambuf, char)): Fix.
5449 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5451 1999-11-29 Scott Snyder <snyder@fnal.gov>
5453 * bits/basic_string.h (append(const _Char*, size_type)): The
5454 length of the appended string is given exactly by the second arg,
5455 regardless of the data in the character array.
5456 * bits/string.tcc (basic_string(const _CharT*, size_type, const
5457 _Alloc&)): Likewise.
5458 * testsuite/21_strings/append.cc (test01): Remove erroneous test
5459 of basic_string::append.
5461 1999-11-29 Chip Salzenberg <chip@valinux.com>
5463 * Makefile.in: Tweaks for CXXFLAGS.
5464 * */Makefile.in: Same.
5466 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
5468 * conficd bgure.in: Check for wide character support.
5469 * bits/c++config.h.in (_GLIBC_USE_WCHAR_T): Move from here ...
5470 * acconfig.h (_GLIBC_USE_WCHAR_T): to here.
5471 * bits/string.tcc (wstring::_S_find): Guard wchar_t specialization.
5473 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
5475 * acinclude.m4: Fix typo.
5476 * src/complex.cc: Fix macro line continuation.
5478 1999-11-29 Petter Urkedal <petter@matfys.lth.se>
5480 * src/Makefile.am (CXXFLAGS): Add -Wno-format to allow non-
5481 string literals in format, as used in locale-facets.tcc.
5483 1999-11-28 Benjamin Kosnik <bkoz@gnu.org>
5485 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5486 * bits/istream.tcc (istream::get): Extract to argument minus one.
5487 Various tweaks and fixes.
5489 1999-11-22 Mumit Khan <khan@xraylith.wisc.edu>
5491 * bits/locale_facets.tcc: Workaround for compiler crash on
5494 1999-11-21 Mumit Khan <khan@xraylith.wisc.edu>
5496 * acinclude.m4: New file. New _GLIBCPP_CHECK_FLOAT_SUPPORT macro.
5497 * configure.in: Use.
5498 * acconfig.h: New _GLIBCPP_BUGGY_FLOAT_COMPLEX macro.
5499 * src/complexf.cc: New _GLIBCPP_FLOAT_SPECIALIZATION macro.
5500 * bits/std_complex.h: Use.
5501 * src/complex.cc: Use.
5503 1999-11-19 Mumit Khan <khan@xraylith.wisc.edu>
5505 * testsuite/18_support/numeric_limits.cc: Add missing std:: prefix.
5506 * testsuite/21_strings/inserters_extractors.cc: Likewise.
5507 * testsuite/22_locale/ctype.cc: Likewise.
5508 * testsuite/23_containers/multiset.cc: Likewise.
5509 * testsuite/23_containers/vector_ctor.cc: Likewise.
5510 * testsuite/26_numerics/binary_closure.cc: Likewise.
5511 * testsuite/27_io/fpos.cc: Likewise.
5512 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
5513 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
5514 * testsuite/27_io/istream_extractor_char.cc: Likewise.
5515 * testsuite/27_io/istream_extractor_other.cc: Likewise.
5516 * testsuite/27_io/istream_sentry.cc: Likewise.
5517 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
5518 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
5519 * testsuite/27_io/streambuf.cc: Likewise.
5520 * testsuite/27_io/stringstream.cc: Likewise.
5522 1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5524 * bits/valarray_meta.h: Don't forget to define tanh
5526 1999-11-18 Philip Martin <pm@corris.dircon.co.uk>
5528 * src/stl-inst.cc: Use typedef to refer to iterator
5529 * stl/bits/stl_algobase.h: Add traits based dispatch for
5530 __normal_iterator in the copy()algorithm
5531 * stl/bits/type_traits.h: Add _Is_normal_iterator trait support
5533 1999-11-18 Kevin Ediger <kediger@licor.com>
5535 * src/locale.cc (locale::_Imp::_Imp): Use auto_ptr to make
5536 constructors for locale::_Impl exception safe.
5538 1999-11-18 Scott Snyder <snyder@fnal.gov>
5540 * stl/bits/stl_queue.h: The C++ standard gives the default for the
5541 _Sequence template argument of priority_queue<> as vector<>, not
5544 1999-11-18 Benjamin Kosnik <bkoz@gnu.org>
5546 * bits/std_sstream.h (stringbuf::_M_really_sync): Add __iend as a
5548 * bits/sstream.tcc: Adjust here too.
5550 1999-11-17 Benjamin Kosnik <bkoz@gnu.org>
5552 * bits/sbuf_iter.h (istreambuf_iter::equal): Tweak.
5553 * bits/istream.tcc (operator>>): Replace iostate(0) with
5554 iostate(ios_base::goodbit), which is the same thing, but hopefully
5556 * bits/locale_facets.tcc (do_get(bool)): Streamline, deal with
5557 libraries issue list 17.
5558 (do_gets): Don't set goodbit explicitly, instead only set on
5559 failures as good bit is the default setting.
5560 * bits/ios_base.h (setf): Set correctly.
5561 * bits/fstream.tcc: Tweak.
5562 * bits/std_sstream.h (_M_really_sync): Fix ibuffer positioning for
5563 in|out bufs that are empty. . .
5564 * testsuite/27_io/istream_extractor_arith.cc (test03): Add.
5566 1999-11-16 Benjamin Kosnik <bkoz@gnu.org>
5568 * testsuite/27_io/streambuf.cc (class testbuf): Don't set _M_buf_size.
5569 * bits/std_streambuf.h (setp): Set _M_buf_size, _M_mode.
5570 Add comments "all about _M_buf."
5571 (setg): Set _M_mode.
5573 1999-11-16 Kevin Ediger <kediger@licor.com>
5575 * bits/locale_facets.tcc (_S_build_float_format): New function.
5576 (_S_output_float): New function.
5577 (num_put::do_put(double)): Use 'em.
5578 (num_put::do_put(long double)): Use 'em.
5579 * testsuite/27_io/ostream_inserter_arith.cc: New file.
5581 1999-11-15 Scott Snyder <snyder@fnal.gov>
5583 * bits/basic_file.h: Type of __off parm should be __c_streampos, to
5584 match how libio is calling us.
5585 * src/basic_file.cc (sys_seek): Likewise.
5586 * bits/std_fstream.h (basic_filebuf::sync): Restore sync call.
5588 1999-11-15 Benjamin Kosnik <bkoz@gnu.org>
5590 * docs/17_intro/contribute.html: Add link to assignment form.
5591 * docs/17_intro/libstdc++-assign.txt: New file.
5593 * mkcheck (TESTS_FILE): Move a copy of test files as well as
5596 * bits/std_streambuf.h (_M_buf_bump): New function.
5597 * bits/streambuf.tcc: Mods to support _M_buf_bump.
5598 (xsputn): Here. Also add checks for output valid.
5599 (xsgetn): Add checks for input valid.
5601 (sgetc): Set _M_in_end to _M_buf + _M_buf_end.
5602 * bits/std_sstream.h (_M_really_sync): Set _M_buf.
5603 Set _M_out_end to variable-length-end.
5604 * bits/sstream.tcc (overflow): Use _M_buf_bump.
5607 * bits/fstream.tcc (std): Tweak formatting.
5608 (filebuf::overflow): Simplify.
5609 (filebuf::showmanyc): Same.
5610 (filebuf::underflow): Same.
5611 * testsuite/27_io/filebuf.cc: Fix.
5612 * testsuite/27_io/ostream_inserter_other.cc: Fix.
5613 * testsuite/27_io/ostream_inserter_other-2.tst: New file.
5614 * testsuite/27_io/stringbuf.cc: Tweak.
5615 * testsuite/27_io/streambuf.cc: Tweak.
5616 * testsuite/27_io/istream_extractor_other.cc: Fix.
5618 1999-11-11 Matthias Klose <doko@cs.tu-berlin.de>
5620 * stl_deque.h: Use static_casts<size_type>(signed_type).
5622 1999-11-11 Benjamin Kosnik <bkoz@gnu.org>
5624 Cleanups for callbacks, more regression hunting. Remaining
5625 failures (1) due to last unresolved stringstream issues, not
5627 * bits/std_fstream.h: Revert. Disable call to _M_file->sync as
5628 killing 27_io/filebuf.cc tests. . . need another solution.
5630 * bits/streambuf.tcc (_S_copy_streambufs): Fix.
5631 * testsuite/27_io/istream_extractor_other.cc: Tweak comments.
5633 * bits/basic_ios.h: Add cached facets here. UGH. The standard
5634 foils all attempts at a graceful, minimal implementation.
5635 * bits/basic_ios.tcc: Tweaks.
5636 * bits/istream.tcc: Fix.
5637 * bits/ostream.tcc: Fix.
5638 * bits/std_istream.h: Fix.
5639 * bits/std_ostream.h: Fix.
5640 * src/ios.cc (ios_base::imbue): Set _M_locale_ios before calling
5642 * bits/locale_facets.tcc (std): Minor, minor formatting tweak.
5643 (_S_pad_numeric): Make comprehensible.
5645 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
5647 * bits/std_ostream.h: Add callbacks for _M_fnumput.
5648 (_S_ostream_fcache): New function.
5649 Move functions out-of-line.
5650 * bits/ostream.tcc: Put here.
5652 * bits/std_istream.h: Add callbacks for _M_fnumget.
5653 (_S_istream_fcache): New function.
5654 Move functions out-of-line.
5655 * bits/istream.tcc: Put here.
5657 * bits/basic_ios.tcc (basic_ios::imbue): Tweaks, remove call to
5658 _M_call_callbacks(), as ios_base::imbue does this already.
5659 * src/ios.cc (register_callback): Clean.
5660 (_M_call_callbacks): Same.
5661 * bits/ios_base.h: Callback work.
5662 * testsuite/27_io/ios_base_callbacks.cc (test01): New file.
5664 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
5665 Matthias Klose <doko@cs.tu-berlin.de>
5667 * stl/ext/stl_rope.h: Fix initialization order.
5669 1999-11-09 Scott Snyder <snyder@fnal.gov>
5671 * bits/std_fstream.h (basic_filebuf::sync): Unconditionally call
5672 _M_file->sync() so that redirection works correctly.
5674 1999-11-09 Benjamin Kosnik <bkoz@gnu.org>
5676 * bits/istream.tcc: Re-order.
5677 * bits/std_istream.h: Fix getline problems.
5678 * testsuite/27_io/istream_unformatted.cc: New tests.
5680 Clean up regressions.
5681 * bits/std_sstream.h: Set initial stringbufs correctly.
5683 1999-11-09 Scott Snyder <snyder@fnal.gov>
5685 * stl_vector.h (_M_range_insert): Fix mixing pointers and
5687 * testsuite/23_containers/vector_modifiers.cc (test01): New file,
5690 1999-11-09 Benjamin Kosnik <bkoz@cygnus.com>
5692 * src/Makefile.am (CXXFLAGS): Add -Winline.
5693 * src/Makefile.in: Regenerate.
5695 1999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5697 * bits/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When
5698 building meta-expressions don't forget to take the contained
5701 1999-11-02 Benjamin Kosnik <benjamin@cygnus.com>
5703 * configure: Regenerate.
5705 1999-11-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5707 * bits/valarray_meta.h (_Expr<>::sum): Tweak. Use copy-initialization
5709 * bits/valarray_meta.h (min): Likewise.
5710 * bits/valarray_meta.h (max): Likewise.
5712 1999-11-01 Benjamin Kosnik <bkoz@cygnus.com>
5714 * bits/std_sstream.h (_M_really_sync): Take into account in | out bufs.
5715 * bits/std_streambuf.h (_S_copy_streambufs): New function.
5716 * bits/streambuf.tcc: Define.
5717 * bits/istream.tcc (istream::operator>>(streambuf)): Rewrite.
5718 * bits/ostream.tcc (ostream::operator<<(streambuf)): Rewrite.
5719 * testsuite/27_io/ostream_inserter_other.cc: Add tests.
5720 * testsuite/27_io/ostream_inserter_other-1.tst: New file.
5722 * bits/basic_string.h: Explicitly cast npos to unsigned type,
5723 reported by Richard Atterer.
5724 * bits/char_traits.h: For consistency's sake, here too.
5726 * configure.in: Bump version to 2.90.7.
5728 1999-10-31 Benjamin Kosnik <bkoz@cygnus.com>
5730 * testsuite/27_io/ostream_inserter_char-1.tst: Check file output.
5731 * testsuite/27_io/ostream_inserter_char.cc (test05, test01): Add tests.
5732 * bits/streambuf.tcc (xsputn): Treat--size const char for long loops.
5734 * bits/sstream.tcc (seekpos): Tricks, mostly: check _M_mode before
5735 writing into buffer.
5738 1999-10-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5740 * bits/valarray_array.h (__valarray_sum): New function.
5741 * bits/valarray_array.h (__valarray_product): Same.
5743 * bits/std_valarray.h (valarray<T>::product): Comment out.
5744 * bits/std_valarray.h (valarray<T>::sum): Use __valarray_sum
5745 instead of accumulate.
5747 * src/valarray-inst.cc: Remove explicit intantiation of
5748 class multiplies<size_t>, accumulate, valarray<size_t>::product.
5749 * src/valarray-inst.cc (__valarray_product): Instantiate
5751 * src/valarray-inst.cc (__valarray_product(const
5752 valarray<size_t>&)): New function.
5753 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't use
5754 valarray<size_t>::product. Use __valarray_product instead.
5757 1999-10-25 Benjamin Kosnik <bkoz@cygnus.com>
5759 * bits/std_ostream.h (ostream.inserters.char): Correctly pad output.
5760 (_S_pad_char): New function. Not done: ios_base::internal.
5761 * bits/ostream.tcc: Clean for above.
5762 * bits/locale_facets.tcc (_S_fill): Remove ostreambufiterator
5763 specialization that was commented out, as ostreams now have to
5764 correctly deal with padding.
5765 * testsuite/27_io/ostream_inserter_char.cc (main): Add tests.
5767 * testsuite/21_strings/ctor_copy_dtor.cc(test02): Add test case
5768 from mailing list. This is a bug, and should be fixed.
5769 * testsuite/21_strings/inserters_extractors.cc (main): Tweak, fix typo.
5771 1999-10-22 Petter Urkedal <petter@matfys.lth.se>
5773 * stl/bits/stl_numeric.h (__power): Replaced argument name `__opr'
5774 to avoid conflict with gcc name mangling.
5775 * stl/bits/stl_algo.h (__transform): Same.
5777 1999-10-21 Benjamin Kosnik <bkoz@cygnus.com>
5779 * bits/ios_base.h: Change argument names.
5780 * docs/17_intro/BADNAMES: Add __opr.
5782 1999-10-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5784 Work on compilation slowdowns from 10-5 to 10-12, which are
5785 related to the _Callback_list inlining/merge-ifcation, which is
5786 still a pending issue, but this stuff is necessary cleanup anyway.
5788 * src/ios.cc: Re-arrange.
5789 * bits/ios_base.h: Tweak.
5790 * bits/basic_ios.tcc: Move out of line definitions here, move
5791 small out-of-line definitions inline.
5792 * bits/basic_ios.h: From here.
5794 * bits/streambuf.tcc (pbackfail, overflow): Move back inline.
5795 * bits/std_streambuf.h: From here.
5797 1999-10-19 Benjamin Kosnik <bkoz@cygnus.com>
5799 * testsuite/27_io/istream_extractor_char.cc: Add tests.
5800 * bits/std_istream.h: Tweaks--set eofbit on eof condition.
5801 * bits/istream.tcc (operator>>(istream&, string&): Remove
5802 vestigial issspace hacks and use ctype::is instead.
5803 (getline): Remove unnecessary loops, fortify and pasteurize.
5806 1999-10-18 Benjamin Kosnik <bkoz@cygnus.com>
5808 * bits/istream.tcc (operator>>): Tweak.
5809 * bits/std_istream.h: Fix according to library issues list 68.
5812 * bits/locale_facets.h: Fix table_size to be non-zero.
5814 1999-10-18 Vadim Egorov <egorovv@HotPOP.com>
5816 * src/basic_file.cc: ifdef instead of comment for binary mode
5818 1999-10-18 Russell Davidson <russell@qed.econ.queensu.ca>
5820 * bits/std_sstream.h: Stringbuf initialization based on actual,
5821 not allocated, size.
5822 * testsuite/21_strings/inserters_extractors.cc (test06): Add test
5825 1999-10-17 Benjamin Kosnik <bkoz@cygnus.com>
5827 * testsuite/26_numerics/c_math.cc (test03): Tweak.
5828 * testsuite/27_io/istream_manip.cc (test01): Corrections due to
5830 * testsuite/21_strings/inserters_extractors.cc (test01): Same.
5832 1999-10-14 Benjamin Kosnik <bkoz@cygnus.com>
5834 * bits/std_istream.h: Tweaks.
5835 * bits/istream.tcc (istream::sentry::sentry()): Simplify, correct
5836 as per issues list addition--set failbit, eof on empty buffers.
5837 * testsuite/27_io/istream_sentry.cc: New file.
5839 1999-10-12 Chris Prince <prince@wcug.wwu.edu>
5841 * bits/std_cstdio.h: Remove Solaris hacks.
5843 1999-10-12 Phil Edwards <philip.edwards@sn.wpafb.af.mil>
5845 * docs/index.html: Fix minor typos and tweaks.
5846 * docs/17_intro/contribute.html: Ditto.
5847 * docs/*/howto.html: Ditto. More "EGCS"->"GCC" conversion, notes on
5848 thread safety and binary I/O, links to external sites.
5849 * docs/faq/index.html: EGCS/GCC cleanup, new entries for Cygwin
5852 1999-10-12 Petter Urkedal <petter@matfys.lth.se>
5854 * bits/std_cmath.h (abs(float)): When ::absf is not present, call
5855 ::fabs(double) rather than ::abs(int).
5857 1999-10-11 Benjamin Kosnik <bkoz@milou.cygnus.com>
5859 * bits/std_streambuf.h: Fix minor blip--should explicitly return
5860 *gptr(), not the result of underflow.
5861 (pbackfail): Conform to default behavior.
5863 * bits/streambuf.tcc: Add out-of-line streambuf members.
5866 * testsuite/27_io/streambuf.cc: New file.
5867 * testsuite/27_io/filebuf.cc: Correct test.
5869 1999-10-08 Benjamin Kosnik <bkoz@haight.constant.com>
5871 * bits/std_cmath.h: Correctly cast int to double.
5872 * testsuite/26_numerics/c_math.cc: Add test.
5874 * mknumeric_limits (OUT_C): Tweaks.
5875 * src/gen-num-limits.cc: Checks for WCHAR_MIN, WCHAR_MAX before
5876 trying to instantiate type_traits<wchar_t>.
5877 * acconfig.h: Add _GLIBCPP_HAS_WCHAR_MIN_MAX.
5878 * configure.in (LIBS): Plus checks for WCHAR_MIN, WCHAR_MAX.
5879 * configure: Regenerate.
5881 1999-10-06 Benjamin Kosnik <bkoz@milou.cygnus.com>
5883 * bits/streambuf.tcc (streambuf::xsgetn): Rewrite.
5884 (streambuf::xsputn): Put in break.
5885 Aiming for parity between these two (mostly) similar functions.
5886 Need to re-write tests.
5888 * bits/ios_base.h (ios_base::_M_copy_base): Remove declaration.
5889 Make data members protected, not private.
5890 * src/ios.cc (ios_base::_M_copy_base): Move _Callback_list into
5891 ios_base.h. As called only once, collapse into . . .
5892 * bits/basic_ios.h (basic_ios::copyfmt): Fix.
5893 (basic_ios::clear): Throw ios_base::failure on occasion.
5894 (basic_ios::exceptions): Fix.
5895 * testsuite/27_io/ios_members.cc (test02): Add tests.
5897 * bits/fpos.h: Default initialize.
5898 * testsuite/27_io/fpos.cc (test03): Add test.
5900 1999-10-04 Russell Davidson <russell@qed.econ.queensu.ca>
5902 * src/basic_file.cc: Fix open modes.
5904 1999-10-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5906 * bits/locale_facets.tcc (num_get<>::do_get): Fix typo.
5908 1999-09-23 Benjamin Kosnik <bkoz@milou.cygnus.com>
5910 * bits/streambuf.tcc: Yea. Fix this for real.
5911 * testsuite/27_io/ostream_inserter_other.cc: Add file.
5912 * src/Makefile.*: Regenerate.
5914 1999-09-22 Benjamin Kosnik <bkoz@milou.cygnus.com>
5916 * bits/std_cstdlib.h: Add more linux-specif hacks to the header
5917 files so that stdtof and strtold will be declared. Some hacks
5918 already exits in bits/std_cctype.h -- these should all be removed
5920 * bits/locale_facets.tcc: Add cstring.h include.
5921 _S_format_long: Use long, not int.
5922 Add std_limits.h include, for numeric_limits.
5923 * testsuite/27_io/istream.cc: Make instantiations work when using
5925 * testsuite/27_io/ostream.cc: Same.
5927 1999-09-21 Benjamin Kosnik <bkoz@milou.cygnus.com>
5929 * bits/fpos.h (fpos::operator streamoff): Make const, don't return
5930 a reference. Same for operators == and !=.
5931 * testsuite/27_io/fpos.cc: Add tests.
5933 1999-09-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5935 * bits/valarray_array.h: Fix typo.
5937 * mknumeric_limits: Make sure we are regenerating things from
5938 scratch. Otherwise things get redefined. Not good.
5940 1999-09-20 Benjamin Kosnik <bkoz@milou.cygnus.com>
5942 * bits/std_ostream.h: Fix typo.
5943 * bits/std_istream.h: Same.
5944 * bits/std_iomanip.h: Same.
5946 * bits/istream.tcc (sentry::sentry()): Remove optional tie with
5947 ostream, as happens with underflow anyway.
5948 * testsuite/27_io/istream.cc (main): New file.
5949 * testsuite/27_io/ostream.cc (main): New file.
5950 * testsuite/27_io/istream_unformatted.cc: Add tests.
5952 * src/Makefile.am (headers): Add new file.
5953 * src/Makefile.in (headers): Regenerated.
5955 * bits/basic_ios.h: Remove local-related files.
5956 * bits/basic_ios.tcc: New file, add locale-related items.
5957 * src/misc-inst.cc: Add include of basic_ios.tcc, as a hack for now.
5958 * testsuite/27_io/ios_members_static.cc: Change to
5959 * testsuite/27_io/ios_base_members_static.cc: This.
5960 * testsuite/27_io/ios_members.cc: New file.
5961 * testsuite/27_io/stdios_basefield_manip: Change to
5962 * testsuite/27_io/ios_manip_basefield.cc: This.
5963 * testsuite/27_io/stdios_fmtflags_manip: Change to
5964 * testsuite/27_io/ios_manip_fmtflags.cc: This.
5966 * bits/fpos.h: Fix discarding qualifiers on this when
5967 using _M_position with a const fpos.
5968 * bits/std_iosfwd.h: Tweak.
5969 * testsuite/27_io/fpos.cc: New file.
5971 1999-09-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
5973 * bits/streambuf.tcc (streambuf::xsputn): Tweak.
5974 * bits/ostream.tcc: Tweak.
5975 * testsuite/21_strings/inserters_extractors.cc (test04, test05):
5976 Add new regressions.
5978 1999-09-16 Benjamin Kosnik <bkoz@milou.cygnus.com>
5980 * bits/basic_ios.h: Inline, tweak.
5981 * bits/fstream.tcc (basic_filebuf::_M_really_overflow): Tweak,
5982 pass back accurate return value to basic_filebuf::overflow.
5983 * bits/streambuf.tcc (streambuf::xsputn): Fix overflow accounting.
5984 This fixes sstream problems reported in libstdc++/9, but screws up
5985 filebufs. That solution is pending.
5987 1999-09-15 Vadim Egorov <egorovv@1c.ru>
5989 * bits/streambuf.tcc (basic_streambuf::xsputn): Add check for
5991 * testsuite/21_strings/inserters_extractors.cc (test01): Add test.
5993 1999-09-08 Benjamin Kosnik <bkoz@milou.cygnus.com>
5995 * bits/c++config.h.in: Add emacs hints.
5997 * stl/bits/stl_range_errors.h: Don't define here, for now define
5998 in stdexcept.cc along with string inlines __length_error, etc.
5999 * src/stdexcept.cc: Define here.
6000 * stl/bits/stl_config.h (__STL_CAN_THROW_RANGE_ERRORS): Enable, so
6001 at(size_t) will be declared/defined.
6002 (__STL_THREADS): Fix mess surrounding use of this, enable.
6004 1999-08-31 Benjamin Kosnik <bkoz@milou.cygnus.com>
6006 * testsuite/27_io/istream_extractor_arith.cc: Fix.
6007 * src/localename.cc: Tweak formatting, fix assignment to
6008 const compiler errors.
6010 1999-08-25 Benjamin Kosnik <bkoz@cygnus.com>
6012 * acconfig.h: Add absf, cosf.
6013 * configure.in (use_builtin_sinf): Same.
6014 * configure: Regenerate.
6015 * bits/std_cmath.h: Add mess of defines.
6016 * testsuite/26_numerics/modf_float.cc: Change to
6017 * testsuite/26_numerics/c_math.cc: This.
6019 * src/locale.cc: Change.
6020 * bits/locale_facets.h: Fix.
6021 * testsuite/22_locale/ctype.cc: Add temporary tests.
6023 1999-08-24 Benjamin Kosnik <bkoz@cygnus.com>
6025 * bits/fpos.h: Test.
6027 * docs/index.html: Add powerpc-linux-gnu results with gcc-2.95.1.
6028 Fix database name for "libstdc++".
6030 1999-08-23 Benjamin Kosnik <bkoz@cygnus.com>
6032 * mknumeric_limits (numeric_limits): Add default definitions to
6034 * testsuite/18_support/numeric_limits.cc: New file.
6036 1999-08-18 Benjamin Kosnik <bkoz@cygnus.com>
6038 * bits/std_istream.h: Correct initialization.
6039 * bits/std_ostream.h: Likewise.
6040 * bits/std_sstream.h: Likewise.
6041 * bits/std_fstream.h: Likewise.
6042 * testsuite/27_io/stringstream.cc: Add test case.
6044 * bits/std_sstream.h: Replace ____string_type with __string_type.
6045 * bits/basic_ios.h (basic_ios::rdbuf(sb*): Call clear(), as required.
6046 * bits/std_ostream.h: Tweak dtor.
6048 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6050 * src/Makefile.am (CXXFLAGS): Add -O2.
6051 * src/Makefile.in: Likewise.
6053 * src/gen-num-limits.cc: Conditionally allow wchar_t. See what
6055 * mknumeric_limits (numeric_limits): Uglify.
6057 * bits/std_istream.h: Fix warnings.
6058 * bits/locale_facets.tcc: Collateral damage from
6059 char_traits<char>::int_type change.
6061 * testsuite/27_io/istream_extractor_char.cc: Terminate strings.
6063 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6065 * docs/index.html: Add mailing list form.
6066 * docs/27_io/howto.html: Add link to iostreams_hierarchy.pdf.
6068 1999-08-16 Benjamin Kosnik <bkoz@cygnus.com>
6070 * bits/streambuf.tcc (streambuf::xsputn): Allow copies to continue
6071 if overflow successfully allocates more space.
6072 * bits/std_sstream.h: Adjust comments.
6073 * bits/sstream.tcc (stringbuf::overflow): Copy buffer into string
6074 before overflow forces a resize.
6075 * testsuite/27_io/ostream_inserter_char.cc: New file.
6077 * bits/std_fstream.h: Remove declaration.
6078 * bits/fstream.tcc: Move uflow.
6079 * bits/std_streambuf.h: To here.
6080 * bits/streambuf.tcc: Make consistent.
6082 * src/Makefile.am (WERROR): Enable.
6083 * src/Makefile.in: Regenerate.
6084 * bits/sbuf_iter.h: Tweak.
6085 * bits/char_traits.h: (char_traits<wchar_t>::eof): Use WEOF.
6086 Use unsigned int as char_traits<char>::int_type.
6088 * bits/ostream.tcc (ostream::putc(char)): Tweak.
6089 * testsuite/27_io/iostream_objects.cc: Terminate string.
6090 Move cin::operator>>(char*) test to extractor_char.cc.
6091 * testsuite/27_io/stringstream.cc: Add stringstream instantiation.
6092 * bits/std_istream.h (basic_iostream): Make explicit definition
6094 * bits/std_sstream.h: Fix typos.
6095 * bits/fstream.tcc (_M_init_filebuf): Set to indeterminate for
6096 basic_filebuf ctor with fileno open arguments. Thus, filebufs are
6097 initialized in a consistent manner, no matter if the underlying
6098 FILE/bit bucket is a tty or a text file or some other imaginary
6099 construct. This and setting _M_buf_size to 1 for cin allows
6100 istream::get(char) to work in a manner consistent with what others
6103 * docs/index.html: Link Stroustrup's C++ page.
6105 1999-08-12 Michael Cook <cook@sightpath.com>
6107 * bits/fstream.tcc: Fix signed/unsigned -Wall warning.
6108 * bits/istream.tcc: ditto.
6109 * bits/sbuf_iter.h: ditto.
6110 * bits/std_istream.h: ditto.
6111 * src/Makefile.am: Add -Wall to CXXFLAGS.
6112 * src/Makefile.in: ditto.
6114 1999-08-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6115 Russell Davidson <russell@ehess.cnrs-mrs.fr>
6117 * bits/locale_facets.tcc (_M_extract): Finish off patch from yesterday.
6118 * src/Makefile.am (myinstallheaders): Tweak, remove PHONY.
6120 1999-08-11 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6122 * testsuite/27_io/istream_unformatted.cc: New file.
6124 * testsuite/27_io/istream_extractor_arith.cc (test02): Add more
6125 elaborate tests for int types with noskipws.
6127 * testsuite/27_io/istream_extractor_other-1.txt: New file.
6128 * testsuite/27_io/istream_extractor_other-1.tst: New file.
6129 * testsuite/27_io/istream_extractor_other-2.tst: New file.
6130 * testsuite/27_io/istream_extractor_other.cc: Add tests.
6131 * bits/istream.tcc: Fix operator>>(streambuf*).
6133 * testsuite/23_containers/vector_ctor.cc (test01): Add.
6135 * docs/index.html: Remove references to egcs.
6136 * docs/17_intro/DESIGN: Same.
6137 * docs/17_intro/contribute.html: Same.
6138 * docs/17_intro/RELEASE-NOTES: Ditto.
6139 * docs/17_intro/howto.html: Same here.
6141 Russell Davidson <russell@ehess.cnrs-mrs.fr>
6142 * stl/bits/stl_vector.h (_M_insert_aux):
6143 * bits/locale_facets.tcc (_M_extract): Tweaks for preliminary
6144 decimal/floating point support.
6145 * bits/locale_facets.h: Change _M_extract prototype.
6146 * bits/char_traits.h (char_traits::to_int_type): Cast to unsigned.
6147 * bits/std_istream.h (istream::read(char_type, streamsize)): Fix.
6149 1999-08-10 Michael Cook <cook@sightpath.com>
6151 * bits/fstream.tcc: Fix for unused variable warning (-Wall).
6152 * bits/ios_base.h: ditto.
6153 * bits/istream.tcc: ditto.
6154 * bits/locale_facets.h: ditto.
6155 * bits/locale_facets.tcc: ditto.
6156 * bits/std_streambuf.h: ditto.
6157 * src/basic_file.cc: ditto.
6158 * src/locale.cc: ditto.
6159 * src/localename.cc: ditto.
6161 1999-08-10 Kirat Singh <singhki@jany.gs.com>
6163 * bits/std_iomanip.h: Inline.
6165 1999-08-10 Alfred Minarik <a8601248@unet.univie.ac.at>
6167 * bits/std_streambuf.h: Correct member initialization order.
6168 * src/ios.cc: Add definitions for ios_base data members.
6170 1999-08-06 Phil Edwards <pedwards@ball.com>
6172 * docs/index.html: Seventh snapshot updates. Minor tweaks.
6173 * docs/faq/index.html: Ditto. Removed bugs sections that have
6174 been fixed for a long time... Lots of "egcs" references still
6176 * docs/faq/index.txt: Regenerated.
6178 1999-08-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6179 Andreas Amann <amann@physik.tu-berlin.de>
6181 * testsuite/26_numerics/binary_closure.cc (main): new test.
6183 1999-07-29 Andreas Amann <amann@physik.tu-berlin.de>
6185 * bits/valarray_meta.h: (_BinClos<>::_Binclos): fix typo causing
6188 1999-08-04 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6190 * docs/index.html (host): Put in testing status.
6192 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
6194 * docs/index.html: Update for libstdc++-2.90.6 release.
6195 * docs/17_intro/RELEASE-NOTES (New): Update.
6196 * docs/17_intro/BUGS: Update.
6197 * bits/c++config.h.in (__GLIBCPP__): Bump version number.
6198 * README (file): Update.
6200 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
6202 * src/Makefile.am (generated_headers): Remove bits/c++config.h as
6204 ($(generated_headers)): Same.
6205 * src/gen-c++config.cc: Remove, rename to
6206 * bits/c++config.h.in: New file. Bump version number.
6207 * configure.in: Generate bits/c++config.h at configure time.
6208 * math/mathconf.h: include bits/c++config.h, not config.h.
6210 * bits/std_cmath.h: Fix remaining link error for solaris shared
6211 builds. _GLIBCPP_HAS_BUILTIN_SINF has to be disabled for the time
6212 being, as on Solaris this silently calls sinf, which does not
6215 * src/complex.cc: More tweaks.
6217 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
6219 * src/complex.cc: Same.
6220 * math/complex-stub.h: Change.
6221 * math/c_log10*.c: Change back to clog10*.c.
6223 * configure.in (NEED_C_LOG10): Delete.
6224 * configure: Regenerate.
6225 * math/Makefile.am: Change.
6227 1999-07-30 Benjamin Kosnik <bkoz@cygnus.com>
6229 * math/Makefile.am: Fix, for real.
6230 * configure.in (use_builtin_sinf): Ok, make autoconf solution.
6231 * math/clog.c: Move to c_log.c.
6232 * math/clog*: Ditto.
6233 * math/c_log10l.c (c_log10l): Change function name.
6234 * math/c_log10f.c (c_log10f): Change function name.
6235 * math/c_log10.c (c_log10): Change function name.
6237 * math/complex-stub.h: Change to c_log* variants.
6238 * src/complex.cc: And here.
6240 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
6242 * testsuite/27_io/istream_extractor_other.cc: Correct last test.
6243 * bits/sstream.tcc (stringbuf::overflow): Don't update the input
6244 sequence, just the output sequence.
6245 * bits/std_sstream.h (stringbuf::str()): Only in stringbufs return
6246 the original string, all others use complicated heuristic.
6248 * src/complex.cc: Assume c_log10.
6249 * math/Makefile.am (EXTRA_yes): Fix c_log/c_logf unresolved
6250 symbols in shared libraries by making c_log/c_log10 part of the
6251 "must cmpile" sources. This may not work on solaris, must check.
6253 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
6255 * bits/istream.tcc (operator>>(streambuf*)): Re-do.
6256 * bits/std_istream.h: Fix char extractors.
6257 * testsuite/27_io/istream_extractor_char.cc: Change.
6258 * testsuite/27_io/istream_extractor_other.cc: Add tests.
6260 1999-07-28 Benjamin Kosnik <bkoz@cygnus.com>
6262 * bits/std_cctype.h: Fix for solaris2.6 builds.
6264 * bits/istream.tcc: Fix, thanks Alfred.
6265 * bits/std_istream.h: Formatting changes.
6267 * libio/Makefile.am (libio_la_SOURCES): Remove cleanup.c, so that
6268 _IO_cleanup will not be undefined.
6269 * libio/*: Regenerate.
6271 * bits/basic_string.h: More namespace-safety stuff.
6272 * testsuite/27_io/istream_extractor_char.cc: Fix.
6273 * testsuite/27_io/istream_extractor_arith.cc: Fix.
6274 * testsuite/27_io/iostream_objects.cc: Fix.
6275 * testsuite/27_io/ios_ctor.cc: Fix.
6276 * testsuite/27_io/istream_manip.cc: Make namespace safe.
6277 * testsuite/27_io/istream_extractor_other.cc: New file.
6279 * mkcheck (TESTS_FILE): Tweaks.
6281 1999-07-27 Benjamin Kosnik <bkoz@cygnus.com>
6283 * src/gen-c++config.cc: Note here, change version.
6284 * acconfig.h( _GLIBCPP_USE_CTYPE_ISBIT): New macro.
6285 * src/locale.cc: Used here.
6286 * configure.in (use_builtin_sinf): Check for _ISBit using autoconf.
6288 * aclocal.m4: Regenerate by running `aclocal -I m4.`
6290 * bits/istream.tcc: Fix.
6291 * bits/std_istream.h: More changes to extractors.
6293 * testsuite/27_io/istream_extractor_char.cc: More.
6294 * testsuite/21_strings/inserters_extractors.cc (test01): Fix logic
6295 error in testsuite construction.
6297 * bits/std_istream.h: Partially revert.
6298 * bits/std_ostream.h: Same.
6299 * bits/std_sstream.h: Revert.
6301 1999-07-26 Benjamin Kosnik <bkoz@cygnus.com>
6303 * bits/std_sstream.h: Change initialization.
6304 * bits/std_ostream.h: Make default ctor/assign/operator= private.
6305 * bits/std_istream.h: Same, also correct sentry args.
6306 * bits/istream.tcc: Add correct sentry args.
6308 * testsuite/27_io/istream_extractor_char.cc: New file.
6309 * testsuite/27_io/istream_extractor_arith.cc: New file, old file,
6310 name changes making me dizzy.
6312 1999-07-26 Ulrich Drepper <drepper@happy.cygnus.com>
6313 Benjamin Kosnik <bkoz@cygnus.com>
6315 * aclocal.m4, config.guess, config.sub, ltconfig ltmain.sh: Update
6318 1999-07-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6320 * bits/std_complex.h: Tweak. Make the primary template class
6321 complex work with user-defined numerical types. Provide member
6322 definitions. Restructure.
6323 (class complex<float>): Uglify. Remove __value(). Rename __val
6324 to _M_value. Rename __complex_value_type to _ComplexT. Make it
6325 private. Remove dependency on __value(). Fix various explicit
6326 specialization syntax. Declare a some functions friend. Now the
6327 implementation is nearly comforming.
6328 (class complex<double>): Likewise.
6329 (class complex<long double>): Likewise.
6331 * src/complex.cc: Tweak. Remove dependency on complex::__value().
6332 (sin, sinh, tan, than): Fix call to corresponding C9x function
6335 1999-07-24 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6337 * bits/istream.tcc (ws): Fix error with failbit being set.
6339 Disabled due to egcs/gcc-2_95 internal compiler errors.
6340 * src/Makefile.am (CXXFLAGS): Add -fsquangle -fhonor-std
6341 -fnew-exceptions. Compiling with namespaces enabled will now be
6343 * mkcheck (CXX_FLAG): Same.
6344 * src/gen-c++config.cc (_GLIBCPP_USE_NAMESPACES): Yup. New macro.
6345 * bits/std_cctype.h: Not enough to just define in namespace std if
6346 ctype-isms are macros. Need to also define in namespace std:: if
6347 the C functions are just plain functions.
6349 * src/gen-num-limits.cc: Fix spelling inconsistencies.
6351 1999-07-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6353 * docs/18_support/howto.html: Start documentation. Need to keep
6354 track of the ongoing discussion in th LWG reflector.
6356 * src/gen-num-limits.cc: Tweak.
6357 (class predicate): New class.
6358 (class value): Likewise.
6359 Make the whole machinery more flexible. Add comments.
6361 1999-07-23 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6363 * bits/ios_base.h: Move state/exception functions into basic_ios.
6364 * bits/basic_ios.h: Same.
6365 * src/ios.cc: And here. Callbacks don't attempt to reset
6368 * bits/std_streambuf.h: Separate ios and streambuf locale data
6369 members and cached facets. Using this convention: _M_locale_buf for
6370 the streambuf-related classes, and _M_locale_ios for the ios
6372 * bits/fstream.tcc: And here.
6373 * bits/basic_ios.h: And here. Also, add cached ctype.
6374 * src/ios.cc: Ditto.
6375 * bits/ios_base.h: Ditto.
6376 * bits/std_istream.h: Use cached ctype facet.
6377 * docs/27_io/iostreams_hierarchy.pdf: Update for new data member
6380 * testsuite/27_io/ios_ctor.cc: New file.
6381 * src/ios.cc: Move _M_state init to basic_ios::init().
6382 * bits/basic_ios.h: To here.
6384 Attempt for some consistency in naming for testsuite/27_io/*.cc.
6385 * testsuite/27_io/boolfmt.cc: Rename to stdios_fmtflags_manip.cc
6386 * testsuite/27_io/octfmt.cc: Rename to stdios_basefield_manip.cc
6387 * testsuite/27_io/istream_manip.cc: Rename to istringstream_manip.cc.
6388 * testsuite/27_io/ostream_manip.cc: Rename to ostringstream_manip.cc.
6390 1999-07-22 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6392 * src/ios.cc: Tweak initializations of standard iostream
6393 objects to closely match the standard. Tie cin/wcin, set flags on
6395 * bits/char_traits.h: Change from size_t to int_type, as per
6396 standard. As per wide streams.
6397 * bits/basic_ios.h: Infect with __ctype_type, as a preparation
6398 for caching a bunch of ctype info. For instance, ctype_base::space
6399 info needs to be stored somewhere, somehow.
6400 * bits/std_istream.h: Also here.
6401 * bits/std_ostream.h: Ditto.
6402 * bits/std_istream.h (operator>>(istream, char): Aggh. Fixup.
6403 * testsuite/27_io/iostream_objects.cacc (test01): Oh yeah. Fix
6406 * bits/istream.tcc (ws): Fix.
6407 * testsuite/27_io/istream_manip.cc: New file, test ws.
6408 * testsuite/27_io/ostream_manip.cc: New file, test endl, ends, flush.
6410 * bits/basic_string.h: Provide a specialized member function for
6411 _S_find<char> using strchr.
6412 * src/string-inst.cc: Put specializations here.
6413 * bits/string.tcc: Small fix for find, remove typo.
6414 * testsuite/21_strings/find.cc (test01): Add tests to catch this
6417 1999-07-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6419 * bits/basic_ios.h: Put into basic_ios namespace.
6422 1999-07-19 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6424 * bits/std_sstream.h (stringbuf::sync): Change to _M_really_sync,
6425 adjust _M_*_cur pointers inside the function, so callee doesn't
6427 * bits/sstream.tcc (stringbuf::overflow): Tweak.
6429 * mkcheck: Tweak. Add execution time field, even though it is not
6430 implemented yet. Simplify pass/fail status notation.
6432 1999-07-18 Mumit Khan <khan@xraylith.wisc.edu>
6434 * configure.in: Check for float.h and underscored version of
6436 * acconfig.h: Add @BOTTOM@ section for handling underscored
6438 * configure: Regenerate.
6439 * config.h.in: Regenerate.
6440 * math/mathconf.h (float.h): Include conditionally.
6441 (M_PI): Define conditionally.
6442 (INFINITE_P): Define for Mingw.
6443 * bits/locale_facets.tcc: Workaround for compiler crash on
6445 * bits/std_cwchar.h (bits/std_cstddef.h): Include.
6446 * src/locale.cc (bits/std_istream.h): Include.
6447 (bits/std_ostream.h): Likewise.
6449 1999-07-18 Phil Edwards <pedwards@ball.com>
6451 * docs/faq/index.html: Updated __black_count notes, fixed typos.
6452 * docs/faq/index.txt: Regenerated.
6454 1999-07-15 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6456 * testsuite/27_io/stringbuf.cc: Cccchanges, latent bugs.
6458 * bits/sstream.tcc (stringbuf::overflow): Modify accounting of
6459 newly-allocated buffer.
6460 * bits/streambuf.tcc (streambuf::xsgetn): Aaaaaah. Fix final
6461 overflow condition bits.
6463 1999-07-14 Benjamin Kosnik <bkoz@cygnus.com>
6465 * bits/std_sstream.h (stringbuf::_M_init_stringbuf): Set
6466 _M_buf_size to initial _M_string.size(), even though for
6467 ostringstreams it is pretty pointless. It's necessary for
6469 (stringbuf::str()): Adjust.
6470 (stringbuf::str()): Adjust, call _M_init_stringbuf.
6471 * bits/streambuf.tcc (streambuf::xsgetn): Adjust return value for
6472 overflow's possible success.
6473 (streambuf::xsputn): Adjust.
6475 * testsuite/27_io/filebuf.cc: Adjust for the xsgetn re-write from
6477 * testsuite/27_io/stringbuf.cc: Tweak.
6478 * testsuite/21_strings/inserters_extractors.cc (test01): Remove
6480 * testsuite/23_containers/vector_cons.cc: Rename to be consistent
6481 with other constructor tests to. . .
6482 * testsuite/23_containers/vector_ctor.cc: New file.
6484 1999-07-14 Alfred Minarik <a8601248@unet.univie.ac.at>
6486 * testsuite/*: Changes to make the testsuit compilable with
6487 -fhonor-std. Contains direct qualification of library names with
6490 1999-07-13 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6492 * bits/streambuf.tcc: Tweaks.
6493 (streambuf::xsputn): Optimize, fix for sstreams.
6494 (streambuf::xsgetn): Same.
6495 * bits/sstream.tcc (stringbuf::overflow): Adjust _M_buf_size
6496 correctly, handle overflow/reallocate conditions correctly.
6497 * bits/std_sstream.h: Fix typo.
6498 _M_init_stringbuf(): Fix _M_buf_size initialization.
6499 (stringbuf::str()): Construct return string if output has occurred.
6501 * bits/basic_string.h: Fix typo from yesterday's patch.
6503 1999-07-12 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6505 * bits/string.tcc: _M_mutate - clear _M_state again.
6506 * bits/basic_string.h: In the three functions that return
6507 an iterator set _M_state to -1 before return.
6508 Also optimized two cases of operator+.
6510 1999-07-12 Phil Edwards <pedwards@ball.com>
6512 * docs/index.html: Expand egcs-1.1.2 notes/links.
6513 * docs/faq/index.html: And here. Add links to LWG issues-list.
6514 * docs/faq/index.txt: Regenerate. (lynx rocks)
6515 * docs/21_strings/howto.html: Fix notes on case conversion.
6516 * docs/21_strings/stringtok_h.txt: Goodly spelling...
6517 * docs/23_containers/howto.html: Stub for bitmasks.
6518 * docs/27_io/howto.html: Add section on buffering, stub binary.
6520 1999-07-12 Nathan Myers <ncm@cantrip.org>
6522 * stl/bits/stl_tree.h (__black_count): Optimize.
6524 1999-07-09 Vadim Egorov <egorovv@1c.ru>
6526 * src/basic_file.cc: Cleanup in __basic_file destructor.
6528 1999-07-08 Benjamin Kosnik <bkoz@cygnus.com>
6530 * bits/std_streambuf.h: Changes. . .
6531 * bits/streambuf.tcc: Merge xsputn from filebuf into xsputn in
6532 basic_streambuf, to be used for both filebufs and streambufs.
6533 * bits/std_fstream.h (_M_init_filebuf): New function.
6534 Take out specialized xsputn, put into basic_streambuf.
6535 * bits/fstream.tcc: Define, call from both ctors.
6536 * bits/std_sstream.h (_M_init_stringbuf): New function.
6537 * bits/sstream.tcc: Tweak.
6539 * docs/27_io/iostreams_heirarchy.pdf: New file.
6541 * docs/17_intro/CHECKLIST (basic_string<char>): Validation and
6542 acceptance. Wooo-hoo!
6544 * bits/char_traits.h: Change int_type for char_traits general
6545 template, so that 21_strings/capacity.cc will compile.
6546 * testsuite/21_strings/capacity.cc: Add operators.
6548 * bits/string.tcc (string::compare): Clean up, re-implement.
6549 * testsuite/21_strings/compare.cc: Tweak.
6551 * bits/string.tcc (string:_M_mutate): Keep leaked value in
6552 _M_state, which means that whenever begin() or end() has been
6553 called, the string is unshareable, period. By doing this, insert
6554 and erase member functions that return iterators can remain
6555 footloose and fancy free.
6556 * testsuite/21_strings/invariants.cc: Update.
6558 * bits/basic_string.h (string::append): Fix self-referential
6559 problems, ie when "this" is also an argument to a member function.
6560 * bits/string.tcc: Tweak, same.
6561 * testsuite/21_strings/append.cc: New file.
6563 1999-07-07 Benjamin Kosnik <bkoz@cygnus.com>
6565 * bits/char_traits.h: Tweaks.
6566 * bits/basic_string.h: Tweak.
6567 * bits/fstream.tcc: Remove warning for _M_buf_size assignment.
6569 1999-07-06 Benjamin Kosnik <bkoz@cygnus.com>
6571 * bits/std_streambuf.h: Absorb/acquire data members previously
6572 working in basic_filebuf.
6573 * bits/streambuf.tcc: Tweaks.
6574 * bits/fstream.tcc: Adjust.
6575 * bits/std_fstream.h: Move and rename the following functions:
6576 _M_set_ideterminate, _M_is_indeterminate, _M_set_determinate are
6577 now declared and defined in the base class, basic_streambuf. Oh
6578 fuck it, move data members _M_buf, and _M_buf_size into
6579 basic_streambuf as well.
6581 * bits/ostream.tcc: Tweak.
6582 * bits/locale_facets.tcc: Fix typo in comments.
6584 * testsuite/21_strings/inserters_extractors.cc (test01): Change
6585 state from good to not good, as eof() is set.
6587 1999-07-05 Benjamin Kosnik <bkoz@cygnus.com>
6589 * bits/char_traits.h (char_traits::compare). Fix.
6591 * config.guess, config.sub: Update.
6593 1999-07-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6595 * bits/string.tcc: Check the __res_arg for a length error.
6597 1999-07-01 Benjamin Kosnik <bkoz@nabi.net>
6599 * bits/std_streambuf.h: Tweaks. Need to move _M_is_indeterminate
6600 and related functions into basic_streambuf, from basic_filebuf to
6601 take care of ostringstreams and empty strings. So that's groovy,
6603 * bits/std_istream.h: Tweaks.
6604 * bits/istream.tcc: Implement ws, getline, operator>> for string.
6605 * bits/std_ostream.h: And here.
6606 * bits/ostream.tcc: Same.
6607 * src/misc-inst.cc: Add instantiations for ws.
6609 * src/string-inst.cc: Add instantiations for inserters and
6610 extractors (operators << and >>, getline).
6612 * testsuite/21_strings/inserters_extractors.cc: Amazingly enough,
6613 a testcase for getline and operators << and >>. Ostream tests are
6614 failing right now, but istream tests should work. . .
6616 * bits/string.tcc: Change _S_max_size, as GNU malloc won't budge.
6617 * bits/std_sstream.h: Revert.
6619 * testsuite/17_intro: header_[iosfwd, ios, iostream, iomanip,
6620 istream, ostream, streambuf, fstream, sstream].cc: New files.
6622 1999-06-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6624 * bits/std_sstream.h (stringbuf::sync): Don't use string::begin()
6627 * bits/basic_string.h (basic_string<>::_S_copy_chars): Add
6628 specializations for _CharT*, iterator and const_iterator.
6629 * src/string-inst.cc: Remove explicit instantiation, as
6630 now explicitly specialized.
6632 * bits/basic_string.h: Add a size_type parameter to _M_clone with
6633 a default value set to 0.
6634 * bits/string.tcc: In _M_clone by the call of _S_create add the
6635 value of the new parameter to _M_length. In reserve check
6636 _M_state and use _M_clone instead of _M_mutate.
6638 1999-06-30 Benjamin Kosnik <bkoz@happy.cygnus.com>
6640 * bits/basic_string.h: Fix _S_max_size.
6641 * bits/string.tcc: Add def here.
6642 * testsuite/21_strings/insert.cc: Fix.
6644 * bits/sbuf_iter.h: Remove detritus.
6645 * testsuite/24_iterators/istreambuf_iterator.cc: Add tests.
6647 * src/locale-inst.cc: Elaborate iterator/locale instantiations
6648 to resolve alpha-osf4 build problems.
6650 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
6652 * bits/string.tcc: Fix signed/unsigned issues in compares.
6653 * stl/bits/stl_deque.h: And here.
6654 * stl/bits/stl_string_fwd.h: Remove __get_c_string.
6656 1999-06-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6658 * bits/string.tcc: New implementation and interface of _M_mutate.
6659 Adapt the change in all functions that call _M_mutate.
6660 * bits/basic_string.h: And here.
6662 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
6664 * testsuite/21_strings/capacity.cc (test01): Fix.
6666 1999-06-29 Phil Edwards <pedwards@ball.com>
6668 * mknumeric_limits: Exit script if gen-num-limits isn't built.
6670 1999-06-29 Andreas Gruenbacher <agruenba@pent224.infosys.tuwien.ac.at>
6672 * stl/bits/stl_vector.h: Fix.
6673 * testsuite/23_containers/vector_cons.cc: Add.
6675 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6677 * mknumeric_limits (LDFLAGS): fix.
6679 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6681 * mknumeric_limits (LDFLAGS): set it according to the system.
6683 * math/mathconf.h (NAN): Check whether host is running under
6684 Cygwin and make the appropriate definition.
6685 * math/complex-stub.h (nan): protect declaration.
6687 1999-06-28 Benjamin Kosnik <bkoz@haight.constant.com>
6689 * bits/sbuf_iter.h: Rename internal data structure to prevent
6690 confusion between basic_ios and istreambuf_iterators internal
6691 basic_streambuf data member.
6692 * testsuite/24_iterators/istreambuf_iterator.cc: New file.
6694 * bits/basic_string.h: Remove conditionals, add input_iterator
6695 version of S_construct again.
6696 * bits/string.tcc: Same.
6697 * src/string-inst.cc: And add explicit instantiation here.
6699 * src/gen-c++config.cc (_GNU_SOURCE): Take out both _GNU_SOURCE
6700 and __USE_GNU macro defines, as single __USE_GNU use leading to
6701 confusion on glibc2.1 systems (ie, RedHat 6.0).
6703 * src/Makefile.am (headers): Add std_utility to installed headers.
6705 1999-06-25 John Potter <jpotter@eagle.lhup.edu>
6707 * stl/bits/stl_tree.h (insert_unique): Revert, just fix insert_equal.
6709 1999-06-25 Gilles Zunino <Gilles.Zunino@hei.fr>
6711 * mknumeric_limits (LDFLAGS): Swap -lc and -lgcc.
6713 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6715 * src/gen-c++config.cc (_GLIBCPP_*): Change all
6716 macros to include _GLIBCPP as a distinct namespace.
6720 * stl/bits/std_stdexcept.h: Forward-declare __Named_exception ctor.
6721 * bits/basic_string.h: Remove __get_c_string.
6722 * src/stdexcept.cc: Define ctor here.
6723 * bits/ios_base.h: And fix ios_base::failure as well.
6724 * src/ios.cc: Define here.
6726 * bits/std_streambuf.h: Add a private copy ctor and assignment
6727 operator wrapped in _G_RESOLVE_LIB_DEFECTS.
6728 * bits/ios_base.h: And here too.
6730 * bits/basic_string.h: Tweak.
6731 * testsuite/21_strings/nonmember.cc: Add operator+ tests.
6733 * src/valarray.cc: Rename to. . .
6734 * src/valarray-inst.cc: This.
6735 * src/Makefile.am (sources): Change here.
6736 * src/Makefile.in: Regenerated.
6738 1999-06-24 Vadim Egorov <egorovv@1c.ru>
6740 * bits/string.tcc(basic_string<>::_Rep::_S_create): Fixed
6743 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6744 Tom Tromey <tromey@cygnus.com>
6746 * configure.in (use_glibc2): Eek, correct for non-glibc systems.
6747 Use AM_CONDITIONAL to get us out of this jam. .
6748 * libio/Makefile.am: Same.
6749 * */Makefile: Regenerated.
6751 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6752 John Potter <jpotter@eagle.lhup.edu>
6754 * stl/bits/stl_tree.h (insert_equal): Fix.
6755 * testsuite/23_containers/multiset.cc: New file.
6757 1999-06-23 Benjamin Kosnik <bkoz@cygnus.com>
6759 * configure.in (test for glibc2): Correct AC_TRY_COMPILE so that
6760 this works correctly on glibc-2 systems. This should allow
6761 simplified linking on these systems, and successful linking on Red
6763 * configure, Makefile: Regenerate.
6765 * bits/std_cwctype.h: Add missing 'w' to _S_iswpunct_helper name.
6767 * testsuite/ext: New directory.
6768 * testsuite/ext/headers.cc: New file.
6770 1999-06-23 Vadim Egorov <egorovv@1c.ru>
6772 * stl/ext/hash_set: include missing headers
6773 * stl/ext/hash_map: Same
6774 * stl/ext/slist: Same
6776 1999-06-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6778 * bits/std_cmath.h: comment out modf. Kills build on hpux10.20
6780 1999-06-15 Benjamin Kosnik <bkoz@cygnus.com>
6782 * src/Makefile.am (sources): Regenerate.
6783 * mkcheck: Add TESTS_FILE as a way of controlling what testcases
6786 1999-06-14 Benjamin Kosnik <bkoz@cygnus.com>
6788 * src/string-inst.cc: Change _S_construct signature, to
6789 track requested allocation size versus valid input iterator range.
6790 * bits/basic_string.h: Here too.
6791 * bits/string.tcc: And here.
6793 1999-06-12 Benjamin Kosnik <bkoz@cygnus.com>
6795 * mkcheck (LOG_FILE): Correctly append errors.
6797 * stl/bits/stl_iterator.h: Revert previous, delirious, change.
6799 * bits/basic_string.h: Change _Rep::_M_data to _Rep::_M_refdata,
6800 to clarify differences between basic_string::_M_data() calls and
6801 _Rep::_M_data() calls.
6802 * bits/std_string.h: Fix.
6803 Put in check for out_of_range in substr.
6804 * bits/string.tcc: Fix for _S_find.
6806 * testsuite/21_strings/compare.cc: Add tests.
6807 * testsuite/21_strings/find.cc: New file.
6808 * testsuite/21_strings/substr: New file.
6809 * testsuite/21_strings/replace.cc: New file.
6811 1999-06-11 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6813 * bits/valarray_array.h: __restrict__ify pointers.
6815 * bits/std_valarray.h: Tweak.
6816 (valarray<T>::cshift, valarray<T>::shift): use __builtin_alloca.
6818 * bits/gslice_array.h: Tweak. Reflect changes in bits/gslice.h
6820 * bits/gslice.h: Tweak.
6821 (class gslice::_Indexer): new class.
6822 (gslice::gslice(const gslice&)): implement copy-ctor to support
6824 (gslice::operator=(const gslice&)): support ref-counted index.
6825 (gslice::_M_convert_to_index): delete.
6827 * src/valarray.cc: New file.
6828 (__gslice_to_index): turn a gslice into a valarray<size_t>
6829 (ctor gslice::_Indexer::_Indexer): implement.
6831 * src/Makefile.am (sources): add valarray.cc
6832 * src/Makefile.in: regenerate.
6834 1999-06-08 Benjamin Kosnik <bkoz@cygnus.com>
6836 * stl/bits/stl_iterator.h (__normal_iterator::const_iterator
6837 ctor): Put in a const_cast.
6839 * testsuite/21_strings/invariants.cc: New file.
6841 * testsuite/21_strings/insert.cc: Add exception handling bits.
6842 * testsuite/21_strings/ctor_copy_dtor.cc: Same.
6844 * src/wstring-inst.cc: Add c++config.h include.
6846 * bits/basic_string.h: Fix const operator[] for size == pos.
6847 Add _M_leak for rbegin, non-const.
6848 Add _M_leak for rend, non-const.
6849 Make member function at standards conformant.
6850 Add _S_terminal to _Rep for operator[] const, add this into
6852 * bits/string.tcc: Add static member definition here,
6855 * testsuite/21_strings/element_access.cc: Add tests.
6857 1999-06-08 Vadim Egorov <egorovv@1c.ru>
6859 * bits/fstream.tcc (_M_really_overflow): Fixed size of
6862 1999-06-08 Phil Edwards <pedwards@ball.com>
6864 * bits/fstream.tcc (basic_filebuf::xsputn): Fix off-by-one count
6865 caused when __testinit is true.
6866 * bits/ostream.tcc (basic_ostream::op<<(streambuf*)): Write buffer
6867 using rdbuf()->sputn rather than _M_fnumput->put.
6869 1999-06-08 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6871 * testsuite/23_containers/bitset_ctor.cc: New file.
6872 * stl/bits/std_bitset.h (__BITSET_WORDS): Fix integration bug.
6874 1999-06-08 Phil Edwards <pedwards@ball.com>
6876 * bits/fstream.tcc (basic_filebuf::underflow): Fix, rename local vars.
6878 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6880 * testsuite/21_strings/element_access.cc: Finish off these tests.
6881 * testsuite/21_strings/insert.cc (test01): Uncomment.
6882 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Finish off ctors.
6883 * bits/basic_string.h: Tweak, okay, fix for real this time.
6884 * bits/string.tcc: Same.
6885 * bits/char_traits.h: Tweak.
6887 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6889 * bits/std_cmath.h: Example of how to use the generated macro.
6890 * acconfig.h: Add macro for sinf here.
6891 * configure.in (LIBS): Add test for builtin math function sinf.
6892 * configure: Regenerated.
6894 * bits/basic_string.h: Fix _S_max_size.
6896 1999-06-06 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6898 * bits/basic_string.h: Fixes for out-of-memory segv for large strings.
6899 Remove _S_construct signature for forward_iterator_tag and
6902 * src/string-inst.cc: Same, tweaks.
6903 * bits/string.tcc: Same, tweaks.
6905 * testsuite/21_strings/ctor_copy_dtor.cc: Add/clarify tests.
6906 * mkcheck (LOG_FILE): Fix filebuf-[2,3].tst checks.
6907 * mknumeric_limits (LD_FLAGS): Add -nodefaultlibs -lc -lgcc as per
6910 * src/locale.cc: Final separation for char/wchar_t bits.
6912 1999-06-05 Phil Edwards <pedwards@ball.com>
6914 * docs/index.html: Added link to book upon request'n'agreement.
6915 * docs/23_containers/wrappers_h.txt: Added.
6916 * docs/{23_containers,27_io}/howto.html: Added sections.
6918 * bits/std_fstream.h: Tweak.
6920 1999-06-05 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6922 * src/ios.cc: Same here.
6923 * bits/std_iosfwd.h: More wchar_t defines.
6925 * bits/basic_string.h: Tweaks.
6926 * bits/string.tcc: Tweak. Fix _S_construct to check for max_size
6927 when doing error checking, as per LWG defect #83.
6929 * src/gen-c++config.cc: Fix comment.
6931 * testsuite/21_strings/ctor_copy_dtor.cc: New file, checks ctors,
6933 * testsuite/21_strings/element_access.cc: New file, checks for
6934 operator[], at(...).
6935 * testsuite/21_strings/insert.cc: New file, tests string::insert.
6936 * testsuite/21_strings/char_traits.cc: New file, tests
6937 for char_traits<char>.
6939 * bits/utility.h: Remove, again.
6940 * src/Makefile.am (std_headers): Remove utility.h.
6941 * src/Makefile.in (std_headers): Regenerate.
6943 Alfred Minarik <a8601248@unet.univie.ac.at>
6944 * bits/basic_string.h: Move __out_of_range and __length_error into
6947 1999-06-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6949 * testsuite/26_numerics/modf_float.cc: New file.
6951 * bits/std_cmath.h (modf(float, float*)): Fix signature. Correct
6952 typo: use ::modff, not ::modf.
6954 1999-06-03 Vadim Egorov <egorovv@1c.ru>
6956 * bits/string.tcc (basic_string::_M_mutate): Fixed memory
6958 * testsuite/21_strings/capacity.cc (test01): Test.
6960 1999-06-03 Phil Edwards <pedwards@ball.com>
6962 * bits/fstream.tcc: Re-order inits to stop warnings. Comment/move
6963 unused variables to within #if 0 blocks to do the same.
6964 * bits/std_fstream.h: Fix typos (one prevents compilation).
6966 1999-06-03 Benjamin Kosnik <bkoz@pacifica.cygnus.com>
6968 * src/wstring-inst.cc: Fix.
6970 1999-06-02 Benjamin Kosnik <bkoz@madcow.cygnus.com>
6972 * bits/char_traits.h: Add _G_USE_WCHAR_T macro guards.
6973 * stl/bits/stl_string_fwd.h: Same.
6974 * bits/locale_facets.h: Same.
6975 * bits/locale_facets.tcc: Same.
6976 * src/wstring-inst.cc: And here.
6978 * src/gen-c++config.cc: Comment _G_USE_WCHAR_T. Leading to
6979 problems on HPUX 10.20.
6980 * your-build-directory-here/bits/c++config.h: Just kidding, do it
6981 here as a temporary hack till the compiler/host problems get
6984 * bits/locale_facets.tcc (num_get::do_get): Change from ifdef
6985 HAVE_STRTOLD to HAVE_STRTOLD && !(__hpux). Apparently, problems
6986 converting "long double" to struct long_double. Probably should be
6987 done with one macro (HAVE_STRTOLD) at configure time.
6989 * bits/std_cmath.h: Comment out pow(double, int) defintion as
6990 gives re-declaration under hpux10.20. Revert previous change, as
6991 kills linux/x86, solaris 2.7, hpux builds. These should be done
6992 using autoconf, see std_cctype.h and the solutions started in
6993 configure.in (see config.h for the generated file.)
6995 * mknumeric_limits (LDFLAGS): Remove '-nodefaultlibs -lc', as
6996 -nodefaultlibs prevents linking under HPUX 10.20 as __main is not
6999 * docs/index.html: Add some useful links.
7000 * docs/17_intro/contribute.html: Fix broken links.
7002 1999-06-02 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7004 * mkcheck (LOG_FILE): Add !/bin/bash instead of cygnus-style
7005 paths. The rest of the world should be able to run this script
7008 * src/Makefile.am ($(generated_headers)): Remove comment.
7009 * Makefile*: Regenerate.
7011 * bits/std_locale.h: Remove detritus.
7012 * bits/localefwd.h: Add <cctype> include to undefine the isspace
7015 1999-06-01 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7017 * src/gen-c++config.cc: New file. Making c++config.h at configure
7018 time by catting this file (nee bits/config.h) with the build
7019 directories config.h. This is not a complete or perfect solution
7020 but is better than what was in place previously.
7021 * bits/c++config.h: Rename/move to above.
7022 * src/Makefile.am (headers): Remove c++config.h.
7023 (myinstallheaders). Add.
7024 * Makefile*: Regenerated.
7026 * bits/std_cwchar.h: Add include of c++config.h for HAVE_*
7027 definitions, so that wmemcmp, wcslen, wmemchr, etc are properly
7028 declared only if not present in the host's wchar.h.
7030 * bits/locale_facets.tcc (std): Change _G_USE_STRTO* to HAVE_STRTO*.
7032 * bits/std_cmath.h: Define out, for the moment. Linux has no
7033 __buitin_fsqrtl? Probably need some kind of configure trickery
7036 * src/Makefile.*: Regenerate.
7037 * bits/c++config.h: Add config.h include.
7039 * bits/std_cwchar.h: Remove remaining #error guard.
7041 * acconfig.h: Add bits for HAVE_LC_MESSAGES.
7043 * configure.in (LIBS): Replace previous effort for mbstate_t and
7044 strtold/strtof with this implementation.
7046 1999 06-01 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7048 * bits/std_cmath.h: Tweak. Add more functions. Use __builtin_xxx
7051 1999-05-28 Benjamin Kosnik <bkoz@cygnus.com>
7053 * bits/locale_facets.tcc (std): Eek: this left in. Autoconf bits
7054 for determining mbstate_t differences across various hosts not
7057 1999-05-26 Benjamin Kosnik <bkoz@nabi.net>
7059 * bits/locale_facets.tcc: Change to ifdef.
7061 * bits/std_sstream.h (stringbuf::setbuf): Remove dynamic_cast.
7062 * bits/std_fstream.h (filebuf::setbuf): Same.
7064 * bits/std_istream.h: Add ws declaration.
7065 * bits/istream.tcc: Stub out definition.
7067 * docs/index.html: Fix broken link for design.txt.
7069 * configure.in: Test for mbstate_t. If wchar.h doesn't have it,
7070 then set _G_NEED_MBSTATE_T.
7071 * configure: Regenerate.
7072 * bits/c++config.h: Move mbstate_t define.
7073 * bits/std_cwchar.h: To here.
7075 1999-05-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7077 * bits/std_sstream.h:
7078 basic_stringbuf<>::basic_stringbuf: fix.
7079 basic_stringbuf<>::setbuf:
7080 remove the temporary __string_type object,
7081 remove the unnecessary dynymic_cast in the return value,
7082 change the type of the returned value from __streambuf_type*
7083 to basic_stringbuf<_CharT, _Traits, _Alloc>*.
7085 1999-05-25 Phil Edwards <pedwards@ball.com>
7087 * bits/std_streambuf.h (streambuf::setbuf): Always return streambuf*.
7089 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7091 * bits/std_cmath.h: Tweak. Add float versions of the math functions
7092 in <math.h>. <cmath> still incomplete and incorrekt.
7094 1999-05-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7096 * mknumeric_limits (LDFLAGS): set appropriate link flags.
7098 1999-05-23 Phil Edwards <pedwards@ball.com>
7100 * docs/17_intro/howto.html: Added links to text docs,
7102 * docs/21_strings/howto.html: Updated sections and links.
7103 * docs/21_strings/{gotw29a.txt,stringtok_h.txt}: Added.
7104 * docs/faq/index.html: Updated what-works for sixth
7105 snapshot. Also a number of "internal" links have been
7106 fixed, now that the web pages are the docs directory...
7107 * docs/faq/index.txt: Regenerated.
7109 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7111 * bits/basic_string.h: Add Nathan's documentation on the string class.
7113 * testsuite/27_io/ios_members_static.cc: New file, for testing
7114 ios_base::sync_with_stdio.
7116 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7118 * bits/std_locale.h: Simplify includes.
7119 * bits/loccore.h: Delete.
7120 * bits/localefwd.h: Renamed, trimmed.
7121 * bits/locfacets.h: Delete.
7122 * bits/locale_facets.h: Rename, expanded.
7123 * bits/loccore.tcc: Deleted.
7124 * bits/locfacets.tcc: Deleted.
7125 * bits/locale_facets.tcc: Resultant merge.
7126 * bits/std_fstream.h: Modify include.
7127 * bits/ostream.tcc: Same.
7128 * bits/istream.tcc: Same.
7130 * src/locale-inst.cc: And here.
7131 * src/locale.cc: Ditto.
7132 * src/Makefile.am: Updated.
7133 * src/Makefile.in: Rengenerated.
7135 * bits/std_istream.h: Move istream::sentry ctor definition.
7136 * bits/istream.tcc: Move istream::sentry ctor here.
7137 Add more detailed locale include here for ctype member functions.
7138 * bits/ostream.tcc (std): And here.
7140 * bits/sbuf_iter.h: Include std_streambuf.h
7142 * bits/locfacets.h: Start separating this into a localeimp.h file.
7143 * bits/loccore.h: Start separating this into a localefwd.h file.
7144 Add std_climits for CHAR_BIT.
7146 * bits/ios_base.h (ios_base::sync_with_stdio): Stub in.
7148 * bits/char_traits.h: Tweak.
7150 * bits/ios_base.h: Remove INT_MAX, use 1<<16.
7152 * bits/std_ostream.h: Remove c++config.h include.
7153 * bits/std_istream.h: Same.
7154 * bits/std_streambuf.h: Same.
7155 * bits/std_fstream.h: Same.
7156 * bits/std_sstream.h: And here.
7158 * bits/std_iosfwd.h: Add _G_RESOLVE_LIB_DEFECTS here for streampos.
7159 * bits/char_traits.h: Add include of std_cwchar.h for mbstate_t.
7160 * bits/fpos.h: Tweak, format.
7162 * std/ciso646: New file.
7163 * bits/std_ciso646.h: New file.
7164 * src/Makefile.am (std_headers): Add ciso646.
7165 (headers): Add bits/std_ciso646.h.
7166 * src/Makefile.in: Regenerate.
7167 * testsuite/17_intro/header_ciso646.cc: New file, disable
7170 * bits/fpos.h: Remove libio.h include.
7171 * bits/basic_file.h: And here.
7172 * bits/std_ios.h: Put here.
7174 * src/ios.cc: Simplify includes, tweak.
7175 * bits/std_ios.h: Simplify include order.
7176 * bits/ios_base.h: Modify ios_base::failure.
7178 * stl/bits/std_numeric.h: Change include from stl_iterator to
7181 1999-05-19 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7183 * std/iostream: Remove static member __ioint.
7184 * bits/std_iostream.h: Put here.
7186 * stl/bits/std_numeric.h: Remove unneccessary std_iostream.h include.
7187 * stl/bits/stl_algobase.h: Same.
7188 * testsuite/27_io/iostream_objects.cc: Regression tests.
7189 * testsuite/27_io/hello.cc: Remove, subset of above.
7191 1999-05-19 Phil Edwards <pedwards@ball.com>
7193 * docs/index.html: Tweak, update.
7195 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7197 * docs/17_intro/RELEASE-NOTES: remove outdated
7198 documentation about numeric_limits. Correct CXXINCLUDE setting
7201 1999-05-18 Phil Edwards <pedwards@ball.com>
7203 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
7204 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
7205 27_io}/howto.html: Created, with some initial entries.
7206 * docs/faq/index.html: Fixed some links.
7207 * docs/faq/index.txt: Regenerated.
7209 1999-05-18 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7211 * bits/c++config.h (__GLIBCPP__): Set version to 19990518.
7213 * docs/17_intro/RELEASE-NOTES: Update.
7214 * docs/index.html: Correct link to mailing list help page, update News.
7215 * docs/faq/index.html: Change fifth to sixth for snapshot.
7217 * src/Makefile.am (myinstallheaders): Bring over Gaby's changes to
7218 install $(top_builddir)/bits/std_limits.h into
7219 $(myincludepfx)/bits. This was mistakenly omitted from yesterday's
7220 Makefile.am changes.
7221 * *Makefile*: Regenerate using automake.
7223 * mkcheck (LOG_FILE): Fix filebuf directory oddness.
7224 * testsuite/27_io/filebuf.cc: Same.
7226 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7228 * docs/17_intro/CHECKLIST: update.
7229 * docs/17_intro/TODO: update.
7231 1999-05-17 Phil Edwards <pedwards@ball.com>
7233 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
7234 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
7235 27_io}/howto.html: Created, with some initial entries.
7236 * docs/faq/index.html: Fixed some links.
7237 * docs/faq/index.txt: Regenerated.
7239 1999-05-17 Benjamin Kosnik <bkoz@unhappy.cygnus.com>
7241 * src/Makefile.am (myinstallheaders): Missed removing missing.h.
7242 * Makefile.in*: Regenerate.
7244 1999-05-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
7246 * bits/std_streambuf.h: Same.
7248 * bits/loccore.h (_Bad_use_facet): Remove bits warned about.
7249 * bits/locfacets.h (std): Same.
7250 * bits/sstream.tcc: Same.
7251 * testsuite/27_io/stringstream.cc: Tweak.
7253 * testsuite/27_io/filebuf.cc: Adjust.
7254 * testsuite/21_strings/capacity.cc (test01): Add more
7255 string::reserve tests.
7257 * bits/c++config.h: Remove broken CCTYPE.
7258 * bits/std_cctype.h: Tweak, remove de-macroization, enable
7259 sequestered topper implementation.
7260 * bits/std_cwctype.h: Same.
7262 * bits/missing.h: Remove.
7263 * bits/std_locale.h: Remove missing.h include.
7265 * stl/bits/std_bitset.h (bitset::bitset(string): Tweak to compile.
7267 * src/Makefile.am (headers): Add bits/std_cwctype.h.
7268 INCLUDES: Add top_builddir.
7269 * src/Makefile.in: Regenerate.
7271 * Makefile.am: Add check and check-install as new targets.
7272 * testsuite/make_check_libfree++: Move to. . .
7274 * configure.in: Tweak versions.
7275 * mknumeric_limits: Set paths correctly.
7277 1999-05-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7279 * src/Makefile.in (myinstallheaders): add rule to install
7282 * bits/slice.h (class slice): don't const-qualify data members
7283 since the copy and assignment operator is implicitly used. The
7284 valarray specification is definitively a bad one.
7286 * Makefile.in (generate-limits-sources): fix typo.
7288 * docs/text/TODO: update.
7289 * docs/text/CHECKLIST: update.
7291 * bits/gslice.h (gslice): fix bugglet.
7292 (gslice::gslice): set _M_index_size to 0 whenever given lengths
7295 * src/Makefile.am (libstdc___la_SOURCES): add gen-num-limits.
7296 * src/Makefile.in (libstdc___la_SOURCES): keep in sync.
7297 [Note: **/Makefile.in should be generated from the corresponding
7298 Makefile.am. The current situation is a litte chaotic. ]
7300 1999-05-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7302 * mknumeric_limits: tweak.
7304 * Makefile.in (all): add target generate-limits-sources.
7305 (generate-limits-sources): make a directory bits/ in top_builddir
7306 where the generated std_limits.h is put; generate limitsMEMBERs.cc
7307 directly under $(top_builddir)/src. Remains to put the appropriate
7308 rule for installing std_limits.h.
7310 * src/Makefile.in (headers): remove bits/std_limits.h to this list.
7311 (INCLUDES): add -I$(top_builddir) for bits/std_limits.h which is
7312 now generated at build-time in the build directory
7313 (libstdc___la_SOURCES): remove limitsMEMBERS.cc form this list
7314 * src/Makefile.am: reflect changes in src/Makefile.in
7316 1999-05-12 Phil Edwards <pedwards@ball.com>
7318 * docs/faq/index.html: Add more entries (5.4,5.5), finish
7319 all but one empty entry. Add links for HOWTOs, but no files yet.
7320 (Corrected HOWTO links are for bkoz's new scheme.)
7321 * docs/faq/index.txt: Regenerated.
7323 1999-05-12 Benjamin Kosnik <bkoz@happy.cygnus.com>
7325 * testsuite/17_intro/headers.cc: New file.
7326 * stl/bits/std_queue.h: Change stl_bvector.h include path.
7327 * bits/std_cwctype.h: New file.
7329 * testsuite/27_io/filebuf.cc: Need to tweak directory structure.
7331 1999-05-11 Benjamin Kosnik <bkoz@loony.cygnus.com>
7333 * stl/bits/stl_config.h (__USE_MALLOC): Change underlying allocator.
7334 Check __USE_MALLOC before defining specializations containing
7335 __default_alloc_template.
7336 * src/stl-inst.cc: Here too.
7338 * bits/basic_string.h: Change.
7340 * testsuite/make_check_libfree++: More tweaks.
7341 * testsuite/21/capacity.cc: New file.
7343 * src/string.cc: Rename to be consistent with other inst files.
7344 Rename to string-inst.cc.
7345 * src/string*.cc: Change include.
7346 * src/wstring.cc: Rename to wstring-inst.cc.
7347 * src/wstring*.cc: Ditto.
7348 * src/Makefile.in: Also here.
7349 * src/Makefile.am: Ditto.
7351 * src/traits.cc: Remove.
7352 * src/wtraits.cc: Same.
7354 Try a new way of organizing documentation, one with synchronicity
7355 between testsuites and docs subdirectories, and see who yelps.
7356 * docs/html: Remove, use chapter and subject specific directories
7357 instead of forcing things immediately into format of
7361 * docs/faq/text, docs/faq/html: Remove, put in the docs/faq
7362 directory and sort by filename and extension.
7363 * docs/17_intro, 18_support, 19_diagnostics, 20_util, 21_strings,
7364 22_locale, 23_containers, 24_iterators, 25_algorithms,
7365 26_numerics, 27_io: Add.
7366 * docs/17_intro/*: Populate with all the text files. . .
7367 * docs/index.html: Construct.
7369 * testsuite/*: Update with same names as the docs subdir.
7370 * testsuite/results: Where to stash conformance results for the
7371 different snapshots, so that progress/size/speed issues can be
7374 1999-05-10 Benjamin Kosnik <bkoz@loony.cygnus.com>
7376 * src/string.cc: Add _S_copy_chars instantiation, as well as
7377 string::binary operators !=, ==, etc.
7379 * src/Makefile.am (CXXFLAGS): Remove -fvtable-thunks.
7380 * src/Makefile.in (CXXFLAGS): Same here.
7381 * testsuite/make_check_libfree++ (CXX_FLAG): And here.
7383 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
7385 * src/string.cc: Add missing member functions to instantiation list.
7387 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
7389 * src/misc-inst.cc: Remove unused string instantiations.
7391 * bits/string.tcc: Tweak, fix.
7392 * bits/basic_string.h: Format. Fix reported error with c_str().
7394 * testsuite/make_check_libfree++: Tweak for shared builds.
7395 * testsuite/21/operations.cc: New file for testing c_str() etc.
7397 1999-05-06 Benjamin Kosnik <bkoz@cygnus.com>
7398 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7400 * stl/bits/stl_vector.h: Fix the code of vector<> for usage with
7401 an iterator class. Delineate pointer versus iterator differences
7403 * 23/vector_capacity.cc: New file, tests for above.
7405 1999-05-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7407 * mknumeric_limits: Fix typo. 'unsigned lont' should read
7409 * src/Makefile.am (libstdc___la_SOURCES): add limitsMEMBERS.cc,
7410 generated by mknumeric_limits to the list. Now std_limits.h is
7412 * src/Makefile.in (generate-numeric-limits): new target to handle
7413 automatic generation of bits/std_limits.h and src/limitsMEMBERS.cc.
7414 (all): add target generate-numeric-limits.
7415 (libstdc___la_OBJECTS): add limitsMEMBERS.lo
7416 (libstdc___la_SOURCES): add limitsMEMBERS.cc
7418 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
7421 * bits/c++config.h (_G_USE_CTYPE_ISBIT): Defines new macro for
7422 mask values in ctype_base. Move hacks for _ISBit to locfacets.h.
7423 * bits/locfacts.h: Here.
7425 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
7426 Ulrich Drepper <drepper@cygnus.com>
7428 Solaris build issues.
7429 * bits/c++config.h: Define new macros, _G_USE_STRTOF and
7432 * bits/locfacets.tcc (num_get::do_get): Tweak long double and
7433 float overloads to use the above macros. Account for the lack of
7434 strtold on some systems, and revert back to using sscanf.
7436 1999-05-04 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7438 * bits/locfacets.tcc (num_get::do_get): Check the errno variable.
7439 Use strtoul/strtoull for unsigned types. Check the ranges for
7440 short/unsigned short and if necessary for int/unsigned int.
7442 1999-05-04 Benjamin Kosnik <bkoz@cygnus.com>
7444 * src/gen-num-limits.cc (round_style): Need to use mknumericlimits
7445 to generate bits/std_limits.h now, as the SGI std_limits.h is
7446 being depricated. Not done, but should be done immediately: need
7447 to make sure this script is run as part of the configuration
7448 process, because without it "make" in a configured build directory
7449 will fail. Also tweaked: added a space for float_round_style, and
7450 used static_cast of zero to default-initialize, which should be ok
7451 according to the standard. (see 8.5 p5 and 20.1.3).
7452 * mknumeric_limits (OUT_C): Need this for x86 long
7455 * bits/basic_file.h: Include libio.h, not libioP.h.
7456 * src/basic_file.cc: And add libioP.h include here, so that
7457 _IO_init, et. al are well-declared.
7459 * testsuite/make_check_libfree++ (LIB_PATH): Test installed
7460 headers, not source directory headers.
7462 * src/Makefile.am (headers): Add stl_range_errors.h, also adjust
7463 for ext/*. Also add basic_file.h.
7464 * src/Makefile.in (headers): Same.
7466 * bits/std_string.h: Reduce dependencies for faster
7467 pre-processing. Move istream and ostream specific defines into
7468 istream.tcc and ostream.tcc respectively.
7469 * bits/string.tcc: And here.
7470 * bits/basic_string.h: Move getline inline out-of-line, and to
7472 * bits/istream.tcc: Move string::getline and operator>> here.
7473 * bits/ostream.tcc: And here too.
7475 * bits/utility.h: Remove, as clashes with a standard header. Put
7476 __OUTOFRANGE and __LENGTHERROR macros into string.tcc for the time
7477 being, until this can be combined with SGI's approach.
7478 * bits/string.tcc: Add macros, as above.
7479 * bits/loccore.h: Add _Count_ones defines.
7480 * bits/std_string.h: And here too.
7481 * bits/std_locale.h: And here.
7482 * bits/std_ios.h: Take out include here.
7483 * src/Makefile.am (headers): Remove utility.h
7484 * src/Makefile.in (headers): Remove utility.h
7486 * stl/bits/*: Update to SGI STL 3.20.
7487 * stl/ext/pthread_alloc: Delete this file.
7489 1999-05-04 Phil Edwards <pedwards@ball.com>
7491 * docs/faq/html/index.html: Add more entries
7492 * docs/faq/html/index.txt: regenerated.
7494 1999-05-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7496 * src/gen-num-limits.cc (DO_DEFINE_MIN_MAX): fix typo.
7498 1999-04-29 Benjamin Kosnik <bkoz@haight.cygnus.com>
7500 * bits/locfacets.tcc (num_get::do_get): Re-implement, with input
7501 from Ulrich and Nathan. Remove extraneous string class usage,
7502 tweak, clean, simplify and consolidate with a eye towards removing
7503 duplcate code. Use strto[l, ll, f, d, ld] instead of sscanf.
7504 Not done: dealing with leading zeros, wchar_t work.
7505 * bits/locfacets.h: And here too.
7509 1999-04-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7512 * docs/faq/: New directory.
7513 * docs/faq/html/: Likewise.
7514 * docs/faq/text/: Likewise.
7515 * docs/faq/html/index.html: New file.
7516 * docs/faq/html/index.txt: Likewise. Generated from
7517 docs/faq/html/index.html by lynx.
7519 1999-04-28 Benjamin Kosnik <bkoz@happy.cygnus.com>
7520 Ryszard Kabatek and Branko Cibej
7522 * bits/locfacets.tcc: Modify.
7524 1999-04-27 Benjamin Kosnik <bkoz@happy.cygnus.com>
7526 * bits/sbuf_iter.h: Clean, fix istreambuf_iterator, make
7527 conformant to 14882, wrap non-standard extensions with
7528 _G_RESOLVE_LIB_DEFECTS, remove detritus and cruft, rennovate.
7529 * bits/locfacets.tcc (num_get::do_get(bool)): Return correct iterator.
7531 * testsuite/27/istringstream_formatted.cc: Add tests.
7533 * bits/locfacets.h: Remove cruft from _Format_cache, continue
7534 commenting, simplify.
7535 * bits/locfacets.tcc: Same.
7537 1999-04-27 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7538 * bits/locfacets.tcc (num_get::do_get):
7539 Fix the sscanf format parameter
7540 for long long 'll' (as in C9X) instead of 'l'.
7541 Fix the order of sscanf format parameters: "%dl" --> "%ld".
7542 Change the type of the local variable '__conv' from 'string'
7543 to 'const char*' and adapt the change.
7545 1999-04-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7547 * bits/locfacets.h: Document _Format_cache, and name data members
7548 after the corresponding functions in numpunct. For instance:
7549 _M_grsep -> _M_thousands_sep, and _M_decsep -> _M_decimal_point.
7550 Break apart _M_boolnames{2] into _M_truename and _M_falsename.
7551 * bits/locfacets.tcc: Same.
7553 * bits/locfacets.h (num_get::_M_extract): Don't allow groupings to
7554 stop parsing--store for later analysis.
7555 * testsuite/27/istringstream_formatted.cc: Add cases.
7557 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7559 * bits/valarray_meta.h: tweak.
7560 (_UnFunBase, _BinFunBase, _BinFunBase1, _BinFunBase2, _BinBase1,
7561 _BinFunBase2): rename typedef-name _Tp to _Vt to keep the compiler
7562 happy -- boggus warning.
7563 * bits/std_valarray.h: Fix.
7564 (valarray<T>::shift): Fix. Update comment.
7565 (valarray<T>::cshift): Fix.
7567 1999-04-23 Benjamin Kosnik <bkoz@cygnus.com>
7569 * testsuite/27filebuf-2.txt: Delete.
7570 * testsuite/27/filebuf.cc: Put output files directly into the
7571 correct subdirectory (27).
7573 Alexandre Petit-Bianco <apbianco@cygnus.com>
7574 * testsuite/make_check_libfree++: Check generated (*.txt) file
7575 against stored results file (*.tst).
7577 1999-04-22 Benjamin Kosnik <bkoz@nabi.net>
7579 * bits/locfacets.tcc: Fix.
7581 * bits/fstream.tcc (filebuf::seekoff): Output current out pointer.
7582 (filebuf::overflow): Simplify.
7583 (filebuf::xsputn): Correctly handle indeterminate state.
7585 * testsuite/27/istringstream_formatted.cc: Tweak.
7586 * testsuite/27/filebuf.cc: Tweak.
7587 * testsuite/27/filebuf-3.tst: Correct: this is the canonical
7588 results file, please use this in the future to guarantee filebuf
7589 positioning accuracy.
7590 * testsuite/27/filebuf-2.tst: Same.
7592 1999-04-21 Benjamin Kosnik <bkoz@cygnus.com>
7594 * bits/fstream.tcc (filebuf::xsputn): Add.
7595 * bits/std_fstream.h: Declare.
7597 * src/basic_file.cc (__basic_file::open): Add O_CREAT to open
7598 calls using ios_base::trunc.
7600 * bits/sstream.tcc (streambuf::overflow): Fix crasher.
7602 * testsuite/make_check_libfree++ (LOG_FILE): Ugh. Another fix.
7603 * testsuite/27/27stringstream.cc: Same.
7604 * testsuite/27/27stringbuf.cc: More tweaks.
7605 * testsuite/27/27filebuf-2.txt: Remove.
7607 * testsuite/27/27filebuf-1.tst: Append, to force byte size over
7608 BUFSIZE so that overflows/underflow can be tested with default
7610 * testsuite/27/27filebuf-1.tst: Add.
7612 * testsuite/*/*: Remove pre-pended chapter names, as they
7613 duplicate the chapter info contained in the enclosing directory
7616 1999-04-20 Benjamin Kosnik <bkoz@cygnus.com>
7618 * bits/streambuf.tcc (streambuf::xsputn): Re-implement to conform
7619 to sputc conditions.
7621 * bits/ios_base.h: Define here.
7622 * src/ios.cc (ios_base::_M_clear): Remove hack.
7623 * bits/basic_ios.h: Fix rdstate().
7625 * bits/sstream.tcc (streambuf::seekoff): Fix.
7626 * bits/fstream.tcc (filebuf::seekoff): Tweak comments.
7628 * testsuite/make_check_libfree++ (LOG_FILE): More c-c-c-changes.
7629 * testsuite/24/24iterator.cc: Add/Fixes for DEBUG_ASSERT.
7630 * testsuite/27/27stringstream.cc: Same.
7631 * testsuite/27/27stringbuf.cc: Same.
7632 * testsuite/27/27istringstream_formatted.cc: Same.
7633 * testsuite/27/27filebuf.cc: Same.
7635 * bits/locfacets.h: Remove specializations for messages<char> and
7636 messages<wchar_t> ctors. Same for moneypunct. Not required, not used.
7637 * src/locale.cc: Remove definitions for above.
7638 * src/misc-inst.cc: Revert, take out iomanip.h include.
7639 * bits/std_iomanip.h: Tweak, format.
7641 1999-04-19 Benjamin Kosnik <bkoz@cygnus.com>
7643 * bits/loccore.h: Format, move inline.
7644 * bits/locfacets.tcc: Same.
7645 * bits/locfacets.h: Same.
7647 Ulrich Drepper <drepper@cygnus.com>
7648 * aclocal.m4: Re-generate.
7649 * configure, configure.in: Same.
7650 * m4/lc_messages.m4: New file.
7652 1999-04-18 Benjamin Kosnik <bkoz@cygnus.com>
7654 * bits/std_ostream.h: Fix typedef for wchar_t instantiations.
7655 * bits/sstream.tcc: Tweak.
7657 * std/iostream: Put __ioinit inside macro guards.
7659 * src/stlinst.cc: Delete and move to . . .
7660 * src/stl-inst.cc: New file, plus wrapping in namespace std.
7661 * src/Makefile.in: Change.
7662 * src/Makefile.am: Same.
7663 * src/misc-inst.cc: Add istringstream/ostringstream instantiations.
7665 * testsuite/make_check_libfree++: Efficiently format for minimal
7666 space. Enforce stricter execution tests by enabling
7669 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
7671 * docs/text/RELEASE-NOTES: Fix include typo.
7673 * src/Makefile.am (headers): Add istream.tcc.
7674 * src/Makefile.in (headers): Add istream.tcc.
7676 * ltconfig, ltmain.sh, libtool: Update to libtool-1.2g.
7678 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
7680 * bits/locfacets.tcc (num_get::do_get(long)): Finish roughing in.
7681 * bits/locfacets.h (num_get::_M_extract): New functin:
7682 consolidate logic for do_get(...) members.
7684 * bits/sbuf_iter.h (istreambuf_iterator::operator++()): Fix.
7685 * testsuite/27/27istringstream_formatted.cc: Add.
7687 1999-04-16 Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de>
7689 * src/basic_file.cc (__basic_file::open): Fix thinko in
7690 _G_HAVE_IO_FILE_OPEN bits.
7691 * bits/std_istream.h (sentry::sentry(istream, bool)): Fix isspace bug.
7692 * bits/std_cmath.h: Add stdlib.h include for ldiv_t.
7693 * src/complex.cc (FCT): Qualify all functions with global namespace.
7694 * src/locale.cc: Don't qualify memcpy and setlocale.
7695 * src/stdexcept.cc (__out_of_range): Qualify out_of_range with std::.
7696 (__length_error): Likewise, for length_error.
7697 * src/stlinst.cc: Qualify instantiations with std::.
7699 1999-04-15 Benjamin Kosnik <bkoz@cygnus.com>
7701 * C++STYLE: Add ChangeLog guidelines for member functions.
7704 * BADNAMES, BUGS, C++STYLE, CHECKLIST, COPYING,
7705 DESIGN, HEADER_POLICY, PROBLEMS, RELEASE-NOTES, TODO: Moved into
7706 docs/text and made less strident.
7708 * bits/fstream.tcc: Change non-standard ctor to match Sun's sematics.
7709 * bits/std_fstream.h: Same.
7712 * bits/locfacets.h: Touch.
7714 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
7716 * math/cexp.c (cexp): Use NAN instead of nan("").
7717 Reported by joel reed <joelreed@yahoo.com>.
7719 * libio/libioP.h: Define _IO_seek_fpos_t and _IO_seek_off_t based on
7720 _G_IO_IO_FILE_VERSION. Use these types in the prototypes.
7721 * libio/fileops.c: Use _IO_seek_fpos_t and _IO_seek_off_t types
7722 instead of #if cascades.
7723 * libio/genops.c: Likewise.
7724 * libio/ioseekoff.c: Likewise.
7725 * libio/ioseekpos.c: Likewise.
7726 * libio/strops.c: Likewise.
7727 Patch by Chip Salzenberg <chip@perlsupport.com>.
7729 1999-04-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7731 * docs: New directory.
7732 * docs/html: Likewise.
7733 * docs/text: Likewise.
7734 * docs/image: Likewise.
7736 * bits/std_cmath.h: Add new functions.
7737 (abs): overload for long and double.
7738 (div): overload for long.
7740 * bits/valarray_array.h: Fix.
7741 * bits/gslice.h: Adjust friend.
7742 * bits/slice_array.h: likewise.
7743 * bits/valarray_meta.h: likewise.
7745 1999-04-13 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7747 * bits/locfacets.h: More changes, for num_get for insertion
7748 operators for integral types. Comment fields in _Format_cache.
7749 * bits/locfacets.tcc: And here too: add preliminary long version.
7750 * testsuite/27/27istringstream_formatted.cc: Add cases.
7752 1999-04-13 Mark Elbrecht <snowball3@usa.net>
7754 * configure.in: Add locale.h to AC_CHECK_HEADERS argument. Call
7755 AC_LC_MESSAGES macro.
7756 * aclocal.m4 (AC_LC_MESSAGES): New. Determines if a target
7757 supports LC_MESSAGES.
7758 * config.h.in: Add entry for HAVE_LC_MESSAGES.
7759 * src/locale.cc (locale::_S_normalize_category): Use the
7760 HAVE_LC_MESSAGES macro to check for LC_MESSAGES support instead of
7761 _G_NO_CLOCALE_HAS_MESSAGES.
7762 * aclocal.m4 (AM_PROG_LD): For DOS style paths, simplify test to
7763 '?:' from '?:\\' so any path beginning with a drive name matches.
7765 1999-04-12 Mark Elbrecht <snowball3@usa.net>
7767 * src/basic_file.cc(sys_open) [O_BINARY]: Declare __testb.
7769 1999-04-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7771 * bits/locfacets.h: Tweak.
7772 * bits/locfacets.tcc(do_get): Clean/fix bool method.
7774 * testsuite/21/21nonmember.cc: Same.
7775 * testsuite/21/21compare.cc: Fix license.
7776 * testsuite/27/27istringstream_formatted.cc: New file.
7778 1999-04-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7780 * bits/valarray_meta.h: _BinFunBase1, _BinFunBase2, _BinBase1,
7781 _BinBase2: new template classes; put in there to work around a
7782 compiler limitation. The whole valarray architecture is now
7785 1999-04-08 Benjamin Kosnik <bkoz@haight.constant.com>
7787 * bits/locfacets.tcc: Fix, format.
7788 * bits/locfacets.h: Fix.
7789 * src/locale.cc: Same, plus format.
7791 * bits/basic_string.h: Re-add definition here.
7792 * src/string.cc: Take out.
7794 1999-04-08 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7796 * bits/std_valarray.h: tweak.
7797 * bits/valarray_array.h tweak. use _Expr.
7798 * bits/slice_array.h: likewise.
7799 * bits/gslice_array.h: likewise.
7800 * bits/mask_array.h: likewise.
7801 * bits/indirect_array.h: likewise.
7802 * bits/valarray_meta.h: tweak.
7803 _UnFunBase, _UnFunClos, _BinFunBase, _FunBase, _ValFunClos,
7804 _RefFunClos, _UnBase, _UnClos, _BinBase, _BinClos, _SClos, _GClos,
7805 _IClos: new template classes.
7806 _Meta: renamed to _Expr. Made template with args.
7807 _Constant: made template with two args.
7809 1999-04-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7811 * bits/valarray_array.h: tweak.
7813 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
7815 * bits/basic_string.h: Whoops--fix blip.
7817 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
7819 Update to SGI STL 3.13
7820 * bits/basic_string.h: Add __get_c_string definition.
7821 * stl/bits/stl_range_errors.h: New file.
7822 * stl/bits/std_bvector.h: Same.
7823 * stl/bits/*: Update.
7825 1999-04-04 1999 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7827 * bits/slice_array.h: tweak.
7828 * bits/gslice_array.h: tweak.
7829 * bits/mask_array.h: tweak.
7830 * bits/indirect_array.h: tweak.
7831 * bits/valarray_array.h: tweak.
7832 (__valarray_copy): replace copy with memcpy.
7833 * bits/std_valarray.h: use __valarray_copy whenever possible.
7834 use __valarray_fill instead of fill.
7836 1999-04-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7838 * src/gen-num-limits.cc: new file
7839 * mknumeric_limits: Ditto.
7841 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
7843 * bits/locfacets.tcc: Do a stub version of num_get for short, int,
7845 * bits/locfacets.h: Add num_get::get methods overloaded for int
7846 and short, to resolve ambiguous overloads in istream insertion
7849 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
7851 * bits/std_istream.h: Fix.
7852 * bits/istream.tcc: Fix.
7854 1999-03-30 Philip Martin <pm@corris.dircon.co.uk>
7856 * testsuite/24/24iterator.cc: fix ++/-- tests
7858 1999-03-29 Benjamin Kosnik <bkoz@cygnus.com>
7860 * bits/std_ostream.h: Looks like this, actually: Fix up eh-isms.
7861 * bits/ostream.tcc: Same.
7863 * bits/std_istream.h: Bring over ostream changes, implement member
7864 functions. Baseline.
7865 * bits/istream.tcc: New file.
7867 1999-03-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7869 * bits/gslice.h (class gslice): fix friends template.
7871 1999-03-23 Benjamin Kosnik <bkoz@cygnus.com>
7873 * bits/std_ostream.h: Fix sentry objects, implement seekp, tellp,
7875 * bits/ostream.tcc: Same.
7877 * bits/std_istream.h: Minor tweaks.
7879 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
7881 * src/locale-inst.cc: Remove duplicate instantiations.
7882 * bits/locfacets.tcc: Tweak definitions of static member.
7884 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
7886 * bits/std_fstream.h: Format: prepend "__" in front of
7887 non-standard typedefs.
7888 * bits/fstream.tcc: Match.
7889 * bits/std_streambuf.h: Format: prepend "__" in front of
7890 non-standard typedefs.
7892 * bits/sstream.tcc: Match.
7893 * bits/std_istream.h: Format.
7894 * src/locale-inst.cc: Add num_get instantiations.
7896 * bits/std_sstream.h: Fix crash in stringstreams. Remove member
7897 _M_sb, a basic_stringbuf object, and use the basic_ios pointer
7898 _M_streambuf instead. Make initializations sane. Fix
7899 allocation/deallocation of _M_streambuf.
7900 * bits/std_ostream.h: Fix initialization code.
7901 (ctor): Eliminate redundant this->init(), let base class initialize.
7902 (default ctor): New. Assume base classes already initialzed.
7903 * bits/std_istream.h: Parallel work to ostream.
7904 (ctor): Eliminate redundant this->init(), let base class initialize.
7905 (default ctor): New. Assume base classes already initialzed.
7906 Fix initialization of basic_iostream.
7908 * bits/std_fstream.h: While we're at it, make initializations sane
7909 here too. Now matches sstream.h.
7911 * bits/string.tcc: Fix crash in basic_string::compare.
7912 * bits/basic_string.h: And here.
7913 * bits/c++config.h: Add comment about _G_USE_EXCEPTIONS.
7915 * testsuite/make_check_libfree++: Check shared as well.
7916 * testsuite/27/27stringstream.cc: Add bits.
7917 * testsuite/27/27boolfmt.cc: Add bits.
7918 * testsuite/27/27octfmt.cc: Add bits.
7920 1999-03-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
7922 * configure.in (USE_LONG_DOUBLE): signbitl link error.
7924 * bits/locfacets.h: Fix errors that cause build problems
7925 with current egcs (template parameters have class scope).
7926 * bits/locfacets.tcc: Same.
7927 * src/locale-inst.cc: Same, clean.
7928 * src/misc-inst.cc: Same, clean.
7930 1999-03-17 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7932 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
7933 standard. Re-apply this previous patch.
7935 1999-03-17 Philip Martin <pm@corris.dircon.co.uk>
7937 * bits/basic_string.h: Use __normal_iterator<> for iterators.
7938 * bits/std_sstream.h: Support __normal_iterator<> iterators.
7939 * bits/string.tcc: Ditto.
7940 * src/misc-inst.cc: Ditto.
7941 * src/locale-inst.cc: Ditto.
7942 * stl/bits/stl_iterator.h: Add __normal_iterator<>.
7943 * stl/bits/stl_vector.h: Use __normal_iterator<> for iterators.
7944 * testsuite/24/24iterator.cc: Add test cases for basic_string and
7947 1999-03-16 Benjamin Kosnik <bkoz@cygnus.com>
7949 * bits/locfacets.tcc: Remove macro hack.
7950 * bits/locfacets.h: Tweaks.
7951 * src/misc-inst.cc: Weed out locale-related instantiations.
7952 * src/locale-inst.cc: Same.
7954 * RELEASE-NOTES: Make more changes.
7955 * bits/c++config.h: Bump version number.
7957 * testsuite/make_check_libfree++: Collect diagnostics.
7959 * bits/std_ostream.h: Fix ostream initialization/destruction
7960 problem, related to dtor cleanup and new cached facets, agggggggh.
7961 * bits/ostream.tcc: Tweak.
7962 * bits/locfacets.h: Remove all friends of iostream classes.
7963 * bits/ios_base.h: Same.
7964 * bits/streambuf.tcc: Tweak.
7965 * bits/std_streambuf.h: Tweak.
7966 * bits/std_fstream.h: Tweak.
7967 * bits/fstream.tcc: Tweak.
7968 * src/stdstreams.cc: Tweak.
7969 * src/ios.cc: Close streams.
7971 * math/Makefile.in: Add missing files for shared link errors.
7972 * math/Makefile.am: Same.
7974 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
7976 * src/locale-inst.cc: More wchar_t instantiations.
7977 * src/misc-inst.cc: Missed a few bits.
7978 * testsuite/make_check_libfree++: Add static and shared runs.
7979 * src/ios.cc: Add clarity to ios_base::Init::~Init().
7981 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
7983 * bits/std_ostream.h: Format, expunge, simplify. Add cached
7984 facets. Resolve link errors.
7985 * bits/ostream.tcc: Same.
7986 * src/misc-inst.cc: Add ostream, wostream instantiations.
7987 * src/Makefile.am: Add missing bits for stdstreams.cc.
7988 * src/Makefile.in: Same.
7989 * bits/std_iosfwd.h: Format.
7990 * bits/locfacets.h (num_put): Add basic_ostream as a friend to
7991 num_put so that cached _M_fnumput pointer can be deleted in
7992 basic_ostream's dtor. Now everybody plays nice.
7994 1999-03-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7996 * bits/gslice.h (class gslice): Make friends valarray,
7997 gslice_array and _GliceExpression.
7999 1999-03-11 Benjamin Kosnik <bkoz@cygnus.com>
8001 * RELEASE-NOTES: Update.
8002 * src/ios.cc: Use do proper init.
8003 * bits/std_streambuf.h: Tweak.
8004 * bits/std_iostream.h: Take out static member.
8005 * std/iostream: Put here.
8006 * bits/std_ostream.h: Non-default ctor shouldn't smash _M_streambuf.
8007 * bits/std_istream.h: Ditto.
8008 * bits/basic_ios.h: Format.
8009 * bits/ostream.tcc(write): Fix.
8010 * bits/fstream.tcc: Fix stdstreams ctor to do a proper
8011 initialization of the fstream class.
8012 * src/stdstreams.cc: I'm baaaaaaaack.
8014 1999-03-10 Benjamin Kosnik <bkoz@rhino.cygnus.com>
8016 * bits/ios_base.h: Correct comments. Add ios_base::init()
8017 functionality. Format, tweak, expunge, clean, bathe, and hang to dry.
8018 * src/misc-inst.cc: Add instantiations here.
8019 * src/ios.cc: Clean.
8020 * bits/std_iostream.h: Add wrappers, global ios_base::Init object.
8021 * src/stdstreams.cc: Delete this file, as now unnecessary.
8022 * bits/fstream.tcc: Add missing initialization bits for ctor.
8023 * src/Makefile.am (libstdc___la_SOURCES): Delete here as well.
8024 * src/Makefile.in (libstdc___la_OBJECTS): And here.
8026 * bits/streambuf.tcc: Tweak.
8027 * bits/sstream.tcc: Here too.
8029 * bits/fstream.tcc: And change definition as well.
8030 * bits/std_fstream.h: Change ctor.
8031 * src/basic_file.cc (sys_open): Add call that opens a specific fileno.
8032 * bits/basic_file.h: Add declarations.
8034 * testsuite/27/27hello.cc: New file.
8036 * bits/std_ostream.h: Move flush() inline.
8037 * bits/ostream.tcc: From here.
8039 * bits/char_traits.h: Add include of fpos.h for streamoff/streampos.
8040 * bits/std_ios.h: Change include libio to only when necessary.
8041 * bits/fpos.h: Like here.
8042 * ios_base.h: And here.
8044 * bits/locfacets.h: Change _Iostate to _Ios_Iostate.
8045 * bits/locfacets.tcc: Same.
8046 * bits/std_locale.h: Include std_ios.h not std_iosfwd.h.
8047 * bits/std_iosfwd.h: Move _Ios_Iostate to ios_base.h
8049 1999-03-09 Benjamin Kosnik <bkoz@rhino.cygnus.com>
8051 * bits/basic_ios.h: Change _M_ctype to _M_fctype.
8053 * bits/std_streambuf.h: Clean, tweak.
8054 * bits/std_fstream.h: Same.
8055 * bits/std_sstream.h: Same.
8056 * bits/streambuf.tcc: Move most member functions out-of-line.
8057 * bits/fstream.tcc: Same.
8058 * bits/streambuf.tcc: Same.
8060 * bits/basic_file.h(filepos_cur): Set correctly.
8061 (filepos_beg): Same.
8062 (seekpos): Change to __c_streampos.
8063 * src/basic_file.cc (std): Change to __c_streampos.
8065 * testsuite/27/27filebuf.cc: Round one is finished.
8066 * testsuite/27/27filebuf-2.tst: New file, final output should match.
8067 * testsuite/27/27filebuf-3.tst: Same.
8069 1999-03-08 Benjamin Kosnik <bkoz@rhino.cygnus.com>
8071 * bits/basic_file.h: Fix typo, add comments about what to expect
8072 from the various member functions in __basic_file.
8074 * bits/std_fstream.h: Re-do sync/underflow to work
8075 together. Change from sys_read to xsgetn and from sys_write to
8076 xsputn. As it should have been from the beginning. . .
8078 1999-03-06 Benjamin Kosnik <bkoz@haight.constant.com>
8080 * bits/c++config.h (__GLIBCPP__): Add versioning macro.
8082 * bits/basic_file.h(file_beg): New function.
8085 * testsuite/27/27filebuf.cc: Test in, out, in | out.
8086 * bits/std_fstream.h: More _M_mode refinements.
8087 (synch): Add bits for out mode only.
8088 * bits/std_streambuf.h(xsputn): Correct for filebufs.
8089 * bits/std_sstream.h: Ditto.
8091 1999-03-03 Benjamin Kosnik <bkoz@cygnus.com>
8093 * bits/std_fstream.h: Fix _M_mode AND with ios_base::openmode.
8094 * testsuite/27/27filebuf.cc: Modify.
8095 * bits/c++config.h: Fix.
8097 1999-03-02 Benjamin Kosnik <bkoz@tintin.cygnus.com>
8099 * bits/c++config.h: New macro, _G_RESOLVE_LIB_DEFECTS, used to put
8100 code in place that diverges from the final standard, but has been
8101 brought up on the library mailing list.
8103 * bits/std_fstream.h(underflow): Position all three internal
8104 buffer pointers at the same initial position. Re-implement with
8105 basic_filebuf abstraction.
8109 * bits/std_sstream.h: Move _M_mode down into base class
8111 * bits/sstream.tcc: Ditto.
8112 * bits/std_streambuf.h: Ditto.
8114 * testsuite/27/27filebuf.cc: Tweak.
8116 1999-02-27 Benjamin Kosnik <bkoz@slap-happy.cygnus.com>
8118 * bits/std_sstream.h: Ditto.
8119 * bits/std_fstream.h: Fix blip.
8121 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
8123 * C++STYLE: Add cases.
8124 * bits/std_fstream.h: Format.
8125 * bits/std_streambuf.h: Ditto.
8126 * bits/std_sstream.h: Ditto.
8128 * src/basic_file.cc(sys_seek): Fix stack delirium, by keeping
8129 return type for _IO_file_seek and __basic_file::seek the same size.
8130 * bits/basic_file.h: Ditto.
8132 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
8134 * bits/fstream.tcc: Add include guards.
8135 * src/misc-inst.cc: Add instantiations for shared libes.
8136 * src/locale-inst.cc: Add instantiaions for use_facet.
8137 * bits/loccore.h: Remove specialization foward decls for
8138 use_facet<ctype>: perhaps add the whole lot of them later on.
8139 * bits/std_fstream.h: Fix.
8140 * bits/locfacets.h: Ditto.
8141 * src/stdstreams.cc: Disable wide streams for now.
8143 * src/Makefile.am (CXXFLAGS): Change up.
8144 * src/Makefile.in (CXXFLAGS): Ditto.
8146 1999-02-25 Benjamin Kosnik <bkoz@happy.cygnus.com>
8148 * src/basic_file.cc: Change to ios_base::seekdir from int.
8149 * bits/basic_file.h: Ditto.
8150 * bits/locfacets.h : Fix blip with new guard macros.
8152 1999-02-25 Benjamin Kosnik <bkoz@cygnus.com>
8154 * stl/bits/stl_config.h (__STL_USE_STD_ALLOCATORS): Minor tweaking.
8155 * bits/c++config.h: Clean. Remove _G_NO_STREAMBUF_ITERATORS and
8157 * amm1/locale: Remove unused defines.
8158 * generic/locale: Ditto.
8159 * src/ios.cc: Ditto.
8160 * src/locale.cc: Ditto.
8161 * src/locale-inst.cc: Ditto.
8162 * src/localename.cc: Ditto.
8163 * src/stdstreams.cc: And here.
8165 * bits/c++config.h (_G_USE_WCHAR_T): Fix.
8166 * bits/loccore.h: Simplify, clean, add wchar_t guards.
8167 * bits/loccore.tcc: Ditto.
8168 * bits/locfacets.h: Ditto.
8169 * src/locale-inst.cc: Ditto.
8170 * bits/locfacets.tcc: Add do_put long long here.
8172 1999-02-24 Benjamin Kosnik <bkoz@cygnus.com>
8174 * bits/std_streambuf.h: Add cached ctype facet, _M_ctype.
8175 * bits/basic_ios.h: Clean. Replace _M_strbuf with
8176 _M_streambuf. Use cached _M_cvt in basic_streambuf.
8177 * bits/std_istream.h: Replace _M_strbuf with _M_streambuf.
8178 * bits/std_fstream.h: Tweak.
8180 * bits/char_traits.h: Remove fpos definitions from here. . .
8181 * bits/fpos.h: New file, put them here. Eventually, this may allow
8182 the severing of char_traits and fpos dependancies.
8183 * src/Makefile.in: Add fpos.h.
8184 * src/Makefile.am: Ditto.
8185 * bits/std_string.h: Add fpos.h include here.
8186 * bits/std_ios.h: And here.
8188 * bits/std_streambuf.h: Change _M_init to _M_initialized.
8189 * bits/ios_base.h: Remove cstdio include.
8190 * bits/std_ios.h: ... Place here.
8192 1999-02-23 Benjamin Kosnik <bkoz@loony.cygnus.com>
8194 * src/Makefile.in (CXXFLAGS): Re-add -fvtable-thunks.
8195 * src/Makefile.am (CXXFLAGS): Re-add -fvtable-thunks.
8197 * bits/basic_file.h: Comment, adjust arguments.
8198 * src/basic_file.cc: Ditto.
8200 * bits/std_fstream.h(seekoff): Error is of fpos type, not integral
8201 type: check and convert accordingly. Re-interpet "resultant stream
8202 position" to indicate external byte sequence location, not internal
8205 1999-02-22 Benjamin Kosnik <bkoz@loony.cygnus.com>
8207 * mkcshadow: And change copyright here.
8208 * src/Makefile.am (CXXFLAGS): Add -g -O2. Add new header
8209 dependencies for stl_pthread_alloc.h, pthread_allocimpl.h,
8210 stl_thread.h, and stl_iterator_base.h.
8211 * src/Makefile.in (CXXFLAGS): Ditto.
8212 * stl/backward/pthread_alloc.h: Remove.
8214 1999-02-19 Benjamin Kosnik <bkoz@loony.cygnus.com>
8216 * bits/std_streambuf.h (sungetc): Use standard defs for putback
8218 * bits/std_fstream.h (pbackfail): Correct.
8220 (seekoff): Implement.
8222 * testsuite/27/27filebuf.cc: Add test cases.
8224 1999-02-18 Benjamin Kosnik <bkoz@loony.cygnus.com>
8226 * bits/std_fstream.h: Go with basic_file's interfaces for dealing
8227 with the external buffers, and stop mucking around with setting
8228 and re-setting the external buf's pointers. Aka, clarity and
8229 simplicity rule the day.
8230 * src/locale.cc: Use memcpy in codecvt::do_in and codecvt::do_out.
8231 Remove partial result and support code.
8233 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
8235 * configure.in: Add hypot, hypotf, atan2f, expf, and copysignf to
8236 list of function which have to be replaced.
8237 Remove expf from list of functions to test for.
8238 Define USE_LONG_DOUBLE in case the libm has partial support for long
8240 * Makefile.in: Regenerated.
8241 * config.h.in: Likewise.
8242 * configure: Likewise.
8243 * libio/Makefile.am (LIBIO_SRCS): Add missing backslash.
8244 * libio/Makefile.in: Regenerated.
8245 * src/Makefile.in: Regenerated.
8246 * string/Makefile.in: Regenerated.
8247 * math/Makefile.am (EXTRA_DIST): Add hypot.c, hypotf.c, hypotl.c,
8248 atan2f.c, expf.c, and $(EXTRA_yes).
8249 (EXTRA_yes): Add signbitl.c mycabsl.c.
8250 (libmath_la_LIBADD): Add $(EXTRA_$(USE_LONG_DOUBLE)).
8251 (libmath_la_SOURCES): remove long double versions.
8252 * math/Makefile.in: Regnerated.
8253 * math/atan2f.c: New file.
8254 * math/copysignf.c: New file.
8255 * math/expf.c: New file.
8256 * math/hypot.c: New file.
8257 * math/hypotf.c: New file.
8258 * math/hypotl.c: New file.
8259 * math/cargf.c: Use correct function and macro names.
8260 * math/ccos.c: Likewise.
8261 * math/ccosh.c: Likewise.
8262 * math/ccoshf.c: Likewise.
8263 * math/ccoshl.c: Likewise.
8264 * math/cexp.c: Likewise.
8265 * math/cexpf.c: Likewise.
8266 * math/cexpl.c: Likewise.
8267 * math/clog.c: Likewise.
8268 * math/clog10.c: Likewise.
8269 * math/clog10f.c: Likewise.
8270 * math/clog10l.c: Likewise.
8271 * math/clogf.c: Likewise.
8272 * math/clogl.c: Likewise.
8273 * math/copysignf.c: Likewise.
8274 * math/csin.c: Likewise.
8275 * math/csinf.c: Likewise.
8276 * math/csinh.c: Likewise.
8277 * math/csinhf.c: Likewise.
8278 * math/csinhl.c: Likewise.
8279 * math/csinl.c: Likewise.
8280 * math/csqrt.c: Likewise.
8281 * math/csqrtf.c: Likewise.
8282 * math/csqrtl.c: Likewise.
8283 * math/ctan.c: Likewise.
8284 * math/ctanf.c: Likewise.
8285 * math/ctanh.c: Likewise.
8286 * math/ctanhf.c: Likewise.
8287 * math/ctanhl.c: Likewise.
8288 * math/ctanl.c: Likewise.
8290 1999-02-17 Benjamin Kosnik <bkoz@cygnus.com>
8292 * testsuite/27/27filebuf.cc: Add cases.
8293 * testsuite/27/27filebuf-1.txt: Remove inadvertent garbage.
8294 * bits/std_streambuf.h: Simplify, always have one return statement.
8295 * bits/std_fstream.h: Tweak comments in underflow.
8297 1999-02-17 Ulrich Drepper <drepper@cygnus.com>
8299 * ltmain.sh: Update from libtool 1.2d and fix Solaris problems.
8300 * ltconfig: Likewise.
8302 1999-02-16 Christophe Pierret <cpierret@businessobjects.com>
8304 * src/locale.cc: Fix assert.
8306 1999-02-16 Benjamin Kosnik <bkoz@cygnus.com>
8308 FIXME: Still need some kind of solution for undefined math symbols.
8309 * src/Makefile.in (locale-inst.lo): Compile with
8310 -fimplicit-templates to fix Solaris link problem.
8311 * src/Makefile.am: Ditto.
8312 * libio/Makefile.in: Add stdfiles.c so that _IO_list_all is defined.
8313 * libio/Makefile.am: Ditto.
8314 * src/locale.cc: Provide some kind of def for _S_tolower.
8315 * bits/locfacets.h: Fix declarations of ctype<wchar_t> to
8316 match ctype<char> for _S_tolower, _S_toupper, _S_table.
8318 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
8320 * bits/loccore.tcc: Move member-template ctor inline...
8321 * bits/loccore.h: ...here.
8322 * src/locale-inst.cc: Add instantiation here.
8324 * testsuite/27/27stringstream.cc: Tweak.
8326 * bits/ostream.tcc: Include sbuf_iter.h.
8328 * bits/ostream.tcc: Convert *this to ostreambuf_iterator before
8329 passing to num_put, as num_put's first argument is an interator,
8332 * testsuite/make_check_libfree++: New file, runs through the
8333 existing test files in the testsuite directory and makes sure
8336 1999-02-10 Brendan Kehoe <brendan@cygnus.com>
8338 * testsuite/21/21compare.cc: Fix typo.
8339 * src/locale.cc (ctype<wchar_t>::_S_{toupper,tolower,table}):
8340 Don't try to provide non-linux versions, since it's impossible to
8341 initialize their const references with the integer 0, no matter
8342 how we try to cast it.
8344 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
8346 * bits/std_locale.h: Move std_vector.h dependency.
8347 * bits/std_ios.h: ...from here.
8348 * bits/std_string.h: ...and here.
8349 * src/locale.cc: ..to here.
8350 * bits/loccore.h: Ditto, add vector forward declaration,
8351 make locale::_Impl data members pointers not containers.
8352 * bits/loccore.tcc: Move out-of-line for now.
8353 * bits/locfacets.h: Move vector dependency from here...
8354 * bits/locfacets.tcc: ...to here.
8355 * src/localename.cc: ..and here.
8356 * src/locale-inst.cc: Add include of locfacets.tcc here.
8358 * stl/bits/stl_string_fwd.h: Make __get_c_string non-static.
8359 * bits/basic_string.h: Can't use sizeof on an incomplete type.
8360 * bits/string.tcc: Tweak.
8361 * src/string.cc: And add __get_c_string def here.
8363 * bits/std_fstream.h: Yeah, comment the fill_n idea out as impractical.
8365 * src/stlinst.cc: Add include of stl_config.h.
8367 1999-02-09 Benjamin Kosnik <bkoz@cygnus.com>
8369 * stl/bits/std_bitset.h: Update to SGI STL 3.12.
8370 * stl/bits/stl_config.h: Tweak, update.
8371 * stl/bits/std_stdexcept.h: Ditto, change stl_exception to
8373 * stl/bits/std_memory.h: Reconstructed auto_ptr, Ditto.
8374 * stl/bits/std_functional.h: Ditto.
8376 * stl/bits/stl_string.h: New file, SGI's string
8377 implementation. For reference only, corresponding to string in
8379 * stl/bits/stl_char_traits.h: As above.
8381 * stl/bits/pthread_allocimpl.h: New file corresponding to
8383 * stl/bits/stl_pthread_alloc.h: New file corresponding to
8385 * stl/bits/stl_threads.h: New file.
8387 Note that SGI STL 3.12's file iterator.h is not used.
8388 * stl/bits/std_iterator.h: Ditto.
8389 * stl/bits/stl_iterator.h: Drop in replace.
8390 * stl/bits/stl_iterator_base.h: New file, drop in replace.
8392 * stl/bits/stl_queue.h, stl_rope.h, stl_set.h, stl_stack.h,
8393 stl_string_fwd.h, stl_tempbuf.h, stl_tree.h, stl_vector.h,
8394 stl_pair.h, stl_multimap.h, stl_multiset.h, stl_list.h,
8395 stl_hashtable.h, stl_hash_set.h, stl_hash_map.h, stl_function.h,
8396 stl_deque.h, stl_alloc.h, stl_algo.h, stl_algobase.h, ropeimpl.h:
8397 Drop-in replace (ie, stop changing __SGI_STL_* to _CPP_BITS_* for
8398 preprocessor guards, but fixup include paths and names according
8399 to new directory layout).
8401 1999-02-05 Benjamin Kosnik <bkoz@cygnus.com>
8403 * bits/std_fstream.h: Remove _M_open data member.
8404 * bits/fstream.tcc: Ditto.
8406 * src/locale.cc: Tweak.
8408 * bits/std_sstream.h: Simplify.
8410 * bits/std_streambuf.h: Simplify.
8411 (sputc): Use correct definition of "write area."
8413 * bits/std_fstream.h: Fix uflow.
8414 * src/basic_file.cc: Tweak.
8415 * testsuite/27/27filebuf.cc: Add tests.
8416 * testsuite/27/27filebuf-3.txt: Rename to *-2.txt.
8418 1999-02-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8420 * bits/ios_base.h: Make protected.
8422 1999-02-01 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8424 * bits/ios_base.h: Changes in the class ios_base:
8425 Rename _M_exceptions member to _M_exceptions_data.
8426 Make the member functions rdstate(), clear(), exceptions()
8427 and exceptions(iostate) protected and add the "_M_" prefix.
8428 * src/ios.cc: Ditto.
8429 * bits/basic_ios.h: Adapt the changes from ios_base.
8431 1999-01-29 Benjamin Kosnik <bkoz@cygnus.com>
8433 * bits/std_fstream.h: Remove _M_flags, _M_equilibrate as unnecessary.
8434 * bits/fstream.tcc: Ditto.
8436 * bits/std_fstream.h (underflow): Resize deallocates memory and
8437 resets pointers in the internal cache according to new _M_buf. . dooh!
8438 * src/locale.cc: Mas changes with codecvt::do_in, do_out.
8440 1999-01-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8442 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
8445 1999-01-28 Benjamin Kosnik <bkoz@cygnus.com>
8447 * src/locale.cc (codecvt::do_in): Finer-grained tuning to take
8448 into account partial returns.
8449 (codecvt::do_out): Likewise.
8451 * bits/char_traits.h: Change streamsize to be a signed type, as
8452 required by 27.4.1 Types p 2. (Changing to _IO_ssize_t.)
8453 * bits/std_streambuf.h: Make
8454 in_avail() and showmanyc() have streamsize as return types, so
8455 that showmanyc()'s return of eof won't underflow in_avail's return
8456 value and give a bogus result.
8457 * src/misc-inst.cc: And more changes. . .
8459 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_unified to keep
8460 track of joint in/out pointers into the internal buffer.
8461 (sbumpc): Add check for _M_buf_unified.
8465 * testsuite/27/27filebuf.cc: Add cases.
8466 * testsuite/27/27stringbuf.cc: Add showmanyc case.
8468 * bits/std_fstream.h (close): Fix logic error.
8469 (open): Initialize internal pointers based on _M_buf and _M_buf_size.
8470 (showmanyc): Add underflow component, to match the standard.
8472 * bits/fstream.tcc: Ditto.
8474 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
8476 * bits/basic_file.h: Match vtables w/ _IO_FILE_plus.
8477 * src/basic_file.cc: Ditto.
8478 * src/Makefile.in: Add -fvtable-thunks to CXXFLAGS: preferred
8479 format for dealing with _IO_file in libio.
8481 1999-01-27 Ulrich Drepper <drepper@cygnus.com>
8483 * src/basic_file.cc: Include fcntl.h.
8485 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
8487 * libio/Makefile.in: Add fileops.lo, genops.lo to objects to debug
8489 * bits/std_streambuf.h: Redefine read posion.
8491 * bits/std_fstream.h: Temporary hack to get vtables working again.
8492 * bits/basic_file.h: Revert.
8493 * src/basic_file.cc: Ditto.
8494 * testsuite/27/27filebuf.cc: Tweak.
8496 1999-01-26 Benjamin Kosnik <bkoz@cygnus.com>
8498 * bits/basic_file.h: Add showmanyc, underflow. .
8499 * src/basic_file.cc: Ditto.
8501 * bits/std_fstream.h (showmanyc): Add bits to ping libio to see if more
8504 * testsuite/27/27filebuf.cc: Add testcases.
8505 * src/basic_file.cc: Add O_CREAT to open calls with
8506 ios_base::trunc as part of the open mode.
8508 1999-01-26 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8510 * bits/basic_ios.h: fix basic_ios::exceptions(iostate)
8512 1999-01-25 Benjamin Kosnik <bkoz@nabi.net>
8514 * src/ios.cc (clear): Correct typo.
8515 * bits/ios_base.h: Tweak spacing.
8517 1999-01-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8519 * bits/basic_ios.h: fix basic_ios::fail()
8521 1999-01-25 Benjamin Kosnik <bkoz@loony.cygnus.com>
8523 * bits/basic_file.h: Include libioP.h from libio instead of here.
8524 * bits/iolibio.h: Remove.
8525 * bits/libio.h: Remove.
8527 1999-01-22 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
8529 * bits/std_fstream.h: Tweak cvt-> in call for newer egcs compilers.
8531 1999-01-22 Ulrich Drepper <drepper@cygnus.com>
8533 * Makefile.am (SUBDIRS): Add libio.
8534 * configure.in: Add rule to test for glibc2.
8536 * src/Makefile.am (INCLUDES): Add -I to libio subdir.
8537 (libstdc___la_LIBADD): Add libio.la.
8539 1999-01-21 Benjamin Kosnik <bkoz@cygnus.com>
8541 * bits/basic_file.h: Make new abstraction for underlying C library
8542 FILE, named __basic_file.
8543 * src/basic_file.cc: New file.
8544 * bits/os_raw.h: Delete.
8545 * src/os_raw.cc: Delete.
8546 * src/Makefile.in: Tweak.
8547 * src/Makefile.am: Tweak.
8548 * bits/iolibio.h: Add this here, for the time being.
8549 * bits/libioP.h: Ditto.
8551 * bits/ios_base.h: Delete unused defines.
8552 * src/locale.cc (codecvt<char, char, mbstate_t>::do_in): Use
8553 strcpy to copy between the two buffers.
8555 * testsuite/27/27stringbuf.cc: Change license, fix in_avail tests.
8556 * testsuite/27/27filebuf.cc: New file.
8557 * testsuite/27/27filebuf-1.txt: Data file for above test.
8558 * testsuite/27/27filebuf-2.txt: Ditto.
8560 * bits/std_streambuf.h (uflow): Re-implement default.
8561 * bits/std_fstream.h: Set _M_buf_size based on cstdio's BUFSIZ.
8562 Re-implement virtual functions.
8563 * bits/fstream.tcc: Delete unused mf's.
8565 1998-12-31 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
8567 * bits/fstream.tcc: Add fstream ctor for cin/cout/etc.
8568 * bits/std_fstream.h: Ditto.
8569 * src/stdstreams.cc: Ditto.
8571 * math/cpowl.c: Fix header typo with last change.
8573 1998-12-31 Benjamin Kosnik <bkoz@loony.cygnus.com>
8575 * COPYING: New file (GPL v 2).
8576 * LICENSE.STD: Remove.
8577 * ./*: Change license.
8579 1998-12-30 Benjamin Kosnik <bkoz@haight.constant.com>
8581 * bits/std_streambuf.h (std): Remove static on _M_init.
8582 * bits/streambuf.tcc (std): Ditto.
8584 * bits/std_fstream.h: Add changes as discussed with Nathan, including
8585 state_type and codecvt_type members, the allocation of an internal
8586 buffer, the streamlined codecvt calls, etc.
8588 1998-12-21 Benjamin Kosnik <bkoz@haight.constant.com>
8590 * bits/std_sstream.h: Tweak.
8591 * bits/fstream.tcc: Remove unused stubs.
8592 * bits/std_fstream.h: Tweak.
8594 1998-12-17 Benjamin Kosnik <bkoz@tintin.cygnus.com>
8596 * bits/std_streambuf.h: Move _IO_file_flags into basic_filebuf.
8597 Remove unused _IO_* members, possibly put into filebuf, which may
8599 * bits/std_fstream.h: Add _M_flag.
8600 * bits/sbuf_iter.h: Tweak.
8602 * bits/std_cstdio.h: Add SEEK_SET, SEEK_END, SEEK_CUR.
8603 * bits/ios_base.h: Use.
8605 * src/stdstreams.cc: Modify to reflect standard ctors for
8607 * src/misc-inst.cc: Ditto.
8609 * bits/os_raw.h: Wrap in std namespace. Model parameters on
8610 underlying C library calls instead of the underlying unix
8612 * src/os_raw.cc (_S_os_open): Use fopen, and compute a mode
8613 string as per p.659.
8614 (_S_os_close): Model on fopen.
8615 (_S_os_read): Model on fread.
8616 (_S_os_write): Model on fwrite.
8617 (_S_os_seek): Model on fseek.
8619 * bits/ios_base.h: Tweak.
8620 * bits/std_iosfwd.h: Wrap libio.h include with extern "C".
8621 * bits/std_sstream.h: Tweak.
8622 * bits/sstream.tcc: Remove old, uncalled code.
8623 * bits/std_fstream.h: Major reconstruction.
8624 * bits/fstream.tcc: Disable for the time being.
8626 1998-12-11 Benjamin Kosnik <bkoz@haight.constant.com>
8628 * bits/basic_string.h: Fix insert method.
8629 * stl/bits/stl_iterator.h: Remove previous hack.
8630 * bits/std_streambuf.h (sbumpc): Correct increment/return oddness.
8631 * bits/std_sstream.h: Fix more regressions.
8632 * testsuite/27/27stringbuf.C: Add (almost) complete tests.
8634 1998-12-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
8636 * bits/basic_string.h: Tweak.
8638 * stl/bits/stl_iterator.h: Specialize iterator_traits for int so
8639 that string::append can be instantiated. HACK--checkin
8640 basic_string::iterator class.
8642 1998-12-07 Benjamin Kosnik <bkoz@haight.constant.com>
8644 * bits/std_sstream.h: Tweak.
8645 * bits/sstream.tcc: Tweak ctors.
8647 FIXME invalid friend defs. . WHERE ARE THEY??
8649 * bits/sbuf_iter.h (istreambuf_iterator::equal): Change to new
8650 names for basic_streambuf data members.
8652 * bits/std_streambuf.h: Add getloc() initialization bits.
8653 basic_streambuf(): Initialize with global locale data.
8654 imbue(): Set _M_init.
8656 * bits/std_streambuf.h(seekoff, seekpos): Complete with invalid
8657 stream pos == pos_type(off_type(-1)).
8658 in_avail(): Complete default implementation.
8659 snextc, sbumpc, sputbackc, sungetc, sputc, setg, xsputn,
8660 underflow, uflow, xsgetn, showmany, sync: Ditto.
8662 * bits/std_streambuf.h: _M_snextc_helper(): Remove.
8664 * bits/streambuf.tcc (sputbackc): Temporarily remove, need to
8665 re-populate with in-line member functions that are too big. Add
8666 initialization for _M_init.
8668 1998-12-03 Benjamin Kosnik <bkoz@cygnus.com>
8670 * bits/sstream.tcc: Convert _Allocator to _Alloc. Add typedefs
8671 for basic_string and basic_streambuf. Scope _IO_buf_* pointers to
8674 * src/stdstreams.cc (std): Disable wchar_t instantiations.
8676 * bits/c++config.h (_G_DEPRICATED): Add.
8677 (_G_USE_WCHAR_T): Add.
8678 * bits/std_streambuf.h: Radical reconstruction of basic_streambuf.
8679 Take out _Streambuf_base. Put _IO_FILE data member in basic_filebuf.
8680 * bits/streambuf.tcc (sputbackc): Remove ctor anti-def, Tweak.
8681 * bits/std_fstream.h: Add comment for implementation.
8682 * src/streambuf.cc: Remove.
8683 * src/Makefile.in: Remove streambuf.lo.
8684 * src/misc-inst.cc: Tweak.
8686 1998-12-02 Benjamin Kosnik <bkoz@cygnus.com>
8688 * bits/std_sstream.h: Add const_cast to rdbuf returns.
8689 * testsuite/27stringstream.C: Modify.
8691 1998-11-25 Benjamin Kosnik <bkoz@haight.constant.com>
8693 * src/Makefile.in (libstdc___la_OBJECTS): Add streambuf.lo.
8694 (libstdc___la_SOURCES): Ditto.
8696 * bits/streambuf.tcc: Tweak.
8698 * src/streambuf.cc: New file, add out-of-line definitions for
8701 * src/misc-inst.cc: Remove _Streambuf_base instantiations.
8702 Comment out wchar_t versions of the buffer instantiations, for now.
8704 * bits/std_streambuf.h: Wrap libio.h include with extern "C".
8705 Remove template wrapper around _Streambuf_base.
8706 Move IO_* data members into _Streambuf_base.
8707 Move _Streambuf_base members into streambuf.tcc.
8709 * bits/c++config.h (_G_USE_LIBIO): Enable.
8711 1998-11-02 Nathan Myers <ncm@cantrip.org>
8713 * CHECKLIST: downgrade iterator implementations
8714 * DESIGN: fill out notes about unimplemented features
8716 1998-10-31 Nathan Myers <ncm@cantrip.org>
8718 * CHECKLIST: itemized list of all interfaces, and status of each.
8720 1998-10-30 Nathan Myers <ncm@cantrip.org>
8722 * RELEASE-NOTES: add notes about optional includes, linking, running
8723 * src/Makefile.am: handle header installs properly
8724 * src/Makefile.in: regenerate from new src/Makefile.am
8726 1998-10-30 Benjamin Kosnik <bkoz@loony.cygnus.com>
8728 * bits/basic_string.h: Revert npos pending ciso646.
8729 * src/Makefile.am: Revert CXX flags for now.
8730 * src/Makefile.in: Ditto.
8732 1998-10-30 Brendan Kehoe <brendan@cygnus.com>
8734 * bits/std_sstream.h: Re-order ctors to put base before member
8737 1998-10-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8739 * stl/bits/std_memory.h: Fix typo.
8741 1998-10-30 Nathan Myers <ncm@cantrip.org>
8743 * src/string[A-Z]+.cc: change back to include "string.cc".
8744 * src/Makefile.am: revert filename changes. We need a different
8745 way to keep filenames in std/ from confusing Make.
8746 * bits/basic_string.h: define _S_max_size right, return it from
8747 string::max_size(); churn definition of npos again.
8748 * bits/string.tcc: fix _S_frob_size to avoid uint overflow.
8749 * bits/ios.cc: remove #ifdef on ios_base locale member initialization
8750 * BUGS: clear cruft.
8751 * C++STYLE: Touchup for release.
8752 * CHECKLIST: Touchup for release.
8754 * LICENSE.STD: Add requirement to retain copyrights and to provide
8755 the license with any copies.
8756 * README: Update for release.
8757 * TODO: Minor touchup for release.
8758 * RELEASE-NOTES: prepare for release
8760 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
8762 * src/string[A-Z]+.cc: Include stdstring.cc, not string.cc.
8764 * src/Makefile.am (CXXFLAGS): Define _GNU_SOURCE.
8766 * src/Makefile.am (CXXLINK): New variable. Make sure we don't use
8767 CXX to generate the shared object.
8769 * src/Makefile.am (headers): Remove duplicated char_traits.h.
8771 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
8773 * bits/basic_string.h (basic_string<>::max_size): Subtract 1, not
8774 2, from npos, solving infinite loop problems.
8776 1998-10-29 18:41 Ulrich Drepper <drepper@cygnus.com>
8778 * src/Makefile.am: Add rules to install headers.
8780 1998-10-29 Nathan Myers <ncm@cantrip.org>
8782 * bits/std_ostream.h: Remove #ifdef on operator<< for long double
8783 * bits/ostream.tcc: Remove #ifdef on operator<< for long double
8786 * shadow/bits/wrap_libio.h:
8787 * shadow/bits/wrap_unistd.h: New files.
8789 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
8791 * bits/ostream.tcc (operator<<): Wrap with #ifdef
8792 _G_HAVE_LONG_DOUBLE_IO, to match bits/std_ostream.h.
8794 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
8796 * src/Makefile.am: Add temporarily rules to make sure misc-inst.cc
8797 is not compiled with -fno-implicit-templates in effect.
8799 * src/Makefile.am (EXTRA_SOURCES): Add string.cc and wstring.cc here.
8800 (libstdc___la_SOURCES): Add all the string*.cc and wstring*.cc files.
8801 * src/stringADDCS.cc: Wrapper around string.cc to define individual
8803 * src/stringADDPS.cc: Likewise.
8804 * src/stringADDSC.cc: Likewise.
8805 * src/stringADDSP.cc: Likewise.
8806 * src/stringADDSS.cc: Likewise.
8807 * src/stringBIST.cc: Likewise.
8808 * src/stringBOST.cc: Likewise.
8809 * src/stringCHTR.cc: Likewise.
8810 * src/stringEQPS.cc: Likewise.
8811 * src/stringEQSP.cc: Likewise.
8812 * src/stringEQSS.cc: Likewise.
8813 * src/stringEXTRA.cc: Likewise.
8814 * src/stringGEPS.cc: Likewise.
8815 * src/stringGESP.cc: Likewise.
8816 * src/stringGESS.cc: Likewise.
8817 * src/stringGETLI.cc: Likewise.
8818 * src/stringGTPS.cc: Likewise.
8819 * src/stringGTSP.cc: Likewise.
8820 * src/stringGTSS.cc: Likewise.
8821 * src/stringINSER.cc: Likewise.
8822 * src/stringLEPS.cc: Likewise.
8823 * src/stringLESP.cc: Likewise.
8824 * src/stringLESS.cc: Likewise.
8825 * src/stringLTPS.cc: Likewise.
8826 * src/stringLTSP.cc: Likewise.
8827 * src/stringLTSS.cc: Likewise.
8828 * src/stringMAIN.cc: Likewise.
8829 * src/stringNEPS.cc: Likewise.
8830 * src/stringNESP.cc: Likewise.
8831 * src/stringNESS.cc: Likewise.
8832 * src/stringSCOPY.cc: Likewise.
8833 * src/wstringADDCS.cc: Wrapper around wstring.cc to define individual
8835 * src/wstringADDPS.cc: Likewise.
8836 * src/wstringADDSC.cc: Likewise.
8837 * src/wstringADDSP.cc: Likewise.
8838 * src/wstringADDSS.cc: Likewise.
8839 * src/wstringBIST.cc: Likewise.
8840 * src/wstringBOST.cc: Likewise.
8841 * src/wstringCHTR.cc: Likewise.
8842 * src/wstringEQPS.cc: Likewise.
8843 * src/wstringEQSP.cc: Likewise.
8844 * src/wstringEQSS.cc: Likewise.
8845 * src/wstringEXTRA.cc: Likewise.
8846 * src/wstringGEPS.cc: Likewise.
8847 * src/wstringGESP.cc: Likewise.
8848 * src/wstringGESS.cc: Likewise.
8849 * src/wstringGETLI.cc: Likewise.
8850 * src/wstringGTPS.cc: Likewise.
8851 * src/wstringGTSP.cc: Likewise.
8852 * src/wstringGTSS.cc: Likewise.
8853 * src/wstringINSER.cc: Likewise.
8854 * src/wstringLEPS.cc: Likewise.
8855 * src/wstringLESP.cc: Likewise.
8856 * src/wstringLESS.cc: Likewise.
8857 * src/wstringLTPS.cc: Likewise.
8858 * src/wstringLTSP.cc: Likewise.
8859 * src/wstringLTSS.cc: Likewise.
8860 * src/wstringMAIN.cc: Likewise.
8861 * src/wstringNEPS.cc: Likewise.
8862 * src/wstringNESP.cc: Likewise.
8863 * src/wstringNESS.cc: Likewise.
8864 * src/wstringSCOPY.cc: Likewise.
8865 * src/string.cc: Remove now unneeded #defines now.
8867 1998-10-29 Nathan Myers <ncm@cantrip.org>
8869 * bits/locfacets.tcc: Define num_put::put(... const void*), improve
8871 * bits/ostream.tcc: Delete cruft, rewrite various op<< as members,
8872 add definitions for double, long double, const void*.
8873 * bits/std_ostream.h: Move op<<'s back into class ostream,
8874 define some in-line.
8875 * bits/string.tcc: fix unnecessary-copying bug in op[], typos in
8876 string construction from input iterators that Brendan reported.
8879 1998-10-28 Brendan Kehoe <brendan@cygnus.com>
8881 * stl/bits/stl_pair.h (op!=, op>, p<=, op>=): Add missing definitions.
8883 * bits/valarray_meta.h (class _Constant): Move declaration to the
8884 top, so the rest of the file can grok it.
8885 (_ApplyBinaryFunction::operator[]): Add missing parenthesis.
8887 * bits/std_sstream.h (basic_ostringstream::str): Fix typo of extra
8889 (basic_stringstream::str, both instances): Likewise.
8891 1998-10-28 Nathan Myers <ncm@cantrip.org>
8893 * bits/locfacets.h: fix num_put<>::falsename()
8894 * bits/locfacets.tcc: fix _Format_cache<>::_M_populate bool name init
8895 * testsuite/27/27octfmt.C, testsuite/27/27octfmt.C: new tests
8896 * bits/locfacets.tcc: touch up _S_group_digits.
8897 * src/misc-inst.cc: adjust _S_group_digits insts to match.
8899 1998-10-27 Nathan Myers <ncm@cantrip.org>
8901 * stl/bits/stl_config.h: Turn off long long support, for now.
8902 * src/locale-inst.cc: Instantiate num_put<> only for
8903 ostreambuf_iterator, num_get only for istreambuf_iterator.
8904 * src/misc-inst.cc: Delete duplicate locale-related instantiations,
8905 add lots of new instantiations for num_put support function templates;
8906 remove junk about __match_parallel for ostreambuf_iterator.
8908 1998-10-27 Nathan Myers <ncm@cantrip.org>
8910 * bits/locfacets.tcc: Make num_put's digit grouping work.
8911 * bits/string.tcc: More uglification.
8912 * src/ios.cc: initialize format cache right
8914 1998-10-26 Nathan Myers <ncm@cantrip.org>
8916 * bits/basic_string.h: Uglify more names.
8917 * bits/fstream.tcc: Rewrite some filebut output handling.
8918 * bits/ios_base.h: Cosmetic.
8919 * bits/locfacets.h: Changes to _Format_cache for support of num_put.
8920 Also, specialize its default ctor for optimal default case.
8921 #ifdef out "long long" prototypes for now.
8922 * bits/locfacets.tcc: Do complete, optimized num_put<>::do_put
8923 implementation for integer types. (Still needs optimized
8924 std::copy() applied to ostreambuf_iterator to be optimal.)
8925 * bits/ostream.tcc: Write operator<< for long, bool types.
8926 Make other operators<< non-members, per spec. (Many still
8927 not implemented.) Identify those that fail to create a sentry.
8928 * bits/sbuf_iter: Cosmetic.
8929 * bits/std_fstream.h: Add some filebuf members.
8930 * bits/std_locale.h: Include <limits> for use in bits/locfacets.h
8931 * bits/std_ostream.h: Make member operators<< global, per spec.
8932 (Should do the same in std_istream.h.)
8933 * bits/std_string.h: Include <limits> for use in bits/locfacets.h
8934 * bits/string.tcc: Uglify names
8935 * shadow/bits/std_cstdlib.h: Optimize std::div and std::ldiv.
8936 * src/ios.cc: Specialize _Format_cache<> for char and wchar_t,
8937 for optimal default behavior.
8939 1998-10-26 Benjamin Kosnik <bkoz@loony.cygnus.com>
8941 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc again.
8943 1998-10-21 Nathan Myers <ncm@cantrip.org>
8945 * src/locale.cc: make ctype operations actually work for glibc
8946 * CHECKLIST: add a comprehensive (i.e. huge) implementation
8947 checklist of stdlib facilities. Not filled in yet.
8949 1998-10-20 Nathan Myers <ncm@cantrip.org>
8951 * bits/string.tcc: fix patching NULs on string ends.
8953 1998-10-19 Nathan Myers <ncm@cantrip.org>
8955 * bits/std_iosfwd.h: eliminate "basic_" prefix on streambuf
8956 iterator forward declarations
8957 * bits/sbuf_iter.h: eliminate default template argument definitions
8958 on streambuf iterators (rely on <iosfwd> decls).
8959 * TODO: add note about lazy facet construction
8960 * bits/basic_ios.h: hit operator void* again. This should be the
8961 last time we need to touch it.
8962 * bits/basic_ios.h: copyfmt now returns *this.
8963 * bits/basic_string.h: fix npos again. npos cannot be defined as zero.
8964 * bits/basic_string.h: put back overloaded constructors; adjust
8965 behavior for default allocator on copy constructor.
8966 * bits/char_traits.h: make not_eof return correct type.
8967 * bits/loccore.h: remove call to bits/std_stdexcept.h; subincludes
8968 cannot be in non-standard headers or we get include loops (bad)
8969 * bits/loccore.h: delete ifdef'd out workarounds for old compiler bugs.
8970 * bits/loccore.h: add apparatus to support lazy construction of
8972 * bits/locfacets.tcc: Uglify names in __match_parallel decl.
8973 * bits/std_ios.h: add include of <typeinfo> to get bad_cast for
8974 locale use_facet<> failure.
8975 * bits/std_locale.h: same.
8976 * bits/std_string.h: same.
8977 * bits/std_stdexcept.h: change exception member __msg from a
8978 reference to a regular object.
8979 * bits/string.tcc: add pasting a NUL on the end of strings after
8980 each operation. We had already left room for it, but previously
8981 plugged it only on a call to c_str(), but the WG changed the
8982 requirement when I wasn't looking. (Can't leave them alone for
8983 a second without they break something else.)
8984 * bits/valarray_meta.h: add Gaby's changes from 981018.
8985 * src/locale.cc: add new type _Bad_use_facet to be thrown on
8986 failure of use_facet<>().
8987 * src/stdexcept.cc: remove pragma, remove bkoz's #if 0,
8988 comment out leftover member definitions
8990 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
8992 * string/Makefile.am: Revert last change.
8993 * math/Makefile.am: Likewise.
8995 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8997 * bits/std_sstream.h: Fix typo.
8999 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
9001 * src/Makefile.am (libstdc___la_SOURCES): Add misc-inst.cc.
9003 * bits/std_sstream.h: Add typedefs, member definitions. Clean.
9004 * bits/std_stdexcept.h: Remove.
9006 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
9008 * src/misc-inst.cc: Tweak again.
9010 * bits/std_sstream.h: Move out-of-line definitions to sstream.tcc.
9011 * bits/sstream.tcc: New file.
9013 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
9015 * configure.in: Test for machine/param.h, sys/machine.h and fp.h.
9016 Don't run AC_C_BIGENDIAN if machine/param.h or sys/machine.h are
9019 * math/mathconf.h: Include sys/machine.h, machine/param.h and fp.h
9021 (INFINITE_P): Use IS_INF macro if available.
9023 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
9025 * math/Makefile.am (EXTRA_LTLIBRARIES): Renamed from
9027 * string/Makefile.am: Likewise.
9029 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
9031 * configure.in (AC_CHECK_FUNCS): Add finite, qfinite, fpclass, and
9033 (AC_CHECK_HEADERS): Add machine/endian.h. If no header specifying
9034 endianess is available run AC_C_BIGENDIAN.
9036 * math/clog10l.c: Add ugly hack around bug in Irix 6.2 header until
9037 fixincludes is fixed.
9038 * math/clogl.c: Likewise.
9039 * math/csqrtl.c: Likewise.
9040 * math/mycabsl.c: Likewise.
9042 * math/mathconf.h: Include machine/endian.h if possible. If no
9043 header describing endianess is available rely on WORDS_BIGENDIAN
9045 (FINITE_P, FINITEF_P, FINITEL_P): Use finite functino if available.
9046 (INFINITE_P, INFINITEF_P, INFINITEL_P): Use fpclass function if
9049 * src/complex.cc (polar): Don't use sincos on OSF machines.
9051 1998-10-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
9053 * src/locale-inst.cc: Don't instantiate time_get for
9054 ostreambuf_iterators as time_get::do_get_weekday and
9055 time_get::do_get_monthname use __match_parallel, which is illegal
9056 for ostreambuf_iterators to use, as they don't have operator== or
9058 * bits/std_stdexcept.h: Add dtor definitions.
9059 Use stl/bits/std_stdexcept.h instead of this file?
9060 * bits/sbuf_iter.h : Tweak.
9061 * src/misc-inst.cc: Tweak.
9063 1998-10-09 Benjamin Kosnik <bkoz@haight.constant.com>
9065 * bits/std_stdexcept.h: New file.
9066 * src/stdexcept.cc: Define the following:
9068 runtime_error::what()
9070 * src/misc-inst.cc: New file.
9071 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc.
9072 (libstdc___la_OBJECTS): Add misc-inst.lo.
9074 * bits/basic_string.h: Disable non-standard ctor declarations.
9075 * bits/string.tcc: Disable definitions as well.
9076 * src/string.cc: Disable <ios> dependancies.
9077 * bits/sbuf_iter.h (std): Add default to template parameter for
9078 ostreambuf_iterator and istreambuf_iterator.
9079 * bits/std_iosfwd.h: Change istreambuf_iterator to
9080 basic_istreambuf_iterator. Likewise for ostreambuf.
9081 * bits/locfacets.tcc (__match_parallel): Fix typo.
9082 * src/ios.cc (imbue): Remove the _G_HAVE_LOCALE guards around
9084 * bits/std_streambuf.h: Define _Streambuf_base::getloc().
9085 * bits/std_istream.h: Define the following:
9086 get (basic_streambuf<char_type,_Traits>& __sb, char_type __delim)
9087 get (char_type* __s, streamsize __n, char_type __delim);
9088 getline (char_type* __s, streamsize __n, char_type __delim)
9089 * bits/loccore.h : FIXME friend template code for use_facet.
9090 Add std_stdexcept.h include so that range_error will be defined.
9091 Add explicit conversion to string for range_error throws. (HACK?)
9093 1998-10-8 Ulrich Drepper <drepepr@cygnus.com>
9095 * configure.in: Check for sincos, sincosf, and sincosl.
9096 * src/complex.cc (polar): Use sincos if available.
9098 * bits/c++config.h: Fix hack to get LONG_LONG* definitions on Linux.
9099 * stl/bits/std_limits.h: Include bits/c++config.h. HACK!!!
9101 * math/clog10.c: Fix typo (FP_INIFITE_P -> INFINITE_P).
9103 * math/cpow.c: Use c_log, not clog.
9104 * math/cpowf.c: Likewise.
9105 * math/cpowl.c: Likewise.
9107 * math/cexp.c: Remove unused fpclassify calls. Use FINITE_P instead
9110 * math/mathconf.h (FINITE_P, FINITEF_P, FINITEL_P): Define using
9111 isfinite macro if it is available.
9112 (INFINITE_P, INFINITEF_P, INFINITEL_P): Define using isinf macro.
9114 * math/ccosf.c: Use appropriate test macros for this type.
9115 * math/ccoshf.c: Likewise.
9116 * math/ccoshl.c: Likewise.
9117 * math/ccosl.c: Likewise.
9118 * math/cexpf.c: Likewise.
9119 * math/cexpl.c: Likewise.
9120 * math/clog10f.c: Likewise.
9121 * math/clog10l.c: Likewise.
9122 * math/clogf.c: Likewise.
9123 * math/clogl.c: Likewise.
9124 * math/csinf.c: Likewise.
9125 * math/csinhf.c: Likewise.
9126 * math/csinhl.c: Likewise.
9127 * math/csinl.c: Likewise.
9128 * math/csqrtf.c: Likewise.
9129 * math/csqrtl.c: Likewise.
9130 * math/ctanf.c: Likewise.
9131 * math/ctanhf.c: Likewise.
9132 * math/ctanhl.c: Likewise.
9133 * math/ctanl.c: Likewise.
9135 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
9137 * bits/basic_ios.h: Fix previous change.
9139 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
9141 * bits/basic_ios.h: Add const_cast<basic_ios&>
9142 (operator void*): As per 5.2.9 p 2, make sure static_cast is
9144 * bits/char_traits.h: No _CharT for specialization, change to 0.
9145 * bits/basic_string.h: As per 9.4.2 p4, initialize with
9146 constant-initializer.
9147 * bits/locfacets.tcc: Add template parameter to initialization list.
9149 1998-10-02 Benjamin Kosnik <bkoz@loony.cygnus.com>
9151 * bits/basic_string.h: Should just be <, not <=.
9153 1998-10-01 Benjamin Kosnik <bkoz@bliss.nabi.net>
9155 * bits/string.tcc (compare): Fix for strings that are similar, but
9156 not the same length.
9158 1998-09-04 Brendan Kehoe <brendan@cygnus.com>
9160 * bits/c++config.h: For __linux__, define _GNU_SOURCE. This is
9161 required for us to get LONG_LONG_{MIN,MAX} out of gcc's limits.h.
9162 We can't check for __GLIBC__ here, since this header can be read
9163 before any system one (that would lead to features.h) being used.
9165 * stl/bits/stl_config.h (__STL_LONG_LONG): Re-enabled
9167 * stl/bits/std_limits.h [__STL_LONG_LONG]: Fix usage to use
9168 LONG_LONG_MIN, LONG_LONG_MAX, and ULONG_LONG_MAX.
9170 * stl/bits/stl_config.h: Don't do __STL_LONG_LONG, it uses
9171 LONGLONG_{MIN,MAX} which I can't find the origin of.
9173 1998-09-03 Brendan Kehoe <brendan@cygnus.com>
9175 * stl/bits/stl_iterator.h: Add extern decl of cin for now; where
9176 should this come from, if not iostream.h?
9177 (class istream_iterator): Make the new operator!= a friend also.
9179 * stl/bits/stl_config.h: Define __STL_HAS_WCHAR_T,
9180 __STL_MEMBER_TEMPLATE_CLASSES, and __STL_LONG_LONG. Don't include
9181 _G_config.h like the egcs one does.
9183 1998-09-01 Brendan Kehoe <brendan@cygnus.com>
9185 * bits/string.tcc: Call `_M_destroy' instead of `destroy'.
9187 * bits/valarray_meta.h: Throughout, rename _Expr typedefs to be
9188 _Expr1 (or _Expr_def if it's taken), and change definitions.
9189 Avoids redecl of the template parm.
9191 * bits/string.tcc (basic_string copy ctor): Fix typo in declaration.
9192 (operator>>): Initialize __ERROR with ios_base::goodbit, not 0.
9194 * bits/std_streambuf.h (_POSIX_SOURCE): Only define if it's not
9197 * src/locale-inst.cc: New file, **TOTAL HACK**. There has GOT to
9198 be a better way to do this.
9200 * src/stlinst.cc: New file.
9202 * BUGS: New file, with various discovered bugs that need to be
9205 * Makefile.in, math/Makefile.in, string/Makefile.in,
9206 src/Makefile.in: Reran automake.
9208 Workarounds, these may not all be the final fixes:
9210 * bits/basic_ios.h (class basic_ios): Make _M_strbuf be protected,
9211 not private, for basic_istream::get() in std_istream.h to be able
9213 (basic_ios::operator void*): Don't use static_cast for the false
9215 (basic_ios::copyfmt): Fix `rhs.except' to be `rhs.exceptions ()'.
9216 This appears to have been in sep94, but didn't get corrected
9219 * bits/basic_string.h (npos): Don't init here.
9220 * bits/string.tcc: Instead, do initialization here, to -1 instead
9221 of the size_type destructor.
9223 * src/traits.cc, src/wtraits.cc: New files.
9224 * bits/char_traits.h: For char_traits<char> and
9225 char_traits<wchar_t>, declare static, but define over in the src
9228 * bits/gslice.h: Comment out forward decls of _Array, valarray,
9229 gslice_array, and _GsliceExpression.
9231 * bits/std_cstdio.h [__sparc__ && __svr4__]: #undef all of
9232 clearerr, feof, ferror, getc, getchar, putc, putchar, stdin,
9233 stdout, and stderr. Note we do get unresolved refs to stdin, but
9234 that'll get fixed by the "true" solution.
9236 * bits/std_ios.h: Include <bits/std_streambuf.h> to get the
9237 definition of basic_streambuf.h, which is used in basic_ios.h to
9240 * bits/std_streambuf.h: Don't include libio.h for now.
9241 (class basic_streambuf): Define missing methods pubimbue and
9244 * src/Makefile.am (libstdc___la_SOURCES): Add stdexcept.cc,
9245 ios.cc, os_raw.cc, stdstreams.cc, locale.cc, localename.cc,
9246 locale-inst.cc, stlinst.cc, traits.cc, wtraits.cc.
9248 * src/ios.cc: Instantiate basic_ios<char> and basic_ios<wchar_t>.
9250 * src/locale.cc: Come up with munged versions of _S_toupper,
9251 _S_tolower, and _S_table instead of the glibc-specific ones, so
9252 they're at least defined, if not necessarily usable. The glibc
9253 ones on any other system will yield unresolved refs to
9254 __ctype_{b,toupper,tolower}.
9256 * src/string.cc: Define all of ADDCS, ADDPS, et al. Add
9257 basic_ios, basic_istream, basic_ostream. Don't do char_traits
9258 anymore cuz of the explicit specialization in char_traits.h.
9259 Also add _S_string_copy, but this doesn't fix it -- cf the BUGS
9260 file for the details.
9262 * stl/bits/stl_algobase.h (equal): Fix to do `! (x==y)'.
9263 * stl/bits/stl_iterator.h (__distance): Likewise.
9265 * stl/bits/stl_iterator.h: As with 8/18 set, define missing op!=,
9266 op>, op<=, and op>= for reverse_iterator. Also add op!= for
9269 1998-08-26 Brendan Kehoe <brendan@cygnus.com>
9271 * bits/string.tcc (basic_string::compare (const char*)): Fix to
9274 1998-08-25 Brendan Kehoe <brendan@cygnus.com>
9276 This should really be fixed with __asm__ directives renaming the
9277 symbol, but keeping the function.
9278 * math/clogf.c (c_logf): Renamed from `clogf'.
9279 * math/clogl.c (c_logl): Renamed from `clogl'.
9280 * math/complex-stub.h (c_logf, c_logl): Change decls.
9282 * bits/locfacets.h (class _Numeric_get): For friend decls, rename
9283 _CharT and _InIter parms, since they duplicate the enclosing ones.
9285 1998-08-19 Brendan Kehoe <brendan@cygnus.com>
9287 Deal with conflict of the iostreams `clog' and our internal
9288 complex number `clog'.
9289 * src/complex.cc: Call `c_log' instead of `clog'.
9290 * math/clog.c (c_log):: Renamed from clog.
9291 * math/complex-stub.h (c_log): Renamed from clog decl.
9293 * bits/locfacets.h (class _Numeric_get): Tweak fwd decls of the
9295 (num_put::put): #if 0 long long version, since we don't declare or
9296 define the long long version of do_put.
9298 1998-08-18 Nathan Myers <ncm@cantrip.org>
9300 * bits/basic_string.h: add basic_string<>::push_back(), fix return
9301 type of get_allocator (thanks to Ryszard Kabatek).
9302 * bits/char_traits.h: make init order of fpos<> members
9304 * bits/ios_base.h: fix decls of ios_base bitmask & enum types, add
9305 flags _S_fd_in etc. for special filebuf ctor.
9306 * bits/locfacets.h: make _Numeric_get and _Format_cache public
9307 to work around problems in friend declarations.
9308 * bits/locfacets.tcc: qualify _S_get_cache in num_get<>::get(..bool&),
9309 fix random type errors & typos
9310 * bits/std_fstream.h: major refitting to bypass libio (for now),
9311 instrument to use bits/fstream.tcc template definitions
9312 * bits/std_iosfwd.h: mess with wrappers
9313 * bits/std_istream.h: remove meaningless comment
9314 * bits/std_ostream.h: instrument to work with ostream.tcc.
9315 * bits/std_streambuf.h: instrument to work with streambuf.tcc
9316 * bits/fstream.tcc: template defs for <fstream>
9317 * bits/ostream.tcc: template defs for <ostream>
9318 * bits/streambuf.tcc: template defs for <streambuf>
9319 * bits/os_raw.h: thin OS interface wrapper, to bypass libio (for now).
9320 * Delete .cc files, replace with bits/*.tcc
9326 src/os_raw.cc: thin interface to OS, to bypass libio (for now).
9327 src/stdstreams.cc: cout, cin, etc. definitions
9328 (these still need work: must be init'd before user statics.)
9331 1998-08-18 Brendan Kehoe <brendan@cygnus.com>
9333 Sent to SGI before checkin:
9334 * stl/bits/stl_vector.h (operator!=, operator>, operator<=,
9335 operator>=): Define.
9336 * stl/bits/stl_bvector.h (vector<bool>::flip): Define method.
9337 * stl/bits/stl_deque.h (operator!=, operator>, operator<=,
9338 operator>=): Define.
9339 (operator==, operator<): Add inline.
9340 * stl/bits/stl_map.h (operator!=, operator<, operator<=,
9341 operator>=): Define.
9342 * stl/bits/stl_multimap.h (operator!=, operator<, operator<=,
9343 operator>=): Define.
9344 * stl/bits/stl_list.h (operator!=, operator<, operator<=,
9345 operator>=): Define.
9346 * stl/bits/stl_set.h (operator!=, operator<, operator<=,
9347 operator>=): Define.
9348 * stl/bits/stl_multiset.h (operator!=, operator<, operator<=,
9349 operator>=): Define.
9351 * bits/std_valarray.h (_Shift_left, _Shift_right): Inherit from
9354 1998-08-15 Nathan Myers <ncm@cantrip.org>
9356 * bits/ios_base.h: change nominal bitmask and enum types to real enums
9357 * bits/locfacets.h: make _Format_cache bool names usable by num_get
9358 * bits/locfacets.tcc: make num_get<>::get(... bool&) use _Format_cache
9359 * bits/std_fstream.h: minor cleanups: ctors delegate to open()
9360 * bits/std_iosfwd.h: more bitmask changes, for ios_base::iostate
9361 * bits/std_sstream.h: formatting cleanups
9363 1998-08-14 Nathan Myers <ncm@cantrip.org>
9365 * bits/locfacets.tcc: implement num_get<>::do_get(..., bool&)
9366 * bits/locfacets.tcc: implement time_get<>::do_get_weekday
9367 * bits/locfacets.tcc: implement time_get<>::do_get_monthname
9368 * bits/locfacets.h: fix missing argument in do_get_monthname
9369 (this is a bug in the standard, ref. 36 in my list.)
9370 * bits/locfacets.h: make month and day name caches mutable
9371 * bits/locfacets.tcc: various typos in get() functions
9372 * bits/sbuf_iter.h: fix omission in istreambuf_iterator::op++().
9373 * bits/std_streambuf.h: fix typo in sgetn (Brendan)
9375 1998-08-12 Nathan Myers <ncm@cantrip.org>
9376 * move streambuf iterators to bits/sbuf_iter.h
9377 * optimize streambuf iterators
9378 * begin generalizing streambuf
9379 * begin implementing num_get<>::get (starting with bool)
9380 * patch stl/bits/stl_config.h so that relops operators are
9381 contained properly, out of the way.
9383 1998-07-24 Nathan Myers <ncm@cantrip.org>
9384 * Fold in SGI 3.11 changes (uglified names, some algorithm
9385 improvements, very minor bug fixes.)
9386 * Uglify names elsewhere to match (s/_T/_Tp/).
9387 * Begin work on optimized streambuf
9388 * Put complex.cc in namespace std:: (thanks Martin)
9390 1998-07-17 Nathan Myers <ncm@cantrip.org>
9392 * bits/char_traits.h: add _Char_traits_match template.
9393 * bits/string.tcc: fix bugs in various find_last* members.
9394 * bits/basic_string.h: redeclare member _S_find.
9395 * stl/bits/stl_iterator.h: change member names in nonstandard
9396 templates bidirectional_reverse_iterator and
9397 random_access_reverse_iterator to match expected changes
9399 * src/string.cc: fix definitions of stream operators.
9401 1998-07-14 16:06 Ulrich Drepper <drepper@cygnus.com>
9403 * Makefile.am (SUBDIRS): Add string.
9405 * configure.in: Test for long double functions separately. Test for
9406 ISO C 89 float functions. Test for endian.h and sys/isa_defs.h.
9407 Generate string/Makefile.
9409 * bits/c++config.h: Define mbstate_t for Solaris.
9411 * bits/char_traits.h: Remove unused #if.
9413 * bits/std_cwchar.h: Declare wide char string functions.
9415 * m4/stringfcts.m4: New file.
9417 * math/complex-stub.h: Declare nan.
9418 * math/nan.c: New file.
9420 * math/mathconf.h: Hack around missing endian.h file.
9421 Handle missing NAN definition.
9422 Handle missing float math functions.
9424 * src/Makefile.am (libstdc___la_LIBADD): Add libstring.la.
9425 (libstdc___la_LDFLAGS): Set version information.
9427 * src/complexl.cc: Don't compile any code if no long double functions
9430 * string/Makefile.am: New file.
9431 * string/dummy.c: New file.
9432 * string/wmemchr.c: New file.
9433 * string/wmemcmp.c: New file.
9434 * string/wmemcpy.c: New file.
9435 * string/wmemmove.c: New file.
9436 * string/wmemset.c: New file.
9438 1998-07-14 10:45 Ulrich Drepper <drepper@cygnus.com>
9440 * configure.in: Make it work.
9441 * install-sh: New file.
9442 * missing: New file.
9443 * mkinstalldirs: New file.
9444 * m4/mathfcts.m4: New file.
9445 * math/Makefile.am: New file.
9447 * bits/std_complex.h (conj): Mark specializations as inline.
9449 * math/carg.c: New file.
9450 * math/cargf.c: New file.
9451 * math/cargl.c: New file.
9452 * math/mycabs.c: New file.
9453 * math/mycabsf.c: New file.
9454 * math/mycabsl.c: New file.
9455 * math/signbit.c: New file.
9456 * math/signbitf.c: New file.
9457 * math/signbitl.c: New file.
9459 * math/ccos.c: Avoid ISO C 9x functionality.
9460 * math/ccosf.c: Likewise.
9461 * math/ccosh.c: Likewise.
9462 * math/ccoshf.c: Likewise.
9463 * math/ccoshl.c: Likewise.
9464 * math/ccosl.c: Likewise.
9465 * math/cexp.c: Likewise.
9466 * math/cexpf.c: Likewise.
9467 * math/cexpl.c: Likewise.
9468 * math/clog.c: Likewise.
9469 * math/clog10.c: Likewise.
9470 * math/clog10f.c: Likewise.
9471 * math/clog10l.c: Likewise.
9472 * math/clogf.c: Likewise.
9473 * math/clogl.c: Likewise.
9474 * math/cpow.c: Likewise.
9475 * math/cpowf.c: Likewise.
9476 * math/cpowl.c: Likewise.
9477 * math/csin.c: Likewise.
9478 * math/csinf.c: Likewise.
9479 * math/csinh.c: Likewise.
9480 * math/csinhf.c: Likewise.
9481 * math/csinhl.c: Likewise.
9482 * math/csinl.c: Likewise.
9483 * math/csqrt.c: Likewise.
9484 * math/csqrtf.c: Likewise.
9485 * math/csqrtl.c: Likewise.
9486 * math/ctan.c: Likewise.
9487 * math/ctanf.c: Likewise.
9488 * math/ctanh.c: Likewise.
9489 * math/ctanhf.c: Likewise.
9490 * math/ctanhl.c: Likewise.
9491 * math/ctanl.c: Likewise.
9493 * math/complex-stub.h: New file.
9495 * math/mathconf.h: New file.
9497 * src/Makefile.am: New file.
9499 * src/complex.cc: Use mathconf.h instead of complex.h.
9500 Don't use cabs, always use __mycabs.
9502 1998-02-13 Brendan Kehoe <brendan@cygnus.com>
9504 * iterator (class reverse_iterator): Do some tweaks to be in sync