1 2000-11-29 Benjamin Kosnik <bkoz@redhat.com>
3 Fixes for build directories with colons, AIX build problems.
4 * src/Makefile.am: Cleanups, add documentation.
5 (libstdc++.INC): Simplify rule.
6 (myinstallheaders): Consolidate install rules.
7 (myinstalldirs): New, make directores.
8 (base_headers): Subdivide based on install directory.
10 (backward_headers): New.
12 (c_headers): Remove, unused.
13 (c_shadow_headers): Split up, deal with conditional usage in a
15 * src/Makefile.in: Regenerate.
17 2000-11-29 Phil Edwards <pme@sources.redhat.com>
19 Sync with the documentation from wwwdocs.
20 * docs/Makefile: New file (rebuilds FAQ text version).
21 * docs/configopts.html: Update.
22 * docs/documentation.html: Update.
23 * docs/download.html: Update.
24 * docs/index.html: Update.
25 * docs/install.html: Update.
26 * docs/links.html: Update.
27 * docs/mail.html: Update.
28 * docs/status.html: Update.
29 * docs/thanks.html: Update.
30 * docs/27_io/howto.html: Update.
31 * docs/faq/index.html: Update for 2.91.
32 * docs/faq/index.txt: Update for 2.91.
33 * docs/footer.html: Removed.
34 * docs/footer.ihtml: New file.
35 * docs/gccrebuild.html: Removed.
36 * docs/header.html: Removed.
37 * docs/header.ihtml: New file.
39 2000-11-29 Loren J. Rittle <ljrittle@acm.org>
41 * tests_flags.in: Correct typo.
43 2000-11-29 Gabriel Dos Reis <gdr@codesourcery.com>
45 * tests_flags (SH_FLAGS, ST_FLAGS): Move them back to ...
46 * mkcheck.in (SH_FLAGS, ST_FLAGS): ...here
48 2000-11-29 Gabriel Dos Reis <gdr@codesourcery.com>
50 * src/Makefile.am (sources): Add bitset.cc
51 * src/Makefile.in: Regenrate.
53 * include/bits/std_bitset.h (_GLIBCPP_BITSET_BITS_PER_WORD): New
54 macro. Replace __BITS_PER_WORDS throughout.
55 (__BITS_PER_WORDS): Remove.
56 (bitset<>::_M_do_find_first, bitset<>::_M_do_find_next): Move
57 definitions to src/bitset.cc.
59 * src/bitset.cc (bitset<>::_M_do_find_first,
60 bitset<>::_M_do_find_next): Define here.
61 (_Bit_count<>::_S_bit_count, _Find_one<>::_S_first_one): Define
62 here. Explicitly instantiate definitions.
64 2000-11-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
66 * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): Silence
67 preprocessor multi-line string warnings.
68 (__atomic_add): Likewise.
69 (__compare_and_swap): Likewise.
70 (__always_swap): Likewise.
71 (__test_and_set): Likewise.
72 * config/cpu/arm/bits/atomicity.h (__exchange_and_add): Likewise.
73 (__atomic_add): Likewise.
74 (__compare_and_swap): Likewise.
75 (__always_swap): Likewise.
76 (__test_and_set): Likewise.
78 2000-11-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
80 Update for 2.91 release.
81 * include/bits/c++config (__GLIBCPP__): Update.
82 * docs/17_intro/RELEASE-NOTES: Update.
83 * docs/status.html: Update, remove bogus autotools disinformation.
85 2000-11-27 Benjamin Kosnik <bkoz@redhat.com>
87 * tests_flags.in (LTCXX): Change CXX_FLAG to CXXFLAGS.
89 * testsuite/22_locale/ctor_copy_dtor.cc: Adjust formatting.
90 * testsuite/27_io/istream_extractor_arith.cc (test11): New
91 testcase, based on libstdc++/90.
93 2000-11-27 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
95 * config/cpu/arm/bits/atomicity.h (__exchange_and_add): Add
97 (__atomic_add): Likewise.
98 (__compare_and_swap): Likewise.
99 (__always_swap): Likewise.
100 (__test_and_set): Likewise.
102 * config/cpu/powerpc/bits/atomicity.h: Replace '__ATOMICITY_INLINE'
104 (__exchange_and_add): Add __volatile__ to asm.
105 (__atomic_add): Likewise.
106 (__compare_and_swap): Likewise.
107 (__always_swap): Likewise.
108 (__test_and_set): Likewise.
110 2000-11-27 Gabriel Dos Reis <gdr@codesourcery.com>
112 * tests_flags.in: Update documentation to reflect the change
115 2000-11-26 Benjamin Kosnik <bkoz@fillmore.constant.com>
117 * tests_flags.in: Export CXX, CXXFLAGS.
118 * mkcheck.in: Grab them.
120 2000-11-26 David Billinghurst <David.Billinghurst@riotinto.com>
121 Benjamin Kosnik <bkoz@redhat.com>
123 * mkcheck.in: Add exe extension to printnow executable, abstract
124 out call to this with TIMER_COMMAND.
125 * configure.target (l_glibcpp_cxxflags): Add cygwin support.
126 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Correct paths.
127 * aclocal.m4: Regenerate.
128 * configure: Regenerate.
130 2000-11-26 Benjamin Kosnik <bkoz@redhat.com>
132 * testsuite/27_io/istream_unformatted.cc (test05): Fixup.
134 2000-11-26 Benjamin Kosnik <bkoz@redhat.com>
136 * acinclude.m4: Only sanity check for compiler version when
137 configuring. More fixes for 'make clean'.
138 * aclocal.m4: Regenerate.
139 * configure: Regenerate.
141 2000-11-26 Gabriel Dos Reis <gdr@codesourcery.com>
143 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove cabsl.c
144 * libmath/Makefile.in: Regenerate.
145 * libmath/cabs.c: Remove.
146 * libmath/cabsf.c: Likewise.
147 * libmath/cabsl.c: Likewise.
148 * libmath/complex-stub.h: Remove declarations for cabs*.
150 * acinclude.m4: Remove check for cabs*.
151 * aclocal.m4: Regenerate.
153 * Makefile.in: Regenerate.
155 2000-11-26 Gabriel Dos Reis <gdr@codesourcery.com>
157 * tests_flags.in: New file. Split out of ...
158 * mkcheck.in: ... this. Move flags computation into
160 * configure.in: Add support for tests_flags.
161 * confiigure: Regenerate.
163 2000-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
165 * acinclude.m4: Change C9X references to refer to C99.
166 * aclocal.m4, configure: Regenerate.
167 * config/os/gnu-linux/bits/os_defines.h, src/complex.cc,
168 testsuite/22_locale/codecvt_wchar_t_char.cc,
169 include/bits/stl_config.h, include/c/bits/std_cwchar.h,
170 libmath/mathconf.h: Change C9X references to refer to C99.
172 2000-11-25 Benjamin Kosnik <bkoz@redhat.com>
173 Richard Earnshaw <rearnsha@arm.com>
175 * src/Makefile.am (INCLUDES): Remove unconditional use of
176 _GNU_SOURCE and _ISOC99_SOURCE macros.
177 * src/Makefile.in: Regenerate.
179 2000-11-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
181 * testsuite/22_locale/codecvt_wchar_t_char.cc (main): Add
182 _GLIBCPP_USE_WCHAR_T guards.
184 * configure.in (AC_OUTPUT_COMMANDS): Remove, just run scripts as
185 is, so that checks for existence of generated files actually work.
186 * configure: Regenerate.
188 2000-11-23 Hans-Peter Nilsson <hp@bitrange.com>
190 * config/os/gnu-linux/bits/os_defines.h: Include <features.h>.
191 If not glibc 2.1 or higher, include <gnu/types.h> and define
192 __off64_t as __loff_t and #define __THROW as empty.
194 * libio/libio.h [__P]: Move __THROW and __PMT into their own
197 2000-11-23 David Edelsohn <edelsohn@gnu.org>
199 * porting.texi: Expand libtool information.
201 2000-11-23 Gabriel Dos Reis <gdr@codesourcery.com>
203 * include/bits/ios_base.h (ios_base::failure::~failure,
204 ios_base::failure::what): Move defintion to ...
206 * src/ios.cc (ios_base::failure::~failure): ... here.
207 src/ios.cc (ios::failure::what): Likewise.
209 2000-11-22 Benjamin Kosnik <bkoz@redhat.com>
211 Make deprecated strstream header consistent with new and new.h.
212 * include/backward/strstream.h: Add. Use using declarations to
213 scope strstreambuf, istrstream, ostrstream, strstream to global
215 * include/backward/strstream: Remove using declarations.
216 * src/Makefile.am (base_headers): Add strstream.
217 * src/Makefile.in: Regenerate.
219 * include/backward/new.h (_CPP_BACKWARD_NEW_H): Change macro guard
220 to be consistent with other headers.
222 2000-11-22 Richard Henderson <rth@redhat.com>
224 * config/os/bsd/bits/ctype_inline.h (is): Fix order of expressions.
226 2000-11-22 Phil Edwards <pme@sources.redhat.com>
228 * porting.texi: Minor tweaks to vocabulary.
230 2000-11-22 Loren J. Rittle <ljrittle@acm.org>
232 * include/backward/strstream.h: Reinstate the `using'
235 2000-11-22 Loren J. Rittle <ljrittle@acm.org>
237 * src/Makefile.am (base_headers): Add missing backwards headers.
238 * src/Makefile.in: Regenerate.
240 2000-11-21 scott snyder <snyder@fnal.gov>
242 * config/c_io_stdio.cc (seekoff): Fix return value.
244 (sys_seek): Likewise.
246 2000-11-21 Loren J. Rittle <ljrittle@acm.org>
248 * mkcheck.in (explanation): Retain output of all failing
249 compiles. Don't add gratuitous space to the log file.
251 2000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
253 * src/strstream.cc: Adjust includes.
254 * src/Makefile.am (base_headers): Remove std_strstream.h, add
255 backwards/strstream.h.
256 (std_headers): Remove strstream.
257 * src/Makefile.in: Regenerate.
258 * libsupc++/Makefile.am (headers): Remove new.h
259 * libsupc++/Makefile.in: Regenerate.
260 * include/std/strstream: Remove.
261 * include/backward/strstream.h: Replace with...
262 * include/bits/std_strstream.h: ...this. Move.
263 * include/backward/complex.h: Remove SGIisms.
264 * include/backward/streambuf.h: Same.
265 * include/backward/stream.h: Same.
266 * include/backward/ostream.h: Same.
267 * include/backward/istream.h: Same.
268 * include/backward/iostream.h: Same.
269 * include/backward/iomanip.h: Same.
270 * include/backward/fstream.h: Same.
271 * libsupc++/new.h: Add using declarations for bad_alloc,
272 nothrow_t, and nothrow, move to ...
273 * include/backward/new.h: ...here.
275 2000-11-21 Mark Mitchell <mark@codesourcery.com>
277 * porting.texi: New file.
279 2000-11-21 Branko Cibej <brankoe@xbc.nu>
281 * config/os/solaris/solaris2.6/bits/os_defines.h: Define
282 _XOPEN_SOURCE, _LARGEFILE64_SOURCE, __EXTENSIONS__, __off_t,
283 __off64_t and __ssize_t.
284 * config/os/solaris/solaris2.5/bits/os_defines.h: For now, use the
285 same configuration as above.
287 2000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
289 * acinclude.m4 (AC_LC_MESSAGES): Check for locale.h.
290 * aclocal.m4: Regenerate.
291 * configure: Renerate.
293 2000-11-20 Benjamin Kosnik <bkoz@redhat.com>
295 * mkcheck.in (explanation): Don't paste output of passing compiles
296 into log file. Use -static. Get version info.
298 * testsuite/23_containers/vector_ctor.cc (test02): Fix thinko.
300 2000-11-20 Gabriel Dos Reis <gdr@codesourcery.com>
302 * include/bits/std_complex.h (complex<double>): Constructor
303 complex<double>::complex(const complex<float>&) is not explicit;
304 since it is a promotion.
305 (complex<long double>): Constructors taking complex<float> and
306 complex<double> are not explicit.
308 2000-11-20 Benjamin Kosnik <bkoz@redhat.com>
310 * include/bits/std_complex.h: Tweaks, include cmath for abs overloads.
311 * src/complex.cc: Remove cmath include, formatting tweaks, remove
313 * include/c/bits/std_cmath.h: Formatting tweaks.
314 * testsuite/26_numerics/complex_value.cc: New file, for catching
315 bits gleaned from libstdc++/106.
317 * testsuite/23_containers/vector_ctor.cc (test02): Add test from
320 2000-11-20 Joseph S. Myers <jsm28@cam.ac.uk>
322 * include/bits/c++config, include/bits/ios_base.h,
323 include/bits/std_streambuf.h: Correct spelling of "deprecated".
325 2000-11-19 Mark Mitchell <mark@codesourcery.com>
327 * libsupc++/exception_support.cc (__throw_bad_cast): Name it
328 __cxa_bad_cast under the new ABI.
329 (__throw_bad_typeid): Name it __cxa_bad_typeid under the new ABI.
330 * libsupc++/pure.cc (__pure_virtual): Name it __cxa_pure_virtual
333 2000-11-18 Mark Mitchell <mark@codesourcery.com>
335 * libsupc++/exception_support.h: New header file.
336 * libsupc++/vec.cc: Include it.
337 (__cxa_vec_new2): Recatch exceptions before rethrows.
338 (__cxa_vec_new3): Likewise.
339 (__cxa_vec_ctor): Likewise.
340 (__cxa_vec_cctor): Likewise.
341 (__cxa_vec_dtor): Likewise.
342 (__cxa_vec_delete2): Likewise.
343 (__cxa_vec_delete3): Likewise.
345 2000-11-17 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
347 * include/bits/stl_tree.h: Overload operators == and != to be able
348 to handle the case (const_iterator,iterator) and
349 (iterator,const_iterator), thus fixing libstdc++/737 and the like.
350 * testsuite/23_containers/map_operators.cc (test02): New tests.
352 2000-11-17 Loren J. Rittle <ljrittle@acm.org>
354 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Correct last patch
355 to ``make --enable-cstdio=stdio the default''.
356 * libstdc++-v3/aclocal.m4: Rebuilt.
357 * libstdc++-v3/configure: Rebuilt.
359 2000-11-17 Phil Edwards <pme@sources.redhat.com>
361 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Move switch statement
363 * configure.target: ...here. Enable generic atomic ops, and warn.
364 * aclocal.m4: Regenerated.
366 * Makefile.in: Ditto.
367 * libio/Makefile.in: Ditto.
368 * libmath/Makefile.in: Ditto.
369 * libsupc++/Makefile.in: Ditto.
370 * src/Makefile.in: Ditto.
372 2000-11-16 Loren J. Rittle <ljrittle@acm.org>
374 * include/bits/locale_facets.tcc (num_get<_CharT,
375 _InIter>::do_get(...)): Add missing typename keyword.
377 2000-11-16 Mark Mitchell <mark@codesourcery.com>
379 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Make
380 --enable-cstdio=stdio the default. Disable wide character support
382 * configure.in: Move GLIBCPP_ENABLE_C_MBCHAR after
383 (GLIBCPP_ENABLE_CSTDIO).
384 * config/c_io_stdio.h: Don't include <libio.h>, don't define
386 * aclocal.m4: Regenerated.
387 * configure: Likewise.
388 * Makefile.in: Likewise.
389 * libio/Makefile.in: Likewise.
390 * libmath/Makefile.in: Likewise.
391 * libsupc++/Makefile.in: Likewise.
392 * src/Makefile.in: Likewise.
394 2000-11-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
396 * config/c_io_stdio.h: Include stddef.h.
398 2000-11-16 Mark Mitchell <mark@codesourcery.com>
400 * config/c_io_stdio.h (streamsize): Make it a typedef for
402 (wstreamsize): Likewise.
404 * config/c_io_stdio.h: Include libio.h.
406 2000-11-15 Mark P Mitchell <mark@codesourcery.com>
408 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Substitute libio_la.
409 * src/Makefile.am (libstdc___la_LIBADD): Use it.
410 * aclocal.m4: Regenerated.
411 * configure: Likewise.
412 * Makefile.in: Likewise.
413 * libio/Makefile.in: Likewise.
414 * libmath/Makefile.in: Likewise.
415 * libsupc++/Makefile.in: Likewise.
416 * src/Makfile.in: Likewise.
418 2000-11-15 Mark Mitchell <mark@codesourcery.com>
420 * mkcheckin.in: Move check for bash version 2 later in the file.
422 * include/bits/basic_string.h (basic_string::_Rep::_S_max_size):
424 (basic_string::_Rep::_S_terminal): Likewise.
425 * include/bits/string.tcc (basic_string::_Rep::_S_max_size):
427 (basic_string::_Rep::_S_terminal): Likewise.
429 2000-11-15 David Billinghurst <David.Billinghurst@riotinto.com>
431 * mkcheck.in: Add function size_command() for irix.
433 2000-11-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
435 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPOR): Set LIBS back to
437 (GLIBCPP_EXPORT_INCLUDES): Only export TOPLEVEL_INCLUDES if
438 building a canadian cross. This should fix the remaining java
440 * aclocal.m4: Regenerate.
441 * configure: Regenerate.
443 * include/bits/c++config (__GLIBCPP__): Set release version for 2.91.
445 2000-11-14 Phil Edwards <pme@sources.redhat.com>
447 * mkcheck.in: On a platform where we don't know how to extract
448 section sizes, just set them to zero. Use old method of reading
451 2000-11-13 Loren J. Rittle <ljrittle@acm.org>
453 * config/c_io_stdio.h: Don't define __c_wfile_type
454 when _GLIBCPP_USE_WCHAR_T is not defined.
456 2000-11-13 Phil Edwards <pme@sources.redhat.com>
458 * acinclude.m4 (GLIBCPP_CHECK_TARGET): New macro, replacing
459 GLIBCPP_CHECK_CPU and GLIBCPP_CHECK_OS, sourcing configure.target.
460 (GLIBCPP_CONFIGURE): Call new macro here.
461 * configure.host: Cleanup.
462 * configure.in: Remove those two macros.
463 * configure.target: New file.
464 * aclocal.m4: Regenerated.
466 * Makefile.in: Ditto.
467 * libio/Makefile.in: Ditto.
468 * libmath/Makefile.in: Ditto.
469 * libsupc++/Makefile.in: Ditto.
470 * src/Makefile.in: Ditto.
472 * mkcheck.in: Use libtool. Split things out into functions.
474 2000-11-12 Alexandre Petit-Bianco <apbianco@cygnus.com>
476 * Makefile.am (tmp-libstdsc++.INC:): Do not use -I$(top_builddir).
477 * Makefile.in: Regenerate.
479 2000-11-12 David Edelsohn <edelsohn@gnu.org>
481 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add test for
482 libiconv.a providing wchar_t support functions.
483 * aclocal.m4: Regenerate.
485 2000-11-12 Loren J. Rittle <ljrittle@acm.org>
487 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle FreeBSD.
488 * aclocal.m4, configure: Rebuilt.
490 2000-11-12 Brent Verner <brent@rcfile.org>
492 * include/c_std/bits/wrap_langinfo.h: New file.
493 * include/c_std/langinfo.h: New file.
494 * include/bits/codecvt.h (__enc_trants::__enc_traits()): Bring in
495 CODESET from _C_legacy::CODESET if using shadow headers.
496 * src/Makefile.am: Add new files.
497 * src/Makefile.in: Regenerate.
499 2000-11-12 Mark Mitchell <mark@codesourcery.com>
501 * include/c/bits/std_cmath.h (abs): Change extern "C" declaration
502 of `abs (double)' to ...
505 * config/os/solaris/solaris2.7/bits/os_defines.h: Define
508 2000-11-11 Mark P Mitchell <mark@codesourcery.com>
510 * include/bits/basic_file.h (__basic_file): Don't use __c_wfile_type
511 when _GLIBCPP_USE_WCHAR_T is not defined.
513 2000-11-10 Phil Edwards <pme@sources.redhat.com>
515 * include/bits/codecvt.h (__iconv_adaptor): New adaptor function,
516 courtesy of Alexandre Oliva, to handle const/non-const signatures.
517 (codecvt::do_out): Use.
518 (codecvt::do_in): And here.
520 2000-11-10 Gabriel Dos Reis <gdr@codesourcery.com>
522 * include/bits/cpp_type_traits.h: Fix typos. Adjust formatting.
524 2000-11-10 Gabriel Dos Reis <gdr@codesourcery.com>
526 * include/bits/localefwd.h (_Count_ones<>::_S_halfcount,
527 _Count_ones<>::_S_count): Turn into enumerators.
529 2000-11-08 Mark Mitchell <mark@codesourcery.com>
531 * include/bits/codecvt.h (codecvt::do_out): Make it const-correct.
532 (codecvt::do_in): Likewise.
534 2000-11-08 David Edelsohn <edelsohn@gnu.org>
536 * src/locale-inst.cc: Add explicit instantiations of
537 _M_fill_insert and fill_n<..., unsigned long,...> .
539 2000-11-06 Gabriel Dos Reis <gdr@codesourcery.com>
541 * include/bits/std_complex.h (conj): Undo double removal.
543 2000-11-06 Alexandre Oliva <aoliva@redhat.com>
545 * acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of
546 alternatives for CXX_libstdcxx, now that it is useless.
547 * aclocal.m4, configure: Rebuilt.
549 2000-11-04 Mark Mitchell <mark@codesourcery.com>
551 * acinclude.m4 (LIB_AC_PROG_CXX): Set CXX_libstdcxx from CXX.
552 * aclocal.m4: Regenerated.
553 * configure: Likewise.
555 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix punctuation in
557 * aclocal.m4: Regenerated.
558 * configure: Likewise.
560 2000-11-04 Alexandre Oliva <aoliva@redhat.com>
562 * acinclude.m4 (CXX): Prevent it from being cached.
563 * aclocal.m4, configure, */Makefile.in: Rebuilt.
565 2000-11-03 David Edelsohn <dje@watson.ibm.com>
567 * acinclude.m4 (GLIBCPP_CHECK_OS): Add AIX target selecting threads
568 flag based on multilib definition of $CXX.
569 * mknumeric_limits (LDFLAGS): Add AIX target linking with pthreads
570 based on multilib definition of $CXX.
571 * config/os/aix/bits/os_defines.h (_G_USING_THUNKS): Define as 0.
573 2000-11-03 Phil Edwards <pme@sources.redhat.com>
575 * acinclude.m4: Cleanups.
576 * aclocal.m4: Regenerated.
578 * Makefile.in: Ditto.
579 * libio/Makefile.in: Ditto.
580 * libmath/Makefile.in: Ditto.
581 * libsupc++/Makefile.in: Ditto.
582 * src/Makefile.in: Ditto.
584 * docs/install.html: Removal of EGCS.
585 * docs/23_containers/wrappers_h.txt: Likewise.
586 * docs/faq/index.html: Likewise.
587 * docs/faq/index.txt: Regenerated.
588 * docs/thanks.html: More people.
590 2000-11-03 David Edelsohn <edelsohn@gnu.org>
592 * include/c/bits/std_cwchar.h: Undefine macro that conflicts
593 with function name defined in this file.
595 Thu Nov 2 23:19:20 2000 Mark P Mitchell <mark@codesourcery.com>
597 * include/c/bits/std_cctype.h: Undefine macros that conflict
598 with function names defined in this file.
599 * include/c/bits/std_cstdio.h: Likewise.
601 2000-11-02 Mark Mitchell <mark@codesourcery.com>
603 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix typo.
605 Thu Nov 2 10:11:45 2000 Mark P Mitchell <mark@codesourcery.com>
607 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Add support for IRIX.
608 * aclocal.m4: Regenerated.
609 * Makefile.in: Regenerated.
610 * libio/Makefile.in: Likewise.
611 * libmath/Makefile.in: Likewise.
612 * libsupc++/Makefile.in: Likewise.
613 * src/Makefile.in: Likewise.
614 * configure: Likewise.
615 * config/os/irix/bits/ctype_base.h: Revise.
616 * config/os/irix/bits/ctype_inline.h: Likewise.
617 * config/os/irix/bits/ctype_noninline.h: Likewise.
619 * testsuite/22_locale/codecvt_unicode_char.cc: Don't run it
620 if not _GLIBCPP_USE_WCHAR_T.
621 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
622 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
623 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
625 * mkcheck.in: Fix echoing of -rpath option.
627 * config/os/irix/bits/atomicity.h (_Atomic_word): Make it a
629 (__exchange_aand_add): Adjust accordingly.
630 (__atomic_add): Likewise.
632 2000-11-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
634 * src/locale.cc: Match orderings for static members.
635 * include/bits/fstream.tcc: Fixes for cin.
637 2000-11-02 Gabriel Dos Reis <gdr@codesourcery.com>
639 * include/bits/std_complex.h (complex<>): Remove (cos<>, cosh<>,
640 exp<>, log<>, log<>, sin, sinh<>) friend declarations.
641 (cos, cosh, sin, sinh): Define primary templates.
643 * src/complex.cc (cos<>, cosh<>, sin<>, sinh<>): Comment out
646 2000-11-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
648 * bits/basic_file.h (_M_open_mode): Change signature, move
650 * config/c_io_libio.cc: ...here.
651 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add sdtio option, remove wince.
652 * aclocal.m4: Regenerate.
653 * configure: Regenerate.
654 * config/c_io_stdio.h: New file.
655 * config/c_io_stdio.cc: New file.
656 * docs/configopts.html: Modify documentation.
658 2000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
660 * include/c/bits/std_cwctype.h: Add more undefs.
662 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
664 * include/bits/std_complex.h (norm): Forward declare.
665 (complex<>): Comment out friend declaration of conj<>.
666 (conj<>): Comment out specialization.
667 (exp, log, log10): Define primary templates.
669 * src/complex.cc (exp<>, log<>, log10<>): Comment out
672 2000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
674 * include/bits/std_complex.h: Remove duplicate definition of conj.
675 * include/c/bits/std_cwctype.h: Consistent placement of undefs.
677 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
679 * src/complex.cc (arg, polar): Comment out specializations.
681 * include/bits/std_complex.h (complex<>): Remove arg<> friend
683 (arg): Define primary template.
687 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
689 * include/c/bits/std_cwctype.h: #undef possible function-like
690 macro definitions of iswxxx functions, which might be brought in
691 by <wctype.h>. Those macro definitions prevent build on some
694 * include/bits/std_complex.h (complex<>): Comment out friend
695 declarations of abs<> specializations.
696 (abs): Define primary template.
698 * src/complex.cc (abs): Comment out specialization definition.
700 2000-10-30 Phil Edwards <pme@sources.redhat.com>
702 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Raise debugging level from
703 the default of 2 to 3.
704 * configure.in: Fix minor typos. SUBST the values of enable_shared
705 and enable_static so that mkcheck will be aware of them. Put the
706 test for gconv.h in with all the other header tests.
707 * aclocal.m4: Regenerate.
709 * Makefile.in: Ditto.
710 * libio/Makefile.in: Ditto.
711 * libmath/Makefile.in: Ditto.
712 * libsupc++/Makefile.in: Ditto.
713 * src/Makefile.in: Ditto.
715 * config/os/solaris/solaris2.7/bits/os_defines.h: Define
716 _G_USING_THUNKS to 0.
718 2000-10-30 Benjamin Kosnik <bkoz@redhat.com>
720 * src/complex_io.cc : Remove ancient defines.
721 * config/os/gnu-linux/bits/os_defines.h: Add defines.
722 * libsupc++/tinfo2.cc: Change to cstddef.
724 * include/bits/codecvt.h: Add include of c++config.h, so that
725 __USE_GNU gets defined. (Important for alpha.)
727 * include/c/bits/std_cwctype.h: Same.
728 * include/c/bits/std_ctime.h: And here.
729 * include/c/bits/std_cstdarg.h: Same.
730 * include/c/bits/std_csignal.h: Same.
731 * include/c/bits/std_csetjmp.h: Same.
732 * include/c/bits/std_clocale.h: Same.
733 * include/c/bits/std_climits.h: Touch.
734 * include/c/bits/std_cfloat.h: Same.
735 * include/c/bits/std_cerrno.h: Same.
736 * include/c/bits/std_cwchar.h: Same.
737 * include/c/bits/std_cassert.h: Same.
738 * include/c/bits/std_cctype.h: Same.
739 * include/c/bits/std_cstddef.h: And here.
740 * include/c/bits/std_cstdlib.h: And here.
741 * include/c/bits/std_cstdio.h: Same.
742 * include/c/bits/std_cstring.h: Add names to namespace std::.
744 * include/bits/c++config (_GNU_SOURCE): Move linux-specific macros
746 (_ISOC99_SOURCE): And this one....
747 * config/os/gnu-linux/bits/os_defines.h: ...to here.
749 * include/bits/codecvt.h (codecvt<_InternT, _ExternT,
750 __enc_traits>::do_in): Don't cast to const, this is a bug in glibc
752 (codecvt<_InternT, _ExternT, __enc_traits>::do_out): Same.
753 * include/c/bits/std_cwchar.h: Add using declarations for mbstate_t.
755 2000-10-30 Steven King <sxking@uswest.net>
757 * include/bits/codecvt.h: Add cast.
758 * include/c_std/stdio.h: Re-add printf using declaration.
759 * include/c_std/bits/std_cstdio.h: Same
760 * testsuite/22_locale/codecvt_wchar_t_char.cc: Fixup testsuite.
761 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
762 * testsuite/22_locale/facet.cc: Same.
763 * testsuite/22_locale/global_templates.cc: Same.
764 * testsuite/22_locale/operators.cc: Same.
765 * testsuite/22_locale/static_members.cc: Same.
766 * testsuite/26_numerics/c_math.cc: Same.
767 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
768 * testsuite/27_io/fpos.cc: Same.
769 * testsuite/27_io/istream_extractor_arith.cc: Same.
770 * testsuite/27_io/istream_unformatted.cc: Same.
771 * testsuite/27_io/ostream_inserter_arith.cc: Same.
772 * testsuite/27_io/streambuf.cc: Same.
774 2000-10-30 Mark Mitchell <mark@codesourcery.com>
776 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT): Check
777 for cabs, cabsf, and cabsl, too.
778 * aclocal.m4: Regenerated.
779 * config.h.in: Likewise.
780 * configure: Likewise.
781 * libmath/Makefile.am (libmath_la_SOURCES): Remove cabs.c and
783 * libmath/Makefile.in: Regenerated.
784 * libmath/complex-stub.h (cabs): Don't declare if the system
785 already provides this function.
788 * src/complex.cc (abs): Directly use `hypot' since we can't call
791 2000-10-30 Joseph S. Myers <jsm28@cam.ac.uk>
793 * acinclude.m4: Update URL on egcs.cygnus.com to point to
795 * aclocal.m4, configure: Regenerate.
796 * src/gen-num-limits.cc, include/bits/c++config,
797 include/bits/stl_config.h: Remove EGCS references.
799 2000-10-29 Mark Mitchell <mark@codesourcery.com>
801 * mkcheck.in (test_file): Use -rpath, rather than --rpath, when
802 building shared executables.
804 2000-10-29 Mark Harig <mharig@landmark.com>
806 * src/Makefile.am: Change logic for include dir options.
807 * src/Makefile.in: Regenerate.
808 * libsupc++/Makefile.am: Ditto.
809 * libsupc++/Makefile.in: Regenerate.
811 2000-10-29 Benjamin Kosnik <bkoz@redhat.com>
813 * configure.in: Simplify use of AC_CACHE_SAVE. Put linked files
814 in $(top_builddir)/include/bits, not $(top_builddir)/bits, to help
815 with libgcj build issues and improve consistency with the source
816 directory's include directory setup.
817 * configure: Regenerate.
818 * acinclude.m4: Same here.
819 * aclocal.m4: Regenerate.
820 * mknumeric_limits (OUT_H): Also change paths here.
821 * mkcheck.in (C_DIR): And here.
822 * mkc++config (OUT_H): And here.
823 * libmath/Makefile.am (INCLUDES): And here.
824 * src/Makefile.am (INCLUDES): Change to $(top_builddir)/include.
825 * libio/Makefile.am: Ditto.
826 * libsupc++/Makefile.am (INCLUDES): Ditto.
828 2000-10-29 Mark Mitchell <mark@codesourcery.com>
830 * config/c_io_libio.cc (basic_file<char>::__basic_file):
831 Don't pass a NULL _IO_wide_data to _IO_no_init when
832 _GLIBCPP_USE_WCHAR_T is not defined.
833 * config/c_io_libio.h (_IO_codecvt): Don't declare when
834 _GLIBCPP_USE_WCHAR_T is not defined.
835 * config/c_io_libio_codecvt.c: Don't compile it
836 when _GLIBCPP_USE_WCHAR_T is not defined.
837 * include/bits/codecvt.h (codecvt<_InternT, _ExternT, __enc_traits):
838 Don't define this specialization when _GLIBCPP_USE_WCHAR_T
840 * include/bits/locale_facets.h (<bits/std_cwctype.h>): Don't
841 include it when _GLIBCPP_USE_WCHAR_T is not defined.
842 * src/codecvt.cc (__enc_traits::_S_max_size): Don't define
843 when _GLIBCPP_USE_WCHAR_T is not defined.
844 * src/localename.cc (locale::_Impl::_M_construct_collate):
845 Don't call wide-character functions when _GLIBCPP_USE_WCHAR_T is
847 (locale::_Impl::_M_construct_ctype): Likewise.
848 (locale::_Impl::_M_construct_monetary): Likewise.
849 (locale::_Impl::_M_construct_numeric): Likewise.
850 (locale::_Impl::_M_construct_time): Likewise.
851 (locale::_Impl::_M_construct_messages): Likewise.
853 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle IRIX.
854 * aclocal.m4: Regenerated.
855 * configure: Likewise.
856 * config/os/irix/bits/atomicity.h: New file.
857 * config/os/irix/bits/os_defines.h (_POSIX_SOURCE): Undefine.
859 (__off64_t): Likewise.
860 (__ssize_t): Likewise.
861 (_G_USING_THUNKS): Define to zero.
863 2000-10-28 Mark Mitchell <mark@codesourcery.com>
865 * src/string-inst.cc (basic_string<C>::npos): Explicitly
868 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
870 * include/c/bits/std_cmath.h: Fix double declarations in namespace std.
872 Clean up naming, consistency in "C" library autoconf testing.
873 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): For consistency, change to
874 GLIBCPP_CHECK_CTYPE_SUPPORT.
875 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add.
876 * aclocal.m4: Regenerate.
877 * configure.in: And here.
878 Add call to GLIBCPP_CHECK_STDLIB_SUPPORT.
879 * configure: Regenerate.
881 2000-10-26 David Edelsohn <edelsohn@gnu.org>
883 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_2): New macro.
884 (GLIBCPP_CHECK_MATH_SUPPORT): Use it to test for strtold.
886 2000-10-26 Phil Edwards <pme@sources.redhat.com>
887 David Edelsohn <dje@watson.ibm.com>
889 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
890 --gc-sections stuff entirely to avoid misleading people.
891 (GLIBCPP_ENABLE_CSTDIO): Merge need_libio and need_xtra_libio.
892 * libio/Makefile.am (LIBIO_SRCS,LIBIO_WSRCS,LIBIO_XTRA_SRCS):
894 * libio/libio.h: Simplify, make fewer assumptions. Define those
895 macros which must be defined.
896 * config/os/solaris/solaris2.7/bits/os_defines.h: Simplify as a
899 2000-10-26 Mark Mitchell <mark@codesourcery.com>
901 * include/backward/streambuf.h: New file.
903 2000-10-26 David Edelsohn <dje@watson.ibm.com>
905 * config/os/aix/bits/ctype_inline.h (is): Use __OBJ_DATA directly.
906 * config/os/aix/bits/ctype_noninline.h (do_tolower): Fix typo.
907 * config/os/aix/bits/os_defines.h: Add AIX defines.
909 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
911 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Remove.
912 * aclocal.m4: Regenerate.
913 * configure.in: Remove GLIBCPP_ENABLE_LONG_DOUBLE.
914 * configure: Regenerate.
915 * docs/configopts.html: Remove.
916 * src/complexl.cc: Revert.
917 * config.h.in: Remove.
918 * include/c_std/bits/std_cmath.h: Remove guards based on
919 _GLIBCPP_USE_LONG_DOUBLE.
920 * include/c/bits/std_cmath.h: Same. Format. Match c_std behavior
921 with respect to long double signatures.
923 * config/os/aix/bits/ctype_noninline.h (ctype): Remove throw
925 * config/os/newlib/bits/ctype_noninline.h (ctype): And here.
926 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
927 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
928 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
929 * config/os/bsd/bits/ctype_noninline.h (ctype): Same.
931 2000-10-26 Gabriel Dos Reis <gdr@codesourcery.com>
933 * include/bits/std_valarray.h (valarray::valarray): Fix thinko.
934 Use __valarray_copy_construct only where appropriate.
936 2000-10-25 Mark Mitchell <mark@codesourcery.com>
938 * Makefile.in (check): Don't make mkcheck executable.
939 (check-install): Likewise.
940 * configure.in (AC_OUTPUT): Make mkcheck executable.
941 * mkcheck.in (top_srcdir): New variable.
942 (INC_PATH): Set the path to the backward and ext directories
945 2000-10-25 Phil Edwards <pme@sources.redhat.com>
947 * configure.in: Check for gconv.h.
948 * libio/wfileops.c: Wrap gconv.h in HAVE_GCONV_H.
950 * config/c_io_libio_codecvt.c: Change __mbstate_t to __c_mbstate_t.
951 * libio/_G_config.h: And here.
952 * libio/iofwide.c: And here.
953 * libio/libio.h: And here.
955 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Remove
956 exception specification to match declaration.
957 * include/bits/locale_facets.tcc: Include bits/std_clocale.h.
959 2000-10-24 Mark Harig <mharig@landmark.com>
961 * docs/configopts.html: Added documentation for the
962 "--enable-version-specific-runtime-libs" and
963 "--with-gxx-include-dir" configuration switches.
965 2000-10-24 Benjamin Kosnik <bkoz@redhat.com>
967 * include/bits/stl_pair.h (make_pair): Add LWG solution.
969 * testsuite/21_strings/compare.cc (test01): Inject namespace std
972 * mkcheck.in (MAX_MEM_USAGE): Bump up to 3072. Strangely enough,
975 2000-10-24 Levente Farkas <lfarkas@mindmaker.hu>
977 * include/bits/std_bitset.h (_M_do_find_next): Fix typo.
979 2000-10-24 Phil Edwards <pme@sources.redhat.com>
981 * acconfig.h: List _GLIBCPP_USE_THREADS.
982 * acinclude.m4: General formatting cleanup (tabs/spaces), typo
983 correction, etc. Add comments about following *real* changes
985 (GLIBCPP_ENABLE_C_MBCHAR): New test...
986 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): ...results used here.
987 (GLIBCPP_ENABLE_CSTDIO): Define need_wlibio iff wide characters
989 (GLIBCPP_ENABLE_THREADS): If threads are used, define new
990 macro _GLIBCPP_USE_THREADS in c++config.h.
991 (GLIBCPP_ENABLE_SHADOW): For C_INCLUDE_DIR, change () to {} as
992 this is used in both makefiles and shell scripts (mkcheck).
993 * configure.in: Call GLIBCPP_ENABLE_C_MBCHAR.
995 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USE_THREADS.
996 * config/c_io_libio.h: In nonthreaded case, typedef __c_lock to
997 something harmless, like int.
999 * config/os/aix/bits/os_defines.h: Guard with _GLIBCPP_OS_DEFINES,
1000 add comment/instructions.
1001 * config/os/bsd/bits/os_defines.h: Ditto.
1002 * config/os/generic/bits/os_defines.h: Ditto.
1003 * config/os/gnu-linux/bits/os_defines.h: Ditto.
1004 * config/os/irix/bits/os_defines.h: Ditto.
1005 * config/os/newlib/bits/os_defines.h: Ditto.
1006 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
1007 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
1009 * mkcheck.in: Limit the available heap size for testsuite
1010 binaries, initially at 2MB.
1012 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
1014 * testsuite/21_strings/compare.cc (test01): Add using declarations.
1016 * include/c_std/bits/std_cerrno.h: And here.
1017 * include/c_std/bits/std_cassert.h: Tweaks.
1019 * mkcheck.in: Simplify.
1021 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
1022 (GLIBCPP_ENABLE_LONG_LONG): Same.
1023 * aclocal.m4: Regenerate.
1025 * src/Makefile.am (c_shadow_headers): Add features.h,
1026 bits/wrap_features.h.
1027 * src/Makefile.in: Regenerate.
1028 * include/c_std/features.h: New file.
1029 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
1030 file. Need to have c++config.h included before this file so
1031 _ISOC99_SOURCE around.
1033 * include/c_std/sys/cdefs.h: Hack.
1034 * include/c_std/stdlib.h: Same, use c++config.h.
1035 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
1037 * include/c_std/bits/std_cassert.h: Fix.
1038 * include/c_std/bits/std_cerrno.h: Make consistent.
1040 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
1041 declaration from ::_C_legacy to _C_legacy.
1043 * include/c_std/bits/std_cstdio.h: same with printf.
1044 * include/c_std/stdio.h: And here.
1046 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
1047 * include/c_std/stdlib.h: Same here.
1049 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
1051 * testsuite/21_strings/compare.cc (test01): Add using declarations.
1053 * include/c_std/bits/std_cerrno.h: And here.
1054 * include/c_std/bits/std_cassert.h: Tweaks.
1056 * mkcheck.in: Simplify.
1058 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
1059 (GLIBCPP_ENABLE_LONG_LONG): Same.
1060 * aclocal.m4: Regenerate.
1062 * src/Makefile.am (c_shadow_headers): Add features.h,
1063 bits/wrap_features.h.
1064 * src/Makefile.in: Regenerate.
1065 * include/c_std/features.h: New file.
1066 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
1067 file. Need to have c++config.h included before this file so
1068 _ISOC99_SOURCE around.
1070 * include/c_std/sys/cdefs.h: Hack.
1071 * include/c_std/stdlib.h: Same, use c++config.h.
1072 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
1074 * include/c_std/bits/std_cassert.h: Fix.
1075 * include/c_std/bits/std_cerrno.h: Make consistent.
1077 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
1078 declaration from ::_C_legacy to _C_legacy.
1080 * include/c_std/bits/std_cstdio.h: same with printf.
1081 * include/c_std/stdio.h: And here.
1083 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
1084 * include/c_std/stdlib.h: Same here.
1086 2000-10-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1088 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): New macro.
1089 * aclocal.m4: Regenerate.
1090 * configure.in: Use it.
1091 * configure: Regenerate.
1092 * src/complexl.cc: Fixup.
1093 * include/c_std/bits/std_cmath.h: Fixup.
1094 * include/c/bits/std_cmath.h: Fixup.
1095 * docs/configopts.html: Add docs.
1097 * docs/links.html: Add links to defects list, standards FAQ.
1099 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Disable tests
1100 with string creation that allocate huge ammounts of memory.
1102 * include/c/bits/std_cstddef.h: Put size_t, ptrdiff_t in
1105 2000-10-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1107 * libsupc++/exception.cc: Use namespace std.
1108 * libsupc++/new: DITTO.
1109 * libsupc++/new_op.cc: DITTO.
1110 * libsupc++/new_opnt.cc: DITTO.
1111 * libsupc++/new_opv.cc: DITTO.
1112 * libsupc++/new_opvnt.cc: DITTO.
1113 * libsupc++/tinfo.cc: DITTO.
1114 * libsupc++/tinfo.h: DITTO.
1115 * libsupc++/vec.cc: DITTO.
1116 * libsupc++/Makefile.am: Blank lines removal.
1118 2000-10-21 Joseph S. Myers <jsm28@cam.ac.uk>
1120 * docs/configopts.html, docs/install.html, docs/17_intro/BADNAMES,
1121 docs/17_intro/howto.html, docs/18_support/howto.html,
1122 docs/19_diagnostics/howto.html, docs/20_util/howto.html,
1123 docs/21_strings/howto.html, docs/22_locale/howto.html,
1124 docs/23_containers/howto.html, docs/24_iterators/howto.html,
1125 docs/25_algorithms/howto.html, docs/26_numerics/howto.html,
1126 docs/27_io/howto.html, docs/ext/howto.html, docs/faq/index.html:
1127 Remove many EGCS references; use current absolute URLs on
1128 gcc.gnu.org or sources.redhat.com for messages in list archives.
1129 * docs/faq/index.txt: Regenerate.
1131 2000-10-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1133 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Adjust
1134 creation of state_type for unicode_codecvt to take into account
1135 the byte order markings. Add distinct tests for UCS-2BE and UCS-2LE.
1136 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Same.
1137 * include/bits/codecvt.h (__enc_traits): Add support for encodings
1138 that need a byte order marker. Needed for correct unicode support.
1140 * src/locale.cc: Remove explicit qualification std::.
1141 (locale::locale(const char* __name)): Revert, as named locale
1142 support not finished.
1143 * src/localename.cc (locale::_Impl:: _Impl(size_t __numfacets,
1144 size_t __refs, bool __has_name = false, string __name): Move
1146 * include/bits/localefwd.h: Here.
1148 2000-10-18 Chip Salzenberg <chip@valinux.com>
1150 * libio/libio.h (_IO_USER_LOCK): Define.
1152 2000-10-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1154 * libsupc++/Makefile.am (exception): Change exception.cc to
1155 exception_support.cc.
1156 (CXXLINK): Remove bogus --tag CC.
1157 * libsupc++/Makefile.in: Regenerate.
1158 * libsupc++/exception.cc: Move to...
1159 * libsupc++/exception_support.cc: ...here.
1161 * src/Makefile.am: Remove bogus --tag CC.
1162 * src/Makefile.in: Regenerate.
1164 * include/bits/locale_facets.tcc (use_facet): Simplify.
1165 * include/bits/locale_facets.h (use_facet<ctype<char> >): Correct
1166 use_facet declaration. Replace 'const ctype<T>' with ctype<T>.
1167 (use_facet<ctype<wchar_t> >): Same.
1168 * src/locale-inst.cc: Remove explicit instantiation.
1169 * src/locale.cc: Correct signature here too.
1170 (_Bad_use_facet::what()): Correct error string.
1171 * include/bits/localefwd.h: Correct comment.
1173 * mkcheck.in (C_DIR): Change libsupc++/include to libsupc++.
1175 2000-10-17 Martin Buchholz <martin@xemacs.org>
1177 * testsuite/27_io/istream_seeks.cc: Fix spelling typo.
1178 * testsuite/27_io/ostream_seeks.cc: Similarly.
1180 2000-10-17 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1182 via Alexandre Oliva <aoliva@redhat.com>
1183 * libsupc++/Makefile.am: Add --tag CXX, --tag CC, comments.
1184 * libsupc++/Makefile.in: Regenerate.
1185 * src/Makefile.am: Duplicate code.
1186 * src/Makefile.in: Regenerate.
1188 * acinclude.m4 (GLIBCPP_ENABLE_RELIBGCC): Take this out.
1189 * aclocal.m4: Regenerate.
1190 * configure.in: And here.
1191 * configure: Regenerate.
1193 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Disable
1194 test for SECTION_LDFLAGS.
1196 2000-10-16 Benjamin Kosnik <bkoz@gnu.org>
1198 Shadow headers would work if libsupc++ was strict about namespaces.
1199 This only possible if g++ maps std::size_t -> size_t. (Hint hint.)
1200 * include/c_std/assert.h: Add guards.
1201 * include/c_std/bits/std_climits.h: Correct typo.
1202 * include/c_std/ctype.h: Remove #error.
1204 * libio/libioP.h: Break up extern "C" bits around includes.
1205 * libio/libio.h: Only include C headers, or else _C_legacy namespaces
1207 * libio/libioP.h: Same here.
1209 2000-10-15 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1211 * include/c_std/unistd.h: Define some types only when defined in
1212 the original unistd.h.
1213 * include/c_std/bits/std_cstddef.h: Explicitly ask for the
1214 definition of size_t, ptrdiff_t and NULL.
1215 * include/c_std/bits/wrap_unistd.h: Blank lines removal.
1217 2000-10-15 Phil Edwards <pme@sources.redhat.com>
1219 * docs/configopts.html: Remove libgcc-rebuild; HTML formatting.
1221 2000-10-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1222 Mark Harig <markh@landmark.com>
1224 * src/Makefile.am (toolexeclibdir): Add support fo
1225 VERSION_SPECIFIC_LIBS and --with-gxx-include-dir.
1226 * src/Makefile.in: Regenerate.
1227 * libsupc++/Makefile.am: Same.
1228 (glibcppinstalldir): Adjust.
1229 * libsupc++/Makefile.in: Regenerate.
1230 * Makefile.am: Remove gxx_include_dir. Remove INCLUDE.
1231 * Makefile.in: Regenerate.
1232 * docs/configopts.html: Add descriptions of flags.
1234 2000-10-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1236 * libsupc++/Makefile.am: Use it.
1237 * libio/Makefile.am: Use it.
1238 * libmath/Makefile.am: Use it.
1239 * src/Makefile.am: Use it.
1240 * Makefile.am (AM_MAKEFLAGS): Remove includes.
1242 * acinclude.m4 (GLIBCPP_EXPORT_INCLUES): Move include macros here.
1243 (GLIBCPP_EXPORT_FLAGS): Move CXX flag setting here.
1244 * configure.in: Use it.
1246 * mkcheck.in (SRC_DIR): Use C_INCLUDE_DIR.
1248 * src/Makefile.am (CXXCOMPILE): Remove.
1249 * src/Makefile.in: Regenerate.
1250 * libsupc++/Makefile.am (CXXCOMPILE): Same here.
1251 * libsupc++/Makefile.in: Regenerate.
1253 * include/c_std/*: Merge with shadow.
1254 * include/c_std/bits/*: Same.
1256 * shadow: Remove directory.
1257 * shadow/*: De-populate.
1259 2000-10-11 Phil Edwards <pme@sources.redhat.com>
1261 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
1262 exception-throwing code for linker test.
1263 * aclocal.m4: Regenerate.
1264 * configure: Regenerate.
1266 2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1268 * Makefile.am (LIBSUPCXX_INCLUDES): Adjust.
1269 * libsupc++/include: Remove
1270 * libsupc++/include/*: Move to ...
1272 * libsupc++/Makefile.am (glibcppinstall_HEADERS): Install headers.
1273 (glibcppinstalldir): New.
1275 * src/Makefile.am (c_base_headers): New.
1276 (c_shadow_headers): New
1278 (myinstallheaders): Correct install issues.
1279 * src/Makefile.in: Regenerate.
1281 * Makefile.am (CSHADOW_INCLUDES): Simplify.
1282 * Makefile.in: Regenerate.
1283 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add c_include_dir.
1284 * aclocal.m4: Regenerate.
1285 * mkcheck.in (SRC_DIR): Use it.
1287 * include/bits/std_stdexcept.h: And here.
1288 * include/bits/std_ios.h: Change std_exception.h to exception.
1289 * src/locale.cc: And here.
1290 * src/locale-inst.cc: And here.
1292 * include/bits/valarray_array.h: And here.
1293 * include/bits/stl_alloc.h: And here.
1294 * include/bits/stl_algobase.h: And here.
1295 * include/bits/pthread_allocimpl.h: And here.
1296 * include/bits/stl_construct.h: Change to std_new.h to new.
1298 * include/bits/locale_facets.h: Change std_typeinfo.h to typeinfo.
1300 * src/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
1301 (headers): Remove duplicated headers.
1302 (std_headers): And here.
1303 * src/Makefile.in: Regenerate.
1304 * libsupc++/Makefile.am (LIBSUPCXX_INCLUDES): Remove.
1305 * libsupc++/Makefile.in: Regenerate.
1306 * Makefile.am (LIBSUPCXX_INCLUDES): Add here.
1307 (AM_MAKEFLAGS): And here.
1308 * Makefile.in: Regenerate.
1309 * include/bits/std_typeinfo.h: Remove.
1310 * include/bits/std_new.h: Remove
1311 * include/bits/std_exception.h: Remove.
1313 * std/typeinfo: Remove.
1314 * std/exception: Remove.
1316 * libio/_G_config.h (__need_ptrdiff_t): Add.
1318 * libsupc++/include/new: Change stddef.h to cstddef.
1319 * libsupc++/tinfo.h: Change limits.h to climits.
1320 * libsupc++/pure.cc: Comment out _GNU_LIBRARY_ bits, as this
1321 renders the file uncompilable. Add copyright.
1323 * include/c_std/bits/std_cstddef.h: Don't bring wchar_t into std
1324 namespace, as it is a fundamental type.
1326 2000-10-09 Richard Henderson <rth@cygnus.com>
1328 * libsupc++/pure.cc: New file.
1329 * libsupc++/Makefile.am (INCLUDES): Add top_builddir.
1330 (sources): Add pure.cc.
1331 * libsupc++/Makefile.in: Regenerate.
1333 2000-10-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1335 * docs/configopts.html: Edit.
1337 * libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
1338 * libio/Makefile.in: Regenerate.
1339 * libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
1340 * libmath/Makefile.in: Regenerate.
1341 * libsupc++/Makefile.am (INCLUDES): Remove duplicate.
1342 * libsupc++/Makefile.in: Regenerate.
1344 * Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
1345 TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
1346 CSHADOW_INCLUDES up here.
1347 * Makefile.in: Regenerate.
1348 * src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
1350 (myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
1351 Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
1352 LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
1353 * src/Makefile.in: Regenerate.
1355 * include/c: New directory.
1356 * include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
1357 std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
1358 std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
1359 std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
1360 std_cwchar.h, std_cwctype.h): Add, moving from...
1361 * include/bits: ...here.
1362 * include/c_std: New directory.
1363 * include/c_std/bits/*: Populate from...
1364 * shadow: ...here. Remove directory.
1366 2000-10-08 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1368 * libsupc++/Makefile.am (INCLUDES): Add toplevel include directory.
1369 (INCLUDES): Add glibcpp_includedir.
1370 * libsupc++/Makefile.in: Regenerate.
1372 * acinclude.m4 (GLIBCPP_CHECK_OS): Link to os_defines.h.
1373 * aclocal.m4: Regenerate.
1374 * config/os/*/bits/os_defintes: Adjust copyright dates.
1376 2000-10-08 Phil Edwards <pme@sources.redhat.com>
1378 * include/bits/c++config: Include <bits/os_defines.h>
1379 * config/os/aix/bits/os_defines.h: New file.
1380 * config/os/bsd/bits/os_defines.h: Ditto.
1381 * config/os/generic/bits/os_defines.h: Ditto.
1382 * config/os/gnu-linux/bits/os_defines.h: Ditto.
1383 * config/os/irix/bits/os_defines.h: Ditto.
1384 * config/os/newlib/bits/os_defines.h: Ditto.
1385 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
1386 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
1387 * config/os/solaris/solaris2.7/bits/os_defines.h: Ditto.
1389 2000-10-07 David Edelsohn <dje@watson.ibm.com>
1391 * config/os/aix/bits/atomicity.h: New file.
1393 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1395 * acinclude.m4: Remove CPU_FLAGS
1396 * libio/Makefile.am: Here too.
1397 * Makefile.am: Here too.
1399 * src/Makefile.am (CONFIG_INCLUDES): Remove.
1400 (INCLUDES): Remove CONFIG_INCLUDES.
1401 (cpu_headers): Remove.
1402 (myinstallheaders): Remove cpu_headers.
1403 (generated_headers): Rename to build_headers.
1404 (build_headers): Add atomicity.h, ctype_base.h,
1405 ctype_specializations.h.
1407 * config/os: New directory.
1408 * config/aix: Move to...
1409 * config/bsd: Move to...
1410 * config/generic: Move to...
1411 * config/gnu-linux: Move to...
1412 * config/irix: Move to...
1413 * config/newlib: Move to...
1414 * config/solaris: Move to...
1415 * config/os/*: Here.
1417 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1419 * acinclude.m4: Remove CPU_FLAGS
1420 * libio/Makefile.am: Here too.
1421 * Makefile.am: Here too.
1423 * src/Makefile.am (CONFIG_INCLUDES): Remove.
1424 (INCLUDES): Remove CONFIG_INCLUDES.
1425 (cpu_headers): Remove.
1426 (myinstallheaders): Remove cpu_headers.
1427 (generated_headers): Rename to build_headers.
1428 (build_headers): Add atomicity.h, ctype_base.h,
1429 ctype_specializations.h.
1431 * config/os: New directory.
1432 * config/aix: Move to...
1433 * config/bsd: Move to...
1434 * config/generic: Move to...
1435 * config/gnu-linux: Move to...
1436 * config/irix: Move to...
1437 * config/newlib: Move to...
1438 * config/solaris: Move to...
1439 * config/os/*: Here.
1441 2000-10-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1443 * src/Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS,
1444 CONFIG_CXXFLAGS from here, and move to...
1445 * src/Makefile.in: Regenerate.
1446 * Makefile.am: ... here. Clean.
1447 (OPTIMIZE_CXXFLAGS): Move up Makefile hierarchy to here.
1448 (WARN_CXXFLAGS): Same.
1449 (CONFIG_CXXFLAGS): Same.
1450 * Makefile.in: Regenerate.
1451 * libsupc++/Makefile.am: Use top-level OPTIMIZE_CXXFLAGS,
1452 WARN_CXXFLAGS, CONFIG_CXXFLAGS as part of local AM_CXXFLAGS.
1453 * libsupc++/Makefile.in: Regenerate.
1455 Change math to libmath.
1456 * math: Move to libmath, delete.
1457 * libmath: New directory.
1458 * libmath/*: Populate.
1459 * src/Makefile.am (LIBMATH_INCLUDES): Change to libmath.
1460 (libstdc___la_LIBADD): Same.
1461 * src/Makefile.in: Regenerate.
1462 * configure.in: Add AC_OUTPUT for libmath/Makefile.
1463 * configure: Regenerate.
1464 * Makefile.am (SUBDIRS): Add libmath.
1465 * Makefile.in: Regenerate.
1466 * README (file): Change name.
1468 2000-10-06 Benjamin Kosnik <bkoz@cygnus.com>
1469 Richard Henderson <rth@cygnus.com>
1470 Alexandre Oliva <aoliva@redhat.com>
1472 * libsupc++: New directory.
1473 * libsupc++/*: Populate.
1474 * libsupc++/Makefile.am (INCLUDES): Add -I../../gcc for
1475 eh-common.h, gansidecl.h.
1476 * configure.in: Add in libsupc++/Makefile to AC_OUTPUT.
1477 * configure: Regenerate.
1478 * Makefile.am (SUBDIRS): Add libsupc++.
1479 * Makefile.in: Regenerate.
1480 * src/Makefile.am (libstdc___la_LIBADD): Add in libsupc++.la
1481 * src/Makefile.in: Regenerate.
1482 * libio/Makefile.am: Remove extraneous, confusing bits.
1483 * libio/Makefile.in: Regenerate.
1485 2000-10-05 Brent Verner <brent@rcfile.org>
1487 * bits/istream.tcc [basic_istream::get(basic_streambuf&)]: Removed
1488 test for _M_gcount < in_avail(), as in_avail() only reports info
1489 for current buffer, causing method to return at end of buffer.
1490 * testsuite/27_io/istream_unformatted.cc [test07()]: New test.
1491 * testsuite/27_io/istream_unformatted-3.txt: New file.
1492 * testsuite/27_io/istream_unformatted-3.tst: New file.
1494 2000-10-05 Benjamin Kosnik <bkoz@fillmore.constant.com>
1496 * README (file): Adjust directory structures.
1497 * mkcheck.in (INC_PATH): Adjust for header changes.
1499 2000-10-05 Phil Edwards <pme@sources.redhat.com>
1501 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Tweaks to message texts
1502 for public relations purposes.
1503 * aclocal.m4: Regenerated.
1504 * configure: Regenerated.
1506 * docs/ext/howto.html: Additional explanation about hashing.
1508 2000-10-05 Benjamin Kosnik <bkoz@cygnus.com>
1510 * include: New directory.
1511 * include/backward: New directory.
1512 * include/bits: New directory.
1513 * include/ext: New directory.
1514 * include/std: New directory.
1515 * include/*/*: Populate.
1517 * backwards: Move to include/backwards, delete.
1518 * bits: Move to include/bits, delete.
1519 * ext: Move to include/ext, delete.
1520 * std: Move to include/std, delete.
1522 * src/complex.cc: Adjust include of mathconf.
1524 * mkc++config (BASE_H): Add include.
1526 * src/Makefile.am: Support for topleve sources include directory.
1527 (INCLUDES): Add LIBMATH_INCLUDE.
1528 * src/Makefile.in: Regenerate.
1529 * math/Makefile.am (INCLUDES): Append /include.
1530 * math/Makefile.in: Regenerate.
1531 * libio/Makefile.am (INCLUDES): Add glibcpp_includedir.
1532 * libio/Makefile.in: Regenerate.
1534 2000-10-04 Benjamin Kosnik <bkoz@gnu.org>
1536 * libio/_G_config.h : Re-guard the __mbstate_t declaration.
1538 2000-10-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1540 * docs/22_locale/howto.html: Add link to proto-documentation on
1542 * docs/documentation.html: Rename links for clarity.
1544 * src/Makefile.am (headers): Remove unistd.h, wrap_unistd.h. Add
1545 fcntl.h, iolibio.h, libioP.h, pthread.h, iconv.h.
1546 * src/Makefile.in: Regenerate.
1548 2000-10-02 Steven King <sxking@uswest.net>
1550 * mkcshadow: Fixed script to output proper include guard.
1551 * bits/char_traits.h: Cleaned up types in char_traits<char> functions.
1552 * libio/_G_config.h: Hacked to make work with shadow heraders.
1553 * shadow/*: Hacked to make shadow headers work.
1555 2000-10-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1557 Self-compile with shadow headers.
1558 * acconfig.h (_GLIBCPP_USE_SHADOW_HEADERS): Define. Eventually,
1559 like _GLIBCPP_USE_NAMESPACES before it, this macro will die when
1560 it becomes the default way the library is built.
1561 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro.
1562 * config/gnu-linux/bits/ctype_base.h (ctype_base): Use it.
1563 * config/gnu-linux/ctype.cc (ctype): Use it.
1565 * src/localename.cc (locale::_Impl::_M_replace_categories): Remove
1567 * src/locale.cc: Explicitly cast mbstate_t to void* in calls to
1568 memset. This should not be necessary, but an ambiguous overload
1571 * shadow/bits/std_cwchar.h: Fix.
1572 * shadow/wchar.h: Fix.
1574 * config/gnu-linux/bits/ctype_base.h (ctype_base): Inject ctype
1575 enums into namespace std:: for ctype_base enum. Other OS types
1576 will have to do this as well.
1577 * config/gnu-linux/ctype.cc (ctype): Inject ctype data into
1578 namespace std, in particular __ctype_toupper, __ctype_tolower,
1581 * shadow/iolibio.h: New file.
1582 * shadow/bits/wrap_iolibio.h: New file.
1583 * shadow/libioP.h: New file.
1584 * shadow/bits/wrap_libioP.h: New file.
1585 * shadow/bits/wrap_fcntl.h: New file.
1586 * shadow/fcntl.h: New file.
1587 * shadow/iconv.h: New file. Inject iconv names into the global
1588 namespace, unmangled for the moment.
1589 * shadow/bits/wrap_iconv.h: New file.
1590 * shadow/unistd.h: Remove. Useless.
1591 * shadow/bits/wrap_unistd.h: Remove.
1593 * src/Makefile.am: Take out machine-ansi.h, add fcntl.h unistd.h.
1594 * src/Makefile.in: Regenerate.
1596 * config/c_io_libio.h (_IO_codecvt): Change to normal C++ decl.
1598 * shadow/libio.h: Fix.
1599 * shadow/bits/wrap_libio.h: Fix.
1601 * shadow/bits/std_clocale.h: Remove typedef struct construct,
1602 which will not compile.
1603 * shadow/bits/std_ctime.h: Same.
1605 * shadow/pthread.h: New file. Put pthreads types and functions
1606 into global scope, which is probably not the correct long-term
1607 solution but has to be done at the moment before libio wrappers
1608 can even be started.
1609 * shadow/bits/wrap_pthread.h: New file.
1611 * bits/std_ios.h: Formatting tweak.
1612 * shadow/bits/std_cstdio.h: Format. Remove extraneous bits.
1614 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Add -Werror to
1615 tests for compiler features.
1616 * aclocal.m4: Regenerate.
1617 * configure: Regenerate.
1619 * config/c_io_libio.cc: Remove fcntl.h include, as SEEK_SET
1621 * libio/libioP.h: Comment out fcntl.h include.
1623 * shadow/math.h: Add in float and long declarations, as per ISO C9X.
1625 * bits/c++config: Define _ISOC99_SOURCE.
1627 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add -fno-builtins to
1628 CSHADOWFLAGS, as well as _ISOC99_SOURCE.
1629 * aclocal.m4: Regenerate.
1630 * configure: Regenerate.
1631 * src/Makefile.am (CSHADOW_INCLUDES): Enable, again.
1632 (CSHADOW_INCLUDES): Add -I$(top_srcdir)/std before shadow include dir.
1633 (CXXCOMPILE): Remove $(DEFS), which searches $(top_srcdir) before
1634 std or shadow directories.
1635 (LTCXXCOMPILE): Same.
1636 (INCLUDES): Add $(top_builddir) before $(top_srcdir).
1637 (AC_CXXFLAGS): Add CSHADOWFLAGS.
1638 * src/Makefile.in: Regenerate.
1640 * src/complex.cc (FCT): Change ::name to name.
1641 * src/complexl.cc (FCT): Same. Use _GLIBCPP_USE_LONG_LONG here.
1642 * src/complexf.cc (FCT): Same.
1644 * src/complexf.cc: Remove FCT define, as things are properly
1645 overloaded in the std namespace with the shadow headers.
1646 * src/complexl.cc: Same.
1647 * src/complex.cc: Same.
1649 2000-09-25 Phil Edwards <pme@sources.redhat.com>
1651 * docs/documentation.html: Add link to...
1652 * docs/ext/howto.html: ...this. New dir/file, describing library
1653 extensions (both ours and SGI's).
1654 * docs/faq/index.html: Small updates.
1655 * docs/faq/index.txt: Regenerate.
1657 2000-09-25 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1659 * bits/basic_file.h (_M_open_mode): Remove extra qualifier.
1661 2000-09-25 Levente Farkas <lfarkas@mindmaker.hu>
1663 * ext/stl_hashtable.h (_M_copy_from): Change __copy to __local_copy.
1665 2000-09-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1667 * src/localename.cc (locale::_Imp) : Remove typedefs.
1668 * bits/localefwd.h (locale::locale(const locale& __other, _Facet*
1669 __f): Consistency check, call _Imp ctor with reference argument
1671 * bits/localefwd.h: Change _S_num_categories to
1672 _S_categories_num. Add new data member, _S_facets_num, which is
1673 the number of standard facets.
1675 2000-09-19 Phil Edwards <pme@sources.redhat.com>
1677 * docs/21_strings/howto.html: Fix editor lossage from last commit.
1679 2000-09-19 Phil Edwards <pme@sources.redhat.com>
1681 * docs/thanks.html: More thanks.
1682 * docs/18_support/howto.html: Fix thinko.
1683 * docs/21_strings/howto.html: Minor tweaks and updates to URLs.
1684 Redo the string transformation notes and link to...
1685 * docs/22_locale/howto.html: ...here.
1687 2000-09-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1689 * src/locale-inst.cc: Add time_put_byname and
1690 time_get_byname instantiations.
1691 * bits/locale_facets.h: Correct default, private derivation to
1692 public derivation in _byname declarations.
1693 * src/locale.cc (locale::classic()): Simplify.
1694 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
1695 const string& __name, category __cat, size_t __refs): Re-work for
1697 (_M_normalize_category_names): Remove.
1699 * testsuite/22_locale/global_templates.cc (test01): Tweaks.
1700 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
1702 2000-09-18 Yuri V. Baskakov <yuribsk@lab.sun.mcst.ru>
1704 * bits/std_bitset.h (operator>>): Change to char_type.
1706 2000-09-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1708 * src/locale.cc (locale::locale(const char* __name)): Consolidate
1709 name setting. Add checks for NULL __name pointers. Remove calls to
1710 _S_initialize() as initial locale initialization can either be
1711 assumed, or needs to be made consistent throughout locale
1713 (locale::locale(const locale& __other, const char* __name,
1714 category __cat): Add checks for NULL name. Add checks for
1716 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
1717 const string& __name, category __cat, size_t __refs)): Set correct
1718 name, has_name values.
1719 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
1720 * docs/22_locale/locale.html: New file, more unfinished docs...
1722 2000-09-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1724 * src/locale.cc (locale::name()): Implement.
1725 (_Impl(size_t __numfacets, size_t __refs, bool __namep = false,
1726 string __name = "*")): Change signature.
1727 (locale::classic): Initialize the "C" locale as a named locale.
1728 * bits/localefwd.h (locale): Change _M_num_references to
1729 _M_references. Eliminate _M_cached_name_ok. Rename _M_cached_name
1731 * bits/localefwd.h: Tweaks.
1732 * src/localename.cc: Tweaks.
1733 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Add tests.
1736 * bits/basic_string.h: Consistency check, change _M_state ->
1739 2000-09-14 Brendan Kehoe <brendan@zen.org>
1741 * bits/string.tcc (_Rep::_S_max_size): Use typename for its size_type
1744 * src/Makefile.an (headers): Also install backward/fstream.h.
1745 * src/Makefile.in: Regenerate.
1747 * bits/char_traits.h (char_traits<_CharT>::get_state,
1748 char_traits<char>::get_state, char_traits<wchar_t>::get_state): Pass
1749 argument in by reference, not by value. Uglify to _S_get_state.
1750 (char_traits<*>::__eos): Uglify to _S_eos.
1751 * bits/std_ostream.h (ends(basic_ostream<_CharT, _Traits>& __os)):
1752 Change __eos to _S_eos.
1754 2000-09-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1756 * testsuite/22_locale/static_members.cc: New file.
1757 * testsuite/22_locale/ctor_copy_dtor.cc: New file.
1758 * src/locale.cc: Minor formatting tweaks.
1760 2000-09-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1762 * testsuite/22_locale/global_templates.cc (test01): Add negative
1763 tests for use_facet.
1765 * bits/localefwd.h (locale::operator()): Minor tweaks.
1766 * bits/locale_facets.tcc (locale::operator()): Same.
1767 * testsuite/22_locale/operators.cc: New file.
1769 * testsuite/22_locale/facet.cc (output_iterator): Remove
1770 gnu_input_iterator, gnu_output_iterator.
1772 2000-09-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1774 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Remove test != "0".
1775 * aclocal.m4: Regenerate.
1776 * configure: Regenerate.
1778 * bits/c++config (__GLIBCPP__): Update, in the hopes of making a
1779 snapshot release soon.
1780 (_GNU_SOURCE): Define this in the header files, as ISO C99 support
1781 is pretty much assumed.
1783 * testsuite/22_locale/global_templates.cc: New file. Add tests for
1784 use_facet and has_facet.
1786 * bits/codecvt.h (codecvt<_InT, _ExT, __enc_traits>::do_out):
1787 Modify/correct iconv signatures for glibc2.2.
1789 2000-09-10 Branko Cibej <branko.cibej@hermes.si>
1791 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Replace "grep -q" with
1794 2000-09-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1796 * bits/localefwd.h (locale::_Impl): Scope out types to public.
1797 (locale): Make _Impl declaration public.
1799 2000-09-08 Felix Natter <fnatter@gmx.net>
1801 * docs/17_intro/porting-howto.html: New version.
1803 2000-09-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1805 * config/cpu/i386/bits/atomicity.h (__exchange_and_add): Change unused
1807 * config/cpu/ia64/bits/atomicity.h (__exchange_and_add): And here.
1808 * config/cpu/i486/bits/atomicity.h (__exchange_and_add): And here.
1810 2000-09-07 Phil Edwards <pme@sources.redhat.com>
1812 Add bits for --enable-maintainer-mode:
1813 - turns on enable_debug
1814 (doing "--enable-maint --disable-debug" will DTRT)
1815 - turns on -Werror, now off by default
1816 * acinclude.m4: Add bits.
1817 * aclocal.m4: Regenerate.
1818 * configure.in: Add defaults for GLIBCPP_ENABLE_DEBUG.
1819 * configure: Regenerate.
1821 2000-09-07 Benjamin Kosnik <bkoz@cygnus.com>
1823 * bits/std_cwctype.h: Remove yesterday's hacks.
1825 2000-09-07 Brad Garcia <bgarcia@laurelnetworks.com>
1827 * bits/stl_tree.h: Make operators !=, == type safe for map, set.
1828 * testsuite/23_containers/set_operators.cc: New file. Should not
1830 * testsuite/23_containers/map_operators.cc: New file. Ditto.
1832 2000-09-06 Richard Henderson <rth@cygnus.com>
1833 Benjamin Kosnik <bkoz@cygnus.com>
1835 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add ia64 support.
1836 * aclocal.m4: Regenerate.
1837 * configure: Regenerate.
1838 * config/cpu/ia64: New directory.
1839 * config/cpu/ia64/bits: New directory.
1840 * config/cpu/ia64/bits/atomicity.h: New file.
1842 2000-09-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1844 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Force glibc_satisfactory
1845 to no, so that libstdc++-v3's libio will be built on glibc-2.2
1847 * aclocal.m4: Regenerate.
1848 * configure: Regenerate.
1849 * */Makefile.in: Regenerate.
1851 * bits/std_cwctype.h: Put in temporary hack to work around -O2 +
1852 glibc 2.1.x unsigned errors. Or disable -Werror by default...
1854 * testsuite/23_containers/vector_element_access.cc: New file.
1855 * bits/stl_config.h (__STL_THROW_RANGE_ERRORS): Define.
1857 2000-09-06 Levente Farkas <lfarkas@mindmaker.hu>
1859 * bits/string.tcc: Fix up more parameter names.
1861 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1863 * configure: Rebuilt with new libtool.m4.
1865 2000-09-01 Benjamin Kosnik <bkoz@cygnus.com>
1867 * src/locale-inst.cc: Remove pre-instantiation of unicode
1868 codecvt types. Now unnecessary, as locale header now correct.
1870 2000-08-31 Benjamin Kosnik <bkoz@cygnus.com>
1872 * bits/locale_facets.tcc (_S_build_float_format): Move ...
1873 * src/locale.cc: Here.
1874 * bits/locale_facets.tcc (num_get::_M_extract): Clean up generic
1875 definition. Move specialization to ...
1876 * src/locale.cc: Here.
1877 * bits/locale_facets.tcc: Move _Format_cache specializations to ...
1878 * src/locale.cc: Here.
1879 * bits/locale_facets.tcc: Move use_facet<ctype> specializations to ...
1880 * src/locale.cc: Here.
1882 * bits/std_locale.h: Note that locale_facets.tcc should be
1883 included here, for standards conformance. It may increase
1884 compile times though. For the time being, enable.
1885 * testsuite/22_locale/facet.cc: New file, some parts commented out
1888 * mkcheck.in: Append total time to test summary file.
1890 * bits/sbuf_iter.h : Formatting tweaks.
1892 Clean up static const data member definitions.
1893 * src/locale.cc: Add definitions for all missing locale,
1894 locale::_Imp, and locale::id static data members.
1895 (ctype<char>): Add table_size define.
1896 (money_base): Add _S_default_pattern, uglify.
1897 * bits/localefwd.h: Add definitions for static members of _Count_ones.
1898 * bits/locale_facets.h: Tweaks.
1899 * bits/locale_facets.tcc: Tweaks.
1900 * bits/string.tcc: Add definition for npos.
1901 * bits/ios_base.h: Tweaks.
1902 * bits/ios_base.h (ios_base::Init::_M_ios_base_init): Change to
1904 * src/ios.cc: And here. Add _S_local_words definition.
1905 Add definitions for __ios_flags const static data.
1906 * src/codecvt.cc: Same for __enc_traits.
1907 * src/locale-inst.cc: Remove money_base data member definition
1910 2000-08-30 Benjamin Kosnik <bkoz@redhat.com>
1912 * testsuite/22_locale/ctype_wchar_t_members.cc (test01): New file.
1914 * docs/22_locale/codecvt.html: Re-number.
1915 * docs/22_locale/howto.html: Add entry for ctype
1916 documentation. Add entry for Nathan's introduction to locales
1918 * docs/22_locale/ctype.html: New file. In progress...
1920 * docs/22_locale/codecvt.html: Formatting cleanups.
1921 * src/locale.cc (ctype<wchar_t>::do_is): Fix thinko.
1923 2000-08-30 Phil Edwards <pme@sources.redhat.com>
1925 * docs/22_locale/codecvt.html: Behind-the-scenes ASCII->HTML
1926 tweaks for certain browsers.
1928 2000-08-29 Benjamin Kosnik <bkoz@redhat.com>
1930 * bits/locale_facets.h (ctype<char>): Remove __table_type.
1931 Add include for bits/std_cwctype.h, for wctype_t.
1932 * src/locale.cc (ctype<wchar_t>): Implement.
1933 * config/gnu-linux/bits/ctype_base.h (ctype_base): Remove mask
1934 typedef, instead name enum.
1935 * config/gnu-linux/bits/ctype_specializations.h: Tweak.
1936 * config/gnu-linux/ctype.cc: Tweak.
1937 * testsuite/22_locale/ctype.cc: Tweak.
1939 * bits/codecvt.h (__enc_traits): Uglify names.
1941 2000-08-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1943 * docs/22_locale/codecvt.html: Add more bits, format.
1944 * bits/codecvt.h: Add copy ctor, rename types.
1945 * testsuite/22_locale/codecvt_unicode_char.cc: Tweak.
1947 * libio/iofwide.c: Tweak.
1949 2000-08-28 Phil Edwards <pme@sources.redhat.com>
1951 * docs/configopts.html: Mention new options.
1952 * docs/install.html: Formatting changes for platform-specific
1953 pre-reqs, previously only Cygwin.
1954 * docs/mail.html: Fix new link.
1955 * docs/thanks.html: A couple more people.
1956 * docs/26_numerics/howto.html: Fix typo.
1958 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1960 * docs/22_locale/howto.html: Add notes on codecvt implementation.
1961 * docs/22_locale/codecvt.html: New file. In progress.
1963 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1965 * acconfig.h: Revert.
1966 * acinclude.m4: Revert.
1967 * libio/_G_config.h: Revert.
1968 * libio/libio.h: Revert.
1970 2000-08-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1972 * bits/codecvt.h: Tweaks.
1973 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Fix up
1974 initial string literals for UCS4.
1976 2000-08-23 Phil Edwards <pme@sourceware.cygnus.com>
1978 * acconfig.h: _GLIBCPP_USING_THREADS and some workaround types added.
1979 * acinclude.m4: New macro, GLIBCPP_ENABLE_WCHAR. Set the threads
1980 definition as well, and some minor spelling/spacing fixes. If
1981 building libio, check for certain typedefs.
1982 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USING_THREADS.
1983 Conditionally define _LARGEFILE64_SOURCE, otherwise the 64-bit types
1984 will never be there.
1985 * libio/libio.h: In the null case, _IO_lock_t can't just be void.
1986 * src/string-inst.cc: Use _GLIBCPP_USE_WCHAR_T.
1988 * configure.in: Update the cache a bit more often.
1990 * mkcheck.in: For check-install, also need to -I the testsuite dir.
1992 2000-08-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1994 * src/locale-inst.cc: Add codecvt<unicode_t, wchar_t,
1995 __enc_traits> instantiations for has_facet and use_facet.
1996 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: New file, for
1997 testing two-byte unicode encodings converted to four-byte UCS4
2000 * bits/codecvt.h (codecvt<__enc_traits>): Fix do_unshift.
2001 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Add
2002 correct state/encoding information.
2004 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add wcsrtombs,
2005 mbsrtowcs checks as codecvt<wchar_t, char, mbstate_t> needs them
2007 Add checks for langinfo.h, nl_langinfo function call.
2008 * libio/iofwide.c (_IO_fwide): Simplify, as nl_langinfo is assumed.
2010 2000-08-22 Richard B. Kreckel <Richard.Kreckel@Uni-Mainz.DE>
2012 * config/cpu/alpha/bits/atomicity.h: Change __attribute__
2013 ((unused)) to __attribute__ ((__unused__)).
2014 * config/cpu/arm/bits/atomicity.h: Same.
2015 * config/cpu/generic/bits/atomicity.h: Same.
2016 * config/cpu/i386/bits/atomicity.h: Same.
2017 * config/cpu/i486/bits/atomicity.h: Same.
2018 * config/cpu/powerpc/bits/atomicity.h: Same.
2019 * config/cpu/sparc/sparc32/bits/atomicity.h: Same.
2020 * config/cpu/sparc/sparc64/bits/atomicity.h: Same.
2022 2000-08-22 Levente Farkas <lfarkas@mindmaker.hu>
2024 * bits/basic_string.h: Fix up parameter names.
2026 2000-08-22 Brent Verner <brent@rcfile.org>
2028 * src/Makefile.am (INCLUDES): Put $(CSHADOW_INCLUDES) before
2030 * src/Makefile.in: Regenerate.
2032 2000-08-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2034 * bits/codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>. Fix
2035 up __enc_traits template so as to be marginally useful.
2036 * src/codecvt.cc: And here.
2037 * bits/char_traits: Tweak.
2038 * bits/locale_facets.h: Tweak.
2039 * bits/locale_facets.tcc: Tweak.
2040 * bits/localefwd.h: Tweak.
2041 * src/locale-inst.cc: Add use_facet/has_facet instantiations here.
2042 * testsuite/22_locale/codecvt_wchar_t_cc.cc: New file.
2043 * testsuite/22_locale/codecvt_char_char.cc: New file.
2044 * testsuite/22_locale/codecvt_unicode_char.cc: New file.
2046 2000-08-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2048 * bits/std_cmath.h (std::abs): Overload for int and long.
2050 2000-08-20 Benjamin Kosnik <bkoz@gnu.org>
2052 * src/string-inst.cc: Tweak instantiations for new-gxx-abi.
2054 2000-08-19 Gabriel Dos Reis <gdr@codesourcery.com>
2056 * bits/valarray_array.h (__valarray_min, __valarray_max): Fix
2057 thinko. Diagnostic messages really need to be improved for
2058 template argument deduction.
2060 2000-08-18 Benjamin Kosnik <bkoz@gnu.org>
2062 * bits/valarray_meta.h: Fix typos...
2064 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
2066 * bits/valarray_meta.h (_Expr<>::shift, _Expr::cshift,
2067 _Expr<>::apply): Implement.
2069 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
2071 * bits/valarray_meta.h (_Expr<>::min, _Expr<>::max): Implement.
2073 * bits/valarray_array.h (__valarray_min, __valarray_max): New
2076 2000-08-17 Mark Mitchell <mark@codesourcery.com>
2078 * bits/localefwd.h (std::locale): Use explicit `class' specified
2079 when declaring friends.
2080 * bits/std_fstream.h (std::basic_filebuf): Likewise.
2082 2000-08-16 Alexandre Oliva <aoliva@redhat.com>
2084 * src/Makefile.am (libstdc++.INC): Renamed from INCLUDES.
2085 * src/Makefile.in: Regenerate.
2087 2000-08-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2089 * bits/codecvt.h: New file.
2090 * src/codecvt.cc: New file.
2091 * bits/std_locale.h: Add include here.
2092 * src/Makefile.am (headers): Add codecvt.h
2093 (sources): Add codecvt.cc.
2094 * src/Makefile.in: Regenerate.
2095 * bits/locale_facets.h (codecvt): Re-implement. Rename _Codecvt to
2096 __codecvt_abstract_base in an attempt to point some light this way...
2097 Move __enc_traits and codecvt bits to codecvt.h.
2098 * src/locale-inst.cc: Remove codecvt<wchar_t, wchar_t, mbstate_t>
2099 explicit instantiation. Separate out codecvt instantations, simplify.
2100 * src/locale.cc: Move codecvt bits to codecvt.cc
2102 2000-08-15 Alexandre Oliva <aoliva@redhat.com>
2104 * src/Makefile.am (INCLUDES): New target file, with all -I flags.
2105 * src/Makefile.in: Regenerate.
2107 2000-08-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2109 C/C++ io merge/sync.
2120 * config/c_io_libio.cc (__basic_file): Add hacky casts to
2121 ((struct _IO_FILE_plus *) in ctors.
2122 (__basic_file<wchar_t>): Adjust _wide_data->_codecvt to just _codecvt.
2123 * libio/Makefile.am: Fix copyright. Remove cleanup.c.
2124 * libio/cleanup.c: Remove.
2125 * libio/filedoalloc.c (_IO_file_doallocate): Don't call
2126 _IO_cleanup_registration_needed, even if not libc.
2128 * testsuite/27_io/stringstream.cc (test02): Fix.
2130 2000-08-14 Brent Verner <brent@rcfile.org>
2132 * testsuite/debug_assert.h: new file
2133 * testsuite/*/*.cc: s/test\s*&=([^;]+);/VERIFY($1);/g
2134 changed conditional #include <c?assert.?h?> to
2135 unconditional #include <debug_assert.h>
2136 * mkcheck.in: added $SRC_DIR/testsuite to include search path
2137 for testsuite compile command.
2139 2000-08-14 Levente Farkas <lfarkas@mindmaker.hu>
2141 * bits/std_fstream.h: Remove duplicate typdefs for ofstream and
2142 wofstream, filebuf, wfilebuf, fstream, wfstream.
2143 * bits/std_streambuf.h: Same for streambuf, wstreambuf.
2144 * bits/std_sstream.h: Same for stringstream and wstringstream.
2145 Same for stringbuf, wstringbuf, istringstream, wistringstream,
2146 ostringstream, wostringstream.
2148 * testsuite/26_numerics/valarray.cc: Add test.
2150 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
2152 * configure: Regenerate after change to ../libtool.m4.
2154 2000-08-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2156 * bits/locale_facets.tcc: Formatting tweaks.
2157 * bits/locale_facets.h (__enc_traits): Start integrating this
2158 into codecvt, ctype. Formatting tweaks.
2160 2000-08-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2162 Preliminary wchar_t implementation, with trivial encodings.
2163 * docs/configopts.html: Add bits about canonical configure option
2166 * testsuite/27_io/iostream_objects.cc: Replace this file (which
2167 has newly-declared-illegal mixing of wide/narrow stdstreams) with...
2168 * testsuite/27_io/narrow_stream_objects.cc: New file.
2169 * testsuite/27_io/wide_stream_objects.cc: New file.
2171 * bits/fstream.tcc (underflow): Temporarily hack a solution
2172 together that writes from the external file to the internal
2173 buffers. This removes codecvt from the loop, and is incorrect.
2174 (_M_really_overflow): Same here.
2176 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
2178 2000-08-08 Benjamin Kosnik <bkoz@cygnus.com>
2179 Ulrich Drepper <drepper@cygnus.com>
2181 * config/c_io_libio.h: Tweak.
2182 * config/c_io_libio_codecvt.c: New file.
2183 * libio/Makefile.am: Add c_codecvt.c.
2184 * libio/Makefile.in: Regenerate.
2185 * libio/genops.c (_IO_unbuffer_write): Don't call _IO_SETBUF if the
2186 stream is not orientated.
2188 * acinclude.m4: Add config/c_io_libio_codecvt.c dummy file, until
2189 encoding gets fleshed out.
2191 * bits/basic_file.h: Add specialization declarations.
2192 * config/c_io_libio.cc: Add specializations for pbackfail, uflow.
2194 * config/c_io_libio.h: Add __c_wfile_type.
2195 * bits/basic_file.h: Add _M_wfile.
2197 * config/c_io_libio.cc (__basic_file<char>): Initialize the
2198 streams without setting the orientation of the underlying FILE to
2199 either wide or narrow.
2200 (__basic_file<wchar_t>)): Enable tricky wchar_t io bits.
2202 2000-08-07 Felix Natter <fnatter@gmx.net>
2204 * docs/17_intro/porting-howto.html: New version.
2206 2000-08-03 Mark Mitchell <mark@codesourcery.com>
2208 * bits/locale_facets.h (ctype::ctype): Don't name unused
2211 2000-08-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2213 * docs/install.html: Edit bits about requiring a special version
2216 2000-07-31 Benjamin Kosnik <bkoz@cygnus.com>
2218 * libio/fileops.cc: Update to current glibc sources.
2219 * libio/genops.c: Same.
2220 * libio/iofwide.c: Same.
2221 * libio/libio.h: Same.
2222 * libio/libioP.h: Same.
2223 * libio/wfiledoalloc.c: Same.
2224 * libio/wgenops.c: Same.
2226 2000-07-28 Alexandre Oliva <aoliva@redhat.com>
2228 * acinclude.m4: Include ../libtool.m4.
2229 * aclocal.m4, configure: Rebuilt.
2231 2000-07-26 Phil Edwards <pme@sourceware.cygnus.com>
2233 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Test for GNU ld
2234 before trying to use any of its options.
2235 (CHECK_MATH_DECL*,CHECK_BUILTIN_MATH_DECL*): Cache tests.
2236 * aclocal.m4: Regenerate.
2237 * configure.in: Having found GNU make, name it.
2238 * configure: Regenerate.
2239 * docs/install.html: Mention possible problems with caching.
2240 * src/Makefile.am (CXXLINK): Use new OPT_LDFLAGS.
2241 * src/Makefile.in: Regenerate.
2242 * libio/Makefile.in: Regenerate.
2243 * math/Makefile.in: Regenerate.
2244 * Makefile.in: Regenerate.
2246 2000-07-26 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2248 * src/misc-inst.cc (std): Remove instantiations.
2250 * acinclude.m4: Add forward-looking bits for autoconf.
2251 * aclocal.m4: Regenerate.
2253 * bits/ostream.tcc (ostream::operator<<): Fix const char* case.
2255 2000-07-25 Benjamin Kosnik <bkoz@gnu.org>
2257 * configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL. Change
2258 it back for current versions of maintainer-tools...
2259 * acinclude.m4: Some cleanups...
2260 * aclocal: Regenerated.
2261 * configure: Regenerated.
2263 * src/Makefile.am (CXXLINK): Add -Wl,-01 to the link line for
2264 optimizing/adapting the hash table using GNU ld.
2265 * src/Makefile.in: Regenerate.
2267 2000-07-24 H.J. Lu <hjl@gnu.org>
2269 * src/Makefile.am (LIBIO_INCLUDES): Set to -I$(top_srcdir)/libio
2270 even if GLIBCPP_NEED_LIBIO is false. The installed glibc header
2271 files don't include private libio header files needed by
2273 * src/Makefile.in: Rebuild.
2275 2000-07-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2277 * bits/std_fstream.h: Parameterize __basic_file.
2278 * config/c_io_libio.cc: Add wchar_t methods for parameterization.
2279 * bits/basic_file.h: Same here.
2281 * bits/istream.tcc (getline): Tweaks.
2283 * bits/fstream.tcc: Shorten __retval to __ret.
2284 * bits/ostream.tcc: Same.
2285 * bits/sbuf_iter.h: Same.
2286 * bits/sstream.tcc: Same.
2287 * bits/streambuf.tcc: Same.
2288 * bits/std_fstream.h: Same.
2289 * src/string-inst.cc: Same.
2291 * config/c_io_libio.cc: Same.
2292 * bits/string.tcc: Same.
2293 * bits/std_streambuf.h: Same.
2295 2000-07-23 Brent Verner <brent@rcfile.org>
2297 * bits/istream.tcc: istream::getline(char_type*, streamsize,
2298 char_type) make compliant
2299 * testsuite/27_io/istream_unformatted.cc: test for compliant behavior
2301 2000-07-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2303 * acinclude.m4 (enable_cshadow_headers): Fix problems with blddir
2304 and srcdir used to define CSHADOW_INCLUDES..
2306 * configure.in: For consistency, change .sanity_warned to
2307 stamp-sanity-warned.
2309 * acinclude.m4: Tweak formatting.
2310 * Makefile.am (check): Call mkcheck with full pathname for build
2312 (check-install): And here.
2313 * Makefile.in: Regenerate.
2315 2000-07-22 Gabriel Dos Reis <gdr@codesourcery.com>
2317 Line up with libstdc++-v2 version of valarray.
2318 * bits/valarray_array.h (__valarray_product): Make inline.
2319 * src/valarray-inst.cc (__valarray_product): Remove explicit
2322 2000-07-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2324 * src/stl-inst.cc: Change __sink_unused_warning to unsigned int
2327 * testsuite/26_numerics/complex_inserters_extractors.cc (testall):
2328 Change return type to void.
2329 * testsuite/25_algorithms/lower_bound.cc: Add return values.
2330 * testsuite/17_intro/header_ciso646.cc: Modify.
2331 * bits/locale_facets.h: Add return values for the generic cases.
2333 2000-07-21 H.J. Lu (hjl@gnu.org)
2335 * acinclude.m4: Include <features.h> for glibc testing.
2336 * aclocal.m4: Likewise.
2338 * configure: Rebuild.
2340 2000-07-20 H.J. Lu (hjl@gnu.org)
2342 * acinclude.m4: Change "#pragma system_header" to
2343 "#pragma GCC system_header".
2344 * aclocal.m4: Likewise.
2345 * bits/std_cmath.h: Likewise.
2346 * bits/std_cassert.h: Likewise.
2347 * bits/std_cctype.h: Likewise.
2348 * bits/std_cerrno.h: Likewise.
2349 * bits/std_cfloat.h: Likewise.
2350 * bits/std_climits.h: Likewise.
2351 * bits/std_clocale.h: Likewise.
2352 * bits/std_cwchar.h: Likewise.
2353 * bits/std_csetjmp.h: Likewise.
2354 * bits/std_csignal.h: Likewise.
2355 * bits/std_cstdarg.h: Likewise.
2356 * bits/std_cstddef.h: Likewise.
2357 * bits/std_cstdio.h: Likewise.
2358 * bits/std_cstdlib.h: Likewise.
2359 * bits/std_cstring.h: Likewise.
2360 * bits/std_ctime.h: Likewise.
2361 * bits/std_cwctype.h: Likewise.
2362 * bits/std_exception.h: Likewise.
2363 * bits/std_new.h: Likewise.
2364 * bits/std_typeinfo.h: Likewise.
2365 * shadow/bits/std_cassert.h: Likewise.
2366 * shadow/bits/std_cctype.h: Likewise.
2367 * shadow/bits/std_cerrno.h: Likewise.
2368 * shadow/bits/std_cfloat.h: Likewise.
2369 * shadow/bits/std_climits.h: Likewise.
2370 * shadow/bits/std_clocale.h: Likewise.
2371 * shadow/bits/std_cmath.h: Likewise.
2372 * shadow/bits/std_csetjmp.h: Likewise.
2373 * shadow/bits/std_csignal.h: Likewise.
2374 * shadow/bits/std_cstdarg.h: Likewise.
2375 * shadow/bits/std_cstddef.h: Likewise.
2376 * shadow/bits/std_cstdio.h: Likewise.
2377 * shadow/bits/std_cstdlib.h: Likewise.
2378 * shadow/bits/std_cstring.h: Likewise.
2379 * shadow/bits/std_ctime.h: Likewise.
2380 * shadow/bits/std_cwchar.h: Likewise.
2381 * shadow/bits/std_cwctype.h: Likewise.
2382 * shadow/bits/wrap_libio.h: Likewise.
2383 * shadow/bits/wrap_unistd.h: Likewise.
2384 * shadow/sys/cdefs.h: Likewise.
2386 * configure: Rebuild.
2388 2000-07-20 Jakub Jelinek <jakub@redhat.com>
2390 * config/cpu/sparc/sparc64/bits/atomicity.h (__exchange_and_add):
2391 Use extended word instructions to match 64bit _Atomic_word.
2392 (__atomic_add): Likewise.
2393 * math/clog10l.c (clog10l): Use M_PIl if defined.
2394 * math/c_logl.c (c_logl): Likewise.
2395 * math/signbitl.c (__signbitl): Adapt for IEEE quad long doubles.
2396 * math/mathconf.h (ieee_quad_double_shape_type): New type.
2397 (GET_LDOUBLE_MSW64): New define.
2399 2000-07-20 Benjamin Kosnik <bkoz@cygnus.com>
2401 * bits/std_streambuf.h: Add bits for pback buffers here, so that
2402 in_avail, etc can use them.
2403 * bits/std_fstream.h: Ditto.
2404 * bits/fstream.tcc: Ditto.
2405 * testsuite/27_io/filebuf.cc: Tweaks.
2406 * testsuite/27_io/filebuf-3.tst: Correct for pbackfail bits.
2408 2000-07-19 Benjamin Kosnik <bkoz@cygnus.com>
2410 * src/localename.cc: Same.
2411 * src/locale.cc: Same.
2412 * bits/localefwd.h: _M_init_facet to _M_facet_init.
2414 * bits/locale_facets.h: _M_init_boolnames to _M_boolnames_init.
2416 * bits/std_sstream.h: Change _M_init_stringbuf to _M_stringbuf_init.
2418 * bits/fstream.tcc: Change _M_init_filebuf to _M_filebuf_init.
2419 * bits/std_fstream.h: Same.
2421 * bits/basic_string.h: Tweaks.
2423 2000-07-19 Phil Edwards <pme@sourceware.cygnus.com>
2425 * docs/18_support/howto.html: Update.
2427 2000-07-19 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
2429 Internal consistency checks.....
2430 * bits/ios_base.h: Change _M_locale_ios to _M_ios_locale.
2433 * bits/basic_ios.h: Change _M_fctype_ios to _M_ios_fctype.
2434 * bits/basic_ios.tcc: Same.
2436 * bits/std_streambuf.h: Change _M_locale_buf to _M_buf_locale.
2437 Change _M_fctype_buf to _M_buf_fctype.
2438 * bits/fstream.tcc: Same.
2440 * bits/std_streambuf.h: Change _M_buf_bump to _M_out_cur_move.
2441 Change _M_locale_set to _M_buf_locale_init.
2442 * bits/streambuf.tcc: Same.
2443 * bits/sstream.tcc: Same.
2444 * bits/fstream.tcc: Same.
2446 * bits/std_streambuf.h: Make typedefs consistent.
2447 (_M_buf_bump): Be more careful with input sequence.
2449 * bits/std_sstream.h: Same.
2450 * bits/std_fstream.h: Same.
2452 2000-07-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2454 * acinclude.m4: Tweaks.
2455 * config/c_io_libio.cc: Tweaks.
2456 * bits/sstream.tcc (stringbuf::pbackfail): Simplify.
2457 * libio/_G_config.h: Don't define _G_HAVE_ST_BLKSIZE.
2458 * libio/[iofwide.c, wfiledoalloc.c, wfiteopos.c, wgenops.c]: New files.
2459 * libio/iofclose.c iofopen.c, stdio.c: New files.
2460 * libio/Makefile.am: Add files, add flags, etc.
2461 * src/Makefile.am (sources): Add filebuf.cc.
2462 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT):
2463 (GLIBCPP_ENABLE_CSTDIO): Versioning testing, etc etc.
2465 2000-07-17 Phil Edwards <pme@sourceware.cygnus.com>
2467 * acinclude.m4: Import CHECK_GNU_MAKE from autoconf macro archive.
2468 * configure.in: Use it. Also print reminders one time.
2469 * aclocal.m4: Regenerate.
2470 * configure: Regenerate.
2472 2000-07-15 Gabriel Dos Reis <gdr@codesourcery.com>
2474 * bits/valarray_array.h (__valarray_get_storage): New function.
2475 (_Array<>::Array): Use it.
2476 * bits/std_valarray.h (valarray<>::valarray): Likewise.
2477 (valarray<>::resize): Likewise. Tweak.
2478 * src/valarray-inst.cc (__valarray_product): Tweak.
2480 2000-07-11 Phil Edwards <pme@sourceware.cygnus.com>
2482 * docs: Update sourceware->sources in every HTML file. Minor updates.
2484 2000-07-07 Benjamin Kosnik <bkoz@soma.redhat.com>
2486 Clean up configure/build longstanding issues.
2487 * src/Makefile.am (AC_CXXFLAGS): Don't set @SECTION_LDFLAGS@ here.
2488 (CXXLINK): Add here, instead.
2490 * Makefile.am (check-install): Make sure mkcheck has execute privs.
2492 * configure.in (AC_OUTPUT_COMMANDS): Remove hacks here.
2494 * configure.in (AC_OUTPUT_COMMANDS): Link c_io_libio.h and
2495 c_io_libio.cc instead of copying.
2496 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Do link here.
2498 * configure.in (AC_OUTPUT_COMMANDS): Link $THREADS.h and
2499 c++threads.h instead of copying.
2500 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Do link here.
2503 * config/c_io_libio.cc (__basic_file::_M_open_mode): Consolidate.
2504 * bits/basic_file.h: Declare.
2506 * mkcheck.in (TESTS_FILE): Use -v instead of --version.
2508 2000-07-07 brent verner <brent@rcfile.org>
2510 * testsuite/27_io/istream_unformatted.cc (test05): New test.
2512 2000-07-07 Benjamin Kosnik <bkoz@gnu.org>
2514 * bits/istream.tcc (istream::getline): Minor tweaks.
2516 2000-07-07 Phil Edwards <pme@sourceware.cygnus.com>
2518 * docs/download.html: Mention gcc_update.
2519 * docs/configopts.html: Minor updates.
2520 * docs/gccrebuild.html: Ditto.
2521 * docs/18_support/howto.html: More tips, explanations, and reminders.
2522 * docs/19_diagnostics/howto.html: Ditto.
2523 * docs/21_strings/howto.html: Ditto.
2524 * docs/24_iterators/howto.html: Ditto.
2525 * docs/25_algorithms/howto.html: Ditto.
2526 * docs/26_numerics/howto.html: Ditto.
2528 2000-07-05 brent verner <brent@rcfile.org>
2530 * testsuite/27_io/ifstream_members.cc (test01): Add tests.
2531 * testsuite/27_io/ofstream_members.cc (test01): Add tests.
2532 * config/c_io_libio.cc (__basic_file::open): Unset
2533 ~_IO_DELETE_DONT_CLOSE.
2535 2000-07-05 Zack Weinberg <zack@wolery.cumb.org>
2537 * bits/gslice_array.h, bits/indirect_array.h, bits/mask_array.h,
2538 bits/slice_array.h, bits/std_valarray.h, bits/valarray_meta.h:
2539 Do not paste anything after 'operator' keyword.
2541 2000-07-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2543 * bits/std_memory.h: Revert.
2545 2000-07-03 Brendan Kehoe <brendan@zen.org>
2547 * bits/std_complex.h: Fix parens. Format.
2549 2000-07-03 scott snyder <snyder@fnal.gov>
2551 * bits/locale_facets.tcc (_M_extract): Only figure out the base
2552 from the input if base == 0.
2553 * testsuite/27_io/istream_extractor_arith.cc: Test reading a
2554 number with a leading `0' in hex mode.
2556 * shadow/bits/std_cmath.h: Fix typo in _GLIBCPP_HAVE_CEILL test.
2558 * mkinclosure: Change `==' to `=' in test.
2560 2000-07-03 Chip Salzenberg <chip@valinux.com>
2562 * src/Makefile.am (libio_headers): _G_config.h is found in srcdir,
2564 * src/Makefile.in: Regenerate.
2566 2000-07-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2567 Ulrich Drepper <drepper@purist.soma.redhat.com>
2569 Sync libio to glibc-2.2 current CVS.
2570 * libio/_G_config.h: New file.
2571 * libio/wfileops.c: New file.
2572 * libio/wfiledoalloc.c: New file.
2573 * libio/wgenops.c: New file.
2574 * libio/iofwide.c: New file.
2575 * libio/Makefile.am: Tweaks.
2576 * libio/Makefile.in: Regenerate.
2577 * libio/gen-params: Remove. Generic replacement for this yet undone.
2578 * libio/[filedoalloc.c, fileops.c, genops.c, iolibio.h, libio.h,
2579 libioP.h, stdfiles.c]: Update.
2580 * config/c_io_libio.cc: Tweaks.
2581 * acinclude.m4: Complete hacks to test wide io.
2582 * aclocal.m4: Regenerate.
2583 * configure: Regenerate.
2584 * src/Makefile.am: Update.
2585 * src/Makefile.in: Regenerate.
2587 * math/cargl.c: Remove underscores.
2589 * bits/locale_facets.h: Tweaks. Start adding iconv details
2591 * bits/locale_facets.tcc: Tweaks.
2592 * bits/std_cwchar.h: Tweaks.
2594 2000-06-29 scott snyder <snyder@fnal.gov>
2596 * bits/concept_checks.h
2597 (__less_then_comparable_requirement_violation): Only check for <.
2598 * testsuite/25_algorithms/lower_bound.cc: New file.
2600 2000-06-29 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2602 * testsuite/27_io/ostream_manip.cc (test02): Add tests.
2603 * bits/ostream.tcc: Tweak.
2604 * bits/std_fstream.h (basic_filebuf::setbuf): Reset
2605 _M_buf_size_opt too.
2606 * bits/std_streambuf.h (basic_streambuf::~basic_streambuf): Zero
2607 out _M_buf_size_opt.
2608 * bits/std_sstream.h (basic_stringbuf::_M_init_stringbuf): Set
2609 _M_buf_size_opt out here.
2610 * bits/char_traits.h (char_traits::eos): Non standard member
2611 function, uglify to __eos. Return char_type().
2612 * bits/std_ostream.h: Change.
2614 * testsuite/27_io/ostream_seeks.cc: New file.
2615 * testsuite/27_io/ostream_seeks-1.tst: New file.
2616 * testsuite/27_io/istream_unformatted.cc (main): Move test04 and
2618 * testsuite/27_io/istream_seeks.cc: New file.
2620 2000-06-29 Branko Cibej <branko.cibej@hermes.si>
2622 * bits/std_memory.h (auto_ptr_ref): Reworked and defined only if
2623 _GLIBCPP_RESOLVE_LIB_DEFECTS.
2624 (auto_ptr): _M_ptr changed to void*.
2625 (suto_ptr::get): Cast _M_ptr to element type.
2626 (auto_ptr::auto_ptr(auto_ptr<Tp1>)): Test implicit convetsion.
2627 (auto_ptr::~auto_ptr): Use this->get() instead of _M_ptr.
2628 (auto_ptr::operator*): Likewise.
2629 (auto_ptr::operator->): Likewise.
2630 (auto_ptr::release): Likewise.
2631 (auto_ptr::reset): Likewise.
2632 (auto_ptr::auto_ptr(auto_ptr_ref)): Initialize from __ref._M_release.
2633 (auto_ptr::operator auto_ptr_rev<_Tp1>): Updated.
2634 Define nested auto_ptr_ref unless _GLIBCPP_RESOLVE_LIB_DEFECTS.
2635 Define operator=(auto_ptr_ref) if _GLIBCPP_RESOLVE_LIB_DEFECTS.
2637 2000-06-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2639 * testsuite/27_io/filebuf.cc: Tweak.
2640 * testsuite/27_io/filebuf_members.cc (test_01): Fix.
2641 * config/c_io_libio.cc (__basic_file::~__basic_file): Match libio
2643 (__basic_file::basic_file): Clean, add calls similar to
2645 (__basic_file::open): Clean.
2646 (__basic_file::sys_open): Clean.
2648 * bits/std_fstream.h: Revert.
2649 * bits/fstream.tcc (filebuf::close()): Revert.
2650 (filebuf::basic_filebuf()): Revert.
2652 2000-06-27 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2654 Update to SGI STL 3.3
2655 * ext/hash_map, ext/hash_set, ext/slist, ext/stl_bvector.h,
2656 ext/stl_rope.h, ext/ropeimpl.h: Update.
2657 * bits/std_bitset.h, bits/std_map, bits/std_memory.h,
2658 bits/stl_algo.h, bits/stl_algobase.h, bits/stl_alloc.h,
2659 bits/stl_config.h, bits/stl_construct.h, bits/stl_deque.h,
2660 bits/stl_function.h, bits/stl_heap.h, bits/stl_iterator.h,
2661 bits/stl_iterator_base.h, bits/stl_list.h, bits/stl_map.h,
2662 bits/stl_multimap.h, bits/stl_multiset.h, bits/stl_numeric.h,
2663 bits/stl_queue.h, bits/stl_set.h, bits/stl_stack.h,
2664 bits/stl_string_fwd.h, bits/stl_threads.h, bits/stl_three.h,
2665 bits/stl_uninitialized.h, bits/stl_vectory.h: Update.
2667 * src/Makefile.am (headers): Add new files.
2668 * src/Makefile.in: Regenerate.
2669 * src/stl-inst.cc (std): Add instantiation for __sink_unused_warning.
2670 * bits/concept_checks.h: New file.
2671 * bits/container_concepts.h: New file.
2672 * bits/sequence_concepts.h: New file.
2674 2000-06-27 H.J. Lu <hjl@gnu.org>
2675 Loren J. Rittle <ljrittle@acm.org>
2677 * mkcheck.in: Add support to print standard flags needed to
2678 test g++ in build tree. Enhance command line error checking.
2680 2000-06-27 Phil Edwards <pme@sourceware.cygnus.com>
2682 * docs/install.html: Fix minor typo as reported.
2684 2000-06-26 Brent Verner <brent@rcfile.org>
2686 * bits/string.tcc (string::rfind): Fix.
2687 * testsuite/21_strings/rfind.cc: New file.
2689 2000-06-26 Anthony Williams <anthony@anthonyw.cjb.net>
2691 * testsuite/21_strings/ctor_copy_dtor.cc: Fixed logic error.
2693 2000-06-26 Branko Cibej <branko.cibej@hermes.si>
2695 * testsuite/27_io/filebuf_members.cc (test_01): Fixed typos.
2697 * mkcheck.in: Make the *.txt and *.tst files writable after
2698 copying them to $TEST_DIR.
2700 * testsuite/27_io/ostream_inserter_arith.cc: Renamed
2701 __TEST_NUMPUT_VERBOSE to TEST_NUMPUT_VERBOSE. Define
2702 TEST_NUMPUT_VERBOSE only if DEBUG_ASSERT.
2704 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2706 * bits/fstream.tcc (basic_filebuf::basic_filebuf(fd)): Use it.
2707 (basic_filebuf::close): Use it.
2708 * bits/std_fstream.h (basic_filebuf): Remove default arguments for
2710 (basic_filebuf): Add _M_fileno_based data member.
2711 As reported by brent verner <brent@rcfile.org>
2712 * testsuite/27_io/filebuf_members.cc: New file.
2713 * testsuite/27_io/filebuf_members-1.tst: New file.
2715 * bits/std_fstream.h: Formatting tweaks.
2716 * testsuite/27_io/ofstream_members.cc: New file.
2717 * testsuite/27_io/ofstream_members-1.tst: New file.
2718 * testsuite/27_io/ifstream_members.cc: New file.
2719 * testsuite/27_io/ifstream_members-1.tst: New file.
2721 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2722 Ulrich Drepper <drepper@cygnus.com>
2724 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so
2725 that all the freaky stuff like sincos will be around...
2727 2000-06-22 Branko Cibej <branko.cibej@hermes.si>
2729 * Makefile.am (AM_MAKEFLAGS): Added WERROR to list of flags.
2731 2000-06-22 Steven King <sxking@uswest.net>
2733 * acinclude.m4: Check for sinl, _sinl using 1 parameter.
2735 2000-06-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2737 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Redo. Use the
2738 same approach as GLIBCPP_CHECK_MATH_SUPPORT, only don't try to
2739 link against libm and don't use -fno-builtins...
2740 * math/mathconf.h: Change up builtin macros to new schema.
2741 * bits/std_cmath.h: And here. Wheee!
2742 * shadow/bits/std_cmath.h: And here.
2743 * acconfig.h: Change up builtin macros here.
2744 * math/cosf.c: Remove.
2745 * math/fabsf.c: Likewise.
2746 * math/sinf.c: Likewise.
2747 * math/sqrtf.c: Likewise.
2748 * math/Makefile.am (EXTRA_DIST): Remove those four files.
2749 * math/Makefile.in: Regenerate.
2751 2000-06-22 Anthony Williams <anthony@anthonyw.cjb.net>
2753 * testsuite/21_strings/find.cc: Patch.
2755 2000-06-22 Benjamin Kosnik <bkoz@soma.redhat.com>
2757 * acinclude.m4 (GLIBCPP_CHEC_LINKER_FEATURES): Use gcc + -x c++ as
2758 an easy way to get at g++ without having to link in libstdc++.
2760 2000-06-21 Benjamin Kosnik <bkoz@soma.redhat.com>
2762 Fix alpha, powerpc build failures.
2763 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Substantially
2764 re-write. Need to check for both proper declaration when using a
2765 c++ compiler, and "C" linkage when linking. Do both, and if both
2766 exist, then define the HAVE_* bits in config.h.
2767 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE): New, uber-macro. Does all.
2768 (GLIBCPP_CHECK_LINKER_FEATURES): Actually link and run this
2771 2000-06-20 Anthony Williams <anthony@anthonyw.cjb.net>
2773 * bits/string.tcc: Fix find.
2774 * testsuite/21_strings/find.cc: Patch.
2776 2000-06-20 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2778 * docs/install.html: Update where to get automake, where to get
2780 * acinclude.m4: Need -fno-builtins too, so gcc doesn't recognize
2783 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
2785 * acinclude.m4 ((GLIBCPP_CHECK_MATH_SUPPORT): Revert last change.
2786 Add -Werror-implicit-function-declaration instead.
2788 Regenerate with fixed maintainer-tools.
2789 * aclocal.m4: Regenerate.
2790 * configure: Regenerate.
2791 * libio/Makefile.in: Regenerate.
2792 * src/Makefile.in: Regenerate.
2794 2000-06-19 Russell Davidson <russell@ehess.cnrs-mrs.fr>
2796 * testsuite/27_io/istream_extractor_arith.cc: Patch.
2797 * bits/locale_factets.tcc: Tweak.
2799 2000-06-19 Raja R Harinath <harinath@cs.umn.edu>
2801 * src/Makefile.am: change @WERROR@ to $(WERROR) so that this can
2802 be overridden on the command line for individual files.
2804 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
2806 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Can't use
2807 AC_LANG_CPLUSPLUS as this tries to link in libstdc++, which we are
2808 building. Use -x c++ instead, which does not attempt to link
2811 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Actually check for
2812 not coring when we hit a try/throw block, which was the problem
2813 with the linker support...
2815 * docs/17_intro/contribute.html: Add bits about getting to the LWG
2817 * docs/documentation.html: Rename link to make more accurate and scary.
2818 * docs/gccrebuild.html: Edit for clarity as these are no longer
2820 * docs/install.html: Add bits about binutils for
2821 -ffunction-sections, -fdata-sections, -Wl,--gc-sections
2823 * configure.in: Add call for GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
2824 * math/Makefile.am (EXTRA_DIST): Change USE_LONG_DOUBLE to
2825 USE_COMPLEX_LONG_DOUBLE.
2826 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Break into
2827 GLIBCPP_CHECK_MATH_SUPPORT and GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
2828 Works around irregularies in powerpc "C" compiler, but a good idea
2831 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT):
2832 New. Merge both old compiler bug checks for complex into this.
2834 2000-06-19 Anthony Williams <anthony@anthonyw.cjb.net>
2836 * testsuite/21_strings/find.cc: Empty strings can be found at all
2837 positions. Modified.
2839 2000-06-19 Branko Cibej <branko.cibej@hermes.si>
2841 * testsuite/20_utilities: New directory.
2842 * testsuite/20_utilities/auto_ptr.cc: New file.
2844 2000-06-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2846 * src/Makefile.am (string_sources): Simplify, assuming that with
2847 -ffunction-sections, -fdata-sections, -Wl,--gc-sections, all this
2848 hacking is not necessary.
2849 (wstring_sources): Same.
2850 (OPTIMIZE_CXXFLAGS): Enable -fdata-sections -ffunction-sections
2852 * src/string-inst.cc: Remove macro blocks.
2853 * mkcheck.in (CXX_FLAG): Add bits here.
2855 * src/string-inst.cc: Remove iostream-related string instantiations.
2856 * src/misc-inst.cc: Add here.
2858 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change FMTFLAGS
2860 * aclocal.m4: Regenerate.
2861 * configure.in: Change up.
2862 * configure: Regenerate.
2864 2000-06-13 Steven King <sxking@uswest.net>
2866 * acinclude.m4: Fixup some of the builtin math tests and add tests for
2867 __builtin_fmod* and test libm for fmodf, fmodl or _fmodf, _fmodl.
2868 * acconfig.h: Add entries for fmod*.
2870 2000-06-13 Branko Cibej <branko.cibej@hermes.si>
2872 * bits/std_cmath.h: Fix typos in tests (*_FMODFF -> *_FMODF).
2873 Test *_MODFF not *_MODF for modf(float, float*).
2874 (modf(float, float*)): Remove reference to _C_legacy.
2876 2000-06-13 Benjamin Kosnik <bkoz@redhat.com>
2878 * acinclude.m4 (enable_cshadow_headers): Change CSHADOWFLAGS to
2879 _GNU_SOURCE instead of _ISOC9X_SOURCE, as _GNU_SOURCE is the
2880 superset, and already defined at top level.
2881 * aclocal.m4: Regenerate.
2882 * configure: Regenerate.
2884 * docs/17_intro/contribute.html: Plead with people to use -cp.
2886 2000-06-13 Anthony Williams <anthony@anthonyw.cjb.net>
2888 * testsuite/23_containers/bitset_ctor.cc: Qualify reverse wth std::.
2890 * testsuite/27_io/filebuf.cc: Changed calls to
2891 fpos<>._M_position() to implicit calls to operator streamoff().
2892 * testsuite/27_io/iostream_objects.cc: Removed #include <ciso646>,
2893 as not needed. Revert, as part of standard.
2894 * testsuite/27_io/ostream_inserter_arith.cc: Replaced explicit
2895 call to numpunct<>._M_init() with overrides of the appropriate
2898 * testsuite/27_io/stringstream.cc: Removed unnecessary char *
2899 pointers from test01, so no need to call base(), which isn't
2900 guaranteed to be implemented as iterators may themselves be pointers
2901 * testsuite/27_io/stringbuf.cc: Removed unnecessary calls to
2902 _M_position() - use implicit conversion to streamoff instead
2904 2000-06-13 Thomas Holenstein <thomas@hex.ch>
2906 * bits/stl_iterator.h: Added inline to operators == to >=.
2908 2000-06-13 Brent Verner <brent@rcfile.org>
2910 * bits/streambuf.tcc: repaired _S_copy_streambufs()
2911 * testsuite/27_io/ostream_inserter_other.cc (test03): Added testcase.
2913 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2915 * bits/locale_facets.h (ctype<wchar_t>): Remove unnecessary data
2917 * src/locale.cc: Add cwchar include here. Remove incorrect
2918 definitions, and stub them out.
2919 * config/generic/ctype.cc (ctype): Remove ctype<wchar_t> bits.
2920 * config/solaris/solaris2.7/ctype.cc (ctype): Same.
2921 * config/solaris/solaris2.5/ctype.cc (ctype): Same.
2922 * config/newlib/ctype.cc: Same.
2923 * config/gnu-linux/ctype.cc: Same.
2924 * config/bsd/ctype.cc: Same.
2925 * config/aix/ctype.cc: Same.
2927 2000-06-12 Branko Cibej <branko.cibej@hermes.si>
2929 * config/solaris/solaris2.6/ctype.cc (do_toupper, do_tolower): Use
2930 towupper and towlower to convert wide characters.
2932 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2934 * mkcheck.in: Clean up confusion regarding NAME, PRE_NAME.
2936 2000-06-08 Branko Cibej <branko.cibej@hermes.si>
2938 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Check for
2939 sinf, cosf, fabsf, and sqrtf; add to LIBMATHOBJS if missing.
2940 * aclocal.m4: Regenerate.
2941 * configure: Regenerate.
2942 * math/cosf.c: New file.
2943 * math/fabsf.c: Likewise.
2944 * math/sinf.c: Likewise.
2945 * math/sqrtf.c: Likewise.
2946 * math/Makefile.am (EXTRA_DIST): Add those four files.
2947 * math/Makefile.in: Regenerate.
2949 2000-06-08 Phil Edwards <pme@sourceware.cygnus.com>
2951 * testsuite/26_numerics/complex_inserters_extractors.cc: Need cmath.
2953 2000-06-06 Steven King <sxking@uswest.net>
2955 * acconfig.h: Added defines for HAVE_BUILTIN math functs for float,
2956 double and long double. Added defines for HAVE libm math functs for
2957 float and long double.
2958 * aclocal.m4: Added configure checks for builtin math funcs and libm
2959 support for float and long double versions of the math functions.
2960 * config.h.in: Added undefs for math functs.
2961 * configure: Regenerate.
2962 * math/mathconf: Changed the _GLIBCPP_HAS_BUILTIN_* to
2963 _GLIBCPP_HAVE_BUILTIN_*.
2964 * bits/std_cmath.h: Added long double support. Use builtins for
2965 float, double and long if available, otherwise, use libm versions if
2966 availible, otherwise, punt.
2967 * shadow/bits/std_cmath.h: ditto
2969 2000-06-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2971 * bits/locale_facets.h: Tweak.
2972 * src/locale.cc (codecvt<wchar_t>): Tweak.
2974 * bits/locale_facets.h (_Format_cache): _S_ecks -> _S_x.
2975 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix for hex.
2977 * bits/basic_string.h: Move data member up.
2978 * src/string-inst.cc: Fix instantiations.
2979 * bits/string.tcc: Fix types.
2981 2000-06-02 Anthony Williams <anthony@anthonyw.cjb.net>
2983 * testsuite/21_strings/replace.cc (test01): Qualify find with std::.
2985 2000-06-01 Benjamin Kosnik <bkoz@gnu.org>
2987 * bits/std_cwctype.h: Clean.
2988 * bits/std_cwchar.h: Clean, remove cruft.
2990 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Re-work, add bits
2991 for beginning iconv support.
2992 Remove _GLIBCPP_HAS_WCHAR_MIN_MAX, roll into _GLIBCPP_USE_WCHAR_T
2994 * acconfig.h: Remove _GLIBCPP_HAS_WCHAR_MIN_MAX.
2995 * bits/limits_generic.h: Remove.
2996 * src/gen-num-limits.cc: Same.
2998 * src/locale.cc: Tweaks.
3000 * bits/char_traits.h: Tweaks.
3002 2000-05-31 Russell Davidson <russell@ehess.cnrs-mrs.fr>
3004 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix signage,
3005 exponent, scientific formatting issues.
3006 * testsuite/27_io/istream_extractor_arith.cc (test09): Add tests.
3008 2000-05-31 Branko Cibej <branko.cibej@hermes.si>
3010 * bits/limits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN
3011 and WCHAR_MAX instead of WCHART_MIN and WCHART_MAX.
3013 2000-05-31 Nathan Myers <ncm@cantrip.org>
3015 * docs/thanks.html: edit own credits
3017 2000-05-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3019 * bits/generic_shadow.h: Remaining _C_Shadow -> _C_shadow fix.
3021 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...
3023 * mkcheck.in (SH_FLAG): Add in -Wl,--rpath -Wl,$LIB_PATH. Tweaks.
3025 2000-05-31 Steven King <sxking@uswest.net>
3027 * shadow/time.h: fix typo
3028 * shadow/wchar.h: ifdef __USE_GNU for wcsdup
3029 * shadow/bits/std_cwchar.h: ditto
3030 * shadow/bits/std_cstdlib.h: add overloads of abs and div for long
3033 2000-05-26 Phil Edwards <pme@sourceware.cygnus.com>
3035 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): If strtoll isn't
3036 available, force --disable. Need to flesh this out; make smarter.
3037 * aclocal.m4: Regenerate.
3038 * configure: Regenerate.
3040 * mkcheck.in: Minor tweaks.
3041 * docs/download.html: Fix typo.
3043 2000-05-25 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
3045 * inclosure: Change to...
3046 * mkinclosure: This.
3048 * mkcshadow: Fix paths to bash.
3050 * src/Makefile.am: Tweaks. Do cshadow header trickery at build time.
3051 * src/Makefile.in: Regnerate.
3052 * acinclude.m4 (GLIBCPP_COMPILER_VERSION): Fix typo.
3053 (GLIBCPP_ENABLE_SHADOW): Do a less gross hack.
3054 * aclocal.m4: Regenerate.
3055 * mkcheck.in (INC_PATH): Tweak.
3057 * configure.in: Enable long long by default.
3058 * configure: Regenerate.
3060 * mkcheck.in (LIB_PATH): Revert.
3062 2000-05-24 Nathan "I don't write ChangeLog Entries" Myers <ncm@cantrip.org>
3064 * config/cpu/i486: New directory.
3065 * config/cpu/i486/bits: New directory.
3066 * config/cpu/i486/bits/atomicity.h: New file.
3067 * config/cpu/i386/bits/atomicity.h (__compare_and_swap): Delete
3069 * acinclude.m4 (GLIBCPP_CHECK_CPU): Enable i386.
3071 2000-05-24 Loren J. Rittle <ljrittle@acm.org>
3073 * backward/alloc.h (__default_alloc_template): Only expose
3074 implementation-specific symbol, if it exists in the
3076 * backward/iostream.h (ends): Expose symbol.
3077 * backward/strstream.h: New file.
3078 * backward/stream.h: New file.
3079 * backward/ostream.h: New file.
3080 * backward/istream.h: New file.
3081 * backward/fstream.h: New file.
3082 * backward/complex.h: New file.
3083 * backward/iomanip.h: New file.
3085 * mkcheck.in (LIB_PATH): Add -R bits.
3087 * math/carg.c (carg): Replace __atan2 with atan2.
3089 2000-05-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3091 * Makefile.am (TAGS): Construct.
3092 * Makefile.in: Rengerate.
3093 * src/Makefile.am: Tweak.
3094 * src/Makefile.in: Tweak.
3095 * configure.in: Tweak.
3097 * bits/c++config.h: Rename to ...
3098 * bits/c++config: This.
3099 * mkc++config: Adjust.
3102 * m4/lc_message.m4: Merge into acinclude.m4.
3103 * m4/mathfcts.m4: Same.
3104 * m4/stringfcts.m4: Same.
3105 * acinclude.m4: Add here.
3106 * configure: Regnerate.
3108 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Remove
3109 OPTLEVEL. Add FMTFLAGS.
3110 * aclocal.m4: Regenerate.
3111 * src/Makefile.am (AC_CXXFLAGS): Take out OPTLEVEL, as this has
3112 been disabled due to higher-level Makefiles running amuck over
3113 this bit, and add in FMTFLAGS so that formatting is clear.
3114 * src/Makefile.in: Regenerate.
3115 * configure: Regenerate.
3117 * src/ios.cc (ios_base::sync_with_stdio): Clean up buffers from
3120 * docs/download.html: Remove references to Cygwin-specific bits,
3121 as this can now be built natively.
3122 Update with current information.
3124 2000-05-24 Phil Edwards <pme@sourceware.cygnus.com>
3126 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): If we can use
3127 -fdiagnostics-show-location=once, do so. Expand AC_LANG_* to
3128 enclose other tests in this macro, including future ones.
3129 * aclocal.m4: Regenerate.
3130 * configure: Regenerate.
3132 * docs/faq/index.html: Update location of libg++ FAQ.
3133 * docs/faq/index.txt: Regenerate.
3135 2000-05-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3137 * docs/17_intro/libstdc++-assign.txt: Change Cygnus to FSF.
3139 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
3141 * mkcheck.in: Tweak for Solaris 8. Additional minor output comment.
3143 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
3145 * acinclude.m4: If the new pragma isn't supported, don't kill -Werror;
3146 keep -Werror and add -Wno-unknown-pragma. -Werror Is Good.
3147 * aclocal.m4: Regenerate.
3148 * configure: Regenerate.
3150 2000-05-19 Nathan C. Myers <ncm@cantrip.org>
3152 * bits/generic_shadow.h: s/swamp/legacy/
3154 2000-05-19 Phil Edwards <pme@sourceware.cygnus.com>
3156 * acinclude.m4: Clean up comments on newer checks.
3157 (GLIBCPP_CHECK_COMPILER_VERSION): Check for system_header
3158 pragma support. Remove WERRORSUPPRESS variable, add WERROR.
3159 * aclocal.m4: Regenerate.
3160 * configure: Regenerate.
3161 * Makefile.in: Regenerate.
3162 * libio/Makefile.in: Regenerate.
3163 * math/Makefile.in: Regenerate.
3164 * src/Makefile.am: Tell make's WERROR to depend on configure's WERROR.
3165 * src/Makefile.in: Regenerate.
3166 * docs/configopts.html: Document changes to --enable names.
3168 2000-05-18 Chip Salzenberg <chip@valinux.com>
3170 * bits/ostream.tcc (_S_pad_char): Function template should not be
3172 * bits/streambuf.tcc (_S_copy_streambufs): Likewise.
3173 * src/string-inst.cc (__destroy_aux): Instantiate for string*.
3175 2000-05-18 Nathan C. Myers <ncm@cantrip.org>
3177 * mkcshadow: Change C_Swamp to C_legacy.
3179 * shadow/bits/*: Same.
3180 s/C_Swamp/C_legacy/g
3184 2000-05-18 Anthony Williams <anthony@anthonyw.cjb.net>
3186 * bits/locale_facets.tcc (num_get::_M_extract): Change char* to
3188 * src/string-inst.cc (string::_S_find): Same.
3190 2000-05-18 Benjamin Kosnik <bkoz@gnu.org>
3192 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
3193 --enable-cshadow-headers. Add output messages.
3194 (GCC_ENABLE_LONG_LONG): Change to --enable-long-long, no
3195 underscores (like the rest of the enable options.) Add output messages.
3196 * aclocal.m4: Regenerate.
3197 * configure: Regenerate.
3198 * configure.in: Touch.
3200 2000-05-17 Benjamin Kosnik <bkoz@cygnus.com>
3202 * mkcheck.in: Enable shared library testing.
3204 2000-05-17 Nathan C. Myers <ncm@cantrip.org>
3206 * bits/std_cmath.h: fix sqrt(float)
3208 2000-05-16 Loren J. Rittle <ljrittle@acm.org>
3210 * bits/std_cassert.h: Use system_header pragma.
3211 * bits/std_cctype.h: Likewise.
3212 * bits/std_cerrno.h: Likewise.
3213 * bits/std_cfloat.h: Likewise.
3214 * bits/std_climits.h: Likewise.
3215 * bits/std_clocale.h: Likewise.
3216 * bits/std_cmath.h: Likewise.
3217 * bits/std_csetjmp.h: Likewise.
3218 * bits/std_csignal.h: Likewise.
3219 * bits/std_cstdarg.h: Likewise.
3220 * bits/std_cstddef.h: Likewise.
3221 * bits/std_cstdio.h: Likewise.
3222 * bits/std_cstdlib.h: Likewise.
3223 * bits/std_cstring.h: Likewise.
3224 * bits/std_ctime.h: Likewise.
3225 * bits/std_cwchar.h: Likewise.
3226 * bits/std_cwctype.h: Likewise.
3227 * bits/std_exception.h: Likewise.
3228 * bits/std_new.h: Likewise.
3229 * bits/std_typeinfo.h: Likewise.
3230 * shadow/bits/std_cassert.h: Likewise.
3231 * shadow/bits/std_cctype.h: Likewise.
3232 * shadow/bits/std_cerrno.h: Likewise.
3233 * shadow/bits/std_cfloat.h: Likewise.
3234 * shadow/bits/std_climits.h: Likewise.
3235 * shadow/bits/std_clocale.h: Likewise.
3236 * shadow/bits/std_cmath.h: Likewise.
3237 * shadow/bits/std_csetjmp.h: Likewise.
3238 * shadow/bits/std_csignal.h: Likewise.
3239 * shadow/bits/std_cstdarg.h: Likewise.
3240 * shadow/bits/std_cstddef.h: Likewise.
3241 * shadow/bits/std_cstdio.h: Likewise.
3242 * shadow/bits/std_cstdlib.h: Likewise.
3243 * shadow/bits/std_cstring.h: Likewise.
3244 * shadow/bits/std_ctime.h: Likewise.
3245 * shadow/bits/std_cwchar.h: Likewise.
3246 * shadow/bits/std_cwctype.h: Likewise.
3247 * shadow/bits/wrap_libio.h: Likewise.
3248 * shadow/bits/wrap_unistd.h: Likewise.
3249 * shadow/sys/cdefs.h: Likewise.
3251 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
3253 It appears that gcc-2.96 supports the keyword "and" now.
3254 * bits/std_ciso646.h: remove.
3256 * testsuite/17_intro/header_ciso646.c: enable testing.
3257 * src/Makefile.am, src/Makefile.in: remove mention of
3260 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
3262 * mkcshadow: fix typo s/_C_Swamp_/_C_Swamp/.
3264 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
3266 * acinclude.m4: Fix typo, switch to decaf...
3267 * aclocal.m4: Regenerate.
3268 * configure: Regenerate.
3270 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
3272 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro, stub.
3273 * aclocal.m4: Regenerate.
3274 * configure.in: Call.
3275 * configure: Regenerate.
3276 * docs/configopts.html: Stub documentation.
3278 2000-05-14 Nathan Myers <ncm@cantrip.org>
3280 * mkcshadow: build in more-correct directory, create cshadow/
3281 directory if needed, report progress.
3283 2000-05-14 LLeweLLyn Reese <llewelly@dbritsch.dsl.xmission.com>
3285 * src/Makefile.am: Fix tr commands.
3286 * src/Makefile.am: Remove references to [w]stringCTORDUPAL.[lo,cc]
3287 * src/string-inst.cc: Remove extra instantiation of
3288 S::basic_string(S::size_type, C, S::allocator_type const&);
3289 * src/string-inst.cc: Remove extra template keyword.
3291 2000-05-14 Loren J. Rittle <ljrittle@acm.org>
3293 * config/bsd/bits/ctype_base.h: Add support for plain BSD4.4.
3294 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Enhance bsd tests.
3295 * aclocal.m4: Regenerate.
3296 * configure: Regenerate.
3297 * */Makefile.in: Regenerate.
3299 2000-05-11 Phil Edwards <pme@sourceware.cygnus.com>
3301 * acinclude.m4: Fix minor typo with ctypes, add more sanity to
3302 enable-cxx-flags, and remove GLIBCPP_ENABLE_NAMESPACES altogether.
3303 * aclocal.m4: Regenerate.
3304 * configure.in: Non-blank arguments break fewer Linuxes.
3305 * configure: Regenerate.
3306 * src/Makefile.am: Re-order AC_CXXFLAGS components.
3307 * src/Makefile.in: Regenerate.
3309 2000-05-10 Benjamin Kosnik <bkoz@redhat.com>
3311 * bits/std_cmath.h: Tweaks.
3312 * math/mathconf.h: Tweaks and fixes for HP-UX 11.
3313 (sqrtf): Define away iff !builtin and !in <math.h>.
3317 At some point this directory should be converted to c++, the
3318 autoconf tests should be run by the c++ compiler (not c), and
3319 <cmath> should be used instead of math.h.
3320 Move declaration of nan() here.
3321 * math/complex-stub.h (cabsl): Remove nan() declaration.
3323 Finish up FreeBSD4.0 support.
3324 * config/bsd/ctype.cc: Scope out toupper, tolower calls.
3325 * config/generic/ctype.cc: And here.
3326 * testsuite/21_strings/char_traits.cc (test02): Guard with
3327 _GLIBCPP_USE_WCHAR_T.
3329 via Phil Edwards <pme@sourceware.cygnus.com>
3330 * bits/std_cctype.h: Remove _GLIBCPP_USE_NAMESPACES.
3331 * acconfig.h: And here.
3332 * acinclude.m4: Same.
3333 * testsuite/27_io/istream.cc: And here.
3334 * testsuite/27_io/ostream.cc: And here.
3336 2000-05-09 Benjamin Kosnik <bkoz@gnu.org>
3338 * acinclude.m4 (GLIBCPP_CHECK_CPU): Change powerpc bits to
3340 * src/Makefile.am: Disable ENABLE_CXX_FLAGS stuff for the moment.
3342 * config/generic/bits/ctype_specializations.h (ctype<char>::is):
3345 * config/bsd: New directory.
3346 * config/bsd/ctype.cc: New.
3347 * config/bsd/bits/ctype_base.h (ctype_base): New.
3348 * config/bsd/bits/ctype_specializations.h: New.
3349 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bsd tests.
3351 2000-05-09 Phil Edwards <pme@sourceware.cygnus.com>
3353 * acinclude.m4: New macro, GLIBCPP_ENABLE_CXX_FLAGS.
3354 * configure.in: Call.
3355 * src/Makefile.am: Append results of macro to AC_CXXFLAGS.
3356 * aclocal.m4: Regenerate.
3358 * src/Makefile.in: Ditto.
3359 * docs/configopts.html: Document.
3360 * docs/download.html: Fix typo (close quote).
3361 * docs/footer.html: Update.
3363 2000-05-09 Loren J. Rittle <ljrittle@acm.org>
3365 * backward/iostream.h: Expose endl. Guard wide types.
3366 * src/Makefile.am (headers): Update list to match files.
3367 * src/Makefile.in: Regenerate.
3369 2000-05-09 Vadim Egorov <egorovv@mailandnews.com>
3370 Benjamin Kosnik <bkoz@gnu.org>
3371 Nathan Myers <ncm@cantrip.org>
3372 Dietmar Kuehl <dietmar_kuehl@yahoo.com>
3374 * bits/streambuf.tcc (basic_streambuf::xsgetn): Fix uflow case.
3375 (basic_streambuf::xsputn): Make consistent.
3376 * testsuite/27_io/filebuf.cc: Add tests.
3378 2000-05-08 Steven King <sxking@uswest.net>
3380 * bits/char_traits.h: Use wchar_t utility functions for
3381 char_traits<wchar_t> methods.
3382 * testsuite/21_string/char_traits.cc: New (test02): test
3383 char_traits<wchar_t>
3385 2000-05-08 Benjamin Kosnik <bkoz@cygnus.com>
3387 * acinclude.m4 (GLIBCPP_CXXFLAGS): Add bits for solaris2.8.
3389 * bits/fstream.tcc (filebuf::_M_init_filebuf): Don't set
3390 _M_buf_size based on macro, instead use _M_buf_size_opt.
3391 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_size_opt.
3392 (basic_streambuf()): Set _M_buf_size_opt.
3393 * testsuite/27_io/filebuf.cc (filebuf): Use _M_buf_size_opt
3394 instead of _M_buf_size.
3396 2000-05-04 Branko Cibej <branko.cibej@hermes.si>
3398 * src/complex_io.cc: Don't instantiate inserters and extractors
3399 for wide-character streams unless _GLIBCPP_USE_WCHAR_T is defined.
3401 2000-05-03 Phil Edwards <pme@sourceware.cygnus.com>
3402 Felix Natter <fnatter@gmx.net>
3404 * docs/footer.html: Update to see if it takes effect.
3405 * docs/thanks.html: More people.
3406 * docs/17_intro/headers_cc.txt: Copy from testsuite, since that can't
3407 be seen from the web pages. Rename for browser-friendliness...
3408 * docs/17_intro/howto.html: ...and update here.
3409 * docs/17_intro/porting-howto.html: Changes from Felix.
3410 * docs/gccrebuild.html: Mention v3->egcs move.
3411 * docs/faq/index.html: Ditto. Also misc tweaks and URL updates.
3412 * docs/faq/index.txt: Regenerate.
3414 2000-05-01 Benjamin Kosnik <bkoz@redhat.com>
3416 * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): More
3419 2000-05-01 Vadim Egorov <egorovv@@mailandnews.com>
3421 * bits/char_traits.h: Fix parameter types.
3422 * bits/string.tcc: Avoid traits_type::move.
3424 2000-05-01 Benjamin Kosnik <bkoz@haight.constant.com>
3426 * src/Makefile.am (AC_CXXFLAGS): Add CPUFLAGS here.
3427 * src/Makefile.in: Regenerate.
3428 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Revert.
3430 2000-04-30 Steven King <sxking@uswest.net>
3432 * bits/locale_facets.h: Fix syntax error.
3433 * bits/std_fstream.h: ditto
3435 2000-04-30 Benjamin Kosnik <bkoz@gnu.org>
3437 * config/cpu/powerpc/bits/atomicity.h (__compare_and_swap): Fix typo.
3439 * mknumeric_limits (trait_name): Fix copyright notice.
3440 * src/gen-num-limits.cc: Explicitly instantiate epsilon and
3441 round_error data members of struct value. This works around
3442 weak-linking issues on AIX, HPUX.
3444 2000-04-29 Phil Edwards <pme@sourceware.cygnus.com>
3446 * docs/download.html: Add link to list of mirror sites.
3448 2000-04-28 Loren J. Rittle <ljrittle@acm.org>
3450 * mkcheck.in: Rely on exit status instead of the presence of a
3451 core file. Added comments on how/where to save core and exe
3452 files. Move shell wildcards outside quotes and fix core path.
3454 2000-04-27 scott snyder <snyder@fnal.gov>
3456 * src/misc-inst.cc: Explicitly instantiate ifstream and ofstream
3459 2000-04-26 Nathan C. Myers <ncm@cantrip.org>
3461 * bits/basic_string.h: include <bits/atomicity.h> instead
3462 of <atomicity.h>, and use the uglified names.
3463 * config/cpu/*/atomicity.h: replace with bits/atomicity.h;
3464 uglify names, eliminate dependence on <inttypes.h>.
3465 * src/Makefile.in, src/Makefile.am: refer to correct place
3466 for atomicity.h header.
3468 2000-04-25 Steven King <sxking@uswest.net>
3470 * bits/basic_string.h: Fix syntax error.
3472 2000-04-25 Benjamin Kosnik <bkoz@redhat.com>
3474 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Improve checks for
3476 (GLIBCPP_ENABLE_DEBUG): If alpha, use -gdwarf-2.
3477 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Add all the long
3478 versions to this as copysignl is needed anyway for these targets.
3479 * math/Makefile.in: Regenerate.
3481 * bits/streambuf.tcc (streambuf::xsgetn): Tweak.
3482 * bits/fstream.tcc (underflow): Cast to libio types.
3483 * bits/basic_file.h (seekoff): Fixes for alpha: use __c_streamoff.
3484 * config/c_io_libio.cc (seekoff): And here.
3486 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
3488 * mkcheck.in: Report compiler version used for test. Find
3489 the built _G_config.h instead of any old installed version.
3491 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
3493 * config/generic/ctype.cc (do_toupper): Remove dependence on
3494 non-portable/non-existent lookup table.
3497 2000-04-24 Nathan Myers <ncm@cantrip.org>
3499 * src/string-inst.cc: More fixing.
3501 2000-04-24 Benjamin Kosnik <bkoz@gnu.org>
3503 * bits/stl_iterator.h: Pedantic fixing.
3504 * bits/std_sstream.h: And here.
3505 * bits/string.tcc: And here.
3507 2000-04-24 Felix Natter <fnatter@gmx.net>
3509 * docs/17_intro/howto.html: Add bits.
3510 * docs/17_intro/porting-howto.html: New file.
3512 2000-04-24 Branko Cibej <branko.cibej@hermes.si>
3514 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Expand
3515 @libinst_wstring_la@ to libinst-wstring.la when specializing for
3516 wchar_t, to empty string otherwise.
3517 * src/Makefile.am: (EXTRA_LTLIBRARIES): New.
3518 (sources): Remove $(string_sources) and $(wstring_sources).
3519 (libstdc___la_LIBADD): Add libinst-string.la and @libinst_wstring_la@.
3520 (libstdc___la_DEPENDENCIES): New.
3521 (libinst_string_la_SOURCES, libinst_wstring_la_SOURCES): New.
3523 2000-04-20 Benjamin Kosnik <bkoz@redhat.com>
3525 * bits/std_sstream.h: Tweak formatting.
3526 * bits/std_fstream.h: Make types public.
3528 * testsuite/27_io/streambuf.cc: Fix for alpha.
3530 Brad Garcia <bgarcia@laurelnetworks.com>
3531 * bits/locale_facets.h (numpunct::numpunct(size_t)): Fix bool
3533 * testsuite/27_io/ios_manip_fmtflags.cc (test02): Add test for
3536 2000-04-19 Nathan Myers <ncm@cantrip.org>
3538 * src/string-inst: consolidate _S_create,
3539 destroy, leak, clone members into stringMAIN and stringMUTATE
3541 * src/Makefile.am: Above, and eliminate dependence on
3543 * src/wstring-inst.cc: Remove.
3545 2000-04-18 Benjamin Kosnik <bkoz@redhat.com>
3547 * src/Makefile.am (AC_CXXFLAGS): Activate debugging code, again.
3548 Add flags for specialized rules dealing with instantiations.
3550 * src/string-inst.cc: Add instantiations missing from shared
3551 libraries--see stringEQ, stringCONSC.
3552 * src/Makefile.am (wstring_sources): Add.
3553 (string_sources): Same.
3554 * src/Makefile.in: Regenerate.
3556 * stl/*: Integrate contents of this directory into top-level
3558 * ext/bvector hash_map hash_set rope ropeimpl.h slist
3559 stl_bvector.h stl_hash_fun.h stl_hashtable.h stl_rope.h tree: Add.
3560 * bits/pthread_allocimpl.h std_algorithm.h std_bitset.h
3561 std_deque.h std_functional.h std_iterator.h std_list.h std_map.h
3562 std_memory.h std_numeric.h std_queue.h std_set.h std_stack.h
3563 std_stdexcept.h std_strstream.h std_utility.h std_vector.h
3564 stl_algo.h stl_algobase.h stl_alloc.h stl_config.h stl_construct.h
3565 stl_deque.h stl_function.h stl_heap.h stl_iterator.h
3566 stl_iterator_base.h stl_list.h stl_map.h stl_multimap.h
3567 stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h
3568 stl_queue.h stl_range_errors.h stl_raw_storage_iter.h stl_relops.h
3569 stl_set.h stl_stack.h stl_string_fwd.h stl_tempbuf.h stl_threads.h
3570 stl_tree.h stl_uninitialized.h stl_vector.h type_traits.h: Add.
3571 * backward/algo.h algobase.h alloc.h bvector.h defalloc.h deque.h
3572 function.h hash_map.h hash_set.h hashtable.h heap.h iterator.h
3573 list.h map.h multimap.h multiset.h pair.h rope.h set.h slist.h
3574 stack.h tempbuf.h tree.h vector.h: Add.
3575 * README (file): Update.
3576 * docs/documentation.html: README not being found.
3577 * src/Makefile.am (sources): Take out stl directory.
3578 * mkcheck.in (SRC_DIR): And here.
3579 * src/Makefile.in: Regenerate.
3581 2000-04-18 Levente Farkas <lfarkas@mindmaker.hu>
3583 * stl/bits/stl_function.h: Add bits so that const and non-const
3586 2000-04-18 scott snyder <snyder@fnal.gov>
3588 * stl/bits/stl_map.h (class map): Fix default for _Alloc template
3589 parameter. Get rid of use of __STL_DEFAULT_ALLOCATOR and
3590 __STL_LIMITED_DEFAULT_TEMPLATES macros.
3591 * stl/bits/stl_multimap.h (class multimap): Likewise. Get rid of
3592 use of __STL_DEPENDENT_DEFAULT_TMPL macro.
3594 2000-04-18 scott snyder <snyder@fnal.gov>
3596 * stl/bits/stl_config.h (__STL_DEPENDENT_DEFAULT_TMPL): Deleted
3599 * stl/ext/hash_map (class hash_map, class hash_multimap): Get rid
3600 of use of __STL_DEPENDENT_DEFAULT_TMPL macro.
3601 * stl/ext/hash_set (class hash_set, class hash_multiset):
3603 * stl/bits/stl_function.h (struct constant_unary_fun, struct
3604 constant_binary_fun): Likewise.
3605 * stl/bits/stl_queue.h (class queue, class priority_queue): Likewise.
3606 * stl/bits/stl_stack.h (class stack): Likewise.
3607 * stl/bits/stl_set.h (class set): Likewise.
3608 * stl/bits/stl_multiset.h (class multiset): Likewise.
3610 * stl/bits/stl_iterator.h (class reverse_bidirectional_iterator,
3611 class reverse_iterator): Get rid of use of
3612 __STL_LIMITED_DEFAULT_TEMPLATES macro.
3614 * stl/bits/stl_config.h (__STL_DEFAULT_ALLOCATOR): Deleted this
3617 * stl/bits/stl_deque.h (class deque): Get rid of use of
3618 __STL_DEFAULT_ALLOCATOR macro.
3619 * stl/bits/stl_list.h (class list): Likewise.
3620 * stl/bits/stl_multiset.h (class multiset): Likewise.
3621 * stl/bits/stl_set.h (class set): Likewise.
3622 * stl/bits/stl_string_fwd.h (class basic_string): Likewise.
3623 * stl/bits/stl_tree.h (class _Rb_tree, class rb_tree): Likewise.
3624 * stl/bits/stl_vector.h (class vector): Likewise.
3625 * stl/ext/ropeimpl.h (rotate): Likewise.
3626 * stl/ext/hash_map (class hash_map, class hash_multimap):
3628 * stl/ext/hash_set (class hash_set, class hash_multiset):
3630 * stl/ext/slist (class slist): Likewise.
3631 * stl/ext/stl_bvector.h (class bit_vector): Likewise.
3632 * stl/ext/stl_rope.h (class rope): Likewise.
3633 * src/locale.cc (_Impl): Likewise.
3634 * src/localename.cc (_Impl): Likewise.
3635 * bits/localefwd.h (_Impl): Likewise.
3637 2000-04-18 Phil Edwards <pme@sourceware.cygnus.com>
3639 * docs/install.html: Cleanup, minor changes.
3640 * docs/17_intro/howto.html: Ditto.
3642 2000-04-18 Nathan Myers <ncm@cantrip.org>
3644 * bits/basic_string.h: Remove "inline" from member _S_find.
3646 * src/string-inst.cc: Rewrite to reflect non-inline template
3647 instantiations in string.tcc.
3649 * src/stringADDCS.cc, stringADDPS.cc, stringADDSC.cc, stringADDSP.cc,
3650 stringADDSS.cc, stringBIST.cc, stringBOST.cc, stringCHTR.cc,
3651 stringEQPS.cc, stringEQSP.cc, stringEQSS.cc, stringEXTRA.cc,
3652 stringGEPS.cc, stringGESP.cc, stringGESS.cc, stringGETLI.cc,
3653 stringGTPS.cc, stringGTPS.cc, stringGTSP.cc, stringGTSS.cc,
3654 stringINSER.cc, stringLEPS.cc, stringLESP.cc, stringLESS.cc,
3655 stringLESP.cc, stringLTPS.cc, stringLTPS.cc, stringLTSP.cc,
3656 stringLTSS.cc, stringMAIN.cc, stringNEPS.cc, stringNESP.cc,
3657 stringNESS.cc, stringSCOPY.cc: Remove.
3658 * src/wstringADDCS.cc, etc: Remove.
3660 Benjamin Kosnik <bkoz@haight.constant.com>
3661 * src/Makefile.am: Modify to reflect above.
3662 * src/Makefile.in: Regenerate.
3664 2000-04-17 Benjamin Kosnik <bkoz@cygnus.com>
3666 * docs/install.html (--enable-libstdcxx-v3): Clean up install docs.
3668 2000-04-13 Benjamin Kosnik <bkoz@haight.cygnus.com>
3670 * bits/std_fstream.h (filebuf::sync): Need to use the abstracted
3671 io interface here instead of the libio particulars.
3673 * config/threads-posix.h: Consistency with stl_config.h.
3675 * mkcheck.in (CXX_FLAG): Add DDEBUG_ASSERT back in.
3677 2000-04-13 Loren J. Rittle <ljrittle@acm.org>
3679 * mknumeric_limits: Rename generic type template parameter name
3681 * stl/bits/type_traits.h: Ditto.
3683 2000-04-06 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3685 * mkcheck.in (SRC_DIR): Change default mkcheck behavior, so that
3686 it is more useful for --enable-libstdcxx-v3. Use the built
3687 compilers with v3, instead of compilers in PATH, and don't
3688 re-include include directories for checking the install.
3690 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
3692 * src/Makefile.am (AM_CXXFLAGS): Disable NAMESPACES, as this is on
3693 by default when using --enable-libstdcxx-v3.
3694 * src/Makefile.in: Regenerate.
3695 * configure.in: Disable GLIBCPP_ENABLE_NAMESPACES,
3696 GLIBCPP_ENABLE_RELIBGCC for --enable-libstdcxx-v3 flag.
3697 * configure: Regenerate.
3698 * mkcheck.in: Deal with NAMESPACES.
3700 2000-04-05 Petter Urkedal <petter@matfys.lth.se>
3702 * src/cmath.cc: New file...
3703 (pow(*, int)): Define functions...
3704 * src/Makefile.am (sources): ...register file.
3705 * src/Makefile.in: Regenerate.
3706 * bits/std_cmath.h (pow): ...declare functions here, and remove
3709 2000-04-04 Benjamin Kosnik <bkoz@redhat.com>
3711 * acinclude.m4 (GCC_OBJDIR): Tweaks
3713 2000-04-03 Benjamin Kosnik <bkoz@redhat.com>
3715 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add arm configure bits.
3716 * config/cpu/arm: New directory.
3718 Jesper Skov <jskov@redhat.com>
3719 * config/cpu/arm/atomicity.h: New file.
3721 2000-03-31 Benjamin Kosnik <bkoz@redhat.com>
3723 * stl/bits/stl_config.h: Make _STL_THREADS depend on _REENTRANT.
3724 Remove unused bits. Clean.
3726 2000-03-29 Benjamin Kosnik <bkoz@cygnus.com>
3728 * testsuite/25_algorithms: New directory.
3729 * testsuite/25_algorithms/min_max.cc: New file.
3731 2000-03-29 scott snyder <snyder@fnal.gov>
3733 * bits/locale_facets.tcc (do_put): Allow a couple extra digits of
3734 precision beyond that which we get from numeric_limits::digits10.
3736 * stl/bits/stl_algobase.h (max, min): Don't use comparison
3739 * testsuite/23_containers/bitset_shift.cc: Fix.
3741 * testsuite/27_io/ios_manip_fmtflags.cc (test01): Don't give a
3742 temporary to imbue().
3744 * bits/std_fstream.h (sync): Resync libio's idea of the current
3745 file position with the external file.
3747 2000-03-28 Benjamin Kosnik <bkoz@cygnus.com>
3749 * testsuite/27_io/istream_extractor_arith.cc.cvs: Fix merge
3752 * bits/std_fstream.h (filebuf::is_open): Check for _M_file before
3753 attempting calls to it.
3754 * bits/fstream.tcc (ctors): Don't call _M_init_filebuf in
3755 ctors. Instead, call _M_init_filebuf ...
3756 (open): Here, as suggested by 27.8.1.3.
3757 * src/ios.cc (ios_base::Init::Init()): Clean up default filebufs
3758 properly when initializing cout/cin/cerr.
3760 2000-03-27 Russell Davidson <russell@ehess.cnrs-mrs.fr>
3762 * testsuite/23_containers/multiset.cc (main): Clean up for namespaces.
3763 * testsuite/22_locale/ctype_char_members.cc: And here.
3764 * testsuite/27_io/streambuf.cc (streambuf): And here.
3765 * testsuite/27_io/ostream_inserter_char.cc (test06): And here.
3766 * testsuite/27_io/istream_unformatted.cc (test05): And here.
3767 * testsuite/27_io/istream_extractor_arith.cc: And here.
3768 * testsuite/27_io/ios_manip_basefield.cc (test02): And here.
3769 * testsuite/27_io/ios_base_members_static.cc: And here.
3770 * bits/std_climits.h (_CPP_CLIMITS): Fix typo.
3772 2000-03-27 Chris Faylor <cgf@cygnus.com>
3774 * configure.in: Remove setting of CXX if canadian cross.
3775 * configure: Regenerate.
3777 2000-03-27 Nathan Myers <ncm@zembu.com>
3779 * bits/sstream.tcc: Optimize.
3780 * bits/basic_string.h(string::append): Don't inline.
3781 * bits/string.tcc: Move out-of-line.
3783 2000-03-27 Phil Edwards <pme@sourceware.cygnus.com>
3785 * acinclude.m4: (GLIBCPP_CHECK_COMPILER_VERSION) When using <2.96,
3786 define WERRORSUPPRESS so that the inlining warnings won't kill us.
3787 * aclocal.m4: Regenerate.
3788 * configure: Regenerate.
3789 * src/Makefile.am: Use WERRORSUPPRESS for the files that need it.
3790 * src/Makefile.in: Regenerate.
3792 * docs/install.html: Almost complete rewrite.
3794 2000-03-25 Phil Edwards <pme@sourceware.cygnus.com>
3796 * docs/install.html: Explain -Werror problem at "#Werror" mark.
3797 * docs/faq/index.html: Testsuite will die horribly if new libgcc.a
3799 * docs/faq/index.txt: Regenerate.
3801 2000-03-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3803 * src/Makefile.am (libio_headers_install): Fix.
3804 * src/Makefile.in: Regenerate.
3806 2000-03-24 Benjamin Kosnik <bkoz@cygnus.com>
3808 * docs/17_intro/RELEASE-NOTES: Fix typos.
3809 * docs/index.html: Update.
3810 * docs/17_intro/BUGS: Update.
3811 * docs/status.html: Update for 2.90.8 release.
3813 2000-03-23 Phil Edwards <pme@sourceware.cygnus.com>
3815 * Makefile.am: Better error message when missing libgcc2.ready.
3816 * Makefile.in: Regenerate.
3817 * acinclude.m4: Fastidious nitpicking reformatting.
3818 * aclocal.m4: Regenerate.
3819 * configure: Regenerate.
3820 * mkcheck.in: Must use same namespace settings as the library being
3821 tested. Also log ST_FLAG, since it's being passed.
3822 * docs/install.html: Add brief chunk on configuration.
3823 * docs/17_intro/RELEASE-NOTES: Fix minor Cygwin typo.
3824 * docs/23_containers/howto.html: Mention MT-safe string.
3825 * docs/faq/index.html: Minor updates.
3826 * docs/faq/index.txt: Regerarate.
3828 2000-03-22 Benjamin Kosnik <bkoz@cygnus.com>
3830 * bits/sstream.tcc (seekoff): Fix for gptr() null cases.
3832 * bits/fstream.tcc (seekoff): Sync.
3834 * testsuite/27_io/ostream_unformatted.cc: New file.
3835 * testsuite/27_io/stringbuf.cc: Fix.
3836 * testsuite/27_io/istream_unformatted.cc (test04): Fix.
3838 * config/newlib/bits/ctype_base.h (ctype_base): Fix.
3839 * config/newlib/ctype.cc (ctype): Change __ctype -> _ctype_.
3841 * src/complex_io.cc (operator>>complex): Tweak.
3843 * config/cpu/alpha/atomicity.h: Explicitly typedef uint32_t, int32_t if
3844 <inttypes.h> does not exist.
3845 * config/cpu/sparc/sparc64/atomicity.h: Same.
3846 * config/cpu/sparc/sparc32/atomicity.h: Same.
3847 * config/cpu/powerpc/atomicity.h: Same.
3848 * config/cpu/i386/atomicity.h: Same.
3849 * config/cpu/generic/atomicity.h: Same.
3850 * configure.in: Check for inttypes.h.
3851 * configure: Regnerate.
3853 2000-03-21 Benjamin Kosnik <bkoz@cygnus.com>
3855 * bits/std_sstream.h (_M_init_stringbuf): Set initial ate position
3857 * testsuite/27_io/ostream_inserter_char.cc (test06): Add tests for ate.
3859 * docs/17_intro/RELEASE-NOTES (New): Add bits.
3861 * configure.in: Move AC_CHECK_HEADERS to a point where we know we
3862 are compiling natively.
3864 * libio/*: Update to CVS libio from egcs.
3866 2000-03-21 Phil Edwards <pme@sourceware.cygnus.com>
3868 * docs/download.html: Document use of -z9 for CVS.
3869 * docs/index.html: Add target date (no link) for future snapshot.
3871 2000-03-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3873 * bits/slice_array.h: Rename generic type template parameter name
3875 * bits/mask_array.h: Ditto
3877 2000-03-20 Benjamin Kosnik <bkoz@cygnus.com>
3879 * *: Change copyright holder from "Cygnus Solutions" to "Free
3880 Software Foundation, Inc."
3882 * docs/configopts.html: Explain what "hella versions" means.
3883 * docs/install.html: Some tweaks--nice job on this Phil.
3884 * docs/documentation.html: Add a direct link to configuration options.
3886 * src/Makefile.am (OPTIMIZE_CXXFLAGS): Add in extras.
3887 * docs/17_intro/RELEASE-NOTES (New): Add.
3888 * bits/c++config.h (__GLIBCPP__): Bump version.
3890 * config/c_io_libio.cc (__basic__file(__c_lock*)): Change argument
3891 type to match prototype.
3893 2000-03-20 Phil Edwards <pme@sourceware.cygnus.com>
3895 * docs/install.html: Update for new funky build procedure. Move
3896 description of 'configure' options to...
3897 * docs/configopts.html: ...here. New file.
3898 * docs/17_intro/howto.html: Updates for new snapshot.
3899 * docs/20_util/howto.html: Ditto.
3900 * docs/21_strings/howto.html: Ditto.
3901 * docs/21_strings/stringtok_std_h.txt: Fix example typos.
3902 * docs/22_locale/howto.html: Ditto.
3903 * docs/23_containers/howto.html: Ditto.
3904 * docs/faq/index.html: Ditto.
3906 2000-03-18 Petter Urkedal <petter@matfys.lth.se>
3907 Benjamin Kosnik <bkoz@gnu.org>
3909 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_SUPPORT): Move code for main
3911 * aclocal.m4: Regenerate.
3912 * configure: Regenerate.
3914 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
3915 scott snyder <sss@karma.fnal.gov>
3917 * config/c_io_libio.h: Add __c_lock.
3918 * config/threads-no.h: Same here.
3919 * config/threads-posix.h: Add __mutext_type typedef.
3920 * config/c_io_libio.cc: basic_file ctor takes lock arg.
3921 * bits/basic_file.h: Ctor takes lock arg.
3922 * bits/std_fstream.h: Add _M_lock.
3923 * bits/fstream.tcc: Supply it to basic_file ctor.
3925 * mkcheck.in (resultstext): Change [[ to [.
3927 * testsuite/27_io/ostream_inserter_char.cc (test06): Tweak.
3929 * bits/locale_facets.h: Tweak.
3931 * stl/bits/stl_config.h: Fix defines.
3933 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
3935 * mkcheck.in (INC_PATH): Add paths from cpu_include_dir to find
3937 * configure: Regenerate.
3938 * aclocal.m4: Regnerate.
3940 2000-03-16 Nathan Myers <ncm@zembu.com>
3942 * bits/string.tcc: Add MT support.
3943 * bits/basic_string.h: Same.
3945 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3947 * configure.in: Make --enable-namespaces and -libgcc-rebuild=../..
3949 * configure: Regenerate.
3951 * config/solaris/solaris2.7/ctype.cc: Fix unsigned/signed comparison.
3953 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3955 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): If Sol2.5 ctype is found, keep
3956 checking for 2.[67]. (GLIBCPP_ENABLE_RELIBGCC): No longer ignore
3957 any defaults passed in.
3958 * aclocal.m4: Regenerate.
3960 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3962 * mkcheck.in: Report total successes and failures.
3964 2000-03-15 Benjamin Kosnik <bkoz@cygnus.com>
3966 * config/cpu: New directory, intended to be used to provide
3967 cpu-specific configuration files. In particular, assembly language
3968 primitives for thread safety.
3969 * config/cpu/alpha: Populate.
3970 * config/cpu/alpha/atomicity.h: New file.
3971 * config/cpu/arm: Populate.
3972 * config/cpu/generic: Populate.
3973 * config/cpu/generic/atomicity.h: New file.
3974 * config/cpu/hppa: Populate.
3975 * config/cpu/i386: Populate.
3976 * config/cpu/i386/atomicity.h: New file, take from i486.
3977 * config/cpu/m68k: Populate.
3978 * config/cpu/mips: Populate.
3979 * config/cpu/powerpc: Populate.
3980 * config/cpu/powerpc/atomicity.h: New file.
3981 * config/cpu/sparc: Populate.
3982 * config/cpu/sparc/sparc32: Populate.
3983 * config/cpu/sparc/sparc64: Populate.
3984 * config/cpu/sparc/sparc32/atomicity.h: New file.
3985 * config/cpu/sparc/sparc64/atomicity.h: New file.
3987 * src/Makefile.am (myinstallheaders): Add install routines.
3988 * acinclude.m4 (GLIBCPP_CHECK_CPU):Add configuration for the
3990 * configure.in: Add.
3992 * config/default: Adopt glibc naming conventions, and so move to
3993 * config/generic: Here.
3994 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Modify default case to generic.
3996 2000-03-15 Bill Thompson <billt@toast.net>
3998 * testsuite/27_io/ostream_inserter_char.cc (test06): Add test.
4000 2000-03-14 Phil Edwards <pme@sourceware.cygnus.com>
4002 * docs/17_intro/howto.html: Add missing "TOC" entry, and new section.
4004 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Fixup.
4005 * aclocal.m4: Regenerate.
4006 * configure: Regenerate.
4008 2000-03-13 scott snyder <snyder@fnal.gov>
4009 Jason Merrill <jason@cygnus.com>
4011 * bits/locale_facets.h (class ctype, class ctype<char>, class
4012 ctype<wchar_t>): More mask fixes.
4013 * testsuite/22_locale/ctype.cc: Test for the problem.
4015 2000-03-13 Benjamin Kosnik <bkoz@cygnus.com>
4017 * acconfig.h: Add bits.
4018 * configure.in: Move AM_PROG_LIBTOOL up in file.
4019 Tweak cross compiling info.
4020 * configure: Regenerate.
4022 * mknumeric_limits (XCOMPILE): Echo compilation line for
4025 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add aix checks.
4026 * aclocal.m4: Regenerate.
4027 * configure: Regenerate.
4028 * config/aix/ctype.cc (ctype): Tweak.
4029 * config/aix/bits/ctype_base.h (ctype_base): Tweak.
4030 * config/aix/bits/ctype_specializations.h: New file.
4032 2000-03-10 scott snyder <snyder@fnal.gov>
4034 * stl/bits/stl_vector.h (_M_assign_aux): Fix for __normal_iterator
4036 * testsuite/23_containers/vector_modifiers.cc (test01): Add a
4037 regression test for the problem.
4039 2000-03-09 Benjamin Kosnik <bkoz@fidel.cygnus.com>
4041 * testsuite/27_io/streambuf.cc (class testbuf): Same here.
4042 * bits/fpos.h: And here.
4043 * bits/std_ostream.h: Same here.
4044 * bits/std_istream.h: Same here.
4045 * bits/basic_ios.h: Same here.
4046 * bits/std_fstream.h: Same here.
4047 * bits/sbuf_iter.h (std): Here too.
4048 * bits/std_sstream.h: Make types public.
4050 * src/misc-inst.cc: Use size_t instead of unsigned int.
4051 * bits/locale_facets.tcc (_S_format): For now, cast to char. I
4052 suppose this should be ctype::narrow... all the ctype<wchar_t>
4053 stuff needs to be cleaned up.
4055 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
4057 * docs/gentop: Remove entire directory, finally.
4059 2000-03-09 scott snyder <snyder@fnal.gov>
4061 * bits/std_cmath.h (modf): Fix pointer overrun.
4062 * testsuite/26_numerics/c_math.cc (test04, main): Add a regression
4063 test for the problem.
4065 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
4067 Looks like changes to the #include'd files must be followed by a
4068 change to the #include'ing files to take effect. Caveat emptor.
4069 * docs/header.html: New file, for server-side include.
4070 * docs/footer.html: New file, for server-side include.
4071 * docs/documentation.html: Change to use SSI.
4072 * docs/download.html: Ditto.
4073 * docs/index.html: Ditto.
4074 * docs/mail.html: Ditto.
4075 * docs/status.html: Ditto.
4076 * docs/thanks.html: Ditto, plus minor updates.
4077 * docs/how.html: Remove.
4079 2000-03-09 Benjamin Kosnik <bkoz@gnu.org>
4081 Preliminary alpha-linux support.
4082 * src/locale.cc (ctype<wchar_t>): Use correct types...
4083 * bits/locale_facets.h (ctype<char>): Add __table_type typedef.
4084 (ctype<wchar_t>): Same.
4085 * bits/locale_facets.h (ctype<wchar_t>): Have char and wchar_t
4086 types match for table_size (size_t).
4088 * config/gnu-linux/ctype.cc (ctype): Change char_type to wchar_t
4089 as per char specialization.
4090 * config/*/ctype.cc: Same.
4092 2000-03-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4094 * bits/locale_facets.h (_Ctype<>::mask): Import from base class
4095 _Ctype_nois<>. Template base classes are never examinated in
4096 first-phase name-lookup.
4098 2000-03-08 Benjamin Kosnik <bkoz@gnu.org>
4100 Add Solaris 2.5.1 support.
4101 * config/solaris/solaris2.5/bits/ctype_base.h (ctype_base): And here.
4102 * config/solaris/solaris2.5/ctype.cc: Fixup.
4103 * config/solaris/solaris2.5/bits/ctype_specializations.h: Add.
4104 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bits for solaris2.5.1.
4105 * aclocal.m4: Regenerate.
4106 * configure: Regenerate.
4108 * config/default/ctype.cc (ctype): Fixup.
4110 2000-03-07 Benjamin Kosnik <bkoz@blues.cygnus.com>
4112 * testsuite/27_io/filebuf.cc: Activate init code from yesterday...
4113 * testsuite/27_io/ostream_inserter_arith.cc (testcases): Fix for
4116 2000-03-07 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4118 * bits/cpp_type_traits.h: Expand on this file purpose.
4120 2000-03-06 Benjamin Kosnik <bkoz@gnu.org>
4122 * bits/locale_facets.h (ctype<char>): Remove static members, and
4123 re-work initialization code.
4124 (ctype<wchar_t>): Same.
4125 Move _S_touppper to _M_toupper and initialize in ctor.
4126 Move _S_tolower to _M_tolower and initialize in ctor.
4127 Move _S_table to _M_ctable and intialize in ctor.
4128 * bits/locale_facets.h (std): And here.
4129 * src/locale.cc (std): Tweak.
4130 * config/gnu-linux/ctype.cc: Change initialization here.
4131 * config/newlib/ctype.cc: And here.
4132 * config/solaris/solaris2.7/ctype.cc: And here.
4133 * config/solaris/solaris2.6/ctype.cc: And here.
4135 * bits/localefwd.h: Tweak.
4136 * bits/std_streambuf.h: Tweak formatting.
4138 * testsuite/27_io/filebuf.cc: Remove BUFSIZ dependancies.
4140 2000-03-05 Chip Salzenberg <chip@valinux.com>
4142 * src/misc-inst.cc (basic_iostream<>): Instantiate.
4144 2000-03-02 Phil Edwards <pme@sourceware.cygnus.com>
4145 Kevin Atkinson <kevinatk@home.com>
4147 Initial grab of SGI's strstream implementation with minor
4149 * src/strstream.cc: New file.
4150 * std/strstream: New file.
4151 * stl/bits/std_strstream.h: New file.
4152 * bits/std_streambuf.h: Add public access.
4153 * src/Makefile.am: Add strstream sources to list of dependancies.
4154 * src/Makefile.in: Regenerate.
4156 2000-03-03 2000 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4158 * bits/valarray_meta.h: Fix typo.
4160 2000-03-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4161 Chip Salzenberg <chip@valinux.com>
4162 Petter Urkedal <petter@matfys.lth.se>
4164 * src/Makefile.am (myinstallheaders): Hack to avoid
4166 * src/Makefile.in: Regenerate.
4168 2000-03-02 Chip Salzenberg <chip@valinux.com>
4170 * libio/Makefile.an, math/Makefile.an, src/Makefile.am
4171 (LINK): Put quotes around "$(CC)" for libtool link mode,
4172 so libtool will use "-B" options during GCC bootstrap.
4173 * */Makefile.in: Regenerate.
4175 2000-03-02 Petter Urkedal <petter@matfys.lth.se>
4177 * config/c_io_libio.h: Enclose it all in ::std.
4178 * bits/basic_string.h (basic_string<>): Make types and
4180 * mkc++config: Truncate output file before writing.
4182 2000-03-01 Benjamin Kosnik <bkoz@gnu.org>
4184 * math/cabsf.c (__mycabsf): Rename to cabsf.
4185 * math/cabs.c (__mycabs): Rename to cabs.
4187 2000-02-29 LLeweLLyn Reese <llewelly@198.dsl.xmission.com>
4189 * bits/basic_string.h: Move declarations of __out_of_range(),
4190 __length_error() and accompanying macros ...
4191 * bits/exception_support.h: here. (Newly created file).
4192 * bits/basic_string.h: #include <bits/exception_support.h>
4193 * stl/bits/stl_vector.h: #include <bits/exception_support.h>
4194 * src/Makefile.am (headers): Add.
4195 * src/Makefile.in: Regenerate.
4197 2000-02-29 Benjamin Kosnik <bkoz@cygnus.com>
4199 * bits/cpp_type_traits.h: Rename structs so they don't clash with
4201 * bits/valarray_array.h: Synch. Fix typos.
4203 * libio/Makefile.am: Change to only compile source files that
4204 config/c_io_libio.cc actually needs.
4205 * libio/Makefile.in: Regnerate.
4206 * libio/PlotFile.hes SFile.h builtinbuf.h editbuf.h floatconv.c
4207 floatio.h fstream.h indstream.h iofclose.c iofdopen.c iofeof.c
4208 ioferror.c iofflush.c iofgetpos.c iofgets.c iofopen.c iofprintf.c
4209 iofputs.c iofread.c iofscanf.c iofsetpos.c ioftell.c iofwrite.c
4210 iogetc.c iogetdelim.c iogetline.c iogets.c ioignore.c iomanip.h
4211 iopadn.c ioperror.c iopopen.c ioprims.c ioprintf.c ioputc.c
4212 ioputs.c ioscanf.c ioseekoff.c ioseekpos.c iosetbuffer.c
4213 iosetvbuf.c iosprintf.c iosscanf.c iostream.h iostrerror.c
4214 ioungetc.c iovfprintf.c iovfscanf.c iovsprintf.c iovsscanf.c
4215 istream.h list.out ostream.h outfloat.c parsestream.h peekc.c
4216 pfstream.h procbuf.h stdiostream.h stream.h streambuf.h strfile.h
4217 strops.c strstream.h: Delete.
4219 * bits/basic_file.h: Stub out or delete unused bits in this
4221 (filepos_beg): Remove.
4222 (filepos_cur): Remove.
4223 (filepos_valid): Remove.
4224 * config/c_io_libio.cc: Resynch with the changes to basic_file.
4226 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4228 * bits/cpp_type_traits.h: Correct typo.
4230 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4232 * bits/cpp_type_traits.h: New file.
4234 * bits/valarray_array.h: Tweak. #include <bits/cpp_type_traits.h>
4235 Improve array construction.
4236 (_Array_default_ctor): New dispatcher class.
4237 (__valarray_default_construct): New function.
4238 (_Array_copy_ctor): New dispatcher class.
4239 (__valarray_copy_construct): New function.
4240 (_Array<>::free_data): Remove.
4242 * src/Makefile.am (headers): Add cpp_type_traits.h
4243 * src/Makefile.in: Regenerate.
4245 2000-02-28 Benjamin Kosnik <bkoz@cygnus.com>
4247 Prune libio directory to match files in libio/Makefile.
4248 * libio/PlotFile.cc,indstream.cc, isgetsb.cc, sbform.cc,
4249 stream.cc, SFile.cc, ioassign.cc, isscan.cc, sbgetline.cc,
4250 streambuf.cc, builtinbuf.cc, ioextend.cc, osform.cc, sbscan.cc,
4251 strstream.cc, editbuf.cc, iomanip.cc, parsestream.cc,
4252 stdiostream.cc, filebuf.cc, iostream.cc, pfstream.cc,
4253 stdstrbufs.cc, fstream.cc, isgetline.cc, procbuf.cc,
4254 stdstreams.cc: Remove.
4255 * libio/floatio.h, iolibio.h, iostdio.h, iostreamP.h: Remove.
4256 * libio/iofflush_u.c: Remove.
4258 * libio/dbz: Remove.
4259 * libio/include: Remove.
4260 * libio/stdio: Remove.
4261 * libio/tests: Remove.
4262 * libio/testsuite: Remove.
4264 * config/c_io_libio.cc: Add fcntl.h include for Solaris.
4266 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add bits.
4267 * configure.in: Replace 'grep -e' with 'grep' for Solaris.
4268 * configure: Regenerate.
4270 2000-02-25 Benjamin Kosnik <bkoz@gnu.org>
4272 Abstract out the underlying "C" io bits.
4273 * bits/std_new.h: Remove <stl_config> include, as well as <cstddef>.
4274 * stl/bits/stl_string_fwd.h: Remove <stddef> include.
4275 * bits/std_cwchar.h: Wrap with _GLIBCPP_USE_WCHAR_T guards. Don't
4277 * stl/bits/stl_config.h: Don't include _G_config.h.
4279 * bits/basic_file.h: Allow for non-inheritance based __basic_files.
4280 * config/c_io_libio.h (_GLIBCPP_BASIC_FILE_INHERITANCE): Define.
4281 * config/c_io_libio.cc: Tweak.
4283 * src/Makefile.am (TOPLEVEL_INCLUDES): Add includedir.
4284 * src/Makefile.in: Regenerate.
4285 * Makefile.am (AM_MAKEFLAGS): Define includedir so that
4286 prefix/include files will be picked up.
4287 * Makefile.in: Regenerate.
4288 * math/Makefile.am (TOPLEVEL_INCLUDES): And here.
4289 * libio/Makefile.am (TOPLEVEL_INCLUDES): And here.
4291 * bits/std_ios.h: Include <bits/c++io.h> instead of libio.
4292 * bits/fpos.h: And here.
4293 * bits/basic_file.h (get_fileno): Move definition from ...
4294 * src/basic_file.cc (std): To here.
4295 * bits/fpos.h: Move types for streamoff, streampos to..
4296 * bits/basic_file.h: Move __c_file_type and fpos typedefs to...
4297 * config/c_io_libio.h: ...here.
4298 (_GLIBCPP_[BOOLALPHA, HEX, DEC, FIXED, INTERNAL, LEFT, OCT, RIGHT,
4299 SCIENTIFIC, SHOWBASE, SHOWPOINT, SHOWPOS, SKIPWS, UNITBUF,
4300 UPPERCASE, ADJUSTFIELD, BASEFIELD, FLOATFIELD, BADBIT, EOFBIT,
4301 FAILBIT, GOODBIT, APP, ATE, BINARY, IN, OUT, TRUNC): New macros to
4302 abstract out bits in ios_base.
4303 * bits/ios_base.h: Re-macrofy.
4304 * src/basic_file.cc : Rename, move to
4305 * config/c_io_libio.cc: Here.
4306 * config/c_io_libio.h: New file. Include libio.
4307 * bits/c++config.h: Don't define _GLIBCPP_USE_LIBIO.
4308 * configure.in (blddir): Add enabling bits for GLIBCPP_ENABLE_CSTDIO.
4309 * configure: Regenerate.
4310 * src/Makefile.am (sources): Take out basic_file.cc and add c++io.cc.
4311 (generated_headers): Add c++io.h
4312 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New function to select
4313 underlying "C" io library.
4314 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Roll functionality into
4315 GLIBCPP_ENABLE_CSTDIO.
4317 * configure.in: Add configure bits for cross compiling non-newlib
4319 GLIBCPP_CHECK_COMPILER_VERSION: Take out this test for this
4320 target, as we assume g++ support is not the limiting factor.
4321 GLIBCPP_CHECK_LIBIO: Same, know we don't need libio.
4322 * configure: Regenerate.
4324 2000-02-22 Benjamin Kosnik <bkoz@cygnus.com>
4326 * Makefile.am (INTERFACE): Define.
4327 * Makefile.in: Regenerate.
4328 * libio/ChangeLog: Add entry.
4330 2000-02-21 Benjamin Kosnik <bkoz@cygnus.com>
4332 * docs/install.html: Update install directions.
4334 * docs/status.html: Fix sidebar to be consistent.
4335 * docs/thanks.html: Same.
4336 * docs/links.html: Same.
4337 * docs/mail.html: Same.
4338 * docs/download.html: Same.
4340 * testsuite/27_io/filebuf.cc: Change BUFSIZ to buffer_size, and
4341 kill the macro BUFSIZ. I think the solaris fails lie elsewhere
4342 however, in the ctype_char_members.cc fail (for instance.)
4343 * testsuite/17_intro/headers.cc: Remove extraneous fails for hosts
4344 that do not have wchar_t enabled.
4345 * testsuite/27_io/ostream_inserter_arith.cc (struct _TestCase):
4347 * testsuite/27_io/iostream_objects.cc: And here.
4349 * libio/gen-params (CONFIG_NM): Specifically add in nm as the
4352 2000-02-18 Benjamin Kosnik <bkoz@haight.constant.com>
4353 Tom Tromey <tromey@cygnus.com>
4355 * configure.in: Manually add MULTISUBDIR.
4356 * configure: Regenerate.
4357 * src/Makefile.am (MULTISUBDIR): Add the lesser evil of Tom's two
4358 "Eww" hacks to get multilib installs working correctly.
4359 ($(headers): Test for MULTISUBDIR before installing.
4360 * Makefile.am (AM_MAKEFLAGS): Don't define MULTISUBDIR, instead
4361 have configure hack it in.
4362 * Makefile.in: Regenerate.
4363 * acinclude.m4 (GLIBCPP_CXXFLAGS): Tweak wording.
4364 Add enabling bits for native Cygwin ctypes, and other newlib-based
4367 2000-02-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4369 * mkc++config (OUT_H): Remove EOF in cygwin.
4370 * acinclude.m4 (LIBS): Tweaks to allow cygwin to configure.
4372 Tom Tromey <tromey@cygnus.com>
4373 * src/Makefile.am: Tweaks for installing multilibs.
4375 2000-02-17 Benjamin Kosnik <bkoz@cygnus.com>
4378 (toolexeclib_LTLIBRARIES): Use this instead of lib_LTLIBRARIES.
4379 Add USE_LIBDIR bits here, not...
4380 * src/Makefile.in: Regenerate.
4381 * Makefile.am: ...here.
4382 * Makefile.in: Regenerate.
4384 2000-02-17 Benjamin Kosnik <bkoz@gnu.org>
4386 * acinclude.m4 (LIBS): Fix typos.
4387 * configure.in: _GLIBCPP_BUGGY_FLOAT_COMPLEX,
4388 _GLIBCPP_BUGGY_COMPLEX for crosses.
4389 * src/Makefile.am (std_headers): Add libio.h as install include,
4391 * src/Makefile.in: Regenerate.
4393 * mkcheck.in: Add bits to set CXX to cross compiler.
4395 * src/complex_io.cc: Tweak.
4396 * configure.in: _GLIBCPP_BUGGY_COMPLEX for crosses.
4397 * configure: Regenerate.
4399 * config/newlib/ctype.cc: Tweaks.
4400 * config/newlib/bits/ctype_base.h (ctype_base): Set mask to char,
4402 * src/complex_io.cc (operator>>(istream, complex): Define out if
4405 2000-02-16 Benjamin Kosnik <bkoz@cygnus.com>
4407 * config/newlib/bits/ctype_base.h: Correct _S_table.
4409 Reconfigure ctype support for "C" libraries that don't use arrays.
4410 * testsuite/22_locale/ctype_char_members.cc: New file. Test for
4411 basic ctype<char> functionality.
4412 * src/locale.cc: Move host-specific ctype functions that are not
4413 inlines to config/*/ctype.cc files.
4414 (ctype<char>::do_tolower): For instance.
4415 (ctype<char>::do_toupper): For instance.
4416 (ctype<wchar_t>::do_tolower): For instance.
4417 (ctype<wchar_t>::do_toupper): For instance.
4418 * config/gnu-linux/ctype.cc: Modify.
4419 * config/default/ctype.cc: Modify.
4420 * config/newlib/ctype.cc: Modify.
4421 * config/solaris/solaris2.6/ctype.cc: Modify.
4422 * config/solaris/solaris2.7/ctype.cc: Modify.
4424 * bits/locale_facets.h (ctype<char>::is): Mark inline, move
4426 (ctype<char>::scan_is): Here too.
4427 (ctype<char>::scan_not): Here too.
4428 Move out of line defs to config/*/bits/ctype_specializations.h.
4429 * config/gnu-linux/bits/ctype_specializations.h: ...here. New file.
4430 * config/default/bits/ctype_specializations.h: ...here. New file.
4431 * config/newlib/bits/ctype_specializations.h: ...here. New file.
4432 * config/solaris/solaris2.6/bits/ctype_specializations.h: New file.
4433 * config/solaris/solaris2.7/bits/ctype_specializations.h: New file.
4434 * src/Makefile.am (headers): Add ctype_specializations.h.
4435 * src/Makefile.in: Regenerate.
4437 Aaron Weiss <weiss@clearway.com>
4438 * Makefile.am (AM_MAKEFLAGS): Add NM_FOR_BUILD, NM_FOR_TARGET, and
4439 CONFIG_NM for Solaris builds.
4440 * Makefile.in: Regenerate.
4442 * src/locale.cc: Tweak formatting.
4444 2000-02-15 Benjamin Kosnik <bkoz@cygnus.com>
4446 Jim Parsons <parsons@clearway.com>
4447 * testsuite/27_io/istream_unformatted.cc (test06): Add test.
4448 * bits/istream.tcc (read): Set failbit if !good(). Don't increment
4452 Michel Decima <michel.decima@cnet.francetelecom.fr>
4453 * testsuite/27_io/streambuf.cc: Add test.
4454 * bits/streambuf.tcc (xsgetn): Don't test for valid mode.
4457 * src/Makefile.am (AM_CXXFLAGS): Pass down AC_CXXFLAGS,
4458 OPTIMIZE_CXXFLAGS, etc. So --enable-debug and --enable-namespaces
4459 will work correctly, for instance.
4460 * src/Makefile.in: Regenerate.
4462 * bits/locale_facets.h: Fix merge error.
4463 (num_put::put(unsigned long long): And here.
4464 * mknumeric_limits (trait_name): Same.
4466 2000-02-15 Chip Salzenberg <chip@valinux.com>
4468 Support 'configure --enable-long-long'.
4469 * bits/c++config.h (_GLIBCPP_USE_LONG_LONG): Remove.
4470 * stl/bits/stl_config.h (__STL_LONG_LONG): Remove '#if 0'.
4471 * acconfig.h (_GLIBCPP_USE_LONG_LONG): Add. Default to undef.
4472 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Define flag macro.
4473 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Use it.
4475 * aclocal.m4: Regenerate.
4476 * config.h.in: Regenerate.
4477 * configure: Regenerate.
4479 2000-02-15 Chip Salzenberg <chip@valinux.com>
4481 Improve (complete?) 'long long' support.
4482 * mknumeric_limits: Call $CXX with $CPPFLAGS. Define statics
4483 for {,unsigned} long long if the limits header declares them.
4484 * src/gen-num-limits.cc: Include <bits/c++config.h> early.
4485 (__USE_GNU, _GNU_SOURCE): Define if _GLIBC_USE_LONG_LONG.
4486 (long long, unsigned long long): Gen limits if _GLIBC_USE_LONG_LONG.
4487 * bits/locale_facets.h (num_get<>::get(..., long long &)): Define.
4488 (num_put<>::put(..., long long)): Likewise.
4489 (num_put<>::put(..., unsigned long long)): Likewise.
4490 * bits/locale_facets.tcc (_S_format): Rename from _S_format_long.
4491 Templatize last parameter to support 'long long'.
4492 (num_put<>::put(...)): Call _S_format with new name.
4493 (num_put<>::put(..., long long)): Define.
4494 (num_put<>::put(..., unsigned long long)): Likewise.
4495 * src/locale-inst.cc (_S_format): Instantiate under new name.
4497 2000-02-15 Petter Urkedal <petter@matfys.lth.se>
4499 * src/complex.cc (operator<<, operator>>): Moved from here...
4500 * src/complex_io.cc: ...to new file.
4501 (operator>>): Stub replaced by the real thing.
4502 * src/Makefile.am (sources): Inserted complex_io.cc.
4503 * src/Makefile.in: Regenerate.
4504 * testsuite/26_numerics/complex_inserters_extractors.cc: Check it.
4506 2000-02-14 Benjamin Kosnik <bkoz@gnu.org>
4508 Add in ctype information for newlib "C" libraries.
4509 * config/newlib: New directory
4510 * config/newlib/bits/ctype_base.h: New file.
4511 * config/newlib/ctype.cc: New file.
4513 * ctype/config/linux/*: Rename, move to...
4514 * ctype/config/gnu-linux/*: Here.
4516 Finish off multilib work.
4517 * configure.in: Don't set CXX if not Canadian cross.
4518 * configure: Regenerate.
4519 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Tweak messages.
4520 * aclocal.m4: Regenerate.
4521 * config.h.in: Regenerate.
4523 * install-sh: Remove, as AC_CONFIG_AUX_DIR(..) picks this out of
4524 the top-level gcc directory now.
4525 * mkinstalldirs: Remove.
4528 * ltmain.sh: Remove.
4529 * config.guess: Remove.
4530 * config.sub: Remove.
4532 2000-02-13 Benjamin Kosnik <bkoz@cygnus.com>
4534 * configure.in (glibcpp_basedir): Add glibcpp_basedir.
4535 * Makefile.am: Move mutlilib stuff to src/Makefile.am.
4536 * Makefile.in: Regenerate.
4537 * src/Makefile.am: Add multilib bits.
4538 * src/Makefile.in: Regenerate.
4540 2000-02-12 Benjamin Kosnik <bkoz@cygnus.com>
4542 * configure.in: Clean, add some multilib support.
4543 * configure: Regenerate.
4544 * configure.host: New file.
4546 * acinclude.m4: GLIBCPP_CHECK_LIBIO. Take bits from configure.in and
4547 roll a new function, checks for presence of libio.
4548 GLIBCPP_CHECK_COMPILER_VERSION: Same.
4549 GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT: Same.
4550 GLIBCPP_CHECK_MATH_SUPPORT: Same.
4551 GLIBCPP_CHECK_WCHAR_T_SUPPORT: Same.
4552 GLIBCPP_CHECK_LIBIO: Same.
4553 GLIBCPP_CHECK_CTYPE: Same.
4554 * aclocal.m4: Regenerate.
4555 * config.h.in: Regenerate.
4557 * Makefile.am: Tweaks.
4558 * Makefile.in: Regenerate.
4560 2000-02-11 Benjamin Kosnik <bkoz@cygnus.com>
4562 * configure.in: Make outputing the libio/Makefile
4563 conditional. Haha, yeah right. Anyway, we instead do this thing
4564 where if libio is found, then we build a null library, as there is
4565 no point in duplicating the found libio.
4566 * Makefile.am: Tweak.
4567 * Makefile: Regenerate.
4568 * libio/Makefile.am: Add _G_config.h stuff. Now cross compilers
4569 are happy happy happy.
4570 * libio/Makefile.am: Regenerate.
4571 * libio/gen-params: New file.
4572 * src/Makefile.am: Make libio.la non-conditional, as it is now a
4573 null library if it's not needed. At least we are being consistent,
4574 if not as elegant as we could be.
4575 * src/Makefile: Regenerate.
4577 2000-02-10 Benjamin Kosnik <bkoz@gnu.org>
4579 * Makefile.am (SUBDIRS): Add libio again.
4580 * Makefile.in: Regenerate.
4581 * configure.in (BUILD_LIBIO_INCLUDE): And here.
4582 (AC_OUTPUT): Generate libio/Makefile again.
4583 * configure: Regnerate.
4584 * src/Makefile.am (libstdc___la_LIBADD): Change path so that
4585 libio.la is referring back to the libio subdir again.
4586 (LIBIO_INCLUDES): And here.
4587 * src/Makefile.in: Regenerate.
4589 2000-02-09 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4591 * math/complex-stub.h: Missed one. Change __mycabs* to cabs*.
4593 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4595 * bits/valarray_array.h (<bits/std_new.h>): #include.
4596 (__valarray_get_memory): New function.
4597 (__valarray_release_memory): Likewise.
4598 (__valarray_default_construct): New functions.
4599 (__valarray_fill_construct): New function.
4600 (__valarray_copy_construct): New funstions.
4601 (__valarray_destroy_elements): New function.
4603 * bits/valarray_array.tcc (__valarray_copy_construct): New
4606 * bits/std_valarray.h (valarray<>::valarray): Use
4607 __valarray_get_memory and __valarray_fill_construct,
4608 __valarray_copy_construct, __valarray_default_construct to
4609 properly construct valarrays.
4610 (valarray<>::~valarray): Use __valarray_destroy_elements to
4611 destroy elements and __valarray_release_memory to return memory.
4612 (valarray<>::shift): Tweak.
4613 (valarray<>::cshift): Likewise.
4614 (valarray<>::resize): Robustify.
4616 2000-02-09 Benjamin Kosnik <bkoz@cygnus.com>
4618 * mknumeric_limits (XCOMPILE): Add support for cross compiling.
4619 * bits/limits_generic.h: New file, defaults.
4620 * src/limits_generic.cc: New file, defaults.
4621 * configure.in (LIBS): Run mknumeric_limits at configure time.
4622 * acconfig.h: Remove PACKAGE VERSION HAVE_COMPLEX
4623 HAVE_LC_MESSAGES, tidy, clean, etc.
4624 * src/Makefile.am (geberated_sources): Remove.
4626 * bits/fpos.h: Use _GLIBCPP_USE_LIBIO guards for libio typenames
4627 (_IO_off_t, _IO_ssize_t)
4629 * src/complex.cc: Use glibc's <complex.h> if
4630 possible. . . apparently this was not being done before. Include
4632 (abs): Enable cabs if it's around, instead of mycabs.
4633 * src/complexf.cc (FCT): Add global scope to match complex.cc.
4634 * src/complexl.cc (FCT): Same.
4635 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Change mycabsl to cabsl.
4636 (libmath_la_SOURCES): And here.
4637 * math/(mycabs.c, mycabsf.c, mycabsl.c): Move to. . .
4638 * math/(cabs.c, cabsf.c, cabsl.c): . . . Here.
4639 * math/complex-stub.h: Move c_log declarations into. . .
4640 * math/mathconf.h: Here. This is because glibc's <complex.h>
4641 declares cclog, not c_log. The case of the dueling standards. . .
4642 * math/mathconf.h: Add _GLIBCPP_HAVE_* to macros.
4643 * math/Makefile.am: Change.
4644 * math/nan.c (nan): Change signature.
4645 * math/mathconf.h (NAN): Same.
4646 * math/complex-stub.h (nan): And here.
4648 * Makefile.am (rebuild-stamp): Remove libio and libio
4649 dependancies. Plan to take out libio subdir and just merge with
4650 libio in top level gcc directory. Of course, this assumes there is
4651 a libio in the top level directory (ie ../src_dir). This will
4652 probably change the way this library is configured by default.
4655 2000-02-09 Chip Salzenberg <chip@valinux.com>
4657 * localefwd.h (locale): Make public: facet, id, category.
4659 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4661 * testsuite/26_numerics/buggy_complex.cc: Fix Origin:.
4663 * acinclude.m4: Patch only once!
4665 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4667 * testsuite/26_numerics/buggy_complex.cc: New file.
4669 2000-02-05 Petter Urkedal <petter@matfys.lth.se>
4671 * acinclude.m4: New GLIBCPP_CHECK_COMPLEX_SUPPORT macro. Based
4672 on the 1999-11-21 entries by Mumit Khan.
4673 * configure.in: Use.
4674 * acconfig.h: New _GLIBCPP_BUGGY_COMPLEX macro.
4675 * bits/std_complex.h: Use.
4677 2000-02-04 Philip Martin <pm@corris.dircon.co.uk>
4679 * stl/bits/stl_algobase.h: Add traits based dispatch for
4680 __normal_iterator in the copy_backward()algorithm
4681 * stl/bits/stl_vector.h: Reduce use of __normal_iterator
4684 2000-02-04 Mumit Khan <khan@xraylith.wisc.edu>
4686 * src/gen-num-limits.cc (signal_handler): Work around signal
4687 handling problem on Cygwin.
4688 Thanks to Chris Faylor <cgf@cygnus.com>.
4690 2000-02-03 Benjamin Kosnik <bkoz@cygnus.com>
4692 * configure.in: Add (preliminary) support for cross compiles and
4694 Remove AC_C_BIGENDIAN tests. Why is this necessary? Cross
4695 compilation freaks on this.
4696 * configure: Regenerate.
4697 * src/Makefile.am: Add support for cross compiles.
4698 * src/Makefile: Regenerate.
4699 * Makefile.am: Add support for cross compiles.
4700 * Makefile.in: Regenerate.
4702 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
4704 * configure.in (LIBS): Remove unused subdirs.
4705 * configure: Regenerate.
4706 * Makefile.am (SUBDIRS): And here.
4707 * Makefile.in: Regenerate.
4708 * src/Makefile.am (sources): And here.
4709 * src/Makefile.in: Regenerate.
4712 * generic/*: Remove.
4714 * mkcheck.in (INC_PATH): Include $BUILD_DIR before any source dirs.
4716 * libtool: Update to libtool-1.3.4.
4720 * config.guess: Same.
4722 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
4723 Alexandre Petit-Bianco <apbianco@cygnus.com>
4725 * mkc++config: New file. Put autoconf macros into _GLIBCPP_
4726 namespace instead of polluting global namespace with duplicate
4728 * configure.in (AC_OUTPUT): Don't need to generate bits/config.h
4730 (AC_OUTPUT_COMMANDS): Make it here.
4731 * configure: Regenerate.
4732 * bits/c++config.h.in (_CPP_CPPCONFIG): Change. Tweak. Remove
4733 endif, as now we will add it manually.
4734 Move to this file. . .
4735 * bits/c++config.h: New file. Same as old c++config.h.in except
4736 the ending macro guard is now appended manually.
4738 * bits/locale_facets.tcc: Change HAVE_* macros to _GLIBCPP_HAVE_*.
4739 * bits/std_cmath.h: Same here.
4740 * bits/std_cwchar.h: And here.
4741 * src/locale.cc: And here.
4742 * src/complexl.cc: And here.
4743 * math/mathconf.h: Change to include "config.h" instead of
4746 2000-02-01 Benjamin Kosnik <bkoz@gnu.org>
4748 * configure.in: Add support for threads. Try a model closer to
4749 libjava, as hopefully if the thread bits are added carefully
4750 enough, the source code will not have gross hacks. Besides, the
4751 libstdc++-v2 model could be easily emulated without the necessity
4752 of linking files in (as currently done)--all that needs to be done
4753 is AC_DEFINE(-D_PTHREADS) etc. However, let's try something
4754 new. . . and see if we arrive at a more elegant solution.
4755 * configure: Regenerated.
4756 * config/threads-no.h: New file.
4757 * config/threads-posix.h: New file.
4758 * src/Makefile.am (myinstallheaders): Install c++threads.h.
4759 * src/Makefile.in: Regenerated.
4761 2000-01-31 Benjamin Kosnik <bkoz@gnu.org>
4763 META-QUESTION: Can we just make a "header.html" file and a
4764 "footer.html" and just include them in all the doc sub-pages. The
4765 duplication of the header info is kind of gross, and weak
4766 considering that if you change order or layout then all this stuff
4767 has to be changed in all the sub-files.
4769 * docs/17_intro/contribute.html: Take out duplicate file info.
4770 * README: Should just contain a link to the docs/index.html
4771 page. Duplicate information removed.
4772 * docs/faq/index.html: Remove indexes into HOWTOS.
4773 * docs/17_intro/howto.html: Make intro and docs part more
4774 centralized. Move intro stuff to documentation.html.
4775 * docs/how.html: Tweak. Does this file need to exist? What calls it?
4776 * docs/README.html: Move documentation files to
4777 documentation.html. Should this file be renamed
4778 "config_and_install.html" as that is what is apparently covered
4780 * docs/install.html: Yes. New file, moved and renamed README.html.
4781 * docs/documentation.html: New file. This is the index file for
4783 * docs/index.html: Edit sidebar order. Insert new link to new
4784 documentation spine, documentation.html.
4786 2000-01-31 Scott Snyder <snyder@fnal.gov>
4788 * bits/istream.tcc (operator>>(istream&, string&)): Set failbit if
4789 we don't extract any characters.
4790 * testsuite/21_strings/inserters_extractors.cc (main): New tests.
4792 2000-01-31 Anders Widell <awl@hem.passagen.se>
4794 * stl/bits/std_bitset.h (_M_do_left_shift): Handle case when shift
4795 step is a multiple of the word size.
4796 (_M_do_right_shift): Same.
4797 * testsuite/23_containers/bitset_shift.cc: New file.
4799 2000-01-31 Nathan Myers <ncm@zembu.com>
4801 * README (Documentation): Add path info, fix typos.
4803 2000-01-26 Benjamin Kosnik <bkoz@redhat.com>
4805 * bits/locale_facets.tcc (num_get::_M_extract): Add the freaking
4806 crazy group checking for numpunct, for real this time. At some
4807 point, the local variable __grp should probably get replaced a
4808 char array, or something a bit more lightweight.
4809 (num_get::do_get(bool)): Simplify. Don't set bool reference to
4810 parsed value unless err isn't failbit.
4811 (num_get::do_get(*)): Same, make consistent.
4813 Nathan Myers <ncm@zembu.com>
4814 Jim Parsons <parsons@clearway.com>
4815 * testsuite/27_io/istream_extractor_arith.cc (test08): Add
4816 more grouping tests, tweak, scold, wine.
4818 2000-01-24 Benjamin Kosnik <bkoz@gnu.org>
4820 * testsuite/27_io/istream_extractor_arith.cc (test07): Add
4822 * bits/locale_facets.tcc (num_get::_M_extract): Change to fix
4823 grouping bugs. Only allow thousands_sep if _M_use_groupings is
4826 via <llewelly@198.dsl.xmission.com>
4827 * stl/bits/stl_vector.h (vector::_M_range_check): Throw
4828 out_of_range instead of range_error.
4830 2000-01-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4832 * bits/std_iomanip.h (setw): Fix typo.
4834 2000-01-14 Benjamin Kosnik <bkoz@gnu.org>
4836 * testsuite/27_io/istream_extractor_arith.cc: Fix.
4837 * bits/locale_facets.tcc (do_get(...void)): Change to strtoul.
4838 * testsuite/27_io/istream_unformatted.cc (test04): Tweak.
4840 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
4842 * docs/README.html: Reformat, more installation instructions.
4843 * docs/gccrebuild.html: New file.
4844 * docs/faq/index.html: Update for new testsuite output filenames.
4845 * docs/faq/index.txt: Regenerate.
4847 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
4849 * Makefile.am (rebuild-stamp, all-local): New targets.
4850 * Makefile.in: Regenerated.
4851 * acinclude.m4: New macro, GLIBCPP_ENABLE_RELIBGCC.
4852 * aclocal.m4: Regenerated.
4853 * configure.in: Call new macro. Also do some sanity checks
4854 for combinations of --enable's that may not make sense.
4855 * configure: Regenerated.
4857 2000-01-13 Benjamin Kosnik <bkoz@cygnus.com>
4859 * testsuite/27_io/istream_extractor_arith.cc: Add checks for void*.
4860 * bits/locale_facets.tcc (do_get::(...void)): Set fmtflags
4861 correctly for hex-formatted input.
4863 * testsuite/27_io/istream_manip.cc (test01): Fix, as per setting
4864 eofbit instead of eofbit | failbit.
4865 * testsuite/27_io/istream_unformatted.cc (test04): Fix, as
4866 ifstreams now are opened or'd with ios_base::in (as is correct).
4867 * bits/fstream.tcc (filebuf::seekoff): Simplify.
4868 * testsuite/27_io/ios_base_members_static.cc (test01): Fix thinko.
4870 2000-01-12 Benjamin Kosnik <bkoz@gnu.org>
4872 * bits/std_fstream.h: Add ios_base as a friend to basic_filebuf.
4873 * bits/basic_file.h (basic_file::filepos_cur): Remove incorrect
4875 (__basic_file::filepos_valid): Same.
4876 (__basic_file::filepos_beg): Same.
4877 (__baseic_file::get_fileno): New function.
4878 * bits/ios_base.h (ios_base::sync_with_stdio): Implement, including
4879 feedback from LWG 49.
4880 * src/ios.cc: Move definition here.
4881 * testsuite/27_io/ios_base_members_static.cc (test01): Add tests.
4883 * bits/std_sstream.h (_M_really_sync): Simplify argument list. Set
4884 output part of internal buffer based on string size, so that
4885 _M_out_end is set consistently with filebufs. Correct comments.
4886 * bits/sstream.tcc (stringbuf::overflow): Update here too.
4887 * testsuite/27_io/stringbuf.cc: Changes.
4889 2000-01-11 Benjamin Kosnik <bkoz@gnu.org>
4891 * bits/sstream.tcc (seekoff): Set based on end of written buffer,
4893 * testsuite/27_io/stringbuf.cc: Add tests for seekoff(end).
4895 * bits/std_fstream.h (ifstream::open): Add ios_base::in to openmode.
4896 (ofstream::open): Add ios_base::out to openmode.
4898 * bits/locale_facets.tcc (_M_extract): Have consistency between
4899 istream::sentry and extractors, where failbit | eofbit is
4900 set. Don't change this, but instead change. . (do some formatting
4902 * bits/istream.tcc (istream::sentry): Only set eofbit.
4904 2000-01-10 Benjamin Kosnik <bkoz@gnu.org>
4906 * testsuite/27_io/istringstream_members.cc: New file.
4908 2000-01-09 Benjamin Kosnik <bkoz@gnu.org>
4910 * bits/istream.tcc (istream::sentry): Flush.
4912 * configure.in (AC_OUTPUT_COMMANDS): Simplify.
4913 * configure: Regenerate.
4914 * src/Makefile.am (generated_headers): Remove bits/c++config.h so
4915 that make clean will not delete it.
4916 * src/Makefile: Regenerate.
4918 2000-01-07 Phil Edwards <pme@sourceware.cygnus.com>
4920 * mkcheck.in: Use host-specific invocation of size(1);
4921 GNU binutils isn't necessarily there (more's the pity).
4923 2000-01-06 Benjamin Kosnik <bkoz@cygnus.com>
4925 * configure.in (LIBS): Better tests for solaris2.6.
4926 * configure: Regenerate.
4928 <vakatov@ncbi.nlm.nih.gov>
4929 * bits/std_sstream.h: As per libstdc++20.
4931 2000-01-06 Benjamin Kosnik <bkoz@gnu.org>
4933 Break out configuration on solaris.
4934 * configure.in (ctype_solaris): Add in bits for solaris2.6 and 2.7.
4935 * config/solaris/ctype.cc: Delete and move to proper version.
4936 * config/solaris/bits: Same.
4937 * config/solaris/solaris2.5: Add this directory, with subdir bits
4938 and file ctype.cc. Probably doesn't work.
4939 * config/solaris/solaris2.6: Same.
4940 * config/solaris/solaris2.7: Same, as per specs via Phil Edwards.
4942 * Makefile.am: Change paths to mkcheck.
4943 * Makefile: Regenerate.
4944 * configure.in (AC_OUTPUT_COMMANDS): Build mkcheck here.
4945 * configure: Regenerate.
4946 * src/Makefile.am (generated_headers): Add bits/c++config.h.
4948 * mkcheck: Now autogenerated by configure and renamed. . .
4949 * mkcheck.in (INC_PATH): Add glue for ctype_include_dir.
4950 Have longer-style dates.
4951 Raja R Harinath <harinath@cs.umn.edu>
4952 * mkcheck: Change path to #!/usr/clocal/bin/bash.
4954 * docs/README.html: Correct links, maybe. FAQ, install notes, and
4955 general documentation need to be organized around each other, not
4956 fight against each other. . .
4958 2000-01-04 Phil Edwards <pme@sourceware.cygnus.com>
4959 Nicolai Josuttis <nicolai.josuttis@braunschweig.netsurf.de>
4961 * README: Add a note referring to README.html.
4962 * docs/README.html: New file from Nicolai.
4963 * docs/faq/index.html: Move "how to get a copy" to here.
4964 * docs/gentop/footchunk.html: Update.
4965 * docs/gentop/headchunk.html: New links according to
4966 bkoz's idea for "How to..." stuff.
4967 * docs/gentop/thanks: Actually put people here.
4968 * docs/download.html: Regenerated.
4969 * docs/index.html, docs/links.html, docs/mail.html,
4970 docs/status.html, docs/thanks.html, docs/faq/index.txt: Ditto.
4971 * docs/how.html: Ditto. (This file should go away soon.)
4973 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
4975 * docs/gentop/status: Add snapshot version column, update
4977 * docs/status.html: Regenerated.
4979 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
4981 * docs/faq/index.html: Turn README and RELEASE-NOTES into links
4982 from installation FAQ, and specify location of text files.
4983 * docs/faq/index.txt: Regenerated.
4985 1999-12-23 Phil Edwards <pme@sourceware.cygnus.com>
4987 * docs/gentop/download: Add links to prebuilds for Cygwin/Mingw32.
4988 * docs/download.html: Regenerated.
4990 1999-12-22 Phil Edwards <pme@sourceware.cygnus.com>
4992 * docs/faq/index.html: Update 'what works' for .7 snapshot,
4993 clean up various links.
4994 * docs/faq/index.txt: Regenerated.
4995 * docs/gentop/gentop: Smarter regeneration script.
4996 * docs/gentop/{head,foot}chunk.html: Updated with new
4997 contributors link and mod date.
4998 * docs/gentop/index: Snapshot relase date.
4999 * docs/gentop/thanks: New contributors page added.
5000 * docs/{download,how,index,links,mail,status,thanks}.html:
5001 Regenerated from gentop; thanks.html created.
5003 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5005 * bits/c++config.h.in (__GLIBCPP__): 19991221.
5006 * docs/index.html: Add correct information.
5008 * config/irix: New directory.
5009 * config/irix/ctype.cc: Add irix-6.5 info. Not tested.
5010 * config/irix/bits/ctype_base.h: And here.
5012 * config/aix: New directory.
5013 * config/aix/ctype.cc: Add aix-4.2 info. Not tested.
5014 * config/aix/bits/ctype_base.h: And here.
5016 1999-12-21 Philip Martin <pm@corris.dircon.co.uk>
5018 * bits/basic_string.h: Add special case handling for integral
5020 * bits/std_string.h: include type_traits.h
5021 * testsuite/21_strings/ctor_copy_dtor.cc: Tweak.
5023 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5025 * bits/fstream.tcc (seekoff): Output buffer based on _M_*_in and
5027 * bits/std_fstream.h (sync): And here.
5028 * testsuite/27_io/filebuf.cc: Revisions.
5029 * testsuite/27_io/filebuf-2.tst: Correct, remove weird character
5030 at the end of the file.
5031 * testsuite/27_io/filebuf-3.tst: Correct.
5033 1999-12-21 Phil Edwards <pedwards@jaj.com>
5035 * docs/gentop/index: Hold off on .7 announcement date.
5036 * docs/index.html: Regenerate.
5038 1999-12-21 Benjamin Kosnik <bkoz@kcygnus.com>
5040 * bits/std_fstream.h (sync): Move _M_file->sync() to
5041 _M_really_overflow().
5042 * bits/fstream.tcc (seekoff): Call sync, not _M_really_overflow so
5043 as to get the _M_file->sync action, which forces the external
5044 buffer to update itself.
5045 (underflow): Same here.
5047 1999-12-21 Phil Edwards <pedwards@jaj.com>
5049 * bits/c++config.h.in: Uncomment _GLIBCPP_USE_NAMESPACES and move...
5050 * acconfig.h: ...to here.
5051 * config.h.in: Regenerate from aclocal.
5052 * acinclude.m4: Add GLIBCPP_ENABLE_DEBUG, GLIBCPP_ENABLE_NAMESPACES.
5053 * aclocal.m4: Regenerate from acinclude.
5054 * configure.in: Use ENABLE macros here.
5055 * configure: Regenerate.
5056 * src/Makefile.am: Use results from ENABLE macros.
5057 * src/Makefile.in: Regenerate.
5059 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
5061 * mkcheck (SRC_DIR): Now have to include config/* dir if "make
5062 check" and not "make check-install." Temporarily hack in linux
5065 * bits/std_streambuf.h: Tweaks.
5066 * bits/streambuf.tcc (xsgetn): Tweaks.
5067 * bits/std_fstream.h (sync): Make _M_really_overflow consistent.
5068 * bits/fstream.tcc (filebuf::underflow): Simplify.
5069 * bits/std_sstream.h (streambuf::underflow): Minor change to make
5070 checks for read position precisely implement the standard.
5071 * bits/basic_file.h (filepos_cur): Base this on _offset.
5072 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
5073 * testsuite/27_io/filebuf.cc: Tweak.
5075 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
5077 * docs/17_intro/RELEASE-NOTES: Fix typos.
5079 * bits/locale_facets.h (ctype): Modify, use __to_type to abstract
5080 out platform-specific bits.
5081 * config/default/ctype.cc: And here.
5082 * config/defaults/bits/ctype_base.h: And here.
5083 * config/linux/ctype.cc: And here.
5084 * config/linux/bits/ctype_base.h (ctype_base): And here.
5085 * config/solaris/bits/ctype_base.h (ctype_base): Add
5086 __to_type. Comment, as it looks like this is for solaris2.6 and
5087 above: solaris2.5.1 doesn't seem to have the same definitions.
5088 * config/solaris/ctype.cc: And here.
5090 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
5091 Ulrich Drepper <drepper@cygnus.com>
5093 * acconfig.h: Remove _GLIBCPP_USE_CTYPE_ISBIT.
5095 * src/locale.cc: Take out platform-specific hacks.
5096 * config/linux/ctype.cc: Put here.
5097 * config/solaris/ctype.cc: Put here.
5098 * config/default/ctype.cc: Put here.
5100 * bits/locale_facets.h: Take out platform-specific hacks.
5101 * config/linux/bits/ctype_base.h: Put here.
5102 * config/solaris/bits/ctype_base.h: Put here.
5103 * config/default/bits/ctype_base.h: Put here.
5105 * configure.in: Bump version.
5106 Add tests for top-level config directory.
5107 * configure: Regenerated.
5108 * src/Makefile.am (INCLUDES): Add platform-specific dir.
5109 * src/Makefile: Regenerate.
5111 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
5112 Ulrich Drepper <drepper@cygnus.com>
5114 * bits/locale_facets.h: Hack in solaris support.
5115 * src/locale.cc: Here too.
5117 1999-12-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5119 * docs/17_intro/TODO: Update
5120 * docs/17_intro/RELEASE-NOTES (New): Update.
5122 1999-12-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
5124 * bits/c++config.h.in (__GLIBCPP__): Bump.
5125 * docs/17_intro/RELEASE-NOTES: Update, Gaby please add your stuff.
5126 * docs/17_intro/TODO: Update.
5128 * bits/locale_facets.h: Touch this too.
5129 * bits/localefwd.h: Add typedefs for loooooong vector names.
5130 * bits/locale_facets.tcc (locale::operator()): Need parens.
5131 (has_facet): Simplify.
5132 * src/locale-inst.cc: Add instantiations.
5133 * src/locale.cc: Tweaks.
5135 * bits/std_streambuf.h: Move indeterminates into. .
5136 * bits/std_fstream.h: Here.
5137 * bits/fstream.tcc (underflow): Rewind just for ios_base::out
5139 * bits/sstream.tcc: Very minor formatting tweaks.
5140 * bits/std_streambuf.h (_M_set_determinate): If exclusively an
5141 input buffer, set _M_buf to offset.
5142 * bits/istream.tcc (std): Tweaks.
5143 * testsuite/27_io/istream_unformatted.cc (test05): More tweaks,
5145 * testsuite/27_io/filebuf.cc: Tweaks.
5147 1999-12-17 Phil Edwards <pedwards@jaj.com>
5149 * configure.in: Add OPTLEVEL, -O2 for gcc 2.96+, nothing otherwise.
5150 * configure: Regenerate.
5151 * src/Makefile.am: Use OPTLEVEL in CXXFLAGS.
5152 * src/Makefile.in: Regenerate. Also picks up OTHER_CXXFLAGS rename
5153 to OPTIMIZE_CXXFLAGS from a previous revision (1.96) to Makefile.am.
5155 1999-12-17 Phil Edwards <pedwards@jaj.com>
5157 * docs/21_strings/stringtok_std_h.txt: New algorithm
5158 suggested by Chris King.
5159 * docs/21_strings/howto.html: Link to new version.
5161 1999-12-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5163 * bits/valarray_array.h (__valarray_sum): Use operator+=, not
5165 * docs/17_intro/TODO: Update.
5167 1999-12-15 Phil Edwards <pme@sourceware.cygnus.com>
5169 * docs/gentop/footchunk.html: Updated, fixed CRLFs.
5170 * docs/gentop/gentop: Ditto.
5171 * docs/gentop/headchunk.html: Ditto.
5172 * docs/*.html: Regenerated from gentop.
5173 * docs/*/howto.html: Updated as test.
5174 * docs/faq/index.html: Updated, fixed CRLFs.
5175 * docs/faq/index.txt: Regenerated.
5177 1999-12-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5179 * mknumeric_limits (OUT_C): restart only if $OUT_C is present.
5181 * bits/std_complex.h
5182 (complex<float>::complex(const complex<double>&),
5183 complex<float>::complex(const complex<long double>&)): Define.
5185 * docs/17_intro/TODO: Update.
5187 1999-12-13 Benjamin Kosnik <bkoz@cygnus.com>
5189 * bits/istream.tcc (seekg): Don't set _M_gcount.
5191 * bits/fstream.tcc (filebuf::underflow): Re-sync
5192 external byte sequence's input buffer only. . .
5193 * testsuite/27_io/istream_unformatted.cc (test04): New tests for
5194 tellg, seekg and filebufs.
5195 (test05): Same for stringbufs.
5196 * testsuite/27_io/istream_unformatted-2.tst: New file.
5197 * testsuite/27_io/istream_unformatted-1.tst: New file.
5198 * testsuite/27_io/istream_unformatted-1.txt: New file.
5199 * testsuite/21_strings/inserters_extractors.cc (test05): Change
5202 1999-12-13 Phil Edwards <pedwards@jaj.com>
5204 * docs/gentop/*: New directory, containing bits for the homepages.
5205 * docs/*.html: Regenerated from gentop.
5206 * docs/*/*.html: Entries added and regenerated.
5208 1999-12-13 Benjamin Kosnik <bkoz@gnu.org>
5210 Efforts to get -O2 to work with -Winline -Werrors.
5211 * bits/valarray_array.h (__valarray_fill(_Tp*, size_t, const
5212 _Tp&): Remove inline declaration, as cannot be inlined and
5213 -Winline -Werror complains. An interesting question is why this
5214 cannot be inlined, as I can see no real reason to disqualify it.
5215 (__valarray_product(const _Tp*, const _Tp*)): Same here.
5216 * bits/std_valarray.h (valarray::operator[](size_t)): Same here.
5218 * docs/17_intro/TODO: Update.
5220 1999-12-12 Benjamin Kosnik <bkoz@gnu.org>
5222 * bits/std_fstream.h (seekpos): Tweaks, fixes. Move definition to
5224 * bits/basic_file.h (filepos_cur()): Make pointers themselves be
5225 the resultant position.
5226 * bits/fstream.tcc (seekoff): Explicitly set return value to
5227 resultant external byte sequence position, not value returned from
5228 _M_file->seekoff. Need to make
5229 (seekpos): New definition.
5231 * bits/istream.tcc (seekg): As per Library Issues List 136, set to
5232 just istream. Necessary, or else tellg will give an invalid stream
5233 position, but seekg will return a valid stream position, which is
5234 not groovy: see testcase addition.
5235 * bits/ostream.tcc (seekp): Same.
5237 * bits/streambuf.tcc (_S_copy_streambufs): Simplify.
5238 * bits/sstream.tcc: Tweaks.
5239 * bits/locale_facets.tcc: Tweaks.
5240 (num_put::do_put(iter_type, ios_base, char_type, const void*)):
5241 Re-write in a way that is easier for the inliner to work with.
5242 * bits/ios_base.h: Use explicit static_cast<int>(...) notation.
5244 1999-12-10 Benjamin Kosnik <bkoz@cygnus.com>
5246 * bits/locale_facets.tcc: Tweaks.
5247 * bits/locale_facets.h (use_facet): Can't inline, remove inline
5249 * bits/localefwd.h: And here.
5250 * bits/std_ostream.h: Tweaks, sentry ctor can't be inlined.
5251 * bits/ostream.tcc: Put here.
5253 Frank Ch. Eigler <fche@cygnus.com>
5254 * src/Makefile.am: Adjust CXXFLAGS, add AM_CXXFLAGS.
5256 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
5258 * bits/sstream.tcc (stringbuf::seekoff): Long overdue revamp. Make
5259 in and out buffers update independantly.
5261 * bits/basic_ios.h: Minor formatting.
5262 * bits/fstream.tcc (std): Fix indentation.
5264 1999-12-08 Chip Salzenberg <chip@valinux.com>
5266 * bits/char_traits.h (char_traits<>): Move not_eof() functions
5267 after corresponding eof() functions, so they're easier for the
5269 * bits/locale_facets.h (money_base::__default_pattern): Move
5270 static variable out of inline functions.
5271 (_Moneypunct<>::do_{pos,neg}_format): Use it.
5272 * src/locale-inst.cc (money_base::__default_pattern): Define it.
5274 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
5276 * bits/std_fstream.h (filebuf::open): Tweak.
5277 * bits/fstream.tcc (filebuf::seekoff): Simplify, fix.
5278 * bits/std_ios.h: Minor tweaks for headers.
5280 1999-12-06 Benjamin Kosnik <bkoz@gnu.org>
5282 * bits/c++config.h.in (_GLIBCPP_FULLY_COMPLIANT_HEADERS): New macro.
5283 * src/string-inst.cc: Add guards . . .
5284 * src/misc-inst.cc: And here.
5285 * bits/std_sstream.h: And here.
5286 * bits/std_fstream.h: And here.
5287 * bits/std_streambuf.h: And here.
5288 * bits/std_istream.h: And here.
5289 * bits/std_ostream.h: And here.
5291 1999-12-06 Scott Snyder <snyder@fnal.gov>
5293 * bits/istream.tcc (basic_istream::read): Try to handle __n == 0
5295 (basic_istream::readsome): And here as well.
5296 * testsuite/27_io/istream_unformatted.cc: Test a zero-length
5299 1999-12-06 Mumit Khan <khan@xraylith.wisc.edu>
5301 * bits/istream.tcc (basic_istream::ignore): streamsize is not
5302 necessarily an `int'.
5304 1999-12-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5306 * mknumeric_limits: Don't use $CXXFLAGS when building
5307 gen-num-limits. It's definitely wrong to use it since $CXXFLAGS
5308 generally instructs the compiler not to emit template
5309 instantiations and we end up with undefined symbols. Sigh.
5311 1999-12-05 Benjamin Kosnik <bkoz@gnu.org>
5313 * bits/locale_facets.tcc: Tweak.
5314 (_S_format_long): Adjust showpos formatting for hex and oct.
5315 * bits/std_ostream.h (operator<<(short)): Correctly deal with hex
5316 and oct by formatting as unsigned.
5317 (operator<<(int)): Same here.
5318 * bits/ostream.tcc (operator<<(long)): Same.
5319 (operator<<(long long)): Same.
5320 (_S_pad_char): Actually treat ios_base::internal as something
5321 worth doing correctly. Remove const designation on ios argument.
5322 * testsuite/27_io/ios_manip_basefield.cc (test02): Add tests.
5323 * testsuite/27_io/ostream_inserter_arith.cc (test03): Add tests.
5325 1999-12-04 Benjamin Kosnik <bkoz@gnu.org>
5327 * bits/std_sstream.h (streambuf::underflow): Check for mode == in.
5329 1999-12-03 Benjamin Kosnik <bkoz@gnu.org>
5331 * bits/locale_facets.tcc (num_put::do_put(bool): Fix.
5333 * bits/sstream.tcc (streambuf::seekoff): Add parens.
5334 * bits/istream.tcc (istream::get(sb)): Handle exceptional events.
5335 (operator>>(istream, _CharT*)): Change streamsize to int_type.
5336 (operator>>(istream, _CharT&)): Fix typedef'd type to be _CharT.
5337 * bits/ostream.tcc (ostream::operator<<(const char*)): Stub out
5339 (ostream::operator<<(_CharT)): Fix.
5341 * bits/std_sstream.h: Temporarily disable including sstream.tcc to
5342 see if this will increase compile speed.
5343 * bits/std_ostream.h: Likewise. . .
5344 * bits/std_istream.h: And here.
5345 * bits/std_fstream.h: And here.
5346 * src/misc-inst.cc: Add relevant header file includes for
5347 instantiation purposes.
5348 * src/string-inst.cc: And here.
5349 * testsuite/27_io/ostream_inserter_arith.cc: Add test case.
5351 1999-12-02 Benjamin Kosnik <bkoz@gnu.org>
5353 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5354 * bits/istream.tcc (get(streambuf)): More fixes.
5355 (istream::ignore): Get specific about numeric_limits<int>::max()
5358 * bits/fstream.tcc (filebuf::open): Tweaks for _M_last_overflowed.
5359 (filebuf::close): Same.
5360 * testsuite/27_io/filebuf.cc: Add tests for ios_base::ate.
5362 1999-12-01 Phil Edwards <pedwards@jaj.com>
5364 * mkcheck: Support for compilation/execution timing.
5365 * testsuite/printnow.c: New file.
5367 1999-12-01 Phil Edwards <pedwards@jaj.com>
5369 * bits/std_cwchar.h: Test for _GLIBCPP_USE_WCHAR_T.
5370 * configure.in: Test for presence of wchar.h before testing
5371 for any of its features.
5372 * configure: Regenerate.
5374 1999-11-30 Benjamin Kosnik <bkoz@gnu.org>
5376 Preliminary istream validations complete.
5377 * bits/istream.tcc (istream::getline): Fixes. Tweaks to make
5378 formatting more consistent. Removal of if-statements inside of for
5383 * bits/std_istream.h: Same.
5384 * bits/sstream.tcc (stringbuf::pbackfail): Fix.
5385 * testsuite/27_io/stringbuf.cc: Tweak.
5386 * testsuite/27_io/istream_unformatted.cc (test02): Mo' tests.
5388 * bits/ostream.tcc (ostream::operator<<(arith)): Set badbit, not
5389 failbit on failure, as per 27.6.2.5.2.
5391 * stl/bits/std_vector.h: Allow bool specializations. Should move
5392 ext/std_bvector to bits, not ext, maybe.
5394 1999-11-30 Mumit Khan <khan@xraylith.wisc.edu>
5396 * configure.in: Fix checks for mbstate_t and WCHAR_MIN/MAX.
5397 * configure: Regenerate.
5399 999-11-29 Benjamin Kosnik <bkoz@gnu.org>
5401 * bits/istream.tcc (get(streambuf, char)): Fix.
5402 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5404 1999-11-29 Scott Snyder <snyder@fnal.gov>
5406 * bits/basic_string.h (append(const _Char*, size_type)): The
5407 length of the appended string is given exactly by the second arg,
5408 regardless of the data in the character array.
5409 * bits/string.tcc (basic_string(const _CharT*, size_type, const
5410 _Alloc&)): Likewise.
5411 * testsuite/21_strings/append.cc (test01): Remove erroneous test
5412 of basic_string::append.
5414 1999-11-29 Chip Salzenberg <chip@valinux.com>
5416 * Makefile.in: Tweaks for CXXFLAGS.
5417 * */Makefile.in: Same.
5419 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
5421 * conficd bgure.in: Check for wide character support.
5422 * bits/c++config.h.in (_GLIBC_USE_WCHAR_T): Move from here ...
5423 * acconfig.h (_GLIBC_USE_WCHAR_T): to here.
5424 * bits/string.tcc (wstring::_S_find): Guard wchar_t specialization.
5426 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
5428 * acinclude.m4: Fix typo.
5429 * src/complex.cc: Fix macro line continuation.
5431 1999-11-29 Petter Urkedal <petter@matfys.lth.se>
5433 * src/Makefile.am (CXXFLAGS): Add -Wno-format to allow non-
5434 string literals in format, as used in locale-facets.tcc.
5436 1999-11-28 Benjamin Kosnik <bkoz@gnu.org>
5438 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5439 * bits/istream.tcc (istream::get): Extract to argument minus one.
5440 Various tweaks and fixes.
5442 1999-11-22 Mumit Khan <khan@xraylith.wisc.edu>
5444 * bits/locale_facets.tcc: Workaround for compiler crash on
5447 1999-11-21 Mumit Khan <khan@xraylith.wisc.edu>
5449 * acinclude.m4: New file. New _GLIBCPP_CHECK_FLOAT_SUPPORT macro.
5450 * configure.in: Use.
5451 * acconfig.h: New _GLIBCPP_BUGGY_FLOAT_COMPLEX macro.
5452 * src/complexf.cc: New _GLIBCPP_FLOAT_SPECIALIZATION macro.
5453 * bits/std_complex.h: Use.
5454 * src/complex.cc: Use.
5456 1999-11-19 Mumit Khan <khan@xraylith.wisc.edu>
5458 * testsuite/18_support/numeric_limits.cc: Add missing std:: prefix.
5459 * testsuite/21_strings/inserters_extractors.cc: Likewise.
5460 * testsuite/22_locale/ctype.cc: Likewise.
5461 * testsuite/23_containers/multiset.cc: Likewise.
5462 * testsuite/23_containers/vector_ctor.cc: Likewise.
5463 * testsuite/26_numerics/binary_closure.cc: Likewise.
5464 * testsuite/27_io/fpos.cc: Likewise.
5465 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
5466 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
5467 * testsuite/27_io/istream_extractor_char.cc: Likewise.
5468 * testsuite/27_io/istream_extractor_other.cc: Likewise.
5469 * testsuite/27_io/istream_sentry.cc: Likewise.
5470 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
5471 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
5472 * testsuite/27_io/streambuf.cc: Likewise.
5473 * testsuite/27_io/stringstream.cc: Likewise.
5475 1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5477 * bits/valarray_meta.h: Don't forget to define tanh
5479 1999-11-18 Philip Martin <pm@corris.dircon.co.uk>
5481 * src/stl-inst.cc: Use typedef to refer to iterator
5482 * stl/bits/stl_algobase.h: Add traits based dispatch for
5483 __normal_iterator in the copy()algorithm
5484 * stl/bits/type_traits.h: Add _Is_normal_iterator trait support
5486 1999-11-18 Kevin Ediger <kediger@licor.com>
5488 * src/locale.cc (locale::_Imp::_Imp): Use auto_ptr to make
5489 constructors for locale::_Impl exception safe.
5491 1999-11-18 Scott Snyder <snyder@fnal.gov>
5493 * stl/bits/stl_queue.h: The C++ standard gives the default for the
5494 _Sequence template argument of priority_queue<> as vector<>, not
5497 1999-11-18 Benjamin Kosnik <bkoz@gnu.org>
5499 * bits/std_sstream.h (stringbuf::_M_really_sync): Add __iend as a
5501 * bits/sstream.tcc: Adjust here too.
5503 1999-11-17 Benjamin Kosnik <bkoz@gnu.org>
5505 * bits/sbuf_iter.h (istreambuf_iter::equal): Tweak.
5506 * bits/istream.tcc (operator>>): Replace iostate(0) with
5507 iostate(ios_base::goodbit), which is the same thing, but hopefully
5509 * bits/locale_facets.tcc (do_get(bool)): Streamline, deal with
5510 libraries issue list 17.
5511 (do_gets): Don't set goodbit explicitly, instead only set on
5512 failures as good bit is the default setting.
5513 * bits/ios_base.h (setf): Set correctly.
5514 * bits/fstream.tcc: Tweak.
5515 * bits/std_sstream.h (_M_really_sync): Fix ibuffer positioning for
5516 in|out bufs that are empty. . .
5517 * testsuite/27_io/istream_extractor_arith.cc (test03): Add.
5519 1999-11-16 Benjamin Kosnik <bkoz@gnu.org>
5521 * testsuite/27_io/streambuf.cc (class testbuf): Don't set _M_buf_size.
5522 * bits/std_streambuf.h (setp): Set _M_buf_size, _M_mode.
5523 Add comments "all about _M_buf."
5524 (setg): Set _M_mode.
5526 1999-11-16 Kevin Ediger <kediger@licor.com>
5528 * bits/locale_facets.tcc (_S_build_float_format): New function.
5529 (_S_output_float): New function.
5530 (num_put::do_put(double)): Use 'em.
5531 (num_put::do_put(long double)): Use 'em.
5532 * testsuite/27_io/ostream_inserter_arith.cc: New file.
5534 1999-11-15 Scott Snyder <snyder@fnal.gov>
5536 * bits/basic_file.h: Type of __off parm should be __c_streampos, to
5537 match how libio is calling us.
5538 * src/basic_file.cc (sys_seek): Likewise.
5539 * bits/std_fstream.h (basic_filebuf::sync): Restore sync call.
5541 1999-11-15 Benjamin Kosnik <bkoz@gnu.org>
5543 * docs/17_intro/contribute.html: Add link to assignment form.
5544 * docs/17_intro/libstdc++-assign.txt: New file.
5546 * mkcheck (TESTS_FILE): Move a copy of test files as well as
5549 * bits/std_streambuf.h (_M_buf_bump): New function.
5550 * bits/streambuf.tcc: Mods to support _M_buf_bump.
5551 (xsputn): Here. Also add checks for output valid.
5552 (xsgetn): Add checks for input valid.
5554 (sgetc): Set _M_in_end to _M_buf + _M_buf_end.
5555 * bits/std_sstream.h (_M_really_sync): Set _M_buf.
5556 Set _M_out_end to variable-length-end.
5557 * bits/sstream.tcc (overflow): Use _M_buf_bump.
5560 * bits/fstream.tcc (std): Tweak formatting.
5561 (filebuf::overflow): Simplify.
5562 (filebuf::showmanyc): Same.
5563 (filebuf::underflow): Same.
5564 * testsuite/27_io/filebuf.cc: Fix.
5565 * testsuite/27_io/ostream_inserter_other.cc: Fix.
5566 * testsuite/27_io/ostream_inserter_other-2.tst: New file.
5567 * testsuite/27_io/stringbuf.cc: Tweak.
5568 * testsuite/27_io/streambuf.cc: Tweak.
5569 * testsuite/27_io/istream_extractor_other.cc: Fix.
5571 1999-11-11 Matthias Klose <doko@cs.tu-berlin.de>
5573 * stl_deque.h: Use static_casts<size_type>(signed_type).
5575 1999-11-11 Benjamin Kosnik <bkoz@gnu.org>
5577 Cleanups for callbacks, more regression hunting. Remaining
5578 failures (1) due to last unresolved stringstream issues, not
5580 * bits/std_fstream.h: Revert. Disable call to _M_file->sync as
5581 killing 27_io/filebuf.cc tests. . . need another solution.
5583 * bits/streambuf.tcc (_S_copy_streambufs): Fix.
5584 * testsuite/27_io/istream_extractor_other.cc: Tweak comments.
5586 * bits/basic_ios.h: Add cached facets here. UGH. The standard
5587 foils all attempts at a graceful, minimal implementation.
5588 * bits/basic_ios.tcc: Tweaks.
5589 * bits/istream.tcc: Fix.
5590 * bits/ostream.tcc: Fix.
5591 * bits/std_istream.h: Fix.
5592 * bits/std_ostream.h: Fix.
5593 * src/ios.cc (ios_base::imbue): Set _M_locale_ios before calling
5595 * bits/locale_facets.tcc (std): Minor, minor formatting tweak.
5596 (_S_pad_numeric): Make comprehensible.
5598 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
5600 * bits/std_ostream.h: Add callbacks for _M_fnumput.
5601 (_S_ostream_fcache): New function.
5602 Move functions out-of-line.
5603 * bits/ostream.tcc: Put here.
5605 * bits/std_istream.h: Add callbacks for _M_fnumget.
5606 (_S_istream_fcache): New function.
5607 Move functions out-of-line.
5608 * bits/istream.tcc: Put here.
5610 * bits/basic_ios.tcc (basic_ios::imbue): Tweaks, remove call to
5611 _M_call_callbacks(), as ios_base::imbue does this already.
5612 * src/ios.cc (register_callback): Clean.
5613 (_M_call_callbacks): Same.
5614 * bits/ios_base.h: Callback work.
5615 * testsuite/27_io/ios_base_callbacks.cc (test01): New file.
5617 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
5618 Matthias Klose <doko@cs.tu-berlin.de>
5620 * stl/ext/stl_rope.h: Fix initialization order.
5622 1999-11-09 Scott Snyder <snyder@fnal.gov>
5624 * bits/std_fstream.h (basic_filebuf::sync): Unconditionally call
5625 _M_file->sync() so that redirection works correctly.
5627 1999-11-09 Benjamin Kosnik <bkoz@gnu.org>
5629 * bits/istream.tcc: Re-order.
5630 * bits/std_istream.h: Fix getline problems.
5631 * testsuite/27_io/istream_unformatted.cc: New tests.
5633 Clean up regressions.
5634 * bits/std_sstream.h: Set initial stringbufs correctly.
5636 1999-11-09 Scott Snyder <snyder@fnal.gov>
5638 * stl_vector.h (_M_range_insert): Fix mixing pointers and
5640 * testsuite/23_containers/vector_modifiers.cc (test01): New file,
5643 1999-11-09 Benjamin Kosnik <bkoz@cygnus.com>
5645 * src/Makefile.am (CXXFLAGS): Add -Winline.
5646 * src/Makefile.in: Regenerate.
5648 1999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5650 * bits/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When
5651 building meta-expressions don't forget to take the contained
5654 1999-11-02 Benjamin Kosnik <benjamin@cygnus.com>
5656 * configure: Regenerate.
5658 1999-11-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5660 * bits/valarray_meta.h (_Expr<>::sum): Tweak. Use copy-initialization
5662 * bits/valarray_meta.h (min): Likewise.
5663 * bits/valarray_meta.h (max): Likewise.
5665 1999-11-01 Benjamin Kosnik <bkoz@cygnus.com>
5667 * bits/std_sstream.h (_M_really_sync): Take into account in | out bufs.
5668 * bits/std_streambuf.h (_S_copy_streambufs): New function.
5669 * bits/streambuf.tcc: Define.
5670 * bits/istream.tcc (istream::operator>>(streambuf)): Rewrite.
5671 * bits/ostream.tcc (ostream::operator<<(streambuf)): Rewrite.
5672 * testsuite/27_io/ostream_inserter_other.cc: Add tests.
5673 * testsuite/27_io/ostream_inserter_other-1.tst: New file.
5675 * bits/basic_string.h: Explicitly cast npos to unsigned type,
5676 reported by Richard Atterer.
5677 * bits/char_traits.h: For consistency's sake, here too.
5679 * configure.in: Bump version to 2.90.7.
5681 1999-10-31 Benjamin Kosnik <bkoz@cygnus.com>
5683 * testsuite/27_io/ostream_inserter_char-1.tst: Check file output.
5684 * testsuite/27_io/ostream_inserter_char.cc (test05, test01): Add tests.
5685 * bits/streambuf.tcc (xsputn): Treat--size const char for long loops.
5687 * bits/sstream.tcc (seekpos): Tricks, mostly: check _M_mode before
5688 writing into buffer.
5691 1999-10-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5693 * bits/valarray_array.h (__valarray_sum): New function.
5694 * bits/valarray_array.h (__valarray_product): Same.
5696 * bits/std_valarray.h (valarray<T>::product): Comment out.
5697 * bits/std_valarray.h (valarray<T>::sum): Use __valarray_sum
5698 instead of accumulate.
5700 * src/valarray-inst.cc: Remove explicit intantiation of
5701 class multiplies<size_t>, accumulate, valarray<size_t>::product.
5702 * src/valarray-inst.cc (__valarray_product): Instantiate
5704 * src/valarray-inst.cc (__valarray_product(const
5705 valarray<size_t>&)): New function.
5706 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't use
5707 valarray<size_t>::product. Use __valarray_product instead.
5710 1999-10-25 Benjamin Kosnik <bkoz@cygnus.com>
5712 * bits/std_ostream.h (ostream.inserters.char): Correctly pad output.
5713 (_S_pad_char): New function. Not done: ios_base::internal.
5714 * bits/ostream.tcc: Clean for above.
5715 * bits/locale_facets.tcc (_S_fill): Remove ostreambufiterator
5716 specialization that was commented out, as ostreams now have to
5717 correctly deal with padding.
5718 * testsuite/27_io/ostream_inserter_char.cc (main): Add tests.
5720 * testsuite/21_strings/ctor_copy_dtor.cc(test02): Add test case
5721 from mailing list. This is a bug, and should be fixed.
5722 * testsuite/21_strings/inserters_extractors.cc (main): Tweak, fix typo.
5724 1999-10-22 Petter Urkedal <petter@matfys.lth.se>
5726 * stl/bits/stl_numeric.h (__power): Replaced argument name `__opr'
5727 to avoid conflict with gcc name mangling.
5728 * stl/bits/stl_algo.h (__transform): Same.
5730 1999-10-21 Benjamin Kosnik <bkoz@cygnus.com>
5732 * bits/ios_base.h: Change argument names.
5733 * docs/17_intro/BADNAMES: Add __opr.
5735 1999-10-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5737 Work on compilation slowdowns from 10-5 to 10-12, which are
5738 related to the _Callback_list inlining/merge-ifcation, which is
5739 still a pending issue, but this stuff is necessary cleanup anyway.
5741 * src/ios.cc: Re-arrange.
5742 * bits/ios_base.h: Tweak.
5743 * bits/basic_ios.tcc: Move out of line definitions here, move
5744 small out-of-line definitions inline.
5745 * bits/basic_ios.h: From here.
5747 * bits/streambuf.tcc (pbackfail, overflow): Move back inline.
5748 * bits/std_streambuf.h: From here.
5750 1999-10-19 Benjamin Kosnik <bkoz@cygnus.com>
5752 * testsuite/27_io/istream_extractor_char.cc: Add tests.
5753 * bits/std_istream.h: Tweaks--set eofbit on eof condition.
5754 * bits/istream.tcc (operator>>(istream&, string&): Remove
5755 vestigial issspace hacks and use ctype::is instead.
5756 (getline): Remove unnecessary loops, fortify and pasteurize.
5759 1999-10-18 Benjamin Kosnik <bkoz@cygnus.com>
5761 * bits/istream.tcc (operator>>): Tweak.
5762 * bits/std_istream.h: Fix according to library issues list 68.
5765 * bits/locale_facets.h: Fix table_size to be non-zero.
5767 1999-10-18 Vadim Egorov <egorovv@HotPOP.com>
5769 * src/basic_file.cc: ifdef instead of comment for binary mode
5771 1999-10-18 Russell Davidson <russell@qed.econ.queensu.ca>
5773 * bits/std_sstream.h: Stringbuf initialization based on actual,
5774 not allocated, size.
5775 * testsuite/21_strings/inserters_extractors.cc (test06): Add test
5778 1999-10-17 Benjamin Kosnik <bkoz@cygnus.com>
5780 * testsuite/26_numerics/c_math.cc (test03): Tweak.
5781 * testsuite/27_io/istream_manip.cc (test01): Corrections due to
5783 * testsuite/21_strings/inserters_extractors.cc (test01): Same.
5785 1999-10-14 Benjamin Kosnik <bkoz@cygnus.com>
5787 * bits/std_istream.h: Tweaks.
5788 * bits/istream.tcc (istream::sentry::sentry()): Simplify, correct
5789 as per issues list addition--set failbit, eof on empty buffers.
5790 * testsuite/27_io/istream_sentry.cc: New file.
5792 1999-10-12 Chris Prince <prince@wcug.wwu.edu>
5794 * bits/std_cstdio.h: Remove Solaris hacks.
5796 1999-10-12 Phil Edwards <philip.edwards@sn.wpafb.af.mil>
5798 * docs/index.html: Fix minor typos and tweaks.
5799 * docs/17_intro/contribute.html: Ditto.
5800 * docs/*/howto.html: Ditto. More "EGCS"->"GCC" conversion, notes on
5801 thread safety and binary I/O, links to external sites.
5802 * docs/faq/index.html: EGCS/GCC cleanup, new entries for Cygwin
5805 1999-10-12 Petter Urkedal <petter@matfys.lth.se>
5807 * bits/std_cmath.h (abs(float)): When ::absf is not present, call
5808 ::fabs(double) rather than ::abs(int).
5810 1999-10-11 Benjamin Kosnik <bkoz@milou.cygnus.com>
5812 * bits/std_streambuf.h: Fix minor blip--should explicitly return
5813 *gptr(), not the result of underflow.
5814 (pbackfail): Conform to default behavior.
5816 * bits/streambuf.tcc: Add out-of-line streambuf members.
5819 * testsuite/27_io/streambuf.cc: New file.
5820 * testsuite/27_io/filebuf.cc: Correct test.
5822 1999-10-08 Benjamin Kosnik <bkoz@haight.constant.com>
5824 * bits/std_cmath.h: Correctly cast int to double.
5825 * testsuite/26_numerics/c_math.cc: Add test.
5827 * mknumeric_limits (OUT_C): Tweaks.
5828 * src/gen-num-limits.cc: Checks for WCHAR_MIN, WCHAR_MAX before
5829 trying to instantiate type_traits<wchar_t>.
5830 * acconfig.h: Add _GLIBCPP_HAS_WCHAR_MIN_MAX.
5831 * configure.in (LIBS): Plus checks for WCHAR_MIN, WCHAR_MAX.
5832 * configure: Regenerate.
5834 1999-10-06 Benjamin Kosnik <bkoz@milou.cygnus.com>
5836 * bits/streambuf.tcc (streambuf::xsgetn): Rewrite.
5837 (streambuf::xsputn): Put in break.
5838 Aiming for parity between these two (mostly) similar functions.
5839 Need to re-write tests.
5841 * bits/ios_base.h (ios_base::_M_copy_base): Remove declaration.
5842 Make data members protected, not private.
5843 * src/ios.cc (ios_base::_M_copy_base): Move _Callback_list into
5844 ios_base.h. As called only once, collapse into . . .
5845 * bits/basic_ios.h (basic_ios::copyfmt): Fix.
5846 (basic_ios::clear): Throw ios_base::failure on occasion.
5847 (basic_ios::exceptions): Fix.
5848 * testsuite/27_io/ios_members.cc (test02): Add tests.
5850 * bits/fpos.h: Default initialize.
5851 * testsuite/27_io/fpos.cc (test03): Add test.
5853 1999-10-04 Russell Davidson <russell@qed.econ.queensu.ca>
5855 * src/basic_file.cc: Fix open modes.
5857 1999-10-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5859 * bits/locale_facets.tcc (num_get<>::do_get): Fix typo.
5861 1999-09-23 Benjamin Kosnik <bkoz@milou.cygnus.com>
5863 * bits/streambuf.tcc: Yea. Fix this for real.
5864 * testsuite/27_io/ostream_inserter_other.cc: Add file.
5865 * src/Makefile.*: Regenerate.
5867 1999-09-22 Benjamin Kosnik <bkoz@milou.cygnus.com>
5869 * bits/std_cstdlib.h: Add more linux-specif hacks to the header
5870 files so that stdtof and strtold will be declared. Some hacks
5871 already exits in bits/std_cctype.h -- these should all be removed
5873 * bits/locale_facets.tcc: Add cstring.h include.
5874 _S_format_long: Use long, not int.
5875 Add std_limits.h include, for numeric_limits.
5876 * testsuite/27_io/istream.cc: Make instantiations work when using
5878 * testsuite/27_io/ostream.cc: Same.
5880 1999-09-21 Benjamin Kosnik <bkoz@milou.cygnus.com>
5882 * bits/fpos.h (fpos::operator streamoff): Make const, don't return
5883 a reference. Same for operators == and !=.
5884 * testsuite/27_io/fpos.cc: Add tests.
5886 1999-09-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5888 * bits/valarray_array.h: Fix typo.
5890 * mknumeric_limits: Make sure we are regenerating things from
5891 scratch. Otherwise things get redefined. Not good.
5893 1999-09-20 Benjamin Kosnik <bkoz@milou.cygnus.com>
5895 * bits/std_ostream.h: Fix typo.
5896 * bits/std_istream.h: Same.
5897 * bits/std_iomanip.h: Same.
5899 * bits/istream.tcc (sentry::sentry()): Remove optional tie with
5900 ostream, as happens with underflow anyway.
5901 * testsuite/27_io/istream.cc (main): New file.
5902 * testsuite/27_io/ostream.cc (main): New file.
5903 * testsuite/27_io/istream_unformatted.cc: Add tests.
5905 * src/Makefile.am (headers): Add new file.
5906 * src/Makefile.in (headers): Regenerated.
5908 * bits/basic_ios.h: Remove local-related files.
5909 * bits/basic_ios.tcc: New file, add locale-related items.
5910 * src/misc-inst.cc: Add include of basic_ios.tcc, as a hack for now.
5911 * testsuite/27_io/ios_members_static.cc: Change to
5912 * testsuite/27_io/ios_base_members_static.cc: This.
5913 * testsuite/27_io/ios_members.cc: New file.
5914 * testsuite/27_io/stdios_basefield_manip: Change to
5915 * testsuite/27_io/ios_manip_basefield.cc: This.
5916 * testsuite/27_io/stdios_fmtflags_manip: Change to
5917 * testsuite/27_io/ios_manip_fmtflags.cc: This.
5919 * bits/fpos.h: Fix discarding qualifiers on this when
5920 using _M_position with a const fpos.
5921 * bits/std_iosfwd.h: Tweak.
5922 * testsuite/27_io/fpos.cc: New file.
5924 1999-09-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
5926 * bits/streambuf.tcc (streambuf::xsputn): Tweak.
5927 * bits/ostream.tcc: Tweak.
5928 * testsuite/21_strings/inserters_extractors.cc (test04, test05):
5929 Add new regressions.
5931 1999-09-16 Benjamin Kosnik <bkoz@milou.cygnus.com>
5933 * bits/basic_ios.h: Inline, tweak.
5934 * bits/fstream.tcc (basic_filebuf::_M_really_overflow): Tweak,
5935 pass back accurate return value to basic_filebuf::overflow.
5936 * bits/streambuf.tcc (streambuf::xsputn): Fix overflow accounting.
5937 This fixes sstream problems reported in libstdc++/9, but screws up
5938 filebufs. That solution is pending.
5940 1999-09-15 Vadim Egorov <egorovv@1c.ru>
5942 * bits/streambuf.tcc (basic_streambuf::xsputn): Add check for
5944 * testsuite/21_strings/inserters_extractors.cc (test01): Add test.
5946 1999-09-08 Benjamin Kosnik <bkoz@milou.cygnus.com>
5948 * bits/c++config.h.in: Add emacs hints.
5950 * stl/bits/stl_range_errors.h: Don't define here, for now define
5951 in stdexcept.cc along with string inlines __length_error, etc.
5952 * src/stdexcept.cc: Define here.
5953 * stl/bits/stl_config.h (__STL_CAN_THROW_RANGE_ERRORS): Enable, so
5954 at(size_t) will be declared/defined.
5955 (__STL_THREADS): Fix mess surrounding use of this, enable.
5957 1999-08-31 Benjamin Kosnik <bkoz@milou.cygnus.com>
5959 * testsuite/27_io/istream_extractor_arith.cc: Fix.
5960 * src/localename.cc: Tweak formatting, fix assignment to
5961 const compiler errors.
5963 1999-08-25 Benjamin Kosnik <bkoz@cygnus.com>
5965 * acconfig.h: Add absf, cosf.
5966 * configure.in (use_builtin_sinf): Same.
5967 * configure: Regenerate.
5968 * bits/std_cmath.h: Add mess of defines.
5969 * testsuite/26_numerics/modf_float.cc: Change to
5970 * testsuite/26_numerics/c_math.cc: This.
5972 * src/locale.cc: Change.
5973 * bits/locale_facets.h: Fix.
5974 * testsuite/22_locale/ctype.cc: Add temporary tests.
5976 1999-08-24 Benjamin Kosnik <bkoz@cygnus.com>
5978 * bits/fpos.h: Test.
5980 * docs/index.html: Add powerpc-linux-gnu results with gcc-2.95.1.
5981 Fix database name for "libstdc++".
5983 1999-08-23 Benjamin Kosnik <bkoz@cygnus.com>
5985 * mknumeric_limits (numeric_limits): Add default definitions to
5987 * testsuite/18_support/numeric_limits.cc: New file.
5989 1999-08-18 Benjamin Kosnik <bkoz@cygnus.com>
5991 * bits/std_istream.h: Correct initialization.
5992 * bits/std_ostream.h: Likewise.
5993 * bits/std_sstream.h: Likewise.
5994 * bits/std_fstream.h: Likewise.
5995 * testsuite/27_io/stringstream.cc: Add test case.
5997 * bits/std_sstream.h: Replace ____string_type with __string_type.
5998 * bits/basic_ios.h (basic_ios::rdbuf(sb*): Call clear(), as required.
5999 * bits/std_ostream.h: Tweak dtor.
6001 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6003 * src/Makefile.am (CXXFLAGS): Add -O2.
6004 * src/Makefile.in: Likewise.
6006 * src/gen-num-limits.cc: Conditionally allow wchar_t. See what
6008 * mknumeric_limits (numeric_limits): Uglify.
6010 * bits/std_istream.h: Fix warnings.
6011 * bits/locale_facets.tcc: Collateral damage from
6012 char_traits<char>::int_type change.
6014 * testsuite/27_io/istream_extractor_char.cc: Terminate strings.
6016 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6018 * docs/index.html: Add mailing list form.
6019 * docs/27_io/howto.html: Add link to iostreams_hierarchy.pdf.
6021 1999-08-16 Benjamin Kosnik <bkoz@cygnus.com>
6023 * bits/streambuf.tcc (streambuf::xsputn): Allow copies to continue
6024 if overflow successfully allocates more space.
6025 * bits/std_sstream.h: Adjust comments.
6026 * bits/sstream.tcc (stringbuf::overflow): Copy buffer into string
6027 before overflow forces a resize.
6028 * testsuite/27_io/ostream_inserter_char.cc: New file.
6030 * bits/std_fstream.h: Remove declaration.
6031 * bits/fstream.tcc: Move uflow.
6032 * bits/std_streambuf.h: To here.
6033 * bits/streambuf.tcc: Make consistent.
6035 * src/Makefile.am (WERROR): Enable.
6036 * src/Makefile.in: Regenerate.
6037 * bits/sbuf_iter.h: Tweak.
6038 * bits/char_traits.h: (char_traits<wchar_t>::eof): Use WEOF.
6039 Use unsigned int as char_traits<char>::int_type.
6041 * bits/ostream.tcc (ostream::putc(char)): Tweak.
6042 * testsuite/27_io/iostream_objects.cc: Terminate string.
6043 Move cin::operator>>(char*) test to extractor_char.cc.
6044 * testsuite/27_io/stringstream.cc: Add stringstream instantiation.
6045 * bits/std_istream.h (basic_iostream): Make explicit definition
6047 * bits/std_sstream.h: Fix typos.
6048 * bits/fstream.tcc (_M_init_filebuf): Set to indeterminate for
6049 basic_filebuf ctor with fileno open arguments. Thus, filebufs are
6050 initialized in a consistent manner, no matter if the underlying
6051 FILE/bit bucket is a tty or a text file or some other imaginary
6052 construct. This and setting _M_buf_size to 1 for cin allows
6053 istream::get(char) to work in a manner consistent with what others
6056 * docs/index.html: Link Stroustrup's C++ page.
6058 1999-08-12 Michael Cook <cook@sightpath.com>
6060 * bits/fstream.tcc: Fix signed/unsigned -Wall warning.
6061 * bits/istream.tcc: ditto.
6062 * bits/sbuf_iter.h: ditto.
6063 * bits/std_istream.h: ditto.
6064 * src/Makefile.am: Add -Wall to CXXFLAGS.
6065 * src/Makefile.in: ditto.
6067 1999-08-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6068 Russell Davidson <russell@ehess.cnrs-mrs.fr>
6070 * bits/locale_facets.tcc (_M_extract): Finish off patch from yesterday.
6071 * src/Makefile.am (myinstallheaders): Tweak, remove PHONY.
6073 1999-08-11 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6075 * testsuite/27_io/istream_unformatted.cc: New file.
6077 * testsuite/27_io/istream_extractor_arith.cc (test02): Add more
6078 elaborate tests for int types with noskipws.
6080 * testsuite/27_io/istream_extractor_other-1.txt: New file.
6081 * testsuite/27_io/istream_extractor_other-1.tst: New file.
6082 * testsuite/27_io/istream_extractor_other-2.tst: New file.
6083 * testsuite/27_io/istream_extractor_other.cc: Add tests.
6084 * bits/istream.tcc: Fix operator>>(streambuf*).
6086 * testsuite/23_containers/vector_ctor.cc (test01): Add.
6088 * docs/index.html: Remove references to egcs.
6089 * docs/17_intro/DESIGN: Same.
6090 * docs/17_intro/contribute.html: Same.
6091 * docs/17_intro/RELEASE-NOTES: Ditto.
6092 * docs/17_intro/howto.html: Same here.
6094 Russell Davidson <russell@ehess.cnrs-mrs.fr>
6095 * stl/bits/stl_vector.h (_M_insert_aux):
6096 * bits/locale_facets.tcc (_M_extract): Tweaks for preliminary
6097 decimal/floating point support.
6098 * bits/locale_facets.h: Change _M_extract prototype.
6099 * bits/char_traits.h (char_traits::to_int_type): Cast to unsigned.
6100 * bits/std_istream.h (istream::read(char_type, streamsize)): Fix.
6102 1999-08-10 Michael Cook <cook@sightpath.com>
6104 * bits/fstream.tcc: Fix for unused variable warning (-Wall).
6105 * bits/ios_base.h: ditto.
6106 * bits/istream.tcc: ditto.
6107 * bits/locale_facets.h: ditto.
6108 * bits/locale_facets.tcc: ditto.
6109 * bits/std_streambuf.h: ditto.
6110 * src/basic_file.cc: ditto.
6111 * src/locale.cc: ditto.
6112 * src/localename.cc: ditto.
6114 1999-08-10 Kirat Singh <singhki@jany.gs.com>
6116 * bits/std_iomanip.h: Inline.
6118 1999-08-10 Alfred Minarik <a8601248@unet.univie.ac.at>
6120 * bits/std_streambuf.h: Correct member initialization order.
6121 * src/ios.cc: Add definitions for ios_base data members.
6123 1999-08-06 Phil Edwards <pedwards@ball.com>
6125 * docs/index.html: Seventh snapshot updates. Minor tweaks.
6126 * docs/faq/index.html: Ditto. Removed bugs sections that have
6127 been fixed for a long time... Lots of "egcs" references still
6129 * docs/faq/index.txt: Regenerated.
6131 1999-08-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6132 Andreas Amann <amann@physik.tu-berlin.de>
6134 * testsuite/26_numerics/binary_closure.cc (main): new test.
6136 1999-07-29 Andreas Amann <amann@physik.tu-berlin.de>
6138 * bits/valarray_meta.h: (_BinClos<>::_Binclos): fix typo causing
6141 1999-08-04 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6143 * docs/index.html (host): Put in testing status.
6145 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
6147 * docs/index.html: Update for libstdc++-2.90.6 release.
6148 * docs/17_intro/RELEASE-NOTES (New): Update.
6149 * docs/17_intro/BUGS: Update.
6150 * bits/c++config.h.in (__GLIBCPP__): Bump version number.
6151 * README (file): Update.
6153 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
6155 * src/Makefile.am (generated_headers): Remove bits/c++config.h as
6157 ($(generated_headers)): Same.
6158 * src/gen-c++config.cc: Remove, rename to
6159 * bits/c++config.h.in: New file. Bump version number.
6160 * configure.in: Generate bits/c++config.h at configure time.
6161 * math/mathconf.h: include bits/c++config.h, not config.h.
6163 * bits/std_cmath.h: Fix remaining link error for solaris shared
6164 builds. _GLIBCPP_HAS_BUILTIN_SINF has to be disabled for the time
6165 being, as on Solaris this silently calls sinf, which does not
6168 * src/complex.cc: More tweaks.
6170 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
6172 * src/complex.cc: Same.
6173 * math/complex-stub.h: Change.
6174 * math/c_log10*.c: Change back to clog10*.c.
6176 * configure.in (NEED_C_LOG10): Delete.
6177 * configure: Regenerate.
6178 * math/Makefile.am: Change.
6180 1999-07-30 Benjamin Kosnik <bkoz@cygnus.com>
6182 * math/Makefile.am: Fix, for real.
6183 * configure.in (use_builtin_sinf): Ok, make autoconf solution.
6184 * math/clog.c: Move to c_log.c.
6185 * math/clog*: Ditto.
6186 * math/c_log10l.c (c_log10l): Change function name.
6187 * math/c_log10f.c (c_log10f): Change function name.
6188 * math/c_log10.c (c_log10): Change function name.
6190 * math/complex-stub.h: Change to c_log* variants.
6191 * src/complex.cc: And here.
6193 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
6195 * testsuite/27_io/istream_extractor_other.cc: Correct last test.
6196 * bits/sstream.tcc (stringbuf::overflow): Don't update the input
6197 sequence, just the output sequence.
6198 * bits/std_sstream.h (stringbuf::str()): Only in stringbufs return
6199 the original string, all others use complicated heuristic.
6201 * src/complex.cc: Assume c_log10.
6202 * math/Makefile.am (EXTRA_yes): Fix c_log/c_logf unresolved
6203 symbols in shared libraries by making c_log/c_log10 part of the
6204 "must cmpile" sources. This may not work on solaris, must check.
6206 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
6208 * bits/istream.tcc (operator>>(streambuf*)): Re-do.
6209 * bits/std_istream.h: Fix char extractors.
6210 * testsuite/27_io/istream_extractor_char.cc: Change.
6211 * testsuite/27_io/istream_extractor_other.cc: Add tests.
6213 1999-07-28 Benjamin Kosnik <bkoz@cygnus.com>
6215 * bits/std_cctype.h: Fix for solaris2.6 builds.
6217 * bits/istream.tcc: Fix, thanks Alfred.
6218 * bits/std_istream.h: Formatting changes.
6220 * libio/Makefile.am (libio_la_SOURCES): Remove cleanup.c, so that
6221 _IO_cleanup will not be undefined.
6222 * libio/*: Regenerate.
6224 * bits/basic_string.h: More namespace-safety stuff.
6225 * testsuite/27_io/istream_extractor_char.cc: Fix.
6226 * testsuite/27_io/istream_extractor_arith.cc: Fix.
6227 * testsuite/27_io/iostream_objects.cc: Fix.
6228 * testsuite/27_io/ios_ctor.cc: Fix.
6229 * testsuite/27_io/istream_manip.cc: Make namespace safe.
6230 * testsuite/27_io/istream_extractor_other.cc: New file.
6232 * mkcheck (TESTS_FILE): Tweaks.
6234 1999-07-27 Benjamin Kosnik <bkoz@cygnus.com>
6236 * src/gen-c++config.cc: Note here, change version.
6237 * acconfig.h( _GLIBCPP_USE_CTYPE_ISBIT): New macro.
6238 * src/locale.cc: Used here.
6239 * configure.in (use_builtin_sinf): Check for _ISBit using autoconf.
6241 * aclocal.m4: Regenerate by running `aclocal -I m4.`
6243 * bits/istream.tcc: Fix.
6244 * bits/std_istream.h: More changes to extractors.
6246 * testsuite/27_io/istream_extractor_char.cc: More.
6247 * testsuite/21_strings/inserters_extractors.cc (test01): Fix logic
6248 error in testsuite construction.
6250 * bits/std_istream.h: Partially revert.
6251 * bits/std_ostream.h: Same.
6252 * bits/std_sstream.h: Revert.
6254 1999-07-26 Benjamin Kosnik <bkoz@cygnus.com>
6256 * bits/std_sstream.h: Change initialization.
6257 * bits/std_ostream.h: Make default ctor/assign/operator= private.
6258 * bits/std_istream.h: Same, also correct sentry args.
6259 * bits/istream.tcc: Add correct sentry args.
6261 * testsuite/27_io/istream_extractor_char.cc: New file.
6262 * testsuite/27_io/istream_extractor_arith.cc: New file, old file,
6263 name changes making me dizzy.
6265 1999-07-26 Ulrich Drepper <drepper@happy.cygnus.com>
6266 Benjamin Kosnik <bkoz@cygnus.com>
6268 * aclocal.m4, config.guess, config.sub, ltconfig ltmain.sh: Update
6271 1999-07-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6273 * bits/std_complex.h: Tweak. Make the primary template class
6274 complex work with user-defined numerical types. Provide member
6275 definitions. Restructure.
6276 (class complex<float>): Uglify. Remove __value(). Rename __val
6277 to _M_value. Rename __complex_value_type to _ComplexT. Make it
6278 private. Remove dependency on __value(). Fix various explicit
6279 specialization syntax. Declare a some functions friend. Now the
6280 implementation is nearly comforming.
6281 (class complex<double>): Likewise.
6282 (class complex<long double>): Likewise.
6284 * src/complex.cc: Tweak. Remove dependency on complex::__value().
6285 (sin, sinh, tan, than): Fix call to corresponding C9x function
6288 1999-07-24 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6290 * bits/istream.tcc (ws): Fix error with failbit being set.
6292 Disabled due to egcs/gcc-2_95 internal compiler errors.
6293 * src/Makefile.am (CXXFLAGS): Add -fsquangle -fhonor-std
6294 -fnew-exceptions. Compiling with namespaces enabled will now be
6296 * mkcheck (CXX_FLAG): Same.
6297 * src/gen-c++config.cc (_GLIBCPP_USE_NAMESPACES): Yup. New macro.
6298 * bits/std_cctype.h: Not enough to just define in namespace std if
6299 ctype-isms are macros. Need to also define in namespace std:: if
6300 the C functions are just plain functions.
6302 * src/gen-num-limits.cc: Fix spelling inconsistencies.
6304 1999-07-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6306 * docs/18_support/howto.html: Start documentation. Need to keep
6307 track of the ongoing discussion in th LWG reflector.
6309 * src/gen-num-limits.cc: Tweak.
6310 (class predicate): New class.
6311 (class value): Likewise.
6312 Make the whole machinery more flexible. Add comments.
6314 1999-07-23 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6316 * bits/ios_base.h: Move state/exception functions into basic_ios.
6317 * bits/basic_ios.h: Same.
6318 * src/ios.cc: And here. Callbacks don't attempt to reset
6321 * bits/std_streambuf.h: Separate ios and streambuf locale data
6322 members and cached facets. Using this convention: _M_locale_buf for
6323 the streambuf-related classes, and _M_locale_ios for the ios
6325 * bits/fstream.tcc: And here.
6326 * bits/basic_ios.h: And here. Also, add cached ctype.
6327 * src/ios.cc: Ditto.
6328 * bits/ios_base.h: Ditto.
6329 * bits/std_istream.h: Use cached ctype facet.
6330 * docs/27_io/iostreams_hierarchy.pdf: Update for new data member
6333 * testsuite/27_io/ios_ctor.cc: New file.
6334 * src/ios.cc: Move _M_state init to basic_ios::init().
6335 * bits/basic_ios.h: To here.
6337 Attempt for some consistency in naming for testsuite/27_io/*.cc.
6338 * testsuite/27_io/boolfmt.cc: Rename to stdios_fmtflags_manip.cc
6339 * testsuite/27_io/octfmt.cc: Rename to stdios_basefield_manip.cc
6340 * testsuite/27_io/istream_manip.cc: Rename to istringstream_manip.cc.
6341 * testsuite/27_io/ostream_manip.cc: Rename to ostringstream_manip.cc.
6343 1999-07-22 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6345 * src/ios.cc: Tweak initializations of standard iostream
6346 objects to closely match the standard. Tie cin/wcin, set flags on
6348 * bits/char_traits.h: Change from size_t to int_type, as per
6349 standard. As per wide streams.
6350 * bits/basic_ios.h: Infect with __ctype_type, as a preparation
6351 for caching a bunch of ctype info. For instance, ctype_base::space
6352 info needs to be stored somewhere, somehow.
6353 * bits/std_istream.h: Also here.
6354 * bits/std_ostream.h: Ditto.
6355 * bits/std_istream.h (operator>>(istream, char): Aggh. Fixup.
6356 * testsuite/27_io/iostream_objects.cacc (test01): Oh yeah. Fix
6359 * bits/istream.tcc (ws): Fix.
6360 * testsuite/27_io/istream_manip.cc: New file, test ws.
6361 * testsuite/27_io/ostream_manip.cc: New file, test endl, ends, flush.
6363 * bits/basic_string.h: Provide a specialized member function for
6364 _S_find<char> using strchr.
6365 * src/string-inst.cc: Put specializations here.
6366 * bits/string.tcc: Small fix for find, remove typo.
6367 * testsuite/21_strings/find.cc (test01): Add tests to catch this
6370 1999-07-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6372 * bits/basic_ios.h: Put into basic_ios namespace.
6375 1999-07-19 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6377 * bits/std_sstream.h (stringbuf::sync): Change to _M_really_sync,
6378 adjust _M_*_cur pointers inside the function, so callee doesn't
6380 * bits/sstream.tcc (stringbuf::overflow): Tweak.
6382 * mkcheck: Tweak. Add execution time field, even though it is not
6383 implemented yet. Simplify pass/fail status notation.
6385 1999-07-18 Mumit Khan <khan@xraylith.wisc.edu>
6387 * configure.in: Check for float.h and underscored version of
6389 * acconfig.h: Add @BOTTOM@ section for handling underscored
6391 * configure: Regenerate.
6392 * config.h.in: Regenerate.
6393 * math/mathconf.h (float.h): Include conditionally.
6394 (M_PI): Define conditionally.
6395 (INFINITE_P): Define for Mingw.
6396 * bits/locale_facets.tcc: Workaround for compiler crash on
6398 * bits/std_cwchar.h (bits/std_cstddef.h): Include.
6399 * src/locale.cc (bits/std_istream.h): Include.
6400 (bits/std_ostream.h): Likewise.
6402 1999-07-18 Phil Edwards <pedwards@ball.com>
6404 * docs/faq/index.html: Updated __black_count notes, fixed typos.
6405 * docs/faq/index.txt: Regenerated.
6407 1999-07-15 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6409 * testsuite/27_io/stringbuf.cc: Cccchanges, latent bugs.
6411 * bits/sstream.tcc (stringbuf::overflow): Modify accounting of
6412 newly-allocated buffer.
6413 * bits/streambuf.tcc (streambuf::xsgetn): Aaaaaah. Fix final
6414 overflow condition bits.
6416 1999-07-14 Benjamin Kosnik <bkoz@cygnus.com>
6418 * bits/std_sstream.h (stringbuf::_M_init_stringbuf): Set
6419 _M_buf_size to initial _M_string.size(), even though for
6420 ostringstreams it is pretty pointless. It's necessary for
6422 (stringbuf::str()): Adjust.
6423 (stringbuf::str()): Adjust, call _M_init_stringbuf.
6424 * bits/streambuf.tcc (streambuf::xsgetn): Adjust return value for
6425 overflow's possible success.
6426 (streambuf::xsputn): Adjust.
6428 * testsuite/27_io/filebuf.cc: Adjust for the xsgetn re-write from
6430 * testsuite/27_io/stringbuf.cc: Tweak.
6431 * testsuite/21_strings/inserters_extractors.cc (test01): Remove
6433 * testsuite/23_containers/vector_cons.cc: Rename to be consistent
6434 with other constructor tests to. . .
6435 * testsuite/23_containers/vector_ctor.cc: New file.
6437 1999-07-14 Alfred Minarik <a8601248@unet.univie.ac.at>
6439 * testsuite/*: Changes to make the testsuit compilable with
6440 -fhonor-std. Contains direct qualification of library names with
6443 1999-07-13 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6445 * bits/streambuf.tcc: Tweaks.
6446 (streambuf::xsputn): Optimize, fix for sstreams.
6447 (streambuf::xsgetn): Same.
6448 * bits/sstream.tcc (stringbuf::overflow): Adjust _M_buf_size
6449 correctly, handle overflow/reallocate conditions correctly.
6450 * bits/std_sstream.h: Fix typo.
6451 _M_init_stringbuf(): Fix _M_buf_size initialization.
6452 (stringbuf::str()): Construct return string if output has occurred.
6454 * bits/basic_string.h: Fix typo from yesterday's patch.
6456 1999-07-12 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6458 * bits/string.tcc: _M_mutate - clear _M_state again.
6459 * bits/basic_string.h: In the three functions that return
6460 an iterator set _M_state to -1 before return.
6461 Also optimized two cases of operator+.
6463 1999-07-12 Phil Edwards <pedwards@ball.com>
6465 * docs/index.html: Expand egcs-1.1.2 notes/links.
6466 * docs/faq/index.html: And here. Add links to LWG issues-list.
6467 * docs/faq/index.txt: Regenerate. (lynx rocks)
6468 * docs/21_strings/howto.html: Fix notes on case conversion.
6469 * docs/21_strings/stringtok_h.txt: Goodly spelling...
6470 * docs/23_containers/howto.html: Stub for bitmasks.
6471 * docs/27_io/howto.html: Add section on buffering, stub binary.
6473 1999-07-12 Nathan Myers <ncm@cantrip.org>
6475 * stl/bits/stl_tree.h (__black_count): Optimize.
6477 1999-07-09 Vadim Egorov <egorovv@1c.ru>
6479 * src/basic_file.cc: Cleanup in __basic_file destructor.
6481 1999-07-08 Benjamin Kosnik <bkoz@cygnus.com>
6483 * bits/std_streambuf.h: Changes. . .
6484 * bits/streambuf.tcc: Merge xsputn from filebuf into xsputn in
6485 basic_streambuf, to be used for both filebufs and streambufs.
6486 * bits/std_fstream.h (_M_init_filebuf): New function.
6487 Take out specialized xsputn, put into basic_streambuf.
6488 * bits/fstream.tcc: Define, call from both ctors.
6489 * bits/std_sstream.h (_M_init_stringbuf): New function.
6490 * bits/sstream.tcc: Tweak.
6492 * docs/27_io/iostreams_heirarchy.pdf: New file.
6494 * docs/17_intro/CHECKLIST (basic_string<char>): Validation and
6495 acceptance. Wooo-hoo!
6497 * bits/char_traits.h: Change int_type for char_traits general
6498 template, so that 21_strings/capacity.cc will compile.
6499 * testsuite/21_strings/capacity.cc: Add operators.
6501 * bits/string.tcc (string::compare): Clean up, re-implement.
6502 * testsuite/21_strings/compare.cc: Tweak.
6504 * bits/string.tcc (string:_M_mutate): Keep leaked value in
6505 _M_state, which means that whenever begin() or end() has been
6506 called, the string is unshareable, period. By doing this, insert
6507 and erase member functions that return iterators can remain
6508 footloose and fancy free.
6509 * testsuite/21_strings/invariants.cc: Update.
6511 * bits/basic_string.h (string::append): Fix self-referential
6512 problems, ie when "this" is also an argument to a member function.
6513 * bits/string.tcc: Tweak, same.
6514 * testsuite/21_strings/append.cc: New file.
6516 1999-07-07 Benjamin Kosnik <bkoz@cygnus.com>
6518 * bits/char_traits.h: Tweaks.
6519 * bits/basic_string.h: Tweak.
6520 * bits/fstream.tcc: Remove warning for _M_buf_size assignment.
6522 1999-07-06 Benjamin Kosnik <bkoz@cygnus.com>
6524 * bits/std_streambuf.h: Absorb/acquire data members previously
6525 working in basic_filebuf.
6526 * bits/streambuf.tcc: Tweaks.
6527 * bits/fstream.tcc: Adjust.
6528 * bits/std_fstream.h: Move and rename the following functions:
6529 _M_set_ideterminate, _M_is_indeterminate, _M_set_determinate are
6530 now declared and defined in the base class, basic_streambuf. Oh
6531 fuck it, move data members _M_buf, and _M_buf_size into
6532 basic_streambuf as well.
6534 * bits/ostream.tcc: Tweak.
6535 * bits/locale_facets.tcc: Fix typo in comments.
6537 * testsuite/21_strings/inserters_extractors.cc (test01): Change
6538 state from good to not good, as eof() is set.
6540 1999-07-05 Benjamin Kosnik <bkoz@cygnus.com>
6542 * bits/char_traits.h (char_traits::compare). Fix.
6544 * config.guess, config.sub: Update.
6546 1999-07-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6548 * bits/string.tcc: Check the __res_arg for a length error.
6550 1999-07-01 Benjamin Kosnik <bkoz@nabi.net>
6552 * bits/std_streambuf.h: Tweaks. Need to move _M_is_indeterminate
6553 and related functions into basic_streambuf, from basic_filebuf to
6554 take care of ostringstreams and empty strings. So that's groovy,
6556 * bits/std_istream.h: Tweaks.
6557 * bits/istream.tcc: Implement ws, getline, operator>> for string.
6558 * bits/std_ostream.h: And here.
6559 * bits/ostream.tcc: Same.
6560 * src/misc-inst.cc: Add instantiations for ws.
6562 * src/string-inst.cc: Add instantiations for inserters and
6563 extractors (operators << and >>, getline).
6565 * testsuite/21_strings/inserters_extractors.cc: Amazingly enough,
6566 a testcase for getline and operators << and >>. Ostream tests are
6567 failing right now, but istream tests should work. . .
6569 * bits/string.tcc: Change _S_max_size, as GNU malloc won't budge.
6570 * bits/std_sstream.h: Revert.
6572 * testsuite/17_intro: header_[iosfwd, ios, iostream, iomanip,
6573 istream, ostream, streambuf, fstream, sstream].cc: New files.
6575 1999-06-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6577 * bits/std_sstream.h (stringbuf::sync): Don't use string::begin()
6580 * bits/basic_string.h (basic_string<>::_S_copy_chars): Add
6581 specializations for _CharT*, iterator and const_iterator.
6582 * src/string-inst.cc: Remove explicit instantiation, as
6583 now explicitly specialized.
6585 * bits/basic_string.h: Add a size_type parameter to _M_clone with
6586 a default value set to 0.
6587 * bits/string.tcc: In _M_clone by the call of _S_create add the
6588 value of the new parameter to _M_length. In reserve check
6589 _M_state and use _M_clone instead of _M_mutate.
6591 1999-06-30 Benjamin Kosnik <bkoz@happy.cygnus.com>
6593 * bits/basic_string.h: Fix _S_max_size.
6594 * bits/string.tcc: Add def here.
6595 * testsuite/21_strings/insert.cc: Fix.
6597 * bits/sbuf_iter.h: Remove detritus.
6598 * testsuite/24_iterators/istreambuf_iterator.cc: Add tests.
6600 * src/locale-inst.cc: Elaborate iterator/locale instantiations
6601 to resolve alpha-osf4 build problems.
6603 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
6605 * bits/string.tcc: Fix signed/unsigned issues in compares.
6606 * stl/bits/stl_deque.h: And here.
6607 * stl/bits/stl_string_fwd.h: Remove __get_c_string.
6609 1999-06-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6611 * bits/string.tcc: New implementation and interface of _M_mutate.
6612 Adapt the change in all functions that call _M_mutate.
6613 * bits/basic_string.h: And here.
6615 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
6617 * testsuite/21_strings/capacity.cc (test01): Fix.
6619 1999-06-29 Phil Edwards <pedwards@ball.com>
6621 * mknumeric_limits: Exit script if gen-num-limits isn't built.
6623 1999-06-29 Andreas Gruenbacher <agruenba@pent224.infosys.tuwien.ac.at>
6625 * stl/bits/stl_vector.h: Fix.
6626 * testsuite/23_containers/vector_cons.cc: Add.
6628 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6630 * mknumeric_limits (LDFLAGS): fix.
6632 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6634 * mknumeric_limits (LDFLAGS): set it according to the system.
6636 * math/mathconf.h (NAN): Check whether host is running under
6637 Cygwin and make the appropriate definition.
6638 * math/complex-stub.h (nan): protect declaration.
6640 1999-06-28 Benjamin Kosnik <bkoz@haight.constant.com>
6642 * bits/sbuf_iter.h: Rename internal data structure to prevent
6643 confusion between basic_ios and istreambuf_iterators internal
6644 basic_streambuf data member.
6645 * testsuite/24_iterators/istreambuf_iterator.cc: New file.
6647 * bits/basic_string.h: Remove conditionals, add input_iterator
6648 version of S_construct again.
6649 * bits/string.tcc: Same.
6650 * src/string-inst.cc: And add explicit instantiation here.
6652 * src/gen-c++config.cc (_GNU_SOURCE): Take out both _GNU_SOURCE
6653 and __USE_GNU macro defines, as single __USE_GNU use leading to
6654 confusion on glibc2.1 systems (ie, RedHat 6.0).
6656 * src/Makefile.am (headers): Add std_utility to installed headers.
6658 1999-06-25 John Potter <jpotter@eagle.lhup.edu>
6660 * stl/bits/stl_tree.h (insert_unique): Revert, just fix insert_equal.
6662 1999-06-25 Gilles Zunino <Gilles.Zunino@hei.fr>
6664 * mknumeric_limits (LDFLAGS): Swap -lc and -lgcc.
6666 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6668 * src/gen-c++config.cc (_GLIBCPP_*): Change all
6669 macros to include _GLIBCPP as a distinct namespace.
6673 * stl/bits/std_stdexcept.h: Forward-declare __Named_exception ctor.
6674 * bits/basic_string.h: Remove __get_c_string.
6675 * src/stdexcept.cc: Define ctor here.
6676 * bits/ios_base.h: And fix ios_base::failure as well.
6677 * src/ios.cc: Define here.
6679 * bits/std_streambuf.h: Add a private copy ctor and assignment
6680 operator wrapped in _G_RESOLVE_LIB_DEFECTS.
6681 * bits/ios_base.h: And here too.
6683 * bits/basic_string.h: Tweak.
6684 * testsuite/21_strings/nonmember.cc: Add operator+ tests.
6686 * src/valarray.cc: Rename to. . .
6687 * src/valarray-inst.cc: This.
6688 * src/Makefile.am (sources): Change here.
6689 * src/Makefile.in: Regenerated.
6691 1999-06-24 Vadim Egorov <egorovv@1c.ru>
6693 * bits/string.tcc(basic_string<>::_Rep::_S_create): Fixed
6696 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6697 Tom Tromey <tromey@cygnus.com>
6699 * configure.in (use_glibc2): Eek, correct for non-glibc systems.
6700 Use AM_CONDITIONAL to get us out of this jam. .
6701 * libio/Makefile.am: Same.
6702 * */Makefile: Regenerated.
6704 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6705 John Potter <jpotter@eagle.lhup.edu>
6707 * stl/bits/stl_tree.h (insert_equal): Fix.
6708 * testsuite/23_containers/multiset.cc: New file.
6710 1999-06-23 Benjamin Kosnik <bkoz@cygnus.com>
6712 * configure.in (test for glibc2): Correct AC_TRY_COMPILE so that
6713 this works correctly on glibc-2 systems. This should allow
6714 simplified linking on these systems, and successful linking on Red
6716 * configure, Makefile: Regenerate.
6718 * bits/std_cwctype.h: Add missing 'w' to _S_iswpunct_helper name.
6720 * testsuite/ext: New directory.
6721 * testsuite/ext/headers.cc: New file.
6723 1999-06-23 Vadim Egorov <egorovv@1c.ru>
6725 * stl/ext/hash_set: include missing headers
6726 * stl/ext/hash_map: Same
6727 * stl/ext/slist: Same
6729 1999-06-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6731 * bits/std_cmath.h: comment out modf. Kills build on hpux10.20
6733 1999-06-15 Benjamin Kosnik <bkoz@cygnus.com>
6735 * src/Makefile.am (sources): Regenerate.
6736 * mkcheck: Add TESTS_FILE as a way of controlling what testcases
6739 1999-06-14 Benjamin Kosnik <bkoz@cygnus.com>
6741 * src/string-inst.cc: Change _S_construct signature, to
6742 track requested allocation size versus valid input iterator range.
6743 * bits/basic_string.h: Here too.
6744 * bits/string.tcc: And here.
6746 1999-06-12 Benjamin Kosnik <bkoz@cygnus.com>
6748 * mkcheck (LOG_FILE): Correctly append errors.
6750 * stl/bits/stl_iterator.h: Revert previous, delirious, change.
6752 * bits/basic_string.h: Change _Rep::_M_data to _Rep::_M_refdata,
6753 to clarify differences between basic_string::_M_data() calls and
6754 _Rep::_M_data() calls.
6755 * bits/std_string.h: Fix.
6756 Put in check for out_of_range in substr.
6757 * bits/string.tcc: Fix for _S_find.
6759 * testsuite/21_strings/compare.cc: Add tests.
6760 * testsuite/21_strings/find.cc: New file.
6761 * testsuite/21_strings/substr: New file.
6762 * testsuite/21_strings/replace.cc: New file.
6764 1999-06-11 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6766 * bits/valarray_array.h: __restrict__ify pointers.
6768 * bits/std_valarray.h: Tweak.
6769 (valarray<T>::cshift, valarray<T>::shift): use __builtin_alloca.
6771 * bits/gslice_array.h: Tweak. Reflect changes in bits/gslice.h
6773 * bits/gslice.h: Tweak.
6774 (class gslice::_Indexer): new class.
6775 (gslice::gslice(const gslice&)): implement copy-ctor to support
6777 (gslice::operator=(const gslice&)): support ref-counted index.
6778 (gslice::_M_convert_to_index): delete.
6780 * src/valarray.cc: New file.
6781 (__gslice_to_index): turn a gslice into a valarray<size_t>
6782 (ctor gslice::_Indexer::_Indexer): implement.
6784 * src/Makefile.am (sources): add valarray.cc
6785 * src/Makefile.in: regenerate.
6787 1999-06-08 Benjamin Kosnik <bkoz@cygnus.com>
6789 * stl/bits/stl_iterator.h (__normal_iterator::const_iterator
6790 ctor): Put in a const_cast.
6792 * testsuite/21_strings/invariants.cc: New file.
6794 * testsuite/21_strings/insert.cc: Add exception handling bits.
6795 * testsuite/21_strings/ctor_copy_dtor.cc: Same.
6797 * src/wstring-inst.cc: Add c++config.h include.
6799 * bits/basic_string.h: Fix const operator[] for size == pos.
6800 Add _M_leak for rbegin, non-const.
6801 Add _M_leak for rend, non-const.
6802 Make member function at standards conformant.
6803 Add _S_terminal to _Rep for operator[] const, add this into
6805 * bits/string.tcc: Add static member definition here,
6808 * testsuite/21_strings/element_access.cc: Add tests.
6810 1999-06-08 Vadim Egorov <egorovv@1c.ru>
6812 * bits/fstream.tcc (_M_really_overflow): Fixed size of
6815 1999-06-08 Phil Edwards <pedwards@ball.com>
6817 * bits/fstream.tcc (basic_filebuf::xsputn): Fix off-by-one count
6818 caused when __testinit is true.
6819 * bits/ostream.tcc (basic_ostream::op<<(streambuf*)): Write buffer
6820 using rdbuf()->sputn rather than _M_fnumput->put.
6822 1999-06-08 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6824 * testsuite/23_containers/bitset_ctor.cc: New file.
6825 * stl/bits/std_bitset.h (__BITSET_WORDS): Fix integration bug.
6827 1999-06-08 Phil Edwards <pedwards@ball.com>
6829 * bits/fstream.tcc (basic_filebuf::underflow): Fix, rename local vars.
6831 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6833 * testsuite/21_strings/element_access.cc: Finish off these tests.
6834 * testsuite/21_strings/insert.cc (test01): Uncomment.
6835 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Finish off ctors.
6836 * bits/basic_string.h: Tweak, okay, fix for real this time.
6837 * bits/string.tcc: Same.
6838 * bits/char_traits.h: Tweak.
6840 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6842 * bits/std_cmath.h: Example of how to use the generated macro.
6843 * acconfig.h: Add macro for sinf here.
6844 * configure.in (LIBS): Add test for builtin math function sinf.
6845 * configure: Regenerated.
6847 * bits/basic_string.h: Fix _S_max_size.
6849 1999-06-06 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6851 * bits/basic_string.h: Fixes for out-of-memory segv for large strings.
6852 Remove _S_construct signature for forward_iterator_tag and
6855 * src/string-inst.cc: Same, tweaks.
6856 * bits/string.tcc: Same, tweaks.
6858 * testsuite/21_strings/ctor_copy_dtor.cc: Add/clarify tests.
6859 * mkcheck (LOG_FILE): Fix filebuf-[2,3].tst checks.
6860 * mknumeric_limits (LD_FLAGS): Add -nodefaultlibs -lc -lgcc as per
6863 * src/locale.cc: Final separation for char/wchar_t bits.
6865 1999-06-05 Phil Edwards <pedwards@ball.com>
6867 * docs/index.html: Added link to book upon request'n'agreement.
6868 * docs/23_containers/wrappers_h.txt: Added.
6869 * docs/{23_containers,27_io}/howto.html: Added sections.
6871 * bits/std_fstream.h: Tweak.
6873 1999-06-05 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6875 * src/ios.cc: Same here.
6876 * bits/std_iosfwd.h: More wchar_t defines.
6878 * bits/basic_string.h: Tweaks.
6879 * bits/string.tcc: Tweak. Fix _S_construct to check for max_size
6880 when doing error checking, as per LWG defect #83.
6882 * src/gen-c++config.cc: Fix comment.
6884 * testsuite/21_strings/ctor_copy_dtor.cc: New file, checks ctors,
6886 * testsuite/21_strings/element_access.cc: New file, checks for
6887 operator[], at(...).
6888 * testsuite/21_strings/insert.cc: New file, tests string::insert.
6889 * testsuite/21_strings/char_traits.cc: New file, tests
6890 for char_traits<char>.
6892 * bits/utility.h: Remove, again.
6893 * src/Makefile.am (std_headers): Remove utility.h.
6894 * src/Makefile.in (std_headers): Regenerate.
6896 Alfred Minarik <a8601248@unet.univie.ac.at>
6897 * bits/basic_string.h: Move __out_of_range and __length_error into
6900 1999-06-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6902 * testsuite/26_numerics/modf_float.cc: New file.
6904 * bits/std_cmath.h (modf(float, float*)): Fix signature. Correct
6905 typo: use ::modff, not ::modf.
6907 1999-06-03 Vadim Egorov <egorovv@1c.ru>
6909 * bits/string.tcc (basic_string::_M_mutate): Fixed memory
6911 * testsuite/21_strings/capacity.cc (test01): Test.
6913 1999-06-03 Phil Edwards <pedwards@ball.com>
6915 * bits/fstream.tcc: Re-order inits to stop warnings. Comment/move
6916 unused variables to within #if 0 blocks to do the same.
6917 * bits/std_fstream.h: Fix typos (one prevents compilation).
6919 1999-06-03 Benjamin Kosnik <bkoz@pacifica.cygnus.com>
6921 * src/wstring-inst.cc: Fix.
6923 1999-06-02 Benjamin Kosnik <bkoz@madcow.cygnus.com>
6925 * bits/char_traits.h: Add _G_USE_WCHAR_T macro guards.
6926 * stl/bits/stl_string_fwd.h: Same.
6927 * bits/locale_facets.h: Same.
6928 * bits/locale_facets.tcc: Same.
6929 * src/wstring-inst.cc: And here.
6931 * src/gen-c++config.cc: Comment _G_USE_WCHAR_T. Leading to
6932 problems on HPUX 10.20.
6933 * your-build-directory-here/bits/c++config.h: Just kidding, do it
6934 here as a temporary hack till the compiler/host problems get
6937 * bits/locale_facets.tcc (num_get::do_get): Change from ifdef
6938 HAVE_STRTOLD to HAVE_STRTOLD && !(__hpux). Apparently, problems
6939 converting "long double" to struct long_double. Probably should be
6940 done with one macro (HAVE_STRTOLD) at configure time.
6942 * bits/std_cmath.h: Comment out pow(double, int) defintion as
6943 gives re-declaration under hpux10.20. Revert previous change, as
6944 kills linux/x86, solaris 2.7, hpux builds. These should be done
6945 using autoconf, see std_cctype.h and the solutions started in
6946 configure.in (see config.h for the generated file.)
6948 * mknumeric_limits (LDFLAGS): Remove '-nodefaultlibs -lc', as
6949 -nodefaultlibs prevents linking under HPUX 10.20 as __main is not
6952 * docs/index.html: Add some useful links.
6953 * docs/17_intro/contribute.html: Fix broken links.
6955 1999-06-02 Benjamin Kosnik <bkoz@rhino.cygnus.com>
6957 * mkcheck (LOG_FILE): Add !/bin/bash instead of cygnus-style
6958 paths. The rest of the world should be able to run this script
6961 * src/Makefile.am ($(generated_headers)): Remove comment.
6962 * Makefile*: Regenerate.
6964 * bits/std_locale.h: Remove detritus.
6965 * bits/localefwd.h: Add <cctype> include to undefine the isspace
6968 1999-06-01 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6970 * src/gen-c++config.cc: New file. Making c++config.h at configure
6971 time by catting this file (nee bits/config.h) with the build
6972 directories config.h. This is not a complete or perfect solution
6973 but is better than what was in place previously.
6974 * bits/c++config.h: Rename/move to above.
6975 * src/Makefile.am (headers): Remove c++config.h.
6976 (myinstallheaders). Add.
6977 * Makefile*: Regenerated.
6979 * bits/std_cwchar.h: Add include of c++config.h for HAVE_*
6980 definitions, so that wmemcmp, wcslen, wmemchr, etc are properly
6981 declared only if not present in the host's wchar.h.
6983 * bits/locale_facets.tcc (std): Change _G_USE_STRTO* to HAVE_STRTO*.
6985 * bits/std_cmath.h: Define out, for the moment. Linux has no
6986 __buitin_fsqrtl? Probably need some kind of configure trickery
6989 * src/Makefile.*: Regenerate.
6990 * bits/c++config.h: Add config.h include.
6992 * bits/std_cwchar.h: Remove remaining #error guard.
6994 * acconfig.h: Add bits for HAVE_LC_MESSAGES.
6996 * configure.in (LIBS): Replace previous effort for mbstate_t and
6997 strtold/strtof with this implementation.
6999 1999 06-01 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7001 * bits/std_cmath.h: Tweak. Add more functions. Use __builtin_xxx
7004 1999-05-28 Benjamin Kosnik <bkoz@cygnus.com>
7006 * bits/locale_facets.tcc (std): Eek: this left in. Autoconf bits
7007 for determining mbstate_t differences across various hosts not
7010 1999-05-26 Benjamin Kosnik <bkoz@nabi.net>
7012 * bits/locale_facets.tcc: Change to ifdef.
7014 * bits/std_sstream.h (stringbuf::setbuf): Remove dynamic_cast.
7015 * bits/std_fstream.h (filebuf::setbuf): Same.
7017 * bits/std_istream.h: Add ws declaration.
7018 * bits/istream.tcc: Stub out definition.
7020 * docs/index.html: Fix broken link for design.txt.
7022 * configure.in: Test for mbstate_t. If wchar.h doesn't have it,
7023 then set _G_NEED_MBSTATE_T.
7024 * configure: Regenerate.
7025 * bits/c++config.h: Move mbstate_t define.
7026 * bits/std_cwchar.h: To here.
7028 1999-05-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7030 * bits/std_sstream.h:
7031 basic_stringbuf<>::basic_stringbuf: fix.
7032 basic_stringbuf<>::setbuf:
7033 remove the temporary __string_type object,
7034 remove the unnecessary dynymic_cast in the return value,
7035 change the type of the returned value from __streambuf_type*
7036 to basic_stringbuf<_CharT, _Traits, _Alloc>*.
7038 1999-05-25 Phil Edwards <pedwards@ball.com>
7040 * bits/std_streambuf.h (streambuf::setbuf): Always return streambuf*.
7042 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7044 * bits/std_cmath.h: Tweak. Add float versions of the math functions
7045 in <math.h>. <cmath> still incomplete and incorrekt.
7047 1999-05-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7049 * mknumeric_limits (LDFLAGS): set appropriate link flags.
7051 1999-05-23 Phil Edwards <pedwards@ball.com>
7053 * docs/17_intro/howto.html: Added links to text docs,
7055 * docs/21_strings/howto.html: Updated sections and links.
7056 * docs/21_strings/{gotw29a.txt,stringtok_h.txt}: Added.
7057 * docs/faq/index.html: Updated what-works for sixth
7058 snapshot. Also a number of "internal" links have been
7059 fixed, now that the web pages are the docs directory...
7060 * docs/faq/index.txt: Regenerated.
7062 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7064 * bits/basic_string.h: Add Nathan's documentation on the string class.
7066 * testsuite/27_io/ios_members_static.cc: New file, for testing
7067 ios_base::sync_with_stdio.
7069 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7071 * bits/std_locale.h: Simplify includes.
7072 * bits/loccore.h: Delete.
7073 * bits/localefwd.h: Renamed, trimmed.
7074 * bits/locfacets.h: Delete.
7075 * bits/locale_facets.h: Rename, expanded.
7076 * bits/loccore.tcc: Deleted.
7077 * bits/locfacets.tcc: Deleted.
7078 * bits/locale_facets.tcc: Resultant merge.
7079 * bits/std_fstream.h: Modify include.
7080 * bits/ostream.tcc: Same.
7081 * bits/istream.tcc: Same.
7083 * src/locale-inst.cc: And here.
7084 * src/locale.cc: Ditto.
7085 * src/Makefile.am: Updated.
7086 * src/Makefile.in: Rengenerated.
7088 * bits/std_istream.h: Move istream::sentry ctor definition.
7089 * bits/istream.tcc: Move istream::sentry ctor here.
7090 Add more detailed locale include here for ctype member functions.
7091 * bits/ostream.tcc (std): And here.
7093 * bits/sbuf_iter.h: Include std_streambuf.h
7095 * bits/locfacets.h: Start separating this into a localeimp.h file.
7096 * bits/loccore.h: Start separating this into a localefwd.h file.
7097 Add std_climits for CHAR_BIT.
7099 * bits/ios_base.h (ios_base::sync_with_stdio): Stub in.
7101 * bits/char_traits.h: Tweak.
7103 * bits/ios_base.h: Remove INT_MAX, use 1<<16.
7105 * bits/std_ostream.h: Remove c++config.h include.
7106 * bits/std_istream.h: Same.
7107 * bits/std_streambuf.h: Same.
7108 * bits/std_fstream.h: Same.
7109 * bits/std_sstream.h: And here.
7111 * bits/std_iosfwd.h: Add _G_RESOLVE_LIB_DEFECTS here for streampos.
7112 * bits/char_traits.h: Add include of std_cwchar.h for mbstate_t.
7113 * bits/fpos.h: Tweak, format.
7115 * std/ciso646: New file.
7116 * bits/std_ciso646.h: New file.
7117 * src/Makefile.am (std_headers): Add ciso646.
7118 (headers): Add bits/std_ciso646.h.
7119 * src/Makefile.in: Regenerate.
7120 * testsuite/17_intro/header_ciso646.cc: New file, disable
7123 * bits/fpos.h: Remove libio.h include.
7124 * bits/basic_file.h: And here.
7125 * bits/std_ios.h: Put here.
7127 * src/ios.cc: Simplify includes, tweak.
7128 * bits/std_ios.h: Simplify include order.
7129 * bits/ios_base.h: Modify ios_base::failure.
7131 * stl/bits/std_numeric.h: Change include from stl_iterator to
7134 1999-05-19 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7136 * std/iostream: Remove static member __ioint.
7137 * bits/std_iostream.h: Put here.
7139 * stl/bits/std_numeric.h: Remove unneccessary std_iostream.h include.
7140 * stl/bits/stl_algobase.h: Same.
7141 * testsuite/27_io/iostream_objects.cc: Regression tests.
7142 * testsuite/27_io/hello.cc: Remove, subset of above.
7144 1999-05-19 Phil Edwards <pedwards@ball.com>
7146 * docs/index.html: Tweak, update.
7148 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7150 * docs/17_intro/RELEASE-NOTES: remove outdated
7151 documentation about numeric_limits. Correct CXXINCLUDE setting
7154 1999-05-18 Phil Edwards <pedwards@ball.com>
7156 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
7157 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
7158 27_io}/howto.html: Created, with some initial entries.
7159 * docs/faq/index.html: Fixed some links.
7160 * docs/faq/index.txt: Regenerated.
7162 1999-05-18 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7164 * bits/c++config.h (__GLIBCPP__): Set version to 19990518.
7166 * docs/17_intro/RELEASE-NOTES: Update.
7167 * docs/index.html: Correct link to mailing list help page, update News.
7168 * docs/faq/index.html: Change fifth to sixth for snapshot.
7170 * src/Makefile.am (myinstallheaders): Bring over Gaby's changes to
7171 install $(top_builddir)/bits/std_limits.h into
7172 $(myincludepfx)/bits. This was mistakenly omitted from yesterday's
7173 Makefile.am changes.
7174 * *Makefile*: Regenerate using automake.
7176 * mkcheck (LOG_FILE): Fix filebuf directory oddness.
7177 * testsuite/27_io/filebuf.cc: Same.
7179 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7181 * docs/17_intro/CHECKLIST: update.
7182 * docs/17_intro/TODO: update.
7184 1999-05-17 Phil Edwards <pedwards@ball.com>
7186 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
7187 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
7188 27_io}/howto.html: Created, with some initial entries.
7189 * docs/faq/index.html: Fixed some links.
7190 * docs/faq/index.txt: Regenerated.
7192 1999-05-17 Benjamin Kosnik <bkoz@unhappy.cygnus.com>
7194 * src/Makefile.am (myinstallheaders): Missed removing missing.h.
7195 * Makefile.in*: Regenerate.
7197 1999-05-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
7199 * bits/std_streambuf.h: Same.
7201 * bits/loccore.h (_Bad_use_facet): Remove bits warned about.
7202 * bits/locfacets.h (std): Same.
7203 * bits/sstream.tcc: Same.
7204 * testsuite/27_io/stringstream.cc: Tweak.
7206 * testsuite/27_io/filebuf.cc: Adjust.
7207 * testsuite/21_strings/capacity.cc (test01): Add more
7208 string::reserve tests.
7210 * bits/c++config.h: Remove broken CCTYPE.
7211 * bits/std_cctype.h: Tweak, remove de-macroization, enable
7212 sequestered topper implementation.
7213 * bits/std_cwctype.h: Same.
7215 * bits/missing.h: Remove.
7216 * bits/std_locale.h: Remove missing.h include.
7218 * stl/bits/std_bitset.h (bitset::bitset(string): Tweak to compile.
7220 * src/Makefile.am (headers): Add bits/std_cwctype.h.
7221 INCLUDES: Add top_builddir.
7222 * src/Makefile.in: Regenerate.
7224 * Makefile.am: Add check and check-install as new targets.
7225 * testsuite/make_check_libfree++: Move to. . .
7227 * configure.in: Tweak versions.
7228 * mknumeric_limits: Set paths correctly.
7230 1999-05-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7232 * src/Makefile.in (myinstallheaders): add rule to install
7235 * bits/slice.h (class slice): don't const-qualify data members
7236 since the copy and assignment operator is implicitly used. The
7237 valarray specification is definitively a bad one.
7239 * Makefile.in (generate-limits-sources): fix typo.
7241 * docs/text/TODO: update.
7242 * docs/text/CHECKLIST: update.
7244 * bits/gslice.h (gslice): fix bugglet.
7245 (gslice::gslice): set _M_index_size to 0 whenever given lengths
7248 * src/Makefile.am (libstdc___la_SOURCES): add gen-num-limits.
7249 * src/Makefile.in (libstdc___la_SOURCES): keep in sync.
7250 [Note: **/Makefile.in should be generated from the corresponding
7251 Makefile.am. The current situation is a litte chaotic. ]
7253 1999-05-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7255 * mknumeric_limits: tweak.
7257 * Makefile.in (all): add target generate-limits-sources.
7258 (generate-limits-sources): make a directory bits/ in top_builddir
7259 where the generated std_limits.h is put; generate limitsMEMBERs.cc
7260 directly under $(top_builddir)/src. Remains to put the appropriate
7261 rule for installing std_limits.h.
7263 * src/Makefile.in (headers): remove bits/std_limits.h to this list.
7264 (INCLUDES): add -I$(top_builddir) for bits/std_limits.h which is
7265 now generated at build-time in the build directory
7266 (libstdc___la_SOURCES): remove limitsMEMBERS.cc form this list
7267 * src/Makefile.am: reflect changes in src/Makefile.in
7269 1999-05-12 Phil Edwards <pedwards@ball.com>
7271 * docs/faq/index.html: Add more entries (5.4,5.5), finish
7272 all but one empty entry. Add links for HOWTOs, but no files yet.
7273 (Corrected HOWTO links are for bkoz's new scheme.)
7274 * docs/faq/index.txt: Regenerated.
7276 1999-05-12 Benjamin Kosnik <bkoz@happy.cygnus.com>
7278 * testsuite/17_intro/headers.cc: New file.
7279 * stl/bits/std_queue.h: Change stl_bvector.h include path.
7280 * bits/std_cwctype.h: New file.
7282 * testsuite/27_io/filebuf.cc: Need to tweak directory structure.
7284 1999-05-11 Benjamin Kosnik <bkoz@loony.cygnus.com>
7286 * stl/bits/stl_config.h (__USE_MALLOC): Change underlying allocator.
7287 Check __USE_MALLOC before defining specializations containing
7288 __default_alloc_template.
7289 * src/stl-inst.cc: Here too.
7291 * bits/basic_string.h: Change.
7293 * testsuite/make_check_libfree++: More tweaks.
7294 * testsuite/21/capacity.cc: New file.
7296 * src/string.cc: Rename to be consistent with other inst files.
7297 Rename to string-inst.cc.
7298 * src/string*.cc: Change include.
7299 * src/wstring.cc: Rename to wstring-inst.cc.
7300 * src/wstring*.cc: Ditto.
7301 * src/Makefile.in: Also here.
7302 * src/Makefile.am: Ditto.
7304 * src/traits.cc: Remove.
7305 * src/wtraits.cc: Same.
7307 Try a new way of organizing documentation, one with synchronicity
7308 between testsuites and docs subdirectories, and see who yelps.
7309 * docs/html: Remove, use chapter and subject specific directories
7310 instead of forcing things immediately into format of
7314 * docs/faq/text, docs/faq/html: Remove, put in the docs/faq
7315 directory and sort by filename and extension.
7316 * docs/17_intro, 18_support, 19_diagnostics, 20_util, 21_strings,
7317 22_locale, 23_containers, 24_iterators, 25_algorithms,
7318 26_numerics, 27_io: Add.
7319 * docs/17_intro/*: Populate with all the text files. . .
7320 * docs/index.html: Construct.
7322 * testsuite/*: Update with same names as the docs subdir.
7323 * testsuite/results: Where to stash conformance results for the
7324 different snapshots, so that progress/size/speed issues can be
7327 1999-05-10 Benjamin Kosnik <bkoz@loony.cygnus.com>
7329 * src/string.cc: Add _S_copy_chars instantiation, as well as
7330 string::binary operators !=, ==, etc.
7332 * src/Makefile.am (CXXFLAGS): Remove -fvtable-thunks.
7333 * src/Makefile.in (CXXFLAGS): Same here.
7334 * testsuite/make_check_libfree++ (CXX_FLAG): And here.
7336 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
7338 * src/string.cc: Add missing member functions to instantiation list.
7340 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
7342 * src/misc-inst.cc: Remove unused string instantiations.
7344 * bits/string.tcc: Tweak, fix.
7345 * bits/basic_string.h: Format. Fix reported error with c_str().
7347 * testsuite/make_check_libfree++: Tweak for shared builds.
7348 * testsuite/21/operations.cc: New file for testing c_str() etc.
7350 1999-05-06 Benjamin Kosnik <bkoz@cygnus.com>
7351 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7353 * stl/bits/stl_vector.h: Fix the code of vector<> for usage with
7354 an iterator class. Delineate pointer versus iterator differences
7356 * 23/vector_capacity.cc: New file, tests for above.
7358 1999-05-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7360 * mknumeric_limits: Fix typo. 'unsigned lont' should read
7362 * src/Makefile.am (libstdc___la_SOURCES): add limitsMEMBERS.cc,
7363 generated by mknumeric_limits to the list. Now std_limits.h is
7365 * src/Makefile.in (generate-numeric-limits): new target to handle
7366 automatic generation of bits/std_limits.h and src/limitsMEMBERS.cc.
7367 (all): add target generate-numeric-limits.
7368 (libstdc___la_OBJECTS): add limitsMEMBERS.lo
7369 (libstdc___la_SOURCES): add limitsMEMBERS.cc
7371 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
7374 * bits/c++config.h (_G_USE_CTYPE_ISBIT): Defines new macro for
7375 mask values in ctype_base. Move hacks for _ISBit to locfacets.h.
7376 * bits/locfacts.h: Here.
7378 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
7379 Ulrich Drepper <drepper@cygnus.com>
7381 Solaris build issues.
7382 * bits/c++config.h: Define new macros, _G_USE_STRTOF and
7385 * bits/locfacets.tcc (num_get::do_get): Tweak long double and
7386 float overloads to use the above macros. Account for the lack of
7387 strtold on some systems, and revert back to using sscanf.
7389 1999-05-04 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7391 * bits/locfacets.tcc (num_get::do_get): Check the errno variable.
7392 Use strtoul/strtoull for unsigned types. Check the ranges for
7393 short/unsigned short and if necessary for int/unsigned int.
7395 1999-05-04 Benjamin Kosnik <bkoz@cygnus.com>
7397 * src/gen-num-limits.cc (round_style): Need to use mknumericlimits
7398 to generate bits/std_limits.h now, as the SGI std_limits.h is
7399 being depricated. Not done, but should be done immediately: need
7400 to make sure this script is run as part of the configuration
7401 process, because without it "make" in a configured build directory
7402 will fail. Also tweaked: added a space for float_round_style, and
7403 used static_cast of zero to default-initialize, which should be ok
7404 according to the standard. (see 8.5 p5 and 20.1.3).
7405 * mknumeric_limits (OUT_C): Need this for x86 long
7408 * bits/basic_file.h: Include libio.h, not libioP.h.
7409 * src/basic_file.cc: And add libioP.h include here, so that
7410 _IO_init, et. al are well-declared.
7412 * testsuite/make_check_libfree++ (LIB_PATH): Test installed
7413 headers, not source directory headers.
7415 * src/Makefile.am (headers): Add stl_range_errors.h, also adjust
7416 for ext/*. Also add basic_file.h.
7417 * src/Makefile.in (headers): Same.
7419 * bits/std_string.h: Reduce dependencies for faster
7420 pre-processing. Move istream and ostream specific defines into
7421 istream.tcc and ostream.tcc respectively.
7422 * bits/string.tcc: And here.
7423 * bits/basic_string.h: Move getline inline out-of-line, and to
7425 * bits/istream.tcc: Move string::getline and operator>> here.
7426 * bits/ostream.tcc: And here too.
7428 * bits/utility.h: Remove, as clashes with a standard header. Put
7429 __OUTOFRANGE and __LENGTHERROR macros into string.tcc for the time
7430 being, until this can be combined with SGI's approach.
7431 * bits/string.tcc: Add macros, as above.
7432 * bits/loccore.h: Add _Count_ones defines.
7433 * bits/std_string.h: And here too.
7434 * bits/std_locale.h: And here.
7435 * bits/std_ios.h: Take out include here.
7436 * src/Makefile.am (headers): Remove utility.h
7437 * src/Makefile.in (headers): Remove utility.h
7439 * stl/bits/*: Update to SGI STL 3.20.
7440 * stl/ext/pthread_alloc: Delete this file.
7442 1999-05-04 Phil Edwards <pedwards@ball.com>
7444 * docs/faq/html/index.html: Add more entries
7445 * docs/faq/html/index.txt: regenerated.
7447 1999-05-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7449 * src/gen-num-limits.cc (DO_DEFINE_MIN_MAX): fix typo.
7451 1999-04-29 Benjamin Kosnik <bkoz@haight.cygnus.com>
7453 * bits/locfacets.tcc (num_get::do_get): Re-implement, with input
7454 from Ulrich and Nathan. Remove extraneous string class usage,
7455 tweak, clean, simplify and consolidate with a eye towards removing
7456 duplcate code. Use strto[l, ll, f, d, ld] instead of sscanf.
7457 Not done: dealing with leading zeros, wchar_t work.
7458 * bits/locfacets.h: And here too.
7462 1999-04-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7465 * docs/faq/: New directory.
7466 * docs/faq/html/: Likewise.
7467 * docs/faq/text/: Likewise.
7468 * docs/faq/html/index.html: New file.
7469 * docs/faq/html/index.txt: Likewise. Generated from
7470 docs/faq/html/index.html by lynx.
7472 1999-04-28 Benjamin Kosnik <bkoz@happy.cygnus.com>
7473 Ryszard Kabatek and Branko Cibej
7475 * bits/locfacets.tcc: Modify.
7477 1999-04-27 Benjamin Kosnik <bkoz@happy.cygnus.com>
7479 * bits/sbuf_iter.h: Clean, fix istreambuf_iterator, make
7480 conformant to 14882, wrap non-standard extensions with
7481 _G_RESOLVE_LIB_DEFECTS, remove detritus and cruft, rennovate.
7482 * bits/locfacets.tcc (num_get::do_get(bool)): Return correct iterator.
7484 * testsuite/27/istringstream_formatted.cc: Add tests.
7486 * bits/locfacets.h: Remove cruft from _Format_cache, continue
7487 commenting, simplify.
7488 * bits/locfacets.tcc: Same.
7490 1999-04-27 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7491 * bits/locfacets.tcc (num_get::do_get):
7492 Fix the sscanf format parameter
7493 for long long 'll' (as in C9X) instead of 'l'.
7494 Fix the order of sscanf format parameters: "%dl" --> "%ld".
7495 Change the type of the local variable '__conv' from 'string'
7496 to 'const char*' and adapt the change.
7498 1999-04-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7500 * bits/locfacets.h: Document _Format_cache, and name data members
7501 after the corresponding functions in numpunct. For instance:
7502 _M_grsep -> _M_thousands_sep, and _M_decsep -> _M_decimal_point.
7503 Break apart _M_boolnames{2] into _M_truename and _M_falsename.
7504 * bits/locfacets.tcc: Same.
7506 * bits/locfacets.h (num_get::_M_extract): Don't allow groupings to
7507 stop parsing--store for later analysis.
7508 * testsuite/27/istringstream_formatted.cc: Add cases.
7510 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7512 * bits/valarray_meta.h: tweak.
7513 (_UnFunBase, _BinFunBase, _BinFunBase1, _BinFunBase2, _BinBase1,
7514 _BinFunBase2): rename typedef-name _Tp to _Vt to keep the compiler
7515 happy -- boggus warning.
7516 * bits/std_valarray.h: Fix.
7517 (valarray<T>::shift): Fix. Update comment.
7518 (valarray<T>::cshift): Fix.
7520 1999-04-23 Benjamin Kosnik <bkoz@cygnus.com>
7522 * testsuite/27filebuf-2.txt: Delete.
7523 * testsuite/27/filebuf.cc: Put output files directly into the
7524 correct subdirectory (27).
7526 Alexandre Petit-Bianco <apbianco@cygnus.com>
7527 * testsuite/make_check_libfree++: Check generated (*.txt) file
7528 against stored results file (*.tst).
7530 1999-04-22 Benjamin Kosnik <bkoz@nabi.net>
7532 * bits/locfacets.tcc: Fix.
7534 * bits/fstream.tcc (filebuf::seekoff): Output current out pointer.
7535 (filebuf::overflow): Simplify.
7536 (filebuf::xsputn): Correctly handle indeterminate state.
7538 * testsuite/27/istringstream_formatted.cc: Tweak.
7539 * testsuite/27/filebuf.cc: Tweak.
7540 * testsuite/27/filebuf-3.tst: Correct: this is the canonical
7541 results file, please use this in the future to guarantee filebuf
7542 positioning accuracy.
7543 * testsuite/27/filebuf-2.tst: Same.
7545 1999-04-21 Benjamin Kosnik <bkoz@cygnus.com>
7547 * bits/fstream.tcc (filebuf::xsputn): Add.
7548 * bits/std_fstream.h: Declare.
7550 * src/basic_file.cc (__basic_file::open): Add O_CREAT to open
7551 calls using ios_base::trunc.
7553 * bits/sstream.tcc (streambuf::overflow): Fix crasher.
7555 * testsuite/make_check_libfree++ (LOG_FILE): Ugh. Another fix.
7556 * testsuite/27/27stringstream.cc: Same.
7557 * testsuite/27/27stringbuf.cc: More tweaks.
7558 * testsuite/27/27filebuf-2.txt: Remove.
7560 * testsuite/27/27filebuf-1.tst: Append, to force byte size over
7561 BUFSIZE so that overflows/underflow can be tested with default
7563 * testsuite/27/27filebuf-1.tst: Add.
7565 * testsuite/*/*: Remove pre-pended chapter names, as they
7566 duplicate the chapter info contained in the enclosing directory
7569 1999-04-20 Benjamin Kosnik <bkoz@cygnus.com>
7571 * bits/streambuf.tcc (streambuf::xsputn): Re-implement to conform
7572 to sputc conditions.
7574 * bits/ios_base.h: Define here.
7575 * src/ios.cc (ios_base::_M_clear): Remove hack.
7576 * bits/basic_ios.h: Fix rdstate().
7578 * bits/sstream.tcc (streambuf::seekoff): Fix.
7579 * bits/fstream.tcc (filebuf::seekoff): Tweak comments.
7581 * testsuite/make_check_libfree++ (LOG_FILE): More c-c-c-changes.
7582 * testsuite/24/24iterator.cc: Add/Fixes for DEBUG_ASSERT.
7583 * testsuite/27/27stringstream.cc: Same.
7584 * testsuite/27/27stringbuf.cc: Same.
7585 * testsuite/27/27istringstream_formatted.cc: Same.
7586 * testsuite/27/27filebuf.cc: Same.
7588 * bits/locfacets.h: Remove specializations for messages<char> and
7589 messages<wchar_t> ctors. Same for moneypunct. Not required, not used.
7590 * src/locale.cc: Remove definitions for above.
7591 * src/misc-inst.cc: Revert, take out iomanip.h include.
7592 * bits/std_iomanip.h: Tweak, format.
7594 1999-04-19 Benjamin Kosnik <bkoz@cygnus.com>
7596 * bits/loccore.h: Format, move inline.
7597 * bits/locfacets.tcc: Same.
7598 * bits/locfacets.h: Same.
7600 Ulrich Drepper <drepper@cygnus.com>
7601 * aclocal.m4: Re-generate.
7602 * configure, configure.in: Same.
7603 * m4/lc_messages.m4: New file.
7605 1999-04-18 Benjamin Kosnik <bkoz@cygnus.com>
7607 * bits/std_ostream.h: Fix typedef for wchar_t instantiations.
7608 * bits/sstream.tcc: Tweak.
7610 * std/iostream: Put __ioinit inside macro guards.
7612 * src/stlinst.cc: Delete and move to . . .
7613 * src/stl-inst.cc: New file, plus wrapping in namespace std.
7614 * src/Makefile.in: Change.
7615 * src/Makefile.am: Same.
7616 * src/misc-inst.cc: Add istringstream/ostringstream instantiations.
7618 * testsuite/make_check_libfree++: Efficiently format for minimal
7619 space. Enforce stricter execution tests by enabling
7622 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
7624 * docs/text/RELEASE-NOTES: Fix include typo.
7626 * src/Makefile.am (headers): Add istream.tcc.
7627 * src/Makefile.in (headers): Add istream.tcc.
7629 * ltconfig, ltmain.sh, libtool: Update to libtool-1.2g.
7631 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
7633 * bits/locfacets.tcc (num_get::do_get(long)): Finish roughing in.
7634 * bits/locfacets.h (num_get::_M_extract): New functin:
7635 consolidate logic for do_get(...) members.
7637 * bits/sbuf_iter.h (istreambuf_iterator::operator++()): Fix.
7638 * testsuite/27/27istringstream_formatted.cc: Add.
7640 1999-04-16 Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de>
7642 * src/basic_file.cc (__basic_file::open): Fix thinko in
7643 _G_HAVE_IO_FILE_OPEN bits.
7644 * bits/std_istream.h (sentry::sentry(istream, bool)): Fix isspace bug.
7645 * bits/std_cmath.h: Add stdlib.h include for ldiv_t.
7646 * src/complex.cc (FCT): Qualify all functions with global namespace.
7647 * src/locale.cc: Don't qualify memcpy and setlocale.
7648 * src/stdexcept.cc (__out_of_range): Qualify out_of_range with std::.
7649 (__length_error): Likewise, for length_error.
7650 * src/stlinst.cc: Qualify instantiations with std::.
7652 1999-04-15 Benjamin Kosnik <bkoz@cygnus.com>
7654 * C++STYLE: Add ChangeLog guidelines for member functions.
7657 * BADNAMES, BUGS, C++STYLE, CHECKLIST, COPYING,
7658 DESIGN, HEADER_POLICY, PROBLEMS, RELEASE-NOTES, TODO: Moved into
7659 docs/text and made less strident.
7661 * bits/fstream.tcc: Change non-standard ctor to match Sun's sematics.
7662 * bits/std_fstream.h: Same.
7665 * bits/locfacets.h: Touch.
7667 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
7669 * math/cexp.c (cexp): Use NAN instead of nan("").
7670 Reported by joel reed <joelreed@yahoo.com>.
7672 * libio/libioP.h: Define _IO_seek_fpos_t and _IO_seek_off_t based on
7673 _G_IO_IO_FILE_VERSION. Use these types in the prototypes.
7674 * libio/fileops.c: Use _IO_seek_fpos_t and _IO_seek_off_t types
7675 instead of #if cascades.
7676 * libio/genops.c: Likewise.
7677 * libio/ioseekoff.c: Likewise.
7678 * libio/ioseekpos.c: Likewise.
7679 * libio/strops.c: Likewise.
7680 Patch by Chip Salzenberg <chip@perlsupport.com>.
7682 1999-04-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7684 * docs: New directory.
7685 * docs/html: Likewise.
7686 * docs/text: Likewise.
7687 * docs/image: Likewise.
7689 * bits/std_cmath.h: Add new functions.
7690 (abs): overload for long and double.
7691 (div): overload for long.
7693 * bits/valarray_array.h: Fix.
7694 * bits/gslice.h: Adjust friend.
7695 * bits/slice_array.h: likewise.
7696 * bits/valarray_meta.h: likewise.
7698 1999-04-13 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7700 * bits/locfacets.h: More changes, for num_get for insertion
7701 operators for integral types. Comment fields in _Format_cache.
7702 * bits/locfacets.tcc: And here too: add preliminary long version.
7703 * testsuite/27/27istringstream_formatted.cc: Add cases.
7705 1999-04-13 Mark Elbrecht <snowball3@usa.net>
7707 * configure.in: Add locale.h to AC_CHECK_HEADERS argument. Call
7708 AC_LC_MESSAGES macro.
7709 * aclocal.m4 (AC_LC_MESSAGES): New. Determines if a target
7710 supports LC_MESSAGES.
7711 * config.h.in: Add entry for HAVE_LC_MESSAGES.
7712 * src/locale.cc (locale::_S_normalize_category): Use the
7713 HAVE_LC_MESSAGES macro to check for LC_MESSAGES support instead of
7714 _G_NO_CLOCALE_HAS_MESSAGES.
7715 * aclocal.m4 (AM_PROG_LD): For DOS style paths, simplify test to
7716 '?:' from '?:\\' so any path beginning with a drive name matches.
7718 1999-04-12 Mark Elbrecht <snowball3@usa.net>
7720 * src/basic_file.cc(sys_open) [O_BINARY]: Declare __testb.
7722 1999-04-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7724 * bits/locfacets.h: Tweak.
7725 * bits/locfacets.tcc(do_get): Clean/fix bool method.
7727 * testsuite/21/21nonmember.cc: Same.
7728 * testsuite/21/21compare.cc: Fix license.
7729 * testsuite/27/27istringstream_formatted.cc: New file.
7731 1999-04-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7733 * bits/valarray_meta.h: _BinFunBase1, _BinFunBase2, _BinBase1,
7734 _BinBase2: new template classes; put in there to work around a
7735 compiler limitation. The whole valarray architecture is now
7738 1999-04-08 Benjamin Kosnik <bkoz@haight.constant.com>
7740 * bits/locfacets.tcc: Fix, format.
7741 * bits/locfacets.h: Fix.
7742 * src/locale.cc: Same, plus format.
7744 * bits/basic_string.h: Re-add definition here.
7745 * src/string.cc: Take out.
7747 1999-04-08 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7749 * bits/std_valarray.h: tweak.
7750 * bits/valarray_array.h tweak. use _Expr.
7751 * bits/slice_array.h: likewise.
7752 * bits/gslice_array.h: likewise.
7753 * bits/mask_array.h: likewise.
7754 * bits/indirect_array.h: likewise.
7755 * bits/valarray_meta.h: tweak.
7756 _UnFunBase, _UnFunClos, _BinFunBase, _FunBase, _ValFunClos,
7757 _RefFunClos, _UnBase, _UnClos, _BinBase, _BinClos, _SClos, _GClos,
7758 _IClos: new template classes.
7759 _Meta: renamed to _Expr. Made template with args.
7760 _Constant: made template with two args.
7762 1999-04-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7764 * bits/valarray_array.h: tweak.
7766 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
7768 * bits/basic_string.h: Whoops--fix blip.
7770 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
7772 Update to SGI STL 3.13
7773 * bits/basic_string.h: Add __get_c_string definition.
7774 * stl/bits/stl_range_errors.h: New file.
7775 * stl/bits/std_bvector.h: Same.
7776 * stl/bits/*: Update.
7778 1999-04-04 1999 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7780 * bits/slice_array.h: tweak.
7781 * bits/gslice_array.h: tweak.
7782 * bits/mask_array.h: tweak.
7783 * bits/indirect_array.h: tweak.
7784 * bits/valarray_array.h: tweak.
7785 (__valarray_copy): replace copy with memcpy.
7786 * bits/std_valarray.h: use __valarray_copy whenever possible.
7787 use __valarray_fill instead of fill.
7789 1999-04-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7791 * src/gen-num-limits.cc: new file
7792 * mknumeric_limits: Ditto.
7794 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
7796 * bits/locfacets.tcc: Do a stub version of num_get for short, int,
7798 * bits/locfacets.h: Add num_get::get methods overloaded for int
7799 and short, to resolve ambiguous overloads in istream insertion
7802 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
7804 * bits/std_istream.h: Fix.
7805 * bits/istream.tcc: Fix.
7807 1999-03-30 Philip Martin <pm@corris.dircon.co.uk>
7809 * testsuite/24/24iterator.cc: fix ++/-- tests
7811 1999-03-29 Benjamin Kosnik <bkoz@cygnus.com>
7813 * bits/std_ostream.h: Looks like this, actually: Fix up eh-isms.
7814 * bits/ostream.tcc: Same.
7816 * bits/std_istream.h: Bring over ostream changes, implement member
7817 functions. Baseline.
7818 * bits/istream.tcc: New file.
7820 1999-03-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7822 * bits/gslice.h (class gslice): fix friends template.
7824 1999-03-23 Benjamin Kosnik <bkoz@cygnus.com>
7826 * bits/std_ostream.h: Fix sentry objects, implement seekp, tellp,
7828 * bits/ostream.tcc: Same.
7830 * bits/std_istream.h: Minor tweaks.
7832 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
7834 * src/locale-inst.cc: Remove duplicate instantiations.
7835 * bits/locfacets.tcc: Tweak definitions of static member.
7837 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
7839 * bits/std_fstream.h: Format: prepend "__" in front of
7840 non-standard typedefs.
7841 * bits/fstream.tcc: Match.
7842 * bits/std_streambuf.h: Format: prepend "__" in front of
7843 non-standard typedefs.
7845 * bits/sstream.tcc: Match.
7846 * bits/std_istream.h: Format.
7847 * src/locale-inst.cc: Add num_get instantiations.
7849 * bits/std_sstream.h: Fix crash in stringstreams. Remove member
7850 _M_sb, a basic_stringbuf object, and use the basic_ios pointer
7851 _M_streambuf instead. Make initializations sane. Fix
7852 allocation/deallocation of _M_streambuf.
7853 * bits/std_ostream.h: Fix initialization code.
7854 (ctor): Eliminate redundant this->init(), let base class initialize.
7855 (default ctor): New. Assume base classes already initialzed.
7856 * bits/std_istream.h: Parallel work to ostream.
7857 (ctor): Eliminate redundant this->init(), let base class initialize.
7858 (default ctor): New. Assume base classes already initialzed.
7859 Fix initialization of basic_iostream.
7861 * bits/std_fstream.h: While we're at it, make initializations sane
7862 here too. Now matches sstream.h.
7864 * bits/string.tcc: Fix crash in basic_string::compare.
7865 * bits/basic_string.h: And here.
7866 * bits/c++config.h: Add comment about _G_USE_EXCEPTIONS.
7868 * testsuite/make_check_libfree++: Check shared as well.
7869 * testsuite/27/27stringstream.cc: Add bits.
7870 * testsuite/27/27boolfmt.cc: Add bits.
7871 * testsuite/27/27octfmt.cc: Add bits.
7873 1999-03-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
7875 * configure.in (USE_LONG_DOUBLE): signbitl link error.
7877 * bits/locfacets.h: Fix errors that cause build problems
7878 with current egcs (template parameters have class scope).
7879 * bits/locfacets.tcc: Same.
7880 * src/locale-inst.cc: Same, clean.
7881 * src/misc-inst.cc: Same, clean.
7883 1999-03-17 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7885 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
7886 standard. Re-apply this previous patch.
7888 1999-03-17 Philip Martin <pm@corris.dircon.co.uk>
7890 * bits/basic_string.h: Use __normal_iterator<> for iterators.
7891 * bits/std_sstream.h: Support __normal_iterator<> iterators.
7892 * bits/string.tcc: Ditto.
7893 * src/misc-inst.cc: Ditto.
7894 * src/locale-inst.cc: Ditto.
7895 * stl/bits/stl_iterator.h: Add __normal_iterator<>.
7896 * stl/bits/stl_vector.h: Use __normal_iterator<> for iterators.
7897 * testsuite/24/24iterator.cc: Add test cases for basic_string and
7900 1999-03-16 Benjamin Kosnik <bkoz@cygnus.com>
7902 * bits/locfacets.tcc: Remove macro hack.
7903 * bits/locfacets.h: Tweaks.
7904 * src/misc-inst.cc: Weed out locale-related instantiations.
7905 * src/locale-inst.cc: Same.
7907 * RELEASE-NOTES: Make more changes.
7908 * bits/c++config.h: Bump version number.
7910 * testsuite/make_check_libfree++: Collect diagnostics.
7912 * bits/std_ostream.h: Fix ostream initialization/destruction
7913 problem, related to dtor cleanup and new cached facets, agggggggh.
7914 * bits/ostream.tcc: Tweak.
7915 * bits/locfacets.h: Remove all friends of iostream classes.
7916 * bits/ios_base.h: Same.
7917 * bits/streambuf.tcc: Tweak.
7918 * bits/std_streambuf.h: Tweak.
7919 * bits/std_fstream.h: Tweak.
7920 * bits/fstream.tcc: Tweak.
7921 * src/stdstreams.cc: Tweak.
7922 * src/ios.cc: Close streams.
7924 * math/Makefile.in: Add missing files for shared link errors.
7925 * math/Makefile.am: Same.
7927 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
7929 * src/locale-inst.cc: More wchar_t instantiations.
7930 * src/misc-inst.cc: Missed a few bits.
7931 * testsuite/make_check_libfree++: Add static and shared runs.
7932 * src/ios.cc: Add clarity to ios_base::Init::~Init().
7934 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
7936 * bits/std_ostream.h: Format, expunge, simplify. Add cached
7937 facets. Resolve link errors.
7938 * bits/ostream.tcc: Same.
7939 * src/misc-inst.cc: Add ostream, wostream instantiations.
7940 * src/Makefile.am: Add missing bits for stdstreams.cc.
7941 * src/Makefile.in: Same.
7942 * bits/std_iosfwd.h: Format.
7943 * bits/locfacets.h (num_put): Add basic_ostream as a friend to
7944 num_put so that cached _M_fnumput pointer can be deleted in
7945 basic_ostream's dtor. Now everybody plays nice.
7947 1999-03-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7949 * bits/gslice.h (class gslice): Make friends valarray,
7950 gslice_array and _GliceExpression.
7952 1999-03-11 Benjamin Kosnik <bkoz@cygnus.com>
7954 * RELEASE-NOTES: Update.
7955 * src/ios.cc: Use do proper init.
7956 * bits/std_streambuf.h: Tweak.
7957 * bits/std_iostream.h: Take out static member.
7958 * std/iostream: Put here.
7959 * bits/std_ostream.h: Non-default ctor shouldn't smash _M_streambuf.
7960 * bits/std_istream.h: Ditto.
7961 * bits/basic_ios.h: Format.
7962 * bits/ostream.tcc(write): Fix.
7963 * bits/fstream.tcc: Fix stdstreams ctor to do a proper
7964 initialization of the fstream class.
7965 * src/stdstreams.cc: I'm baaaaaaaack.
7967 1999-03-10 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7969 * bits/ios_base.h: Correct comments. Add ios_base::init()
7970 functionality. Format, tweak, expunge, clean, bathe, and hang to dry.
7971 * src/misc-inst.cc: Add instantiations here.
7972 * src/ios.cc: Clean.
7973 * bits/std_iostream.h: Add wrappers, global ios_base::Init object.
7974 * src/stdstreams.cc: Delete this file, as now unnecessary.
7975 * bits/fstream.tcc: Add missing initialization bits for ctor.
7976 * src/Makefile.am (libstdc___la_SOURCES): Delete here as well.
7977 * src/Makefile.in (libstdc___la_OBJECTS): And here.
7979 * bits/streambuf.tcc: Tweak.
7980 * bits/sstream.tcc: Here too.
7982 * bits/fstream.tcc: And change definition as well.
7983 * bits/std_fstream.h: Change ctor.
7984 * src/basic_file.cc (sys_open): Add call that opens a specific fileno.
7985 * bits/basic_file.h: Add declarations.
7987 * testsuite/27/27hello.cc: New file.
7989 * bits/std_ostream.h: Move flush() inline.
7990 * bits/ostream.tcc: From here.
7992 * bits/char_traits.h: Add include of fpos.h for streamoff/streampos.
7993 * bits/std_ios.h: Change include libio to only when necessary.
7994 * bits/fpos.h: Like here.
7995 * ios_base.h: And here.
7997 * bits/locfacets.h: Change _Iostate to _Ios_Iostate.
7998 * bits/locfacets.tcc: Same.
7999 * bits/std_locale.h: Include std_ios.h not std_iosfwd.h.
8000 * bits/std_iosfwd.h: Move _Ios_Iostate to ios_base.h
8002 1999-03-09 Benjamin Kosnik <bkoz@rhino.cygnus.com>
8004 * bits/basic_ios.h: Change _M_ctype to _M_fctype.
8006 * bits/std_streambuf.h: Clean, tweak.
8007 * bits/std_fstream.h: Same.
8008 * bits/std_sstream.h: Same.
8009 * bits/streambuf.tcc: Move most member functions out-of-line.
8010 * bits/fstream.tcc: Same.
8011 * bits/streambuf.tcc: Same.
8013 * bits/basic_file.h(filepos_cur): Set correctly.
8014 (filepos_beg): Same.
8015 (seekpos): Change to __c_streampos.
8016 * src/basic_file.cc (std): Change to __c_streampos.
8018 * testsuite/27/27filebuf.cc: Round one is finished.
8019 * testsuite/27/27filebuf-2.tst: New file, final output should match.
8020 * testsuite/27/27filebuf-3.tst: Same.
8022 1999-03-08 Benjamin Kosnik <bkoz@rhino.cygnus.com>
8024 * bits/basic_file.h: Fix typo, add comments about what to expect
8025 from the various member functions in __basic_file.
8027 * bits/std_fstream.h: Re-do sync/underflow to work
8028 together. Change from sys_read to xsgetn and from sys_write to
8029 xsputn. As it should have been from the beginning. . .
8031 1999-03-06 Benjamin Kosnik <bkoz@haight.constant.com>
8033 * bits/c++config.h (__GLIBCPP__): Add versioning macro.
8035 * bits/basic_file.h(file_beg): New function.
8038 * testsuite/27/27filebuf.cc: Test in, out, in | out.
8039 * bits/std_fstream.h: More _M_mode refinements.
8040 (synch): Add bits for out mode only.
8041 * bits/std_streambuf.h(xsputn): Correct for filebufs.
8042 * bits/std_sstream.h: Ditto.
8044 1999-03-03 Benjamin Kosnik <bkoz@cygnus.com>
8046 * bits/std_fstream.h: Fix _M_mode AND with ios_base::openmode.
8047 * testsuite/27/27filebuf.cc: Modify.
8048 * bits/c++config.h: Fix.
8050 1999-03-02 Benjamin Kosnik <bkoz@tintin.cygnus.com>
8052 * bits/c++config.h: New macro, _G_RESOLVE_LIB_DEFECTS, used to put
8053 code in place that diverges from the final standard, but has been
8054 brought up on the library mailing list.
8056 * bits/std_fstream.h(underflow): Position all three internal
8057 buffer pointers at the same initial position. Re-implement with
8058 basic_filebuf abstraction.
8062 * bits/std_sstream.h: Move _M_mode down into base class
8064 * bits/sstream.tcc: Ditto.
8065 * bits/std_streambuf.h: Ditto.
8067 * testsuite/27/27filebuf.cc: Tweak.
8069 1999-02-27 Benjamin Kosnik <bkoz@slap-happy.cygnus.com>
8071 * bits/std_sstream.h: Ditto.
8072 * bits/std_fstream.h: Fix blip.
8074 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
8076 * C++STYLE: Add cases.
8077 * bits/std_fstream.h: Format.
8078 * bits/std_streambuf.h: Ditto.
8079 * bits/std_sstream.h: Ditto.
8081 * src/basic_file.cc(sys_seek): Fix stack delirium, by keeping
8082 return type for _IO_file_seek and __basic_file::seek the same size.
8083 * bits/basic_file.h: Ditto.
8085 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
8087 * bits/fstream.tcc: Add include guards.
8088 * src/misc-inst.cc: Add instantiations for shared libes.
8089 * src/locale-inst.cc: Add instantiaions for use_facet.
8090 * bits/loccore.h: Remove specialization foward decls for
8091 use_facet<ctype>: perhaps add the whole lot of them later on.
8092 * bits/std_fstream.h: Fix.
8093 * bits/locfacets.h: Ditto.
8094 * src/stdstreams.cc: Disable wide streams for now.
8096 * src/Makefile.am (CXXFLAGS): Change up.
8097 * src/Makefile.in (CXXFLAGS): Ditto.
8099 1999-02-25 Benjamin Kosnik <bkoz@happy.cygnus.com>
8101 * src/basic_file.cc: Change to ios_base::seekdir from int.
8102 * bits/basic_file.h: Ditto.
8103 * bits/locfacets.h : Fix blip with new guard macros.
8105 1999-02-25 Benjamin Kosnik <bkoz@cygnus.com>
8107 * stl/bits/stl_config.h (__STL_USE_STD_ALLOCATORS): Minor tweaking.
8108 * bits/c++config.h: Clean. Remove _G_NO_STREAMBUF_ITERATORS and
8110 * amm1/locale: Remove unused defines.
8111 * generic/locale: Ditto.
8112 * src/ios.cc: Ditto.
8113 * src/locale.cc: Ditto.
8114 * src/locale-inst.cc: Ditto.
8115 * src/localename.cc: Ditto.
8116 * src/stdstreams.cc: And here.
8118 * bits/c++config.h (_G_USE_WCHAR_T): Fix.
8119 * bits/loccore.h: Simplify, clean, add wchar_t guards.
8120 * bits/loccore.tcc: Ditto.
8121 * bits/locfacets.h: Ditto.
8122 * src/locale-inst.cc: Ditto.
8123 * bits/locfacets.tcc: Add do_put long long here.
8125 1999-02-24 Benjamin Kosnik <bkoz@cygnus.com>
8127 * bits/std_streambuf.h: Add cached ctype facet, _M_ctype.
8128 * bits/basic_ios.h: Clean. Replace _M_strbuf with
8129 _M_streambuf. Use cached _M_cvt in basic_streambuf.
8130 * bits/std_istream.h: Replace _M_strbuf with _M_streambuf.
8131 * bits/std_fstream.h: Tweak.
8133 * bits/char_traits.h: Remove fpos definitions from here. . .
8134 * bits/fpos.h: New file, put them here. Eventually, this may allow
8135 the severing of char_traits and fpos dependancies.
8136 * src/Makefile.in: Add fpos.h.
8137 * src/Makefile.am: Ditto.
8138 * bits/std_string.h: Add fpos.h include here.
8139 * bits/std_ios.h: And here.
8141 * bits/std_streambuf.h: Change _M_init to _M_initialized.
8142 * bits/ios_base.h: Remove cstdio include.
8143 * bits/std_ios.h: ... Place here.
8145 1999-02-23 Benjamin Kosnik <bkoz@loony.cygnus.com>
8147 * src/Makefile.in (CXXFLAGS): Re-add -fvtable-thunks.
8148 * src/Makefile.am (CXXFLAGS): Re-add -fvtable-thunks.
8150 * bits/basic_file.h: Comment, adjust arguments.
8151 * src/basic_file.cc: Ditto.
8153 * bits/std_fstream.h(seekoff): Error is of fpos type, not integral
8154 type: check and convert accordingly. Re-interpet "resultant stream
8155 position" to indicate external byte sequence location, not internal
8158 1999-02-22 Benjamin Kosnik <bkoz@loony.cygnus.com>
8160 * mkcshadow: And change copyright here.
8161 * src/Makefile.am (CXXFLAGS): Add -g -O2. Add new header
8162 dependencies for stl_pthread_alloc.h, pthread_allocimpl.h,
8163 stl_thread.h, and stl_iterator_base.h.
8164 * src/Makefile.in (CXXFLAGS): Ditto.
8165 * stl/backward/pthread_alloc.h: Remove.
8167 1999-02-19 Benjamin Kosnik <bkoz@loony.cygnus.com>
8169 * bits/std_streambuf.h (sungetc): Use standard defs for putback
8171 * bits/std_fstream.h (pbackfail): Correct.
8173 (seekoff): Implement.
8175 * testsuite/27/27filebuf.cc: Add test cases.
8177 1999-02-18 Benjamin Kosnik <bkoz@loony.cygnus.com>
8179 * bits/std_fstream.h: Go with basic_file's interfaces for dealing
8180 with the external buffers, and stop mucking around with setting
8181 and re-setting the external buf's pointers. Aka, clarity and
8182 simplicity rule the day.
8183 * src/locale.cc: Use memcpy in codecvt::do_in and codecvt::do_out.
8184 Remove partial result and support code.
8186 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
8188 * configure.in: Add hypot, hypotf, atan2f, expf, and copysignf to
8189 list of function which have to be replaced.
8190 Remove expf from list of functions to test for.
8191 Define USE_LONG_DOUBLE in case the libm has partial support for long
8193 * Makefile.in: Regenerated.
8194 * config.h.in: Likewise.
8195 * configure: Likewise.
8196 * libio/Makefile.am (LIBIO_SRCS): Add missing backslash.
8197 * libio/Makefile.in: Regenerated.
8198 * src/Makefile.in: Regenerated.
8199 * string/Makefile.in: Regenerated.
8200 * math/Makefile.am (EXTRA_DIST): Add hypot.c, hypotf.c, hypotl.c,
8201 atan2f.c, expf.c, and $(EXTRA_yes).
8202 (EXTRA_yes): Add signbitl.c mycabsl.c.
8203 (libmath_la_LIBADD): Add $(EXTRA_$(USE_LONG_DOUBLE)).
8204 (libmath_la_SOURCES): remove long double versions.
8205 * math/Makefile.in: Regnerated.
8206 * math/atan2f.c: New file.
8207 * math/copysignf.c: New file.
8208 * math/expf.c: New file.
8209 * math/hypot.c: New file.
8210 * math/hypotf.c: New file.
8211 * math/hypotl.c: New file.
8212 * math/cargf.c: Use correct function and macro names.
8213 * math/ccos.c: Likewise.
8214 * math/ccosh.c: Likewise.
8215 * math/ccoshf.c: Likewise.
8216 * math/ccoshl.c: Likewise.
8217 * math/cexp.c: Likewise.
8218 * math/cexpf.c: Likewise.
8219 * math/cexpl.c: Likewise.
8220 * math/clog.c: Likewise.
8221 * math/clog10.c: Likewise.
8222 * math/clog10f.c: Likewise.
8223 * math/clog10l.c: Likewise.
8224 * math/clogf.c: Likewise.
8225 * math/clogl.c: Likewise.
8226 * math/copysignf.c: Likewise.
8227 * math/csin.c: Likewise.
8228 * math/csinf.c: Likewise.
8229 * math/csinh.c: Likewise.
8230 * math/csinhf.c: Likewise.
8231 * math/csinhl.c: Likewise.
8232 * math/csinl.c: Likewise.
8233 * math/csqrt.c: Likewise.
8234 * math/csqrtf.c: Likewise.
8235 * math/csqrtl.c: Likewise.
8236 * math/ctan.c: Likewise.
8237 * math/ctanf.c: Likewise.
8238 * math/ctanh.c: Likewise.
8239 * math/ctanhf.c: Likewise.
8240 * math/ctanhl.c: Likewise.
8241 * math/ctanl.c: Likewise.
8243 1999-02-17 Benjamin Kosnik <bkoz@cygnus.com>
8245 * testsuite/27/27filebuf.cc: Add cases.
8246 * testsuite/27/27filebuf-1.txt: Remove inadvertent garbage.
8247 * bits/std_streambuf.h: Simplify, always have one return statement.
8248 * bits/std_fstream.h: Tweak comments in underflow.
8250 1999-02-17 Ulrich Drepper <drepper@cygnus.com>
8252 * ltmain.sh: Update from libtool 1.2d and fix Solaris problems.
8253 * ltconfig: Likewise.
8255 1999-02-16 Christophe Pierret <cpierret@businessobjects.com>
8257 * src/locale.cc: Fix assert.
8259 1999-02-16 Benjamin Kosnik <bkoz@cygnus.com>
8261 FIXME: Still need some kind of solution for undefined math symbols.
8262 * src/Makefile.in (locale-inst.lo): Compile with
8263 -fimplicit-templates to fix Solaris link problem.
8264 * src/Makefile.am: Ditto.
8265 * libio/Makefile.in: Add stdfiles.c so that _IO_list_all is defined.
8266 * libio/Makefile.am: Ditto.
8267 * src/locale.cc: Provide some kind of def for _S_tolower.
8268 * bits/locfacets.h: Fix declarations of ctype<wchar_t> to
8269 match ctype<char> for _S_tolower, _S_toupper, _S_table.
8271 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
8273 * bits/loccore.tcc: Move member-template ctor inline...
8274 * bits/loccore.h: ...here.
8275 * src/locale-inst.cc: Add instantiation here.
8277 * testsuite/27/27stringstream.cc: Tweak.
8279 * bits/ostream.tcc: Include sbuf_iter.h.
8281 * bits/ostream.tcc: Convert *this to ostreambuf_iterator before
8282 passing to num_put, as num_put's first argument is an interator,
8285 * testsuite/make_check_libfree++: New file, runs through the
8286 existing test files in the testsuite directory and makes sure
8289 1999-02-10 Brendan Kehoe <brendan@cygnus.com>
8291 * testsuite/21/21compare.cc: Fix typo.
8292 * src/locale.cc (ctype<wchar_t>::_S_{toupper,tolower,table}):
8293 Don't try to provide non-linux versions, since it's impossible to
8294 initialize their const references with the integer 0, no matter
8295 how we try to cast it.
8297 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
8299 * bits/std_locale.h: Move std_vector.h dependency.
8300 * bits/std_ios.h: ...from here.
8301 * bits/std_string.h: ...and here.
8302 * src/locale.cc: ..to here.
8303 * bits/loccore.h: Ditto, add vector forward declaration,
8304 make locale::_Impl data members pointers not containers.
8305 * bits/loccore.tcc: Move out-of-line for now.
8306 * bits/locfacets.h: Move vector dependency from here...
8307 * bits/locfacets.tcc: ...to here.
8308 * src/localename.cc: ..and here.
8309 * src/locale-inst.cc: Add include of locfacets.tcc here.
8311 * stl/bits/stl_string_fwd.h: Make __get_c_string non-static.
8312 * bits/basic_string.h: Can't use sizeof on an incomplete type.
8313 * bits/string.tcc: Tweak.
8314 * src/string.cc: And add __get_c_string def here.
8316 * bits/std_fstream.h: Yeah, comment the fill_n idea out as impractical.
8318 * src/stlinst.cc: Add include of stl_config.h.
8320 1999-02-09 Benjamin Kosnik <bkoz@cygnus.com>
8322 * stl/bits/std_bitset.h: Update to SGI STL 3.12.
8323 * stl/bits/stl_config.h: Tweak, update.
8324 * stl/bits/std_stdexcept.h: Ditto, change stl_exception to
8326 * stl/bits/std_memory.h: Reconstructed auto_ptr, Ditto.
8327 * stl/bits/std_functional.h: Ditto.
8329 * stl/bits/stl_string.h: New file, SGI's string
8330 implementation. For reference only, corresponding to string in
8332 * stl/bits/stl_char_traits.h: As above.
8334 * stl/bits/pthread_allocimpl.h: New file corresponding to
8336 * stl/bits/stl_pthread_alloc.h: New file corresponding to
8338 * stl/bits/stl_threads.h: New file.
8340 Note that SGI STL 3.12's file iterator.h is not used.
8341 * stl/bits/std_iterator.h: Ditto.
8342 * stl/bits/stl_iterator.h: Drop in replace.
8343 * stl/bits/stl_iterator_base.h: New file, drop in replace.
8345 * stl/bits/stl_queue.h, stl_rope.h, stl_set.h, stl_stack.h,
8346 stl_string_fwd.h, stl_tempbuf.h, stl_tree.h, stl_vector.h,
8347 stl_pair.h, stl_multimap.h, stl_multiset.h, stl_list.h,
8348 stl_hashtable.h, stl_hash_set.h, stl_hash_map.h, stl_function.h,
8349 stl_deque.h, stl_alloc.h, stl_algo.h, stl_algobase.h, ropeimpl.h:
8350 Drop-in replace (ie, stop changing __SGI_STL_* to _CPP_BITS_* for
8351 preprocessor guards, but fixup include paths and names according
8352 to new directory layout).
8354 1999-02-05 Benjamin Kosnik <bkoz@cygnus.com>
8356 * bits/std_fstream.h: Remove _M_open data member.
8357 * bits/fstream.tcc: Ditto.
8359 * src/locale.cc: Tweak.
8361 * bits/std_sstream.h: Simplify.
8363 * bits/std_streambuf.h: Simplify.
8364 (sputc): Use correct definition of "write area."
8366 * bits/std_fstream.h: Fix uflow.
8367 * src/basic_file.cc: Tweak.
8368 * testsuite/27/27filebuf.cc: Add tests.
8369 * testsuite/27/27filebuf-3.txt: Rename to *-2.txt.
8371 1999-02-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8373 * bits/ios_base.h: Make protected.
8375 1999-02-01 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8377 * bits/ios_base.h: Changes in the class ios_base:
8378 Rename _M_exceptions member to _M_exceptions_data.
8379 Make the member functions rdstate(), clear(), exceptions()
8380 and exceptions(iostate) protected and add the "_M_" prefix.
8381 * src/ios.cc: Ditto.
8382 * bits/basic_ios.h: Adapt the changes from ios_base.
8384 1999-01-29 Benjamin Kosnik <bkoz@cygnus.com>
8386 * bits/std_fstream.h: Remove _M_flags, _M_equilibrate as unnecessary.
8387 * bits/fstream.tcc: Ditto.
8389 * bits/std_fstream.h (underflow): Resize deallocates memory and
8390 resets pointers in the internal cache according to new _M_buf. . dooh!
8391 * src/locale.cc: Mas changes with codecvt::do_in, do_out.
8393 1999-01-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8395 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
8398 1999-01-28 Benjamin Kosnik <bkoz@cygnus.com>
8400 * src/locale.cc (codecvt::do_in): Finer-grained tuning to take
8401 into account partial returns.
8402 (codecvt::do_out): Likewise.
8404 * bits/char_traits.h: Change streamsize to be a signed type, as
8405 required by 27.4.1 Types p 2. (Changing to _IO_ssize_t.)
8406 * bits/std_streambuf.h: Make
8407 in_avail() and showmanyc() have streamsize as return types, so
8408 that showmanyc()'s return of eof won't underflow in_avail's return
8409 value and give a bogus result.
8410 * src/misc-inst.cc: And more changes. . .
8412 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_unified to keep
8413 track of joint in/out pointers into the internal buffer.
8414 (sbumpc): Add check for _M_buf_unified.
8418 * testsuite/27/27filebuf.cc: Add cases.
8419 * testsuite/27/27stringbuf.cc: Add showmanyc case.
8421 * bits/std_fstream.h (close): Fix logic error.
8422 (open): Initialize internal pointers based on _M_buf and _M_buf_size.
8423 (showmanyc): Add underflow component, to match the standard.
8425 * bits/fstream.tcc: Ditto.
8427 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
8429 * bits/basic_file.h: Match vtables w/ _IO_FILE_plus.
8430 * src/basic_file.cc: Ditto.
8431 * src/Makefile.in: Add -fvtable-thunks to CXXFLAGS: preferred
8432 format for dealing with _IO_file in libio.
8434 1999-01-27 Ulrich Drepper <drepper@cygnus.com>
8436 * src/basic_file.cc: Include fcntl.h.
8438 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
8440 * libio/Makefile.in: Add fileops.lo, genops.lo to objects to debug
8442 * bits/std_streambuf.h: Redefine read posion.
8444 * bits/std_fstream.h: Temporary hack to get vtables working again.
8445 * bits/basic_file.h: Revert.
8446 * src/basic_file.cc: Ditto.
8447 * testsuite/27/27filebuf.cc: Tweak.
8449 1999-01-26 Benjamin Kosnik <bkoz@cygnus.com>
8451 * bits/basic_file.h: Add showmanyc, underflow. .
8452 * src/basic_file.cc: Ditto.
8454 * bits/std_fstream.h (showmanyc): Add bits to ping libio to see if more
8457 * testsuite/27/27filebuf.cc: Add testcases.
8458 * src/basic_file.cc: Add O_CREAT to open calls with
8459 ios_base::trunc as part of the open mode.
8461 1999-01-26 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8463 * bits/basic_ios.h: fix basic_ios::exceptions(iostate)
8465 1999-01-25 Benjamin Kosnik <bkoz@nabi.net>
8467 * src/ios.cc (clear): Correct typo.
8468 * bits/ios_base.h: Tweak spacing.
8470 1999-01-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8472 * bits/basic_ios.h: fix basic_ios::fail()
8474 1999-01-25 Benjamin Kosnik <bkoz@loony.cygnus.com>
8476 * bits/basic_file.h: Include libioP.h from libio instead of here.
8477 * bits/iolibio.h: Remove.
8478 * bits/libio.h: Remove.
8480 1999-01-22 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
8482 * bits/std_fstream.h: Tweak cvt-> in call for newer egcs compilers.
8484 1999-01-22 Ulrich Drepper <drepper@cygnus.com>
8486 * Makefile.am (SUBDIRS): Add libio.
8487 * configure.in: Add rule to test for glibc2.
8489 * src/Makefile.am (INCLUDES): Add -I to libio subdir.
8490 (libstdc___la_LIBADD): Add libio.la.
8492 1999-01-21 Benjamin Kosnik <bkoz@cygnus.com>
8494 * bits/basic_file.h: Make new abstraction for underlying C library
8495 FILE, named __basic_file.
8496 * src/basic_file.cc: New file.
8497 * bits/os_raw.h: Delete.
8498 * src/os_raw.cc: Delete.
8499 * src/Makefile.in: Tweak.
8500 * src/Makefile.am: Tweak.
8501 * bits/iolibio.h: Add this here, for the time being.
8502 * bits/libioP.h: Ditto.
8504 * bits/ios_base.h: Delete unused defines.
8505 * src/locale.cc (codecvt<char, char, mbstate_t>::do_in): Use
8506 strcpy to copy between the two buffers.
8508 * testsuite/27/27stringbuf.cc: Change license, fix in_avail tests.
8509 * testsuite/27/27filebuf.cc: New file.
8510 * testsuite/27/27filebuf-1.txt: Data file for above test.
8511 * testsuite/27/27filebuf-2.txt: Ditto.
8513 * bits/std_streambuf.h (uflow): Re-implement default.
8514 * bits/std_fstream.h: Set _M_buf_size based on cstdio's BUFSIZ.
8515 Re-implement virtual functions.
8516 * bits/fstream.tcc: Delete unused mf's.
8518 1998-12-31 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
8520 * bits/fstream.tcc: Add fstream ctor for cin/cout/etc.
8521 * bits/std_fstream.h: Ditto.
8522 * src/stdstreams.cc: Ditto.
8524 * math/cpowl.c: Fix header typo with last change.
8526 1998-12-31 Benjamin Kosnik <bkoz@loony.cygnus.com>
8528 * COPYING: New file (GPL v 2).
8529 * LICENSE.STD: Remove.
8530 * ./*: Change license.
8532 1998-12-30 Benjamin Kosnik <bkoz@haight.constant.com>
8534 * bits/std_streambuf.h (std): Remove static on _M_init.
8535 * bits/streambuf.tcc (std): Ditto.
8537 * bits/std_fstream.h: Add changes as discussed with Nathan, including
8538 state_type and codecvt_type members, the allocation of an internal
8539 buffer, the streamlined codecvt calls, etc.
8541 1998-12-21 Benjamin Kosnik <bkoz@haight.constant.com>
8543 * bits/std_sstream.h: Tweak.
8544 * bits/fstream.tcc: Remove unused stubs.
8545 * bits/std_fstream.h: Tweak.
8547 1998-12-17 Benjamin Kosnik <bkoz@tintin.cygnus.com>
8549 * bits/std_streambuf.h: Move _IO_file_flags into basic_filebuf.
8550 Remove unused _IO_* members, possibly put into filebuf, which may
8552 * bits/std_fstream.h: Add _M_flag.
8553 * bits/sbuf_iter.h: Tweak.
8555 * bits/std_cstdio.h: Add SEEK_SET, SEEK_END, SEEK_CUR.
8556 * bits/ios_base.h: Use.
8558 * src/stdstreams.cc: Modify to reflect standard ctors for
8560 * src/misc-inst.cc: Ditto.
8562 * bits/os_raw.h: Wrap in std namespace. Model parameters on
8563 underlying C library calls instead of the underlying unix
8565 * src/os_raw.cc (_S_os_open): Use fopen, and compute a mode
8566 string as per p.659.
8567 (_S_os_close): Model on fopen.
8568 (_S_os_read): Model on fread.
8569 (_S_os_write): Model on fwrite.
8570 (_S_os_seek): Model on fseek.
8572 * bits/ios_base.h: Tweak.
8573 * bits/std_iosfwd.h: Wrap libio.h include with extern "C".
8574 * bits/std_sstream.h: Tweak.
8575 * bits/sstream.tcc: Remove old, uncalled code.
8576 * bits/std_fstream.h: Major reconstruction.
8577 * bits/fstream.tcc: Disable for the time being.
8579 1998-12-11 Benjamin Kosnik <bkoz@haight.constant.com>
8581 * bits/basic_string.h: Fix insert method.
8582 * stl/bits/stl_iterator.h: Remove previous hack.
8583 * bits/std_streambuf.h (sbumpc): Correct increment/return oddness.
8584 * bits/std_sstream.h: Fix more regressions.
8585 * testsuite/27/27stringbuf.C: Add (almost) complete tests.
8587 1998-12-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
8589 * bits/basic_string.h: Tweak.
8591 * stl/bits/stl_iterator.h: Specialize iterator_traits for int so
8592 that string::append can be instantiated. HACK--checkin
8593 basic_string::iterator class.
8595 1998-12-07 Benjamin Kosnik <bkoz@haight.constant.com>
8597 * bits/std_sstream.h: Tweak.
8598 * bits/sstream.tcc: Tweak ctors.
8600 FIXME invalid friend defs. . WHERE ARE THEY??
8602 * bits/sbuf_iter.h (istreambuf_iterator::equal): Change to new
8603 names for basic_streambuf data members.
8605 * bits/std_streambuf.h: Add getloc() initialization bits.
8606 basic_streambuf(): Initialize with global locale data.
8607 imbue(): Set _M_init.
8609 * bits/std_streambuf.h(seekoff, seekpos): Complete with invalid
8610 stream pos == pos_type(off_type(-1)).
8611 in_avail(): Complete default implementation.
8612 snextc, sbumpc, sputbackc, sungetc, sputc, setg, xsputn,
8613 underflow, uflow, xsgetn, showmany, sync: Ditto.
8615 * bits/std_streambuf.h: _M_snextc_helper(): Remove.
8617 * bits/streambuf.tcc (sputbackc): Temporarily remove, need to
8618 re-populate with in-line member functions that are too big. Add
8619 initialization for _M_init.
8621 1998-12-03 Benjamin Kosnik <bkoz@cygnus.com>
8623 * bits/sstream.tcc: Convert _Allocator to _Alloc. Add typedefs
8624 for basic_string and basic_streambuf. Scope _IO_buf_* pointers to
8627 * src/stdstreams.cc (std): Disable wchar_t instantiations.
8629 * bits/c++config.h (_G_DEPRICATED): Add.
8630 (_G_USE_WCHAR_T): Add.
8631 * bits/std_streambuf.h: Radical reconstruction of basic_streambuf.
8632 Take out _Streambuf_base. Put _IO_FILE data member in basic_filebuf.
8633 * bits/streambuf.tcc (sputbackc): Remove ctor anti-def, Tweak.
8634 * bits/std_fstream.h: Add comment for implementation.
8635 * src/streambuf.cc: Remove.
8636 * src/Makefile.in: Remove streambuf.lo.
8637 * src/misc-inst.cc: Tweak.
8639 1998-12-02 Benjamin Kosnik <bkoz@cygnus.com>
8641 * bits/std_sstream.h: Add const_cast to rdbuf returns.
8642 * testsuite/27stringstream.C: Modify.
8644 1998-11-25 Benjamin Kosnik <bkoz@haight.constant.com>
8646 * src/Makefile.in (libstdc___la_OBJECTS): Add streambuf.lo.
8647 (libstdc___la_SOURCES): Ditto.
8649 * bits/streambuf.tcc: Tweak.
8651 * src/streambuf.cc: New file, add out-of-line definitions for
8654 * src/misc-inst.cc: Remove _Streambuf_base instantiations.
8655 Comment out wchar_t versions of the buffer instantiations, for now.
8657 * bits/std_streambuf.h: Wrap libio.h include with extern "C".
8658 Remove template wrapper around _Streambuf_base.
8659 Move IO_* data members into _Streambuf_base.
8660 Move _Streambuf_base members into streambuf.tcc.
8662 * bits/c++config.h (_G_USE_LIBIO): Enable.
8664 1998-11-02 Nathan Myers <ncm@cantrip.org>
8666 * CHECKLIST: downgrade iterator implementations
8667 * DESIGN: fill out notes about unimplemented features
8669 1998-10-31 Nathan Myers <ncm@cantrip.org>
8671 * CHECKLIST: itemized list of all interfaces, and status of each.
8673 1998-10-30 Nathan Myers <ncm@cantrip.org>
8675 * RELEASE-NOTES: add notes about optional includes, linking, running
8676 * src/Makefile.am: handle header installs properly
8677 * src/Makefile.in: regenerate from new src/Makefile.am
8679 1998-10-30 Benjamin Kosnik <bkoz@loony.cygnus.com>
8681 * bits/basic_string.h: Revert npos pending ciso646.
8682 * src/Makefile.am: Revert CXX flags for now.
8683 * src/Makefile.in: Ditto.
8685 1998-10-30 Brendan Kehoe <brendan@cygnus.com>
8687 * bits/std_sstream.h: Re-order ctors to put base before member
8690 1998-10-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8692 * stl/bits/std_memory.h: Fix typo.
8694 1998-10-30 Nathan Myers <ncm@cantrip.org>
8696 * src/string[A-Z]+.cc: change back to include "string.cc".
8697 * src/Makefile.am: revert filename changes. We need a different
8698 way to keep filenames in std/ from confusing Make.
8699 * bits/basic_string.h: define _S_max_size right, return it from
8700 string::max_size(); churn definition of npos again.
8701 * bits/string.tcc: fix _S_frob_size to avoid uint overflow.
8702 * bits/ios.cc: remove #ifdef on ios_base locale member initialization
8703 * BUGS: clear cruft.
8704 * C++STYLE: Touchup for release.
8705 * CHECKLIST: Touchup for release.
8707 * LICENSE.STD: Add requirement to retain copyrights and to provide
8708 the license with any copies.
8709 * README: Update for release.
8710 * TODO: Minor touchup for release.
8711 * RELEASE-NOTES: prepare for release
8713 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
8715 * src/string[A-Z]+.cc: Include stdstring.cc, not string.cc.
8717 * src/Makefile.am (CXXFLAGS): Define _GNU_SOURCE.
8719 * src/Makefile.am (CXXLINK): New variable. Make sure we don't use
8720 CXX to generate the shared object.
8722 * src/Makefile.am (headers): Remove duplicated char_traits.h.
8724 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
8726 * bits/basic_string.h (basic_string<>::max_size): Subtract 1, not
8727 2, from npos, solving infinite loop problems.
8729 1998-10-29 18:41 Ulrich Drepper <drepper@cygnus.com>
8731 * src/Makefile.am: Add rules to install headers.
8733 1998-10-29 Nathan Myers <ncm@cantrip.org>
8735 * bits/std_ostream.h: Remove #ifdef on operator<< for long double
8736 * bits/ostream.tcc: Remove #ifdef on operator<< for long double
8739 * shadow/bits/wrap_libio.h:
8740 * shadow/bits/wrap_unistd.h: New files.
8742 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
8744 * bits/ostream.tcc (operator<<): Wrap with #ifdef
8745 _G_HAVE_LONG_DOUBLE_IO, to match bits/std_ostream.h.
8747 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
8749 * src/Makefile.am: Add temporarily rules to make sure misc-inst.cc
8750 is not compiled with -fno-implicit-templates in effect.
8752 * src/Makefile.am (EXTRA_SOURCES): Add string.cc and wstring.cc here.
8753 (libstdc___la_SOURCES): Add all the string*.cc and wstring*.cc files.
8754 * src/stringADDCS.cc: Wrapper around string.cc to define individual
8756 * src/stringADDPS.cc: Likewise.
8757 * src/stringADDSC.cc: Likewise.
8758 * src/stringADDSP.cc: Likewise.
8759 * src/stringADDSS.cc: Likewise.
8760 * src/stringBIST.cc: Likewise.
8761 * src/stringBOST.cc: Likewise.
8762 * src/stringCHTR.cc: Likewise.
8763 * src/stringEQPS.cc: Likewise.
8764 * src/stringEQSP.cc: Likewise.
8765 * src/stringEQSS.cc: Likewise.
8766 * src/stringEXTRA.cc: Likewise.
8767 * src/stringGEPS.cc: Likewise.
8768 * src/stringGESP.cc: Likewise.
8769 * src/stringGESS.cc: Likewise.
8770 * src/stringGETLI.cc: Likewise.
8771 * src/stringGTPS.cc: Likewise.
8772 * src/stringGTSP.cc: Likewise.
8773 * src/stringGTSS.cc: Likewise.
8774 * src/stringINSER.cc: Likewise.
8775 * src/stringLEPS.cc: Likewise.
8776 * src/stringLESP.cc: Likewise.
8777 * src/stringLESS.cc: Likewise.
8778 * src/stringLTPS.cc: Likewise.
8779 * src/stringLTSP.cc: Likewise.
8780 * src/stringLTSS.cc: Likewise.
8781 * src/stringMAIN.cc: Likewise.
8782 * src/stringNEPS.cc: Likewise.
8783 * src/stringNESP.cc: Likewise.
8784 * src/stringNESS.cc: Likewise.
8785 * src/stringSCOPY.cc: Likewise.
8786 * src/wstringADDCS.cc: Wrapper around wstring.cc to define individual
8788 * src/wstringADDPS.cc: Likewise.
8789 * src/wstringADDSC.cc: Likewise.
8790 * src/wstringADDSP.cc: Likewise.
8791 * src/wstringADDSS.cc: Likewise.
8792 * src/wstringBIST.cc: Likewise.
8793 * src/wstringBOST.cc: Likewise.
8794 * src/wstringCHTR.cc: Likewise.
8795 * src/wstringEQPS.cc: Likewise.
8796 * src/wstringEQSP.cc: Likewise.
8797 * src/wstringEQSS.cc: Likewise.
8798 * src/wstringEXTRA.cc: Likewise.
8799 * src/wstringGEPS.cc: Likewise.
8800 * src/wstringGESP.cc: Likewise.
8801 * src/wstringGESS.cc: Likewise.
8802 * src/wstringGETLI.cc: Likewise.
8803 * src/wstringGTPS.cc: Likewise.
8804 * src/wstringGTSP.cc: Likewise.
8805 * src/wstringGTSS.cc: Likewise.
8806 * src/wstringINSER.cc: Likewise.
8807 * src/wstringLEPS.cc: Likewise.
8808 * src/wstringLESP.cc: Likewise.
8809 * src/wstringLESS.cc: Likewise.
8810 * src/wstringLTPS.cc: Likewise.
8811 * src/wstringLTSP.cc: Likewise.
8812 * src/wstringLTSS.cc: Likewise.
8813 * src/wstringMAIN.cc: Likewise.
8814 * src/wstringNEPS.cc: Likewise.
8815 * src/wstringNESP.cc: Likewise.
8816 * src/wstringNESS.cc: Likewise.
8817 * src/wstringSCOPY.cc: Likewise.
8818 * src/string.cc: Remove now unneeded #defines now.
8820 1998-10-29 Nathan Myers <ncm@cantrip.org>
8822 * bits/locfacets.tcc: Define num_put::put(... const void*), improve
8824 * bits/ostream.tcc: Delete cruft, rewrite various op<< as members,
8825 add definitions for double, long double, const void*.
8826 * bits/std_ostream.h: Move op<<'s back into class ostream,
8827 define some in-line.
8828 * bits/string.tcc: fix unnecessary-copying bug in op[], typos in
8829 string construction from input iterators that Brendan reported.
8832 1998-10-28 Brendan Kehoe <brendan@cygnus.com>
8834 * stl/bits/stl_pair.h (op!=, op>, p<=, op>=): Add missing definitions.
8836 * bits/valarray_meta.h (class _Constant): Move declaration to the
8837 top, so the rest of the file can grok it.
8838 (_ApplyBinaryFunction::operator[]): Add missing parenthesis.
8840 * bits/std_sstream.h (basic_ostringstream::str): Fix typo of extra
8842 (basic_stringstream::str, both instances): Likewise.
8844 1998-10-28 Nathan Myers <ncm@cantrip.org>
8846 * bits/locfacets.h: fix num_put<>::falsename()
8847 * bits/locfacets.tcc: fix _Format_cache<>::_M_populate bool name init
8848 * testsuite/27/27octfmt.C, testsuite/27/27octfmt.C: new tests
8849 * bits/locfacets.tcc: touch up _S_group_digits.
8850 * src/misc-inst.cc: adjust _S_group_digits insts to match.
8852 1998-10-27 Nathan Myers <ncm@cantrip.org>
8854 * stl/bits/stl_config.h: Turn off long long support, for now.
8855 * src/locale-inst.cc: Instantiate num_put<> only for
8856 ostreambuf_iterator, num_get only for istreambuf_iterator.
8857 * src/misc-inst.cc: Delete duplicate locale-related instantiations,
8858 add lots of new instantiations for num_put support function templates;
8859 remove junk about __match_parallel for ostreambuf_iterator.
8861 1998-10-27 Nathan Myers <ncm@cantrip.org>
8863 * bits/locfacets.tcc: Make num_put's digit grouping work.
8864 * bits/string.tcc: More uglification.
8865 * src/ios.cc: initialize format cache right
8867 1998-10-26 Nathan Myers <ncm@cantrip.org>
8869 * bits/basic_string.h: Uglify more names.
8870 * bits/fstream.tcc: Rewrite some filebut output handling.
8871 * bits/ios_base.h: Cosmetic.
8872 * bits/locfacets.h: Changes to _Format_cache for support of num_put.
8873 Also, specialize its default ctor for optimal default case.
8874 #ifdef out "long long" prototypes for now.
8875 * bits/locfacets.tcc: Do complete, optimized num_put<>::do_put
8876 implementation for integer types. (Still needs optimized
8877 std::copy() applied to ostreambuf_iterator to be optimal.)
8878 * bits/ostream.tcc: Write operator<< for long, bool types.
8879 Make other operators<< non-members, per spec. (Many still
8880 not implemented.) Identify those that fail to create a sentry.
8881 * bits/sbuf_iter: Cosmetic.
8882 * bits/std_fstream.h: Add some filebuf members.
8883 * bits/std_locale.h: Include <limits> for use in bits/locfacets.h
8884 * bits/std_ostream.h: Make member operators<< global, per spec.
8885 (Should do the same in std_istream.h.)
8886 * bits/std_string.h: Include <limits> for use in bits/locfacets.h
8887 * bits/string.tcc: Uglify names
8888 * shadow/bits/std_cstdlib.h: Optimize std::div and std::ldiv.
8889 * src/ios.cc: Specialize _Format_cache<> for char and wchar_t,
8890 for optimal default behavior.
8892 1998-10-26 Benjamin Kosnik <bkoz@loony.cygnus.com>
8894 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc again.
8896 1998-10-21 Nathan Myers <ncm@cantrip.org>
8898 * src/locale.cc: make ctype operations actually work for glibc
8899 * CHECKLIST: add a comprehensive (i.e. huge) implementation
8900 checklist of stdlib facilities. Not filled in yet.
8902 1998-10-20 Nathan Myers <ncm@cantrip.org>
8904 * bits/string.tcc: fix patching NULs on string ends.
8906 1998-10-19 Nathan Myers <ncm@cantrip.org>
8908 * bits/std_iosfwd.h: eliminate "basic_" prefix on streambuf
8909 iterator forward declarations
8910 * bits/sbuf_iter.h: eliminate default template argument definitions
8911 on streambuf iterators (rely on <iosfwd> decls).
8912 * TODO: add note about lazy facet construction
8913 * bits/basic_ios.h: hit operator void* again. This should be the
8914 last time we need to touch it.
8915 * bits/basic_ios.h: copyfmt now returns *this.
8916 * bits/basic_string.h: fix npos again. npos cannot be defined as zero.
8917 * bits/basic_string.h: put back overloaded constructors; adjust
8918 behavior for default allocator on copy constructor.
8919 * bits/char_traits.h: make not_eof return correct type.
8920 * bits/loccore.h: remove call to bits/std_stdexcept.h; subincludes
8921 cannot be in non-standard headers or we get include loops (bad)
8922 * bits/loccore.h: delete ifdef'd out workarounds for old compiler bugs.
8923 * bits/loccore.h: add apparatus to support lazy construction of
8925 * bits/locfacets.tcc: Uglify names in __match_parallel decl.
8926 * bits/std_ios.h: add include of <typeinfo> to get bad_cast for
8927 locale use_facet<> failure.
8928 * bits/std_locale.h: same.
8929 * bits/std_string.h: same.
8930 * bits/std_stdexcept.h: change exception member __msg from a
8931 reference to a regular object.
8932 * bits/string.tcc: add pasting a NUL on the end of strings after
8933 each operation. We had already left room for it, but previously
8934 plugged it only on a call to c_str(), but the WG changed the
8935 requirement when I wasn't looking. (Can't leave them alone for
8936 a second without they break something else.)
8937 * bits/valarray_meta.h: add Gaby's changes from 981018.
8938 * src/locale.cc: add new type _Bad_use_facet to be thrown on
8939 failure of use_facet<>().
8940 * src/stdexcept.cc: remove pragma, remove bkoz's #if 0,
8941 comment out leftover member definitions
8943 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
8945 * string/Makefile.am: Revert last change.
8946 * math/Makefile.am: Likewise.
8948 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8950 * bits/std_sstream.h: Fix typo.
8952 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8954 * src/Makefile.am (libstdc___la_SOURCES): Add misc-inst.cc.
8956 * bits/std_sstream.h: Add typedefs, member definitions. Clean.
8957 * bits/std_stdexcept.h: Remove.
8959 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8961 * src/misc-inst.cc: Tweak again.
8963 * bits/std_sstream.h: Move out-of-line definitions to sstream.tcc.
8964 * bits/sstream.tcc: New file.
8966 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
8968 * configure.in: Test for machine/param.h, sys/machine.h and fp.h.
8969 Don't run AC_C_BIGENDIAN if machine/param.h or sys/machine.h are
8972 * math/mathconf.h: Include sys/machine.h, machine/param.h and fp.h
8974 (INFINITE_P): Use IS_INF macro if available.
8976 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
8978 * math/Makefile.am (EXTRA_LTLIBRARIES): Renamed from
8980 * string/Makefile.am: Likewise.
8982 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
8984 * configure.in (AC_CHECK_FUNCS): Add finite, qfinite, fpclass, and
8986 (AC_CHECK_HEADERS): Add machine/endian.h. If no header specifying
8987 endianess is available run AC_C_BIGENDIAN.
8989 * math/clog10l.c: Add ugly hack around bug in Irix 6.2 header until
8990 fixincludes is fixed.
8991 * math/clogl.c: Likewise.
8992 * math/csqrtl.c: Likewise.
8993 * math/mycabsl.c: Likewise.
8995 * math/mathconf.h: Include machine/endian.h if possible. If no
8996 header describing endianess is available rely on WORDS_BIGENDIAN
8998 (FINITE_P, FINITEF_P, FINITEL_P): Use finite functino if available.
8999 (INFINITE_P, INFINITEF_P, INFINITEL_P): Use fpclass function if
9002 * src/complex.cc (polar): Don't use sincos on OSF machines.
9004 1998-10-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
9006 * src/locale-inst.cc: Don't instantiate time_get for
9007 ostreambuf_iterators as time_get::do_get_weekday and
9008 time_get::do_get_monthname use __match_parallel, which is illegal
9009 for ostreambuf_iterators to use, as they don't have operator== or
9011 * bits/std_stdexcept.h: Add dtor definitions.
9012 Use stl/bits/std_stdexcept.h instead of this file?
9013 * bits/sbuf_iter.h : Tweak.
9014 * src/misc-inst.cc: Tweak.
9016 1998-10-09 Benjamin Kosnik <bkoz@haight.constant.com>
9018 * bits/std_stdexcept.h: New file.
9019 * src/stdexcept.cc: Define the following:
9021 runtime_error::what()
9023 * src/misc-inst.cc: New file.
9024 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc.
9025 (libstdc___la_OBJECTS): Add misc-inst.lo.
9027 * bits/basic_string.h: Disable non-standard ctor declarations.
9028 * bits/string.tcc: Disable definitions as well.
9029 * src/string.cc: Disable <ios> dependancies.
9030 * bits/sbuf_iter.h (std): Add default to template parameter for
9031 ostreambuf_iterator and istreambuf_iterator.
9032 * bits/std_iosfwd.h: Change istreambuf_iterator to
9033 basic_istreambuf_iterator. Likewise for ostreambuf.
9034 * bits/locfacets.tcc (__match_parallel): Fix typo.
9035 * src/ios.cc (imbue): Remove the _G_HAVE_LOCALE guards around
9037 * bits/std_streambuf.h: Define _Streambuf_base::getloc().
9038 * bits/std_istream.h: Define the following:
9039 get (basic_streambuf<char_type,_Traits>& __sb, char_type __delim)
9040 get (char_type* __s, streamsize __n, char_type __delim);
9041 getline (char_type* __s, streamsize __n, char_type __delim)
9042 * bits/loccore.h : FIXME friend template code for use_facet.
9043 Add std_stdexcept.h include so that range_error will be defined.
9044 Add explicit conversion to string for range_error throws. (HACK?)
9046 1998-10-8 Ulrich Drepper <drepepr@cygnus.com>
9048 * configure.in: Check for sincos, sincosf, and sincosl.
9049 * src/complex.cc (polar): Use sincos if available.
9051 * bits/c++config.h: Fix hack to get LONG_LONG* definitions on Linux.
9052 * stl/bits/std_limits.h: Include bits/c++config.h. HACK!!!
9054 * math/clog10.c: Fix typo (FP_INIFITE_P -> INFINITE_P).
9056 * math/cpow.c: Use c_log, not clog.
9057 * math/cpowf.c: Likewise.
9058 * math/cpowl.c: Likewise.
9060 * math/cexp.c: Remove unused fpclassify calls. Use FINITE_P instead
9063 * math/mathconf.h (FINITE_P, FINITEF_P, FINITEL_P): Define using
9064 isfinite macro if it is available.
9065 (INFINITE_P, INFINITEF_P, INFINITEL_P): Define using isinf macro.
9067 * math/ccosf.c: Use appropriate test macros for this type.
9068 * math/ccoshf.c: Likewise.
9069 * math/ccoshl.c: Likewise.
9070 * math/ccosl.c: Likewise.
9071 * math/cexpf.c: Likewise.
9072 * math/cexpl.c: Likewise.
9073 * math/clog10f.c: Likewise.
9074 * math/clog10l.c: Likewise.
9075 * math/clogf.c: Likewise.
9076 * math/clogl.c: Likewise.
9077 * math/csinf.c: Likewise.
9078 * math/csinhf.c: Likewise.
9079 * math/csinhl.c: Likewise.
9080 * math/csinl.c: Likewise.
9081 * math/csqrtf.c: Likewise.
9082 * math/csqrtl.c: Likewise.
9083 * math/ctanf.c: Likewise.
9084 * math/ctanhf.c: Likewise.
9085 * math/ctanhl.c: Likewise.
9086 * math/ctanl.c: Likewise.
9088 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
9090 * bits/basic_ios.h: Fix previous change.
9092 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
9094 * bits/basic_ios.h: Add const_cast<basic_ios&>
9095 (operator void*): As per 5.2.9 p 2, make sure static_cast is
9097 * bits/char_traits.h: No _CharT for specialization, change to 0.
9098 * bits/basic_string.h: As per 9.4.2 p4, initialize with
9099 constant-initializer.
9100 * bits/locfacets.tcc: Add template parameter to initialization list.
9102 1998-10-02 Benjamin Kosnik <bkoz@loony.cygnus.com>
9104 * bits/basic_string.h: Should just be <, not <=.
9106 1998-10-01 Benjamin Kosnik <bkoz@bliss.nabi.net>
9108 * bits/string.tcc (compare): Fix for strings that are similar, but
9109 not the same length.
9111 1998-09-04 Brendan Kehoe <brendan@cygnus.com>
9113 * bits/c++config.h: For __linux__, define _GNU_SOURCE. This is
9114 required for us to get LONG_LONG_{MIN,MAX} out of gcc's limits.h.
9115 We can't check for __GLIBC__ here, since this header can be read
9116 before any system one (that would lead to features.h) being used.
9118 * stl/bits/stl_config.h (__STL_LONG_LONG): Re-enabled
9120 * stl/bits/std_limits.h [__STL_LONG_LONG]: Fix usage to use
9121 LONG_LONG_MIN, LONG_LONG_MAX, and ULONG_LONG_MAX.
9123 * stl/bits/stl_config.h: Don't do __STL_LONG_LONG, it uses
9124 LONGLONG_{MIN,MAX} which I can't find the origin of.
9126 1998-09-03 Brendan Kehoe <brendan@cygnus.com>
9128 * stl/bits/stl_iterator.h: Add extern decl of cin for now; where
9129 should this come from, if not iostream.h?
9130 (class istream_iterator): Make the new operator!= a friend also.
9132 * stl/bits/stl_config.h: Define __STL_HAS_WCHAR_T,
9133 __STL_MEMBER_TEMPLATE_CLASSES, and __STL_LONG_LONG. Don't include
9134 _G_config.h like the egcs one does.
9136 1998-09-01 Brendan Kehoe <brendan@cygnus.com>
9138 * bits/string.tcc: Call `_M_destroy' instead of `destroy'.
9140 * bits/valarray_meta.h: Throughout, rename _Expr typedefs to be
9141 _Expr1 (or _Expr_def if it's taken), and change definitions.
9142 Avoids redecl of the template parm.
9144 * bits/string.tcc (basic_string copy ctor): Fix typo in declaration.
9145 (operator>>): Initialize __ERROR with ios_base::goodbit, not 0.
9147 * bits/std_streambuf.h (_POSIX_SOURCE): Only define if it's not
9150 * src/locale-inst.cc: New file, **TOTAL HACK**. There has GOT to
9151 be a better way to do this.
9153 * src/stlinst.cc: New file.
9155 * BUGS: New file, with various discovered bugs that need to be
9158 * Makefile.in, math/Makefile.in, string/Makefile.in,
9159 src/Makefile.in: Reran automake.
9161 Workarounds, these may not all be the final fixes:
9163 * bits/basic_ios.h (class basic_ios): Make _M_strbuf be protected,
9164 not private, for basic_istream::get() in std_istream.h to be able
9166 (basic_ios::operator void*): Don't use static_cast for the false
9168 (basic_ios::copyfmt): Fix `rhs.except' to be `rhs.exceptions ()'.
9169 This appears to have been in sep94, but didn't get corrected
9172 * bits/basic_string.h (npos): Don't init here.
9173 * bits/string.tcc: Instead, do initialization here, to -1 instead
9174 of the size_type destructor.
9176 * src/traits.cc, src/wtraits.cc: New files.
9177 * bits/char_traits.h: For char_traits<char> and
9178 char_traits<wchar_t>, declare static, but define over in the src
9181 * bits/gslice.h: Comment out forward decls of _Array, valarray,
9182 gslice_array, and _GsliceExpression.
9184 * bits/std_cstdio.h [__sparc__ && __svr4__]: #undef all of
9185 clearerr, feof, ferror, getc, getchar, putc, putchar, stdin,
9186 stdout, and stderr. Note we do get unresolved refs to stdin, but
9187 that'll get fixed by the "true" solution.
9189 * bits/std_ios.h: Include <bits/std_streambuf.h> to get the
9190 definition of basic_streambuf.h, which is used in basic_ios.h to
9193 * bits/std_streambuf.h: Don't include libio.h for now.
9194 (class basic_streambuf): Define missing methods pubimbue and
9197 * src/Makefile.am (libstdc___la_SOURCES): Add stdexcept.cc,
9198 ios.cc, os_raw.cc, stdstreams.cc, locale.cc, localename.cc,
9199 locale-inst.cc, stlinst.cc, traits.cc, wtraits.cc.
9201 * src/ios.cc: Instantiate basic_ios<char> and basic_ios<wchar_t>.
9203 * src/locale.cc: Come up with munged versions of _S_toupper,
9204 _S_tolower, and _S_table instead of the glibc-specific ones, so
9205 they're at least defined, if not necessarily usable. The glibc
9206 ones on any other system will yield unresolved refs to
9207 __ctype_{b,toupper,tolower}.
9209 * src/string.cc: Define all of ADDCS, ADDPS, et al. Add
9210 basic_ios, basic_istream, basic_ostream. Don't do char_traits
9211 anymore cuz of the explicit specialization in char_traits.h.
9212 Also add _S_string_copy, but this doesn't fix it -- cf the BUGS
9213 file for the details.
9215 * stl/bits/stl_algobase.h (equal): Fix to do `! (x==y)'.
9216 * stl/bits/stl_iterator.h (__distance): Likewise.
9218 * stl/bits/stl_iterator.h: As with 8/18 set, define missing op!=,
9219 op>, op<=, and op>= for reverse_iterator. Also add op!= for
9222 1998-08-26 Brendan Kehoe <brendan@cygnus.com>
9224 * bits/string.tcc (basic_string::compare (const char*)): Fix to
9227 1998-08-25 Brendan Kehoe <brendan@cygnus.com>
9229 This should really be fixed with __asm__ directives renaming the
9230 symbol, but keeping the function.
9231 * math/clogf.c (c_logf): Renamed from `clogf'.
9232 * math/clogl.c (c_logl): Renamed from `clogl'.
9233 * math/complex-stub.h (c_logf, c_logl): Change decls.
9235 * bits/locfacets.h (class _Numeric_get): For friend decls, rename
9236 _CharT and _InIter parms, since they duplicate the enclosing ones.
9238 1998-08-19 Brendan Kehoe <brendan@cygnus.com>
9240 Deal with conflict of the iostreams `clog' and our internal
9241 complex number `clog'.
9242 * src/complex.cc: Call `c_log' instead of `clog'.
9243 * math/clog.c (c_log):: Renamed from clog.
9244 * math/complex-stub.h (c_log): Renamed from clog decl.
9246 * bits/locfacets.h (class _Numeric_get): Tweak fwd decls of the
9248 (num_put::put): #if 0 long long version, since we don't declare or
9249 define the long long version of do_put.
9251 1998-08-18 Nathan Myers <ncm@cantrip.org>
9253 * bits/basic_string.h: add basic_string<>::push_back(), fix return
9254 type of get_allocator (thanks to Ryszard Kabatek).
9255 * bits/char_traits.h: make init order of fpos<> members
9257 * bits/ios_base.h: fix decls of ios_base bitmask & enum types, add
9258 flags _S_fd_in etc. for special filebuf ctor.
9259 * bits/locfacets.h: make _Numeric_get and _Format_cache public
9260 to work around problems in friend declarations.
9261 * bits/locfacets.tcc: qualify _S_get_cache in num_get<>::get(..bool&),
9262 fix random type errors & typos
9263 * bits/std_fstream.h: major refitting to bypass libio (for now),
9264 instrument to use bits/fstream.tcc template definitions
9265 * bits/std_iosfwd.h: mess with wrappers
9266 * bits/std_istream.h: remove meaningless comment
9267 * bits/std_ostream.h: instrument to work with ostream.tcc.
9268 * bits/std_streambuf.h: instrument to work with streambuf.tcc
9269 * bits/fstream.tcc: template defs for <fstream>
9270 * bits/ostream.tcc: template defs for <ostream>
9271 * bits/streambuf.tcc: template defs for <streambuf>
9272 * bits/os_raw.h: thin OS interface wrapper, to bypass libio (for now).
9273 * Delete .cc files, replace with bits/*.tcc
9279 src/os_raw.cc: thin interface to OS, to bypass libio (for now).
9280 src/stdstreams.cc: cout, cin, etc. definitions
9281 (these still need work: must be init'd before user statics.)
9284 1998-08-18 Brendan Kehoe <brendan@cygnus.com>
9286 Sent to SGI before checkin:
9287 * stl/bits/stl_vector.h (operator!=, operator>, operator<=,
9288 operator>=): Define.
9289 * stl/bits/stl_bvector.h (vector<bool>::flip): Define method.
9290 * stl/bits/stl_deque.h (operator!=, operator>, operator<=,
9291 operator>=): Define.
9292 (operator==, operator<): Add inline.
9293 * stl/bits/stl_map.h (operator!=, operator<, operator<=,
9294 operator>=): Define.
9295 * stl/bits/stl_multimap.h (operator!=, operator<, operator<=,
9296 operator>=): Define.
9297 * stl/bits/stl_list.h (operator!=, operator<, operator<=,
9298 operator>=): Define.
9299 * stl/bits/stl_set.h (operator!=, operator<, operator<=,
9300 operator>=): Define.
9301 * stl/bits/stl_multiset.h (operator!=, operator<, operator<=,
9302 operator>=): Define.
9304 * bits/std_valarray.h (_Shift_left, _Shift_right): Inherit from
9307 1998-08-15 Nathan Myers <ncm@cantrip.org>
9309 * bits/ios_base.h: change nominal bitmask and enum types to real enums
9310 * bits/locfacets.h: make _Format_cache bool names usable by num_get
9311 * bits/locfacets.tcc: make num_get<>::get(... bool&) use _Format_cache
9312 * bits/std_fstream.h: minor cleanups: ctors delegate to open()
9313 * bits/std_iosfwd.h: more bitmask changes, for ios_base::iostate
9314 * bits/std_sstream.h: formatting cleanups
9316 1998-08-14 Nathan Myers <ncm@cantrip.org>
9318 * bits/locfacets.tcc: implement num_get<>::do_get(..., bool&)
9319 * bits/locfacets.tcc: implement time_get<>::do_get_weekday
9320 * bits/locfacets.tcc: implement time_get<>::do_get_monthname
9321 * bits/locfacets.h: fix missing argument in do_get_monthname
9322 (this is a bug in the standard, ref. 36 in my list.)
9323 * bits/locfacets.h: make month and day name caches mutable
9324 * bits/locfacets.tcc: various typos in get() functions
9325 * bits/sbuf_iter.h: fix omission in istreambuf_iterator::op++().
9326 * bits/std_streambuf.h: fix typo in sgetn (Brendan)
9328 1998-08-12 Nathan Myers <ncm@cantrip.org>
9329 * move streambuf iterators to bits/sbuf_iter.h
9330 * optimize streambuf iterators
9331 * begin generalizing streambuf
9332 * begin implementing num_get<>::get (starting with bool)
9333 * patch stl/bits/stl_config.h so that relops operators are
9334 contained properly, out of the way.
9336 1998-07-24 Nathan Myers <ncm@cantrip.org>
9337 * Fold in SGI 3.11 changes (uglified names, some algorithm
9338 improvements, very minor bug fixes.)
9339 * Uglify names elsewhere to match (s/_T/_Tp/).
9340 * Begin work on optimized streambuf
9341 * Put complex.cc in namespace std:: (thanks Martin)
9343 1998-07-17 Nathan Myers <ncm@cantrip.org>
9345 * bits/char_traits.h: add _Char_traits_match template.
9346 * bits/string.tcc: fix bugs in various find_last* members.
9347 * bits/basic_string.h: redeclare member _S_find.
9348 * stl/bits/stl_iterator.h: change member names in nonstandard
9349 templates bidirectional_reverse_iterator and
9350 random_access_reverse_iterator to match expected changes
9352 * src/string.cc: fix definitions of stream operators.
9354 1998-07-14 16:06 Ulrich Drepper <drepper@cygnus.com>
9356 * Makefile.am (SUBDIRS): Add string.
9358 * configure.in: Test for long double functions separately. Test for
9359 ISO C 89 float functions. Test for endian.h and sys/isa_defs.h.
9360 Generate string/Makefile.
9362 * bits/c++config.h: Define mbstate_t for Solaris.
9364 * bits/char_traits.h: Remove unused #if.
9366 * bits/std_cwchar.h: Declare wide char string functions.
9368 * m4/stringfcts.m4: New file.
9370 * math/complex-stub.h: Declare nan.
9371 * math/nan.c: New file.
9373 * math/mathconf.h: Hack around missing endian.h file.
9374 Handle missing NAN definition.
9375 Handle missing float math functions.
9377 * src/Makefile.am (libstdc___la_LIBADD): Add libstring.la.
9378 (libstdc___la_LDFLAGS): Set version information.
9380 * src/complexl.cc: Don't compile any code if no long double functions
9383 * string/Makefile.am: New file.
9384 * string/dummy.c: New file.
9385 * string/wmemchr.c: New file.
9386 * string/wmemcmp.c: New file.
9387 * string/wmemcpy.c: New file.
9388 * string/wmemmove.c: New file.
9389 * string/wmemset.c: New file.
9391 1998-07-14 10:45 Ulrich Drepper <drepper@cygnus.com>
9393 * configure.in: Make it work.
9394 * install-sh: New file.
9395 * missing: New file.
9396 * mkinstalldirs: New file.
9397 * m4/mathfcts.m4: New file.
9398 * math/Makefile.am: New file.
9400 * bits/std_complex.h (conj): Mark specializations as inline.
9402 * math/carg.c: New file.
9403 * math/cargf.c: New file.
9404 * math/cargl.c: New file.
9405 * math/mycabs.c: New file.
9406 * math/mycabsf.c: New file.
9407 * math/mycabsl.c: New file.
9408 * math/signbit.c: New file.
9409 * math/signbitf.c: New file.
9410 * math/signbitl.c: New file.
9412 * math/ccos.c: Avoid ISO C 9x functionality.
9413 * math/ccosf.c: Likewise.
9414 * math/ccosh.c: Likewise.
9415 * math/ccoshf.c: Likewise.
9416 * math/ccoshl.c: Likewise.
9417 * math/ccosl.c: Likewise.
9418 * math/cexp.c: Likewise.
9419 * math/cexpf.c: Likewise.
9420 * math/cexpl.c: Likewise.
9421 * math/clog.c: Likewise.
9422 * math/clog10.c: Likewise.
9423 * math/clog10f.c: Likewise.
9424 * math/clog10l.c: Likewise.
9425 * math/clogf.c: Likewise.
9426 * math/clogl.c: Likewise.
9427 * math/cpow.c: Likewise.
9428 * math/cpowf.c: Likewise.
9429 * math/cpowl.c: Likewise.
9430 * math/csin.c: Likewise.
9431 * math/csinf.c: Likewise.
9432 * math/csinh.c: Likewise.
9433 * math/csinhf.c: Likewise.
9434 * math/csinhl.c: Likewise.
9435 * math/csinl.c: Likewise.
9436 * math/csqrt.c: Likewise.
9437 * math/csqrtf.c: Likewise.
9438 * math/csqrtl.c: Likewise.
9439 * math/ctan.c: Likewise.
9440 * math/ctanf.c: Likewise.
9441 * math/ctanh.c: Likewise.
9442 * math/ctanhf.c: Likewise.
9443 * math/ctanhl.c: Likewise.
9444 * math/ctanl.c: Likewise.
9446 * math/complex-stub.h: New file.
9448 * math/mathconf.h: New file.
9450 * src/Makefile.am: New file.
9452 * src/complex.cc: Use mathconf.h instead of complex.h.
9453 Don't use cabs, always use __mycabs.
9455 1998-02-13 Brendan Kehoe <brendan@cygnus.com>
9457 * iterator (class reverse_iterator): Do some tweaks to be in sync