1 2000-12-08 Gabriel Dos Reis <gdr@codesourcery.com>
3 * acinclude.m4: Don't forget to remove check for cpowl as it is no
4 longer needed, nor is the corresponding stub existent.
5 * aclocal.m4: Regenarate.
6 * configure: Regenarate.
8 2000-12-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
10 * config/os/generic/bits/ctype_base.h (ctype_base): Change space mask.
12 * config/os/generic/bits/ctype_noninline.h (ctype): Remove default
13 arguments in definition.
14 * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
15 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
16 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
17 * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
18 * config/os/irix/bits/ctype_noninline.h (ctype): Same.
19 * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
20 * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
21 * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
22 * config/os/aix/bits/ctype_noninline.h (ctype): Same.
24 * include/bits/locale_facets.h: Tweak.
26 2000-12-06 Benjamin Kosnik <bkoz@kredhat.com>
28 * include/bits/locale_facets.h (ctype): Remove _Ctype_nois and
29 _Ctype and replace with common __ctype_abstract_base.
30 (ctype<wchar_t>::_M_convert_to_wmask): Move to locale.cc.
31 * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>::ctype):
33 * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
34 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
35 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
36 * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
37 * config/os/irix/bits/ctype_noninline.h (ctype): Same.
38 * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
39 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
40 * config/os/aix/bits/ctype_noninline.h (ctype): Same.
41 * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
42 * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
43 * src/locale-inst.cc: Clean instantiations.
44 * src/locale.cc (ctype<char>): Add definitions here.
45 (ctype<wchar_t>::_M_wmask): Move definitions here.
47 * config/os/generic/bits/ctype_inline.h (ctype<char>::is):
48 Implement in a generic way, with only "C" functionality and no
49 knowlege of the target os.
50 * config/os/generic/bits/os_defines.h: Change comments to C++ style.
51 * testsuite/22_locale/ctype_char_members.cc (test01): Add tests.
53 * include/bits/codecvt.h (ctype_byname): Remove specializations,
55 * include/bits/localefwd.h (codecvt_byname): And here.
56 * src/codecvt.cc: Remove codecvt_byname specializations.
58 * include/c/bits/std_cstdio.h: Include c++config.h.
60 2000-12-06 Phil Edwards <pme@sources.redhat.com>
62 * acinclude.m4 (GLIBCPP_CHECK_*_DECL_AND_LINKAGE_*): Pre-test
63 whether the cached result is present.
64 * aclocal.m4: Regenerate.
65 * configure: Regenerate.
66 * Makefile.in: Regenerate.
67 * libio/Makefile.in: Regenerate.
68 * libmath/Makefile.in: Regenerate.
69 * libsupc++/Makefile.in: Regenerate.
70 * src/Makefile.in: Regenerate.
72 2000-12-06 Richard Earnshaw <rearnsha@arm.com>
74 * configure.target (*-*-freebsd, *-*-netbsd): Correct paths to
77 2000-12-05 Jeffrey A Law <law@cygnus.com>
79 * configure.target (hpux): Set os_include_dir.
80 * config/os/hpux/bits/ctype_base.h: New file
81 * config/os/hpux/bits/ctype_inline.h: New file
82 * config/os/hpux/bits/ctype_noinline.h: New file
83 * config/os/hpux/bits/os_defines.h: New file
85 2000-12-05 Alexandre Petit-Bianco <apbianco@redhat.com>
87 * src/Makefile.am (libstdc++.INC): Revert for libjava builds.
88 * src/Makefile.in: Regenerate.
90 2000-12-05 Benjamin Kosnik <bkoz@haight.redhat.com>
92 * acinclude.m4 (EXTRA_CXX_FLAGS): And here.
93 * include/c/bits/std_cstdlib.h (std ): Change macro to
94 _GLIBCPP_NEED_LLDIV_T.
95 * acconfig.h: Remove unused MBSTATE_T bits.
97 * aclocal.m4: Regenerate.
98 * configure: Regenerate.
99 * config.h.in: Regenerate.
101 2000-12-05 Benjamin Kosnik <bkoz@fillmore.redhat.com>
103 * acinclude.m4: Change up to reflect new directory organization.
104 Add in bits for NetBSD.
105 * aclocal.m4: Regenerate.
106 * configure: Regenerate.
107 * config/os/bsd: New directory.
108 * config/os/netbsd: Move to...
109 * config/os/bsd/netbsd: ...here.
110 * config/os/freebsd: Move to...
111 * config/os/bsd/freebsd: ...here.
113 2000-12-05 Benjamin Kosnik <bkoz@haight.redhat.com>
115 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Check for
116 lldiv_t. Allow the use of os-specific defines while checking for
117 long-long functions by the inclusion of os_defines.h.
118 * aclocal.m4: Regenerate.
119 * configure.in: Add comments.
120 * configure: Regenerate.
121 * acconfig.h: Add _GLIBCPP_HAVE_LLDIV_T.
122 * config.h.in: Regenerate.
123 * config/os/gnu-linux/bits/os_defines.h: Fix typos and
124 duplications in comments.
126 2000-12-05 Richard Earnshaw <rearnsha@arm.com>
128 * config/os/freebsd/bits/ctype_base.h: Update comments about other
131 2000-12-05 Richard Earnshaw <rearnsha@arm.com>
133 * config/os/freebsd/bits/*.h: Move here from config/os/bsd/bits.
134 * aclocal.m4: Adjust accordingly.
135 * configure.target: Likewise.
136 * configure: Regenerate.
138 2000-12-05 Richard Earnshaw <rearnsha@arm.com>
140 * config/cpu/arm/bits/atomicity.h: Add support for compiling Thumb
143 2000-12-05 Richard Earnshaw <rearnsha@arm.com>
146 * aclocal.m4: Add test for NetBSD's ctype support.
147 * configure: Regenerate.
148 * configure.target: Support NetBSD.
149 * config/os/netbsd/bits/ctype_base.h: New file.
150 * config/os/netbsd/bits/ctype_inline.h: New file.
151 * config/os/netbsd/bits/ctype_noinline.h: New file.
152 * config/os/netbsd/bits/os_defines.h: New file.
154 2000-12-05 Gabriel Dos Reis <gdr@codesourcery.com>
156 * src/complex.cc (pow): Remove definitions for explicit
158 * libmath/mathconf.h: Remove declarations for c_log, c_logf,
160 * libmath/complex-stub.h: Remove declarations for cpow, cpowf,
162 * libmath/cpow.c: Remove.
163 * libmath/cpowf.c: Remove.
164 * libmath/cpowl.c: Remove.
165 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove c_logl,
167 (EXTRA_DIST): Remove c_log, c_logf, carg, cargf.
168 * libmath/Makefile.in: Regenarate.
169 * libmath/c_log.c: Remove
170 * libmath/c_logf.c: Likewise.
171 * libmath/c_logl.c: Likewise.
172 * libmath/carg.c: Likewise.
173 * libmath/cargf.c: Likewise.
174 * libmath/cargl.c: Likewise.
175 * include/bits/std_complex.h (pow): Define primary templates.
176 (complex<>): Remove friend declarations for pow<>().
177 * acinclude.m4: Remove check for c_log, c_logf, c_logl, carg,
179 * aclocal.m4: Regenarate.
180 * configure: Regenarate.
182 2000-12-03 Joseph S. Myers <jsm28@cam.ac.uk>
184 * docs/configopts.html, docs/documentation.html,
185 docs/install.html, docs/17_intro/BADNAMES,
186 docs/17_intro/contribute.html, docs/17_intro/howto.html,
187 docs/18_support/howto.html, docs/19_diagnostics/howto.html,
188 docs/20_util/howto.html, docs/21_strings/howto.html,
189 docs/22_locale/howto.html, docs/23_containers/howto.html,
190 docs/24_iterators/howto.html, docs/25_algorithms/howto.html,
191 docs/26_numerics/howto.html, docs/27_io/howto.html,
192 docs/ext/howto.html, docs/faq/index.html, docs/faq/index.txt: Sync
195 2000-12-01 Phil Edwards <pme@sources.redhat.com>
197 * docs/download.html: Remove.
198 * docs/footer.ihtml: Remove.
199 * docs/header.ihtml: Remove.
200 * docs/index.html: Remove.
201 * docs/links.html: Remove.
202 * docs/mail.html: Remove.
203 * docs/status.html: Remove.
204 * docs/thanks.html: Remove.
206 2000-12-01 Phil Edwards <pme@sources.redhat.com>
208 * mkcheck.in: Count static and shared results separately.
210 2000-12-01 Loren J. Rittle <ljrittle@acm.org>
212 * mkcheck.in: Correct typo.
214 2000-12-01 Gabriel Dos Reis <gdr@codesourcery.com>
216 * src/cmath.cc: Remove.
217 * src/Makefile.am (c_base_headers): Add bits/cmath.tcc.
218 (sources): Remove cmath.cc
219 * src/Makefile.in: Regenerate.
221 * include/c/bits/std_cmath.h (__cmath_power<>): Declare.
222 (__cmath_abs<>): New function.
223 (abs, fabs): Use __cmath_abs when no direct support is available.
224 (__pow_helper<>): New function.
225 (pow): Define here. Use __pow_helper<>.
227 * include/c/bits/cmath.tcc: New file.
229 2000-11-29 Benjamin Kosnik <bkoz@redhat.com>
231 Fixes for build directories with colons, AIX build problems.
232 * src/Makefile.am: Cleanups, add documentation.
233 (libstdc++.INC): Simplify rule.
234 (myinstallheaders): Consolidate install rules.
235 (myinstalldirs): New, make directores.
236 (base_headers): Subdivide based on install directory.
238 (backward_headers): New.
240 (c_headers): Remove, unused.
241 (c_shadow_headers): Split up, deal with conditional usage in a
243 * src/Makefile.in: Regenerate.
245 2000-11-29 Phil Edwards <pme@sources.redhat.com>
247 Sync with the documentation from wwwdocs.
248 * docs/Makefile: New file (rebuilds FAQ text version).
249 * docs/configopts.html: Update.
250 * docs/documentation.html: Update.
251 * docs/download.html: Update.
252 * docs/index.html: Update.
253 * docs/install.html: Update.
254 * docs/links.html: Update.
255 * docs/mail.html: Update.
256 * docs/status.html: Update.
257 * docs/thanks.html: Update.
258 * docs/27_io/howto.html: Update.
259 * docs/faq/index.html: Update for 2.91.
260 * docs/faq/index.txt: Update for 2.91.
261 * docs/footer.html: Removed.
262 * docs/footer.ihtml: New file.
263 * docs/gccrebuild.html: Removed.
264 * docs/header.html: Removed.
265 * docs/header.ihtml: New file.
267 2000-11-29 Loren J. Rittle <ljrittle@acm.org>
269 * tests_flags.in: Correct typo.
271 2000-11-29 Gabriel Dos Reis <gdr@codesourcery.com>
273 * tests_flags (SH_FLAGS, ST_FLAGS): Move them back to ...
274 * mkcheck.in (SH_FLAGS, ST_FLAGS): ...here
276 2000-11-29 Gabriel Dos Reis <gdr@codesourcery.com>
278 * src/Makefile.am (sources): Add bitset.cc
279 * src/Makefile.in: Regenrate.
281 * include/bits/std_bitset.h (_GLIBCPP_BITSET_BITS_PER_WORD): New
282 macro. Replace __BITS_PER_WORDS throughout.
283 (__BITS_PER_WORDS): Remove.
284 (bitset<>::_M_do_find_first, bitset<>::_M_do_find_next): Move
285 definitions to src/bitset.cc.
287 * src/bitset.cc (bitset<>::_M_do_find_first,
288 bitset<>::_M_do_find_next): Define here.
289 (_Bit_count<>::_S_bit_count, _Find_one<>::_S_first_one): Define
290 here. Explicitly instantiate definitions.
292 2000-11-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
294 * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): Silence
295 preprocessor multi-line string warnings.
296 (__atomic_add): Likewise.
297 (__compare_and_swap): Likewise.
298 (__always_swap): Likewise.
299 (__test_and_set): Likewise.
300 * config/cpu/arm/bits/atomicity.h (__exchange_and_add): Likewise.
301 (__atomic_add): Likewise.
302 (__compare_and_swap): Likewise.
303 (__always_swap): Likewise.
304 (__test_and_set): Likewise.
306 2000-11-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
308 Update for 2.91 release.
309 * include/bits/c++config (__GLIBCPP__): Update.
310 * docs/17_intro/RELEASE-NOTES: Update.
311 * docs/status.html: Update, remove bogus autotools disinformation.
313 2000-11-27 Benjamin Kosnik <bkoz@redhat.com>
315 * tests_flags.in (LTCXX): Change CXX_FLAG to CXXFLAGS.
317 * testsuite/22_locale/ctor_copy_dtor.cc: Adjust formatting.
318 * testsuite/27_io/istream_extractor_arith.cc (test11): New
319 testcase, based on libstdc++/90.
321 2000-11-27 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
323 * config/cpu/arm/bits/atomicity.h (__exchange_and_add): Add
325 (__atomic_add): Likewise.
326 (__compare_and_swap): Likewise.
327 (__always_swap): Likewise.
328 (__test_and_set): Likewise.
330 * config/cpu/powerpc/bits/atomicity.h: Replace '__ATOMICITY_INLINE'
332 (__exchange_and_add): Add __volatile__ to asm.
333 (__atomic_add): Likewise.
334 (__compare_and_swap): Likewise.
335 (__always_swap): Likewise.
336 (__test_and_set): Likewise.
338 2000-11-27 Gabriel Dos Reis <gdr@codesourcery.com>
340 * tests_flags.in: Update documentation to reflect the change
343 2000-11-26 Benjamin Kosnik <bkoz@fillmore.constant.com>
345 * tests_flags.in: Export CXX, CXXFLAGS.
346 * mkcheck.in: Grab them.
348 2000-11-26 David Billinghurst <David.Billinghurst@riotinto.com>
349 Benjamin Kosnik <bkoz@redhat.com>
351 * mkcheck.in: Add exe extension to printnow executable, abstract
352 out call to this with TIMER_COMMAND.
353 * configure.target (l_glibcpp_cxxflags): Add cygwin support.
354 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Correct paths.
355 * aclocal.m4: Regenerate.
356 * configure: Regenerate.
358 2000-11-26 Benjamin Kosnik <bkoz@redhat.com>
360 * testsuite/27_io/istream_unformatted.cc (test05): Fixup.
362 2000-11-26 Benjamin Kosnik <bkoz@redhat.com>
364 * acinclude.m4: Only sanity check for compiler version when
365 configuring. More fixes for 'make clean'.
366 * aclocal.m4: Regenerate.
367 * configure: Regenerate.
369 2000-11-26 Gabriel Dos Reis <gdr@codesourcery.com>
371 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove cabsl.c
372 * libmath/Makefile.in: Regenerate.
373 * libmath/cabs.c: Remove.
374 * libmath/cabsf.c: Likewise.
375 * libmath/cabsl.c: Likewise.
376 * libmath/complex-stub.h: Remove declarations for cabs*.
378 * acinclude.m4: Remove check for cabs*.
379 * aclocal.m4: Regenerate.
381 * Makefile.in: Regenerate.
383 2000-11-26 Gabriel Dos Reis <gdr@codesourcery.com>
385 * tests_flags.in: New file. Split out of ...
386 * mkcheck.in: ... this. Move flags computation into
388 * configure.in: Add support for tests_flags.
389 * confiigure: Regenerate.
391 2000-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
393 * acinclude.m4: Change C9X references to refer to C99.
394 * aclocal.m4, configure: Regenerate.
395 * config/os/gnu-linux/bits/os_defines.h, src/complex.cc,
396 testsuite/22_locale/codecvt_wchar_t_char.cc,
397 include/bits/stl_config.h, include/c/bits/std_cwchar.h,
398 libmath/mathconf.h: Change C9X references to refer to C99.
400 2000-11-25 Benjamin Kosnik <bkoz@redhat.com>
401 Richard Earnshaw <rearnsha@arm.com>
403 * src/Makefile.am (INCLUDES): Remove unconditional use of
404 _GNU_SOURCE and _ISOC99_SOURCE macros.
405 * src/Makefile.in: Regenerate.
407 2000-11-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
409 * testsuite/22_locale/codecvt_wchar_t_char.cc (main): Add
410 _GLIBCPP_USE_WCHAR_T guards.
412 * configure.in (AC_OUTPUT_COMMANDS): Remove, just run scripts as
413 is, so that checks for existence of generated files actually work.
414 * configure: Regenerate.
416 2000-11-23 Hans-Peter Nilsson <hp@bitrange.com>
418 * config/os/gnu-linux/bits/os_defines.h: Include <features.h>.
419 If not glibc 2.1 or higher, include <gnu/types.h> and define
420 __off64_t as __loff_t and #define __THROW as empty.
422 * libio/libio.h [__P]: Move __THROW and __PMT into their own
425 2000-11-23 David Edelsohn <edelsohn@gnu.org>
427 * porting.texi: Expand libtool information.
429 2000-11-23 Gabriel Dos Reis <gdr@codesourcery.com>
431 * include/bits/ios_base.h (ios_base::failure::~failure,
432 ios_base::failure::what): Move defintion to ...
434 * src/ios.cc (ios_base::failure::~failure): ... here.
435 src/ios.cc (ios::failure::what): Likewise.
437 2000-11-22 Benjamin Kosnik <bkoz@redhat.com>
439 Make deprecated strstream header consistent with new and new.h.
440 * include/backward/strstream.h: Add. Use using declarations to
441 scope strstreambuf, istrstream, ostrstream, strstream to global
443 * include/backward/strstream: Remove using declarations.
444 * src/Makefile.am (base_headers): Add strstream.
445 * src/Makefile.in: Regenerate.
447 * include/backward/new.h (_CPP_BACKWARD_NEW_H): Change macro guard
448 to be consistent with other headers.
450 2000-11-22 Richard Henderson <rth@redhat.com>
452 * config/os/bsd/bits/ctype_inline.h (is): Fix order of expressions.
454 2000-11-22 Phil Edwards <pme@sources.redhat.com>
456 * porting.texi: Minor tweaks to vocabulary.
458 2000-11-22 Loren J. Rittle <ljrittle@acm.org>
460 * include/backward/strstream.h: Reinstate the `using'
463 2000-11-22 Loren J. Rittle <ljrittle@acm.org>
465 * src/Makefile.am (base_headers): Add missing backwards headers.
466 * src/Makefile.in: Regenerate.
468 2000-11-21 scott snyder <snyder@fnal.gov>
470 * config/c_io_stdio.cc (seekoff): Fix return value.
472 (sys_seek): Likewise.
474 2000-11-21 Loren J. Rittle <ljrittle@acm.org>
476 * mkcheck.in (explanation): Retain output of all failing
477 compiles. Don't add gratuitous space to the log file.
479 2000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
481 * src/strstream.cc: Adjust includes.
482 * src/Makefile.am (base_headers): Remove std_strstream.h, add
483 backwards/strstream.h.
484 (std_headers): Remove strstream.
485 * src/Makefile.in: Regenerate.
486 * libsupc++/Makefile.am (headers): Remove new.h
487 * libsupc++/Makefile.in: Regenerate.
488 * include/std/strstream: Remove.
489 * include/backward/strstream.h: Replace with...
490 * include/bits/std_strstream.h: ...this. Move.
491 * include/backward/complex.h: Remove SGIisms.
492 * include/backward/streambuf.h: Same.
493 * include/backward/stream.h: Same.
494 * include/backward/ostream.h: Same.
495 * include/backward/istream.h: Same.
496 * include/backward/iostream.h: Same.
497 * include/backward/iomanip.h: Same.
498 * include/backward/fstream.h: Same.
499 * libsupc++/new.h: Add using declarations for bad_alloc,
500 nothrow_t, and nothrow, move to ...
501 * include/backward/new.h: ...here.
503 2000-11-21 Mark Mitchell <mark@codesourcery.com>
505 * porting.texi: New file.
507 2000-11-21 Branko Cibej <brankoe@xbc.nu>
509 * config/os/solaris/solaris2.6/bits/os_defines.h: Define
510 _XOPEN_SOURCE, _LARGEFILE64_SOURCE, __EXTENSIONS__, __off_t,
511 __off64_t and __ssize_t.
512 * config/os/solaris/solaris2.5/bits/os_defines.h: For now, use the
513 same configuration as above.
515 2000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
517 * acinclude.m4 (AC_LC_MESSAGES): Check for locale.h.
518 * aclocal.m4: Regenerate.
519 * configure: Renerate.
521 2000-11-20 Benjamin Kosnik <bkoz@redhat.com>
523 * mkcheck.in (explanation): Don't paste output of passing compiles
524 into log file. Use -static. Get version info.
526 * testsuite/23_containers/vector_ctor.cc (test02): Fix thinko.
528 2000-11-20 Gabriel Dos Reis <gdr@codesourcery.com>
530 * include/bits/std_complex.h (complex<double>): Constructor
531 complex<double>::complex(const complex<float>&) is not explicit;
532 since it is a promotion.
533 (complex<long double>): Constructors taking complex<float> and
534 complex<double> are not explicit.
536 2000-11-20 Benjamin Kosnik <bkoz@redhat.com>
538 * include/bits/std_complex.h: Tweaks, include cmath for abs overloads.
539 * src/complex.cc: Remove cmath include, formatting tweaks, remove
541 * include/c/bits/std_cmath.h: Formatting tweaks.
542 * testsuite/26_numerics/complex_value.cc: New file, for catching
543 bits gleaned from libstdc++/106.
545 * testsuite/23_containers/vector_ctor.cc (test02): Add test from
548 2000-11-20 Joseph S. Myers <jsm28@cam.ac.uk>
550 * include/bits/c++config, include/bits/ios_base.h,
551 include/bits/std_streambuf.h: Correct spelling of "deprecated".
553 2000-11-19 Mark Mitchell <mark@codesourcery.com>
555 * libsupc++/exception_support.cc (__throw_bad_cast): Name it
556 __cxa_bad_cast under the new ABI.
557 (__throw_bad_typeid): Name it __cxa_bad_typeid under the new ABI.
558 * libsupc++/pure.cc (__pure_virtual): Name it __cxa_pure_virtual
561 2000-11-18 Mark Mitchell <mark@codesourcery.com>
563 * libsupc++/exception_support.h: New header file.
564 * libsupc++/vec.cc: Include it.
565 (__cxa_vec_new2): Recatch exceptions before rethrows.
566 (__cxa_vec_new3): Likewise.
567 (__cxa_vec_ctor): Likewise.
568 (__cxa_vec_cctor): Likewise.
569 (__cxa_vec_dtor): Likewise.
570 (__cxa_vec_delete2): Likewise.
571 (__cxa_vec_delete3): Likewise.
573 2000-11-17 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
575 * include/bits/stl_tree.h: Overload operators == and != to be able
576 to handle the case (const_iterator,iterator) and
577 (iterator,const_iterator), thus fixing libstdc++/737 and the like.
578 * testsuite/23_containers/map_operators.cc (test02): New tests.
580 2000-11-17 Loren J. Rittle <ljrittle@acm.org>
582 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Correct last patch
583 to ``make --enable-cstdio=stdio the default''.
584 * libstdc++-v3/aclocal.m4: Rebuilt.
585 * libstdc++-v3/configure: Rebuilt.
587 2000-11-17 Phil Edwards <pme@sources.redhat.com>
589 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Move switch statement
591 * configure.target: ...here. Enable generic atomic ops, and warn.
592 * aclocal.m4: Regenerated.
594 * Makefile.in: Ditto.
595 * libio/Makefile.in: Ditto.
596 * libmath/Makefile.in: Ditto.
597 * libsupc++/Makefile.in: Ditto.
598 * src/Makefile.in: Ditto.
600 2000-11-16 Loren J. Rittle <ljrittle@acm.org>
602 * include/bits/locale_facets.tcc (num_get<_CharT,
603 _InIter>::do_get(...)): Add missing typename keyword.
605 2000-11-16 Mark Mitchell <mark@codesourcery.com>
607 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Make
608 --enable-cstdio=stdio the default. Disable wide character support
610 * configure.in: Move GLIBCPP_ENABLE_C_MBCHAR after
611 (GLIBCPP_ENABLE_CSTDIO).
612 * config/c_io_stdio.h: Don't include <libio.h>, don't define
614 * aclocal.m4: Regenerated.
615 * configure: Likewise.
616 * Makefile.in: Likewise.
617 * libio/Makefile.in: Likewise.
618 * libmath/Makefile.in: Likewise.
619 * libsupc++/Makefile.in: Likewise.
620 * src/Makefile.in: Likewise.
622 2000-11-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
624 * config/c_io_stdio.h: Include stddef.h.
626 2000-11-16 Mark Mitchell <mark@codesourcery.com>
628 * config/c_io_stdio.h (streamsize): Make it a typedef for
630 (wstreamsize): Likewise.
632 * config/c_io_stdio.h: Include libio.h.
634 2000-11-15 Mark P Mitchell <mark@codesourcery.com>
636 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Substitute libio_la.
637 * src/Makefile.am (libstdc___la_LIBADD): Use it.
638 * aclocal.m4: Regenerated.
639 * configure: Likewise.
640 * Makefile.in: Likewise.
641 * libio/Makefile.in: Likewise.
642 * libmath/Makefile.in: Likewise.
643 * libsupc++/Makefile.in: Likewise.
644 * src/Makfile.in: Likewise.
646 2000-11-15 Mark Mitchell <mark@codesourcery.com>
648 * mkcheckin.in: Move check for bash version 2 later in the file.
650 * include/bits/basic_string.h (basic_string::_Rep::_S_max_size):
652 (basic_string::_Rep::_S_terminal): Likewise.
653 * include/bits/string.tcc (basic_string::_Rep::_S_max_size):
655 (basic_string::_Rep::_S_terminal): Likewise.
657 2000-11-15 David Billinghurst <David.Billinghurst@riotinto.com>
659 * mkcheck.in: Add function size_command() for irix.
661 2000-11-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
663 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPOR): Set LIBS back to
665 (GLIBCPP_EXPORT_INCLUDES): Only export TOPLEVEL_INCLUDES if
666 building a canadian cross. This should fix the remaining java
668 * aclocal.m4: Regenerate.
669 * configure: Regenerate.
671 * include/bits/c++config (__GLIBCPP__): Set release version for 2.91.
673 2000-11-14 Phil Edwards <pme@sources.redhat.com>
675 * mkcheck.in: On a platform where we don't know how to extract
676 section sizes, just set them to zero. Use old method of reading
679 2000-11-13 Loren J. Rittle <ljrittle@acm.org>
681 * config/c_io_stdio.h: Don't define __c_wfile_type
682 when _GLIBCPP_USE_WCHAR_T is not defined.
684 2000-11-13 Phil Edwards <pme@sources.redhat.com>
686 * acinclude.m4 (GLIBCPP_CHECK_TARGET): New macro, replacing
687 GLIBCPP_CHECK_CPU and GLIBCPP_CHECK_OS, sourcing configure.target.
688 (GLIBCPP_CONFIGURE): Call new macro here.
689 * configure.host: Cleanup.
690 * configure.in: Remove those two macros.
691 * configure.target: New file.
692 * aclocal.m4: Regenerated.
694 * Makefile.in: Ditto.
695 * libio/Makefile.in: Ditto.
696 * libmath/Makefile.in: Ditto.
697 * libsupc++/Makefile.in: Ditto.
698 * src/Makefile.in: Ditto.
700 * mkcheck.in: Use libtool. Split things out into functions.
702 2000-11-12 Alexandre Petit-Bianco <apbianco@cygnus.com>
704 * Makefile.am (tmp-libstdsc++.INC:): Do not use -I$(top_builddir).
705 * Makefile.in: Regenerate.
707 2000-11-12 David Edelsohn <edelsohn@gnu.org>
709 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add test for
710 libiconv.a providing wchar_t support functions.
711 * aclocal.m4: Regenerate.
713 2000-11-12 Loren J. Rittle <ljrittle@acm.org>
715 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle FreeBSD.
716 * aclocal.m4, configure: Rebuilt.
718 2000-11-12 Brent Verner <brent@rcfile.org>
720 * include/c_std/bits/wrap_langinfo.h: New file.
721 * include/c_std/langinfo.h: New file.
722 * include/bits/codecvt.h (__enc_trants::__enc_traits()): Bring in
723 CODESET from _C_legacy::CODESET if using shadow headers.
724 * src/Makefile.am: Add new files.
725 * src/Makefile.in: Regenerate.
727 2000-11-12 Mark Mitchell <mark@codesourcery.com>
729 * include/c/bits/std_cmath.h (abs): Change extern "C" declaration
730 of `abs (double)' to ...
733 * config/os/solaris/solaris2.7/bits/os_defines.h: Define
736 2000-11-11 Mark P Mitchell <mark@codesourcery.com>
738 * include/bits/basic_file.h (__basic_file): Don't use __c_wfile_type
739 when _GLIBCPP_USE_WCHAR_T is not defined.
741 2000-11-10 Phil Edwards <pme@sources.redhat.com>
743 * include/bits/codecvt.h (__iconv_adaptor): New adaptor function,
744 courtesy of Alexandre Oliva, to handle const/non-const signatures.
745 (codecvt::do_out): Use.
746 (codecvt::do_in): And here.
748 2000-11-10 Gabriel Dos Reis <gdr@codesourcery.com>
750 * include/bits/cpp_type_traits.h: Fix typos. Adjust formatting.
752 2000-11-10 Gabriel Dos Reis <gdr@codesourcery.com>
754 * include/bits/localefwd.h (_Count_ones<>::_S_halfcount,
755 _Count_ones<>::_S_count): Turn into enumerators.
757 2000-11-08 Mark Mitchell <mark@codesourcery.com>
759 * include/bits/codecvt.h (codecvt::do_out): Make it const-correct.
760 (codecvt::do_in): Likewise.
762 2000-11-08 David Edelsohn <edelsohn@gnu.org>
764 * src/locale-inst.cc: Add explicit instantiations of
765 _M_fill_insert and fill_n<..., unsigned long,...> .
767 2000-11-06 Gabriel Dos Reis <gdr@codesourcery.com>
769 * include/bits/std_complex.h (conj): Undo double removal.
771 2000-11-06 Alexandre Oliva <aoliva@redhat.com>
773 * acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of
774 alternatives for CXX_libstdcxx, now that it is useless.
775 * aclocal.m4, configure: Rebuilt.
777 2000-11-04 Mark Mitchell <mark@codesourcery.com>
779 * acinclude.m4 (LIB_AC_PROG_CXX): Set CXX_libstdcxx from CXX.
780 * aclocal.m4: Regenerated.
781 * configure: Likewise.
783 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix punctuation in
785 * aclocal.m4: Regenerated.
786 * configure: Likewise.
788 2000-11-04 Alexandre Oliva <aoliva@redhat.com>
790 * acinclude.m4 (CXX): Prevent it from being cached.
791 * aclocal.m4, configure, */Makefile.in: Rebuilt.
793 2000-11-03 David Edelsohn <dje@watson.ibm.com>
795 * acinclude.m4 (GLIBCPP_CHECK_OS): Add AIX target selecting threads
796 flag based on multilib definition of $CXX.
797 * mknumeric_limits (LDFLAGS): Add AIX target linking with pthreads
798 based on multilib definition of $CXX.
799 * config/os/aix/bits/os_defines.h (_G_USING_THUNKS): Define as 0.
801 2000-11-03 Phil Edwards <pme@sources.redhat.com>
803 * acinclude.m4: Cleanups.
804 * aclocal.m4: Regenerated.
806 * Makefile.in: Ditto.
807 * libio/Makefile.in: Ditto.
808 * libmath/Makefile.in: Ditto.
809 * libsupc++/Makefile.in: Ditto.
810 * src/Makefile.in: Ditto.
812 * docs/install.html: Removal of EGCS.
813 * docs/23_containers/wrappers_h.txt: Likewise.
814 * docs/faq/index.html: Likewise.
815 * docs/faq/index.txt: Regenerated.
816 * docs/thanks.html: More people.
818 2000-11-03 David Edelsohn <edelsohn@gnu.org>
820 * include/c/bits/std_cwchar.h: Undefine macro that conflicts
821 with function name defined in this file.
823 Thu Nov 2 23:19:20 2000 Mark P Mitchell <mark@codesourcery.com>
825 * include/c/bits/std_cctype.h: Undefine macros that conflict
826 with function names defined in this file.
827 * include/c/bits/std_cstdio.h: Likewise.
829 2000-11-02 Mark Mitchell <mark@codesourcery.com>
831 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix typo.
833 Thu Nov 2 10:11:45 2000 Mark P Mitchell <mark@codesourcery.com>
835 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Add support for IRIX.
836 * aclocal.m4: Regenerated.
837 * Makefile.in: Regenerated.
838 * libio/Makefile.in: Likewise.
839 * libmath/Makefile.in: Likewise.
840 * libsupc++/Makefile.in: Likewise.
841 * src/Makefile.in: Likewise.
842 * configure: Likewise.
843 * config/os/irix/bits/ctype_base.h: Revise.
844 * config/os/irix/bits/ctype_inline.h: Likewise.
845 * config/os/irix/bits/ctype_noninline.h: Likewise.
847 * testsuite/22_locale/codecvt_unicode_char.cc: Don't run it
848 if not _GLIBCPP_USE_WCHAR_T.
849 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
850 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
851 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
853 * mkcheck.in: Fix echoing of -rpath option.
855 * config/os/irix/bits/atomicity.h (_Atomic_word): Make it a
857 (__exchange_aand_add): Adjust accordingly.
858 (__atomic_add): Likewise.
860 2000-11-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
862 * src/locale.cc: Match orderings for static members.
863 * include/bits/fstream.tcc: Fixes for cin.
865 2000-11-02 Gabriel Dos Reis <gdr@codesourcery.com>
867 * include/bits/std_complex.h (complex<>): Remove (cos<>, cosh<>,
868 exp<>, log<>, log<>, sin, sinh<>) friend declarations.
869 (cos, cosh, sin, sinh): Define primary templates.
871 * src/complex.cc (cos<>, cosh<>, sin<>, sinh<>): Comment out
874 2000-11-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
876 * bits/basic_file.h (_M_open_mode): Change signature, move
878 * config/c_io_libio.cc: ...here.
879 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add sdtio option, remove wince.
880 * aclocal.m4: Regenerate.
881 * configure: Regenerate.
882 * config/c_io_stdio.h: New file.
883 * config/c_io_stdio.cc: New file.
884 * docs/configopts.html: Modify documentation.
886 2000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
888 * include/c/bits/std_cwctype.h: Add more undefs.
890 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
892 * include/bits/std_complex.h (norm): Forward declare.
893 (complex<>): Comment out friend declaration of conj<>.
894 (conj<>): Comment out specialization.
895 (exp, log, log10): Define primary templates.
897 * src/complex.cc (exp<>, log<>, log10<>): Comment out
900 2000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
902 * include/bits/std_complex.h: Remove duplicate definition of conj.
903 * include/c/bits/std_cwctype.h: Consistent placement of undefs.
905 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
907 * src/complex.cc (arg, polar): Comment out specializations.
909 * include/bits/std_complex.h (complex<>): Remove arg<> friend
911 (arg): Define primary template.
915 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
917 * include/c/bits/std_cwctype.h: #undef possible function-like
918 macro definitions of iswxxx functions, which might be brought in
919 by <wctype.h>. Those macro definitions prevent build on some
922 * include/bits/std_complex.h (complex<>): Comment out friend
923 declarations of abs<> specializations.
924 (abs): Define primary template.
926 * src/complex.cc (abs): Comment out specialization definition.
928 2000-10-30 Phil Edwards <pme@sources.redhat.com>
930 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Raise debugging level from
931 the default of 2 to 3.
932 * configure.in: Fix minor typos. SUBST the values of enable_shared
933 and enable_static so that mkcheck will be aware of them. Put the
934 test for gconv.h in with all the other header tests.
935 * aclocal.m4: Regenerate.
937 * Makefile.in: Ditto.
938 * libio/Makefile.in: Ditto.
939 * libmath/Makefile.in: Ditto.
940 * libsupc++/Makefile.in: Ditto.
941 * src/Makefile.in: Ditto.
943 * config/os/solaris/solaris2.7/bits/os_defines.h: Define
944 _G_USING_THUNKS to 0.
946 2000-10-30 Benjamin Kosnik <bkoz@redhat.com>
948 * src/complex_io.cc : Remove ancient defines.
949 * config/os/gnu-linux/bits/os_defines.h: Add defines.
950 * libsupc++/tinfo2.cc: Change to cstddef.
952 * include/bits/codecvt.h: Add include of c++config.h, so that
953 __USE_GNU gets defined. (Important for alpha.)
955 * include/c/bits/std_cwctype.h: Same.
956 * include/c/bits/std_ctime.h: And here.
957 * include/c/bits/std_cstdarg.h: Same.
958 * include/c/bits/std_csignal.h: Same.
959 * include/c/bits/std_csetjmp.h: Same.
960 * include/c/bits/std_clocale.h: Same.
961 * include/c/bits/std_climits.h: Touch.
962 * include/c/bits/std_cfloat.h: Same.
963 * include/c/bits/std_cerrno.h: Same.
964 * include/c/bits/std_cwchar.h: Same.
965 * include/c/bits/std_cassert.h: Same.
966 * include/c/bits/std_cctype.h: Same.
967 * include/c/bits/std_cstddef.h: And here.
968 * include/c/bits/std_cstdlib.h: And here.
969 * include/c/bits/std_cstdio.h: Same.
970 * include/c/bits/std_cstring.h: Add names to namespace std::.
972 * include/bits/c++config (_GNU_SOURCE): Move linux-specific macros
974 (_ISOC99_SOURCE): And this one....
975 * config/os/gnu-linux/bits/os_defines.h: ...to here.
977 * include/bits/codecvt.h (codecvt<_InternT, _ExternT,
978 __enc_traits>::do_in): Don't cast to const, this is a bug in glibc
980 (codecvt<_InternT, _ExternT, __enc_traits>::do_out): Same.
981 * include/c/bits/std_cwchar.h: Add using declarations for mbstate_t.
983 2000-10-30 Steven King <sxking@uswest.net>
985 * include/bits/codecvt.h: Add cast.
986 * include/c_std/stdio.h: Re-add printf using declaration.
987 * include/c_std/bits/std_cstdio.h: Same
988 * testsuite/22_locale/codecvt_wchar_t_char.cc: Fixup testsuite.
989 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
990 * testsuite/22_locale/facet.cc: Same.
991 * testsuite/22_locale/global_templates.cc: Same.
992 * testsuite/22_locale/operators.cc: Same.
993 * testsuite/22_locale/static_members.cc: Same.
994 * testsuite/26_numerics/c_math.cc: Same.
995 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
996 * testsuite/27_io/fpos.cc: Same.
997 * testsuite/27_io/istream_extractor_arith.cc: Same.
998 * testsuite/27_io/istream_unformatted.cc: Same.
999 * testsuite/27_io/ostream_inserter_arith.cc: Same.
1000 * testsuite/27_io/streambuf.cc: Same.
1002 2000-10-30 Mark Mitchell <mark@codesourcery.com>
1004 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT): Check
1005 for cabs, cabsf, and cabsl, too.
1006 * aclocal.m4: Regenerated.
1007 * config.h.in: Likewise.
1008 * configure: Likewise.
1009 * libmath/Makefile.am (libmath_la_SOURCES): Remove cabs.c and
1011 * libmath/Makefile.in: Regenerated.
1012 * libmath/complex-stub.h (cabs): Don't declare if the system
1013 already provides this function.
1016 * src/complex.cc (abs): Directly use `hypot' since we can't call
1019 2000-10-30 Joseph S. Myers <jsm28@cam.ac.uk>
1021 * acinclude.m4: Update URL on egcs.cygnus.com to point to
1023 * aclocal.m4, configure: Regenerate.
1024 * src/gen-num-limits.cc, include/bits/c++config,
1025 include/bits/stl_config.h: Remove EGCS references.
1027 2000-10-29 Mark Mitchell <mark@codesourcery.com>
1029 * mkcheck.in (test_file): Use -rpath, rather than --rpath, when
1030 building shared executables.
1032 2000-10-29 Mark Harig <mharig@landmark.com>
1034 * src/Makefile.am: Change logic for include dir options.
1035 * src/Makefile.in: Regenerate.
1036 * libsupc++/Makefile.am: Ditto.
1037 * libsupc++/Makefile.in: Regenerate.
1039 2000-10-29 Benjamin Kosnik <bkoz@redhat.com>
1041 * configure.in: Simplify use of AC_CACHE_SAVE. Put linked files
1042 in $(top_builddir)/include/bits, not $(top_builddir)/bits, to help
1043 with libgcj build issues and improve consistency with the source
1044 directory's include directory setup.
1045 * configure: Regenerate.
1046 * acinclude.m4: Same here.
1047 * aclocal.m4: Regenerate.
1048 * mknumeric_limits (OUT_H): Also change paths here.
1049 * mkcheck.in (C_DIR): And here.
1050 * mkc++config (OUT_H): And here.
1051 * libmath/Makefile.am (INCLUDES): And here.
1052 * src/Makefile.am (INCLUDES): Change to $(top_builddir)/include.
1053 * libio/Makefile.am: Ditto.
1054 * libsupc++/Makefile.am (INCLUDES): Ditto.
1056 2000-10-29 Mark Mitchell <mark@codesourcery.com>
1058 * config/c_io_libio.cc (basic_file<char>::__basic_file):
1059 Don't pass a NULL _IO_wide_data to _IO_no_init when
1060 _GLIBCPP_USE_WCHAR_T is not defined.
1061 * config/c_io_libio.h (_IO_codecvt): Don't declare when
1062 _GLIBCPP_USE_WCHAR_T is not defined.
1063 * config/c_io_libio_codecvt.c: Don't compile it
1064 when _GLIBCPP_USE_WCHAR_T is not defined.
1065 * include/bits/codecvt.h (codecvt<_InternT, _ExternT, __enc_traits):
1066 Don't define this specialization when _GLIBCPP_USE_WCHAR_T
1068 * include/bits/locale_facets.h (<bits/std_cwctype.h>): Don't
1069 include it when _GLIBCPP_USE_WCHAR_T is not defined.
1070 * src/codecvt.cc (__enc_traits::_S_max_size): Don't define
1071 when _GLIBCPP_USE_WCHAR_T is not defined.
1072 * src/localename.cc (locale::_Impl::_M_construct_collate):
1073 Don't call wide-character functions when _GLIBCPP_USE_WCHAR_T is
1075 (locale::_Impl::_M_construct_ctype): Likewise.
1076 (locale::_Impl::_M_construct_monetary): Likewise.
1077 (locale::_Impl::_M_construct_numeric): Likewise.
1078 (locale::_Impl::_M_construct_time): Likewise.
1079 (locale::_Impl::_M_construct_messages): Likewise.
1081 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle IRIX.
1082 * aclocal.m4: Regenerated.
1083 * configure: Likewise.
1084 * config/os/irix/bits/atomicity.h: New file.
1085 * config/os/irix/bits/os_defines.h (_POSIX_SOURCE): Undefine.
1087 (__off64_t): Likewise.
1088 (__ssize_t): Likewise.
1089 (_G_USING_THUNKS): Define to zero.
1091 2000-10-28 Mark Mitchell <mark@codesourcery.com>
1093 * src/string-inst.cc (basic_string<C>::npos): Explicitly
1096 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
1098 * include/c/bits/std_cmath.h: Fix double declarations in namespace std.
1100 Clean up naming, consistency in "C" library autoconf testing.
1101 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): For consistency, change to
1102 GLIBCPP_CHECK_CTYPE_SUPPORT.
1103 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add.
1104 * aclocal.m4: Regenerate.
1105 * configure.in: And here.
1106 Add call to GLIBCPP_CHECK_STDLIB_SUPPORT.
1107 * configure: Regenerate.
1109 2000-10-26 David Edelsohn <edelsohn@gnu.org>
1111 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_2): New macro.
1112 (GLIBCPP_CHECK_MATH_SUPPORT): Use it to test for strtold.
1114 2000-10-26 Phil Edwards <pme@sources.redhat.com>
1115 David Edelsohn <dje@watson.ibm.com>
1117 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
1118 --gc-sections stuff entirely to avoid misleading people.
1119 (GLIBCPP_ENABLE_CSTDIO): Merge need_libio and need_xtra_libio.
1120 * libio/Makefile.am (LIBIO_SRCS,LIBIO_WSRCS,LIBIO_XTRA_SRCS):
1121 Rearrange and merge.
1122 * libio/libio.h: Simplify, make fewer assumptions. Define those
1123 macros which must be defined.
1124 * config/os/solaris/solaris2.7/bits/os_defines.h: Simplify as a
1127 2000-10-26 Mark Mitchell <mark@codesourcery.com>
1129 * include/backward/streambuf.h: New file.
1131 2000-10-26 David Edelsohn <dje@watson.ibm.com>
1133 * config/os/aix/bits/ctype_inline.h (is): Use __OBJ_DATA directly.
1134 * config/os/aix/bits/ctype_noninline.h (do_tolower): Fix typo.
1135 * config/os/aix/bits/os_defines.h: Add AIX defines.
1137 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
1139 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Remove.
1140 * aclocal.m4: Regenerate.
1141 * configure.in: Remove GLIBCPP_ENABLE_LONG_DOUBLE.
1142 * configure: Regenerate.
1143 * docs/configopts.html: Remove.
1144 * src/complexl.cc: Revert.
1145 * config.h.in: Remove.
1146 * include/c_std/bits/std_cmath.h: Remove guards based on
1147 _GLIBCPP_USE_LONG_DOUBLE.
1148 * include/c/bits/std_cmath.h: Same. Format. Match c_std behavior
1149 with respect to long double signatures.
1151 * config/os/aix/bits/ctype_noninline.h (ctype): Remove throw
1153 * config/os/newlib/bits/ctype_noninline.h (ctype): And here.
1154 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
1155 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
1156 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
1157 * config/os/bsd/bits/ctype_noninline.h (ctype): Same.
1159 2000-10-26 Gabriel Dos Reis <gdr@codesourcery.com>
1161 * include/bits/std_valarray.h (valarray::valarray): Fix thinko.
1162 Use __valarray_copy_construct only where appropriate.
1164 2000-10-25 Mark Mitchell <mark@codesourcery.com>
1166 * Makefile.in (check): Don't make mkcheck executable.
1167 (check-install): Likewise.
1168 * configure.in (AC_OUTPUT): Make mkcheck executable.
1169 * mkcheck.in (top_srcdir): New variable.
1170 (INC_PATH): Set the path to the backward and ext directories
1173 2000-10-25 Phil Edwards <pme@sources.redhat.com>
1175 * configure.in: Check for gconv.h.
1176 * libio/wfileops.c: Wrap gconv.h in HAVE_GCONV_H.
1178 * config/c_io_libio_codecvt.c: Change __mbstate_t to __c_mbstate_t.
1179 * libio/_G_config.h: And here.
1180 * libio/iofwide.c: And here.
1181 * libio/libio.h: And here.
1183 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Remove
1184 exception specification to match declaration.
1185 * include/bits/locale_facets.tcc: Include bits/std_clocale.h.
1187 2000-10-24 Mark Harig <mharig@landmark.com>
1189 * docs/configopts.html: Added documentation for the
1190 "--enable-version-specific-runtime-libs" and
1191 "--with-gxx-include-dir" configuration switches.
1193 2000-10-24 Benjamin Kosnik <bkoz@redhat.com>
1195 * include/bits/stl_pair.h (make_pair): Add LWG solution.
1197 * testsuite/21_strings/compare.cc (test01): Inject namespace std
1200 * mkcheck.in (MAX_MEM_USAGE): Bump up to 3072. Strangely enough,
1203 2000-10-24 Levente Farkas <lfarkas@mindmaker.hu>
1205 * include/bits/std_bitset.h (_M_do_find_next): Fix typo.
1207 2000-10-24 Phil Edwards <pme@sources.redhat.com>
1209 * acconfig.h: List _GLIBCPP_USE_THREADS.
1210 * acinclude.m4: General formatting cleanup (tabs/spaces), typo
1211 correction, etc. Add comments about following *real* changes
1212 where they are used.
1213 (GLIBCPP_ENABLE_C_MBCHAR): New test...
1214 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): ...results used here.
1215 (GLIBCPP_ENABLE_CSTDIO): Define need_wlibio iff wide characters
1217 (GLIBCPP_ENABLE_THREADS): If threads are used, define new
1218 macro _GLIBCPP_USE_THREADS in c++config.h.
1219 (GLIBCPP_ENABLE_SHADOW): For C_INCLUDE_DIR, change () to {} as
1220 this is used in both makefiles and shell scripts (mkcheck).
1221 * configure.in: Call GLIBCPP_ENABLE_C_MBCHAR.
1223 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USE_THREADS.
1224 * config/c_io_libio.h: In nonthreaded case, typedef __c_lock to
1225 something harmless, like int.
1227 * config/os/aix/bits/os_defines.h: Guard with _GLIBCPP_OS_DEFINES,
1228 add comment/instructions.
1229 * config/os/bsd/bits/os_defines.h: Ditto.
1230 * config/os/generic/bits/os_defines.h: Ditto.
1231 * config/os/gnu-linux/bits/os_defines.h: Ditto.
1232 * config/os/irix/bits/os_defines.h: Ditto.
1233 * config/os/newlib/bits/os_defines.h: Ditto.
1234 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
1235 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
1237 * mkcheck.in: Limit the available heap size for testsuite
1238 binaries, initially at 2MB.
1240 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
1242 * testsuite/21_strings/compare.cc (test01): Add using declarations.
1244 * include/c_std/bits/std_cerrno.h: And here.
1245 * include/c_std/bits/std_cassert.h: Tweaks.
1247 * mkcheck.in: Simplify.
1249 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
1250 (GLIBCPP_ENABLE_LONG_LONG): Same.
1251 * aclocal.m4: Regenerate.
1253 * src/Makefile.am (c_shadow_headers): Add features.h,
1254 bits/wrap_features.h.
1255 * src/Makefile.in: Regenerate.
1256 * include/c_std/features.h: New file.
1257 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
1258 file. Need to have c++config.h included before this file so
1259 _ISOC99_SOURCE around.
1261 * include/c_std/sys/cdefs.h: Hack.
1262 * include/c_std/stdlib.h: Same, use c++config.h.
1263 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
1265 * include/c_std/bits/std_cassert.h: Fix.
1266 * include/c_std/bits/std_cerrno.h: Make consistent.
1268 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
1269 declaration from ::_C_legacy to _C_legacy.
1271 * include/c_std/bits/std_cstdio.h: same with printf.
1272 * include/c_std/stdio.h: And here.
1274 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
1275 * include/c_std/stdlib.h: Same here.
1277 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
1279 * testsuite/21_strings/compare.cc (test01): Add using declarations.
1281 * include/c_std/bits/std_cerrno.h: And here.
1282 * include/c_std/bits/std_cassert.h: Tweaks.
1284 * mkcheck.in: Simplify.
1286 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
1287 (GLIBCPP_ENABLE_LONG_LONG): Same.
1288 * aclocal.m4: Regenerate.
1290 * src/Makefile.am (c_shadow_headers): Add features.h,
1291 bits/wrap_features.h.
1292 * src/Makefile.in: Regenerate.
1293 * include/c_std/features.h: New file.
1294 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
1295 file. Need to have c++config.h included before this file so
1296 _ISOC99_SOURCE around.
1298 * include/c_std/sys/cdefs.h: Hack.
1299 * include/c_std/stdlib.h: Same, use c++config.h.
1300 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
1302 * include/c_std/bits/std_cassert.h: Fix.
1303 * include/c_std/bits/std_cerrno.h: Make consistent.
1305 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
1306 declaration from ::_C_legacy to _C_legacy.
1308 * include/c_std/bits/std_cstdio.h: same with printf.
1309 * include/c_std/stdio.h: And here.
1311 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
1312 * include/c_std/stdlib.h: Same here.
1314 2000-10-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1316 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): New macro.
1317 * aclocal.m4: Regenerate.
1318 * configure.in: Use it.
1319 * configure: Regenerate.
1320 * src/complexl.cc: Fixup.
1321 * include/c_std/bits/std_cmath.h: Fixup.
1322 * include/c/bits/std_cmath.h: Fixup.
1323 * docs/configopts.html: Add docs.
1325 * docs/links.html: Add links to defects list, standards FAQ.
1327 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Disable tests
1328 with string creation that allocate huge ammounts of memory.
1330 * include/c/bits/std_cstddef.h: Put size_t, ptrdiff_t in
1333 2000-10-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1335 * libsupc++/exception.cc: Use namespace std.
1336 * libsupc++/new: DITTO.
1337 * libsupc++/new_op.cc: DITTO.
1338 * libsupc++/new_opnt.cc: DITTO.
1339 * libsupc++/new_opv.cc: DITTO.
1340 * libsupc++/new_opvnt.cc: DITTO.
1341 * libsupc++/tinfo.cc: DITTO.
1342 * libsupc++/tinfo.h: DITTO.
1343 * libsupc++/vec.cc: DITTO.
1344 * libsupc++/Makefile.am: Blank lines removal.
1346 2000-10-21 Joseph S. Myers <jsm28@cam.ac.uk>
1348 * docs/configopts.html, docs/install.html, docs/17_intro/BADNAMES,
1349 docs/17_intro/howto.html, docs/18_support/howto.html,
1350 docs/19_diagnostics/howto.html, docs/20_util/howto.html,
1351 docs/21_strings/howto.html, docs/22_locale/howto.html,
1352 docs/23_containers/howto.html, docs/24_iterators/howto.html,
1353 docs/25_algorithms/howto.html, docs/26_numerics/howto.html,
1354 docs/27_io/howto.html, docs/ext/howto.html, docs/faq/index.html:
1355 Remove many EGCS references; use current absolute URLs on
1356 gcc.gnu.org or sources.redhat.com for messages in list archives.
1357 * docs/faq/index.txt: Regenerate.
1359 2000-10-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1361 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Adjust
1362 creation of state_type for unicode_codecvt to take into account
1363 the byte order markings. Add distinct tests for UCS-2BE and UCS-2LE.
1364 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Same.
1365 * include/bits/codecvt.h (__enc_traits): Add support for encodings
1366 that need a byte order marker. Needed for correct unicode support.
1368 * src/locale.cc: Remove explicit qualification std::.
1369 (locale::locale(const char* __name)): Revert, as named locale
1370 support not finished.
1371 * src/localename.cc (locale::_Impl:: _Impl(size_t __numfacets,
1372 size_t __refs, bool __has_name = false, string __name): Move
1374 * include/bits/localefwd.h: Here.
1376 2000-10-18 Chip Salzenberg <chip@valinux.com>
1378 * libio/libio.h (_IO_USER_LOCK): Define.
1380 2000-10-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1382 * libsupc++/Makefile.am (exception): Change exception.cc to
1383 exception_support.cc.
1384 (CXXLINK): Remove bogus --tag CC.
1385 * libsupc++/Makefile.in: Regenerate.
1386 * libsupc++/exception.cc: Move to...
1387 * libsupc++/exception_support.cc: ...here.
1389 * src/Makefile.am: Remove bogus --tag CC.
1390 * src/Makefile.in: Regenerate.
1392 * include/bits/locale_facets.tcc (use_facet): Simplify.
1393 * include/bits/locale_facets.h (use_facet<ctype<char> >): Correct
1394 use_facet declaration. Replace 'const ctype<T>' with ctype<T>.
1395 (use_facet<ctype<wchar_t> >): Same.
1396 * src/locale-inst.cc: Remove explicit instantiation.
1397 * src/locale.cc: Correct signature here too.
1398 (_Bad_use_facet::what()): Correct error string.
1399 * include/bits/localefwd.h: Correct comment.
1401 * mkcheck.in (C_DIR): Change libsupc++/include to libsupc++.
1403 2000-10-17 Martin Buchholz <martin@xemacs.org>
1405 * testsuite/27_io/istream_seeks.cc: Fix spelling typo.
1406 * testsuite/27_io/ostream_seeks.cc: Similarly.
1408 2000-10-17 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1410 via Alexandre Oliva <aoliva@redhat.com>
1411 * libsupc++/Makefile.am: Add --tag CXX, --tag CC, comments.
1412 * libsupc++/Makefile.in: Regenerate.
1413 * src/Makefile.am: Duplicate code.
1414 * src/Makefile.in: Regenerate.
1416 * acinclude.m4 (GLIBCPP_ENABLE_RELIBGCC): Take this out.
1417 * aclocal.m4: Regenerate.
1418 * configure.in: And here.
1419 * configure: Regenerate.
1421 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Disable
1422 test for SECTION_LDFLAGS.
1424 2000-10-16 Benjamin Kosnik <bkoz@gnu.org>
1426 Shadow headers would work if libsupc++ was strict about namespaces.
1427 This only possible if g++ maps std::size_t -> size_t. (Hint hint.)
1428 * include/c_std/assert.h: Add guards.
1429 * include/c_std/bits/std_climits.h: Correct typo.
1430 * include/c_std/ctype.h: Remove #error.
1432 * libio/libioP.h: Break up extern "C" bits around includes.
1433 * libio/libio.h: Only include C headers, or else _C_legacy namespaces
1435 * libio/libioP.h: Same here.
1437 2000-10-15 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1439 * include/c_std/unistd.h: Define some types only when defined in
1440 the original unistd.h.
1441 * include/c_std/bits/std_cstddef.h: Explicitly ask for the
1442 definition of size_t, ptrdiff_t and NULL.
1443 * include/c_std/bits/wrap_unistd.h: Blank lines removal.
1445 2000-10-15 Phil Edwards <pme@sources.redhat.com>
1447 * docs/configopts.html: Remove libgcc-rebuild; HTML formatting.
1449 2000-10-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1450 Mark Harig <markh@landmark.com>
1452 * src/Makefile.am (toolexeclibdir): Add support fo
1453 VERSION_SPECIFIC_LIBS and --with-gxx-include-dir.
1454 * src/Makefile.in: Regenerate.
1455 * libsupc++/Makefile.am: Same.
1456 (glibcppinstalldir): Adjust.
1457 * libsupc++/Makefile.in: Regenerate.
1458 * Makefile.am: Remove gxx_include_dir. Remove INCLUDE.
1459 * Makefile.in: Regenerate.
1460 * docs/configopts.html: Add descriptions of flags.
1462 2000-10-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1464 * libsupc++/Makefile.am: Use it.
1465 * libio/Makefile.am: Use it.
1466 * libmath/Makefile.am: Use it.
1467 * src/Makefile.am: Use it.
1468 * Makefile.am (AM_MAKEFLAGS): Remove includes.
1470 * acinclude.m4 (GLIBCPP_EXPORT_INCLUES): Move include macros here.
1471 (GLIBCPP_EXPORT_FLAGS): Move CXX flag setting here.
1472 * configure.in: Use it.
1474 * mkcheck.in (SRC_DIR): Use C_INCLUDE_DIR.
1476 * src/Makefile.am (CXXCOMPILE): Remove.
1477 * src/Makefile.in: Regenerate.
1478 * libsupc++/Makefile.am (CXXCOMPILE): Same here.
1479 * libsupc++/Makefile.in: Regenerate.
1481 * include/c_std/*: Merge with shadow.
1482 * include/c_std/bits/*: Same.
1484 * shadow: Remove directory.
1485 * shadow/*: De-populate.
1487 2000-10-11 Phil Edwards <pme@sources.redhat.com>
1489 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
1490 exception-throwing code for linker test.
1491 * aclocal.m4: Regenerate.
1492 * configure: Regenerate.
1494 2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1496 * Makefile.am (LIBSUPCXX_INCLUDES): Adjust.
1497 * libsupc++/include: Remove
1498 * libsupc++/include/*: Move to ...
1500 * libsupc++/Makefile.am (glibcppinstall_HEADERS): Install headers.
1501 (glibcppinstalldir): New.
1503 * src/Makefile.am (c_base_headers): New.
1504 (c_shadow_headers): New
1506 (myinstallheaders): Correct install issues.
1507 * src/Makefile.in: Regenerate.
1509 * Makefile.am (CSHADOW_INCLUDES): Simplify.
1510 * Makefile.in: Regenerate.
1511 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add c_include_dir.
1512 * aclocal.m4: Regenerate.
1513 * mkcheck.in (SRC_DIR): Use it.
1515 * include/bits/std_stdexcept.h: And here.
1516 * include/bits/std_ios.h: Change std_exception.h to exception.
1517 * src/locale.cc: And here.
1518 * src/locale-inst.cc: And here.
1520 * include/bits/valarray_array.h: And here.
1521 * include/bits/stl_alloc.h: And here.
1522 * include/bits/stl_algobase.h: And here.
1523 * include/bits/pthread_allocimpl.h: And here.
1524 * include/bits/stl_construct.h: Change to std_new.h to new.
1526 * include/bits/locale_facets.h: Change std_typeinfo.h to typeinfo.
1528 * src/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
1529 (headers): Remove duplicated headers.
1530 (std_headers): And here.
1531 * src/Makefile.in: Regenerate.
1532 * libsupc++/Makefile.am (LIBSUPCXX_INCLUDES): Remove.
1533 * libsupc++/Makefile.in: Regenerate.
1534 * Makefile.am (LIBSUPCXX_INCLUDES): Add here.
1535 (AM_MAKEFLAGS): And here.
1536 * Makefile.in: Regenerate.
1537 * include/bits/std_typeinfo.h: Remove.
1538 * include/bits/std_new.h: Remove
1539 * include/bits/std_exception.h: Remove.
1541 * std/typeinfo: Remove.
1542 * std/exception: Remove.
1544 * libio/_G_config.h (__need_ptrdiff_t): Add.
1546 * libsupc++/include/new: Change stddef.h to cstddef.
1547 * libsupc++/tinfo.h: Change limits.h to climits.
1548 * libsupc++/pure.cc: Comment out _GNU_LIBRARY_ bits, as this
1549 renders the file uncompilable. Add copyright.
1551 * include/c_std/bits/std_cstddef.h: Don't bring wchar_t into std
1552 namespace, as it is a fundamental type.
1554 2000-10-09 Richard Henderson <rth@cygnus.com>
1556 * libsupc++/pure.cc: New file.
1557 * libsupc++/Makefile.am (INCLUDES): Add top_builddir.
1558 (sources): Add pure.cc.
1559 * libsupc++/Makefile.in: Regenerate.
1561 2000-10-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1563 * docs/configopts.html: Edit.
1565 * libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
1566 * libio/Makefile.in: Regenerate.
1567 * libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
1568 * libmath/Makefile.in: Regenerate.
1569 * libsupc++/Makefile.am (INCLUDES): Remove duplicate.
1570 * libsupc++/Makefile.in: Regenerate.
1572 * Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
1573 TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
1574 CSHADOW_INCLUDES up here.
1575 * Makefile.in: Regenerate.
1576 * src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
1578 (myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
1579 Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
1580 LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
1581 * src/Makefile.in: Regenerate.
1583 * include/c: New directory.
1584 * include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
1585 std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
1586 std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
1587 std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
1588 std_cwchar.h, std_cwctype.h): Add, moving from...
1589 * include/bits: ...here.
1590 * include/c_std: New directory.
1591 * include/c_std/bits/*: Populate from...
1592 * shadow: ...here. Remove directory.
1594 2000-10-08 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1596 * libsupc++/Makefile.am (INCLUDES): Add toplevel include directory.
1597 (INCLUDES): Add glibcpp_includedir.
1598 * libsupc++/Makefile.in: Regenerate.
1600 * acinclude.m4 (GLIBCPP_CHECK_OS): Link to os_defines.h.
1601 * aclocal.m4: Regenerate.
1602 * config/os/*/bits/os_defintes: Adjust copyright dates.
1604 2000-10-08 Phil Edwards <pme@sources.redhat.com>
1606 * include/bits/c++config: Include <bits/os_defines.h>
1607 * config/os/aix/bits/os_defines.h: New file.
1608 * config/os/bsd/bits/os_defines.h: Ditto.
1609 * config/os/generic/bits/os_defines.h: Ditto.
1610 * config/os/gnu-linux/bits/os_defines.h: Ditto.
1611 * config/os/irix/bits/os_defines.h: Ditto.
1612 * config/os/newlib/bits/os_defines.h: Ditto.
1613 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
1614 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
1615 * config/os/solaris/solaris2.7/bits/os_defines.h: Ditto.
1617 2000-10-07 David Edelsohn <dje@watson.ibm.com>
1619 * config/os/aix/bits/atomicity.h: New file.
1621 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1623 * acinclude.m4: Remove CPU_FLAGS
1624 * libio/Makefile.am: Here too.
1625 * Makefile.am: Here too.
1627 * src/Makefile.am (CONFIG_INCLUDES): Remove.
1628 (INCLUDES): Remove CONFIG_INCLUDES.
1629 (cpu_headers): Remove.
1630 (myinstallheaders): Remove cpu_headers.
1631 (generated_headers): Rename to build_headers.
1632 (build_headers): Add atomicity.h, ctype_base.h,
1633 ctype_specializations.h.
1635 * config/os: New directory.
1636 * config/aix: Move to...
1637 * config/bsd: Move to...
1638 * config/generic: Move to...
1639 * config/gnu-linux: Move to...
1640 * config/irix: Move to...
1641 * config/newlib: Move to...
1642 * config/solaris: Move to...
1643 * config/os/*: Here.
1645 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1647 * acinclude.m4: Remove CPU_FLAGS
1648 * libio/Makefile.am: Here too.
1649 * Makefile.am: Here too.
1651 * src/Makefile.am (CONFIG_INCLUDES): Remove.
1652 (INCLUDES): Remove CONFIG_INCLUDES.
1653 (cpu_headers): Remove.
1654 (myinstallheaders): Remove cpu_headers.
1655 (generated_headers): Rename to build_headers.
1656 (build_headers): Add atomicity.h, ctype_base.h,
1657 ctype_specializations.h.
1659 * config/os: New directory.
1660 * config/aix: Move to...
1661 * config/bsd: Move to...
1662 * config/generic: Move to...
1663 * config/gnu-linux: Move to...
1664 * config/irix: Move to...
1665 * config/newlib: Move to...
1666 * config/solaris: Move to...
1667 * config/os/*: Here.
1669 2000-10-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1671 * src/Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS,
1672 CONFIG_CXXFLAGS from here, and move to...
1673 * src/Makefile.in: Regenerate.
1674 * Makefile.am: ... here. Clean.
1675 (OPTIMIZE_CXXFLAGS): Move up Makefile hierarchy to here.
1676 (WARN_CXXFLAGS): Same.
1677 (CONFIG_CXXFLAGS): Same.
1678 * Makefile.in: Regenerate.
1679 * libsupc++/Makefile.am: Use top-level OPTIMIZE_CXXFLAGS,
1680 WARN_CXXFLAGS, CONFIG_CXXFLAGS as part of local AM_CXXFLAGS.
1681 * libsupc++/Makefile.in: Regenerate.
1683 Change math to libmath.
1684 * math: Move to libmath, delete.
1685 * libmath: New directory.
1686 * libmath/*: Populate.
1687 * src/Makefile.am (LIBMATH_INCLUDES): Change to libmath.
1688 (libstdc___la_LIBADD): Same.
1689 * src/Makefile.in: Regenerate.
1690 * configure.in: Add AC_OUTPUT for libmath/Makefile.
1691 * configure: Regenerate.
1692 * Makefile.am (SUBDIRS): Add libmath.
1693 * Makefile.in: Regenerate.
1694 * README (file): Change name.
1696 2000-10-06 Benjamin Kosnik <bkoz@cygnus.com>
1697 Richard Henderson <rth@cygnus.com>
1698 Alexandre Oliva <aoliva@redhat.com>
1700 * libsupc++: New directory.
1701 * libsupc++/*: Populate.
1702 * libsupc++/Makefile.am (INCLUDES): Add -I../../gcc for
1703 eh-common.h, gansidecl.h.
1704 * configure.in: Add in libsupc++/Makefile to AC_OUTPUT.
1705 * configure: Regenerate.
1706 * Makefile.am (SUBDIRS): Add libsupc++.
1707 * Makefile.in: Regenerate.
1708 * src/Makefile.am (libstdc___la_LIBADD): Add in libsupc++.la
1709 * src/Makefile.in: Regenerate.
1710 * libio/Makefile.am: Remove extraneous, confusing bits.
1711 * libio/Makefile.in: Regenerate.
1713 2000-10-05 Brent Verner <brent@rcfile.org>
1715 * bits/istream.tcc [basic_istream::get(basic_streambuf&)]: Removed
1716 test for _M_gcount < in_avail(), as in_avail() only reports info
1717 for current buffer, causing method to return at end of buffer.
1718 * testsuite/27_io/istream_unformatted.cc [test07()]: New test.
1719 * testsuite/27_io/istream_unformatted-3.txt: New file.
1720 * testsuite/27_io/istream_unformatted-3.tst: New file.
1722 2000-10-05 Benjamin Kosnik <bkoz@fillmore.constant.com>
1724 * README (file): Adjust directory structures.
1725 * mkcheck.in (INC_PATH): Adjust for header changes.
1727 2000-10-05 Phil Edwards <pme@sources.redhat.com>
1729 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Tweaks to message texts
1730 for public relations purposes.
1731 * aclocal.m4: Regenerated.
1732 * configure: Regenerated.
1734 * docs/ext/howto.html: Additional explanation about hashing.
1736 2000-10-05 Benjamin Kosnik <bkoz@cygnus.com>
1738 * include: New directory.
1739 * include/backward: New directory.
1740 * include/bits: New directory.
1741 * include/ext: New directory.
1742 * include/std: New directory.
1743 * include/*/*: Populate.
1745 * backwards: Move to include/backwards, delete.
1746 * bits: Move to include/bits, delete.
1747 * ext: Move to include/ext, delete.
1748 * std: Move to include/std, delete.
1750 * src/complex.cc: Adjust include of mathconf.
1752 * mkc++config (BASE_H): Add include.
1754 * src/Makefile.am: Support for topleve sources include directory.
1755 (INCLUDES): Add LIBMATH_INCLUDE.
1756 * src/Makefile.in: Regenerate.
1757 * math/Makefile.am (INCLUDES): Append /include.
1758 * math/Makefile.in: Regenerate.
1759 * libio/Makefile.am (INCLUDES): Add glibcpp_includedir.
1760 * libio/Makefile.in: Regenerate.
1762 2000-10-04 Benjamin Kosnik <bkoz@gnu.org>
1764 * libio/_G_config.h : Re-guard the __mbstate_t declaration.
1766 2000-10-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1768 * docs/22_locale/howto.html: Add link to proto-documentation on
1770 * docs/documentation.html: Rename links for clarity.
1772 * src/Makefile.am (headers): Remove unistd.h, wrap_unistd.h. Add
1773 fcntl.h, iolibio.h, libioP.h, pthread.h, iconv.h.
1774 * src/Makefile.in: Regenerate.
1776 2000-10-02 Steven King <sxking@uswest.net>
1778 * mkcshadow: Fixed script to output proper include guard.
1779 * bits/char_traits.h: Cleaned up types in char_traits<char> functions.
1780 * libio/_G_config.h: Hacked to make work with shadow heraders.
1781 * shadow/*: Hacked to make shadow headers work.
1783 2000-10-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1785 Self-compile with shadow headers.
1786 * acconfig.h (_GLIBCPP_USE_SHADOW_HEADERS): Define. Eventually,
1787 like _GLIBCPP_USE_NAMESPACES before it, this macro will die when
1788 it becomes the default way the library is built.
1789 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro.
1790 * config/gnu-linux/bits/ctype_base.h (ctype_base): Use it.
1791 * config/gnu-linux/ctype.cc (ctype): Use it.
1793 * src/localename.cc (locale::_Impl::_M_replace_categories): Remove
1795 * src/locale.cc: Explicitly cast mbstate_t to void* in calls to
1796 memset. This should not be necessary, but an ambiguous overload
1799 * shadow/bits/std_cwchar.h: Fix.
1800 * shadow/wchar.h: Fix.
1802 * config/gnu-linux/bits/ctype_base.h (ctype_base): Inject ctype
1803 enums into namespace std:: for ctype_base enum. Other OS types
1804 will have to do this as well.
1805 * config/gnu-linux/ctype.cc (ctype): Inject ctype data into
1806 namespace std, in particular __ctype_toupper, __ctype_tolower,
1809 * shadow/iolibio.h: New file.
1810 * shadow/bits/wrap_iolibio.h: New file.
1811 * shadow/libioP.h: New file.
1812 * shadow/bits/wrap_libioP.h: New file.
1813 * shadow/bits/wrap_fcntl.h: New file.
1814 * shadow/fcntl.h: New file.
1815 * shadow/iconv.h: New file. Inject iconv names into the global
1816 namespace, unmangled for the moment.
1817 * shadow/bits/wrap_iconv.h: New file.
1818 * shadow/unistd.h: Remove. Useless.
1819 * shadow/bits/wrap_unistd.h: Remove.
1821 * src/Makefile.am: Take out machine-ansi.h, add fcntl.h unistd.h.
1822 * src/Makefile.in: Regenerate.
1824 * config/c_io_libio.h (_IO_codecvt): Change to normal C++ decl.
1826 * shadow/libio.h: Fix.
1827 * shadow/bits/wrap_libio.h: Fix.
1829 * shadow/bits/std_clocale.h: Remove typedef struct construct,
1830 which will not compile.
1831 * shadow/bits/std_ctime.h: Same.
1833 * shadow/pthread.h: New file. Put pthreads types and functions
1834 into global scope, which is probably not the correct long-term
1835 solution but has to be done at the moment before libio wrappers
1836 can even be started.
1837 * shadow/bits/wrap_pthread.h: New file.
1839 * bits/std_ios.h: Formatting tweak.
1840 * shadow/bits/std_cstdio.h: Format. Remove extraneous bits.
1842 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Add -Werror to
1843 tests for compiler features.
1844 * aclocal.m4: Regenerate.
1845 * configure: Regenerate.
1847 * config/c_io_libio.cc: Remove fcntl.h include, as SEEK_SET
1849 * libio/libioP.h: Comment out fcntl.h include.
1851 * shadow/math.h: Add in float and long declarations, as per ISO C9X.
1853 * bits/c++config: Define _ISOC99_SOURCE.
1855 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add -fno-builtins to
1856 CSHADOWFLAGS, as well as _ISOC99_SOURCE.
1857 * aclocal.m4: Regenerate.
1858 * configure: Regenerate.
1859 * src/Makefile.am (CSHADOW_INCLUDES): Enable, again.
1860 (CSHADOW_INCLUDES): Add -I$(top_srcdir)/std before shadow include dir.
1861 (CXXCOMPILE): Remove $(DEFS), which searches $(top_srcdir) before
1862 std or shadow directories.
1863 (LTCXXCOMPILE): Same.
1864 (INCLUDES): Add $(top_builddir) before $(top_srcdir).
1865 (AC_CXXFLAGS): Add CSHADOWFLAGS.
1866 * src/Makefile.in: Regenerate.
1868 * src/complex.cc (FCT): Change ::name to name.
1869 * src/complexl.cc (FCT): Same. Use _GLIBCPP_USE_LONG_LONG here.
1870 * src/complexf.cc (FCT): Same.
1872 * src/complexf.cc: Remove FCT define, as things are properly
1873 overloaded in the std namespace with the shadow headers.
1874 * src/complexl.cc: Same.
1875 * src/complex.cc: Same.
1877 2000-09-25 Phil Edwards <pme@sources.redhat.com>
1879 * docs/documentation.html: Add link to...
1880 * docs/ext/howto.html: ...this. New dir/file, describing library
1881 extensions (both ours and SGI's).
1882 * docs/faq/index.html: Small updates.
1883 * docs/faq/index.txt: Regenerate.
1885 2000-09-25 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1887 * bits/basic_file.h (_M_open_mode): Remove extra qualifier.
1889 2000-09-25 Levente Farkas <lfarkas@mindmaker.hu>
1891 * ext/stl_hashtable.h (_M_copy_from): Change __copy to __local_copy.
1893 2000-09-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1895 * src/localename.cc (locale::_Imp) : Remove typedefs.
1896 * bits/localefwd.h (locale::locale(const locale& __other, _Facet*
1897 __f): Consistency check, call _Imp ctor with reference argument
1899 * bits/localefwd.h: Change _S_num_categories to
1900 _S_categories_num. Add new data member, _S_facets_num, which is
1901 the number of standard facets.
1903 2000-09-19 Phil Edwards <pme@sources.redhat.com>
1905 * docs/21_strings/howto.html: Fix editor lossage from last commit.
1907 2000-09-19 Phil Edwards <pme@sources.redhat.com>
1909 * docs/thanks.html: More thanks.
1910 * docs/18_support/howto.html: Fix thinko.
1911 * docs/21_strings/howto.html: Minor tweaks and updates to URLs.
1912 Redo the string transformation notes and link to...
1913 * docs/22_locale/howto.html: ...here.
1915 2000-09-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1917 * src/locale-inst.cc: Add time_put_byname and
1918 time_get_byname instantiations.
1919 * bits/locale_facets.h: Correct default, private derivation to
1920 public derivation in _byname declarations.
1921 * src/locale.cc (locale::classic()): Simplify.
1922 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
1923 const string& __name, category __cat, size_t __refs): Re-work for
1925 (_M_normalize_category_names): Remove.
1927 * testsuite/22_locale/global_templates.cc (test01): Tweaks.
1928 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
1930 2000-09-18 Yuri V. Baskakov <yuribsk@lab.sun.mcst.ru>
1932 * bits/std_bitset.h (operator>>): Change to char_type.
1934 2000-09-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1936 * src/locale.cc (locale::locale(const char* __name)): Consolidate
1937 name setting. Add checks for NULL __name pointers. Remove calls to
1938 _S_initialize() as initial locale initialization can either be
1939 assumed, or needs to be made consistent throughout locale
1941 (locale::locale(const locale& __other, const char* __name,
1942 category __cat): Add checks for NULL name. Add checks for
1944 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
1945 const string& __name, category __cat, size_t __refs)): Set correct
1946 name, has_name values.
1947 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
1948 * docs/22_locale/locale.html: New file, more unfinished docs...
1950 2000-09-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1952 * src/locale.cc (locale::name()): Implement.
1953 (_Impl(size_t __numfacets, size_t __refs, bool __namep = false,
1954 string __name = "*")): Change signature.
1955 (locale::classic): Initialize the "C" locale as a named locale.
1956 * bits/localefwd.h (locale): Change _M_num_references to
1957 _M_references. Eliminate _M_cached_name_ok. Rename _M_cached_name
1959 * bits/localefwd.h: Tweaks.
1960 * src/localename.cc: Tweaks.
1961 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Add tests.
1964 * bits/basic_string.h: Consistency check, change _M_state ->
1967 2000-09-14 Brendan Kehoe <brendan@zen.org>
1969 * bits/string.tcc (_Rep::_S_max_size): Use typename for its size_type
1972 * src/Makefile.an (headers): Also install backward/fstream.h.
1973 * src/Makefile.in: Regenerate.
1975 * bits/char_traits.h (char_traits<_CharT>::get_state,
1976 char_traits<char>::get_state, char_traits<wchar_t>::get_state): Pass
1977 argument in by reference, not by value. Uglify to _S_get_state.
1978 (char_traits<*>::__eos): Uglify to _S_eos.
1979 * bits/std_ostream.h (ends(basic_ostream<_CharT, _Traits>& __os)):
1980 Change __eos to _S_eos.
1982 2000-09-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1984 * testsuite/22_locale/static_members.cc: New file.
1985 * testsuite/22_locale/ctor_copy_dtor.cc: New file.
1986 * src/locale.cc: Minor formatting tweaks.
1988 2000-09-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1990 * testsuite/22_locale/global_templates.cc (test01): Add negative
1991 tests for use_facet.
1993 * bits/localefwd.h (locale::operator()): Minor tweaks.
1994 * bits/locale_facets.tcc (locale::operator()): Same.
1995 * testsuite/22_locale/operators.cc: New file.
1997 * testsuite/22_locale/facet.cc (output_iterator): Remove
1998 gnu_input_iterator, gnu_output_iterator.
2000 2000-09-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2002 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Remove test != "0".
2003 * aclocal.m4: Regenerate.
2004 * configure: Regenerate.
2006 * bits/c++config (__GLIBCPP__): Update, in the hopes of making a
2007 snapshot release soon.
2008 (_GNU_SOURCE): Define this in the header files, as ISO C99 support
2009 is pretty much assumed.
2011 * testsuite/22_locale/global_templates.cc: New file. Add tests for
2012 use_facet and has_facet.
2014 * bits/codecvt.h (codecvt<_InT, _ExT, __enc_traits>::do_out):
2015 Modify/correct iconv signatures for glibc2.2.
2017 2000-09-10 Branko Cibej <branko.cibej@hermes.si>
2019 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Replace "grep -q" with
2022 2000-09-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2024 * bits/localefwd.h (locale::_Impl): Scope out types to public.
2025 (locale): Make _Impl declaration public.
2027 2000-09-08 Felix Natter <fnatter@gmx.net>
2029 * docs/17_intro/porting-howto.html: New version.
2031 2000-09-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2033 * config/cpu/i386/bits/atomicity.h (__exchange_and_add): Change unused
2035 * config/cpu/ia64/bits/atomicity.h (__exchange_and_add): And here.
2036 * config/cpu/i486/bits/atomicity.h (__exchange_and_add): And here.
2038 2000-09-07 Phil Edwards <pme@sources.redhat.com>
2040 Add bits for --enable-maintainer-mode:
2041 - turns on enable_debug
2042 (doing "--enable-maint --disable-debug" will DTRT)
2043 - turns on -Werror, now off by default
2044 * acinclude.m4: Add bits.
2045 * aclocal.m4: Regenerate.
2046 * configure.in: Add defaults for GLIBCPP_ENABLE_DEBUG.
2047 * configure: Regenerate.
2049 2000-09-07 Benjamin Kosnik <bkoz@cygnus.com>
2051 * bits/std_cwctype.h: Remove yesterday's hacks.
2053 2000-09-07 Brad Garcia <bgarcia@laurelnetworks.com>
2055 * bits/stl_tree.h: Make operators !=, == type safe for map, set.
2056 * testsuite/23_containers/set_operators.cc: New file. Should not
2058 * testsuite/23_containers/map_operators.cc: New file. Ditto.
2060 2000-09-06 Richard Henderson <rth@cygnus.com>
2061 Benjamin Kosnik <bkoz@cygnus.com>
2063 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add ia64 support.
2064 * aclocal.m4: Regenerate.
2065 * configure: Regenerate.
2066 * config/cpu/ia64: New directory.
2067 * config/cpu/ia64/bits: New directory.
2068 * config/cpu/ia64/bits/atomicity.h: New file.
2070 2000-09-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2072 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Force glibc_satisfactory
2073 to no, so that libstdc++-v3's libio will be built on glibc-2.2
2075 * aclocal.m4: Regenerate.
2076 * configure: Regenerate.
2077 * */Makefile.in: Regenerate.
2079 * bits/std_cwctype.h: Put in temporary hack to work around -O2 +
2080 glibc 2.1.x unsigned errors. Or disable -Werror by default...
2082 * testsuite/23_containers/vector_element_access.cc: New file.
2083 * bits/stl_config.h (__STL_THROW_RANGE_ERRORS): Define.
2085 2000-09-06 Levente Farkas <lfarkas@mindmaker.hu>
2087 * bits/string.tcc: Fix up more parameter names.
2089 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
2091 * configure: Rebuilt with new libtool.m4.
2093 2000-09-01 Benjamin Kosnik <bkoz@cygnus.com>
2095 * src/locale-inst.cc: Remove pre-instantiation of unicode
2096 codecvt types. Now unnecessary, as locale header now correct.
2098 2000-08-31 Benjamin Kosnik <bkoz@cygnus.com>
2100 * bits/locale_facets.tcc (_S_build_float_format): Move ...
2101 * src/locale.cc: Here.
2102 * bits/locale_facets.tcc (num_get::_M_extract): Clean up generic
2103 definition. Move specialization to ...
2104 * src/locale.cc: Here.
2105 * bits/locale_facets.tcc: Move _Format_cache specializations to ...
2106 * src/locale.cc: Here.
2107 * bits/locale_facets.tcc: Move use_facet<ctype> specializations to ...
2108 * src/locale.cc: Here.
2110 * bits/std_locale.h: Note that locale_facets.tcc should be
2111 included here, for standards conformance. It may increase
2112 compile times though. For the time being, enable.
2113 * testsuite/22_locale/facet.cc: New file, some parts commented out
2116 * mkcheck.in: Append total time to test summary file.
2118 * bits/sbuf_iter.h : Formatting tweaks.
2120 Clean up static const data member definitions.
2121 * src/locale.cc: Add definitions for all missing locale,
2122 locale::_Imp, and locale::id static data members.
2123 (ctype<char>): Add table_size define.
2124 (money_base): Add _S_default_pattern, uglify.
2125 * bits/localefwd.h: Add definitions for static members of _Count_ones.
2126 * bits/locale_facets.h: Tweaks.
2127 * bits/locale_facets.tcc: Tweaks.
2128 * bits/string.tcc: Add definition for npos.
2129 * bits/ios_base.h: Tweaks.
2130 * bits/ios_base.h (ios_base::Init::_M_ios_base_init): Change to
2132 * src/ios.cc: And here. Add _S_local_words definition.
2133 Add definitions for __ios_flags const static data.
2134 * src/codecvt.cc: Same for __enc_traits.
2135 * src/locale-inst.cc: Remove money_base data member definition
2138 2000-08-30 Benjamin Kosnik <bkoz@redhat.com>
2140 * testsuite/22_locale/ctype_wchar_t_members.cc (test01): New file.
2142 * docs/22_locale/codecvt.html: Re-number.
2143 * docs/22_locale/howto.html: Add entry for ctype
2144 documentation. Add entry for Nathan's introduction to locales
2146 * docs/22_locale/ctype.html: New file. In progress...
2148 * docs/22_locale/codecvt.html: Formatting cleanups.
2149 * src/locale.cc (ctype<wchar_t>::do_is): Fix thinko.
2151 2000-08-30 Phil Edwards <pme@sources.redhat.com>
2153 * docs/22_locale/codecvt.html: Behind-the-scenes ASCII->HTML
2154 tweaks for certain browsers.
2156 2000-08-29 Benjamin Kosnik <bkoz@redhat.com>
2158 * bits/locale_facets.h (ctype<char>): Remove __table_type.
2159 Add include for bits/std_cwctype.h, for wctype_t.
2160 * src/locale.cc (ctype<wchar_t>): Implement.
2161 * config/gnu-linux/bits/ctype_base.h (ctype_base): Remove mask
2162 typedef, instead name enum.
2163 * config/gnu-linux/bits/ctype_specializations.h: Tweak.
2164 * config/gnu-linux/ctype.cc: Tweak.
2165 * testsuite/22_locale/ctype.cc: Tweak.
2167 * bits/codecvt.h (__enc_traits): Uglify names.
2169 2000-08-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2171 * docs/22_locale/codecvt.html: Add more bits, format.
2172 * bits/codecvt.h: Add copy ctor, rename types.
2173 * testsuite/22_locale/codecvt_unicode_char.cc: Tweak.
2175 * libio/iofwide.c: Tweak.
2177 2000-08-28 Phil Edwards <pme@sources.redhat.com>
2179 * docs/configopts.html: Mention new options.
2180 * docs/install.html: Formatting changes for platform-specific
2181 pre-reqs, previously only Cygwin.
2182 * docs/mail.html: Fix new link.
2183 * docs/thanks.html: A couple more people.
2184 * docs/26_numerics/howto.html: Fix typo.
2186 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2188 * docs/22_locale/howto.html: Add notes on codecvt implementation.
2189 * docs/22_locale/codecvt.html: New file. In progress.
2191 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2193 * acconfig.h: Revert.
2194 * acinclude.m4: Revert.
2195 * libio/_G_config.h: Revert.
2196 * libio/libio.h: Revert.
2198 2000-08-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2200 * bits/codecvt.h: Tweaks.
2201 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Fix up
2202 initial string literals for UCS4.
2204 2000-08-23 Phil Edwards <pme@sourceware.cygnus.com>
2206 * acconfig.h: _GLIBCPP_USING_THREADS and some workaround types added.
2207 * acinclude.m4: New macro, GLIBCPP_ENABLE_WCHAR. Set the threads
2208 definition as well, and some minor spelling/spacing fixes. If
2209 building libio, check for certain typedefs.
2210 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USING_THREADS.
2211 Conditionally define _LARGEFILE64_SOURCE, otherwise the 64-bit types
2212 will never be there.
2213 * libio/libio.h: In the null case, _IO_lock_t can't just be void.
2214 * src/string-inst.cc: Use _GLIBCPP_USE_WCHAR_T.
2216 * configure.in: Update the cache a bit more often.
2218 * mkcheck.in: For check-install, also need to -I the testsuite dir.
2220 2000-08-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2222 * src/locale-inst.cc: Add codecvt<unicode_t, wchar_t,
2223 __enc_traits> instantiations for has_facet and use_facet.
2224 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: New file, for
2225 testing two-byte unicode encodings converted to four-byte UCS4
2228 * bits/codecvt.h (codecvt<__enc_traits>): Fix do_unshift.
2229 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Add
2230 correct state/encoding information.
2232 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add wcsrtombs,
2233 mbsrtowcs checks as codecvt<wchar_t, char, mbstate_t> needs them
2235 Add checks for langinfo.h, nl_langinfo function call.
2236 * libio/iofwide.c (_IO_fwide): Simplify, as nl_langinfo is assumed.
2238 2000-08-22 Richard B. Kreckel <Richard.Kreckel@Uni-Mainz.DE>
2240 * config/cpu/alpha/bits/atomicity.h: Change __attribute__
2241 ((unused)) to __attribute__ ((__unused__)).
2242 * config/cpu/arm/bits/atomicity.h: Same.
2243 * config/cpu/generic/bits/atomicity.h: Same.
2244 * config/cpu/i386/bits/atomicity.h: Same.
2245 * config/cpu/i486/bits/atomicity.h: Same.
2246 * config/cpu/powerpc/bits/atomicity.h: Same.
2247 * config/cpu/sparc/sparc32/bits/atomicity.h: Same.
2248 * config/cpu/sparc/sparc64/bits/atomicity.h: Same.
2250 2000-08-22 Levente Farkas <lfarkas@mindmaker.hu>
2252 * bits/basic_string.h: Fix up parameter names.
2254 2000-08-22 Brent Verner <brent@rcfile.org>
2256 * src/Makefile.am (INCLUDES): Put $(CSHADOW_INCLUDES) before
2258 * src/Makefile.in: Regenerate.
2260 2000-08-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2262 * bits/codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>. Fix
2263 up __enc_traits template so as to be marginally useful.
2264 * src/codecvt.cc: And here.
2265 * bits/char_traits: Tweak.
2266 * bits/locale_facets.h: Tweak.
2267 * bits/locale_facets.tcc: Tweak.
2268 * bits/localefwd.h: Tweak.
2269 * src/locale-inst.cc: Add use_facet/has_facet instantiations here.
2270 * testsuite/22_locale/codecvt_wchar_t_cc.cc: New file.
2271 * testsuite/22_locale/codecvt_char_char.cc: New file.
2272 * testsuite/22_locale/codecvt_unicode_char.cc: New file.
2274 2000-08-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2276 * bits/std_cmath.h (std::abs): Overload for int and long.
2278 2000-08-20 Benjamin Kosnik <bkoz@gnu.org>
2280 * src/string-inst.cc: Tweak instantiations for new-gxx-abi.
2282 2000-08-19 Gabriel Dos Reis <gdr@codesourcery.com>
2284 * bits/valarray_array.h (__valarray_min, __valarray_max): Fix
2285 thinko. Diagnostic messages really need to be improved for
2286 template argument deduction.
2288 2000-08-18 Benjamin Kosnik <bkoz@gnu.org>
2290 * bits/valarray_meta.h: Fix typos...
2292 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
2294 * bits/valarray_meta.h (_Expr<>::shift, _Expr::cshift,
2295 _Expr<>::apply): Implement.
2297 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
2299 * bits/valarray_meta.h (_Expr<>::min, _Expr<>::max): Implement.
2301 * bits/valarray_array.h (__valarray_min, __valarray_max): New
2304 2000-08-17 Mark Mitchell <mark@codesourcery.com>
2306 * bits/localefwd.h (std::locale): Use explicit `class' specified
2307 when declaring friends.
2308 * bits/std_fstream.h (std::basic_filebuf): Likewise.
2310 2000-08-16 Alexandre Oliva <aoliva@redhat.com>
2312 * src/Makefile.am (libstdc++.INC): Renamed from INCLUDES.
2313 * src/Makefile.in: Regenerate.
2315 2000-08-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2317 * bits/codecvt.h: New file.
2318 * src/codecvt.cc: New file.
2319 * bits/std_locale.h: Add include here.
2320 * src/Makefile.am (headers): Add codecvt.h
2321 (sources): Add codecvt.cc.
2322 * src/Makefile.in: Regenerate.
2323 * bits/locale_facets.h (codecvt): Re-implement. Rename _Codecvt to
2324 __codecvt_abstract_base in an attempt to point some light this way...
2325 Move __enc_traits and codecvt bits to codecvt.h.
2326 * src/locale-inst.cc: Remove codecvt<wchar_t, wchar_t, mbstate_t>
2327 explicit instantiation. Separate out codecvt instantations, simplify.
2328 * src/locale.cc: Move codecvt bits to codecvt.cc
2330 2000-08-15 Alexandre Oliva <aoliva@redhat.com>
2332 * src/Makefile.am (INCLUDES): New target file, with all -I flags.
2333 * src/Makefile.in: Regenerate.
2335 2000-08-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2337 C/C++ io merge/sync.
2348 * config/c_io_libio.cc (__basic_file): Add hacky casts to
2349 ((struct _IO_FILE_plus *) in ctors.
2350 (__basic_file<wchar_t>): Adjust _wide_data->_codecvt to just _codecvt.
2351 * libio/Makefile.am: Fix copyright. Remove cleanup.c.
2352 * libio/cleanup.c: Remove.
2353 * libio/filedoalloc.c (_IO_file_doallocate): Don't call
2354 _IO_cleanup_registration_needed, even if not libc.
2356 * testsuite/27_io/stringstream.cc (test02): Fix.
2358 2000-08-14 Brent Verner <brent@rcfile.org>
2360 * testsuite/debug_assert.h: new file
2361 * testsuite/*/*.cc: s/test\s*&=([^;]+);/VERIFY($1);/g
2362 changed conditional #include <c?assert.?h?> to
2363 unconditional #include <debug_assert.h>
2364 * mkcheck.in: added $SRC_DIR/testsuite to include search path
2365 for testsuite compile command.
2367 2000-08-14 Levente Farkas <lfarkas@mindmaker.hu>
2369 * bits/std_fstream.h: Remove duplicate typdefs for ofstream and
2370 wofstream, filebuf, wfilebuf, fstream, wfstream.
2371 * bits/std_streambuf.h: Same for streambuf, wstreambuf.
2372 * bits/std_sstream.h: Same for stringstream and wstringstream.
2373 Same for stringbuf, wstringbuf, istringstream, wistringstream,
2374 ostringstream, wostringstream.
2376 * testsuite/26_numerics/valarray.cc: Add test.
2378 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
2380 * configure: Regenerate after change to ../libtool.m4.
2382 2000-08-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2384 * bits/locale_facets.tcc: Formatting tweaks.
2385 * bits/locale_facets.h (__enc_traits): Start integrating this
2386 into codecvt, ctype. Formatting tweaks.
2388 2000-08-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2390 Preliminary wchar_t implementation, with trivial encodings.
2391 * docs/configopts.html: Add bits about canonical configure option
2394 * testsuite/27_io/iostream_objects.cc: Replace this file (which
2395 has newly-declared-illegal mixing of wide/narrow stdstreams) with...
2396 * testsuite/27_io/narrow_stream_objects.cc: New file.
2397 * testsuite/27_io/wide_stream_objects.cc: New file.
2399 * bits/fstream.tcc (underflow): Temporarily hack a solution
2400 together that writes from the external file to the internal
2401 buffers. This removes codecvt from the loop, and is incorrect.
2402 (_M_really_overflow): Same here.
2404 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
2406 2000-08-08 Benjamin Kosnik <bkoz@cygnus.com>
2407 Ulrich Drepper <drepper@cygnus.com>
2409 * config/c_io_libio.h: Tweak.
2410 * config/c_io_libio_codecvt.c: New file.
2411 * libio/Makefile.am: Add c_codecvt.c.
2412 * libio/Makefile.in: Regenerate.
2413 * libio/genops.c (_IO_unbuffer_write): Don't call _IO_SETBUF if the
2414 stream is not orientated.
2416 * acinclude.m4: Add config/c_io_libio_codecvt.c dummy file, until
2417 encoding gets fleshed out.
2419 * bits/basic_file.h: Add specialization declarations.
2420 * config/c_io_libio.cc: Add specializations for pbackfail, uflow.
2422 * config/c_io_libio.h: Add __c_wfile_type.
2423 * bits/basic_file.h: Add _M_wfile.
2425 * config/c_io_libio.cc (__basic_file<char>): Initialize the
2426 streams without setting the orientation of the underlying FILE to
2427 either wide or narrow.
2428 (__basic_file<wchar_t>)): Enable tricky wchar_t io bits.
2430 2000-08-07 Felix Natter <fnatter@gmx.net>
2432 * docs/17_intro/porting-howto.html: New version.
2434 2000-08-03 Mark Mitchell <mark@codesourcery.com>
2436 * bits/locale_facets.h (ctype::ctype): Don't name unused
2439 2000-08-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2441 * docs/install.html: Edit bits about requiring a special version
2444 2000-07-31 Benjamin Kosnik <bkoz@cygnus.com>
2446 * libio/fileops.cc: Update to current glibc sources.
2447 * libio/genops.c: Same.
2448 * libio/iofwide.c: Same.
2449 * libio/libio.h: Same.
2450 * libio/libioP.h: Same.
2451 * libio/wfiledoalloc.c: Same.
2452 * libio/wgenops.c: Same.
2454 2000-07-28 Alexandre Oliva <aoliva@redhat.com>
2456 * acinclude.m4: Include ../libtool.m4.
2457 * aclocal.m4, configure: Rebuilt.
2459 2000-07-26 Phil Edwards <pme@sourceware.cygnus.com>
2461 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Test for GNU ld
2462 before trying to use any of its options.
2463 (CHECK_MATH_DECL*,CHECK_BUILTIN_MATH_DECL*): Cache tests.
2464 * aclocal.m4: Regenerate.
2465 * configure.in: Having found GNU make, name it.
2466 * configure: Regenerate.
2467 * docs/install.html: Mention possible problems with caching.
2468 * src/Makefile.am (CXXLINK): Use new OPT_LDFLAGS.
2469 * src/Makefile.in: Regenerate.
2470 * libio/Makefile.in: Regenerate.
2471 * math/Makefile.in: Regenerate.
2472 * Makefile.in: Regenerate.
2474 2000-07-26 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2476 * src/misc-inst.cc (std): Remove instantiations.
2478 * acinclude.m4: Add forward-looking bits for autoconf.
2479 * aclocal.m4: Regenerate.
2481 * bits/ostream.tcc (ostream::operator<<): Fix const char* case.
2483 2000-07-25 Benjamin Kosnik <bkoz@gnu.org>
2485 * configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL. Change
2486 it back for current versions of maintainer-tools...
2487 * acinclude.m4: Some cleanups...
2488 * aclocal: Regenerated.
2489 * configure: Regenerated.
2491 * src/Makefile.am (CXXLINK): Add -Wl,-01 to the link line for
2492 optimizing/adapting the hash table using GNU ld.
2493 * src/Makefile.in: Regenerate.
2495 2000-07-24 H.J. Lu <hjl@gnu.org>
2497 * src/Makefile.am (LIBIO_INCLUDES): Set to -I$(top_srcdir)/libio
2498 even if GLIBCPP_NEED_LIBIO is false. The installed glibc header
2499 files don't include private libio header files needed by
2501 * src/Makefile.in: Rebuild.
2503 2000-07-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2505 * bits/std_fstream.h: Parameterize __basic_file.
2506 * config/c_io_libio.cc: Add wchar_t methods for parameterization.
2507 * bits/basic_file.h: Same here.
2509 * bits/istream.tcc (getline): Tweaks.
2511 * bits/fstream.tcc: Shorten __retval to __ret.
2512 * bits/ostream.tcc: Same.
2513 * bits/sbuf_iter.h: Same.
2514 * bits/sstream.tcc: Same.
2515 * bits/streambuf.tcc: Same.
2516 * bits/std_fstream.h: Same.
2517 * src/string-inst.cc: Same.
2519 * config/c_io_libio.cc: Same.
2520 * bits/string.tcc: Same.
2521 * bits/std_streambuf.h: Same.
2523 2000-07-23 Brent Verner <brent@rcfile.org>
2525 * bits/istream.tcc: istream::getline(char_type*, streamsize,
2526 char_type) make compliant
2527 * testsuite/27_io/istream_unformatted.cc: test for compliant behavior
2529 2000-07-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2531 * acinclude.m4 (enable_cshadow_headers): Fix problems with blddir
2532 and srcdir used to define CSHADOW_INCLUDES..
2534 * configure.in: For consistency, change .sanity_warned to
2535 stamp-sanity-warned.
2537 * acinclude.m4: Tweak formatting.
2538 * Makefile.am (check): Call mkcheck with full pathname for build
2540 (check-install): And here.
2541 * Makefile.in: Regenerate.
2543 2000-07-22 Gabriel Dos Reis <gdr@codesourcery.com>
2545 Line up with libstdc++-v2 version of valarray.
2546 * bits/valarray_array.h (__valarray_product): Make inline.
2547 * src/valarray-inst.cc (__valarray_product): Remove explicit
2550 2000-07-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2552 * src/stl-inst.cc: Change __sink_unused_warning to unsigned int
2555 * testsuite/26_numerics/complex_inserters_extractors.cc (testall):
2556 Change return type to void.
2557 * testsuite/25_algorithms/lower_bound.cc: Add return values.
2558 * testsuite/17_intro/header_ciso646.cc: Modify.
2559 * bits/locale_facets.h: Add return values for the generic cases.
2561 2000-07-21 H.J. Lu (hjl@gnu.org)
2563 * acinclude.m4: Include <features.h> for glibc testing.
2564 * aclocal.m4: Likewise.
2566 * configure: Rebuild.
2568 2000-07-20 H.J. Lu (hjl@gnu.org)
2570 * acinclude.m4: Change "#pragma system_header" to
2571 "#pragma GCC system_header".
2572 * aclocal.m4: Likewise.
2573 * bits/std_cmath.h: Likewise.
2574 * bits/std_cassert.h: Likewise.
2575 * bits/std_cctype.h: Likewise.
2576 * bits/std_cerrno.h: Likewise.
2577 * bits/std_cfloat.h: Likewise.
2578 * bits/std_climits.h: Likewise.
2579 * bits/std_clocale.h: Likewise.
2580 * bits/std_cwchar.h: Likewise.
2581 * bits/std_csetjmp.h: Likewise.
2582 * bits/std_csignal.h: Likewise.
2583 * bits/std_cstdarg.h: Likewise.
2584 * bits/std_cstddef.h: Likewise.
2585 * bits/std_cstdio.h: Likewise.
2586 * bits/std_cstdlib.h: Likewise.
2587 * bits/std_cstring.h: Likewise.
2588 * bits/std_ctime.h: Likewise.
2589 * bits/std_cwctype.h: Likewise.
2590 * bits/std_exception.h: Likewise.
2591 * bits/std_new.h: Likewise.
2592 * bits/std_typeinfo.h: Likewise.
2593 * shadow/bits/std_cassert.h: Likewise.
2594 * shadow/bits/std_cctype.h: Likewise.
2595 * shadow/bits/std_cerrno.h: Likewise.
2596 * shadow/bits/std_cfloat.h: Likewise.
2597 * shadow/bits/std_climits.h: Likewise.
2598 * shadow/bits/std_clocale.h: Likewise.
2599 * shadow/bits/std_cmath.h: Likewise.
2600 * shadow/bits/std_csetjmp.h: Likewise.
2601 * shadow/bits/std_csignal.h: Likewise.
2602 * shadow/bits/std_cstdarg.h: Likewise.
2603 * shadow/bits/std_cstddef.h: Likewise.
2604 * shadow/bits/std_cstdio.h: Likewise.
2605 * shadow/bits/std_cstdlib.h: Likewise.
2606 * shadow/bits/std_cstring.h: Likewise.
2607 * shadow/bits/std_ctime.h: Likewise.
2608 * shadow/bits/std_cwchar.h: Likewise.
2609 * shadow/bits/std_cwctype.h: Likewise.
2610 * shadow/bits/wrap_libio.h: Likewise.
2611 * shadow/bits/wrap_unistd.h: Likewise.
2612 * shadow/sys/cdefs.h: Likewise.
2614 * configure: Rebuild.
2616 2000-07-20 Jakub Jelinek <jakub@redhat.com>
2618 * config/cpu/sparc/sparc64/bits/atomicity.h (__exchange_and_add):
2619 Use extended word instructions to match 64bit _Atomic_word.
2620 (__atomic_add): Likewise.
2621 * math/clog10l.c (clog10l): Use M_PIl if defined.
2622 * math/c_logl.c (c_logl): Likewise.
2623 * math/signbitl.c (__signbitl): Adapt for IEEE quad long doubles.
2624 * math/mathconf.h (ieee_quad_double_shape_type): New type.
2625 (GET_LDOUBLE_MSW64): New define.
2627 2000-07-20 Benjamin Kosnik <bkoz@cygnus.com>
2629 * bits/std_streambuf.h: Add bits for pback buffers here, so that
2630 in_avail, etc can use them.
2631 * bits/std_fstream.h: Ditto.
2632 * bits/fstream.tcc: Ditto.
2633 * testsuite/27_io/filebuf.cc: Tweaks.
2634 * testsuite/27_io/filebuf-3.tst: Correct for pbackfail bits.
2636 2000-07-19 Benjamin Kosnik <bkoz@cygnus.com>
2638 * src/localename.cc: Same.
2639 * src/locale.cc: Same.
2640 * bits/localefwd.h: _M_init_facet to _M_facet_init.
2642 * bits/locale_facets.h: _M_init_boolnames to _M_boolnames_init.
2644 * bits/std_sstream.h: Change _M_init_stringbuf to _M_stringbuf_init.
2646 * bits/fstream.tcc: Change _M_init_filebuf to _M_filebuf_init.
2647 * bits/std_fstream.h: Same.
2649 * bits/basic_string.h: Tweaks.
2651 2000-07-19 Phil Edwards <pme@sourceware.cygnus.com>
2653 * docs/18_support/howto.html: Update.
2655 2000-07-19 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
2657 Internal consistency checks.....
2658 * bits/ios_base.h: Change _M_locale_ios to _M_ios_locale.
2661 * bits/basic_ios.h: Change _M_fctype_ios to _M_ios_fctype.
2662 * bits/basic_ios.tcc: Same.
2664 * bits/std_streambuf.h: Change _M_locale_buf to _M_buf_locale.
2665 Change _M_fctype_buf to _M_buf_fctype.
2666 * bits/fstream.tcc: Same.
2668 * bits/std_streambuf.h: Change _M_buf_bump to _M_out_cur_move.
2669 Change _M_locale_set to _M_buf_locale_init.
2670 * bits/streambuf.tcc: Same.
2671 * bits/sstream.tcc: Same.
2672 * bits/fstream.tcc: Same.
2674 * bits/std_streambuf.h: Make typedefs consistent.
2675 (_M_buf_bump): Be more careful with input sequence.
2677 * bits/std_sstream.h: Same.
2678 * bits/std_fstream.h: Same.
2680 2000-07-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2682 * acinclude.m4: Tweaks.
2683 * config/c_io_libio.cc: Tweaks.
2684 * bits/sstream.tcc (stringbuf::pbackfail): Simplify.
2685 * libio/_G_config.h: Don't define _G_HAVE_ST_BLKSIZE.
2686 * libio/[iofwide.c, wfiledoalloc.c, wfiteopos.c, wgenops.c]: New files.
2687 * libio/iofclose.c iofopen.c, stdio.c: New files.
2688 * libio/Makefile.am: Add files, add flags, etc.
2689 * src/Makefile.am (sources): Add filebuf.cc.
2690 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT):
2691 (GLIBCPP_ENABLE_CSTDIO): Versioning testing, etc etc.
2693 2000-07-17 Phil Edwards <pme@sourceware.cygnus.com>
2695 * acinclude.m4: Import CHECK_GNU_MAKE from autoconf macro archive.
2696 * configure.in: Use it. Also print reminders one time.
2697 * aclocal.m4: Regenerate.
2698 * configure: Regenerate.
2700 2000-07-15 Gabriel Dos Reis <gdr@codesourcery.com>
2702 * bits/valarray_array.h (__valarray_get_storage): New function.
2703 (_Array<>::Array): Use it.
2704 * bits/std_valarray.h (valarray<>::valarray): Likewise.
2705 (valarray<>::resize): Likewise. Tweak.
2706 * src/valarray-inst.cc (__valarray_product): Tweak.
2708 2000-07-11 Phil Edwards <pme@sourceware.cygnus.com>
2710 * docs: Update sourceware->sources in every HTML file. Minor updates.
2712 2000-07-07 Benjamin Kosnik <bkoz@soma.redhat.com>
2714 Clean up configure/build longstanding issues.
2715 * src/Makefile.am (AC_CXXFLAGS): Don't set @SECTION_LDFLAGS@ here.
2716 (CXXLINK): Add here, instead.
2718 * Makefile.am (check-install): Make sure mkcheck has execute privs.
2720 * configure.in (AC_OUTPUT_COMMANDS): Remove hacks here.
2722 * configure.in (AC_OUTPUT_COMMANDS): Link c_io_libio.h and
2723 c_io_libio.cc instead of copying.
2724 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Do link here.
2726 * configure.in (AC_OUTPUT_COMMANDS): Link $THREADS.h and
2727 c++threads.h instead of copying.
2728 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Do link here.
2731 * config/c_io_libio.cc (__basic_file::_M_open_mode): Consolidate.
2732 * bits/basic_file.h: Declare.
2734 * mkcheck.in (TESTS_FILE): Use -v instead of --version.
2736 2000-07-07 brent verner <brent@rcfile.org>
2738 * testsuite/27_io/istream_unformatted.cc (test05): New test.
2740 2000-07-07 Benjamin Kosnik <bkoz@gnu.org>
2742 * bits/istream.tcc (istream::getline): Minor tweaks.
2744 2000-07-07 Phil Edwards <pme@sourceware.cygnus.com>
2746 * docs/download.html: Mention gcc_update.
2747 * docs/configopts.html: Minor updates.
2748 * docs/gccrebuild.html: Ditto.
2749 * docs/18_support/howto.html: More tips, explanations, and reminders.
2750 * docs/19_diagnostics/howto.html: Ditto.
2751 * docs/21_strings/howto.html: Ditto.
2752 * docs/24_iterators/howto.html: Ditto.
2753 * docs/25_algorithms/howto.html: Ditto.
2754 * docs/26_numerics/howto.html: Ditto.
2756 2000-07-05 brent verner <brent@rcfile.org>
2758 * testsuite/27_io/ifstream_members.cc (test01): Add tests.
2759 * testsuite/27_io/ofstream_members.cc (test01): Add tests.
2760 * config/c_io_libio.cc (__basic_file::open): Unset
2761 ~_IO_DELETE_DONT_CLOSE.
2763 2000-07-05 Zack Weinberg <zack@wolery.cumb.org>
2765 * bits/gslice_array.h, bits/indirect_array.h, bits/mask_array.h,
2766 bits/slice_array.h, bits/std_valarray.h, bits/valarray_meta.h:
2767 Do not paste anything after 'operator' keyword.
2769 2000-07-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2771 * bits/std_memory.h: Revert.
2773 2000-07-03 Brendan Kehoe <brendan@zen.org>
2775 * bits/std_complex.h: Fix parens. Format.
2777 2000-07-03 scott snyder <snyder@fnal.gov>
2779 * bits/locale_facets.tcc (_M_extract): Only figure out the base
2780 from the input if base == 0.
2781 * testsuite/27_io/istream_extractor_arith.cc: Test reading a
2782 number with a leading `0' in hex mode.
2784 * shadow/bits/std_cmath.h: Fix typo in _GLIBCPP_HAVE_CEILL test.
2786 * mkinclosure: Change `==' to `=' in test.
2788 2000-07-03 Chip Salzenberg <chip@valinux.com>
2790 * src/Makefile.am (libio_headers): _G_config.h is found in srcdir,
2792 * src/Makefile.in: Regenerate.
2794 2000-07-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2795 Ulrich Drepper <drepper@purist.soma.redhat.com>
2797 Sync libio to glibc-2.2 current CVS.
2798 * libio/_G_config.h: New file.
2799 * libio/wfileops.c: New file.
2800 * libio/wfiledoalloc.c: New file.
2801 * libio/wgenops.c: New file.
2802 * libio/iofwide.c: New file.
2803 * libio/Makefile.am: Tweaks.
2804 * libio/Makefile.in: Regenerate.
2805 * libio/gen-params: Remove. Generic replacement for this yet undone.
2806 * libio/[filedoalloc.c, fileops.c, genops.c, iolibio.h, libio.h,
2807 libioP.h, stdfiles.c]: Update.
2808 * config/c_io_libio.cc: Tweaks.
2809 * acinclude.m4: Complete hacks to test wide io.
2810 * aclocal.m4: Regenerate.
2811 * configure: Regenerate.
2812 * src/Makefile.am: Update.
2813 * src/Makefile.in: Regenerate.
2815 * math/cargl.c: Remove underscores.
2817 * bits/locale_facets.h: Tweaks. Start adding iconv details
2819 * bits/locale_facets.tcc: Tweaks.
2820 * bits/std_cwchar.h: Tweaks.
2822 2000-06-29 scott snyder <snyder@fnal.gov>
2824 * bits/concept_checks.h
2825 (__less_then_comparable_requirement_violation): Only check for <.
2826 * testsuite/25_algorithms/lower_bound.cc: New file.
2828 2000-06-29 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2830 * testsuite/27_io/ostream_manip.cc (test02): Add tests.
2831 * bits/ostream.tcc: Tweak.
2832 * bits/std_fstream.h (basic_filebuf::setbuf): Reset
2833 _M_buf_size_opt too.
2834 * bits/std_streambuf.h (basic_streambuf::~basic_streambuf): Zero
2835 out _M_buf_size_opt.
2836 * bits/std_sstream.h (basic_stringbuf::_M_init_stringbuf): Set
2837 _M_buf_size_opt out here.
2838 * bits/char_traits.h (char_traits::eos): Non standard member
2839 function, uglify to __eos. Return char_type().
2840 * bits/std_ostream.h: Change.
2842 * testsuite/27_io/ostream_seeks.cc: New file.
2843 * testsuite/27_io/ostream_seeks-1.tst: New file.
2844 * testsuite/27_io/istream_unformatted.cc (main): Move test04 and
2846 * testsuite/27_io/istream_seeks.cc: New file.
2848 2000-06-29 Branko Cibej <branko.cibej@hermes.si>
2850 * bits/std_memory.h (auto_ptr_ref): Reworked and defined only if
2851 _GLIBCPP_RESOLVE_LIB_DEFECTS.
2852 (auto_ptr): _M_ptr changed to void*.
2853 (suto_ptr::get): Cast _M_ptr to element type.
2854 (auto_ptr::auto_ptr(auto_ptr<Tp1>)): Test implicit convetsion.
2855 (auto_ptr::~auto_ptr): Use this->get() instead of _M_ptr.
2856 (auto_ptr::operator*): Likewise.
2857 (auto_ptr::operator->): Likewise.
2858 (auto_ptr::release): Likewise.
2859 (auto_ptr::reset): Likewise.
2860 (auto_ptr::auto_ptr(auto_ptr_ref)): Initialize from __ref._M_release.
2861 (auto_ptr::operator auto_ptr_rev<_Tp1>): Updated.
2862 Define nested auto_ptr_ref unless _GLIBCPP_RESOLVE_LIB_DEFECTS.
2863 Define operator=(auto_ptr_ref) if _GLIBCPP_RESOLVE_LIB_DEFECTS.
2865 2000-06-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2867 * testsuite/27_io/filebuf.cc: Tweak.
2868 * testsuite/27_io/filebuf_members.cc (test_01): Fix.
2869 * config/c_io_libio.cc (__basic_file::~__basic_file): Match libio
2871 (__basic_file::basic_file): Clean, add calls similar to
2873 (__basic_file::open): Clean.
2874 (__basic_file::sys_open): Clean.
2876 * bits/std_fstream.h: Revert.
2877 * bits/fstream.tcc (filebuf::close()): Revert.
2878 (filebuf::basic_filebuf()): Revert.
2880 2000-06-27 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2882 Update to SGI STL 3.3
2883 * ext/hash_map, ext/hash_set, ext/slist, ext/stl_bvector.h,
2884 ext/stl_rope.h, ext/ropeimpl.h: Update.
2885 * bits/std_bitset.h, bits/std_map, bits/std_memory.h,
2886 bits/stl_algo.h, bits/stl_algobase.h, bits/stl_alloc.h,
2887 bits/stl_config.h, bits/stl_construct.h, bits/stl_deque.h,
2888 bits/stl_function.h, bits/stl_heap.h, bits/stl_iterator.h,
2889 bits/stl_iterator_base.h, bits/stl_list.h, bits/stl_map.h,
2890 bits/stl_multimap.h, bits/stl_multiset.h, bits/stl_numeric.h,
2891 bits/stl_queue.h, bits/stl_set.h, bits/stl_stack.h,
2892 bits/stl_string_fwd.h, bits/stl_threads.h, bits/stl_three.h,
2893 bits/stl_uninitialized.h, bits/stl_vectory.h: Update.
2895 * src/Makefile.am (headers): Add new files.
2896 * src/Makefile.in: Regenerate.
2897 * src/stl-inst.cc (std): Add instantiation for __sink_unused_warning.
2898 * bits/concept_checks.h: New file.
2899 * bits/container_concepts.h: New file.
2900 * bits/sequence_concepts.h: New file.
2902 2000-06-27 H.J. Lu <hjl@gnu.org>
2903 Loren J. Rittle <ljrittle@acm.org>
2905 * mkcheck.in: Add support to print standard flags needed to
2906 test g++ in build tree. Enhance command line error checking.
2908 2000-06-27 Phil Edwards <pme@sourceware.cygnus.com>
2910 * docs/install.html: Fix minor typo as reported.
2912 2000-06-26 Brent Verner <brent@rcfile.org>
2914 * bits/string.tcc (string::rfind): Fix.
2915 * testsuite/21_strings/rfind.cc: New file.
2917 2000-06-26 Anthony Williams <anthony@anthonyw.cjb.net>
2919 * testsuite/21_strings/ctor_copy_dtor.cc: Fixed logic error.
2921 2000-06-26 Branko Cibej <branko.cibej@hermes.si>
2923 * testsuite/27_io/filebuf_members.cc (test_01): Fixed typos.
2925 * mkcheck.in: Make the *.txt and *.tst files writable after
2926 copying them to $TEST_DIR.
2928 * testsuite/27_io/ostream_inserter_arith.cc: Renamed
2929 __TEST_NUMPUT_VERBOSE to TEST_NUMPUT_VERBOSE. Define
2930 TEST_NUMPUT_VERBOSE only if DEBUG_ASSERT.
2932 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2934 * bits/fstream.tcc (basic_filebuf::basic_filebuf(fd)): Use it.
2935 (basic_filebuf::close): Use it.
2936 * bits/std_fstream.h (basic_filebuf): Remove default arguments for
2938 (basic_filebuf): Add _M_fileno_based data member.
2939 As reported by brent verner <brent@rcfile.org>
2940 * testsuite/27_io/filebuf_members.cc: New file.
2941 * testsuite/27_io/filebuf_members-1.tst: New file.
2943 * bits/std_fstream.h: Formatting tweaks.
2944 * testsuite/27_io/ofstream_members.cc: New file.
2945 * testsuite/27_io/ofstream_members-1.tst: New file.
2946 * testsuite/27_io/ifstream_members.cc: New file.
2947 * testsuite/27_io/ifstream_members-1.tst: New file.
2949 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2950 Ulrich Drepper <drepper@cygnus.com>
2952 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so
2953 that all the freaky stuff like sincos will be around...
2955 2000-06-22 Branko Cibej <branko.cibej@hermes.si>
2957 * Makefile.am (AM_MAKEFLAGS): Added WERROR to list of flags.
2959 2000-06-22 Steven King <sxking@uswest.net>
2961 * acinclude.m4: Check for sinl, _sinl using 1 parameter.
2963 2000-06-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2965 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Redo. Use the
2966 same approach as GLIBCPP_CHECK_MATH_SUPPORT, only don't try to
2967 link against libm and don't use -fno-builtins...
2968 * math/mathconf.h: Change up builtin macros to new schema.
2969 * bits/std_cmath.h: And here. Wheee!
2970 * shadow/bits/std_cmath.h: And here.
2971 * acconfig.h: Change up builtin macros here.
2972 * math/cosf.c: Remove.
2973 * math/fabsf.c: Likewise.
2974 * math/sinf.c: Likewise.
2975 * math/sqrtf.c: Likewise.
2976 * math/Makefile.am (EXTRA_DIST): Remove those four files.
2977 * math/Makefile.in: Regenerate.
2979 2000-06-22 Anthony Williams <anthony@anthonyw.cjb.net>
2981 * testsuite/21_strings/find.cc: Patch.
2983 2000-06-22 Benjamin Kosnik <bkoz@soma.redhat.com>
2985 * acinclude.m4 (GLIBCPP_CHEC_LINKER_FEATURES): Use gcc + -x c++ as
2986 an easy way to get at g++ without having to link in libstdc++.
2988 2000-06-21 Benjamin Kosnik <bkoz@soma.redhat.com>
2990 Fix alpha, powerpc build failures.
2991 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Substantially
2992 re-write. Need to check for both proper declaration when using a
2993 c++ compiler, and "C" linkage when linking. Do both, and if both
2994 exist, then define the HAVE_* bits in config.h.
2995 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE): New, uber-macro. Does all.
2996 (GLIBCPP_CHECK_LINKER_FEATURES): Actually link and run this
2999 2000-06-20 Anthony Williams <anthony@anthonyw.cjb.net>
3001 * bits/string.tcc: Fix find.
3002 * testsuite/21_strings/find.cc: Patch.
3004 2000-06-20 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3006 * docs/install.html: Update where to get automake, where to get
3008 * acinclude.m4: Need -fno-builtins too, so gcc doesn't recognize
3011 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
3013 * acinclude.m4 ((GLIBCPP_CHECK_MATH_SUPPORT): Revert last change.
3014 Add -Werror-implicit-function-declaration instead.
3016 Regenerate with fixed maintainer-tools.
3017 * aclocal.m4: Regenerate.
3018 * configure: Regenerate.
3019 * libio/Makefile.in: Regenerate.
3020 * src/Makefile.in: Regenerate.
3022 2000-06-19 Russell Davidson <russell@ehess.cnrs-mrs.fr>
3024 * testsuite/27_io/istream_extractor_arith.cc: Patch.
3025 * bits/locale_factets.tcc: Tweak.
3027 2000-06-19 Raja R Harinath <harinath@cs.umn.edu>
3029 * src/Makefile.am: change @WERROR@ to $(WERROR) so that this can
3030 be overridden on the command line for individual files.
3032 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
3034 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Can't use
3035 AC_LANG_CPLUSPLUS as this tries to link in libstdc++, which we are
3036 building. Use -x c++ instead, which does not attempt to link
3039 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Actually check for
3040 not coring when we hit a try/throw block, which was the problem
3041 with the linker support...
3043 * docs/17_intro/contribute.html: Add bits about getting to the LWG
3045 * docs/documentation.html: Rename link to make more accurate and scary.
3046 * docs/gccrebuild.html: Edit for clarity as these are no longer
3048 * docs/install.html: Add bits about binutils for
3049 -ffunction-sections, -fdata-sections, -Wl,--gc-sections
3051 * configure.in: Add call for GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
3052 * math/Makefile.am (EXTRA_DIST): Change USE_LONG_DOUBLE to
3053 USE_COMPLEX_LONG_DOUBLE.
3054 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Break into
3055 GLIBCPP_CHECK_MATH_SUPPORT and GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
3056 Works around irregularies in powerpc "C" compiler, but a good idea
3059 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT):
3060 New. Merge both old compiler bug checks for complex into this.
3062 2000-06-19 Anthony Williams <anthony@anthonyw.cjb.net>
3064 * testsuite/21_strings/find.cc: Empty strings can be found at all
3065 positions. Modified.
3067 2000-06-19 Branko Cibej <branko.cibej@hermes.si>
3069 * testsuite/20_utilities: New directory.
3070 * testsuite/20_utilities/auto_ptr.cc: New file.
3072 2000-06-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3074 * src/Makefile.am (string_sources): Simplify, assuming that with
3075 -ffunction-sections, -fdata-sections, -Wl,--gc-sections, all this
3076 hacking is not necessary.
3077 (wstring_sources): Same.
3078 (OPTIMIZE_CXXFLAGS): Enable -fdata-sections -ffunction-sections
3080 * src/string-inst.cc: Remove macro blocks.
3081 * mkcheck.in (CXX_FLAG): Add bits here.
3083 * src/string-inst.cc: Remove iostream-related string instantiations.
3084 * src/misc-inst.cc: Add here.
3086 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change FMTFLAGS
3088 * aclocal.m4: Regenerate.
3089 * configure.in: Change up.
3090 * configure: Regenerate.
3092 2000-06-13 Steven King <sxking@uswest.net>
3094 * acinclude.m4: Fixup some of the builtin math tests and add tests for
3095 __builtin_fmod* and test libm for fmodf, fmodl or _fmodf, _fmodl.
3096 * acconfig.h: Add entries for fmod*.
3098 2000-06-13 Branko Cibej <branko.cibej@hermes.si>
3100 * bits/std_cmath.h: Fix typos in tests (*_FMODFF -> *_FMODF).
3101 Test *_MODFF not *_MODF for modf(float, float*).
3102 (modf(float, float*)): Remove reference to _C_legacy.
3104 2000-06-13 Benjamin Kosnik <bkoz@redhat.com>
3106 * acinclude.m4 (enable_cshadow_headers): Change CSHADOWFLAGS to
3107 _GNU_SOURCE instead of _ISOC9X_SOURCE, as _GNU_SOURCE is the
3108 superset, and already defined at top level.
3109 * aclocal.m4: Regenerate.
3110 * configure: Regenerate.
3112 * docs/17_intro/contribute.html: Plead with people to use -cp.
3114 2000-06-13 Anthony Williams <anthony@anthonyw.cjb.net>
3116 * testsuite/23_containers/bitset_ctor.cc: Qualify reverse wth std::.
3118 * testsuite/27_io/filebuf.cc: Changed calls to
3119 fpos<>._M_position() to implicit calls to operator streamoff().
3120 * testsuite/27_io/iostream_objects.cc: Removed #include <ciso646>,
3121 as not needed. Revert, as part of standard.
3122 * testsuite/27_io/ostream_inserter_arith.cc: Replaced explicit
3123 call to numpunct<>._M_init() with overrides of the appropriate
3126 * testsuite/27_io/stringstream.cc: Removed unnecessary char *
3127 pointers from test01, so no need to call base(), which isn't
3128 guaranteed to be implemented as iterators may themselves be pointers
3129 * testsuite/27_io/stringbuf.cc: Removed unnecessary calls to
3130 _M_position() - use implicit conversion to streamoff instead
3132 2000-06-13 Thomas Holenstein <thomas@hex.ch>
3134 * bits/stl_iterator.h: Added inline to operators == to >=.
3136 2000-06-13 Brent Verner <brent@rcfile.org>
3138 * bits/streambuf.tcc: repaired _S_copy_streambufs()
3139 * testsuite/27_io/ostream_inserter_other.cc (test03): Added testcase.
3141 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3143 * bits/locale_facets.h (ctype<wchar_t>): Remove unnecessary data
3145 * src/locale.cc: Add cwchar include here. Remove incorrect
3146 definitions, and stub them out.
3147 * config/generic/ctype.cc (ctype): Remove ctype<wchar_t> bits.
3148 * config/solaris/solaris2.7/ctype.cc (ctype): Same.
3149 * config/solaris/solaris2.5/ctype.cc (ctype): Same.
3150 * config/newlib/ctype.cc: Same.
3151 * config/gnu-linux/ctype.cc: Same.
3152 * config/bsd/ctype.cc: Same.
3153 * config/aix/ctype.cc: Same.
3155 2000-06-12 Branko Cibej <branko.cibej@hermes.si>
3157 * config/solaris/solaris2.6/ctype.cc (do_toupper, do_tolower): Use
3158 towupper and towlower to convert wide characters.
3160 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3162 * mkcheck.in: Clean up confusion regarding NAME, PRE_NAME.
3164 2000-06-08 Branko Cibej <branko.cibej@hermes.si>
3166 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Check for
3167 sinf, cosf, fabsf, and sqrtf; add to LIBMATHOBJS if missing.
3168 * aclocal.m4: Regenerate.
3169 * configure: Regenerate.
3170 * math/cosf.c: New file.
3171 * math/fabsf.c: Likewise.
3172 * math/sinf.c: Likewise.
3173 * math/sqrtf.c: Likewise.
3174 * math/Makefile.am (EXTRA_DIST): Add those four files.
3175 * math/Makefile.in: Regenerate.
3177 2000-06-08 Phil Edwards <pme@sourceware.cygnus.com>
3179 * testsuite/26_numerics/complex_inserters_extractors.cc: Need cmath.
3181 2000-06-06 Steven King <sxking@uswest.net>
3183 * acconfig.h: Added defines for HAVE_BUILTIN math functs for float,
3184 double and long double. Added defines for HAVE libm math functs for
3185 float and long double.
3186 * aclocal.m4: Added configure checks for builtin math funcs and libm
3187 support for float and long double versions of the math functions.
3188 * config.h.in: Added undefs for math functs.
3189 * configure: Regenerate.
3190 * math/mathconf: Changed the _GLIBCPP_HAS_BUILTIN_* to
3191 _GLIBCPP_HAVE_BUILTIN_*.
3192 * bits/std_cmath.h: Added long double support. Use builtins for
3193 float, double and long if available, otherwise, use libm versions if
3194 availible, otherwise, punt.
3195 * shadow/bits/std_cmath.h: ditto
3197 2000-06-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3199 * bits/locale_facets.h: Tweak.
3200 * src/locale.cc (codecvt<wchar_t>): Tweak.
3202 * bits/locale_facets.h (_Format_cache): _S_ecks -> _S_x.
3203 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix for hex.
3205 * bits/basic_string.h: Move data member up.
3206 * src/string-inst.cc: Fix instantiations.
3207 * bits/string.tcc: Fix types.
3209 2000-06-02 Anthony Williams <anthony@anthonyw.cjb.net>
3211 * testsuite/21_strings/replace.cc (test01): Qualify find with std::.
3213 2000-06-01 Benjamin Kosnik <bkoz@gnu.org>
3215 * bits/std_cwctype.h: Clean.
3216 * bits/std_cwchar.h: Clean, remove cruft.
3218 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Re-work, add bits
3219 for beginning iconv support.
3220 Remove _GLIBCPP_HAS_WCHAR_MIN_MAX, roll into _GLIBCPP_USE_WCHAR_T
3222 * acconfig.h: Remove _GLIBCPP_HAS_WCHAR_MIN_MAX.
3223 * bits/limits_generic.h: Remove.
3224 * src/gen-num-limits.cc: Same.
3226 * src/locale.cc: Tweaks.
3228 * bits/char_traits.h: Tweaks.
3230 2000-05-31 Russell Davidson <russell@ehess.cnrs-mrs.fr>
3232 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix signage,
3233 exponent, scientific formatting issues.
3234 * testsuite/27_io/istream_extractor_arith.cc (test09): Add tests.
3236 2000-05-31 Branko Cibej <branko.cibej@hermes.si>
3238 * bits/limits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN
3239 and WCHAR_MAX instead of WCHART_MIN and WCHART_MAX.
3241 2000-05-31 Nathan Myers <ncm@cantrip.org>
3243 * docs/thanks.html: edit own credits
3245 2000-05-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3247 * bits/generic_shadow.h: Remaining _C_Shadow -> _C_shadow fix.
3249 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...
3251 * mkcheck.in (SH_FLAG): Add in -Wl,--rpath -Wl,$LIB_PATH. Tweaks.
3253 2000-05-31 Steven King <sxking@uswest.net>
3255 * shadow/time.h: fix typo
3256 * shadow/wchar.h: ifdef __USE_GNU for wcsdup
3257 * shadow/bits/std_cwchar.h: ditto
3258 * shadow/bits/std_cstdlib.h: add overloads of abs and div for long
3261 2000-05-26 Phil Edwards <pme@sourceware.cygnus.com>
3263 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): If strtoll isn't
3264 available, force --disable. Need to flesh this out; make smarter.
3265 * aclocal.m4: Regenerate.
3266 * configure: Regenerate.
3268 * mkcheck.in: Minor tweaks.
3269 * docs/download.html: Fix typo.
3271 2000-05-25 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
3273 * inclosure: Change to...
3274 * mkinclosure: This.
3276 * mkcshadow: Fix paths to bash.
3278 * src/Makefile.am: Tweaks. Do cshadow header trickery at build time.
3279 * src/Makefile.in: Regnerate.
3280 * acinclude.m4 (GLIBCPP_COMPILER_VERSION): Fix typo.
3281 (GLIBCPP_ENABLE_SHADOW): Do a less gross hack.
3282 * aclocal.m4: Regenerate.
3283 * mkcheck.in (INC_PATH): Tweak.
3285 * configure.in: Enable long long by default.
3286 * configure: Regenerate.
3288 * mkcheck.in (LIB_PATH): Revert.
3290 2000-05-24 Nathan "I don't write ChangeLog Entries" Myers <ncm@cantrip.org>
3292 * config/cpu/i486: New directory.
3293 * config/cpu/i486/bits: New directory.
3294 * config/cpu/i486/bits/atomicity.h: New file.
3295 * config/cpu/i386/bits/atomicity.h (__compare_and_swap): Delete
3297 * acinclude.m4 (GLIBCPP_CHECK_CPU): Enable i386.
3299 2000-05-24 Loren J. Rittle <ljrittle@acm.org>
3301 * backward/alloc.h (__default_alloc_template): Only expose
3302 implementation-specific symbol, if it exists in the
3304 * backward/iostream.h (ends): Expose symbol.
3305 * backward/strstream.h: New file.
3306 * backward/stream.h: New file.
3307 * backward/ostream.h: New file.
3308 * backward/istream.h: New file.
3309 * backward/fstream.h: New file.
3310 * backward/complex.h: New file.
3311 * backward/iomanip.h: New file.
3313 * mkcheck.in (LIB_PATH): Add -R bits.
3315 * math/carg.c (carg): Replace __atan2 with atan2.
3317 2000-05-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3319 * Makefile.am (TAGS): Construct.
3320 * Makefile.in: Rengerate.
3321 * src/Makefile.am: Tweak.
3322 * src/Makefile.in: Tweak.
3323 * configure.in: Tweak.
3325 * bits/c++config.h: Rename to ...
3326 * bits/c++config: This.
3327 * mkc++config: Adjust.
3330 * m4/lc_message.m4: Merge into acinclude.m4.
3331 * m4/mathfcts.m4: Same.
3332 * m4/stringfcts.m4: Same.
3333 * acinclude.m4: Add here.
3334 * configure: Regnerate.
3336 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Remove
3337 OPTLEVEL. Add FMTFLAGS.
3338 * aclocal.m4: Regenerate.
3339 * src/Makefile.am (AC_CXXFLAGS): Take out OPTLEVEL, as this has
3340 been disabled due to higher-level Makefiles running amuck over
3341 this bit, and add in FMTFLAGS so that formatting is clear.
3342 * src/Makefile.in: Regenerate.
3343 * configure: Regenerate.
3345 * src/ios.cc (ios_base::sync_with_stdio): Clean up buffers from
3348 * docs/download.html: Remove references to Cygwin-specific bits,
3349 as this can now be built natively.
3350 Update with current information.
3352 2000-05-24 Phil Edwards <pme@sourceware.cygnus.com>
3354 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): If we can use
3355 -fdiagnostics-show-location=once, do so. Expand AC_LANG_* to
3356 enclose other tests in this macro, including future ones.
3357 * aclocal.m4: Regenerate.
3358 * configure: Regenerate.
3360 * docs/faq/index.html: Update location of libg++ FAQ.
3361 * docs/faq/index.txt: Regenerate.
3363 2000-05-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3365 * docs/17_intro/libstdc++-assign.txt: Change Cygnus to FSF.
3367 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
3369 * mkcheck.in: Tweak for Solaris 8. Additional minor output comment.
3371 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
3373 * acinclude.m4: If the new pragma isn't supported, don't kill -Werror;
3374 keep -Werror and add -Wno-unknown-pragma. -Werror Is Good.
3375 * aclocal.m4: Regenerate.
3376 * configure: Regenerate.
3378 2000-05-19 Nathan C. Myers <ncm@cantrip.org>
3380 * bits/generic_shadow.h: s/swamp/legacy/
3382 2000-05-19 Phil Edwards <pme@sourceware.cygnus.com>
3384 * acinclude.m4: Clean up comments on newer checks.
3385 (GLIBCPP_CHECK_COMPILER_VERSION): Check for system_header
3386 pragma support. Remove WERRORSUPPRESS variable, add WERROR.
3387 * aclocal.m4: Regenerate.
3388 * configure: Regenerate.
3389 * Makefile.in: Regenerate.
3390 * libio/Makefile.in: Regenerate.
3391 * math/Makefile.in: Regenerate.
3392 * src/Makefile.am: Tell make's WERROR to depend on configure's WERROR.
3393 * src/Makefile.in: Regenerate.
3394 * docs/configopts.html: Document changes to --enable names.
3396 2000-05-18 Chip Salzenberg <chip@valinux.com>
3398 * bits/ostream.tcc (_S_pad_char): Function template should not be
3400 * bits/streambuf.tcc (_S_copy_streambufs): Likewise.
3401 * src/string-inst.cc (__destroy_aux): Instantiate for string*.
3403 2000-05-18 Nathan C. Myers <ncm@cantrip.org>
3405 * mkcshadow: Change C_Swamp to C_legacy.
3407 * shadow/bits/*: Same.
3408 s/C_Swamp/C_legacy/g
3412 2000-05-18 Anthony Williams <anthony@anthonyw.cjb.net>
3414 * bits/locale_facets.tcc (num_get::_M_extract): Change char* to
3416 * src/string-inst.cc (string::_S_find): Same.
3418 2000-05-18 Benjamin Kosnik <bkoz@gnu.org>
3420 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
3421 --enable-cshadow-headers. Add output messages.
3422 (GCC_ENABLE_LONG_LONG): Change to --enable-long-long, no
3423 underscores (like the rest of the enable options.) Add output messages.
3424 * aclocal.m4: Regenerate.
3425 * configure: Regenerate.
3426 * configure.in: Touch.
3428 2000-05-17 Benjamin Kosnik <bkoz@cygnus.com>
3430 * mkcheck.in: Enable shared library testing.
3432 2000-05-17 Nathan C. Myers <ncm@cantrip.org>
3434 * bits/std_cmath.h: fix sqrt(float)
3436 2000-05-16 Loren J. Rittle <ljrittle@acm.org>
3438 * bits/std_cassert.h: Use system_header pragma.
3439 * bits/std_cctype.h: Likewise.
3440 * bits/std_cerrno.h: Likewise.
3441 * bits/std_cfloat.h: Likewise.
3442 * bits/std_climits.h: Likewise.
3443 * bits/std_clocale.h: Likewise.
3444 * bits/std_cmath.h: Likewise.
3445 * bits/std_csetjmp.h: Likewise.
3446 * bits/std_csignal.h: Likewise.
3447 * bits/std_cstdarg.h: Likewise.
3448 * bits/std_cstddef.h: Likewise.
3449 * bits/std_cstdio.h: Likewise.
3450 * bits/std_cstdlib.h: Likewise.
3451 * bits/std_cstring.h: Likewise.
3452 * bits/std_ctime.h: Likewise.
3453 * bits/std_cwchar.h: Likewise.
3454 * bits/std_cwctype.h: Likewise.
3455 * bits/std_exception.h: Likewise.
3456 * bits/std_new.h: Likewise.
3457 * bits/std_typeinfo.h: Likewise.
3458 * shadow/bits/std_cassert.h: Likewise.
3459 * shadow/bits/std_cctype.h: Likewise.
3460 * shadow/bits/std_cerrno.h: Likewise.
3461 * shadow/bits/std_cfloat.h: Likewise.
3462 * shadow/bits/std_climits.h: Likewise.
3463 * shadow/bits/std_clocale.h: Likewise.
3464 * shadow/bits/std_cmath.h: Likewise.
3465 * shadow/bits/std_csetjmp.h: Likewise.
3466 * shadow/bits/std_csignal.h: Likewise.
3467 * shadow/bits/std_cstdarg.h: Likewise.
3468 * shadow/bits/std_cstddef.h: Likewise.
3469 * shadow/bits/std_cstdio.h: Likewise.
3470 * shadow/bits/std_cstdlib.h: Likewise.
3471 * shadow/bits/std_cstring.h: Likewise.
3472 * shadow/bits/std_ctime.h: Likewise.
3473 * shadow/bits/std_cwchar.h: Likewise.
3474 * shadow/bits/std_cwctype.h: Likewise.
3475 * shadow/bits/wrap_libio.h: Likewise.
3476 * shadow/bits/wrap_unistd.h: Likewise.
3477 * shadow/sys/cdefs.h: Likewise.
3479 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
3481 It appears that gcc-2.96 supports the keyword "and" now.
3482 * bits/std_ciso646.h: remove.
3484 * testsuite/17_intro/header_ciso646.c: enable testing.
3485 * src/Makefile.am, src/Makefile.in: remove mention of
3488 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
3490 * mkcshadow: fix typo s/_C_Swamp_/_C_Swamp/.
3492 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
3494 * acinclude.m4: Fix typo, switch to decaf...
3495 * aclocal.m4: Regenerate.
3496 * configure: Regenerate.
3498 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
3500 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro, stub.
3501 * aclocal.m4: Regenerate.
3502 * configure.in: Call.
3503 * configure: Regenerate.
3504 * docs/configopts.html: Stub documentation.
3506 2000-05-14 Nathan Myers <ncm@cantrip.org>
3508 * mkcshadow: build in more-correct directory, create cshadow/
3509 directory if needed, report progress.
3511 2000-05-14 LLeweLLyn Reese <llewelly@dbritsch.dsl.xmission.com>
3513 * src/Makefile.am: Fix tr commands.
3514 * src/Makefile.am: Remove references to [w]stringCTORDUPAL.[lo,cc]
3515 * src/string-inst.cc: Remove extra instantiation of
3516 S::basic_string(S::size_type, C, S::allocator_type const&);
3517 * src/string-inst.cc: Remove extra template keyword.
3519 2000-05-14 Loren J. Rittle <ljrittle@acm.org>
3521 * config/bsd/bits/ctype_base.h: Add support for plain BSD4.4.
3522 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Enhance bsd tests.
3523 * aclocal.m4: Regenerate.
3524 * configure: Regenerate.
3525 * */Makefile.in: Regenerate.
3527 2000-05-11 Phil Edwards <pme@sourceware.cygnus.com>
3529 * acinclude.m4: Fix minor typo with ctypes, add more sanity to
3530 enable-cxx-flags, and remove GLIBCPP_ENABLE_NAMESPACES altogether.
3531 * aclocal.m4: Regenerate.
3532 * configure.in: Non-blank arguments break fewer Linuxes.
3533 * configure: Regenerate.
3534 * src/Makefile.am: Re-order AC_CXXFLAGS components.
3535 * src/Makefile.in: Regenerate.
3537 2000-05-10 Benjamin Kosnik <bkoz@redhat.com>
3539 * bits/std_cmath.h: Tweaks.
3540 * math/mathconf.h: Tweaks and fixes for HP-UX 11.
3541 (sqrtf): Define away iff !builtin and !in <math.h>.
3545 At some point this directory should be converted to c++, the
3546 autoconf tests should be run by the c++ compiler (not c), and
3547 <cmath> should be used instead of math.h.
3548 Move declaration of nan() here.
3549 * math/complex-stub.h (cabsl): Remove nan() declaration.
3551 Finish up FreeBSD4.0 support.
3552 * config/bsd/ctype.cc: Scope out toupper, tolower calls.
3553 * config/generic/ctype.cc: And here.
3554 * testsuite/21_strings/char_traits.cc (test02): Guard with
3555 _GLIBCPP_USE_WCHAR_T.
3557 via Phil Edwards <pme@sourceware.cygnus.com>
3558 * bits/std_cctype.h: Remove _GLIBCPP_USE_NAMESPACES.
3559 * acconfig.h: And here.
3560 * acinclude.m4: Same.
3561 * testsuite/27_io/istream.cc: And here.
3562 * testsuite/27_io/ostream.cc: And here.
3564 2000-05-09 Benjamin Kosnik <bkoz@gnu.org>
3566 * acinclude.m4 (GLIBCPP_CHECK_CPU): Change powerpc bits to
3568 * src/Makefile.am: Disable ENABLE_CXX_FLAGS stuff for the moment.
3570 * config/generic/bits/ctype_specializations.h (ctype<char>::is):
3573 * config/bsd: New directory.
3574 * config/bsd/ctype.cc: New.
3575 * config/bsd/bits/ctype_base.h (ctype_base): New.
3576 * config/bsd/bits/ctype_specializations.h: New.
3577 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bsd tests.
3579 2000-05-09 Phil Edwards <pme@sourceware.cygnus.com>
3581 * acinclude.m4: New macro, GLIBCPP_ENABLE_CXX_FLAGS.
3582 * configure.in: Call.
3583 * src/Makefile.am: Append results of macro to AC_CXXFLAGS.
3584 * aclocal.m4: Regenerate.
3586 * src/Makefile.in: Ditto.
3587 * docs/configopts.html: Document.
3588 * docs/download.html: Fix typo (close quote).
3589 * docs/footer.html: Update.
3591 2000-05-09 Loren J. Rittle <ljrittle@acm.org>
3593 * backward/iostream.h: Expose endl. Guard wide types.
3594 * src/Makefile.am (headers): Update list to match files.
3595 * src/Makefile.in: Regenerate.
3597 2000-05-09 Vadim Egorov <egorovv@mailandnews.com>
3598 Benjamin Kosnik <bkoz@gnu.org>
3599 Nathan Myers <ncm@cantrip.org>
3600 Dietmar Kuehl <dietmar_kuehl@yahoo.com>
3602 * bits/streambuf.tcc (basic_streambuf::xsgetn): Fix uflow case.
3603 (basic_streambuf::xsputn): Make consistent.
3604 * testsuite/27_io/filebuf.cc: Add tests.
3606 2000-05-08 Steven King <sxking@uswest.net>
3608 * bits/char_traits.h: Use wchar_t utility functions for
3609 char_traits<wchar_t> methods.
3610 * testsuite/21_string/char_traits.cc: New (test02): test
3611 char_traits<wchar_t>
3613 2000-05-08 Benjamin Kosnik <bkoz@cygnus.com>
3615 * acinclude.m4 (GLIBCPP_CXXFLAGS): Add bits for solaris2.8.
3617 * bits/fstream.tcc (filebuf::_M_init_filebuf): Don't set
3618 _M_buf_size based on macro, instead use _M_buf_size_opt.
3619 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_size_opt.
3620 (basic_streambuf()): Set _M_buf_size_opt.
3621 * testsuite/27_io/filebuf.cc (filebuf): Use _M_buf_size_opt
3622 instead of _M_buf_size.
3624 2000-05-04 Branko Cibej <branko.cibej@hermes.si>
3626 * src/complex_io.cc: Don't instantiate inserters and extractors
3627 for wide-character streams unless _GLIBCPP_USE_WCHAR_T is defined.
3629 2000-05-03 Phil Edwards <pme@sourceware.cygnus.com>
3630 Felix Natter <fnatter@gmx.net>
3632 * docs/footer.html: Update to see if it takes effect.
3633 * docs/thanks.html: More people.
3634 * docs/17_intro/headers_cc.txt: Copy from testsuite, since that can't
3635 be seen from the web pages. Rename for browser-friendliness...
3636 * docs/17_intro/howto.html: ...and update here.
3637 * docs/17_intro/porting-howto.html: Changes from Felix.
3638 * docs/gccrebuild.html: Mention v3->egcs move.
3639 * docs/faq/index.html: Ditto. Also misc tweaks and URL updates.
3640 * docs/faq/index.txt: Regenerate.
3642 2000-05-01 Benjamin Kosnik <bkoz@redhat.com>
3644 * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): More
3647 2000-05-01 Vadim Egorov <egorovv@@mailandnews.com>
3649 * bits/char_traits.h: Fix parameter types.
3650 * bits/string.tcc: Avoid traits_type::move.
3652 2000-05-01 Benjamin Kosnik <bkoz@haight.constant.com>
3654 * src/Makefile.am (AC_CXXFLAGS): Add CPUFLAGS here.
3655 * src/Makefile.in: Regenerate.
3656 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Revert.
3658 2000-04-30 Steven King <sxking@uswest.net>
3660 * bits/locale_facets.h: Fix syntax error.
3661 * bits/std_fstream.h: ditto
3663 2000-04-30 Benjamin Kosnik <bkoz@gnu.org>
3665 * config/cpu/powerpc/bits/atomicity.h (__compare_and_swap): Fix typo.
3667 * mknumeric_limits (trait_name): Fix copyright notice.
3668 * src/gen-num-limits.cc: Explicitly instantiate epsilon and
3669 round_error data members of struct value. This works around
3670 weak-linking issues on AIX, HPUX.
3672 2000-04-29 Phil Edwards <pme@sourceware.cygnus.com>
3674 * docs/download.html: Add link to list of mirror sites.
3676 2000-04-28 Loren J. Rittle <ljrittle@acm.org>
3678 * mkcheck.in: Rely on exit status instead of the presence of a
3679 core file. Added comments on how/where to save core and exe
3680 files. Move shell wildcards outside quotes and fix core path.
3682 2000-04-27 scott snyder <snyder@fnal.gov>
3684 * src/misc-inst.cc: Explicitly instantiate ifstream and ofstream
3687 2000-04-26 Nathan C. Myers <ncm@cantrip.org>
3689 * bits/basic_string.h: include <bits/atomicity.h> instead
3690 of <atomicity.h>, and use the uglified names.
3691 * config/cpu/*/atomicity.h: replace with bits/atomicity.h;
3692 uglify names, eliminate dependence on <inttypes.h>.
3693 * src/Makefile.in, src/Makefile.am: refer to correct place
3694 for atomicity.h header.
3696 2000-04-25 Steven King <sxking@uswest.net>
3698 * bits/basic_string.h: Fix syntax error.
3700 2000-04-25 Benjamin Kosnik <bkoz@redhat.com>
3702 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Improve checks for
3704 (GLIBCPP_ENABLE_DEBUG): If alpha, use -gdwarf-2.
3705 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Add all the long
3706 versions to this as copysignl is needed anyway for these targets.
3707 * math/Makefile.in: Regenerate.
3709 * bits/streambuf.tcc (streambuf::xsgetn): Tweak.
3710 * bits/fstream.tcc (underflow): Cast to libio types.
3711 * bits/basic_file.h (seekoff): Fixes for alpha: use __c_streamoff.
3712 * config/c_io_libio.cc (seekoff): And here.
3714 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
3716 * mkcheck.in: Report compiler version used for test. Find
3717 the built _G_config.h instead of any old installed version.
3719 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
3721 * config/generic/ctype.cc (do_toupper): Remove dependence on
3722 non-portable/non-existent lookup table.
3725 2000-04-24 Nathan Myers <ncm@cantrip.org>
3727 * src/string-inst.cc: More fixing.
3729 2000-04-24 Benjamin Kosnik <bkoz@gnu.org>
3731 * bits/stl_iterator.h: Pedantic fixing.
3732 * bits/std_sstream.h: And here.
3733 * bits/string.tcc: And here.
3735 2000-04-24 Felix Natter <fnatter@gmx.net>
3737 * docs/17_intro/howto.html: Add bits.
3738 * docs/17_intro/porting-howto.html: New file.
3740 2000-04-24 Branko Cibej <branko.cibej@hermes.si>
3742 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Expand
3743 @libinst_wstring_la@ to libinst-wstring.la when specializing for
3744 wchar_t, to empty string otherwise.
3745 * src/Makefile.am: (EXTRA_LTLIBRARIES): New.
3746 (sources): Remove $(string_sources) and $(wstring_sources).
3747 (libstdc___la_LIBADD): Add libinst-string.la and @libinst_wstring_la@.
3748 (libstdc___la_DEPENDENCIES): New.
3749 (libinst_string_la_SOURCES, libinst_wstring_la_SOURCES): New.
3751 2000-04-20 Benjamin Kosnik <bkoz@redhat.com>
3753 * bits/std_sstream.h: Tweak formatting.
3754 * bits/std_fstream.h: Make types public.
3756 * testsuite/27_io/streambuf.cc: Fix for alpha.
3758 Brad Garcia <bgarcia@laurelnetworks.com>
3759 * bits/locale_facets.h (numpunct::numpunct(size_t)): Fix bool
3761 * testsuite/27_io/ios_manip_fmtflags.cc (test02): Add test for
3764 2000-04-19 Nathan Myers <ncm@cantrip.org>
3766 * src/string-inst: consolidate _S_create,
3767 destroy, leak, clone members into stringMAIN and stringMUTATE
3769 * src/Makefile.am: Above, and eliminate dependence on
3771 * src/wstring-inst.cc: Remove.
3773 2000-04-18 Benjamin Kosnik <bkoz@redhat.com>
3775 * src/Makefile.am (AC_CXXFLAGS): Activate debugging code, again.
3776 Add flags for specialized rules dealing with instantiations.
3778 * src/string-inst.cc: Add instantiations missing from shared
3779 libraries--see stringEQ, stringCONSC.
3780 * src/Makefile.am (wstring_sources): Add.
3781 (string_sources): Same.
3782 * src/Makefile.in: Regenerate.
3784 * stl/*: Integrate contents of this directory into top-level
3786 * ext/bvector hash_map hash_set rope ropeimpl.h slist
3787 stl_bvector.h stl_hash_fun.h stl_hashtable.h stl_rope.h tree: Add.
3788 * bits/pthread_allocimpl.h std_algorithm.h std_bitset.h
3789 std_deque.h std_functional.h std_iterator.h std_list.h std_map.h
3790 std_memory.h std_numeric.h std_queue.h std_set.h std_stack.h
3791 std_stdexcept.h std_strstream.h std_utility.h std_vector.h
3792 stl_algo.h stl_algobase.h stl_alloc.h stl_config.h stl_construct.h
3793 stl_deque.h stl_function.h stl_heap.h stl_iterator.h
3794 stl_iterator_base.h stl_list.h stl_map.h stl_multimap.h
3795 stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h
3796 stl_queue.h stl_range_errors.h stl_raw_storage_iter.h stl_relops.h
3797 stl_set.h stl_stack.h stl_string_fwd.h stl_tempbuf.h stl_threads.h
3798 stl_tree.h stl_uninitialized.h stl_vector.h type_traits.h: Add.
3799 * backward/algo.h algobase.h alloc.h bvector.h defalloc.h deque.h
3800 function.h hash_map.h hash_set.h hashtable.h heap.h iterator.h
3801 list.h map.h multimap.h multiset.h pair.h rope.h set.h slist.h
3802 stack.h tempbuf.h tree.h vector.h: Add.
3803 * README (file): Update.
3804 * docs/documentation.html: README not being found.
3805 * src/Makefile.am (sources): Take out stl directory.
3806 * mkcheck.in (SRC_DIR): And here.
3807 * src/Makefile.in: Regenerate.
3809 2000-04-18 Levente Farkas <lfarkas@mindmaker.hu>
3811 * stl/bits/stl_function.h: Add bits so that const and non-const
3814 2000-04-18 scott snyder <snyder@fnal.gov>
3816 * stl/bits/stl_map.h (class map): Fix default for _Alloc template
3817 parameter. Get rid of use of __STL_DEFAULT_ALLOCATOR and
3818 __STL_LIMITED_DEFAULT_TEMPLATES macros.
3819 * stl/bits/stl_multimap.h (class multimap): Likewise. Get rid of
3820 use of __STL_DEPENDENT_DEFAULT_TMPL macro.
3822 2000-04-18 scott snyder <snyder@fnal.gov>
3824 * stl/bits/stl_config.h (__STL_DEPENDENT_DEFAULT_TMPL): Deleted
3827 * stl/ext/hash_map (class hash_map, class hash_multimap): Get rid
3828 of use of __STL_DEPENDENT_DEFAULT_TMPL macro.
3829 * stl/ext/hash_set (class hash_set, class hash_multiset):
3831 * stl/bits/stl_function.h (struct constant_unary_fun, struct
3832 constant_binary_fun): Likewise.
3833 * stl/bits/stl_queue.h (class queue, class priority_queue): Likewise.
3834 * stl/bits/stl_stack.h (class stack): Likewise.
3835 * stl/bits/stl_set.h (class set): Likewise.
3836 * stl/bits/stl_multiset.h (class multiset): Likewise.
3838 * stl/bits/stl_iterator.h (class reverse_bidirectional_iterator,
3839 class reverse_iterator): Get rid of use of
3840 __STL_LIMITED_DEFAULT_TEMPLATES macro.
3842 * stl/bits/stl_config.h (__STL_DEFAULT_ALLOCATOR): Deleted this
3845 * stl/bits/stl_deque.h (class deque): Get rid of use of
3846 __STL_DEFAULT_ALLOCATOR macro.
3847 * stl/bits/stl_list.h (class list): Likewise.
3848 * stl/bits/stl_multiset.h (class multiset): Likewise.
3849 * stl/bits/stl_set.h (class set): Likewise.
3850 * stl/bits/stl_string_fwd.h (class basic_string): Likewise.
3851 * stl/bits/stl_tree.h (class _Rb_tree, class rb_tree): Likewise.
3852 * stl/bits/stl_vector.h (class vector): Likewise.
3853 * stl/ext/ropeimpl.h (rotate): Likewise.
3854 * stl/ext/hash_map (class hash_map, class hash_multimap):
3856 * stl/ext/hash_set (class hash_set, class hash_multiset):
3858 * stl/ext/slist (class slist): Likewise.
3859 * stl/ext/stl_bvector.h (class bit_vector): Likewise.
3860 * stl/ext/stl_rope.h (class rope): Likewise.
3861 * src/locale.cc (_Impl): Likewise.
3862 * src/localename.cc (_Impl): Likewise.
3863 * bits/localefwd.h (_Impl): Likewise.
3865 2000-04-18 Phil Edwards <pme@sourceware.cygnus.com>
3867 * docs/install.html: Cleanup, minor changes.
3868 * docs/17_intro/howto.html: Ditto.
3870 2000-04-18 Nathan Myers <ncm@cantrip.org>
3872 * bits/basic_string.h: Remove "inline" from member _S_find.
3874 * src/string-inst.cc: Rewrite to reflect non-inline template
3875 instantiations in string.tcc.
3877 * src/stringADDCS.cc, stringADDPS.cc, stringADDSC.cc, stringADDSP.cc,
3878 stringADDSS.cc, stringBIST.cc, stringBOST.cc, stringCHTR.cc,
3879 stringEQPS.cc, stringEQSP.cc, stringEQSS.cc, stringEXTRA.cc,
3880 stringGEPS.cc, stringGESP.cc, stringGESS.cc, stringGETLI.cc,
3881 stringGTPS.cc, stringGTPS.cc, stringGTSP.cc, stringGTSS.cc,
3882 stringINSER.cc, stringLEPS.cc, stringLESP.cc, stringLESS.cc,
3883 stringLESP.cc, stringLTPS.cc, stringLTPS.cc, stringLTSP.cc,
3884 stringLTSS.cc, stringMAIN.cc, stringNEPS.cc, stringNESP.cc,
3885 stringNESS.cc, stringSCOPY.cc: Remove.
3886 * src/wstringADDCS.cc, etc: Remove.
3888 Benjamin Kosnik <bkoz@haight.constant.com>
3889 * src/Makefile.am: Modify to reflect above.
3890 * src/Makefile.in: Regenerate.
3892 2000-04-17 Benjamin Kosnik <bkoz@cygnus.com>
3894 * docs/install.html (--enable-libstdcxx-v3): Clean up install docs.
3896 2000-04-13 Benjamin Kosnik <bkoz@haight.cygnus.com>
3898 * bits/std_fstream.h (filebuf::sync): Need to use the abstracted
3899 io interface here instead of the libio particulars.
3901 * config/threads-posix.h: Consistency with stl_config.h.
3903 * mkcheck.in (CXX_FLAG): Add DDEBUG_ASSERT back in.
3905 2000-04-13 Loren J. Rittle <ljrittle@acm.org>
3907 * mknumeric_limits: Rename generic type template parameter name
3909 * stl/bits/type_traits.h: Ditto.
3911 2000-04-06 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3913 * mkcheck.in (SRC_DIR): Change default mkcheck behavior, so that
3914 it is more useful for --enable-libstdcxx-v3. Use the built
3915 compilers with v3, instead of compilers in PATH, and don't
3916 re-include include directories for checking the install.
3918 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
3920 * src/Makefile.am (AM_CXXFLAGS): Disable NAMESPACES, as this is on
3921 by default when using --enable-libstdcxx-v3.
3922 * src/Makefile.in: Regenerate.
3923 * configure.in: Disable GLIBCPP_ENABLE_NAMESPACES,
3924 GLIBCPP_ENABLE_RELIBGCC for --enable-libstdcxx-v3 flag.
3925 * configure: Regenerate.
3926 * mkcheck.in: Deal with NAMESPACES.
3928 2000-04-05 Petter Urkedal <petter@matfys.lth.se>
3930 * src/cmath.cc: New file...
3931 (pow(*, int)): Define functions...
3932 * src/Makefile.am (sources): ...register file.
3933 * src/Makefile.in: Regenerate.
3934 * bits/std_cmath.h (pow): ...declare functions here, and remove
3937 2000-04-04 Benjamin Kosnik <bkoz@redhat.com>
3939 * acinclude.m4 (GCC_OBJDIR): Tweaks
3941 2000-04-03 Benjamin Kosnik <bkoz@redhat.com>
3943 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add arm configure bits.
3944 * config/cpu/arm: New directory.
3946 Jesper Skov <jskov@redhat.com>
3947 * config/cpu/arm/atomicity.h: New file.
3949 2000-03-31 Benjamin Kosnik <bkoz@redhat.com>
3951 * stl/bits/stl_config.h: Make _STL_THREADS depend on _REENTRANT.
3952 Remove unused bits. Clean.
3954 2000-03-29 Benjamin Kosnik <bkoz@cygnus.com>
3956 * testsuite/25_algorithms: New directory.
3957 * testsuite/25_algorithms/min_max.cc: New file.
3959 2000-03-29 scott snyder <snyder@fnal.gov>
3961 * bits/locale_facets.tcc (do_put): Allow a couple extra digits of
3962 precision beyond that which we get from numeric_limits::digits10.
3964 * stl/bits/stl_algobase.h (max, min): Don't use comparison
3967 * testsuite/23_containers/bitset_shift.cc: Fix.
3969 * testsuite/27_io/ios_manip_fmtflags.cc (test01): Don't give a
3970 temporary to imbue().
3972 * bits/std_fstream.h (sync): Resync libio's idea of the current
3973 file position with the external file.
3975 2000-03-28 Benjamin Kosnik <bkoz@cygnus.com>
3977 * testsuite/27_io/istream_extractor_arith.cc.cvs: Fix merge
3980 * bits/std_fstream.h (filebuf::is_open): Check for _M_file before
3981 attempting calls to it.
3982 * bits/fstream.tcc (ctors): Don't call _M_init_filebuf in
3983 ctors. Instead, call _M_init_filebuf ...
3984 (open): Here, as suggested by 27.8.1.3.
3985 * src/ios.cc (ios_base::Init::Init()): Clean up default filebufs
3986 properly when initializing cout/cin/cerr.
3988 2000-03-27 Russell Davidson <russell@ehess.cnrs-mrs.fr>
3990 * testsuite/23_containers/multiset.cc (main): Clean up for namespaces.
3991 * testsuite/22_locale/ctype_char_members.cc: And here.
3992 * testsuite/27_io/streambuf.cc (streambuf): And here.
3993 * testsuite/27_io/ostream_inserter_char.cc (test06): And here.
3994 * testsuite/27_io/istream_unformatted.cc (test05): And here.
3995 * testsuite/27_io/istream_extractor_arith.cc: And here.
3996 * testsuite/27_io/ios_manip_basefield.cc (test02): And here.
3997 * testsuite/27_io/ios_base_members_static.cc: And here.
3998 * bits/std_climits.h (_CPP_CLIMITS): Fix typo.
4000 2000-03-27 Chris Faylor <cgf@cygnus.com>
4002 * configure.in: Remove setting of CXX if canadian cross.
4003 * configure: Regenerate.
4005 2000-03-27 Nathan Myers <ncm@zembu.com>
4007 * bits/sstream.tcc: Optimize.
4008 * bits/basic_string.h(string::append): Don't inline.
4009 * bits/string.tcc: Move out-of-line.
4011 2000-03-27 Phil Edwards <pme@sourceware.cygnus.com>
4013 * acinclude.m4: (GLIBCPP_CHECK_COMPILER_VERSION) When using <2.96,
4014 define WERRORSUPPRESS so that the inlining warnings won't kill us.
4015 * aclocal.m4: Regenerate.
4016 * configure: Regenerate.
4017 * src/Makefile.am: Use WERRORSUPPRESS for the files that need it.
4018 * src/Makefile.in: Regenerate.
4020 * docs/install.html: Almost complete rewrite.
4022 2000-03-25 Phil Edwards <pme@sourceware.cygnus.com>
4024 * docs/install.html: Explain -Werror problem at "#Werror" mark.
4025 * docs/faq/index.html: Testsuite will die horribly if new libgcc.a
4027 * docs/faq/index.txt: Regenerate.
4029 2000-03-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4031 * src/Makefile.am (libio_headers_install): Fix.
4032 * src/Makefile.in: Regenerate.
4034 2000-03-24 Benjamin Kosnik <bkoz@cygnus.com>
4036 * docs/17_intro/RELEASE-NOTES: Fix typos.
4037 * docs/index.html: Update.
4038 * docs/17_intro/BUGS: Update.
4039 * docs/status.html: Update for 2.90.8 release.
4041 2000-03-23 Phil Edwards <pme@sourceware.cygnus.com>
4043 * Makefile.am: Better error message when missing libgcc2.ready.
4044 * Makefile.in: Regenerate.
4045 * acinclude.m4: Fastidious nitpicking reformatting.
4046 * aclocal.m4: Regenerate.
4047 * configure: Regenerate.
4048 * mkcheck.in: Must use same namespace settings as the library being
4049 tested. Also log ST_FLAG, since it's being passed.
4050 * docs/install.html: Add brief chunk on configuration.
4051 * docs/17_intro/RELEASE-NOTES: Fix minor Cygwin typo.
4052 * docs/23_containers/howto.html: Mention MT-safe string.
4053 * docs/faq/index.html: Minor updates.
4054 * docs/faq/index.txt: Regerarate.
4056 2000-03-22 Benjamin Kosnik <bkoz@cygnus.com>
4058 * bits/sstream.tcc (seekoff): Fix for gptr() null cases.
4060 * bits/fstream.tcc (seekoff): Sync.
4062 * testsuite/27_io/ostream_unformatted.cc: New file.
4063 * testsuite/27_io/stringbuf.cc: Fix.
4064 * testsuite/27_io/istream_unformatted.cc (test04): Fix.
4066 * config/newlib/bits/ctype_base.h (ctype_base): Fix.
4067 * config/newlib/ctype.cc (ctype): Change __ctype -> _ctype_.
4069 * src/complex_io.cc (operator>>complex): Tweak.
4071 * config/cpu/alpha/atomicity.h: Explicitly typedef uint32_t, int32_t if
4072 <inttypes.h> does not exist.
4073 * config/cpu/sparc/sparc64/atomicity.h: Same.
4074 * config/cpu/sparc/sparc32/atomicity.h: Same.
4075 * config/cpu/powerpc/atomicity.h: Same.
4076 * config/cpu/i386/atomicity.h: Same.
4077 * config/cpu/generic/atomicity.h: Same.
4078 * configure.in: Check for inttypes.h.
4079 * configure: Regnerate.
4081 2000-03-21 Benjamin Kosnik <bkoz@cygnus.com>
4083 * bits/std_sstream.h (_M_init_stringbuf): Set initial ate position
4085 * testsuite/27_io/ostream_inserter_char.cc (test06): Add tests for ate.
4087 * docs/17_intro/RELEASE-NOTES (New): Add bits.
4089 * configure.in: Move AC_CHECK_HEADERS to a point where we know we
4090 are compiling natively.
4092 * libio/*: Update to CVS libio from egcs.
4094 2000-03-21 Phil Edwards <pme@sourceware.cygnus.com>
4096 * docs/download.html: Document use of -z9 for CVS.
4097 * docs/index.html: Add target date (no link) for future snapshot.
4099 2000-03-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4101 * bits/slice_array.h: Rename generic type template parameter name
4103 * bits/mask_array.h: Ditto
4105 2000-03-20 Benjamin Kosnik <bkoz@cygnus.com>
4107 * *: Change copyright holder from "Cygnus Solutions" to "Free
4108 Software Foundation, Inc."
4110 * docs/configopts.html: Explain what "hella versions" means.
4111 * docs/install.html: Some tweaks--nice job on this Phil.
4112 * docs/documentation.html: Add a direct link to configuration options.
4114 * src/Makefile.am (OPTIMIZE_CXXFLAGS): Add in extras.
4115 * docs/17_intro/RELEASE-NOTES (New): Add.
4116 * bits/c++config.h (__GLIBCPP__): Bump version.
4118 * config/c_io_libio.cc (__basic__file(__c_lock*)): Change argument
4119 type to match prototype.
4121 2000-03-20 Phil Edwards <pme@sourceware.cygnus.com>
4123 * docs/install.html: Update for new funky build procedure. Move
4124 description of 'configure' options to...
4125 * docs/configopts.html: ...here. New file.
4126 * docs/17_intro/howto.html: Updates for new snapshot.
4127 * docs/20_util/howto.html: Ditto.
4128 * docs/21_strings/howto.html: Ditto.
4129 * docs/21_strings/stringtok_std_h.txt: Fix example typos.
4130 * docs/22_locale/howto.html: Ditto.
4131 * docs/23_containers/howto.html: Ditto.
4132 * docs/faq/index.html: Ditto.
4134 2000-03-18 Petter Urkedal <petter@matfys.lth.se>
4135 Benjamin Kosnik <bkoz@gnu.org>
4137 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_SUPPORT): Move code for main
4139 * aclocal.m4: Regenerate.
4140 * configure: Regenerate.
4142 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
4143 scott snyder <sss@karma.fnal.gov>
4145 * config/c_io_libio.h: Add __c_lock.
4146 * config/threads-no.h: Same here.
4147 * config/threads-posix.h: Add __mutext_type typedef.
4148 * config/c_io_libio.cc: basic_file ctor takes lock arg.
4149 * bits/basic_file.h: Ctor takes lock arg.
4150 * bits/std_fstream.h: Add _M_lock.
4151 * bits/fstream.tcc: Supply it to basic_file ctor.
4153 * mkcheck.in (resultstext): Change [[ to [.
4155 * testsuite/27_io/ostream_inserter_char.cc (test06): Tweak.
4157 * bits/locale_facets.h: Tweak.
4159 * stl/bits/stl_config.h: Fix defines.
4161 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
4163 * mkcheck.in (INC_PATH): Add paths from cpu_include_dir to find
4165 * configure: Regenerate.
4166 * aclocal.m4: Regnerate.
4168 2000-03-16 Nathan Myers <ncm@zembu.com>
4170 * bits/string.tcc: Add MT support.
4171 * bits/basic_string.h: Same.
4173 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
4175 * configure.in: Make --enable-namespaces and -libgcc-rebuild=../..
4177 * configure: Regenerate.
4179 * config/solaris/solaris2.7/ctype.cc: Fix unsigned/signed comparison.
4181 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
4183 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): If Sol2.5 ctype is found, keep
4184 checking for 2.[67]. (GLIBCPP_ENABLE_RELIBGCC): No longer ignore
4185 any defaults passed in.
4186 * aclocal.m4: Regenerate.
4188 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
4190 * mkcheck.in: Report total successes and failures.
4192 2000-03-15 Benjamin Kosnik <bkoz@cygnus.com>
4194 * config/cpu: New directory, intended to be used to provide
4195 cpu-specific configuration files. In particular, assembly language
4196 primitives for thread safety.
4197 * config/cpu/alpha: Populate.
4198 * config/cpu/alpha/atomicity.h: New file.
4199 * config/cpu/arm: Populate.
4200 * config/cpu/generic: Populate.
4201 * config/cpu/generic/atomicity.h: New file.
4202 * config/cpu/hppa: Populate.
4203 * config/cpu/i386: Populate.
4204 * config/cpu/i386/atomicity.h: New file, take from i486.
4205 * config/cpu/m68k: Populate.
4206 * config/cpu/mips: Populate.
4207 * config/cpu/powerpc: Populate.
4208 * config/cpu/powerpc/atomicity.h: New file.
4209 * config/cpu/sparc: Populate.
4210 * config/cpu/sparc/sparc32: Populate.
4211 * config/cpu/sparc/sparc64: Populate.
4212 * config/cpu/sparc/sparc32/atomicity.h: New file.
4213 * config/cpu/sparc/sparc64/atomicity.h: New file.
4215 * src/Makefile.am (myinstallheaders): Add install routines.
4216 * acinclude.m4 (GLIBCPP_CHECK_CPU):Add configuration for the
4218 * configure.in: Add.
4220 * config/default: Adopt glibc naming conventions, and so move to
4221 * config/generic: Here.
4222 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Modify default case to generic.
4224 2000-03-15 Bill Thompson <billt@toast.net>
4226 * testsuite/27_io/ostream_inserter_char.cc (test06): Add test.
4228 2000-03-14 Phil Edwards <pme@sourceware.cygnus.com>
4230 * docs/17_intro/howto.html: Add missing "TOC" entry, and new section.
4232 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Fixup.
4233 * aclocal.m4: Regenerate.
4234 * configure: Regenerate.
4236 2000-03-13 scott snyder <snyder@fnal.gov>
4237 Jason Merrill <jason@cygnus.com>
4239 * bits/locale_facets.h (class ctype, class ctype<char>, class
4240 ctype<wchar_t>): More mask fixes.
4241 * testsuite/22_locale/ctype.cc: Test for the problem.
4243 2000-03-13 Benjamin Kosnik <bkoz@cygnus.com>
4245 * acconfig.h: Add bits.
4246 * configure.in: Move AM_PROG_LIBTOOL up in file.
4247 Tweak cross compiling info.
4248 * configure: Regenerate.
4250 * mknumeric_limits (XCOMPILE): Echo compilation line for
4253 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add aix checks.
4254 * aclocal.m4: Regenerate.
4255 * configure: Regenerate.
4256 * config/aix/ctype.cc (ctype): Tweak.
4257 * config/aix/bits/ctype_base.h (ctype_base): Tweak.
4258 * config/aix/bits/ctype_specializations.h: New file.
4260 2000-03-10 scott snyder <snyder@fnal.gov>
4262 * stl/bits/stl_vector.h (_M_assign_aux): Fix for __normal_iterator
4264 * testsuite/23_containers/vector_modifiers.cc (test01): Add a
4265 regression test for the problem.
4267 2000-03-09 Benjamin Kosnik <bkoz@fidel.cygnus.com>
4269 * testsuite/27_io/streambuf.cc (class testbuf): Same here.
4270 * bits/fpos.h: And here.
4271 * bits/std_ostream.h: Same here.
4272 * bits/std_istream.h: Same here.
4273 * bits/basic_ios.h: Same here.
4274 * bits/std_fstream.h: Same here.
4275 * bits/sbuf_iter.h (std): Here too.
4276 * bits/std_sstream.h: Make types public.
4278 * src/misc-inst.cc: Use size_t instead of unsigned int.
4279 * bits/locale_facets.tcc (_S_format): For now, cast to char. I
4280 suppose this should be ctype::narrow... all the ctype<wchar_t>
4281 stuff needs to be cleaned up.
4283 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
4285 * docs/gentop: Remove entire directory, finally.
4287 2000-03-09 scott snyder <snyder@fnal.gov>
4289 * bits/std_cmath.h (modf): Fix pointer overrun.
4290 * testsuite/26_numerics/c_math.cc (test04, main): Add a regression
4291 test for the problem.
4293 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
4295 Looks like changes to the #include'd files must be followed by a
4296 change to the #include'ing files to take effect. Caveat emptor.
4297 * docs/header.html: New file, for server-side include.
4298 * docs/footer.html: New file, for server-side include.
4299 * docs/documentation.html: Change to use SSI.
4300 * docs/download.html: Ditto.
4301 * docs/index.html: Ditto.
4302 * docs/mail.html: Ditto.
4303 * docs/status.html: Ditto.
4304 * docs/thanks.html: Ditto, plus minor updates.
4305 * docs/how.html: Remove.
4307 2000-03-09 Benjamin Kosnik <bkoz@gnu.org>
4309 Preliminary alpha-linux support.
4310 * src/locale.cc (ctype<wchar_t>): Use correct types...
4311 * bits/locale_facets.h (ctype<char>): Add __table_type typedef.
4312 (ctype<wchar_t>): Same.
4313 * bits/locale_facets.h (ctype<wchar_t>): Have char and wchar_t
4314 types match for table_size (size_t).
4316 * config/gnu-linux/ctype.cc (ctype): Change char_type to wchar_t
4317 as per char specialization.
4318 * config/*/ctype.cc: Same.
4320 2000-03-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4322 * bits/locale_facets.h (_Ctype<>::mask): Import from base class
4323 _Ctype_nois<>. Template base classes are never examinated in
4324 first-phase name-lookup.
4326 2000-03-08 Benjamin Kosnik <bkoz@gnu.org>
4328 Add Solaris 2.5.1 support.
4329 * config/solaris/solaris2.5/bits/ctype_base.h (ctype_base): And here.
4330 * config/solaris/solaris2.5/ctype.cc: Fixup.
4331 * config/solaris/solaris2.5/bits/ctype_specializations.h: Add.
4332 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bits for solaris2.5.1.
4333 * aclocal.m4: Regenerate.
4334 * configure: Regenerate.
4336 * config/default/ctype.cc (ctype): Fixup.
4338 2000-03-07 Benjamin Kosnik <bkoz@blues.cygnus.com>
4340 * testsuite/27_io/filebuf.cc: Activate init code from yesterday...
4341 * testsuite/27_io/ostream_inserter_arith.cc (testcases): Fix for
4344 2000-03-07 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4346 * bits/cpp_type_traits.h: Expand on this file purpose.
4348 2000-03-06 Benjamin Kosnik <bkoz@gnu.org>
4350 * bits/locale_facets.h (ctype<char>): Remove static members, and
4351 re-work initialization code.
4352 (ctype<wchar_t>): Same.
4353 Move _S_touppper to _M_toupper and initialize in ctor.
4354 Move _S_tolower to _M_tolower and initialize in ctor.
4355 Move _S_table to _M_ctable and intialize in ctor.
4356 * bits/locale_facets.h (std): And here.
4357 * src/locale.cc (std): Tweak.
4358 * config/gnu-linux/ctype.cc: Change initialization here.
4359 * config/newlib/ctype.cc: And here.
4360 * config/solaris/solaris2.7/ctype.cc: And here.
4361 * config/solaris/solaris2.6/ctype.cc: And here.
4363 * bits/localefwd.h: Tweak.
4364 * bits/std_streambuf.h: Tweak formatting.
4366 * testsuite/27_io/filebuf.cc: Remove BUFSIZ dependancies.
4368 2000-03-05 Chip Salzenberg <chip@valinux.com>
4370 * src/misc-inst.cc (basic_iostream<>): Instantiate.
4372 2000-03-02 Phil Edwards <pme@sourceware.cygnus.com>
4373 Kevin Atkinson <kevinatk@home.com>
4375 Initial grab of SGI's strstream implementation with minor
4377 * src/strstream.cc: New file.
4378 * std/strstream: New file.
4379 * stl/bits/std_strstream.h: New file.
4380 * bits/std_streambuf.h: Add public access.
4381 * src/Makefile.am: Add strstream sources to list of dependancies.
4382 * src/Makefile.in: Regenerate.
4384 2000-03-03 2000 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4386 * bits/valarray_meta.h: Fix typo.
4388 2000-03-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4389 Chip Salzenberg <chip@valinux.com>
4390 Petter Urkedal <petter@matfys.lth.se>
4392 * src/Makefile.am (myinstallheaders): Hack to avoid
4394 * src/Makefile.in: Regenerate.
4396 2000-03-02 Chip Salzenberg <chip@valinux.com>
4398 * libio/Makefile.an, math/Makefile.an, src/Makefile.am
4399 (LINK): Put quotes around "$(CC)" for libtool link mode,
4400 so libtool will use "-B" options during GCC bootstrap.
4401 * */Makefile.in: Regenerate.
4403 2000-03-02 Petter Urkedal <petter@matfys.lth.se>
4405 * config/c_io_libio.h: Enclose it all in ::std.
4406 * bits/basic_string.h (basic_string<>): Make types and
4408 * mkc++config: Truncate output file before writing.
4410 2000-03-01 Benjamin Kosnik <bkoz@gnu.org>
4412 * math/cabsf.c (__mycabsf): Rename to cabsf.
4413 * math/cabs.c (__mycabs): Rename to cabs.
4415 2000-02-29 LLeweLLyn Reese <llewelly@198.dsl.xmission.com>
4417 * bits/basic_string.h: Move declarations of __out_of_range(),
4418 __length_error() and accompanying macros ...
4419 * bits/exception_support.h: here. (Newly created file).
4420 * bits/basic_string.h: #include <bits/exception_support.h>
4421 * stl/bits/stl_vector.h: #include <bits/exception_support.h>
4422 * src/Makefile.am (headers): Add.
4423 * src/Makefile.in: Regenerate.
4425 2000-02-29 Benjamin Kosnik <bkoz@cygnus.com>
4427 * bits/cpp_type_traits.h: Rename structs so they don't clash with
4429 * bits/valarray_array.h: Synch. Fix typos.
4431 * libio/Makefile.am: Change to only compile source files that
4432 config/c_io_libio.cc actually needs.
4433 * libio/Makefile.in: Regnerate.
4434 * libio/PlotFile.hes SFile.h builtinbuf.h editbuf.h floatconv.c
4435 floatio.h fstream.h indstream.h iofclose.c iofdopen.c iofeof.c
4436 ioferror.c iofflush.c iofgetpos.c iofgets.c iofopen.c iofprintf.c
4437 iofputs.c iofread.c iofscanf.c iofsetpos.c ioftell.c iofwrite.c
4438 iogetc.c iogetdelim.c iogetline.c iogets.c ioignore.c iomanip.h
4439 iopadn.c ioperror.c iopopen.c ioprims.c ioprintf.c ioputc.c
4440 ioputs.c ioscanf.c ioseekoff.c ioseekpos.c iosetbuffer.c
4441 iosetvbuf.c iosprintf.c iosscanf.c iostream.h iostrerror.c
4442 ioungetc.c iovfprintf.c iovfscanf.c iovsprintf.c iovsscanf.c
4443 istream.h list.out ostream.h outfloat.c parsestream.h peekc.c
4444 pfstream.h procbuf.h stdiostream.h stream.h streambuf.h strfile.h
4445 strops.c strstream.h: Delete.
4447 * bits/basic_file.h: Stub out or delete unused bits in this
4449 (filepos_beg): Remove.
4450 (filepos_cur): Remove.
4451 (filepos_valid): Remove.
4452 * config/c_io_libio.cc: Resynch with the changes to basic_file.
4454 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4456 * bits/cpp_type_traits.h: Correct typo.
4458 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4460 * bits/cpp_type_traits.h: New file.
4462 * bits/valarray_array.h: Tweak. #include <bits/cpp_type_traits.h>
4463 Improve array construction.
4464 (_Array_default_ctor): New dispatcher class.
4465 (__valarray_default_construct): New function.
4466 (_Array_copy_ctor): New dispatcher class.
4467 (__valarray_copy_construct): New function.
4468 (_Array<>::free_data): Remove.
4470 * src/Makefile.am (headers): Add cpp_type_traits.h
4471 * src/Makefile.in: Regenerate.
4473 2000-02-28 Benjamin Kosnik <bkoz@cygnus.com>
4475 Prune libio directory to match files in libio/Makefile.
4476 * libio/PlotFile.cc,indstream.cc, isgetsb.cc, sbform.cc,
4477 stream.cc, SFile.cc, ioassign.cc, isscan.cc, sbgetline.cc,
4478 streambuf.cc, builtinbuf.cc, ioextend.cc, osform.cc, sbscan.cc,
4479 strstream.cc, editbuf.cc, iomanip.cc, parsestream.cc,
4480 stdiostream.cc, filebuf.cc, iostream.cc, pfstream.cc,
4481 stdstrbufs.cc, fstream.cc, isgetline.cc, procbuf.cc,
4482 stdstreams.cc: Remove.
4483 * libio/floatio.h, iolibio.h, iostdio.h, iostreamP.h: Remove.
4484 * libio/iofflush_u.c: Remove.
4486 * libio/dbz: Remove.
4487 * libio/include: Remove.
4488 * libio/stdio: Remove.
4489 * libio/tests: Remove.
4490 * libio/testsuite: Remove.
4492 * config/c_io_libio.cc: Add fcntl.h include for Solaris.
4494 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add bits.
4495 * configure.in: Replace 'grep -e' with 'grep' for Solaris.
4496 * configure: Regenerate.
4498 2000-02-25 Benjamin Kosnik <bkoz@gnu.org>
4500 Abstract out the underlying "C" io bits.
4501 * bits/std_new.h: Remove <stl_config> include, as well as <cstddef>.
4502 * stl/bits/stl_string_fwd.h: Remove <stddef> include.
4503 * bits/std_cwchar.h: Wrap with _GLIBCPP_USE_WCHAR_T guards. Don't
4505 * stl/bits/stl_config.h: Don't include _G_config.h.
4507 * bits/basic_file.h: Allow for non-inheritance based __basic_files.
4508 * config/c_io_libio.h (_GLIBCPP_BASIC_FILE_INHERITANCE): Define.
4509 * config/c_io_libio.cc: Tweak.
4511 * src/Makefile.am (TOPLEVEL_INCLUDES): Add includedir.
4512 * src/Makefile.in: Regenerate.
4513 * Makefile.am (AM_MAKEFLAGS): Define includedir so that
4514 prefix/include files will be picked up.
4515 * Makefile.in: Regenerate.
4516 * math/Makefile.am (TOPLEVEL_INCLUDES): And here.
4517 * libio/Makefile.am (TOPLEVEL_INCLUDES): And here.
4519 * bits/std_ios.h: Include <bits/c++io.h> instead of libio.
4520 * bits/fpos.h: And here.
4521 * bits/basic_file.h (get_fileno): Move definition from ...
4522 * src/basic_file.cc (std): To here.
4523 * bits/fpos.h: Move types for streamoff, streampos to..
4524 * bits/basic_file.h: Move __c_file_type and fpos typedefs to...
4525 * config/c_io_libio.h: ...here.
4526 (_GLIBCPP_[BOOLALPHA, HEX, DEC, FIXED, INTERNAL, LEFT, OCT, RIGHT,
4527 SCIENTIFIC, SHOWBASE, SHOWPOINT, SHOWPOS, SKIPWS, UNITBUF,
4528 UPPERCASE, ADJUSTFIELD, BASEFIELD, FLOATFIELD, BADBIT, EOFBIT,
4529 FAILBIT, GOODBIT, APP, ATE, BINARY, IN, OUT, TRUNC): New macros to
4530 abstract out bits in ios_base.
4531 * bits/ios_base.h: Re-macrofy.
4532 * src/basic_file.cc : Rename, move to
4533 * config/c_io_libio.cc: Here.
4534 * config/c_io_libio.h: New file. Include libio.
4535 * bits/c++config.h: Don't define _GLIBCPP_USE_LIBIO.
4536 * configure.in (blddir): Add enabling bits for GLIBCPP_ENABLE_CSTDIO.
4537 * configure: Regenerate.
4538 * src/Makefile.am (sources): Take out basic_file.cc and add c++io.cc.
4539 (generated_headers): Add c++io.h
4540 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New function to select
4541 underlying "C" io library.
4542 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Roll functionality into
4543 GLIBCPP_ENABLE_CSTDIO.
4545 * configure.in: Add configure bits for cross compiling non-newlib
4547 GLIBCPP_CHECK_COMPILER_VERSION: Take out this test for this
4548 target, as we assume g++ support is not the limiting factor.
4549 GLIBCPP_CHECK_LIBIO: Same, know we don't need libio.
4550 * configure: Regenerate.
4552 2000-02-22 Benjamin Kosnik <bkoz@cygnus.com>
4554 * Makefile.am (INTERFACE): Define.
4555 * Makefile.in: Regenerate.
4556 * libio/ChangeLog: Add entry.
4558 2000-02-21 Benjamin Kosnik <bkoz@cygnus.com>
4560 * docs/install.html: Update install directions.
4562 * docs/status.html: Fix sidebar to be consistent.
4563 * docs/thanks.html: Same.
4564 * docs/links.html: Same.
4565 * docs/mail.html: Same.
4566 * docs/download.html: Same.
4568 * testsuite/27_io/filebuf.cc: Change BUFSIZ to buffer_size, and
4569 kill the macro BUFSIZ. I think the solaris fails lie elsewhere
4570 however, in the ctype_char_members.cc fail (for instance.)
4571 * testsuite/17_intro/headers.cc: Remove extraneous fails for hosts
4572 that do not have wchar_t enabled.
4573 * testsuite/27_io/ostream_inserter_arith.cc (struct _TestCase):
4575 * testsuite/27_io/iostream_objects.cc: And here.
4577 * libio/gen-params (CONFIG_NM): Specifically add in nm as the
4580 2000-02-18 Benjamin Kosnik <bkoz@haight.constant.com>
4581 Tom Tromey <tromey@cygnus.com>
4583 * configure.in: Manually add MULTISUBDIR.
4584 * configure: Regenerate.
4585 * src/Makefile.am (MULTISUBDIR): Add the lesser evil of Tom's two
4586 "Eww" hacks to get multilib installs working correctly.
4587 ($(headers): Test for MULTISUBDIR before installing.
4588 * Makefile.am (AM_MAKEFLAGS): Don't define MULTISUBDIR, instead
4589 have configure hack it in.
4590 * Makefile.in: Regenerate.
4591 * acinclude.m4 (GLIBCPP_CXXFLAGS): Tweak wording.
4592 Add enabling bits for native Cygwin ctypes, and other newlib-based
4595 2000-02-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4597 * mkc++config (OUT_H): Remove EOF in cygwin.
4598 * acinclude.m4 (LIBS): Tweaks to allow cygwin to configure.
4600 Tom Tromey <tromey@cygnus.com>
4601 * src/Makefile.am: Tweaks for installing multilibs.
4603 2000-02-17 Benjamin Kosnik <bkoz@cygnus.com>
4606 (toolexeclib_LTLIBRARIES): Use this instead of lib_LTLIBRARIES.
4607 Add USE_LIBDIR bits here, not...
4608 * src/Makefile.in: Regenerate.
4609 * Makefile.am: ...here.
4610 * Makefile.in: Regenerate.
4612 2000-02-17 Benjamin Kosnik <bkoz@gnu.org>
4614 * acinclude.m4 (LIBS): Fix typos.
4615 * configure.in: _GLIBCPP_BUGGY_FLOAT_COMPLEX,
4616 _GLIBCPP_BUGGY_COMPLEX for crosses.
4617 * src/Makefile.am (std_headers): Add libio.h as install include,
4619 * src/Makefile.in: Regenerate.
4621 * mkcheck.in: Add bits to set CXX to cross compiler.
4623 * src/complex_io.cc: Tweak.
4624 * configure.in: _GLIBCPP_BUGGY_COMPLEX for crosses.
4625 * configure: Regenerate.
4627 * config/newlib/ctype.cc: Tweaks.
4628 * config/newlib/bits/ctype_base.h (ctype_base): Set mask to char,
4630 * src/complex_io.cc (operator>>(istream, complex): Define out if
4633 2000-02-16 Benjamin Kosnik <bkoz@cygnus.com>
4635 * config/newlib/bits/ctype_base.h: Correct _S_table.
4637 Reconfigure ctype support for "C" libraries that don't use arrays.
4638 * testsuite/22_locale/ctype_char_members.cc: New file. Test for
4639 basic ctype<char> functionality.
4640 * src/locale.cc: Move host-specific ctype functions that are not
4641 inlines to config/*/ctype.cc files.
4642 (ctype<char>::do_tolower): For instance.
4643 (ctype<char>::do_toupper): For instance.
4644 (ctype<wchar_t>::do_tolower): For instance.
4645 (ctype<wchar_t>::do_toupper): For instance.
4646 * config/gnu-linux/ctype.cc: Modify.
4647 * config/default/ctype.cc: Modify.
4648 * config/newlib/ctype.cc: Modify.
4649 * config/solaris/solaris2.6/ctype.cc: Modify.
4650 * config/solaris/solaris2.7/ctype.cc: Modify.
4652 * bits/locale_facets.h (ctype<char>::is): Mark inline, move
4654 (ctype<char>::scan_is): Here too.
4655 (ctype<char>::scan_not): Here too.
4656 Move out of line defs to config/*/bits/ctype_specializations.h.
4657 * config/gnu-linux/bits/ctype_specializations.h: ...here. New file.
4658 * config/default/bits/ctype_specializations.h: ...here. New file.
4659 * config/newlib/bits/ctype_specializations.h: ...here. New file.
4660 * config/solaris/solaris2.6/bits/ctype_specializations.h: New file.
4661 * config/solaris/solaris2.7/bits/ctype_specializations.h: New file.
4662 * src/Makefile.am (headers): Add ctype_specializations.h.
4663 * src/Makefile.in: Regenerate.
4665 Aaron Weiss <weiss@clearway.com>
4666 * Makefile.am (AM_MAKEFLAGS): Add NM_FOR_BUILD, NM_FOR_TARGET, and
4667 CONFIG_NM for Solaris builds.
4668 * Makefile.in: Regenerate.
4670 * src/locale.cc: Tweak formatting.
4672 2000-02-15 Benjamin Kosnik <bkoz@cygnus.com>
4674 Jim Parsons <parsons@clearway.com>
4675 * testsuite/27_io/istream_unformatted.cc (test06): Add test.
4676 * bits/istream.tcc (read): Set failbit if !good(). Don't increment
4680 Michel Decima <michel.decima@cnet.francetelecom.fr>
4681 * testsuite/27_io/streambuf.cc: Add test.
4682 * bits/streambuf.tcc (xsgetn): Don't test for valid mode.
4685 * src/Makefile.am (AM_CXXFLAGS): Pass down AC_CXXFLAGS,
4686 OPTIMIZE_CXXFLAGS, etc. So --enable-debug and --enable-namespaces
4687 will work correctly, for instance.
4688 * src/Makefile.in: Regenerate.
4690 * bits/locale_facets.h: Fix merge error.
4691 (num_put::put(unsigned long long): And here.
4692 * mknumeric_limits (trait_name): Same.
4694 2000-02-15 Chip Salzenberg <chip@valinux.com>
4696 Support 'configure --enable-long-long'.
4697 * bits/c++config.h (_GLIBCPP_USE_LONG_LONG): Remove.
4698 * stl/bits/stl_config.h (__STL_LONG_LONG): Remove '#if 0'.
4699 * acconfig.h (_GLIBCPP_USE_LONG_LONG): Add. Default to undef.
4700 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Define flag macro.
4701 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Use it.
4703 * aclocal.m4: Regenerate.
4704 * config.h.in: Regenerate.
4705 * configure: Regenerate.
4707 2000-02-15 Chip Salzenberg <chip@valinux.com>
4709 Improve (complete?) 'long long' support.
4710 * mknumeric_limits: Call $CXX with $CPPFLAGS. Define statics
4711 for {,unsigned} long long if the limits header declares them.
4712 * src/gen-num-limits.cc: Include <bits/c++config.h> early.
4713 (__USE_GNU, _GNU_SOURCE): Define if _GLIBC_USE_LONG_LONG.
4714 (long long, unsigned long long): Gen limits if _GLIBC_USE_LONG_LONG.
4715 * bits/locale_facets.h (num_get<>::get(..., long long &)): Define.
4716 (num_put<>::put(..., long long)): Likewise.
4717 (num_put<>::put(..., unsigned long long)): Likewise.
4718 * bits/locale_facets.tcc (_S_format): Rename from _S_format_long.
4719 Templatize last parameter to support 'long long'.
4720 (num_put<>::put(...)): Call _S_format with new name.
4721 (num_put<>::put(..., long long)): Define.
4722 (num_put<>::put(..., unsigned long long)): Likewise.
4723 * src/locale-inst.cc (_S_format): Instantiate under new name.
4725 2000-02-15 Petter Urkedal <petter@matfys.lth.se>
4727 * src/complex.cc (operator<<, operator>>): Moved from here...
4728 * src/complex_io.cc: ...to new file.
4729 (operator>>): Stub replaced by the real thing.
4730 * src/Makefile.am (sources): Inserted complex_io.cc.
4731 * src/Makefile.in: Regenerate.
4732 * testsuite/26_numerics/complex_inserters_extractors.cc: Check it.
4734 2000-02-14 Benjamin Kosnik <bkoz@gnu.org>
4736 Add in ctype information for newlib "C" libraries.
4737 * config/newlib: New directory
4738 * config/newlib/bits/ctype_base.h: New file.
4739 * config/newlib/ctype.cc: New file.
4741 * ctype/config/linux/*: Rename, move to...
4742 * ctype/config/gnu-linux/*: Here.
4744 Finish off multilib work.
4745 * configure.in: Don't set CXX if not Canadian cross.
4746 * configure: Regenerate.
4747 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Tweak messages.
4748 * aclocal.m4: Regenerate.
4749 * config.h.in: Regenerate.
4751 * install-sh: Remove, as AC_CONFIG_AUX_DIR(..) picks this out of
4752 the top-level gcc directory now.
4753 * mkinstalldirs: Remove.
4756 * ltmain.sh: Remove.
4757 * config.guess: Remove.
4758 * config.sub: Remove.
4760 2000-02-13 Benjamin Kosnik <bkoz@cygnus.com>
4762 * configure.in (glibcpp_basedir): Add glibcpp_basedir.
4763 * Makefile.am: Move mutlilib stuff to src/Makefile.am.
4764 * Makefile.in: Regenerate.
4765 * src/Makefile.am: Add multilib bits.
4766 * src/Makefile.in: Regenerate.
4768 2000-02-12 Benjamin Kosnik <bkoz@cygnus.com>
4770 * configure.in: Clean, add some multilib support.
4771 * configure: Regenerate.
4772 * configure.host: New file.
4774 * acinclude.m4: GLIBCPP_CHECK_LIBIO. Take bits from configure.in and
4775 roll a new function, checks for presence of libio.
4776 GLIBCPP_CHECK_COMPILER_VERSION: Same.
4777 GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT: Same.
4778 GLIBCPP_CHECK_MATH_SUPPORT: Same.
4779 GLIBCPP_CHECK_WCHAR_T_SUPPORT: Same.
4780 GLIBCPP_CHECK_LIBIO: Same.
4781 GLIBCPP_CHECK_CTYPE: Same.
4782 * aclocal.m4: Regenerate.
4783 * config.h.in: Regenerate.
4785 * Makefile.am: Tweaks.
4786 * Makefile.in: Regenerate.
4788 2000-02-11 Benjamin Kosnik <bkoz@cygnus.com>
4790 * configure.in: Make outputing the libio/Makefile
4791 conditional. Haha, yeah right. Anyway, we instead do this thing
4792 where if libio is found, then we build a null library, as there is
4793 no point in duplicating the found libio.
4794 * Makefile.am: Tweak.
4795 * Makefile: Regenerate.
4796 * libio/Makefile.am: Add _G_config.h stuff. Now cross compilers
4797 are happy happy happy.
4798 * libio/Makefile.am: Regenerate.
4799 * libio/gen-params: New file.
4800 * src/Makefile.am: Make libio.la non-conditional, as it is now a
4801 null library if it's not needed. At least we are being consistent,
4802 if not as elegant as we could be.
4803 * src/Makefile: Regenerate.
4805 2000-02-10 Benjamin Kosnik <bkoz@gnu.org>
4807 * Makefile.am (SUBDIRS): Add libio again.
4808 * Makefile.in: Regenerate.
4809 * configure.in (BUILD_LIBIO_INCLUDE): And here.
4810 (AC_OUTPUT): Generate libio/Makefile again.
4811 * configure: Regnerate.
4812 * src/Makefile.am (libstdc___la_LIBADD): Change path so that
4813 libio.la is referring back to the libio subdir again.
4814 (LIBIO_INCLUDES): And here.
4815 * src/Makefile.in: Regenerate.
4817 2000-02-09 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4819 * math/complex-stub.h: Missed one. Change __mycabs* to cabs*.
4821 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4823 * bits/valarray_array.h (<bits/std_new.h>): #include.
4824 (__valarray_get_memory): New function.
4825 (__valarray_release_memory): Likewise.
4826 (__valarray_default_construct): New functions.
4827 (__valarray_fill_construct): New function.
4828 (__valarray_copy_construct): New funstions.
4829 (__valarray_destroy_elements): New function.
4831 * bits/valarray_array.tcc (__valarray_copy_construct): New
4834 * bits/std_valarray.h (valarray<>::valarray): Use
4835 __valarray_get_memory and __valarray_fill_construct,
4836 __valarray_copy_construct, __valarray_default_construct to
4837 properly construct valarrays.
4838 (valarray<>::~valarray): Use __valarray_destroy_elements to
4839 destroy elements and __valarray_release_memory to return memory.
4840 (valarray<>::shift): Tweak.
4841 (valarray<>::cshift): Likewise.
4842 (valarray<>::resize): Robustify.
4844 2000-02-09 Benjamin Kosnik <bkoz@cygnus.com>
4846 * mknumeric_limits (XCOMPILE): Add support for cross compiling.
4847 * bits/limits_generic.h: New file, defaults.
4848 * src/limits_generic.cc: New file, defaults.
4849 * configure.in (LIBS): Run mknumeric_limits at configure time.
4850 * acconfig.h: Remove PACKAGE VERSION HAVE_COMPLEX
4851 HAVE_LC_MESSAGES, tidy, clean, etc.
4852 * src/Makefile.am (geberated_sources): Remove.
4854 * bits/fpos.h: Use _GLIBCPP_USE_LIBIO guards for libio typenames
4855 (_IO_off_t, _IO_ssize_t)
4857 * src/complex.cc: Use glibc's <complex.h> if
4858 possible. . . apparently this was not being done before. Include
4860 (abs): Enable cabs if it's around, instead of mycabs.
4861 * src/complexf.cc (FCT): Add global scope to match complex.cc.
4862 * src/complexl.cc (FCT): Same.
4863 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Change mycabsl to cabsl.
4864 (libmath_la_SOURCES): And here.
4865 * math/(mycabs.c, mycabsf.c, mycabsl.c): Move to. . .
4866 * math/(cabs.c, cabsf.c, cabsl.c): . . . Here.
4867 * math/complex-stub.h: Move c_log declarations into. . .
4868 * math/mathconf.h: Here. This is because glibc's <complex.h>
4869 declares cclog, not c_log. The case of the dueling standards. . .
4870 * math/mathconf.h: Add _GLIBCPP_HAVE_* to macros.
4871 * math/Makefile.am: Change.
4872 * math/nan.c (nan): Change signature.
4873 * math/mathconf.h (NAN): Same.
4874 * math/complex-stub.h (nan): And here.
4876 * Makefile.am (rebuild-stamp): Remove libio and libio
4877 dependancies. Plan to take out libio subdir and just merge with
4878 libio in top level gcc directory. Of course, this assumes there is
4879 a libio in the top level directory (ie ../src_dir). This will
4880 probably change the way this library is configured by default.
4883 2000-02-09 Chip Salzenberg <chip@valinux.com>
4885 * localefwd.h (locale): Make public: facet, id, category.
4887 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4889 * testsuite/26_numerics/buggy_complex.cc: Fix Origin:.
4891 * acinclude.m4: Patch only once!
4893 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4895 * testsuite/26_numerics/buggy_complex.cc: New file.
4897 2000-02-05 Petter Urkedal <petter@matfys.lth.se>
4899 * acinclude.m4: New GLIBCPP_CHECK_COMPLEX_SUPPORT macro. Based
4900 on the 1999-11-21 entries by Mumit Khan.
4901 * configure.in: Use.
4902 * acconfig.h: New _GLIBCPP_BUGGY_COMPLEX macro.
4903 * bits/std_complex.h: Use.
4905 2000-02-04 Philip Martin <pm@corris.dircon.co.uk>
4907 * stl/bits/stl_algobase.h: Add traits based dispatch for
4908 __normal_iterator in the copy_backward()algorithm
4909 * stl/bits/stl_vector.h: Reduce use of __normal_iterator
4912 2000-02-04 Mumit Khan <khan@xraylith.wisc.edu>
4914 * src/gen-num-limits.cc (signal_handler): Work around signal
4915 handling problem on Cygwin.
4916 Thanks to Chris Faylor <cgf@cygnus.com>.
4918 2000-02-03 Benjamin Kosnik <bkoz@cygnus.com>
4920 * configure.in: Add (preliminary) support for cross compiles and
4922 Remove AC_C_BIGENDIAN tests. Why is this necessary? Cross
4923 compilation freaks on this.
4924 * configure: Regenerate.
4925 * src/Makefile.am: Add support for cross compiles.
4926 * src/Makefile: Regenerate.
4927 * Makefile.am: Add support for cross compiles.
4928 * Makefile.in: Regenerate.
4930 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
4932 * configure.in (LIBS): Remove unused subdirs.
4933 * configure: Regenerate.
4934 * Makefile.am (SUBDIRS): And here.
4935 * Makefile.in: Regenerate.
4936 * src/Makefile.am (sources): And here.
4937 * src/Makefile.in: Regenerate.
4940 * generic/*: Remove.
4942 * mkcheck.in (INC_PATH): Include $BUILD_DIR before any source dirs.
4944 * libtool: Update to libtool-1.3.4.
4948 * config.guess: Same.
4950 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
4951 Alexandre Petit-Bianco <apbianco@cygnus.com>
4953 * mkc++config: New file. Put autoconf macros into _GLIBCPP_
4954 namespace instead of polluting global namespace with duplicate
4956 * configure.in (AC_OUTPUT): Don't need to generate bits/config.h
4958 (AC_OUTPUT_COMMANDS): Make it here.
4959 * configure: Regenerate.
4960 * bits/c++config.h.in (_CPP_CPPCONFIG): Change. Tweak. Remove
4961 endif, as now we will add it manually.
4962 Move to this file. . .
4963 * bits/c++config.h: New file. Same as old c++config.h.in except
4964 the ending macro guard is now appended manually.
4966 * bits/locale_facets.tcc: Change HAVE_* macros to _GLIBCPP_HAVE_*.
4967 * bits/std_cmath.h: Same here.
4968 * bits/std_cwchar.h: And here.
4969 * src/locale.cc: And here.
4970 * src/complexl.cc: And here.
4971 * math/mathconf.h: Change to include "config.h" instead of
4974 2000-02-01 Benjamin Kosnik <bkoz@gnu.org>
4976 * configure.in: Add support for threads. Try a model closer to
4977 libjava, as hopefully if the thread bits are added carefully
4978 enough, the source code will not have gross hacks. Besides, the
4979 libstdc++-v2 model could be easily emulated without the necessity
4980 of linking files in (as currently done)--all that needs to be done
4981 is AC_DEFINE(-D_PTHREADS) etc. However, let's try something
4982 new. . . and see if we arrive at a more elegant solution.
4983 * configure: Regenerated.
4984 * config/threads-no.h: New file.
4985 * config/threads-posix.h: New file.
4986 * src/Makefile.am (myinstallheaders): Install c++threads.h.
4987 * src/Makefile.in: Regenerated.
4989 2000-01-31 Benjamin Kosnik <bkoz@gnu.org>
4991 META-QUESTION: Can we just make a "header.html" file and a
4992 "footer.html" and just include them in all the doc sub-pages. The
4993 duplication of the header info is kind of gross, and weak
4994 considering that if you change order or layout then all this stuff
4995 has to be changed in all the sub-files.
4997 * docs/17_intro/contribute.html: Take out duplicate file info.
4998 * README: Should just contain a link to the docs/index.html
4999 page. Duplicate information removed.
5000 * docs/faq/index.html: Remove indexes into HOWTOS.
5001 * docs/17_intro/howto.html: Make intro and docs part more
5002 centralized. Move intro stuff to documentation.html.
5003 * docs/how.html: Tweak. Does this file need to exist? What calls it?
5004 * docs/README.html: Move documentation files to
5005 documentation.html. Should this file be renamed
5006 "config_and_install.html" as that is what is apparently covered
5008 * docs/install.html: Yes. New file, moved and renamed README.html.
5009 * docs/documentation.html: New file. This is the index file for
5011 * docs/index.html: Edit sidebar order. Insert new link to new
5012 documentation spine, documentation.html.
5014 2000-01-31 Scott Snyder <snyder@fnal.gov>
5016 * bits/istream.tcc (operator>>(istream&, string&)): Set failbit if
5017 we don't extract any characters.
5018 * testsuite/21_strings/inserters_extractors.cc (main): New tests.
5020 2000-01-31 Anders Widell <awl@hem.passagen.se>
5022 * stl/bits/std_bitset.h (_M_do_left_shift): Handle case when shift
5023 step is a multiple of the word size.
5024 (_M_do_right_shift): Same.
5025 * testsuite/23_containers/bitset_shift.cc: New file.
5027 2000-01-31 Nathan Myers <ncm@zembu.com>
5029 * README (Documentation): Add path info, fix typos.
5031 2000-01-26 Benjamin Kosnik <bkoz@redhat.com>
5033 * bits/locale_facets.tcc (num_get::_M_extract): Add the freaking
5034 crazy group checking for numpunct, for real this time. At some
5035 point, the local variable __grp should probably get replaced a
5036 char array, or something a bit more lightweight.
5037 (num_get::do_get(bool)): Simplify. Don't set bool reference to
5038 parsed value unless err isn't failbit.
5039 (num_get::do_get(*)): Same, make consistent.
5041 Nathan Myers <ncm@zembu.com>
5042 Jim Parsons <parsons@clearway.com>
5043 * testsuite/27_io/istream_extractor_arith.cc (test08): Add
5044 more grouping tests, tweak, scold, wine.
5046 2000-01-24 Benjamin Kosnik <bkoz@gnu.org>
5048 * testsuite/27_io/istream_extractor_arith.cc (test07): Add
5050 * bits/locale_facets.tcc (num_get::_M_extract): Change to fix
5051 grouping bugs. Only allow thousands_sep if _M_use_groupings is
5054 via <llewelly@198.dsl.xmission.com>
5055 * stl/bits/stl_vector.h (vector::_M_range_check): Throw
5056 out_of_range instead of range_error.
5058 2000-01-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5060 * bits/std_iomanip.h (setw): Fix typo.
5062 2000-01-14 Benjamin Kosnik <bkoz@gnu.org>
5064 * testsuite/27_io/istream_extractor_arith.cc: Fix.
5065 * bits/locale_facets.tcc (do_get(...void)): Change to strtoul.
5066 * testsuite/27_io/istream_unformatted.cc (test04): Tweak.
5068 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
5070 * docs/README.html: Reformat, more installation instructions.
5071 * docs/gccrebuild.html: New file.
5072 * docs/faq/index.html: Update for new testsuite output filenames.
5073 * docs/faq/index.txt: Regenerate.
5075 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
5077 * Makefile.am (rebuild-stamp, all-local): New targets.
5078 * Makefile.in: Regenerated.
5079 * acinclude.m4: New macro, GLIBCPP_ENABLE_RELIBGCC.
5080 * aclocal.m4: Regenerated.
5081 * configure.in: Call new macro. Also do some sanity checks
5082 for combinations of --enable's that may not make sense.
5083 * configure: Regenerated.
5085 2000-01-13 Benjamin Kosnik <bkoz@cygnus.com>
5087 * testsuite/27_io/istream_extractor_arith.cc: Add checks for void*.
5088 * bits/locale_facets.tcc (do_get::(...void)): Set fmtflags
5089 correctly for hex-formatted input.
5091 * testsuite/27_io/istream_manip.cc (test01): Fix, as per setting
5092 eofbit instead of eofbit | failbit.
5093 * testsuite/27_io/istream_unformatted.cc (test04): Fix, as
5094 ifstreams now are opened or'd with ios_base::in (as is correct).
5095 * bits/fstream.tcc (filebuf::seekoff): Simplify.
5096 * testsuite/27_io/ios_base_members_static.cc (test01): Fix thinko.
5098 2000-01-12 Benjamin Kosnik <bkoz@gnu.org>
5100 * bits/std_fstream.h: Add ios_base as a friend to basic_filebuf.
5101 * bits/basic_file.h (basic_file::filepos_cur): Remove incorrect
5103 (__basic_file::filepos_valid): Same.
5104 (__basic_file::filepos_beg): Same.
5105 (__baseic_file::get_fileno): New function.
5106 * bits/ios_base.h (ios_base::sync_with_stdio): Implement, including
5107 feedback from LWG 49.
5108 * src/ios.cc: Move definition here.
5109 * testsuite/27_io/ios_base_members_static.cc (test01): Add tests.
5111 * bits/std_sstream.h (_M_really_sync): Simplify argument list. Set
5112 output part of internal buffer based on string size, so that
5113 _M_out_end is set consistently with filebufs. Correct comments.
5114 * bits/sstream.tcc (stringbuf::overflow): Update here too.
5115 * testsuite/27_io/stringbuf.cc: Changes.
5117 2000-01-11 Benjamin Kosnik <bkoz@gnu.org>
5119 * bits/sstream.tcc (seekoff): Set based on end of written buffer,
5121 * testsuite/27_io/stringbuf.cc: Add tests for seekoff(end).
5123 * bits/std_fstream.h (ifstream::open): Add ios_base::in to openmode.
5124 (ofstream::open): Add ios_base::out to openmode.
5126 * bits/locale_facets.tcc (_M_extract): Have consistency between
5127 istream::sentry and extractors, where failbit | eofbit is
5128 set. Don't change this, but instead change. . (do some formatting
5130 * bits/istream.tcc (istream::sentry): Only set eofbit.
5132 2000-01-10 Benjamin Kosnik <bkoz@gnu.org>
5134 * testsuite/27_io/istringstream_members.cc: New file.
5136 2000-01-09 Benjamin Kosnik <bkoz@gnu.org>
5138 * bits/istream.tcc (istream::sentry): Flush.
5140 * configure.in (AC_OUTPUT_COMMANDS): Simplify.
5141 * configure: Regenerate.
5142 * src/Makefile.am (generated_headers): Remove bits/c++config.h so
5143 that make clean will not delete it.
5144 * src/Makefile: Regenerate.
5146 2000-01-07 Phil Edwards <pme@sourceware.cygnus.com>
5148 * mkcheck.in: Use host-specific invocation of size(1);
5149 GNU binutils isn't necessarily there (more's the pity).
5151 2000-01-06 Benjamin Kosnik <bkoz@cygnus.com>
5153 * configure.in (LIBS): Better tests for solaris2.6.
5154 * configure: Regenerate.
5156 <vakatov@ncbi.nlm.nih.gov>
5157 * bits/std_sstream.h: As per libstdc++20.
5159 2000-01-06 Benjamin Kosnik <bkoz@gnu.org>
5161 Break out configuration on solaris.
5162 * configure.in (ctype_solaris): Add in bits for solaris2.6 and 2.7.
5163 * config/solaris/ctype.cc: Delete and move to proper version.
5164 * config/solaris/bits: Same.
5165 * config/solaris/solaris2.5: Add this directory, with subdir bits
5166 and file ctype.cc. Probably doesn't work.
5167 * config/solaris/solaris2.6: Same.
5168 * config/solaris/solaris2.7: Same, as per specs via Phil Edwards.
5170 * Makefile.am: Change paths to mkcheck.
5171 * Makefile: Regenerate.
5172 * configure.in (AC_OUTPUT_COMMANDS): Build mkcheck here.
5173 * configure: Regenerate.
5174 * src/Makefile.am (generated_headers): Add bits/c++config.h.
5176 * mkcheck: Now autogenerated by configure and renamed. . .
5177 * mkcheck.in (INC_PATH): Add glue for ctype_include_dir.
5178 Have longer-style dates.
5179 Raja R Harinath <harinath@cs.umn.edu>
5180 * mkcheck: Change path to #!/usr/clocal/bin/bash.
5182 * docs/README.html: Correct links, maybe. FAQ, install notes, and
5183 general documentation need to be organized around each other, not
5184 fight against each other. . .
5186 2000-01-04 Phil Edwards <pme@sourceware.cygnus.com>
5187 Nicolai Josuttis <nicolai.josuttis@braunschweig.netsurf.de>
5189 * README: Add a note referring to README.html.
5190 * docs/README.html: New file from Nicolai.
5191 * docs/faq/index.html: Move "how to get a copy" to here.
5192 * docs/gentop/footchunk.html: Update.
5193 * docs/gentop/headchunk.html: New links according to
5194 bkoz's idea for "How to..." stuff.
5195 * docs/gentop/thanks: Actually put people here.
5196 * docs/download.html: Regenerated.
5197 * docs/index.html, docs/links.html, docs/mail.html,
5198 docs/status.html, docs/thanks.html, docs/faq/index.txt: Ditto.
5199 * docs/how.html: Ditto. (This file should go away soon.)
5201 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
5203 * docs/gentop/status: Add snapshot version column, update
5205 * docs/status.html: Regenerated.
5207 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
5209 * docs/faq/index.html: Turn README and RELEASE-NOTES into links
5210 from installation FAQ, and specify location of text files.
5211 * docs/faq/index.txt: Regenerated.
5213 1999-12-23 Phil Edwards <pme@sourceware.cygnus.com>
5215 * docs/gentop/download: Add links to prebuilds for Cygwin/Mingw32.
5216 * docs/download.html: Regenerated.
5218 1999-12-22 Phil Edwards <pme@sourceware.cygnus.com>
5220 * docs/faq/index.html: Update 'what works' for .7 snapshot,
5221 clean up various links.
5222 * docs/faq/index.txt: Regenerated.
5223 * docs/gentop/gentop: Smarter regeneration script.
5224 * docs/gentop/{head,foot}chunk.html: Updated with new
5225 contributors link and mod date.
5226 * docs/gentop/index: Snapshot relase date.
5227 * docs/gentop/thanks: New contributors page added.
5228 * docs/{download,how,index,links,mail,status,thanks}.html:
5229 Regenerated from gentop; thanks.html created.
5231 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5233 * bits/c++config.h.in (__GLIBCPP__): 19991221.
5234 * docs/index.html: Add correct information.
5236 * config/irix: New directory.
5237 * config/irix/ctype.cc: Add irix-6.5 info. Not tested.
5238 * config/irix/bits/ctype_base.h: And here.
5240 * config/aix: New directory.
5241 * config/aix/ctype.cc: Add aix-4.2 info. Not tested.
5242 * config/aix/bits/ctype_base.h: And here.
5244 1999-12-21 Philip Martin <pm@corris.dircon.co.uk>
5246 * bits/basic_string.h: Add special case handling for integral
5248 * bits/std_string.h: include type_traits.h
5249 * testsuite/21_strings/ctor_copy_dtor.cc: Tweak.
5251 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5253 * bits/fstream.tcc (seekoff): Output buffer based on _M_*_in and
5255 * bits/std_fstream.h (sync): And here.
5256 * testsuite/27_io/filebuf.cc: Revisions.
5257 * testsuite/27_io/filebuf-2.tst: Correct, remove weird character
5258 at the end of the file.
5259 * testsuite/27_io/filebuf-3.tst: Correct.
5261 1999-12-21 Phil Edwards <pedwards@jaj.com>
5263 * docs/gentop/index: Hold off on .7 announcement date.
5264 * docs/index.html: Regenerate.
5266 1999-12-21 Benjamin Kosnik <bkoz@kcygnus.com>
5268 * bits/std_fstream.h (sync): Move _M_file->sync() to
5269 _M_really_overflow().
5270 * bits/fstream.tcc (seekoff): Call sync, not _M_really_overflow so
5271 as to get the _M_file->sync action, which forces the external
5272 buffer to update itself.
5273 (underflow): Same here.
5275 1999-12-21 Phil Edwards <pedwards@jaj.com>
5277 * bits/c++config.h.in: Uncomment _GLIBCPP_USE_NAMESPACES and move...
5278 * acconfig.h: ...to here.
5279 * config.h.in: Regenerate from aclocal.
5280 * acinclude.m4: Add GLIBCPP_ENABLE_DEBUG, GLIBCPP_ENABLE_NAMESPACES.
5281 * aclocal.m4: Regenerate from acinclude.
5282 * configure.in: Use ENABLE macros here.
5283 * configure: Regenerate.
5284 * src/Makefile.am: Use results from ENABLE macros.
5285 * src/Makefile.in: Regenerate.
5287 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
5289 * mkcheck (SRC_DIR): Now have to include config/* dir if "make
5290 check" and not "make check-install." Temporarily hack in linux
5293 * bits/std_streambuf.h: Tweaks.
5294 * bits/streambuf.tcc (xsgetn): Tweaks.
5295 * bits/std_fstream.h (sync): Make _M_really_overflow consistent.
5296 * bits/fstream.tcc (filebuf::underflow): Simplify.
5297 * bits/std_sstream.h (streambuf::underflow): Minor change to make
5298 checks for read position precisely implement the standard.
5299 * bits/basic_file.h (filepos_cur): Base this on _offset.
5300 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
5301 * testsuite/27_io/filebuf.cc: Tweak.
5303 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
5305 * docs/17_intro/RELEASE-NOTES: Fix typos.
5307 * bits/locale_facets.h (ctype): Modify, use __to_type to abstract
5308 out platform-specific bits.
5309 * config/default/ctype.cc: And here.
5310 * config/defaults/bits/ctype_base.h: And here.
5311 * config/linux/ctype.cc: And here.
5312 * config/linux/bits/ctype_base.h (ctype_base): And here.
5313 * config/solaris/bits/ctype_base.h (ctype_base): Add
5314 __to_type. Comment, as it looks like this is for solaris2.6 and
5315 above: solaris2.5.1 doesn't seem to have the same definitions.
5316 * config/solaris/ctype.cc: And here.
5318 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
5319 Ulrich Drepper <drepper@cygnus.com>
5321 * acconfig.h: Remove _GLIBCPP_USE_CTYPE_ISBIT.
5323 * src/locale.cc: Take out platform-specific hacks.
5324 * config/linux/ctype.cc: Put here.
5325 * config/solaris/ctype.cc: Put here.
5326 * config/default/ctype.cc: Put here.
5328 * bits/locale_facets.h: Take out platform-specific hacks.
5329 * config/linux/bits/ctype_base.h: Put here.
5330 * config/solaris/bits/ctype_base.h: Put here.
5331 * config/default/bits/ctype_base.h: Put here.
5333 * configure.in: Bump version.
5334 Add tests for top-level config directory.
5335 * configure: Regenerated.
5336 * src/Makefile.am (INCLUDES): Add platform-specific dir.
5337 * src/Makefile: Regenerate.
5339 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
5340 Ulrich Drepper <drepper@cygnus.com>
5342 * bits/locale_facets.h: Hack in solaris support.
5343 * src/locale.cc: Here too.
5345 1999-12-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5347 * docs/17_intro/TODO: Update
5348 * docs/17_intro/RELEASE-NOTES (New): Update.
5350 1999-12-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
5352 * bits/c++config.h.in (__GLIBCPP__): Bump.
5353 * docs/17_intro/RELEASE-NOTES: Update, Gaby please add your stuff.
5354 * docs/17_intro/TODO: Update.
5356 * bits/locale_facets.h: Touch this too.
5357 * bits/localefwd.h: Add typedefs for loooooong vector names.
5358 * bits/locale_facets.tcc (locale::operator()): Need parens.
5359 (has_facet): Simplify.
5360 * src/locale-inst.cc: Add instantiations.
5361 * src/locale.cc: Tweaks.
5363 * bits/std_streambuf.h: Move indeterminates into. .
5364 * bits/std_fstream.h: Here.
5365 * bits/fstream.tcc (underflow): Rewind just for ios_base::out
5367 * bits/sstream.tcc: Very minor formatting tweaks.
5368 * bits/std_streambuf.h (_M_set_determinate): If exclusively an
5369 input buffer, set _M_buf to offset.
5370 * bits/istream.tcc (std): Tweaks.
5371 * testsuite/27_io/istream_unformatted.cc (test05): More tweaks,
5373 * testsuite/27_io/filebuf.cc: Tweaks.
5375 1999-12-17 Phil Edwards <pedwards@jaj.com>
5377 * configure.in: Add OPTLEVEL, -O2 for gcc 2.96+, nothing otherwise.
5378 * configure: Regenerate.
5379 * src/Makefile.am: Use OPTLEVEL in CXXFLAGS.
5380 * src/Makefile.in: Regenerate. Also picks up OTHER_CXXFLAGS rename
5381 to OPTIMIZE_CXXFLAGS from a previous revision (1.96) to Makefile.am.
5383 1999-12-17 Phil Edwards <pedwards@jaj.com>
5385 * docs/21_strings/stringtok_std_h.txt: New algorithm
5386 suggested by Chris King.
5387 * docs/21_strings/howto.html: Link to new version.
5389 1999-12-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5391 * bits/valarray_array.h (__valarray_sum): Use operator+=, not
5393 * docs/17_intro/TODO: Update.
5395 1999-12-15 Phil Edwards <pme@sourceware.cygnus.com>
5397 * docs/gentop/footchunk.html: Updated, fixed CRLFs.
5398 * docs/gentop/gentop: Ditto.
5399 * docs/gentop/headchunk.html: Ditto.
5400 * docs/*.html: Regenerated from gentop.
5401 * docs/*/howto.html: Updated as test.
5402 * docs/faq/index.html: Updated, fixed CRLFs.
5403 * docs/faq/index.txt: Regenerated.
5405 1999-12-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5407 * mknumeric_limits (OUT_C): restart only if $OUT_C is present.
5409 * bits/std_complex.h
5410 (complex<float>::complex(const complex<double>&),
5411 complex<float>::complex(const complex<long double>&)): Define.
5413 * docs/17_intro/TODO: Update.
5415 1999-12-13 Benjamin Kosnik <bkoz@cygnus.com>
5417 * bits/istream.tcc (seekg): Don't set _M_gcount.
5419 * bits/fstream.tcc (filebuf::underflow): Re-sync
5420 external byte sequence's input buffer only. . .
5421 * testsuite/27_io/istream_unformatted.cc (test04): New tests for
5422 tellg, seekg and filebufs.
5423 (test05): Same for stringbufs.
5424 * testsuite/27_io/istream_unformatted-2.tst: New file.
5425 * testsuite/27_io/istream_unformatted-1.tst: New file.
5426 * testsuite/27_io/istream_unformatted-1.txt: New file.
5427 * testsuite/21_strings/inserters_extractors.cc (test05): Change
5430 1999-12-13 Phil Edwards <pedwards@jaj.com>
5432 * docs/gentop/*: New directory, containing bits for the homepages.
5433 * docs/*.html: Regenerated from gentop.
5434 * docs/*/*.html: Entries added and regenerated.
5436 1999-12-13 Benjamin Kosnik <bkoz@gnu.org>
5438 Efforts to get -O2 to work with -Winline -Werrors.
5439 * bits/valarray_array.h (__valarray_fill(_Tp*, size_t, const
5440 _Tp&): Remove inline declaration, as cannot be inlined and
5441 -Winline -Werror complains. An interesting question is why this
5442 cannot be inlined, as I can see no real reason to disqualify it.
5443 (__valarray_product(const _Tp*, const _Tp*)): Same here.
5444 * bits/std_valarray.h (valarray::operator[](size_t)): Same here.
5446 * docs/17_intro/TODO: Update.
5448 1999-12-12 Benjamin Kosnik <bkoz@gnu.org>
5450 * bits/std_fstream.h (seekpos): Tweaks, fixes. Move definition to
5452 * bits/basic_file.h (filepos_cur()): Make pointers themselves be
5453 the resultant position.
5454 * bits/fstream.tcc (seekoff): Explicitly set return value to
5455 resultant external byte sequence position, not value returned from
5456 _M_file->seekoff. Need to make
5457 (seekpos): New definition.
5459 * bits/istream.tcc (seekg): As per Library Issues List 136, set to
5460 just istream. Necessary, or else tellg will give an invalid stream
5461 position, but seekg will return a valid stream position, which is
5462 not groovy: see testcase addition.
5463 * bits/ostream.tcc (seekp): Same.
5465 * bits/streambuf.tcc (_S_copy_streambufs): Simplify.
5466 * bits/sstream.tcc: Tweaks.
5467 * bits/locale_facets.tcc: Tweaks.
5468 (num_put::do_put(iter_type, ios_base, char_type, const void*)):
5469 Re-write in a way that is easier for the inliner to work with.
5470 * bits/ios_base.h: Use explicit static_cast<int>(...) notation.
5472 1999-12-10 Benjamin Kosnik <bkoz@cygnus.com>
5474 * bits/locale_facets.tcc: Tweaks.
5475 * bits/locale_facets.h (use_facet): Can't inline, remove inline
5477 * bits/localefwd.h: And here.
5478 * bits/std_ostream.h: Tweaks, sentry ctor can't be inlined.
5479 * bits/ostream.tcc: Put here.
5481 Frank Ch. Eigler <fche@cygnus.com>
5482 * src/Makefile.am: Adjust CXXFLAGS, add AM_CXXFLAGS.
5484 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
5486 * bits/sstream.tcc (stringbuf::seekoff): Long overdue revamp. Make
5487 in and out buffers update independantly.
5489 * bits/basic_ios.h: Minor formatting.
5490 * bits/fstream.tcc (std): Fix indentation.
5492 1999-12-08 Chip Salzenberg <chip@valinux.com>
5494 * bits/char_traits.h (char_traits<>): Move not_eof() functions
5495 after corresponding eof() functions, so they're easier for the
5497 * bits/locale_facets.h (money_base::__default_pattern): Move
5498 static variable out of inline functions.
5499 (_Moneypunct<>::do_{pos,neg}_format): Use it.
5500 * src/locale-inst.cc (money_base::__default_pattern): Define it.
5502 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
5504 * bits/std_fstream.h (filebuf::open): Tweak.
5505 * bits/fstream.tcc (filebuf::seekoff): Simplify, fix.
5506 * bits/std_ios.h: Minor tweaks for headers.
5508 1999-12-06 Benjamin Kosnik <bkoz@gnu.org>
5510 * bits/c++config.h.in (_GLIBCPP_FULLY_COMPLIANT_HEADERS): New macro.
5511 * src/string-inst.cc: Add guards . . .
5512 * src/misc-inst.cc: And here.
5513 * bits/std_sstream.h: And here.
5514 * bits/std_fstream.h: And here.
5515 * bits/std_streambuf.h: And here.
5516 * bits/std_istream.h: And here.
5517 * bits/std_ostream.h: And here.
5519 1999-12-06 Scott Snyder <snyder@fnal.gov>
5521 * bits/istream.tcc (basic_istream::read): Try to handle __n == 0
5523 (basic_istream::readsome): And here as well.
5524 * testsuite/27_io/istream_unformatted.cc: Test a zero-length
5527 1999-12-06 Mumit Khan <khan@xraylith.wisc.edu>
5529 * bits/istream.tcc (basic_istream::ignore): streamsize is not
5530 necessarily an `int'.
5532 1999-12-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5534 * mknumeric_limits: Don't use $CXXFLAGS when building
5535 gen-num-limits. It's definitely wrong to use it since $CXXFLAGS
5536 generally instructs the compiler not to emit template
5537 instantiations and we end up with undefined symbols. Sigh.
5539 1999-12-05 Benjamin Kosnik <bkoz@gnu.org>
5541 * bits/locale_facets.tcc: Tweak.
5542 (_S_format_long): Adjust showpos formatting for hex and oct.
5543 * bits/std_ostream.h (operator<<(short)): Correctly deal with hex
5544 and oct by formatting as unsigned.
5545 (operator<<(int)): Same here.
5546 * bits/ostream.tcc (operator<<(long)): Same.
5547 (operator<<(long long)): Same.
5548 (_S_pad_char): Actually treat ios_base::internal as something
5549 worth doing correctly. Remove const designation on ios argument.
5550 * testsuite/27_io/ios_manip_basefield.cc (test02): Add tests.
5551 * testsuite/27_io/ostream_inserter_arith.cc (test03): Add tests.
5553 1999-12-04 Benjamin Kosnik <bkoz@gnu.org>
5555 * bits/std_sstream.h (streambuf::underflow): Check for mode == in.
5557 1999-12-03 Benjamin Kosnik <bkoz@gnu.org>
5559 * bits/locale_facets.tcc (num_put::do_put(bool): Fix.
5561 * bits/sstream.tcc (streambuf::seekoff): Add parens.
5562 * bits/istream.tcc (istream::get(sb)): Handle exceptional events.
5563 (operator>>(istream, _CharT*)): Change streamsize to int_type.
5564 (operator>>(istream, _CharT&)): Fix typedef'd type to be _CharT.
5565 * bits/ostream.tcc (ostream::operator<<(const char*)): Stub out
5567 (ostream::operator<<(_CharT)): Fix.
5569 * bits/std_sstream.h: Temporarily disable including sstream.tcc to
5570 see if this will increase compile speed.
5571 * bits/std_ostream.h: Likewise. . .
5572 * bits/std_istream.h: And here.
5573 * bits/std_fstream.h: And here.
5574 * src/misc-inst.cc: Add relevant header file includes for
5575 instantiation purposes.
5576 * src/string-inst.cc: And here.
5577 * testsuite/27_io/ostream_inserter_arith.cc: Add test case.
5579 1999-12-02 Benjamin Kosnik <bkoz@gnu.org>
5581 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5582 * bits/istream.tcc (get(streambuf)): More fixes.
5583 (istream::ignore): Get specific about numeric_limits<int>::max()
5586 * bits/fstream.tcc (filebuf::open): Tweaks for _M_last_overflowed.
5587 (filebuf::close): Same.
5588 * testsuite/27_io/filebuf.cc: Add tests for ios_base::ate.
5590 1999-12-01 Phil Edwards <pedwards@jaj.com>
5592 * mkcheck: Support for compilation/execution timing.
5593 * testsuite/printnow.c: New file.
5595 1999-12-01 Phil Edwards <pedwards@jaj.com>
5597 * bits/std_cwchar.h: Test for _GLIBCPP_USE_WCHAR_T.
5598 * configure.in: Test for presence of wchar.h before testing
5599 for any of its features.
5600 * configure: Regenerate.
5602 1999-11-30 Benjamin Kosnik <bkoz@gnu.org>
5604 Preliminary istream validations complete.
5605 * bits/istream.tcc (istream::getline): Fixes. Tweaks to make
5606 formatting more consistent. Removal of if-statements inside of for
5611 * bits/std_istream.h: Same.
5612 * bits/sstream.tcc (stringbuf::pbackfail): Fix.
5613 * testsuite/27_io/stringbuf.cc: Tweak.
5614 * testsuite/27_io/istream_unformatted.cc (test02): Mo' tests.
5616 * bits/ostream.tcc (ostream::operator<<(arith)): Set badbit, not
5617 failbit on failure, as per 27.6.2.5.2.
5619 * stl/bits/std_vector.h: Allow bool specializations. Should move
5620 ext/std_bvector to bits, not ext, maybe.
5622 1999-11-30 Mumit Khan <khan@xraylith.wisc.edu>
5624 * configure.in: Fix checks for mbstate_t and WCHAR_MIN/MAX.
5625 * configure: Regenerate.
5627 999-11-29 Benjamin Kosnik <bkoz@gnu.org>
5629 * bits/istream.tcc (get(streambuf, char)): Fix.
5630 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5632 1999-11-29 Scott Snyder <snyder@fnal.gov>
5634 * bits/basic_string.h (append(const _Char*, size_type)): The
5635 length of the appended string is given exactly by the second arg,
5636 regardless of the data in the character array.
5637 * bits/string.tcc (basic_string(const _CharT*, size_type, const
5638 _Alloc&)): Likewise.
5639 * testsuite/21_strings/append.cc (test01): Remove erroneous test
5640 of basic_string::append.
5642 1999-11-29 Chip Salzenberg <chip@valinux.com>
5644 * Makefile.in: Tweaks for CXXFLAGS.
5645 * */Makefile.in: Same.
5647 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
5649 * conficd bgure.in: Check for wide character support.
5650 * bits/c++config.h.in (_GLIBC_USE_WCHAR_T): Move from here ...
5651 * acconfig.h (_GLIBC_USE_WCHAR_T): to here.
5652 * bits/string.tcc (wstring::_S_find): Guard wchar_t specialization.
5654 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
5656 * acinclude.m4: Fix typo.
5657 * src/complex.cc: Fix macro line continuation.
5659 1999-11-29 Petter Urkedal <petter@matfys.lth.se>
5661 * src/Makefile.am (CXXFLAGS): Add -Wno-format to allow non-
5662 string literals in format, as used in locale-facets.tcc.
5664 1999-11-28 Benjamin Kosnik <bkoz@gnu.org>
5666 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5667 * bits/istream.tcc (istream::get): Extract to argument minus one.
5668 Various tweaks and fixes.
5670 1999-11-22 Mumit Khan <khan@xraylith.wisc.edu>
5672 * bits/locale_facets.tcc: Workaround for compiler crash on
5675 1999-11-21 Mumit Khan <khan@xraylith.wisc.edu>
5677 * acinclude.m4: New file. New _GLIBCPP_CHECK_FLOAT_SUPPORT macro.
5678 * configure.in: Use.
5679 * acconfig.h: New _GLIBCPP_BUGGY_FLOAT_COMPLEX macro.
5680 * src/complexf.cc: New _GLIBCPP_FLOAT_SPECIALIZATION macro.
5681 * bits/std_complex.h: Use.
5682 * src/complex.cc: Use.
5684 1999-11-19 Mumit Khan <khan@xraylith.wisc.edu>
5686 * testsuite/18_support/numeric_limits.cc: Add missing std:: prefix.
5687 * testsuite/21_strings/inserters_extractors.cc: Likewise.
5688 * testsuite/22_locale/ctype.cc: Likewise.
5689 * testsuite/23_containers/multiset.cc: Likewise.
5690 * testsuite/23_containers/vector_ctor.cc: Likewise.
5691 * testsuite/26_numerics/binary_closure.cc: Likewise.
5692 * testsuite/27_io/fpos.cc: Likewise.
5693 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
5694 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
5695 * testsuite/27_io/istream_extractor_char.cc: Likewise.
5696 * testsuite/27_io/istream_extractor_other.cc: Likewise.
5697 * testsuite/27_io/istream_sentry.cc: Likewise.
5698 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
5699 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
5700 * testsuite/27_io/streambuf.cc: Likewise.
5701 * testsuite/27_io/stringstream.cc: Likewise.
5703 1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5705 * bits/valarray_meta.h: Don't forget to define tanh
5707 1999-11-18 Philip Martin <pm@corris.dircon.co.uk>
5709 * src/stl-inst.cc: Use typedef to refer to iterator
5710 * stl/bits/stl_algobase.h: Add traits based dispatch for
5711 __normal_iterator in the copy()algorithm
5712 * stl/bits/type_traits.h: Add _Is_normal_iterator trait support
5714 1999-11-18 Kevin Ediger <kediger@licor.com>
5716 * src/locale.cc (locale::_Imp::_Imp): Use auto_ptr to make
5717 constructors for locale::_Impl exception safe.
5719 1999-11-18 Scott Snyder <snyder@fnal.gov>
5721 * stl/bits/stl_queue.h: The C++ standard gives the default for the
5722 _Sequence template argument of priority_queue<> as vector<>, not
5725 1999-11-18 Benjamin Kosnik <bkoz@gnu.org>
5727 * bits/std_sstream.h (stringbuf::_M_really_sync): Add __iend as a
5729 * bits/sstream.tcc: Adjust here too.
5731 1999-11-17 Benjamin Kosnik <bkoz@gnu.org>
5733 * bits/sbuf_iter.h (istreambuf_iter::equal): Tweak.
5734 * bits/istream.tcc (operator>>): Replace iostate(0) with
5735 iostate(ios_base::goodbit), which is the same thing, but hopefully
5737 * bits/locale_facets.tcc (do_get(bool)): Streamline, deal with
5738 libraries issue list 17.
5739 (do_gets): Don't set goodbit explicitly, instead only set on
5740 failures as good bit is the default setting.
5741 * bits/ios_base.h (setf): Set correctly.
5742 * bits/fstream.tcc: Tweak.
5743 * bits/std_sstream.h (_M_really_sync): Fix ibuffer positioning for
5744 in|out bufs that are empty. . .
5745 * testsuite/27_io/istream_extractor_arith.cc (test03): Add.
5747 1999-11-16 Benjamin Kosnik <bkoz@gnu.org>
5749 * testsuite/27_io/streambuf.cc (class testbuf): Don't set _M_buf_size.
5750 * bits/std_streambuf.h (setp): Set _M_buf_size, _M_mode.
5751 Add comments "all about _M_buf."
5752 (setg): Set _M_mode.
5754 1999-11-16 Kevin Ediger <kediger@licor.com>
5756 * bits/locale_facets.tcc (_S_build_float_format): New function.
5757 (_S_output_float): New function.
5758 (num_put::do_put(double)): Use 'em.
5759 (num_put::do_put(long double)): Use 'em.
5760 * testsuite/27_io/ostream_inserter_arith.cc: New file.
5762 1999-11-15 Scott Snyder <snyder@fnal.gov>
5764 * bits/basic_file.h: Type of __off parm should be __c_streampos, to
5765 match how libio is calling us.
5766 * src/basic_file.cc (sys_seek): Likewise.
5767 * bits/std_fstream.h (basic_filebuf::sync): Restore sync call.
5769 1999-11-15 Benjamin Kosnik <bkoz@gnu.org>
5771 * docs/17_intro/contribute.html: Add link to assignment form.
5772 * docs/17_intro/libstdc++-assign.txt: New file.
5774 * mkcheck (TESTS_FILE): Move a copy of test files as well as
5777 * bits/std_streambuf.h (_M_buf_bump): New function.
5778 * bits/streambuf.tcc: Mods to support _M_buf_bump.
5779 (xsputn): Here. Also add checks for output valid.
5780 (xsgetn): Add checks for input valid.
5782 (sgetc): Set _M_in_end to _M_buf + _M_buf_end.
5783 * bits/std_sstream.h (_M_really_sync): Set _M_buf.
5784 Set _M_out_end to variable-length-end.
5785 * bits/sstream.tcc (overflow): Use _M_buf_bump.
5788 * bits/fstream.tcc (std): Tweak formatting.
5789 (filebuf::overflow): Simplify.
5790 (filebuf::showmanyc): Same.
5791 (filebuf::underflow): Same.
5792 * testsuite/27_io/filebuf.cc: Fix.
5793 * testsuite/27_io/ostream_inserter_other.cc: Fix.
5794 * testsuite/27_io/ostream_inserter_other-2.tst: New file.
5795 * testsuite/27_io/stringbuf.cc: Tweak.
5796 * testsuite/27_io/streambuf.cc: Tweak.
5797 * testsuite/27_io/istream_extractor_other.cc: Fix.
5799 1999-11-11 Matthias Klose <doko@cs.tu-berlin.de>
5801 * stl_deque.h: Use static_casts<size_type>(signed_type).
5803 1999-11-11 Benjamin Kosnik <bkoz@gnu.org>
5805 Cleanups for callbacks, more regression hunting. Remaining
5806 failures (1) due to last unresolved stringstream issues, not
5808 * bits/std_fstream.h: Revert. Disable call to _M_file->sync as
5809 killing 27_io/filebuf.cc tests. . . need another solution.
5811 * bits/streambuf.tcc (_S_copy_streambufs): Fix.
5812 * testsuite/27_io/istream_extractor_other.cc: Tweak comments.
5814 * bits/basic_ios.h: Add cached facets here. UGH. The standard
5815 foils all attempts at a graceful, minimal implementation.
5816 * bits/basic_ios.tcc: Tweaks.
5817 * bits/istream.tcc: Fix.
5818 * bits/ostream.tcc: Fix.
5819 * bits/std_istream.h: Fix.
5820 * bits/std_ostream.h: Fix.
5821 * src/ios.cc (ios_base::imbue): Set _M_locale_ios before calling
5823 * bits/locale_facets.tcc (std): Minor, minor formatting tweak.
5824 (_S_pad_numeric): Make comprehensible.
5826 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
5828 * bits/std_ostream.h: Add callbacks for _M_fnumput.
5829 (_S_ostream_fcache): New function.
5830 Move functions out-of-line.
5831 * bits/ostream.tcc: Put here.
5833 * bits/std_istream.h: Add callbacks for _M_fnumget.
5834 (_S_istream_fcache): New function.
5835 Move functions out-of-line.
5836 * bits/istream.tcc: Put here.
5838 * bits/basic_ios.tcc (basic_ios::imbue): Tweaks, remove call to
5839 _M_call_callbacks(), as ios_base::imbue does this already.
5840 * src/ios.cc (register_callback): Clean.
5841 (_M_call_callbacks): Same.
5842 * bits/ios_base.h: Callback work.
5843 * testsuite/27_io/ios_base_callbacks.cc (test01): New file.
5845 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
5846 Matthias Klose <doko@cs.tu-berlin.de>
5848 * stl/ext/stl_rope.h: Fix initialization order.
5850 1999-11-09 Scott Snyder <snyder@fnal.gov>
5852 * bits/std_fstream.h (basic_filebuf::sync): Unconditionally call
5853 _M_file->sync() so that redirection works correctly.
5855 1999-11-09 Benjamin Kosnik <bkoz@gnu.org>
5857 * bits/istream.tcc: Re-order.
5858 * bits/std_istream.h: Fix getline problems.
5859 * testsuite/27_io/istream_unformatted.cc: New tests.
5861 Clean up regressions.
5862 * bits/std_sstream.h: Set initial stringbufs correctly.
5864 1999-11-09 Scott Snyder <snyder@fnal.gov>
5866 * stl_vector.h (_M_range_insert): Fix mixing pointers and
5868 * testsuite/23_containers/vector_modifiers.cc (test01): New file,
5871 1999-11-09 Benjamin Kosnik <bkoz@cygnus.com>
5873 * src/Makefile.am (CXXFLAGS): Add -Winline.
5874 * src/Makefile.in: Regenerate.
5876 1999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5878 * bits/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When
5879 building meta-expressions don't forget to take the contained
5882 1999-11-02 Benjamin Kosnik <benjamin@cygnus.com>
5884 * configure: Regenerate.
5886 1999-11-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5888 * bits/valarray_meta.h (_Expr<>::sum): Tweak. Use copy-initialization
5890 * bits/valarray_meta.h (min): Likewise.
5891 * bits/valarray_meta.h (max): Likewise.
5893 1999-11-01 Benjamin Kosnik <bkoz@cygnus.com>
5895 * bits/std_sstream.h (_M_really_sync): Take into account in | out bufs.
5896 * bits/std_streambuf.h (_S_copy_streambufs): New function.
5897 * bits/streambuf.tcc: Define.
5898 * bits/istream.tcc (istream::operator>>(streambuf)): Rewrite.
5899 * bits/ostream.tcc (ostream::operator<<(streambuf)): Rewrite.
5900 * testsuite/27_io/ostream_inserter_other.cc: Add tests.
5901 * testsuite/27_io/ostream_inserter_other-1.tst: New file.
5903 * bits/basic_string.h: Explicitly cast npos to unsigned type,
5904 reported by Richard Atterer.
5905 * bits/char_traits.h: For consistency's sake, here too.
5907 * configure.in: Bump version to 2.90.7.
5909 1999-10-31 Benjamin Kosnik <bkoz@cygnus.com>
5911 * testsuite/27_io/ostream_inserter_char-1.tst: Check file output.
5912 * testsuite/27_io/ostream_inserter_char.cc (test05, test01): Add tests.
5913 * bits/streambuf.tcc (xsputn): Treat--size const char for long loops.
5915 * bits/sstream.tcc (seekpos): Tricks, mostly: check _M_mode before
5916 writing into buffer.
5919 1999-10-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5921 * bits/valarray_array.h (__valarray_sum): New function.
5922 * bits/valarray_array.h (__valarray_product): Same.
5924 * bits/std_valarray.h (valarray<T>::product): Comment out.
5925 * bits/std_valarray.h (valarray<T>::sum): Use __valarray_sum
5926 instead of accumulate.
5928 * src/valarray-inst.cc: Remove explicit intantiation of
5929 class multiplies<size_t>, accumulate, valarray<size_t>::product.
5930 * src/valarray-inst.cc (__valarray_product): Instantiate
5932 * src/valarray-inst.cc (__valarray_product(const
5933 valarray<size_t>&)): New function.
5934 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't use
5935 valarray<size_t>::product. Use __valarray_product instead.
5938 1999-10-25 Benjamin Kosnik <bkoz@cygnus.com>
5940 * bits/std_ostream.h (ostream.inserters.char): Correctly pad output.
5941 (_S_pad_char): New function. Not done: ios_base::internal.
5942 * bits/ostream.tcc: Clean for above.
5943 * bits/locale_facets.tcc (_S_fill): Remove ostreambufiterator
5944 specialization that was commented out, as ostreams now have to
5945 correctly deal with padding.
5946 * testsuite/27_io/ostream_inserter_char.cc (main): Add tests.
5948 * testsuite/21_strings/ctor_copy_dtor.cc(test02): Add test case
5949 from mailing list. This is a bug, and should be fixed.
5950 * testsuite/21_strings/inserters_extractors.cc (main): Tweak, fix typo.
5952 1999-10-22 Petter Urkedal <petter@matfys.lth.se>
5954 * stl/bits/stl_numeric.h (__power): Replaced argument name `__opr'
5955 to avoid conflict with gcc name mangling.
5956 * stl/bits/stl_algo.h (__transform): Same.
5958 1999-10-21 Benjamin Kosnik <bkoz@cygnus.com>
5960 * bits/ios_base.h: Change argument names.
5961 * docs/17_intro/BADNAMES: Add __opr.
5963 1999-10-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5965 Work on compilation slowdowns from 10-5 to 10-12, which are
5966 related to the _Callback_list inlining/merge-ifcation, which is
5967 still a pending issue, but this stuff is necessary cleanup anyway.
5969 * src/ios.cc: Re-arrange.
5970 * bits/ios_base.h: Tweak.
5971 * bits/basic_ios.tcc: Move out of line definitions here, move
5972 small out-of-line definitions inline.
5973 * bits/basic_ios.h: From here.
5975 * bits/streambuf.tcc (pbackfail, overflow): Move back inline.
5976 * bits/std_streambuf.h: From here.
5978 1999-10-19 Benjamin Kosnik <bkoz@cygnus.com>
5980 * testsuite/27_io/istream_extractor_char.cc: Add tests.
5981 * bits/std_istream.h: Tweaks--set eofbit on eof condition.
5982 * bits/istream.tcc (operator>>(istream&, string&): Remove
5983 vestigial issspace hacks and use ctype::is instead.
5984 (getline): Remove unnecessary loops, fortify and pasteurize.
5987 1999-10-18 Benjamin Kosnik <bkoz@cygnus.com>
5989 * bits/istream.tcc (operator>>): Tweak.
5990 * bits/std_istream.h: Fix according to library issues list 68.
5993 * bits/locale_facets.h: Fix table_size to be non-zero.
5995 1999-10-18 Vadim Egorov <egorovv@HotPOP.com>
5997 * src/basic_file.cc: ifdef instead of comment for binary mode
5999 1999-10-18 Russell Davidson <russell@qed.econ.queensu.ca>
6001 * bits/std_sstream.h: Stringbuf initialization based on actual,
6002 not allocated, size.
6003 * testsuite/21_strings/inserters_extractors.cc (test06): Add test
6006 1999-10-17 Benjamin Kosnik <bkoz@cygnus.com>
6008 * testsuite/26_numerics/c_math.cc (test03): Tweak.
6009 * testsuite/27_io/istream_manip.cc (test01): Corrections due to
6011 * testsuite/21_strings/inserters_extractors.cc (test01): Same.
6013 1999-10-14 Benjamin Kosnik <bkoz@cygnus.com>
6015 * bits/std_istream.h: Tweaks.
6016 * bits/istream.tcc (istream::sentry::sentry()): Simplify, correct
6017 as per issues list addition--set failbit, eof on empty buffers.
6018 * testsuite/27_io/istream_sentry.cc: New file.
6020 1999-10-12 Chris Prince <prince@wcug.wwu.edu>
6022 * bits/std_cstdio.h: Remove Solaris hacks.
6024 1999-10-12 Phil Edwards <philip.edwards@sn.wpafb.af.mil>
6026 * docs/index.html: Fix minor typos and tweaks.
6027 * docs/17_intro/contribute.html: Ditto.
6028 * docs/*/howto.html: Ditto. More "EGCS"->"GCC" conversion, notes on
6029 thread safety and binary I/O, links to external sites.
6030 * docs/faq/index.html: EGCS/GCC cleanup, new entries for Cygwin
6033 1999-10-12 Petter Urkedal <petter@matfys.lth.se>
6035 * bits/std_cmath.h (abs(float)): When ::absf is not present, call
6036 ::fabs(double) rather than ::abs(int).
6038 1999-10-11 Benjamin Kosnik <bkoz@milou.cygnus.com>
6040 * bits/std_streambuf.h: Fix minor blip--should explicitly return
6041 *gptr(), not the result of underflow.
6042 (pbackfail): Conform to default behavior.
6044 * bits/streambuf.tcc: Add out-of-line streambuf members.
6047 * testsuite/27_io/streambuf.cc: New file.
6048 * testsuite/27_io/filebuf.cc: Correct test.
6050 1999-10-08 Benjamin Kosnik <bkoz@haight.constant.com>
6052 * bits/std_cmath.h: Correctly cast int to double.
6053 * testsuite/26_numerics/c_math.cc: Add test.
6055 * mknumeric_limits (OUT_C): Tweaks.
6056 * src/gen-num-limits.cc: Checks for WCHAR_MIN, WCHAR_MAX before
6057 trying to instantiate type_traits<wchar_t>.
6058 * acconfig.h: Add _GLIBCPP_HAS_WCHAR_MIN_MAX.
6059 * configure.in (LIBS): Plus checks for WCHAR_MIN, WCHAR_MAX.
6060 * configure: Regenerate.
6062 1999-10-06 Benjamin Kosnik <bkoz@milou.cygnus.com>
6064 * bits/streambuf.tcc (streambuf::xsgetn): Rewrite.
6065 (streambuf::xsputn): Put in break.
6066 Aiming for parity between these two (mostly) similar functions.
6067 Need to re-write tests.
6069 * bits/ios_base.h (ios_base::_M_copy_base): Remove declaration.
6070 Make data members protected, not private.
6071 * src/ios.cc (ios_base::_M_copy_base): Move _Callback_list into
6072 ios_base.h. As called only once, collapse into . . .
6073 * bits/basic_ios.h (basic_ios::copyfmt): Fix.
6074 (basic_ios::clear): Throw ios_base::failure on occasion.
6075 (basic_ios::exceptions): Fix.
6076 * testsuite/27_io/ios_members.cc (test02): Add tests.
6078 * bits/fpos.h: Default initialize.
6079 * testsuite/27_io/fpos.cc (test03): Add test.
6081 1999-10-04 Russell Davidson <russell@qed.econ.queensu.ca>
6083 * src/basic_file.cc: Fix open modes.
6085 1999-10-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6087 * bits/locale_facets.tcc (num_get<>::do_get): Fix typo.
6089 1999-09-23 Benjamin Kosnik <bkoz@milou.cygnus.com>
6091 * bits/streambuf.tcc: Yea. Fix this for real.
6092 * testsuite/27_io/ostream_inserter_other.cc: Add file.
6093 * src/Makefile.*: Regenerate.
6095 1999-09-22 Benjamin Kosnik <bkoz@milou.cygnus.com>
6097 * bits/std_cstdlib.h: Add more linux-specif hacks to the header
6098 files so that stdtof and strtold will be declared. Some hacks
6099 already exits in bits/std_cctype.h -- these should all be removed
6101 * bits/locale_facets.tcc: Add cstring.h include.
6102 _S_format_long: Use long, not int.
6103 Add std_limits.h include, for numeric_limits.
6104 * testsuite/27_io/istream.cc: Make instantiations work when using
6106 * testsuite/27_io/ostream.cc: Same.
6108 1999-09-21 Benjamin Kosnik <bkoz@milou.cygnus.com>
6110 * bits/fpos.h (fpos::operator streamoff): Make const, don't return
6111 a reference. Same for operators == and !=.
6112 * testsuite/27_io/fpos.cc: Add tests.
6114 1999-09-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6116 * bits/valarray_array.h: Fix typo.
6118 * mknumeric_limits: Make sure we are regenerating things from
6119 scratch. Otherwise things get redefined. Not good.
6121 1999-09-20 Benjamin Kosnik <bkoz@milou.cygnus.com>
6123 * bits/std_ostream.h: Fix typo.
6124 * bits/std_istream.h: Same.
6125 * bits/std_iomanip.h: Same.
6127 * bits/istream.tcc (sentry::sentry()): Remove optional tie with
6128 ostream, as happens with underflow anyway.
6129 * testsuite/27_io/istream.cc (main): New file.
6130 * testsuite/27_io/ostream.cc (main): New file.
6131 * testsuite/27_io/istream_unformatted.cc: Add tests.
6133 * src/Makefile.am (headers): Add new file.
6134 * src/Makefile.in (headers): Regenerated.
6136 * bits/basic_ios.h: Remove local-related files.
6137 * bits/basic_ios.tcc: New file, add locale-related items.
6138 * src/misc-inst.cc: Add include of basic_ios.tcc, as a hack for now.
6139 * testsuite/27_io/ios_members_static.cc: Change to
6140 * testsuite/27_io/ios_base_members_static.cc: This.
6141 * testsuite/27_io/ios_members.cc: New file.
6142 * testsuite/27_io/stdios_basefield_manip: Change to
6143 * testsuite/27_io/ios_manip_basefield.cc: This.
6144 * testsuite/27_io/stdios_fmtflags_manip: Change to
6145 * testsuite/27_io/ios_manip_fmtflags.cc: This.
6147 * bits/fpos.h: Fix discarding qualifiers on this when
6148 using _M_position with a const fpos.
6149 * bits/std_iosfwd.h: Tweak.
6150 * testsuite/27_io/fpos.cc: New file.
6152 1999-09-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
6154 * bits/streambuf.tcc (streambuf::xsputn): Tweak.
6155 * bits/ostream.tcc: Tweak.
6156 * testsuite/21_strings/inserters_extractors.cc (test04, test05):
6157 Add new regressions.
6159 1999-09-16 Benjamin Kosnik <bkoz@milou.cygnus.com>
6161 * bits/basic_ios.h: Inline, tweak.
6162 * bits/fstream.tcc (basic_filebuf::_M_really_overflow): Tweak,
6163 pass back accurate return value to basic_filebuf::overflow.
6164 * bits/streambuf.tcc (streambuf::xsputn): Fix overflow accounting.
6165 This fixes sstream problems reported in libstdc++/9, but screws up
6166 filebufs. That solution is pending.
6168 1999-09-15 Vadim Egorov <egorovv@1c.ru>
6170 * bits/streambuf.tcc (basic_streambuf::xsputn): Add check for
6172 * testsuite/21_strings/inserters_extractors.cc (test01): Add test.
6174 1999-09-08 Benjamin Kosnik <bkoz@milou.cygnus.com>
6176 * bits/c++config.h.in: Add emacs hints.
6178 * stl/bits/stl_range_errors.h: Don't define here, for now define
6179 in stdexcept.cc along with string inlines __length_error, etc.
6180 * src/stdexcept.cc: Define here.
6181 * stl/bits/stl_config.h (__STL_CAN_THROW_RANGE_ERRORS): Enable, so
6182 at(size_t) will be declared/defined.
6183 (__STL_THREADS): Fix mess surrounding use of this, enable.
6185 1999-08-31 Benjamin Kosnik <bkoz@milou.cygnus.com>
6187 * testsuite/27_io/istream_extractor_arith.cc: Fix.
6188 * src/localename.cc: Tweak formatting, fix assignment to
6189 const compiler errors.
6191 1999-08-25 Benjamin Kosnik <bkoz@cygnus.com>
6193 * acconfig.h: Add absf, cosf.
6194 * configure.in (use_builtin_sinf): Same.
6195 * configure: Regenerate.
6196 * bits/std_cmath.h: Add mess of defines.
6197 * testsuite/26_numerics/modf_float.cc: Change to
6198 * testsuite/26_numerics/c_math.cc: This.
6200 * src/locale.cc: Change.
6201 * bits/locale_facets.h: Fix.
6202 * testsuite/22_locale/ctype.cc: Add temporary tests.
6204 1999-08-24 Benjamin Kosnik <bkoz@cygnus.com>
6206 * bits/fpos.h: Test.
6208 * docs/index.html: Add powerpc-linux-gnu results with gcc-2.95.1.
6209 Fix database name for "libstdc++".
6211 1999-08-23 Benjamin Kosnik <bkoz@cygnus.com>
6213 * mknumeric_limits (numeric_limits): Add default definitions to
6215 * testsuite/18_support/numeric_limits.cc: New file.
6217 1999-08-18 Benjamin Kosnik <bkoz@cygnus.com>
6219 * bits/std_istream.h: Correct initialization.
6220 * bits/std_ostream.h: Likewise.
6221 * bits/std_sstream.h: Likewise.
6222 * bits/std_fstream.h: Likewise.
6223 * testsuite/27_io/stringstream.cc: Add test case.
6225 * bits/std_sstream.h: Replace ____string_type with __string_type.
6226 * bits/basic_ios.h (basic_ios::rdbuf(sb*): Call clear(), as required.
6227 * bits/std_ostream.h: Tweak dtor.
6229 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6231 * src/Makefile.am (CXXFLAGS): Add -O2.
6232 * src/Makefile.in: Likewise.
6234 * src/gen-num-limits.cc: Conditionally allow wchar_t. See what
6236 * mknumeric_limits (numeric_limits): Uglify.
6238 * bits/std_istream.h: Fix warnings.
6239 * bits/locale_facets.tcc: Collateral damage from
6240 char_traits<char>::int_type change.
6242 * testsuite/27_io/istream_extractor_char.cc: Terminate strings.
6244 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6246 * docs/index.html: Add mailing list form.
6247 * docs/27_io/howto.html: Add link to iostreams_hierarchy.pdf.
6249 1999-08-16 Benjamin Kosnik <bkoz@cygnus.com>
6251 * bits/streambuf.tcc (streambuf::xsputn): Allow copies to continue
6252 if overflow successfully allocates more space.
6253 * bits/std_sstream.h: Adjust comments.
6254 * bits/sstream.tcc (stringbuf::overflow): Copy buffer into string
6255 before overflow forces a resize.
6256 * testsuite/27_io/ostream_inserter_char.cc: New file.
6258 * bits/std_fstream.h: Remove declaration.
6259 * bits/fstream.tcc: Move uflow.
6260 * bits/std_streambuf.h: To here.
6261 * bits/streambuf.tcc: Make consistent.
6263 * src/Makefile.am (WERROR): Enable.
6264 * src/Makefile.in: Regenerate.
6265 * bits/sbuf_iter.h: Tweak.
6266 * bits/char_traits.h: (char_traits<wchar_t>::eof): Use WEOF.
6267 Use unsigned int as char_traits<char>::int_type.
6269 * bits/ostream.tcc (ostream::putc(char)): Tweak.
6270 * testsuite/27_io/iostream_objects.cc: Terminate string.
6271 Move cin::operator>>(char*) test to extractor_char.cc.
6272 * testsuite/27_io/stringstream.cc: Add stringstream instantiation.
6273 * bits/std_istream.h (basic_iostream): Make explicit definition
6275 * bits/std_sstream.h: Fix typos.
6276 * bits/fstream.tcc (_M_init_filebuf): Set to indeterminate for
6277 basic_filebuf ctor with fileno open arguments. Thus, filebufs are
6278 initialized in a consistent manner, no matter if the underlying
6279 FILE/bit bucket is a tty or a text file or some other imaginary
6280 construct. This and setting _M_buf_size to 1 for cin allows
6281 istream::get(char) to work in a manner consistent with what others
6284 * docs/index.html: Link Stroustrup's C++ page.
6286 1999-08-12 Michael Cook <cook@sightpath.com>
6288 * bits/fstream.tcc: Fix signed/unsigned -Wall warning.
6289 * bits/istream.tcc: ditto.
6290 * bits/sbuf_iter.h: ditto.
6291 * bits/std_istream.h: ditto.
6292 * src/Makefile.am: Add -Wall to CXXFLAGS.
6293 * src/Makefile.in: ditto.
6295 1999-08-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6296 Russell Davidson <russell@ehess.cnrs-mrs.fr>
6298 * bits/locale_facets.tcc (_M_extract): Finish off patch from yesterday.
6299 * src/Makefile.am (myinstallheaders): Tweak, remove PHONY.
6301 1999-08-11 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6303 * testsuite/27_io/istream_unformatted.cc: New file.
6305 * testsuite/27_io/istream_extractor_arith.cc (test02): Add more
6306 elaborate tests for int types with noskipws.
6308 * testsuite/27_io/istream_extractor_other-1.txt: New file.
6309 * testsuite/27_io/istream_extractor_other-1.tst: New file.
6310 * testsuite/27_io/istream_extractor_other-2.tst: New file.
6311 * testsuite/27_io/istream_extractor_other.cc: Add tests.
6312 * bits/istream.tcc: Fix operator>>(streambuf*).
6314 * testsuite/23_containers/vector_ctor.cc (test01): Add.
6316 * docs/index.html: Remove references to egcs.
6317 * docs/17_intro/DESIGN: Same.
6318 * docs/17_intro/contribute.html: Same.
6319 * docs/17_intro/RELEASE-NOTES: Ditto.
6320 * docs/17_intro/howto.html: Same here.
6322 Russell Davidson <russell@ehess.cnrs-mrs.fr>
6323 * stl/bits/stl_vector.h (_M_insert_aux):
6324 * bits/locale_facets.tcc (_M_extract): Tweaks for preliminary
6325 decimal/floating point support.
6326 * bits/locale_facets.h: Change _M_extract prototype.
6327 * bits/char_traits.h (char_traits::to_int_type): Cast to unsigned.
6328 * bits/std_istream.h (istream::read(char_type, streamsize)): Fix.
6330 1999-08-10 Michael Cook <cook@sightpath.com>
6332 * bits/fstream.tcc: Fix for unused variable warning (-Wall).
6333 * bits/ios_base.h: ditto.
6334 * bits/istream.tcc: ditto.
6335 * bits/locale_facets.h: ditto.
6336 * bits/locale_facets.tcc: ditto.
6337 * bits/std_streambuf.h: ditto.
6338 * src/basic_file.cc: ditto.
6339 * src/locale.cc: ditto.
6340 * src/localename.cc: ditto.
6342 1999-08-10 Kirat Singh <singhki@jany.gs.com>
6344 * bits/std_iomanip.h: Inline.
6346 1999-08-10 Alfred Minarik <a8601248@unet.univie.ac.at>
6348 * bits/std_streambuf.h: Correct member initialization order.
6349 * src/ios.cc: Add definitions for ios_base data members.
6351 1999-08-06 Phil Edwards <pedwards@ball.com>
6353 * docs/index.html: Seventh snapshot updates. Minor tweaks.
6354 * docs/faq/index.html: Ditto. Removed bugs sections that have
6355 been fixed for a long time... Lots of "egcs" references still
6357 * docs/faq/index.txt: Regenerated.
6359 1999-08-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6360 Andreas Amann <amann@physik.tu-berlin.de>
6362 * testsuite/26_numerics/binary_closure.cc (main): new test.
6364 1999-07-29 Andreas Amann <amann@physik.tu-berlin.de>
6366 * bits/valarray_meta.h: (_BinClos<>::_Binclos): fix typo causing
6369 1999-08-04 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6371 * docs/index.html (host): Put in testing status.
6373 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
6375 * docs/index.html: Update for libstdc++-2.90.6 release.
6376 * docs/17_intro/RELEASE-NOTES (New): Update.
6377 * docs/17_intro/BUGS: Update.
6378 * bits/c++config.h.in (__GLIBCPP__): Bump version number.
6379 * README (file): Update.
6381 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
6383 * src/Makefile.am (generated_headers): Remove bits/c++config.h as
6385 ($(generated_headers)): Same.
6386 * src/gen-c++config.cc: Remove, rename to
6387 * bits/c++config.h.in: New file. Bump version number.
6388 * configure.in: Generate bits/c++config.h at configure time.
6389 * math/mathconf.h: include bits/c++config.h, not config.h.
6391 * bits/std_cmath.h: Fix remaining link error for solaris shared
6392 builds. _GLIBCPP_HAS_BUILTIN_SINF has to be disabled for the time
6393 being, as on Solaris this silently calls sinf, which does not
6396 * src/complex.cc: More tweaks.
6398 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
6400 * src/complex.cc: Same.
6401 * math/complex-stub.h: Change.
6402 * math/c_log10*.c: Change back to clog10*.c.
6404 * configure.in (NEED_C_LOG10): Delete.
6405 * configure: Regenerate.
6406 * math/Makefile.am: Change.
6408 1999-07-30 Benjamin Kosnik <bkoz@cygnus.com>
6410 * math/Makefile.am: Fix, for real.
6411 * configure.in (use_builtin_sinf): Ok, make autoconf solution.
6412 * math/clog.c: Move to c_log.c.
6413 * math/clog*: Ditto.
6414 * math/c_log10l.c (c_log10l): Change function name.
6415 * math/c_log10f.c (c_log10f): Change function name.
6416 * math/c_log10.c (c_log10): Change function name.
6418 * math/complex-stub.h: Change to c_log* variants.
6419 * src/complex.cc: And here.
6421 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
6423 * testsuite/27_io/istream_extractor_other.cc: Correct last test.
6424 * bits/sstream.tcc (stringbuf::overflow): Don't update the input
6425 sequence, just the output sequence.
6426 * bits/std_sstream.h (stringbuf::str()): Only in stringbufs return
6427 the original string, all others use complicated heuristic.
6429 * src/complex.cc: Assume c_log10.
6430 * math/Makefile.am (EXTRA_yes): Fix c_log/c_logf unresolved
6431 symbols in shared libraries by making c_log/c_log10 part of the
6432 "must cmpile" sources. This may not work on solaris, must check.
6434 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
6436 * bits/istream.tcc (operator>>(streambuf*)): Re-do.
6437 * bits/std_istream.h: Fix char extractors.
6438 * testsuite/27_io/istream_extractor_char.cc: Change.
6439 * testsuite/27_io/istream_extractor_other.cc: Add tests.
6441 1999-07-28 Benjamin Kosnik <bkoz@cygnus.com>
6443 * bits/std_cctype.h: Fix for solaris2.6 builds.
6445 * bits/istream.tcc: Fix, thanks Alfred.
6446 * bits/std_istream.h: Formatting changes.
6448 * libio/Makefile.am (libio_la_SOURCES): Remove cleanup.c, so that
6449 _IO_cleanup will not be undefined.
6450 * libio/*: Regenerate.
6452 * bits/basic_string.h: More namespace-safety stuff.
6453 * testsuite/27_io/istream_extractor_char.cc: Fix.
6454 * testsuite/27_io/istream_extractor_arith.cc: Fix.
6455 * testsuite/27_io/iostream_objects.cc: Fix.
6456 * testsuite/27_io/ios_ctor.cc: Fix.
6457 * testsuite/27_io/istream_manip.cc: Make namespace safe.
6458 * testsuite/27_io/istream_extractor_other.cc: New file.
6460 * mkcheck (TESTS_FILE): Tweaks.
6462 1999-07-27 Benjamin Kosnik <bkoz@cygnus.com>
6464 * src/gen-c++config.cc: Note here, change version.
6465 * acconfig.h( _GLIBCPP_USE_CTYPE_ISBIT): New macro.
6466 * src/locale.cc: Used here.
6467 * configure.in (use_builtin_sinf): Check for _ISBit using autoconf.
6469 * aclocal.m4: Regenerate by running `aclocal -I m4.`
6471 * bits/istream.tcc: Fix.
6472 * bits/std_istream.h: More changes to extractors.
6474 * testsuite/27_io/istream_extractor_char.cc: More.
6475 * testsuite/21_strings/inserters_extractors.cc (test01): Fix logic
6476 error in testsuite construction.
6478 * bits/std_istream.h: Partially revert.
6479 * bits/std_ostream.h: Same.
6480 * bits/std_sstream.h: Revert.
6482 1999-07-26 Benjamin Kosnik <bkoz@cygnus.com>
6484 * bits/std_sstream.h: Change initialization.
6485 * bits/std_ostream.h: Make default ctor/assign/operator= private.
6486 * bits/std_istream.h: Same, also correct sentry args.
6487 * bits/istream.tcc: Add correct sentry args.
6489 * testsuite/27_io/istream_extractor_char.cc: New file.
6490 * testsuite/27_io/istream_extractor_arith.cc: New file, old file,
6491 name changes making me dizzy.
6493 1999-07-26 Ulrich Drepper <drepper@happy.cygnus.com>
6494 Benjamin Kosnik <bkoz@cygnus.com>
6496 * aclocal.m4, config.guess, config.sub, ltconfig ltmain.sh: Update
6499 1999-07-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6501 * bits/std_complex.h: Tweak. Make the primary template class
6502 complex work with user-defined numerical types. Provide member
6503 definitions. Restructure.
6504 (class complex<float>): Uglify. Remove __value(). Rename __val
6505 to _M_value. Rename __complex_value_type to _ComplexT. Make it
6506 private. Remove dependency on __value(). Fix various explicit
6507 specialization syntax. Declare a some functions friend. Now the
6508 implementation is nearly comforming.
6509 (class complex<double>): Likewise.
6510 (class complex<long double>): Likewise.
6512 * src/complex.cc: Tweak. Remove dependency on complex::__value().
6513 (sin, sinh, tan, than): Fix call to corresponding C9x function
6516 1999-07-24 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6518 * bits/istream.tcc (ws): Fix error with failbit being set.
6520 Disabled due to egcs/gcc-2_95 internal compiler errors.
6521 * src/Makefile.am (CXXFLAGS): Add -fsquangle -fhonor-std
6522 -fnew-exceptions. Compiling with namespaces enabled will now be
6524 * mkcheck (CXX_FLAG): Same.
6525 * src/gen-c++config.cc (_GLIBCPP_USE_NAMESPACES): Yup. New macro.
6526 * bits/std_cctype.h: Not enough to just define in namespace std if
6527 ctype-isms are macros. Need to also define in namespace std:: if
6528 the C functions are just plain functions.
6530 * src/gen-num-limits.cc: Fix spelling inconsistencies.
6532 1999-07-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6534 * docs/18_support/howto.html: Start documentation. Need to keep
6535 track of the ongoing discussion in th LWG reflector.
6537 * src/gen-num-limits.cc: Tweak.
6538 (class predicate): New class.
6539 (class value): Likewise.
6540 Make the whole machinery more flexible. Add comments.
6542 1999-07-23 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6544 * bits/ios_base.h: Move state/exception functions into basic_ios.
6545 * bits/basic_ios.h: Same.
6546 * src/ios.cc: And here. Callbacks don't attempt to reset
6549 * bits/std_streambuf.h: Separate ios and streambuf locale data
6550 members and cached facets. Using this convention: _M_locale_buf for
6551 the streambuf-related classes, and _M_locale_ios for the ios
6553 * bits/fstream.tcc: And here.
6554 * bits/basic_ios.h: And here. Also, add cached ctype.
6555 * src/ios.cc: Ditto.
6556 * bits/ios_base.h: Ditto.
6557 * bits/std_istream.h: Use cached ctype facet.
6558 * docs/27_io/iostreams_hierarchy.pdf: Update for new data member
6561 * testsuite/27_io/ios_ctor.cc: New file.
6562 * src/ios.cc: Move _M_state init to basic_ios::init().
6563 * bits/basic_ios.h: To here.
6565 Attempt for some consistency in naming for testsuite/27_io/*.cc.
6566 * testsuite/27_io/boolfmt.cc: Rename to stdios_fmtflags_manip.cc
6567 * testsuite/27_io/octfmt.cc: Rename to stdios_basefield_manip.cc
6568 * testsuite/27_io/istream_manip.cc: Rename to istringstream_manip.cc.
6569 * testsuite/27_io/ostream_manip.cc: Rename to ostringstream_manip.cc.
6571 1999-07-22 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6573 * src/ios.cc: Tweak initializations of standard iostream
6574 objects to closely match the standard. Tie cin/wcin, set flags on
6576 * bits/char_traits.h: Change from size_t to int_type, as per
6577 standard. As per wide streams.
6578 * bits/basic_ios.h: Infect with __ctype_type, as a preparation
6579 for caching a bunch of ctype info. For instance, ctype_base::space
6580 info needs to be stored somewhere, somehow.
6581 * bits/std_istream.h: Also here.
6582 * bits/std_ostream.h: Ditto.
6583 * bits/std_istream.h (operator>>(istream, char): Aggh. Fixup.
6584 * testsuite/27_io/iostream_objects.cacc (test01): Oh yeah. Fix
6587 * bits/istream.tcc (ws): Fix.
6588 * testsuite/27_io/istream_manip.cc: New file, test ws.
6589 * testsuite/27_io/ostream_manip.cc: New file, test endl, ends, flush.
6591 * bits/basic_string.h: Provide a specialized member function for
6592 _S_find<char> using strchr.
6593 * src/string-inst.cc: Put specializations here.
6594 * bits/string.tcc: Small fix for find, remove typo.
6595 * testsuite/21_strings/find.cc (test01): Add tests to catch this
6598 1999-07-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6600 * bits/basic_ios.h: Put into basic_ios namespace.
6603 1999-07-19 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6605 * bits/std_sstream.h (stringbuf::sync): Change to _M_really_sync,
6606 adjust _M_*_cur pointers inside the function, so callee doesn't
6608 * bits/sstream.tcc (stringbuf::overflow): Tweak.
6610 * mkcheck: Tweak. Add execution time field, even though it is not
6611 implemented yet. Simplify pass/fail status notation.
6613 1999-07-18 Mumit Khan <khan@xraylith.wisc.edu>
6615 * configure.in: Check for float.h and underscored version of
6617 * acconfig.h: Add @BOTTOM@ section for handling underscored
6619 * configure: Regenerate.
6620 * config.h.in: Regenerate.
6621 * math/mathconf.h (float.h): Include conditionally.
6622 (M_PI): Define conditionally.
6623 (INFINITE_P): Define for Mingw.
6624 * bits/locale_facets.tcc: Workaround for compiler crash on
6626 * bits/std_cwchar.h (bits/std_cstddef.h): Include.
6627 * src/locale.cc (bits/std_istream.h): Include.
6628 (bits/std_ostream.h): Likewise.
6630 1999-07-18 Phil Edwards <pedwards@ball.com>
6632 * docs/faq/index.html: Updated __black_count notes, fixed typos.
6633 * docs/faq/index.txt: Regenerated.
6635 1999-07-15 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6637 * testsuite/27_io/stringbuf.cc: Cccchanges, latent bugs.
6639 * bits/sstream.tcc (stringbuf::overflow): Modify accounting of
6640 newly-allocated buffer.
6641 * bits/streambuf.tcc (streambuf::xsgetn): Aaaaaah. Fix final
6642 overflow condition bits.
6644 1999-07-14 Benjamin Kosnik <bkoz@cygnus.com>
6646 * bits/std_sstream.h (stringbuf::_M_init_stringbuf): Set
6647 _M_buf_size to initial _M_string.size(), even though for
6648 ostringstreams it is pretty pointless. It's necessary for
6650 (stringbuf::str()): Adjust.
6651 (stringbuf::str()): Adjust, call _M_init_stringbuf.
6652 * bits/streambuf.tcc (streambuf::xsgetn): Adjust return value for
6653 overflow's possible success.
6654 (streambuf::xsputn): Adjust.
6656 * testsuite/27_io/filebuf.cc: Adjust for the xsgetn re-write from
6658 * testsuite/27_io/stringbuf.cc: Tweak.
6659 * testsuite/21_strings/inserters_extractors.cc (test01): Remove
6661 * testsuite/23_containers/vector_cons.cc: Rename to be consistent
6662 with other constructor tests to. . .
6663 * testsuite/23_containers/vector_ctor.cc: New file.
6665 1999-07-14 Alfred Minarik <a8601248@unet.univie.ac.at>
6667 * testsuite/*: Changes to make the testsuit compilable with
6668 -fhonor-std. Contains direct qualification of library names with
6671 1999-07-13 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6673 * bits/streambuf.tcc: Tweaks.
6674 (streambuf::xsputn): Optimize, fix for sstreams.
6675 (streambuf::xsgetn): Same.
6676 * bits/sstream.tcc (stringbuf::overflow): Adjust _M_buf_size
6677 correctly, handle overflow/reallocate conditions correctly.
6678 * bits/std_sstream.h: Fix typo.
6679 _M_init_stringbuf(): Fix _M_buf_size initialization.
6680 (stringbuf::str()): Construct return string if output has occurred.
6682 * bits/basic_string.h: Fix typo from yesterday's patch.
6684 1999-07-12 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6686 * bits/string.tcc: _M_mutate - clear _M_state again.
6687 * bits/basic_string.h: In the three functions that return
6688 an iterator set _M_state to -1 before return.
6689 Also optimized two cases of operator+.
6691 1999-07-12 Phil Edwards <pedwards@ball.com>
6693 * docs/index.html: Expand egcs-1.1.2 notes/links.
6694 * docs/faq/index.html: And here. Add links to LWG issues-list.
6695 * docs/faq/index.txt: Regenerate. (lynx rocks)
6696 * docs/21_strings/howto.html: Fix notes on case conversion.
6697 * docs/21_strings/stringtok_h.txt: Goodly spelling...
6698 * docs/23_containers/howto.html: Stub for bitmasks.
6699 * docs/27_io/howto.html: Add section on buffering, stub binary.
6701 1999-07-12 Nathan Myers <ncm@cantrip.org>
6703 * stl/bits/stl_tree.h (__black_count): Optimize.
6705 1999-07-09 Vadim Egorov <egorovv@1c.ru>
6707 * src/basic_file.cc: Cleanup in __basic_file destructor.
6709 1999-07-08 Benjamin Kosnik <bkoz@cygnus.com>
6711 * bits/std_streambuf.h: Changes. . .
6712 * bits/streambuf.tcc: Merge xsputn from filebuf into xsputn in
6713 basic_streambuf, to be used for both filebufs and streambufs.
6714 * bits/std_fstream.h (_M_init_filebuf): New function.
6715 Take out specialized xsputn, put into basic_streambuf.
6716 * bits/fstream.tcc: Define, call from both ctors.
6717 * bits/std_sstream.h (_M_init_stringbuf): New function.
6718 * bits/sstream.tcc: Tweak.
6720 * docs/27_io/iostreams_heirarchy.pdf: New file.
6722 * docs/17_intro/CHECKLIST (basic_string<char>): Validation and
6723 acceptance. Wooo-hoo!
6725 * bits/char_traits.h: Change int_type for char_traits general
6726 template, so that 21_strings/capacity.cc will compile.
6727 * testsuite/21_strings/capacity.cc: Add operators.
6729 * bits/string.tcc (string::compare): Clean up, re-implement.
6730 * testsuite/21_strings/compare.cc: Tweak.
6732 * bits/string.tcc (string:_M_mutate): Keep leaked value in
6733 _M_state, which means that whenever begin() or end() has been
6734 called, the string is unshareable, period. By doing this, insert
6735 and erase member functions that return iterators can remain
6736 footloose and fancy free.
6737 * testsuite/21_strings/invariants.cc: Update.
6739 * bits/basic_string.h (string::append): Fix self-referential
6740 problems, ie when "this" is also an argument to a member function.
6741 * bits/string.tcc: Tweak, same.
6742 * testsuite/21_strings/append.cc: New file.
6744 1999-07-07 Benjamin Kosnik <bkoz@cygnus.com>
6746 * bits/char_traits.h: Tweaks.
6747 * bits/basic_string.h: Tweak.
6748 * bits/fstream.tcc: Remove warning for _M_buf_size assignment.
6750 1999-07-06 Benjamin Kosnik <bkoz@cygnus.com>
6752 * bits/std_streambuf.h: Absorb/acquire data members previously
6753 working in basic_filebuf.
6754 * bits/streambuf.tcc: Tweaks.
6755 * bits/fstream.tcc: Adjust.
6756 * bits/std_fstream.h: Move and rename the following functions:
6757 _M_set_ideterminate, _M_is_indeterminate, _M_set_determinate are
6758 now declared and defined in the base class, basic_streambuf. Oh
6759 fuck it, move data members _M_buf, and _M_buf_size into
6760 basic_streambuf as well.
6762 * bits/ostream.tcc: Tweak.
6763 * bits/locale_facets.tcc: Fix typo in comments.
6765 * testsuite/21_strings/inserters_extractors.cc (test01): Change
6766 state from good to not good, as eof() is set.
6768 1999-07-05 Benjamin Kosnik <bkoz@cygnus.com>
6770 * bits/char_traits.h (char_traits::compare). Fix.
6772 * config.guess, config.sub: Update.
6774 1999-07-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6776 * bits/string.tcc: Check the __res_arg for a length error.
6778 1999-07-01 Benjamin Kosnik <bkoz@nabi.net>
6780 * bits/std_streambuf.h: Tweaks. Need to move _M_is_indeterminate
6781 and related functions into basic_streambuf, from basic_filebuf to
6782 take care of ostringstreams and empty strings. So that's groovy,
6784 * bits/std_istream.h: Tweaks.
6785 * bits/istream.tcc: Implement ws, getline, operator>> for string.
6786 * bits/std_ostream.h: And here.
6787 * bits/ostream.tcc: Same.
6788 * src/misc-inst.cc: Add instantiations for ws.
6790 * src/string-inst.cc: Add instantiations for inserters and
6791 extractors (operators << and >>, getline).
6793 * testsuite/21_strings/inserters_extractors.cc: Amazingly enough,
6794 a testcase for getline and operators << and >>. Ostream tests are
6795 failing right now, but istream tests should work. . .
6797 * bits/string.tcc: Change _S_max_size, as GNU malloc won't budge.
6798 * bits/std_sstream.h: Revert.
6800 * testsuite/17_intro: header_[iosfwd, ios, iostream, iomanip,
6801 istream, ostream, streambuf, fstream, sstream].cc: New files.
6803 1999-06-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6805 * bits/std_sstream.h (stringbuf::sync): Don't use string::begin()
6808 * bits/basic_string.h (basic_string<>::_S_copy_chars): Add
6809 specializations for _CharT*, iterator and const_iterator.
6810 * src/string-inst.cc: Remove explicit instantiation, as
6811 now explicitly specialized.
6813 * bits/basic_string.h: Add a size_type parameter to _M_clone with
6814 a default value set to 0.
6815 * bits/string.tcc: In _M_clone by the call of _S_create add the
6816 value of the new parameter to _M_length. In reserve check
6817 _M_state and use _M_clone instead of _M_mutate.
6819 1999-06-30 Benjamin Kosnik <bkoz@happy.cygnus.com>
6821 * bits/basic_string.h: Fix _S_max_size.
6822 * bits/string.tcc: Add def here.
6823 * testsuite/21_strings/insert.cc: Fix.
6825 * bits/sbuf_iter.h: Remove detritus.
6826 * testsuite/24_iterators/istreambuf_iterator.cc: Add tests.
6828 * src/locale-inst.cc: Elaborate iterator/locale instantiations
6829 to resolve alpha-osf4 build problems.
6831 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
6833 * bits/string.tcc: Fix signed/unsigned issues in compares.
6834 * stl/bits/stl_deque.h: And here.
6835 * stl/bits/stl_string_fwd.h: Remove __get_c_string.
6837 1999-06-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6839 * bits/string.tcc: New implementation and interface of _M_mutate.
6840 Adapt the change in all functions that call _M_mutate.
6841 * bits/basic_string.h: And here.
6843 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
6845 * testsuite/21_strings/capacity.cc (test01): Fix.
6847 1999-06-29 Phil Edwards <pedwards@ball.com>
6849 * mknumeric_limits: Exit script if gen-num-limits isn't built.
6851 1999-06-29 Andreas Gruenbacher <agruenba@pent224.infosys.tuwien.ac.at>
6853 * stl/bits/stl_vector.h: Fix.
6854 * testsuite/23_containers/vector_cons.cc: Add.
6856 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6858 * mknumeric_limits (LDFLAGS): fix.
6860 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6862 * mknumeric_limits (LDFLAGS): set it according to the system.
6864 * math/mathconf.h (NAN): Check whether host is running under
6865 Cygwin and make the appropriate definition.
6866 * math/complex-stub.h (nan): protect declaration.
6868 1999-06-28 Benjamin Kosnik <bkoz@haight.constant.com>
6870 * bits/sbuf_iter.h: Rename internal data structure to prevent
6871 confusion between basic_ios and istreambuf_iterators internal
6872 basic_streambuf data member.
6873 * testsuite/24_iterators/istreambuf_iterator.cc: New file.
6875 * bits/basic_string.h: Remove conditionals, add input_iterator
6876 version of S_construct again.
6877 * bits/string.tcc: Same.
6878 * src/string-inst.cc: And add explicit instantiation here.
6880 * src/gen-c++config.cc (_GNU_SOURCE): Take out both _GNU_SOURCE
6881 and __USE_GNU macro defines, as single __USE_GNU use leading to
6882 confusion on glibc2.1 systems (ie, RedHat 6.0).
6884 * src/Makefile.am (headers): Add std_utility to installed headers.
6886 1999-06-25 John Potter <jpotter@eagle.lhup.edu>
6888 * stl/bits/stl_tree.h (insert_unique): Revert, just fix insert_equal.
6890 1999-06-25 Gilles Zunino <Gilles.Zunino@hei.fr>
6892 * mknumeric_limits (LDFLAGS): Swap -lc and -lgcc.
6894 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6896 * src/gen-c++config.cc (_GLIBCPP_*): Change all
6897 macros to include _GLIBCPP as a distinct namespace.
6901 * stl/bits/std_stdexcept.h: Forward-declare __Named_exception ctor.
6902 * bits/basic_string.h: Remove __get_c_string.
6903 * src/stdexcept.cc: Define ctor here.
6904 * bits/ios_base.h: And fix ios_base::failure as well.
6905 * src/ios.cc: Define here.
6907 * bits/std_streambuf.h: Add a private copy ctor and assignment
6908 operator wrapped in _G_RESOLVE_LIB_DEFECTS.
6909 * bits/ios_base.h: And here too.
6911 * bits/basic_string.h: Tweak.
6912 * testsuite/21_strings/nonmember.cc: Add operator+ tests.
6914 * src/valarray.cc: Rename to. . .
6915 * src/valarray-inst.cc: This.
6916 * src/Makefile.am (sources): Change here.
6917 * src/Makefile.in: Regenerated.
6919 1999-06-24 Vadim Egorov <egorovv@1c.ru>
6921 * bits/string.tcc(basic_string<>::_Rep::_S_create): Fixed
6924 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6925 Tom Tromey <tromey@cygnus.com>
6927 * configure.in (use_glibc2): Eek, correct for non-glibc systems.
6928 Use AM_CONDITIONAL to get us out of this jam. .
6929 * libio/Makefile.am: Same.
6930 * */Makefile: Regenerated.
6932 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6933 John Potter <jpotter@eagle.lhup.edu>
6935 * stl/bits/stl_tree.h (insert_equal): Fix.
6936 * testsuite/23_containers/multiset.cc: New file.
6938 1999-06-23 Benjamin Kosnik <bkoz@cygnus.com>
6940 * configure.in (test for glibc2): Correct AC_TRY_COMPILE so that
6941 this works correctly on glibc-2 systems. This should allow
6942 simplified linking on these systems, and successful linking on Red
6944 * configure, Makefile: Regenerate.
6946 * bits/std_cwctype.h: Add missing 'w' to _S_iswpunct_helper name.
6948 * testsuite/ext: New directory.
6949 * testsuite/ext/headers.cc: New file.
6951 1999-06-23 Vadim Egorov <egorovv@1c.ru>
6953 * stl/ext/hash_set: include missing headers
6954 * stl/ext/hash_map: Same
6955 * stl/ext/slist: Same
6957 1999-06-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6959 * bits/std_cmath.h: comment out modf. Kills build on hpux10.20
6961 1999-06-15 Benjamin Kosnik <bkoz@cygnus.com>
6963 * src/Makefile.am (sources): Regenerate.
6964 * mkcheck: Add TESTS_FILE as a way of controlling what testcases
6967 1999-06-14 Benjamin Kosnik <bkoz@cygnus.com>
6969 * src/string-inst.cc: Change _S_construct signature, to
6970 track requested allocation size versus valid input iterator range.
6971 * bits/basic_string.h: Here too.
6972 * bits/string.tcc: And here.
6974 1999-06-12 Benjamin Kosnik <bkoz@cygnus.com>
6976 * mkcheck (LOG_FILE): Correctly append errors.
6978 * stl/bits/stl_iterator.h: Revert previous, delirious, change.
6980 * bits/basic_string.h: Change _Rep::_M_data to _Rep::_M_refdata,
6981 to clarify differences between basic_string::_M_data() calls and
6982 _Rep::_M_data() calls.
6983 * bits/std_string.h: Fix.
6984 Put in check for out_of_range in substr.
6985 * bits/string.tcc: Fix for _S_find.
6987 * testsuite/21_strings/compare.cc: Add tests.
6988 * testsuite/21_strings/find.cc: New file.
6989 * testsuite/21_strings/substr: New file.
6990 * testsuite/21_strings/replace.cc: New file.
6992 1999-06-11 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6994 * bits/valarray_array.h: __restrict__ify pointers.
6996 * bits/std_valarray.h: Tweak.
6997 (valarray<T>::cshift, valarray<T>::shift): use __builtin_alloca.
6999 * bits/gslice_array.h: Tweak. Reflect changes in bits/gslice.h
7001 * bits/gslice.h: Tweak.
7002 (class gslice::_Indexer): new class.
7003 (gslice::gslice(const gslice&)): implement copy-ctor to support
7005 (gslice::operator=(const gslice&)): support ref-counted index.
7006 (gslice::_M_convert_to_index): delete.
7008 * src/valarray.cc: New file.
7009 (__gslice_to_index): turn a gslice into a valarray<size_t>
7010 (ctor gslice::_Indexer::_Indexer): implement.
7012 * src/Makefile.am (sources): add valarray.cc
7013 * src/Makefile.in: regenerate.
7015 1999-06-08 Benjamin Kosnik <bkoz@cygnus.com>
7017 * stl/bits/stl_iterator.h (__normal_iterator::const_iterator
7018 ctor): Put in a const_cast.
7020 * testsuite/21_strings/invariants.cc: New file.
7022 * testsuite/21_strings/insert.cc: Add exception handling bits.
7023 * testsuite/21_strings/ctor_copy_dtor.cc: Same.
7025 * src/wstring-inst.cc: Add c++config.h include.
7027 * bits/basic_string.h: Fix const operator[] for size == pos.
7028 Add _M_leak for rbegin, non-const.
7029 Add _M_leak for rend, non-const.
7030 Make member function at standards conformant.
7031 Add _S_terminal to _Rep for operator[] const, add this into
7033 * bits/string.tcc: Add static member definition here,
7036 * testsuite/21_strings/element_access.cc: Add tests.
7038 1999-06-08 Vadim Egorov <egorovv@1c.ru>
7040 * bits/fstream.tcc (_M_really_overflow): Fixed size of
7043 1999-06-08 Phil Edwards <pedwards@ball.com>
7045 * bits/fstream.tcc (basic_filebuf::xsputn): Fix off-by-one count
7046 caused when __testinit is true.
7047 * bits/ostream.tcc (basic_ostream::op<<(streambuf*)): Write buffer
7048 using rdbuf()->sputn rather than _M_fnumput->put.
7050 1999-06-08 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7052 * testsuite/23_containers/bitset_ctor.cc: New file.
7053 * stl/bits/std_bitset.h (__BITSET_WORDS): Fix integration bug.
7055 1999-06-08 Phil Edwards <pedwards@ball.com>
7057 * bits/fstream.tcc (basic_filebuf::underflow): Fix, rename local vars.
7059 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7061 * testsuite/21_strings/element_access.cc: Finish off these tests.
7062 * testsuite/21_strings/insert.cc (test01): Uncomment.
7063 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Finish off ctors.
7064 * bits/basic_string.h: Tweak, okay, fix for real this time.
7065 * bits/string.tcc: Same.
7066 * bits/char_traits.h: Tweak.
7068 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7070 * bits/std_cmath.h: Example of how to use the generated macro.
7071 * acconfig.h: Add macro for sinf here.
7072 * configure.in (LIBS): Add test for builtin math function sinf.
7073 * configure: Regenerated.
7075 * bits/basic_string.h: Fix _S_max_size.
7077 1999-06-06 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7079 * bits/basic_string.h: Fixes for out-of-memory segv for large strings.
7080 Remove _S_construct signature for forward_iterator_tag and
7083 * src/string-inst.cc: Same, tweaks.
7084 * bits/string.tcc: Same, tweaks.
7086 * testsuite/21_strings/ctor_copy_dtor.cc: Add/clarify tests.
7087 * mkcheck (LOG_FILE): Fix filebuf-[2,3].tst checks.
7088 * mknumeric_limits (LD_FLAGS): Add -nodefaultlibs -lc -lgcc as per
7091 * src/locale.cc: Final separation for char/wchar_t bits.
7093 1999-06-05 Phil Edwards <pedwards@ball.com>
7095 * docs/index.html: Added link to book upon request'n'agreement.
7096 * docs/23_containers/wrappers_h.txt: Added.
7097 * docs/{23_containers,27_io}/howto.html: Added sections.
7099 * bits/std_fstream.h: Tweak.
7101 1999-06-05 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7103 * src/ios.cc: Same here.
7104 * bits/std_iosfwd.h: More wchar_t defines.
7106 * bits/basic_string.h: Tweaks.
7107 * bits/string.tcc: Tweak. Fix _S_construct to check for max_size
7108 when doing error checking, as per LWG defect #83.
7110 * src/gen-c++config.cc: Fix comment.
7112 * testsuite/21_strings/ctor_copy_dtor.cc: New file, checks ctors,
7114 * testsuite/21_strings/element_access.cc: New file, checks for
7115 operator[], at(...).
7116 * testsuite/21_strings/insert.cc: New file, tests string::insert.
7117 * testsuite/21_strings/char_traits.cc: New file, tests
7118 for char_traits<char>.
7120 * bits/utility.h: Remove, again.
7121 * src/Makefile.am (std_headers): Remove utility.h.
7122 * src/Makefile.in (std_headers): Regenerate.
7124 Alfred Minarik <a8601248@unet.univie.ac.at>
7125 * bits/basic_string.h: Move __out_of_range and __length_error into
7128 1999-06-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7130 * testsuite/26_numerics/modf_float.cc: New file.
7132 * bits/std_cmath.h (modf(float, float*)): Fix signature. Correct
7133 typo: use ::modff, not ::modf.
7135 1999-06-03 Vadim Egorov <egorovv@1c.ru>
7137 * bits/string.tcc (basic_string::_M_mutate): Fixed memory
7139 * testsuite/21_strings/capacity.cc (test01): Test.
7141 1999-06-03 Phil Edwards <pedwards@ball.com>
7143 * bits/fstream.tcc: Re-order inits to stop warnings. Comment/move
7144 unused variables to within #if 0 blocks to do the same.
7145 * bits/std_fstream.h: Fix typos (one prevents compilation).
7147 1999-06-03 Benjamin Kosnik <bkoz@pacifica.cygnus.com>
7149 * src/wstring-inst.cc: Fix.
7151 1999-06-02 Benjamin Kosnik <bkoz@madcow.cygnus.com>
7153 * bits/char_traits.h: Add _G_USE_WCHAR_T macro guards.
7154 * stl/bits/stl_string_fwd.h: Same.
7155 * bits/locale_facets.h: Same.
7156 * bits/locale_facets.tcc: Same.
7157 * src/wstring-inst.cc: And here.
7159 * src/gen-c++config.cc: Comment _G_USE_WCHAR_T. Leading to
7160 problems on HPUX 10.20.
7161 * your-build-directory-here/bits/c++config.h: Just kidding, do it
7162 here as a temporary hack till the compiler/host problems get
7165 * bits/locale_facets.tcc (num_get::do_get): Change from ifdef
7166 HAVE_STRTOLD to HAVE_STRTOLD && !(__hpux). Apparently, problems
7167 converting "long double" to struct long_double. Probably should be
7168 done with one macro (HAVE_STRTOLD) at configure time.
7170 * bits/std_cmath.h: Comment out pow(double, int) defintion as
7171 gives re-declaration under hpux10.20. Revert previous change, as
7172 kills linux/x86, solaris 2.7, hpux builds. These should be done
7173 using autoconf, see std_cctype.h and the solutions started in
7174 configure.in (see config.h for the generated file.)
7176 * mknumeric_limits (LDFLAGS): Remove '-nodefaultlibs -lc', as
7177 -nodefaultlibs prevents linking under HPUX 10.20 as __main is not
7180 * docs/index.html: Add some useful links.
7181 * docs/17_intro/contribute.html: Fix broken links.
7183 1999-06-02 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7185 * mkcheck (LOG_FILE): Add !/bin/bash instead of cygnus-style
7186 paths. The rest of the world should be able to run this script
7189 * src/Makefile.am ($(generated_headers)): Remove comment.
7190 * Makefile*: Regenerate.
7192 * bits/std_locale.h: Remove detritus.
7193 * bits/localefwd.h: Add <cctype> include to undefine the isspace
7196 1999-06-01 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7198 * src/gen-c++config.cc: New file. Making c++config.h at configure
7199 time by catting this file (nee bits/config.h) with the build
7200 directories config.h. This is not a complete or perfect solution
7201 but is better than what was in place previously.
7202 * bits/c++config.h: Rename/move to above.
7203 * src/Makefile.am (headers): Remove c++config.h.
7204 (myinstallheaders). Add.
7205 * Makefile*: Regenerated.
7207 * bits/std_cwchar.h: Add include of c++config.h for HAVE_*
7208 definitions, so that wmemcmp, wcslen, wmemchr, etc are properly
7209 declared only if not present in the host's wchar.h.
7211 * bits/locale_facets.tcc (std): Change _G_USE_STRTO* to HAVE_STRTO*.
7213 * bits/std_cmath.h: Define out, for the moment. Linux has no
7214 __buitin_fsqrtl? Probably need some kind of configure trickery
7217 * src/Makefile.*: Regenerate.
7218 * bits/c++config.h: Add config.h include.
7220 * bits/std_cwchar.h: Remove remaining #error guard.
7222 * acconfig.h: Add bits for HAVE_LC_MESSAGES.
7224 * configure.in (LIBS): Replace previous effort for mbstate_t and
7225 strtold/strtof with this implementation.
7227 1999 06-01 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7229 * bits/std_cmath.h: Tweak. Add more functions. Use __builtin_xxx
7232 1999-05-28 Benjamin Kosnik <bkoz@cygnus.com>
7234 * bits/locale_facets.tcc (std): Eek: this left in. Autoconf bits
7235 for determining mbstate_t differences across various hosts not
7238 1999-05-26 Benjamin Kosnik <bkoz@nabi.net>
7240 * bits/locale_facets.tcc: Change to ifdef.
7242 * bits/std_sstream.h (stringbuf::setbuf): Remove dynamic_cast.
7243 * bits/std_fstream.h (filebuf::setbuf): Same.
7245 * bits/std_istream.h: Add ws declaration.
7246 * bits/istream.tcc: Stub out definition.
7248 * docs/index.html: Fix broken link for design.txt.
7250 * configure.in: Test for mbstate_t. If wchar.h doesn't have it,
7251 then set _G_NEED_MBSTATE_T.
7252 * configure: Regenerate.
7253 * bits/c++config.h: Move mbstate_t define.
7254 * bits/std_cwchar.h: To here.
7256 1999-05-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7258 * bits/std_sstream.h:
7259 basic_stringbuf<>::basic_stringbuf: fix.
7260 basic_stringbuf<>::setbuf:
7261 remove the temporary __string_type object,
7262 remove the unnecessary dynymic_cast in the return value,
7263 change the type of the returned value from __streambuf_type*
7264 to basic_stringbuf<_CharT, _Traits, _Alloc>*.
7266 1999-05-25 Phil Edwards <pedwards@ball.com>
7268 * bits/std_streambuf.h (streambuf::setbuf): Always return streambuf*.
7270 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7272 * bits/std_cmath.h: Tweak. Add float versions of the math functions
7273 in <math.h>. <cmath> still incomplete and incorrekt.
7275 1999-05-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7277 * mknumeric_limits (LDFLAGS): set appropriate link flags.
7279 1999-05-23 Phil Edwards <pedwards@ball.com>
7281 * docs/17_intro/howto.html: Added links to text docs,
7283 * docs/21_strings/howto.html: Updated sections and links.
7284 * docs/21_strings/{gotw29a.txt,stringtok_h.txt}: Added.
7285 * docs/faq/index.html: Updated what-works for sixth
7286 snapshot. Also a number of "internal" links have been
7287 fixed, now that the web pages are the docs directory...
7288 * docs/faq/index.txt: Regenerated.
7290 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7292 * bits/basic_string.h: Add Nathan's documentation on the string class.
7294 * testsuite/27_io/ios_members_static.cc: New file, for testing
7295 ios_base::sync_with_stdio.
7297 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7299 * bits/std_locale.h: Simplify includes.
7300 * bits/loccore.h: Delete.
7301 * bits/localefwd.h: Renamed, trimmed.
7302 * bits/locfacets.h: Delete.
7303 * bits/locale_facets.h: Rename, expanded.
7304 * bits/loccore.tcc: Deleted.
7305 * bits/locfacets.tcc: Deleted.
7306 * bits/locale_facets.tcc: Resultant merge.
7307 * bits/std_fstream.h: Modify include.
7308 * bits/ostream.tcc: Same.
7309 * bits/istream.tcc: Same.
7311 * src/locale-inst.cc: And here.
7312 * src/locale.cc: Ditto.
7313 * src/Makefile.am: Updated.
7314 * src/Makefile.in: Rengenerated.
7316 * bits/std_istream.h: Move istream::sentry ctor definition.
7317 * bits/istream.tcc: Move istream::sentry ctor here.
7318 Add more detailed locale include here for ctype member functions.
7319 * bits/ostream.tcc (std): And here.
7321 * bits/sbuf_iter.h: Include std_streambuf.h
7323 * bits/locfacets.h: Start separating this into a localeimp.h file.
7324 * bits/loccore.h: Start separating this into a localefwd.h file.
7325 Add std_climits for CHAR_BIT.
7327 * bits/ios_base.h (ios_base::sync_with_stdio): Stub in.
7329 * bits/char_traits.h: Tweak.
7331 * bits/ios_base.h: Remove INT_MAX, use 1<<16.
7333 * bits/std_ostream.h: Remove c++config.h include.
7334 * bits/std_istream.h: Same.
7335 * bits/std_streambuf.h: Same.
7336 * bits/std_fstream.h: Same.
7337 * bits/std_sstream.h: And here.
7339 * bits/std_iosfwd.h: Add _G_RESOLVE_LIB_DEFECTS here for streampos.
7340 * bits/char_traits.h: Add include of std_cwchar.h for mbstate_t.
7341 * bits/fpos.h: Tweak, format.
7343 * std/ciso646: New file.
7344 * bits/std_ciso646.h: New file.
7345 * src/Makefile.am (std_headers): Add ciso646.
7346 (headers): Add bits/std_ciso646.h.
7347 * src/Makefile.in: Regenerate.
7348 * testsuite/17_intro/header_ciso646.cc: New file, disable
7351 * bits/fpos.h: Remove libio.h include.
7352 * bits/basic_file.h: And here.
7353 * bits/std_ios.h: Put here.
7355 * src/ios.cc: Simplify includes, tweak.
7356 * bits/std_ios.h: Simplify include order.
7357 * bits/ios_base.h: Modify ios_base::failure.
7359 * stl/bits/std_numeric.h: Change include from stl_iterator to
7362 1999-05-19 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7364 * std/iostream: Remove static member __ioint.
7365 * bits/std_iostream.h: Put here.
7367 * stl/bits/std_numeric.h: Remove unneccessary std_iostream.h include.
7368 * stl/bits/stl_algobase.h: Same.
7369 * testsuite/27_io/iostream_objects.cc: Regression tests.
7370 * testsuite/27_io/hello.cc: Remove, subset of above.
7372 1999-05-19 Phil Edwards <pedwards@ball.com>
7374 * docs/index.html: Tweak, update.
7376 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7378 * docs/17_intro/RELEASE-NOTES: remove outdated
7379 documentation about numeric_limits. Correct CXXINCLUDE setting
7382 1999-05-18 Phil Edwards <pedwards@ball.com>
7384 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
7385 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
7386 27_io}/howto.html: Created, with some initial entries.
7387 * docs/faq/index.html: Fixed some links.
7388 * docs/faq/index.txt: Regenerated.
7390 1999-05-18 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7392 * bits/c++config.h (__GLIBCPP__): Set version to 19990518.
7394 * docs/17_intro/RELEASE-NOTES: Update.
7395 * docs/index.html: Correct link to mailing list help page, update News.
7396 * docs/faq/index.html: Change fifth to sixth for snapshot.
7398 * src/Makefile.am (myinstallheaders): Bring over Gaby's changes to
7399 install $(top_builddir)/bits/std_limits.h into
7400 $(myincludepfx)/bits. This was mistakenly omitted from yesterday's
7401 Makefile.am changes.
7402 * *Makefile*: Regenerate using automake.
7404 * mkcheck (LOG_FILE): Fix filebuf directory oddness.
7405 * testsuite/27_io/filebuf.cc: Same.
7407 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7409 * docs/17_intro/CHECKLIST: update.
7410 * docs/17_intro/TODO: update.
7412 1999-05-17 Phil Edwards <pedwards@ball.com>
7414 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
7415 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
7416 27_io}/howto.html: Created, with some initial entries.
7417 * docs/faq/index.html: Fixed some links.
7418 * docs/faq/index.txt: Regenerated.
7420 1999-05-17 Benjamin Kosnik <bkoz@unhappy.cygnus.com>
7422 * src/Makefile.am (myinstallheaders): Missed removing missing.h.
7423 * Makefile.in*: Regenerate.
7425 1999-05-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
7427 * bits/std_streambuf.h: Same.
7429 * bits/loccore.h (_Bad_use_facet): Remove bits warned about.
7430 * bits/locfacets.h (std): Same.
7431 * bits/sstream.tcc: Same.
7432 * testsuite/27_io/stringstream.cc: Tweak.
7434 * testsuite/27_io/filebuf.cc: Adjust.
7435 * testsuite/21_strings/capacity.cc (test01): Add more
7436 string::reserve tests.
7438 * bits/c++config.h: Remove broken CCTYPE.
7439 * bits/std_cctype.h: Tweak, remove de-macroization, enable
7440 sequestered topper implementation.
7441 * bits/std_cwctype.h: Same.
7443 * bits/missing.h: Remove.
7444 * bits/std_locale.h: Remove missing.h include.
7446 * stl/bits/std_bitset.h (bitset::bitset(string): Tweak to compile.
7448 * src/Makefile.am (headers): Add bits/std_cwctype.h.
7449 INCLUDES: Add top_builddir.
7450 * src/Makefile.in: Regenerate.
7452 * Makefile.am: Add check and check-install as new targets.
7453 * testsuite/make_check_libfree++: Move to. . .
7455 * configure.in: Tweak versions.
7456 * mknumeric_limits: Set paths correctly.
7458 1999-05-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7460 * src/Makefile.in (myinstallheaders): add rule to install
7463 * bits/slice.h (class slice): don't const-qualify data members
7464 since the copy and assignment operator is implicitly used. The
7465 valarray specification is definitively a bad one.
7467 * Makefile.in (generate-limits-sources): fix typo.
7469 * docs/text/TODO: update.
7470 * docs/text/CHECKLIST: update.
7472 * bits/gslice.h (gslice): fix bugglet.
7473 (gslice::gslice): set _M_index_size to 0 whenever given lengths
7476 * src/Makefile.am (libstdc___la_SOURCES): add gen-num-limits.
7477 * src/Makefile.in (libstdc___la_SOURCES): keep in sync.
7478 [Note: **/Makefile.in should be generated from the corresponding
7479 Makefile.am. The current situation is a litte chaotic. ]
7481 1999-05-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7483 * mknumeric_limits: tweak.
7485 * Makefile.in (all): add target generate-limits-sources.
7486 (generate-limits-sources): make a directory bits/ in top_builddir
7487 where the generated std_limits.h is put; generate limitsMEMBERs.cc
7488 directly under $(top_builddir)/src. Remains to put the appropriate
7489 rule for installing std_limits.h.
7491 * src/Makefile.in (headers): remove bits/std_limits.h to this list.
7492 (INCLUDES): add -I$(top_builddir) for bits/std_limits.h which is
7493 now generated at build-time in the build directory
7494 (libstdc___la_SOURCES): remove limitsMEMBERS.cc form this list
7495 * src/Makefile.am: reflect changes in src/Makefile.in
7497 1999-05-12 Phil Edwards <pedwards@ball.com>
7499 * docs/faq/index.html: Add more entries (5.4,5.5), finish
7500 all but one empty entry. Add links for HOWTOs, but no files yet.
7501 (Corrected HOWTO links are for bkoz's new scheme.)
7502 * docs/faq/index.txt: Regenerated.
7504 1999-05-12 Benjamin Kosnik <bkoz@happy.cygnus.com>
7506 * testsuite/17_intro/headers.cc: New file.
7507 * stl/bits/std_queue.h: Change stl_bvector.h include path.
7508 * bits/std_cwctype.h: New file.
7510 * testsuite/27_io/filebuf.cc: Need to tweak directory structure.
7512 1999-05-11 Benjamin Kosnik <bkoz@loony.cygnus.com>
7514 * stl/bits/stl_config.h (__USE_MALLOC): Change underlying allocator.
7515 Check __USE_MALLOC before defining specializations containing
7516 __default_alloc_template.
7517 * src/stl-inst.cc: Here too.
7519 * bits/basic_string.h: Change.
7521 * testsuite/make_check_libfree++: More tweaks.
7522 * testsuite/21/capacity.cc: New file.
7524 * src/string.cc: Rename to be consistent with other inst files.
7525 Rename to string-inst.cc.
7526 * src/string*.cc: Change include.
7527 * src/wstring.cc: Rename to wstring-inst.cc.
7528 * src/wstring*.cc: Ditto.
7529 * src/Makefile.in: Also here.
7530 * src/Makefile.am: Ditto.
7532 * src/traits.cc: Remove.
7533 * src/wtraits.cc: Same.
7535 Try a new way of organizing documentation, one with synchronicity
7536 between testsuites and docs subdirectories, and see who yelps.
7537 * docs/html: Remove, use chapter and subject specific directories
7538 instead of forcing things immediately into format of
7542 * docs/faq/text, docs/faq/html: Remove, put in the docs/faq
7543 directory and sort by filename and extension.
7544 * docs/17_intro, 18_support, 19_diagnostics, 20_util, 21_strings,
7545 22_locale, 23_containers, 24_iterators, 25_algorithms,
7546 26_numerics, 27_io: Add.
7547 * docs/17_intro/*: Populate with all the text files. . .
7548 * docs/index.html: Construct.
7550 * testsuite/*: Update with same names as the docs subdir.
7551 * testsuite/results: Where to stash conformance results for the
7552 different snapshots, so that progress/size/speed issues can be
7555 1999-05-10 Benjamin Kosnik <bkoz@loony.cygnus.com>
7557 * src/string.cc: Add _S_copy_chars instantiation, as well as
7558 string::binary operators !=, ==, etc.
7560 * src/Makefile.am (CXXFLAGS): Remove -fvtable-thunks.
7561 * src/Makefile.in (CXXFLAGS): Same here.
7562 * testsuite/make_check_libfree++ (CXX_FLAG): And here.
7564 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
7566 * src/string.cc: Add missing member functions to instantiation list.
7568 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
7570 * src/misc-inst.cc: Remove unused string instantiations.
7572 * bits/string.tcc: Tweak, fix.
7573 * bits/basic_string.h: Format. Fix reported error with c_str().
7575 * testsuite/make_check_libfree++: Tweak for shared builds.
7576 * testsuite/21/operations.cc: New file for testing c_str() etc.
7578 1999-05-06 Benjamin Kosnik <bkoz@cygnus.com>
7579 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7581 * stl/bits/stl_vector.h: Fix the code of vector<> for usage with
7582 an iterator class. Delineate pointer versus iterator differences
7584 * 23/vector_capacity.cc: New file, tests for above.
7586 1999-05-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7588 * mknumeric_limits: Fix typo. 'unsigned lont' should read
7590 * src/Makefile.am (libstdc___la_SOURCES): add limitsMEMBERS.cc,
7591 generated by mknumeric_limits to the list. Now std_limits.h is
7593 * src/Makefile.in (generate-numeric-limits): new target to handle
7594 automatic generation of bits/std_limits.h and src/limitsMEMBERS.cc.
7595 (all): add target generate-numeric-limits.
7596 (libstdc___la_OBJECTS): add limitsMEMBERS.lo
7597 (libstdc___la_SOURCES): add limitsMEMBERS.cc
7599 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
7602 * bits/c++config.h (_G_USE_CTYPE_ISBIT): Defines new macro for
7603 mask values in ctype_base. Move hacks for _ISBit to locfacets.h.
7604 * bits/locfacts.h: Here.
7606 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
7607 Ulrich Drepper <drepper@cygnus.com>
7609 Solaris build issues.
7610 * bits/c++config.h: Define new macros, _G_USE_STRTOF and
7613 * bits/locfacets.tcc (num_get::do_get): Tweak long double and
7614 float overloads to use the above macros. Account for the lack of
7615 strtold on some systems, and revert back to using sscanf.
7617 1999-05-04 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7619 * bits/locfacets.tcc (num_get::do_get): Check the errno variable.
7620 Use strtoul/strtoull for unsigned types. Check the ranges for
7621 short/unsigned short and if necessary for int/unsigned int.
7623 1999-05-04 Benjamin Kosnik <bkoz@cygnus.com>
7625 * src/gen-num-limits.cc (round_style): Need to use mknumericlimits
7626 to generate bits/std_limits.h now, as the SGI std_limits.h is
7627 being depricated. Not done, but should be done immediately: need
7628 to make sure this script is run as part of the configuration
7629 process, because without it "make" in a configured build directory
7630 will fail. Also tweaked: added a space for float_round_style, and
7631 used static_cast of zero to default-initialize, which should be ok
7632 according to the standard. (see 8.5 p5 and 20.1.3).
7633 * mknumeric_limits (OUT_C): Need this for x86 long
7636 * bits/basic_file.h: Include libio.h, not libioP.h.
7637 * src/basic_file.cc: And add libioP.h include here, so that
7638 _IO_init, et. al are well-declared.
7640 * testsuite/make_check_libfree++ (LIB_PATH): Test installed
7641 headers, not source directory headers.
7643 * src/Makefile.am (headers): Add stl_range_errors.h, also adjust
7644 for ext/*. Also add basic_file.h.
7645 * src/Makefile.in (headers): Same.
7647 * bits/std_string.h: Reduce dependencies for faster
7648 pre-processing. Move istream and ostream specific defines into
7649 istream.tcc and ostream.tcc respectively.
7650 * bits/string.tcc: And here.
7651 * bits/basic_string.h: Move getline inline out-of-line, and to
7653 * bits/istream.tcc: Move string::getline and operator>> here.
7654 * bits/ostream.tcc: And here too.
7656 * bits/utility.h: Remove, as clashes with a standard header. Put
7657 __OUTOFRANGE and __LENGTHERROR macros into string.tcc for the time
7658 being, until this can be combined with SGI's approach.
7659 * bits/string.tcc: Add macros, as above.
7660 * bits/loccore.h: Add _Count_ones defines.
7661 * bits/std_string.h: And here too.
7662 * bits/std_locale.h: And here.
7663 * bits/std_ios.h: Take out include here.
7664 * src/Makefile.am (headers): Remove utility.h
7665 * src/Makefile.in (headers): Remove utility.h
7667 * stl/bits/*: Update to SGI STL 3.20.
7668 * stl/ext/pthread_alloc: Delete this file.
7670 1999-05-04 Phil Edwards <pedwards@ball.com>
7672 * docs/faq/html/index.html: Add more entries
7673 * docs/faq/html/index.txt: regenerated.
7675 1999-05-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7677 * src/gen-num-limits.cc (DO_DEFINE_MIN_MAX): fix typo.
7679 1999-04-29 Benjamin Kosnik <bkoz@haight.cygnus.com>
7681 * bits/locfacets.tcc (num_get::do_get): Re-implement, with input
7682 from Ulrich and Nathan. Remove extraneous string class usage,
7683 tweak, clean, simplify and consolidate with a eye towards removing
7684 duplcate code. Use strto[l, ll, f, d, ld] instead of sscanf.
7685 Not done: dealing with leading zeros, wchar_t work.
7686 * bits/locfacets.h: And here too.
7690 1999-04-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7693 * docs/faq/: New directory.
7694 * docs/faq/html/: Likewise.
7695 * docs/faq/text/: Likewise.
7696 * docs/faq/html/index.html: New file.
7697 * docs/faq/html/index.txt: Likewise. Generated from
7698 docs/faq/html/index.html by lynx.
7700 1999-04-28 Benjamin Kosnik <bkoz@happy.cygnus.com>
7701 Ryszard Kabatek and Branko Cibej
7703 * bits/locfacets.tcc: Modify.
7705 1999-04-27 Benjamin Kosnik <bkoz@happy.cygnus.com>
7707 * bits/sbuf_iter.h: Clean, fix istreambuf_iterator, make
7708 conformant to 14882, wrap non-standard extensions with
7709 _G_RESOLVE_LIB_DEFECTS, remove detritus and cruft, rennovate.
7710 * bits/locfacets.tcc (num_get::do_get(bool)): Return correct iterator.
7712 * testsuite/27/istringstream_formatted.cc: Add tests.
7714 * bits/locfacets.h: Remove cruft from _Format_cache, continue
7715 commenting, simplify.
7716 * bits/locfacets.tcc: Same.
7718 1999-04-27 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7719 * bits/locfacets.tcc (num_get::do_get):
7720 Fix the sscanf format parameter
7721 for long long 'll' (as in C9X) instead of 'l'.
7722 Fix the order of sscanf format parameters: "%dl" --> "%ld".
7723 Change the type of the local variable '__conv' from 'string'
7724 to 'const char*' and adapt the change.
7726 1999-04-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7728 * bits/locfacets.h: Document _Format_cache, and name data members
7729 after the corresponding functions in numpunct. For instance:
7730 _M_grsep -> _M_thousands_sep, and _M_decsep -> _M_decimal_point.
7731 Break apart _M_boolnames{2] into _M_truename and _M_falsename.
7732 * bits/locfacets.tcc: Same.
7734 * bits/locfacets.h (num_get::_M_extract): Don't allow groupings to
7735 stop parsing--store for later analysis.
7736 * testsuite/27/istringstream_formatted.cc: Add cases.
7738 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7740 * bits/valarray_meta.h: tweak.
7741 (_UnFunBase, _BinFunBase, _BinFunBase1, _BinFunBase2, _BinBase1,
7742 _BinFunBase2): rename typedef-name _Tp to _Vt to keep the compiler
7743 happy -- boggus warning.
7744 * bits/std_valarray.h: Fix.
7745 (valarray<T>::shift): Fix. Update comment.
7746 (valarray<T>::cshift): Fix.
7748 1999-04-23 Benjamin Kosnik <bkoz@cygnus.com>
7750 * testsuite/27filebuf-2.txt: Delete.
7751 * testsuite/27/filebuf.cc: Put output files directly into the
7752 correct subdirectory (27).
7754 Alexandre Petit-Bianco <apbianco@cygnus.com>
7755 * testsuite/make_check_libfree++: Check generated (*.txt) file
7756 against stored results file (*.tst).
7758 1999-04-22 Benjamin Kosnik <bkoz@nabi.net>
7760 * bits/locfacets.tcc: Fix.
7762 * bits/fstream.tcc (filebuf::seekoff): Output current out pointer.
7763 (filebuf::overflow): Simplify.
7764 (filebuf::xsputn): Correctly handle indeterminate state.
7766 * testsuite/27/istringstream_formatted.cc: Tweak.
7767 * testsuite/27/filebuf.cc: Tweak.
7768 * testsuite/27/filebuf-3.tst: Correct: this is the canonical
7769 results file, please use this in the future to guarantee filebuf
7770 positioning accuracy.
7771 * testsuite/27/filebuf-2.tst: Same.
7773 1999-04-21 Benjamin Kosnik <bkoz@cygnus.com>
7775 * bits/fstream.tcc (filebuf::xsputn): Add.
7776 * bits/std_fstream.h: Declare.
7778 * src/basic_file.cc (__basic_file::open): Add O_CREAT to open
7779 calls using ios_base::trunc.
7781 * bits/sstream.tcc (streambuf::overflow): Fix crasher.
7783 * testsuite/make_check_libfree++ (LOG_FILE): Ugh. Another fix.
7784 * testsuite/27/27stringstream.cc: Same.
7785 * testsuite/27/27stringbuf.cc: More tweaks.
7786 * testsuite/27/27filebuf-2.txt: Remove.
7788 * testsuite/27/27filebuf-1.tst: Append, to force byte size over
7789 BUFSIZE so that overflows/underflow can be tested with default
7791 * testsuite/27/27filebuf-1.tst: Add.
7793 * testsuite/*/*: Remove pre-pended chapter names, as they
7794 duplicate the chapter info contained in the enclosing directory
7797 1999-04-20 Benjamin Kosnik <bkoz@cygnus.com>
7799 * bits/streambuf.tcc (streambuf::xsputn): Re-implement to conform
7800 to sputc conditions.
7802 * bits/ios_base.h: Define here.
7803 * src/ios.cc (ios_base::_M_clear): Remove hack.
7804 * bits/basic_ios.h: Fix rdstate().
7806 * bits/sstream.tcc (streambuf::seekoff): Fix.
7807 * bits/fstream.tcc (filebuf::seekoff): Tweak comments.
7809 * testsuite/make_check_libfree++ (LOG_FILE): More c-c-c-changes.
7810 * testsuite/24/24iterator.cc: Add/Fixes for DEBUG_ASSERT.
7811 * testsuite/27/27stringstream.cc: Same.
7812 * testsuite/27/27stringbuf.cc: Same.
7813 * testsuite/27/27istringstream_formatted.cc: Same.
7814 * testsuite/27/27filebuf.cc: Same.
7816 * bits/locfacets.h: Remove specializations for messages<char> and
7817 messages<wchar_t> ctors. Same for moneypunct. Not required, not used.
7818 * src/locale.cc: Remove definitions for above.
7819 * src/misc-inst.cc: Revert, take out iomanip.h include.
7820 * bits/std_iomanip.h: Tweak, format.
7822 1999-04-19 Benjamin Kosnik <bkoz@cygnus.com>
7824 * bits/loccore.h: Format, move inline.
7825 * bits/locfacets.tcc: Same.
7826 * bits/locfacets.h: Same.
7828 Ulrich Drepper <drepper@cygnus.com>
7829 * aclocal.m4: Re-generate.
7830 * configure, configure.in: Same.
7831 * m4/lc_messages.m4: New file.
7833 1999-04-18 Benjamin Kosnik <bkoz@cygnus.com>
7835 * bits/std_ostream.h: Fix typedef for wchar_t instantiations.
7836 * bits/sstream.tcc: Tweak.
7838 * std/iostream: Put __ioinit inside macro guards.
7840 * src/stlinst.cc: Delete and move to . . .
7841 * src/stl-inst.cc: New file, plus wrapping in namespace std.
7842 * src/Makefile.in: Change.
7843 * src/Makefile.am: Same.
7844 * src/misc-inst.cc: Add istringstream/ostringstream instantiations.
7846 * testsuite/make_check_libfree++: Efficiently format for minimal
7847 space. Enforce stricter execution tests by enabling
7850 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
7852 * docs/text/RELEASE-NOTES: Fix include typo.
7854 * src/Makefile.am (headers): Add istream.tcc.
7855 * src/Makefile.in (headers): Add istream.tcc.
7857 * ltconfig, ltmain.sh, libtool: Update to libtool-1.2g.
7859 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
7861 * bits/locfacets.tcc (num_get::do_get(long)): Finish roughing in.
7862 * bits/locfacets.h (num_get::_M_extract): New functin:
7863 consolidate logic for do_get(...) members.
7865 * bits/sbuf_iter.h (istreambuf_iterator::operator++()): Fix.
7866 * testsuite/27/27istringstream_formatted.cc: Add.
7868 1999-04-16 Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de>
7870 * src/basic_file.cc (__basic_file::open): Fix thinko in
7871 _G_HAVE_IO_FILE_OPEN bits.
7872 * bits/std_istream.h (sentry::sentry(istream, bool)): Fix isspace bug.
7873 * bits/std_cmath.h: Add stdlib.h include for ldiv_t.
7874 * src/complex.cc (FCT): Qualify all functions with global namespace.
7875 * src/locale.cc: Don't qualify memcpy and setlocale.
7876 * src/stdexcept.cc (__out_of_range): Qualify out_of_range with std::.
7877 (__length_error): Likewise, for length_error.
7878 * src/stlinst.cc: Qualify instantiations with std::.
7880 1999-04-15 Benjamin Kosnik <bkoz@cygnus.com>
7882 * C++STYLE: Add ChangeLog guidelines for member functions.
7885 * BADNAMES, BUGS, C++STYLE, CHECKLIST, COPYING,
7886 DESIGN, HEADER_POLICY, PROBLEMS, RELEASE-NOTES, TODO: Moved into
7887 docs/text and made less strident.
7889 * bits/fstream.tcc: Change non-standard ctor to match Sun's sematics.
7890 * bits/std_fstream.h: Same.
7893 * bits/locfacets.h: Touch.
7895 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
7897 * math/cexp.c (cexp): Use NAN instead of nan("").
7898 Reported by joel reed <joelreed@yahoo.com>.
7900 * libio/libioP.h: Define _IO_seek_fpos_t and _IO_seek_off_t based on
7901 _G_IO_IO_FILE_VERSION. Use these types in the prototypes.
7902 * libio/fileops.c: Use _IO_seek_fpos_t and _IO_seek_off_t types
7903 instead of #if cascades.
7904 * libio/genops.c: Likewise.
7905 * libio/ioseekoff.c: Likewise.
7906 * libio/ioseekpos.c: Likewise.
7907 * libio/strops.c: Likewise.
7908 Patch by Chip Salzenberg <chip@perlsupport.com>.
7910 1999-04-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7912 * docs: New directory.
7913 * docs/html: Likewise.
7914 * docs/text: Likewise.
7915 * docs/image: Likewise.
7917 * bits/std_cmath.h: Add new functions.
7918 (abs): overload for long and double.
7919 (div): overload for long.
7921 * bits/valarray_array.h: Fix.
7922 * bits/gslice.h: Adjust friend.
7923 * bits/slice_array.h: likewise.
7924 * bits/valarray_meta.h: likewise.
7926 1999-04-13 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7928 * bits/locfacets.h: More changes, for num_get for insertion
7929 operators for integral types. Comment fields in _Format_cache.
7930 * bits/locfacets.tcc: And here too: add preliminary long version.
7931 * testsuite/27/27istringstream_formatted.cc: Add cases.
7933 1999-04-13 Mark Elbrecht <snowball3@usa.net>
7935 * configure.in: Add locale.h to AC_CHECK_HEADERS argument. Call
7936 AC_LC_MESSAGES macro.
7937 * aclocal.m4 (AC_LC_MESSAGES): New. Determines if a target
7938 supports LC_MESSAGES.
7939 * config.h.in: Add entry for HAVE_LC_MESSAGES.
7940 * src/locale.cc (locale::_S_normalize_category): Use the
7941 HAVE_LC_MESSAGES macro to check for LC_MESSAGES support instead of
7942 _G_NO_CLOCALE_HAS_MESSAGES.
7943 * aclocal.m4 (AM_PROG_LD): For DOS style paths, simplify test to
7944 '?:' from '?:\\' so any path beginning with a drive name matches.
7946 1999-04-12 Mark Elbrecht <snowball3@usa.net>
7948 * src/basic_file.cc(sys_open) [O_BINARY]: Declare __testb.
7950 1999-04-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7952 * bits/locfacets.h: Tweak.
7953 * bits/locfacets.tcc(do_get): Clean/fix bool method.
7955 * testsuite/21/21nonmember.cc: Same.
7956 * testsuite/21/21compare.cc: Fix license.
7957 * testsuite/27/27istringstream_formatted.cc: New file.
7959 1999-04-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7961 * bits/valarray_meta.h: _BinFunBase1, _BinFunBase2, _BinBase1,
7962 _BinBase2: new template classes; put in there to work around a
7963 compiler limitation. The whole valarray architecture is now
7966 1999-04-08 Benjamin Kosnik <bkoz@haight.constant.com>
7968 * bits/locfacets.tcc: Fix, format.
7969 * bits/locfacets.h: Fix.
7970 * src/locale.cc: Same, plus format.
7972 * bits/basic_string.h: Re-add definition here.
7973 * src/string.cc: Take out.
7975 1999-04-08 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7977 * bits/std_valarray.h: tweak.
7978 * bits/valarray_array.h tweak. use _Expr.
7979 * bits/slice_array.h: likewise.
7980 * bits/gslice_array.h: likewise.
7981 * bits/mask_array.h: likewise.
7982 * bits/indirect_array.h: likewise.
7983 * bits/valarray_meta.h: tweak.
7984 _UnFunBase, _UnFunClos, _BinFunBase, _FunBase, _ValFunClos,
7985 _RefFunClos, _UnBase, _UnClos, _BinBase, _BinClos, _SClos, _GClos,
7986 _IClos: new template classes.
7987 _Meta: renamed to _Expr. Made template with args.
7988 _Constant: made template with two args.
7990 1999-04-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7992 * bits/valarray_array.h: tweak.
7994 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
7996 * bits/basic_string.h: Whoops--fix blip.
7998 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
8000 Update to SGI STL 3.13
8001 * bits/basic_string.h: Add __get_c_string definition.
8002 * stl/bits/stl_range_errors.h: New file.
8003 * stl/bits/std_bvector.h: Same.
8004 * stl/bits/*: Update.
8006 1999-04-04 1999 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8008 * bits/slice_array.h: tweak.
8009 * bits/gslice_array.h: tweak.
8010 * bits/mask_array.h: tweak.
8011 * bits/indirect_array.h: tweak.
8012 * bits/valarray_array.h: tweak.
8013 (__valarray_copy): replace copy with memcpy.
8014 * bits/std_valarray.h: use __valarray_copy whenever possible.
8015 use __valarray_fill instead of fill.
8017 1999-04-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8019 * src/gen-num-limits.cc: new file
8020 * mknumeric_limits: Ditto.
8022 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
8024 * bits/locfacets.tcc: Do a stub version of num_get for short, int,
8026 * bits/locfacets.h: Add num_get::get methods overloaded for int
8027 and short, to resolve ambiguous overloads in istream insertion
8030 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
8032 * bits/std_istream.h: Fix.
8033 * bits/istream.tcc: Fix.
8035 1999-03-30 Philip Martin <pm@corris.dircon.co.uk>
8037 * testsuite/24/24iterator.cc: fix ++/-- tests
8039 1999-03-29 Benjamin Kosnik <bkoz@cygnus.com>
8041 * bits/std_ostream.h: Looks like this, actually: Fix up eh-isms.
8042 * bits/ostream.tcc: Same.
8044 * bits/std_istream.h: Bring over ostream changes, implement member
8045 functions. Baseline.
8046 * bits/istream.tcc: New file.
8048 1999-03-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8050 * bits/gslice.h (class gslice): fix friends template.
8052 1999-03-23 Benjamin Kosnik <bkoz@cygnus.com>
8054 * bits/std_ostream.h: Fix sentry objects, implement seekp, tellp,
8056 * bits/ostream.tcc: Same.
8058 * bits/std_istream.h: Minor tweaks.
8060 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
8062 * src/locale-inst.cc: Remove duplicate instantiations.
8063 * bits/locfacets.tcc: Tweak definitions of static member.
8065 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
8067 * bits/std_fstream.h: Format: prepend "__" in front of
8068 non-standard typedefs.
8069 * bits/fstream.tcc: Match.
8070 * bits/std_streambuf.h: Format: prepend "__" in front of
8071 non-standard typedefs.
8073 * bits/sstream.tcc: Match.
8074 * bits/std_istream.h: Format.
8075 * src/locale-inst.cc: Add num_get instantiations.
8077 * bits/std_sstream.h: Fix crash in stringstreams. Remove member
8078 _M_sb, a basic_stringbuf object, and use the basic_ios pointer
8079 _M_streambuf instead. Make initializations sane. Fix
8080 allocation/deallocation of _M_streambuf.
8081 * bits/std_ostream.h: Fix initialization code.
8082 (ctor): Eliminate redundant this->init(), let base class initialize.
8083 (default ctor): New. Assume base classes already initialzed.
8084 * bits/std_istream.h: Parallel work to ostream.
8085 (ctor): Eliminate redundant this->init(), let base class initialize.
8086 (default ctor): New. Assume base classes already initialzed.
8087 Fix initialization of basic_iostream.
8089 * bits/std_fstream.h: While we're at it, make initializations sane
8090 here too. Now matches sstream.h.
8092 * bits/string.tcc: Fix crash in basic_string::compare.
8093 * bits/basic_string.h: And here.
8094 * bits/c++config.h: Add comment about _G_USE_EXCEPTIONS.
8096 * testsuite/make_check_libfree++: Check shared as well.
8097 * testsuite/27/27stringstream.cc: Add bits.
8098 * testsuite/27/27boolfmt.cc: Add bits.
8099 * testsuite/27/27octfmt.cc: Add bits.
8101 1999-03-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
8103 * configure.in (USE_LONG_DOUBLE): signbitl link error.
8105 * bits/locfacets.h: Fix errors that cause build problems
8106 with current egcs (template parameters have class scope).
8107 * bits/locfacets.tcc: Same.
8108 * src/locale-inst.cc: Same, clean.
8109 * src/misc-inst.cc: Same, clean.
8111 1999-03-17 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8113 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
8114 standard. Re-apply this previous patch.
8116 1999-03-17 Philip Martin <pm@corris.dircon.co.uk>
8118 * bits/basic_string.h: Use __normal_iterator<> for iterators.
8119 * bits/std_sstream.h: Support __normal_iterator<> iterators.
8120 * bits/string.tcc: Ditto.
8121 * src/misc-inst.cc: Ditto.
8122 * src/locale-inst.cc: Ditto.
8123 * stl/bits/stl_iterator.h: Add __normal_iterator<>.
8124 * stl/bits/stl_vector.h: Use __normal_iterator<> for iterators.
8125 * testsuite/24/24iterator.cc: Add test cases for basic_string and
8128 1999-03-16 Benjamin Kosnik <bkoz@cygnus.com>
8130 * bits/locfacets.tcc: Remove macro hack.
8131 * bits/locfacets.h: Tweaks.
8132 * src/misc-inst.cc: Weed out locale-related instantiations.
8133 * src/locale-inst.cc: Same.
8135 * RELEASE-NOTES: Make more changes.
8136 * bits/c++config.h: Bump version number.
8138 * testsuite/make_check_libfree++: Collect diagnostics.
8140 * bits/std_ostream.h: Fix ostream initialization/destruction
8141 problem, related to dtor cleanup and new cached facets, agggggggh.
8142 * bits/ostream.tcc: Tweak.
8143 * bits/locfacets.h: Remove all friends of iostream classes.
8144 * bits/ios_base.h: Same.
8145 * bits/streambuf.tcc: Tweak.
8146 * bits/std_streambuf.h: Tweak.
8147 * bits/std_fstream.h: Tweak.
8148 * bits/fstream.tcc: Tweak.
8149 * src/stdstreams.cc: Tweak.
8150 * src/ios.cc: Close streams.
8152 * math/Makefile.in: Add missing files for shared link errors.
8153 * math/Makefile.am: Same.
8155 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
8157 * src/locale-inst.cc: More wchar_t instantiations.
8158 * src/misc-inst.cc: Missed a few bits.
8159 * testsuite/make_check_libfree++: Add static and shared runs.
8160 * src/ios.cc: Add clarity to ios_base::Init::~Init().
8162 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
8164 * bits/std_ostream.h: Format, expunge, simplify. Add cached
8165 facets. Resolve link errors.
8166 * bits/ostream.tcc: Same.
8167 * src/misc-inst.cc: Add ostream, wostream instantiations.
8168 * src/Makefile.am: Add missing bits for stdstreams.cc.
8169 * src/Makefile.in: Same.
8170 * bits/std_iosfwd.h: Format.
8171 * bits/locfacets.h (num_put): Add basic_ostream as a friend to
8172 num_put so that cached _M_fnumput pointer can be deleted in
8173 basic_ostream's dtor. Now everybody plays nice.
8175 1999-03-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8177 * bits/gslice.h (class gslice): Make friends valarray,
8178 gslice_array and _GliceExpression.
8180 1999-03-11 Benjamin Kosnik <bkoz@cygnus.com>
8182 * RELEASE-NOTES: Update.
8183 * src/ios.cc: Use do proper init.
8184 * bits/std_streambuf.h: Tweak.
8185 * bits/std_iostream.h: Take out static member.
8186 * std/iostream: Put here.
8187 * bits/std_ostream.h: Non-default ctor shouldn't smash _M_streambuf.
8188 * bits/std_istream.h: Ditto.
8189 * bits/basic_ios.h: Format.
8190 * bits/ostream.tcc(write): Fix.
8191 * bits/fstream.tcc: Fix stdstreams ctor to do a proper
8192 initialization of the fstream class.
8193 * src/stdstreams.cc: I'm baaaaaaaack.
8195 1999-03-10 Benjamin Kosnik <bkoz@rhino.cygnus.com>
8197 * bits/ios_base.h: Correct comments. Add ios_base::init()
8198 functionality. Format, tweak, expunge, clean, bathe, and hang to dry.
8199 * src/misc-inst.cc: Add instantiations here.
8200 * src/ios.cc: Clean.
8201 * bits/std_iostream.h: Add wrappers, global ios_base::Init object.
8202 * src/stdstreams.cc: Delete this file, as now unnecessary.
8203 * bits/fstream.tcc: Add missing initialization bits for ctor.
8204 * src/Makefile.am (libstdc___la_SOURCES): Delete here as well.
8205 * src/Makefile.in (libstdc___la_OBJECTS): And here.
8207 * bits/streambuf.tcc: Tweak.
8208 * bits/sstream.tcc: Here too.
8210 * bits/fstream.tcc: And change definition as well.
8211 * bits/std_fstream.h: Change ctor.
8212 * src/basic_file.cc (sys_open): Add call that opens a specific fileno.
8213 * bits/basic_file.h: Add declarations.
8215 * testsuite/27/27hello.cc: New file.
8217 * bits/std_ostream.h: Move flush() inline.
8218 * bits/ostream.tcc: From here.
8220 * bits/char_traits.h: Add include of fpos.h for streamoff/streampos.
8221 * bits/std_ios.h: Change include libio to only when necessary.
8222 * bits/fpos.h: Like here.
8223 * ios_base.h: And here.
8225 * bits/locfacets.h: Change _Iostate to _Ios_Iostate.
8226 * bits/locfacets.tcc: Same.
8227 * bits/std_locale.h: Include std_ios.h not std_iosfwd.h.
8228 * bits/std_iosfwd.h: Move _Ios_Iostate to ios_base.h
8230 1999-03-09 Benjamin Kosnik <bkoz@rhino.cygnus.com>
8232 * bits/basic_ios.h: Change _M_ctype to _M_fctype.
8234 * bits/std_streambuf.h: Clean, tweak.
8235 * bits/std_fstream.h: Same.
8236 * bits/std_sstream.h: Same.
8237 * bits/streambuf.tcc: Move most member functions out-of-line.
8238 * bits/fstream.tcc: Same.
8239 * bits/streambuf.tcc: Same.
8241 * bits/basic_file.h(filepos_cur): Set correctly.
8242 (filepos_beg): Same.
8243 (seekpos): Change to __c_streampos.
8244 * src/basic_file.cc (std): Change to __c_streampos.
8246 * testsuite/27/27filebuf.cc: Round one is finished.
8247 * testsuite/27/27filebuf-2.tst: New file, final output should match.
8248 * testsuite/27/27filebuf-3.tst: Same.
8250 1999-03-08 Benjamin Kosnik <bkoz@rhino.cygnus.com>
8252 * bits/basic_file.h: Fix typo, add comments about what to expect
8253 from the various member functions in __basic_file.
8255 * bits/std_fstream.h: Re-do sync/underflow to work
8256 together. Change from sys_read to xsgetn and from sys_write to
8257 xsputn. As it should have been from the beginning. . .
8259 1999-03-06 Benjamin Kosnik <bkoz@haight.constant.com>
8261 * bits/c++config.h (__GLIBCPP__): Add versioning macro.
8263 * bits/basic_file.h(file_beg): New function.
8266 * testsuite/27/27filebuf.cc: Test in, out, in | out.
8267 * bits/std_fstream.h: More _M_mode refinements.
8268 (synch): Add bits for out mode only.
8269 * bits/std_streambuf.h(xsputn): Correct for filebufs.
8270 * bits/std_sstream.h: Ditto.
8272 1999-03-03 Benjamin Kosnik <bkoz@cygnus.com>
8274 * bits/std_fstream.h: Fix _M_mode AND with ios_base::openmode.
8275 * testsuite/27/27filebuf.cc: Modify.
8276 * bits/c++config.h: Fix.
8278 1999-03-02 Benjamin Kosnik <bkoz@tintin.cygnus.com>
8280 * bits/c++config.h: New macro, _G_RESOLVE_LIB_DEFECTS, used to put
8281 code in place that diverges from the final standard, but has been
8282 brought up on the library mailing list.
8284 * bits/std_fstream.h(underflow): Position all three internal
8285 buffer pointers at the same initial position. Re-implement with
8286 basic_filebuf abstraction.
8290 * bits/std_sstream.h: Move _M_mode down into base class
8292 * bits/sstream.tcc: Ditto.
8293 * bits/std_streambuf.h: Ditto.
8295 * testsuite/27/27filebuf.cc: Tweak.
8297 1999-02-27 Benjamin Kosnik <bkoz@slap-happy.cygnus.com>
8299 * bits/std_sstream.h: Ditto.
8300 * bits/std_fstream.h: Fix blip.
8302 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
8304 * C++STYLE: Add cases.
8305 * bits/std_fstream.h: Format.
8306 * bits/std_streambuf.h: Ditto.
8307 * bits/std_sstream.h: Ditto.
8309 * src/basic_file.cc(sys_seek): Fix stack delirium, by keeping
8310 return type for _IO_file_seek and __basic_file::seek the same size.
8311 * bits/basic_file.h: Ditto.
8313 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
8315 * bits/fstream.tcc: Add include guards.
8316 * src/misc-inst.cc: Add instantiations for shared libes.
8317 * src/locale-inst.cc: Add instantiaions for use_facet.
8318 * bits/loccore.h: Remove specialization foward decls for
8319 use_facet<ctype>: perhaps add the whole lot of them later on.
8320 * bits/std_fstream.h: Fix.
8321 * bits/locfacets.h: Ditto.
8322 * src/stdstreams.cc: Disable wide streams for now.
8324 * src/Makefile.am (CXXFLAGS): Change up.
8325 * src/Makefile.in (CXXFLAGS): Ditto.
8327 1999-02-25 Benjamin Kosnik <bkoz@happy.cygnus.com>
8329 * src/basic_file.cc: Change to ios_base::seekdir from int.
8330 * bits/basic_file.h: Ditto.
8331 * bits/locfacets.h : Fix blip with new guard macros.
8333 1999-02-25 Benjamin Kosnik <bkoz@cygnus.com>
8335 * stl/bits/stl_config.h (__STL_USE_STD_ALLOCATORS): Minor tweaking.
8336 * bits/c++config.h: Clean. Remove _G_NO_STREAMBUF_ITERATORS and
8338 * amm1/locale: Remove unused defines.
8339 * generic/locale: Ditto.
8340 * src/ios.cc: Ditto.
8341 * src/locale.cc: Ditto.
8342 * src/locale-inst.cc: Ditto.
8343 * src/localename.cc: Ditto.
8344 * src/stdstreams.cc: And here.
8346 * bits/c++config.h (_G_USE_WCHAR_T): Fix.
8347 * bits/loccore.h: Simplify, clean, add wchar_t guards.
8348 * bits/loccore.tcc: Ditto.
8349 * bits/locfacets.h: Ditto.
8350 * src/locale-inst.cc: Ditto.
8351 * bits/locfacets.tcc: Add do_put long long here.
8353 1999-02-24 Benjamin Kosnik <bkoz@cygnus.com>
8355 * bits/std_streambuf.h: Add cached ctype facet, _M_ctype.
8356 * bits/basic_ios.h: Clean. Replace _M_strbuf with
8357 _M_streambuf. Use cached _M_cvt in basic_streambuf.
8358 * bits/std_istream.h: Replace _M_strbuf with _M_streambuf.
8359 * bits/std_fstream.h: Tweak.
8361 * bits/char_traits.h: Remove fpos definitions from here. . .
8362 * bits/fpos.h: New file, put them here. Eventually, this may allow
8363 the severing of char_traits and fpos dependancies.
8364 * src/Makefile.in: Add fpos.h.
8365 * src/Makefile.am: Ditto.
8366 * bits/std_string.h: Add fpos.h include here.
8367 * bits/std_ios.h: And here.
8369 * bits/std_streambuf.h: Change _M_init to _M_initialized.
8370 * bits/ios_base.h: Remove cstdio include.
8371 * bits/std_ios.h: ... Place here.
8373 1999-02-23 Benjamin Kosnik <bkoz@loony.cygnus.com>
8375 * src/Makefile.in (CXXFLAGS): Re-add -fvtable-thunks.
8376 * src/Makefile.am (CXXFLAGS): Re-add -fvtable-thunks.
8378 * bits/basic_file.h: Comment, adjust arguments.
8379 * src/basic_file.cc: Ditto.
8381 * bits/std_fstream.h(seekoff): Error is of fpos type, not integral
8382 type: check and convert accordingly. Re-interpet "resultant stream
8383 position" to indicate external byte sequence location, not internal
8386 1999-02-22 Benjamin Kosnik <bkoz@loony.cygnus.com>
8388 * mkcshadow: And change copyright here.
8389 * src/Makefile.am (CXXFLAGS): Add -g -O2. Add new header
8390 dependencies for stl_pthread_alloc.h, pthread_allocimpl.h,
8391 stl_thread.h, and stl_iterator_base.h.
8392 * src/Makefile.in (CXXFLAGS): Ditto.
8393 * stl/backward/pthread_alloc.h: Remove.
8395 1999-02-19 Benjamin Kosnik <bkoz@loony.cygnus.com>
8397 * bits/std_streambuf.h (sungetc): Use standard defs for putback
8399 * bits/std_fstream.h (pbackfail): Correct.
8401 (seekoff): Implement.
8403 * testsuite/27/27filebuf.cc: Add test cases.
8405 1999-02-18 Benjamin Kosnik <bkoz@loony.cygnus.com>
8407 * bits/std_fstream.h: Go with basic_file's interfaces for dealing
8408 with the external buffers, and stop mucking around with setting
8409 and re-setting the external buf's pointers. Aka, clarity and
8410 simplicity rule the day.
8411 * src/locale.cc: Use memcpy in codecvt::do_in and codecvt::do_out.
8412 Remove partial result and support code.
8414 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
8416 * configure.in: Add hypot, hypotf, atan2f, expf, and copysignf to
8417 list of function which have to be replaced.
8418 Remove expf from list of functions to test for.
8419 Define USE_LONG_DOUBLE in case the libm has partial support for long
8421 * Makefile.in: Regenerated.
8422 * config.h.in: Likewise.
8423 * configure: Likewise.
8424 * libio/Makefile.am (LIBIO_SRCS): Add missing backslash.
8425 * libio/Makefile.in: Regenerated.
8426 * src/Makefile.in: Regenerated.
8427 * string/Makefile.in: Regenerated.
8428 * math/Makefile.am (EXTRA_DIST): Add hypot.c, hypotf.c, hypotl.c,
8429 atan2f.c, expf.c, and $(EXTRA_yes).
8430 (EXTRA_yes): Add signbitl.c mycabsl.c.
8431 (libmath_la_LIBADD): Add $(EXTRA_$(USE_LONG_DOUBLE)).
8432 (libmath_la_SOURCES): remove long double versions.
8433 * math/Makefile.in: Regnerated.
8434 * math/atan2f.c: New file.
8435 * math/copysignf.c: New file.
8436 * math/expf.c: New file.
8437 * math/hypot.c: New file.
8438 * math/hypotf.c: New file.
8439 * math/hypotl.c: New file.
8440 * math/cargf.c: Use correct function and macro names.
8441 * math/ccos.c: Likewise.
8442 * math/ccosh.c: Likewise.
8443 * math/ccoshf.c: Likewise.
8444 * math/ccoshl.c: Likewise.
8445 * math/cexp.c: Likewise.
8446 * math/cexpf.c: Likewise.
8447 * math/cexpl.c: Likewise.
8448 * math/clog.c: Likewise.
8449 * math/clog10.c: Likewise.
8450 * math/clog10f.c: Likewise.
8451 * math/clog10l.c: Likewise.
8452 * math/clogf.c: Likewise.
8453 * math/clogl.c: Likewise.
8454 * math/copysignf.c: Likewise.
8455 * math/csin.c: Likewise.
8456 * math/csinf.c: Likewise.
8457 * math/csinh.c: Likewise.
8458 * math/csinhf.c: Likewise.
8459 * math/csinhl.c: Likewise.
8460 * math/csinl.c: Likewise.
8461 * math/csqrt.c: Likewise.
8462 * math/csqrtf.c: Likewise.
8463 * math/csqrtl.c: Likewise.
8464 * math/ctan.c: Likewise.
8465 * math/ctanf.c: Likewise.
8466 * math/ctanh.c: Likewise.
8467 * math/ctanhf.c: Likewise.
8468 * math/ctanhl.c: Likewise.
8469 * math/ctanl.c: Likewise.
8471 1999-02-17 Benjamin Kosnik <bkoz@cygnus.com>
8473 * testsuite/27/27filebuf.cc: Add cases.
8474 * testsuite/27/27filebuf-1.txt: Remove inadvertent garbage.
8475 * bits/std_streambuf.h: Simplify, always have one return statement.
8476 * bits/std_fstream.h: Tweak comments in underflow.
8478 1999-02-17 Ulrich Drepper <drepper@cygnus.com>
8480 * ltmain.sh: Update from libtool 1.2d and fix Solaris problems.
8481 * ltconfig: Likewise.
8483 1999-02-16 Christophe Pierret <cpierret@businessobjects.com>
8485 * src/locale.cc: Fix assert.
8487 1999-02-16 Benjamin Kosnik <bkoz@cygnus.com>
8489 FIXME: Still need some kind of solution for undefined math symbols.
8490 * src/Makefile.in (locale-inst.lo): Compile with
8491 -fimplicit-templates to fix Solaris link problem.
8492 * src/Makefile.am: Ditto.
8493 * libio/Makefile.in: Add stdfiles.c so that _IO_list_all is defined.
8494 * libio/Makefile.am: Ditto.
8495 * src/locale.cc: Provide some kind of def for _S_tolower.
8496 * bits/locfacets.h: Fix declarations of ctype<wchar_t> to
8497 match ctype<char> for _S_tolower, _S_toupper, _S_table.
8499 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
8501 * bits/loccore.tcc: Move member-template ctor inline...
8502 * bits/loccore.h: ...here.
8503 * src/locale-inst.cc: Add instantiation here.
8505 * testsuite/27/27stringstream.cc: Tweak.
8507 * bits/ostream.tcc: Include sbuf_iter.h.
8509 * bits/ostream.tcc: Convert *this to ostreambuf_iterator before
8510 passing to num_put, as num_put's first argument is an interator,
8513 * testsuite/make_check_libfree++: New file, runs through the
8514 existing test files in the testsuite directory and makes sure
8517 1999-02-10 Brendan Kehoe <brendan@cygnus.com>
8519 * testsuite/21/21compare.cc: Fix typo.
8520 * src/locale.cc (ctype<wchar_t>::_S_{toupper,tolower,table}):
8521 Don't try to provide non-linux versions, since it's impossible to
8522 initialize their const references with the integer 0, no matter
8523 how we try to cast it.
8525 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
8527 * bits/std_locale.h: Move std_vector.h dependency.
8528 * bits/std_ios.h: ...from here.
8529 * bits/std_string.h: ...and here.
8530 * src/locale.cc: ..to here.
8531 * bits/loccore.h: Ditto, add vector forward declaration,
8532 make locale::_Impl data members pointers not containers.
8533 * bits/loccore.tcc: Move out-of-line for now.
8534 * bits/locfacets.h: Move vector dependency from here...
8535 * bits/locfacets.tcc: ...to here.
8536 * src/localename.cc: ..and here.
8537 * src/locale-inst.cc: Add include of locfacets.tcc here.
8539 * stl/bits/stl_string_fwd.h: Make __get_c_string non-static.
8540 * bits/basic_string.h: Can't use sizeof on an incomplete type.
8541 * bits/string.tcc: Tweak.
8542 * src/string.cc: And add __get_c_string def here.
8544 * bits/std_fstream.h: Yeah, comment the fill_n idea out as impractical.
8546 * src/stlinst.cc: Add include of stl_config.h.
8548 1999-02-09 Benjamin Kosnik <bkoz@cygnus.com>
8550 * stl/bits/std_bitset.h: Update to SGI STL 3.12.
8551 * stl/bits/stl_config.h: Tweak, update.
8552 * stl/bits/std_stdexcept.h: Ditto, change stl_exception to
8554 * stl/bits/std_memory.h: Reconstructed auto_ptr, Ditto.
8555 * stl/bits/std_functional.h: Ditto.
8557 * stl/bits/stl_string.h: New file, SGI's string
8558 implementation. For reference only, corresponding to string in
8560 * stl/bits/stl_char_traits.h: As above.
8562 * stl/bits/pthread_allocimpl.h: New file corresponding to
8564 * stl/bits/stl_pthread_alloc.h: New file corresponding to
8566 * stl/bits/stl_threads.h: New file.
8568 Note that SGI STL 3.12's file iterator.h is not used.
8569 * stl/bits/std_iterator.h: Ditto.
8570 * stl/bits/stl_iterator.h: Drop in replace.
8571 * stl/bits/stl_iterator_base.h: New file, drop in replace.
8573 * stl/bits/stl_queue.h, stl_rope.h, stl_set.h, stl_stack.h,
8574 stl_string_fwd.h, stl_tempbuf.h, stl_tree.h, stl_vector.h,
8575 stl_pair.h, stl_multimap.h, stl_multiset.h, stl_list.h,
8576 stl_hashtable.h, stl_hash_set.h, stl_hash_map.h, stl_function.h,
8577 stl_deque.h, stl_alloc.h, stl_algo.h, stl_algobase.h, ropeimpl.h:
8578 Drop-in replace (ie, stop changing __SGI_STL_* to _CPP_BITS_* for
8579 preprocessor guards, but fixup include paths and names according
8580 to new directory layout).
8582 1999-02-05 Benjamin Kosnik <bkoz@cygnus.com>
8584 * bits/std_fstream.h: Remove _M_open data member.
8585 * bits/fstream.tcc: Ditto.
8587 * src/locale.cc: Tweak.
8589 * bits/std_sstream.h: Simplify.
8591 * bits/std_streambuf.h: Simplify.
8592 (sputc): Use correct definition of "write area."
8594 * bits/std_fstream.h: Fix uflow.
8595 * src/basic_file.cc: Tweak.
8596 * testsuite/27/27filebuf.cc: Add tests.
8597 * testsuite/27/27filebuf-3.txt: Rename to *-2.txt.
8599 1999-02-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8601 * bits/ios_base.h: Make protected.
8603 1999-02-01 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8605 * bits/ios_base.h: Changes in the class ios_base:
8606 Rename _M_exceptions member to _M_exceptions_data.
8607 Make the member functions rdstate(), clear(), exceptions()
8608 and exceptions(iostate) protected and add the "_M_" prefix.
8609 * src/ios.cc: Ditto.
8610 * bits/basic_ios.h: Adapt the changes from ios_base.
8612 1999-01-29 Benjamin Kosnik <bkoz@cygnus.com>
8614 * bits/std_fstream.h: Remove _M_flags, _M_equilibrate as unnecessary.
8615 * bits/fstream.tcc: Ditto.
8617 * bits/std_fstream.h (underflow): Resize deallocates memory and
8618 resets pointers in the internal cache according to new _M_buf. . dooh!
8619 * src/locale.cc: Mas changes with codecvt::do_in, do_out.
8621 1999-01-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8623 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
8626 1999-01-28 Benjamin Kosnik <bkoz@cygnus.com>
8628 * src/locale.cc (codecvt::do_in): Finer-grained tuning to take
8629 into account partial returns.
8630 (codecvt::do_out): Likewise.
8632 * bits/char_traits.h: Change streamsize to be a signed type, as
8633 required by 27.4.1 Types p 2. (Changing to _IO_ssize_t.)
8634 * bits/std_streambuf.h: Make
8635 in_avail() and showmanyc() have streamsize as return types, so
8636 that showmanyc()'s return of eof won't underflow in_avail's return
8637 value and give a bogus result.
8638 * src/misc-inst.cc: And more changes. . .
8640 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_unified to keep
8641 track of joint in/out pointers into the internal buffer.
8642 (sbumpc): Add check for _M_buf_unified.
8646 * testsuite/27/27filebuf.cc: Add cases.
8647 * testsuite/27/27stringbuf.cc: Add showmanyc case.
8649 * bits/std_fstream.h (close): Fix logic error.
8650 (open): Initialize internal pointers based on _M_buf and _M_buf_size.
8651 (showmanyc): Add underflow component, to match the standard.
8653 * bits/fstream.tcc: Ditto.
8655 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
8657 * bits/basic_file.h: Match vtables w/ _IO_FILE_plus.
8658 * src/basic_file.cc: Ditto.
8659 * src/Makefile.in: Add -fvtable-thunks to CXXFLAGS: preferred
8660 format for dealing with _IO_file in libio.
8662 1999-01-27 Ulrich Drepper <drepper@cygnus.com>
8664 * src/basic_file.cc: Include fcntl.h.
8666 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
8668 * libio/Makefile.in: Add fileops.lo, genops.lo to objects to debug
8670 * bits/std_streambuf.h: Redefine read posion.
8672 * bits/std_fstream.h: Temporary hack to get vtables working again.
8673 * bits/basic_file.h: Revert.
8674 * src/basic_file.cc: Ditto.
8675 * testsuite/27/27filebuf.cc: Tweak.
8677 1999-01-26 Benjamin Kosnik <bkoz@cygnus.com>
8679 * bits/basic_file.h: Add showmanyc, underflow. .
8680 * src/basic_file.cc: Ditto.
8682 * bits/std_fstream.h (showmanyc): Add bits to ping libio to see if more
8685 * testsuite/27/27filebuf.cc: Add testcases.
8686 * src/basic_file.cc: Add O_CREAT to open calls with
8687 ios_base::trunc as part of the open mode.
8689 1999-01-26 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8691 * bits/basic_ios.h: fix basic_ios::exceptions(iostate)
8693 1999-01-25 Benjamin Kosnik <bkoz@nabi.net>
8695 * src/ios.cc (clear): Correct typo.
8696 * bits/ios_base.h: Tweak spacing.
8698 1999-01-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8700 * bits/basic_ios.h: fix basic_ios::fail()
8702 1999-01-25 Benjamin Kosnik <bkoz@loony.cygnus.com>
8704 * bits/basic_file.h: Include libioP.h from libio instead of here.
8705 * bits/iolibio.h: Remove.
8706 * bits/libio.h: Remove.
8708 1999-01-22 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
8710 * bits/std_fstream.h: Tweak cvt-> in call for newer egcs compilers.
8712 1999-01-22 Ulrich Drepper <drepper@cygnus.com>
8714 * Makefile.am (SUBDIRS): Add libio.
8715 * configure.in: Add rule to test for glibc2.
8717 * src/Makefile.am (INCLUDES): Add -I to libio subdir.
8718 (libstdc___la_LIBADD): Add libio.la.
8720 1999-01-21 Benjamin Kosnik <bkoz@cygnus.com>
8722 * bits/basic_file.h: Make new abstraction for underlying C library
8723 FILE, named __basic_file.
8724 * src/basic_file.cc: New file.
8725 * bits/os_raw.h: Delete.
8726 * src/os_raw.cc: Delete.
8727 * src/Makefile.in: Tweak.
8728 * src/Makefile.am: Tweak.
8729 * bits/iolibio.h: Add this here, for the time being.
8730 * bits/libioP.h: Ditto.
8732 * bits/ios_base.h: Delete unused defines.
8733 * src/locale.cc (codecvt<char, char, mbstate_t>::do_in): Use
8734 strcpy to copy between the two buffers.
8736 * testsuite/27/27stringbuf.cc: Change license, fix in_avail tests.
8737 * testsuite/27/27filebuf.cc: New file.
8738 * testsuite/27/27filebuf-1.txt: Data file for above test.
8739 * testsuite/27/27filebuf-2.txt: Ditto.
8741 * bits/std_streambuf.h (uflow): Re-implement default.
8742 * bits/std_fstream.h: Set _M_buf_size based on cstdio's BUFSIZ.
8743 Re-implement virtual functions.
8744 * bits/fstream.tcc: Delete unused mf's.
8746 1998-12-31 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
8748 * bits/fstream.tcc: Add fstream ctor for cin/cout/etc.
8749 * bits/std_fstream.h: Ditto.
8750 * src/stdstreams.cc: Ditto.
8752 * math/cpowl.c: Fix header typo with last change.
8754 1998-12-31 Benjamin Kosnik <bkoz@loony.cygnus.com>
8756 * COPYING: New file (GPL v 2).
8757 * LICENSE.STD: Remove.
8758 * ./*: Change license.
8760 1998-12-30 Benjamin Kosnik <bkoz@haight.constant.com>
8762 * bits/std_streambuf.h (std): Remove static on _M_init.
8763 * bits/streambuf.tcc (std): Ditto.
8765 * bits/std_fstream.h: Add changes as discussed with Nathan, including
8766 state_type and codecvt_type members, the allocation of an internal
8767 buffer, the streamlined codecvt calls, etc.
8769 1998-12-21 Benjamin Kosnik <bkoz@haight.constant.com>
8771 * bits/std_sstream.h: Tweak.
8772 * bits/fstream.tcc: Remove unused stubs.
8773 * bits/std_fstream.h: Tweak.
8775 1998-12-17 Benjamin Kosnik <bkoz@tintin.cygnus.com>
8777 * bits/std_streambuf.h: Move _IO_file_flags into basic_filebuf.
8778 Remove unused _IO_* members, possibly put into filebuf, which may
8780 * bits/std_fstream.h: Add _M_flag.
8781 * bits/sbuf_iter.h: Tweak.
8783 * bits/std_cstdio.h: Add SEEK_SET, SEEK_END, SEEK_CUR.
8784 * bits/ios_base.h: Use.
8786 * src/stdstreams.cc: Modify to reflect standard ctors for
8788 * src/misc-inst.cc: Ditto.
8790 * bits/os_raw.h: Wrap in std namespace. Model parameters on
8791 underlying C library calls instead of the underlying unix
8793 * src/os_raw.cc (_S_os_open): Use fopen, and compute a mode
8794 string as per p.659.
8795 (_S_os_close): Model on fopen.
8796 (_S_os_read): Model on fread.
8797 (_S_os_write): Model on fwrite.
8798 (_S_os_seek): Model on fseek.
8800 * bits/ios_base.h: Tweak.
8801 * bits/std_iosfwd.h: Wrap libio.h include with extern "C".
8802 * bits/std_sstream.h: Tweak.
8803 * bits/sstream.tcc: Remove old, uncalled code.
8804 * bits/std_fstream.h: Major reconstruction.
8805 * bits/fstream.tcc: Disable for the time being.
8807 1998-12-11 Benjamin Kosnik <bkoz@haight.constant.com>
8809 * bits/basic_string.h: Fix insert method.
8810 * stl/bits/stl_iterator.h: Remove previous hack.
8811 * bits/std_streambuf.h (sbumpc): Correct increment/return oddness.
8812 * bits/std_sstream.h: Fix more regressions.
8813 * testsuite/27/27stringbuf.C: Add (almost) complete tests.
8815 1998-12-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
8817 * bits/basic_string.h: Tweak.
8819 * stl/bits/stl_iterator.h: Specialize iterator_traits for int so
8820 that string::append can be instantiated. HACK--checkin
8821 basic_string::iterator class.
8823 1998-12-07 Benjamin Kosnik <bkoz@haight.constant.com>
8825 * bits/std_sstream.h: Tweak.
8826 * bits/sstream.tcc: Tweak ctors.
8828 FIXME invalid friend defs. . WHERE ARE THEY??
8830 * bits/sbuf_iter.h (istreambuf_iterator::equal): Change to new
8831 names for basic_streambuf data members.
8833 * bits/std_streambuf.h: Add getloc() initialization bits.
8834 basic_streambuf(): Initialize with global locale data.
8835 imbue(): Set _M_init.
8837 * bits/std_streambuf.h(seekoff, seekpos): Complete with invalid
8838 stream pos == pos_type(off_type(-1)).
8839 in_avail(): Complete default implementation.
8840 snextc, sbumpc, sputbackc, sungetc, sputc, setg, xsputn,
8841 underflow, uflow, xsgetn, showmany, sync: Ditto.
8843 * bits/std_streambuf.h: _M_snextc_helper(): Remove.
8845 * bits/streambuf.tcc (sputbackc): Temporarily remove, need to
8846 re-populate with in-line member functions that are too big. Add
8847 initialization for _M_init.
8849 1998-12-03 Benjamin Kosnik <bkoz@cygnus.com>
8851 * bits/sstream.tcc: Convert _Allocator to _Alloc. Add typedefs
8852 for basic_string and basic_streambuf. Scope _IO_buf_* pointers to
8855 * src/stdstreams.cc (std): Disable wchar_t instantiations.
8857 * bits/c++config.h (_G_DEPRICATED): Add.
8858 (_G_USE_WCHAR_T): Add.
8859 * bits/std_streambuf.h: Radical reconstruction of basic_streambuf.
8860 Take out _Streambuf_base. Put _IO_FILE data member in basic_filebuf.
8861 * bits/streambuf.tcc (sputbackc): Remove ctor anti-def, Tweak.
8862 * bits/std_fstream.h: Add comment for implementation.
8863 * src/streambuf.cc: Remove.
8864 * src/Makefile.in: Remove streambuf.lo.
8865 * src/misc-inst.cc: Tweak.
8867 1998-12-02 Benjamin Kosnik <bkoz@cygnus.com>
8869 * bits/std_sstream.h: Add const_cast to rdbuf returns.
8870 * testsuite/27stringstream.C: Modify.
8872 1998-11-25 Benjamin Kosnik <bkoz@haight.constant.com>
8874 * src/Makefile.in (libstdc___la_OBJECTS): Add streambuf.lo.
8875 (libstdc___la_SOURCES): Ditto.
8877 * bits/streambuf.tcc: Tweak.
8879 * src/streambuf.cc: New file, add out-of-line definitions for
8882 * src/misc-inst.cc: Remove _Streambuf_base instantiations.
8883 Comment out wchar_t versions of the buffer instantiations, for now.
8885 * bits/std_streambuf.h: Wrap libio.h include with extern "C".
8886 Remove template wrapper around _Streambuf_base.
8887 Move IO_* data members into _Streambuf_base.
8888 Move _Streambuf_base members into streambuf.tcc.
8890 * bits/c++config.h (_G_USE_LIBIO): Enable.
8892 1998-11-02 Nathan Myers <ncm@cantrip.org>
8894 * CHECKLIST: downgrade iterator implementations
8895 * DESIGN: fill out notes about unimplemented features
8897 1998-10-31 Nathan Myers <ncm@cantrip.org>
8899 * CHECKLIST: itemized list of all interfaces, and status of each.
8901 1998-10-30 Nathan Myers <ncm@cantrip.org>
8903 * RELEASE-NOTES: add notes about optional includes, linking, running
8904 * src/Makefile.am: handle header installs properly
8905 * src/Makefile.in: regenerate from new src/Makefile.am
8907 1998-10-30 Benjamin Kosnik <bkoz@loony.cygnus.com>
8909 * bits/basic_string.h: Revert npos pending ciso646.
8910 * src/Makefile.am: Revert CXX flags for now.
8911 * src/Makefile.in: Ditto.
8913 1998-10-30 Brendan Kehoe <brendan@cygnus.com>
8915 * bits/std_sstream.h: Re-order ctors to put base before member
8918 1998-10-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8920 * stl/bits/std_memory.h: Fix typo.
8922 1998-10-30 Nathan Myers <ncm@cantrip.org>
8924 * src/string[A-Z]+.cc: change back to include "string.cc".
8925 * src/Makefile.am: revert filename changes. We need a different
8926 way to keep filenames in std/ from confusing Make.
8927 * bits/basic_string.h: define _S_max_size right, return it from
8928 string::max_size(); churn definition of npos again.
8929 * bits/string.tcc: fix _S_frob_size to avoid uint overflow.
8930 * bits/ios.cc: remove #ifdef on ios_base locale member initialization
8931 * BUGS: clear cruft.
8932 * C++STYLE: Touchup for release.
8933 * CHECKLIST: Touchup for release.
8935 * LICENSE.STD: Add requirement to retain copyrights and to provide
8936 the license with any copies.
8937 * README: Update for release.
8938 * TODO: Minor touchup for release.
8939 * RELEASE-NOTES: prepare for release
8941 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
8943 * src/string[A-Z]+.cc: Include stdstring.cc, not string.cc.
8945 * src/Makefile.am (CXXFLAGS): Define _GNU_SOURCE.
8947 * src/Makefile.am (CXXLINK): New variable. Make sure we don't use
8948 CXX to generate the shared object.
8950 * src/Makefile.am (headers): Remove duplicated char_traits.h.
8952 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
8954 * bits/basic_string.h (basic_string<>::max_size): Subtract 1, not
8955 2, from npos, solving infinite loop problems.
8957 1998-10-29 18:41 Ulrich Drepper <drepper@cygnus.com>
8959 * src/Makefile.am: Add rules to install headers.
8961 1998-10-29 Nathan Myers <ncm@cantrip.org>
8963 * bits/std_ostream.h: Remove #ifdef on operator<< for long double
8964 * bits/ostream.tcc: Remove #ifdef on operator<< for long double
8967 * shadow/bits/wrap_libio.h:
8968 * shadow/bits/wrap_unistd.h: New files.
8970 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
8972 * bits/ostream.tcc (operator<<): Wrap with #ifdef
8973 _G_HAVE_LONG_DOUBLE_IO, to match bits/std_ostream.h.
8975 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
8977 * src/Makefile.am: Add temporarily rules to make sure misc-inst.cc
8978 is not compiled with -fno-implicit-templates in effect.
8980 * src/Makefile.am (EXTRA_SOURCES): Add string.cc and wstring.cc here.
8981 (libstdc___la_SOURCES): Add all the string*.cc and wstring*.cc files.
8982 * src/stringADDCS.cc: Wrapper around string.cc to define individual
8984 * src/stringADDPS.cc: Likewise.
8985 * src/stringADDSC.cc: Likewise.
8986 * src/stringADDSP.cc: Likewise.
8987 * src/stringADDSS.cc: Likewise.
8988 * src/stringBIST.cc: Likewise.
8989 * src/stringBOST.cc: Likewise.
8990 * src/stringCHTR.cc: Likewise.
8991 * src/stringEQPS.cc: Likewise.
8992 * src/stringEQSP.cc: Likewise.
8993 * src/stringEQSS.cc: Likewise.
8994 * src/stringEXTRA.cc: Likewise.
8995 * src/stringGEPS.cc: Likewise.
8996 * src/stringGESP.cc: Likewise.
8997 * src/stringGESS.cc: Likewise.
8998 * src/stringGETLI.cc: Likewise.
8999 * src/stringGTPS.cc: Likewise.
9000 * src/stringGTSP.cc: Likewise.
9001 * src/stringGTSS.cc: Likewise.
9002 * src/stringINSER.cc: Likewise.
9003 * src/stringLEPS.cc: Likewise.
9004 * src/stringLESP.cc: Likewise.
9005 * src/stringLESS.cc: Likewise.
9006 * src/stringLTPS.cc: Likewise.
9007 * src/stringLTSP.cc: Likewise.
9008 * src/stringLTSS.cc: Likewise.
9009 * src/stringMAIN.cc: Likewise.
9010 * src/stringNEPS.cc: Likewise.
9011 * src/stringNESP.cc: Likewise.
9012 * src/stringNESS.cc: Likewise.
9013 * src/stringSCOPY.cc: Likewise.
9014 * src/wstringADDCS.cc: Wrapper around wstring.cc to define individual
9016 * src/wstringADDPS.cc: Likewise.
9017 * src/wstringADDSC.cc: Likewise.
9018 * src/wstringADDSP.cc: Likewise.
9019 * src/wstringADDSS.cc: Likewise.
9020 * src/wstringBIST.cc: Likewise.
9021 * src/wstringBOST.cc: Likewise.
9022 * src/wstringCHTR.cc: Likewise.
9023 * src/wstringEQPS.cc: Likewise.
9024 * src/wstringEQSP.cc: Likewise.
9025 * src/wstringEQSS.cc: Likewise.
9026 * src/wstringEXTRA.cc: Likewise.
9027 * src/wstringGEPS.cc: Likewise.
9028 * src/wstringGESP.cc: Likewise.
9029 * src/wstringGESS.cc: Likewise.
9030 * src/wstringGETLI.cc: Likewise.
9031 * src/wstringGTPS.cc: Likewise.
9032 * src/wstringGTSP.cc: Likewise.
9033 * src/wstringGTSS.cc: Likewise.
9034 * src/wstringINSER.cc: Likewise.
9035 * src/wstringLEPS.cc: Likewise.
9036 * src/wstringLESP.cc: Likewise.
9037 * src/wstringLESS.cc: Likewise.
9038 * src/wstringLTPS.cc: Likewise.
9039 * src/wstringLTSP.cc: Likewise.
9040 * src/wstringLTSS.cc: Likewise.
9041 * src/wstringMAIN.cc: Likewise.
9042 * src/wstringNEPS.cc: Likewise.
9043 * src/wstringNESP.cc: Likewise.
9044 * src/wstringNESS.cc: Likewise.
9045 * src/wstringSCOPY.cc: Likewise.
9046 * src/string.cc: Remove now unneeded #defines now.
9048 1998-10-29 Nathan Myers <ncm@cantrip.org>
9050 * bits/locfacets.tcc: Define num_put::put(... const void*), improve
9052 * bits/ostream.tcc: Delete cruft, rewrite various op<< as members,
9053 add definitions for double, long double, const void*.
9054 * bits/std_ostream.h: Move op<<'s back into class ostream,
9055 define some in-line.
9056 * bits/string.tcc: fix unnecessary-copying bug in op[], typos in
9057 string construction from input iterators that Brendan reported.
9060 1998-10-28 Brendan Kehoe <brendan@cygnus.com>
9062 * stl/bits/stl_pair.h (op!=, op>, p<=, op>=): Add missing definitions.
9064 * bits/valarray_meta.h (class _Constant): Move declaration to the
9065 top, so the rest of the file can grok it.
9066 (_ApplyBinaryFunction::operator[]): Add missing parenthesis.
9068 * bits/std_sstream.h (basic_ostringstream::str): Fix typo of extra
9070 (basic_stringstream::str, both instances): Likewise.
9072 1998-10-28 Nathan Myers <ncm@cantrip.org>
9074 * bits/locfacets.h: fix num_put<>::falsename()
9075 * bits/locfacets.tcc: fix _Format_cache<>::_M_populate bool name init
9076 * testsuite/27/27octfmt.C, testsuite/27/27octfmt.C: new tests
9077 * bits/locfacets.tcc: touch up _S_group_digits.
9078 * src/misc-inst.cc: adjust _S_group_digits insts to match.
9080 1998-10-27 Nathan Myers <ncm@cantrip.org>
9082 * stl/bits/stl_config.h: Turn off long long support, for now.
9083 * src/locale-inst.cc: Instantiate num_put<> only for
9084 ostreambuf_iterator, num_get only for istreambuf_iterator.
9085 * src/misc-inst.cc: Delete duplicate locale-related instantiations,
9086 add lots of new instantiations for num_put support function templates;
9087 remove junk about __match_parallel for ostreambuf_iterator.
9089 1998-10-27 Nathan Myers <ncm@cantrip.org>
9091 * bits/locfacets.tcc: Make num_put's digit grouping work.
9092 * bits/string.tcc: More uglification.
9093 * src/ios.cc: initialize format cache right
9095 1998-10-26 Nathan Myers <ncm@cantrip.org>
9097 * bits/basic_string.h: Uglify more names.
9098 * bits/fstream.tcc: Rewrite some filebut output handling.
9099 * bits/ios_base.h: Cosmetic.
9100 * bits/locfacets.h: Changes to _Format_cache for support of num_put.
9101 Also, specialize its default ctor for optimal default case.
9102 #ifdef out "long long" prototypes for now.
9103 * bits/locfacets.tcc: Do complete, optimized num_put<>::do_put
9104 implementation for integer types. (Still needs optimized
9105 std::copy() applied to ostreambuf_iterator to be optimal.)
9106 * bits/ostream.tcc: Write operator<< for long, bool types.
9107 Make other operators<< non-members, per spec. (Many still
9108 not implemented.) Identify those that fail to create a sentry.
9109 * bits/sbuf_iter: Cosmetic.
9110 * bits/std_fstream.h: Add some filebuf members.
9111 * bits/std_locale.h: Include <limits> for use in bits/locfacets.h
9112 * bits/std_ostream.h: Make member operators<< global, per spec.
9113 (Should do the same in std_istream.h.)
9114 * bits/std_string.h: Include <limits> for use in bits/locfacets.h
9115 * bits/string.tcc: Uglify names
9116 * shadow/bits/std_cstdlib.h: Optimize std::div and std::ldiv.
9117 * src/ios.cc: Specialize _Format_cache<> for char and wchar_t,
9118 for optimal default behavior.
9120 1998-10-26 Benjamin Kosnik <bkoz@loony.cygnus.com>
9122 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc again.
9124 1998-10-21 Nathan Myers <ncm@cantrip.org>
9126 * src/locale.cc: make ctype operations actually work for glibc
9127 * CHECKLIST: add a comprehensive (i.e. huge) implementation
9128 checklist of stdlib facilities. Not filled in yet.
9130 1998-10-20 Nathan Myers <ncm@cantrip.org>
9132 * bits/string.tcc: fix patching NULs on string ends.
9134 1998-10-19 Nathan Myers <ncm@cantrip.org>
9136 * bits/std_iosfwd.h: eliminate "basic_" prefix on streambuf
9137 iterator forward declarations
9138 * bits/sbuf_iter.h: eliminate default template argument definitions
9139 on streambuf iterators (rely on <iosfwd> decls).
9140 * TODO: add note about lazy facet construction
9141 * bits/basic_ios.h: hit operator void* again. This should be the
9142 last time we need to touch it.
9143 * bits/basic_ios.h: copyfmt now returns *this.
9144 * bits/basic_string.h: fix npos again. npos cannot be defined as zero.
9145 * bits/basic_string.h: put back overloaded constructors; adjust
9146 behavior for default allocator on copy constructor.
9147 * bits/char_traits.h: make not_eof return correct type.
9148 * bits/loccore.h: remove call to bits/std_stdexcept.h; subincludes
9149 cannot be in non-standard headers or we get include loops (bad)
9150 * bits/loccore.h: delete ifdef'd out workarounds for old compiler bugs.
9151 * bits/loccore.h: add apparatus to support lazy construction of
9153 * bits/locfacets.tcc: Uglify names in __match_parallel decl.
9154 * bits/std_ios.h: add include of <typeinfo> to get bad_cast for
9155 locale use_facet<> failure.
9156 * bits/std_locale.h: same.
9157 * bits/std_string.h: same.
9158 * bits/std_stdexcept.h: change exception member __msg from a
9159 reference to a regular object.
9160 * bits/string.tcc: add pasting a NUL on the end of strings after
9161 each operation. We had already left room for it, but previously
9162 plugged it only on a call to c_str(), but the WG changed the
9163 requirement when I wasn't looking. (Can't leave them alone for
9164 a second without they break something else.)
9165 * bits/valarray_meta.h: add Gaby's changes from 981018.
9166 * src/locale.cc: add new type _Bad_use_facet to be thrown on
9167 failure of use_facet<>().
9168 * src/stdexcept.cc: remove pragma, remove bkoz's #if 0,
9169 comment out leftover member definitions
9171 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
9173 * string/Makefile.am: Revert last change.
9174 * math/Makefile.am: Likewise.
9176 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
9178 * bits/std_sstream.h: Fix typo.
9180 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
9182 * src/Makefile.am (libstdc___la_SOURCES): Add misc-inst.cc.
9184 * bits/std_sstream.h: Add typedefs, member definitions. Clean.
9185 * bits/std_stdexcept.h: Remove.
9187 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
9189 * src/misc-inst.cc: Tweak again.
9191 * bits/std_sstream.h: Move out-of-line definitions to sstream.tcc.
9192 * bits/sstream.tcc: New file.
9194 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
9196 * configure.in: Test for machine/param.h, sys/machine.h and fp.h.
9197 Don't run AC_C_BIGENDIAN if machine/param.h or sys/machine.h are
9200 * math/mathconf.h: Include sys/machine.h, machine/param.h and fp.h
9202 (INFINITE_P): Use IS_INF macro if available.
9204 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
9206 * math/Makefile.am (EXTRA_LTLIBRARIES): Renamed from
9208 * string/Makefile.am: Likewise.
9210 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
9212 * configure.in (AC_CHECK_FUNCS): Add finite, qfinite, fpclass, and
9214 (AC_CHECK_HEADERS): Add machine/endian.h. If no header specifying
9215 endianess is available run AC_C_BIGENDIAN.
9217 * math/clog10l.c: Add ugly hack around bug in Irix 6.2 header until
9218 fixincludes is fixed.
9219 * math/clogl.c: Likewise.
9220 * math/csqrtl.c: Likewise.
9221 * math/mycabsl.c: Likewise.
9223 * math/mathconf.h: Include machine/endian.h if possible. If no
9224 header describing endianess is available rely on WORDS_BIGENDIAN
9226 (FINITE_P, FINITEF_P, FINITEL_P): Use finite functino if available.
9227 (INFINITE_P, INFINITEF_P, INFINITEL_P): Use fpclass function if
9230 * src/complex.cc (polar): Don't use sincos on OSF machines.
9232 1998-10-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
9234 * src/locale-inst.cc: Don't instantiate time_get for
9235 ostreambuf_iterators as time_get::do_get_weekday and
9236 time_get::do_get_monthname use __match_parallel, which is illegal
9237 for ostreambuf_iterators to use, as they don't have operator== or
9239 * bits/std_stdexcept.h: Add dtor definitions.
9240 Use stl/bits/std_stdexcept.h instead of this file?
9241 * bits/sbuf_iter.h : Tweak.
9242 * src/misc-inst.cc: Tweak.
9244 1998-10-09 Benjamin Kosnik <bkoz@haight.constant.com>
9246 * bits/std_stdexcept.h: New file.
9247 * src/stdexcept.cc: Define the following:
9249 runtime_error::what()
9251 * src/misc-inst.cc: New file.
9252 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc.
9253 (libstdc___la_OBJECTS): Add misc-inst.lo.
9255 * bits/basic_string.h: Disable non-standard ctor declarations.
9256 * bits/string.tcc: Disable definitions as well.
9257 * src/string.cc: Disable <ios> dependancies.
9258 * bits/sbuf_iter.h (std): Add default to template parameter for
9259 ostreambuf_iterator and istreambuf_iterator.
9260 * bits/std_iosfwd.h: Change istreambuf_iterator to
9261 basic_istreambuf_iterator. Likewise for ostreambuf.
9262 * bits/locfacets.tcc (__match_parallel): Fix typo.
9263 * src/ios.cc (imbue): Remove the _G_HAVE_LOCALE guards around
9265 * bits/std_streambuf.h: Define _Streambuf_base::getloc().
9266 * bits/std_istream.h: Define the following:
9267 get (basic_streambuf<char_type,_Traits>& __sb, char_type __delim)
9268 get (char_type* __s, streamsize __n, char_type __delim);
9269 getline (char_type* __s, streamsize __n, char_type __delim)
9270 * bits/loccore.h : FIXME friend template code for use_facet.
9271 Add std_stdexcept.h include so that range_error will be defined.
9272 Add explicit conversion to string for range_error throws. (HACK?)
9274 1998-10-8 Ulrich Drepper <drepepr@cygnus.com>
9276 * configure.in: Check for sincos, sincosf, and sincosl.
9277 * src/complex.cc (polar): Use sincos if available.
9279 * bits/c++config.h: Fix hack to get LONG_LONG* definitions on Linux.
9280 * stl/bits/std_limits.h: Include bits/c++config.h. HACK!!!
9282 * math/clog10.c: Fix typo (FP_INIFITE_P -> INFINITE_P).
9284 * math/cpow.c: Use c_log, not clog.
9285 * math/cpowf.c: Likewise.
9286 * math/cpowl.c: Likewise.
9288 * math/cexp.c: Remove unused fpclassify calls. Use FINITE_P instead
9291 * math/mathconf.h (FINITE_P, FINITEF_P, FINITEL_P): Define using
9292 isfinite macro if it is available.
9293 (INFINITE_P, INFINITEF_P, INFINITEL_P): Define using isinf macro.
9295 * math/ccosf.c: Use appropriate test macros for this type.
9296 * math/ccoshf.c: Likewise.
9297 * math/ccoshl.c: Likewise.
9298 * math/ccosl.c: Likewise.
9299 * math/cexpf.c: Likewise.
9300 * math/cexpl.c: Likewise.
9301 * math/clog10f.c: Likewise.
9302 * math/clog10l.c: Likewise.
9303 * math/clogf.c: Likewise.
9304 * math/clogl.c: Likewise.
9305 * math/csinf.c: Likewise.
9306 * math/csinhf.c: Likewise.
9307 * math/csinhl.c: Likewise.
9308 * math/csinl.c: Likewise.
9309 * math/csqrtf.c: Likewise.
9310 * math/csqrtl.c: Likewise.
9311 * math/ctanf.c: Likewise.
9312 * math/ctanhf.c: Likewise.
9313 * math/ctanhl.c: Likewise.
9314 * math/ctanl.c: Likewise.
9316 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
9318 * bits/basic_ios.h: Fix previous change.
9320 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
9322 * bits/basic_ios.h: Add const_cast<basic_ios&>
9323 (operator void*): As per 5.2.9 p 2, make sure static_cast is
9325 * bits/char_traits.h: No _CharT for specialization, change to 0.
9326 * bits/basic_string.h: As per 9.4.2 p4, initialize with
9327 constant-initializer.
9328 * bits/locfacets.tcc: Add template parameter to initialization list.
9330 1998-10-02 Benjamin Kosnik <bkoz@loony.cygnus.com>
9332 * bits/basic_string.h: Should just be <, not <=.
9334 1998-10-01 Benjamin Kosnik <bkoz@bliss.nabi.net>
9336 * bits/string.tcc (compare): Fix for strings that are similar, but
9337 not the same length.
9339 1998-09-04 Brendan Kehoe <brendan@cygnus.com>
9341 * bits/c++config.h: For __linux__, define _GNU_SOURCE. This is
9342 required for us to get LONG_LONG_{MIN,MAX} out of gcc's limits.h.
9343 We can't check for __GLIBC__ here, since this header can be read
9344 before any system one (that would lead to features.h) being used.
9346 * stl/bits/stl_config.h (__STL_LONG_LONG): Re-enabled
9348 * stl/bits/std_limits.h [__STL_LONG_LONG]: Fix usage to use
9349 LONG_LONG_MIN, LONG_LONG_MAX, and ULONG_LONG_MAX.
9351 * stl/bits/stl_config.h: Don't do __STL_LONG_LONG, it uses
9352 LONGLONG_{MIN,MAX} which I can't find the origin of.
9354 1998-09-03 Brendan Kehoe <brendan@cygnus.com>
9356 * stl/bits/stl_iterator.h: Add extern decl of cin for now; where
9357 should this come from, if not iostream.h?
9358 (class istream_iterator): Make the new operator!= a friend also.
9360 * stl/bits/stl_config.h: Define __STL_HAS_WCHAR_T,
9361 __STL_MEMBER_TEMPLATE_CLASSES, and __STL_LONG_LONG. Don't include
9362 _G_config.h like the egcs one does.
9364 1998-09-01 Brendan Kehoe <brendan@cygnus.com>
9366 * bits/string.tcc: Call `_M_destroy' instead of `destroy'.
9368 * bits/valarray_meta.h: Throughout, rename _Expr typedefs to be
9369 _Expr1 (or _Expr_def if it's taken), and change definitions.
9370 Avoids redecl of the template parm.
9372 * bits/string.tcc (basic_string copy ctor): Fix typo in declaration.
9373 (operator>>): Initialize __ERROR with ios_base::goodbit, not 0.
9375 * bits/std_streambuf.h (_POSIX_SOURCE): Only define if it's not
9378 * src/locale-inst.cc: New file, **TOTAL HACK**. There has GOT to
9379 be a better way to do this.
9381 * src/stlinst.cc: New file.
9383 * BUGS: New file, with various discovered bugs that need to be
9386 * Makefile.in, math/Makefile.in, string/Makefile.in,
9387 src/Makefile.in: Reran automake.
9389 Workarounds, these may not all be the final fixes:
9391 * bits/basic_ios.h (class basic_ios): Make _M_strbuf be protected,
9392 not private, for basic_istream::get() in std_istream.h to be able
9394 (basic_ios::operator void*): Don't use static_cast for the false
9396 (basic_ios::copyfmt): Fix `rhs.except' to be `rhs.exceptions ()'.
9397 This appears to have been in sep94, but didn't get corrected
9400 * bits/basic_string.h (npos): Don't init here.
9401 * bits/string.tcc: Instead, do initialization here, to -1 instead
9402 of the size_type destructor.
9404 * src/traits.cc, src/wtraits.cc: New files.
9405 * bits/char_traits.h: For char_traits<char> and
9406 char_traits<wchar_t>, declare static, but define over in the src
9409 * bits/gslice.h: Comment out forward decls of _Array, valarray,
9410 gslice_array, and _GsliceExpression.
9412 * bits/std_cstdio.h [__sparc__ && __svr4__]: #undef all of
9413 clearerr, feof, ferror, getc, getchar, putc, putchar, stdin,
9414 stdout, and stderr. Note we do get unresolved refs to stdin, but
9415 that'll get fixed by the "true" solution.
9417 * bits/std_ios.h: Include <bits/std_streambuf.h> to get the
9418 definition of basic_streambuf.h, which is used in basic_ios.h to
9421 * bits/std_streambuf.h: Don't include libio.h for now.
9422 (class basic_streambuf): Define missing methods pubimbue and
9425 * src/Makefile.am (libstdc___la_SOURCES): Add stdexcept.cc,
9426 ios.cc, os_raw.cc, stdstreams.cc, locale.cc, localename.cc,
9427 locale-inst.cc, stlinst.cc, traits.cc, wtraits.cc.
9429 * src/ios.cc: Instantiate basic_ios<char> and basic_ios<wchar_t>.
9431 * src/locale.cc: Come up with munged versions of _S_toupper,
9432 _S_tolower, and _S_table instead of the glibc-specific ones, so
9433 they're at least defined, if not necessarily usable. The glibc
9434 ones on any other system will yield unresolved refs to
9435 __ctype_{b,toupper,tolower}.
9437 * src/string.cc: Define all of ADDCS, ADDPS, et al. Add
9438 basic_ios, basic_istream, basic_ostream. Don't do char_traits
9439 anymore cuz of the explicit specialization in char_traits.h.
9440 Also add _S_string_copy, but this doesn't fix it -- cf the BUGS
9441 file for the details.
9443 * stl/bits/stl_algobase.h (equal): Fix to do `! (x==y)'.
9444 * stl/bits/stl_iterator.h (__distance): Likewise.
9446 * stl/bits/stl_iterator.h: As with 8/18 set, define missing op!=,
9447 op>, op<=, and op>= for reverse_iterator. Also add op!= for
9450 1998-08-26 Brendan Kehoe <brendan@cygnus.com>
9452 * bits/string.tcc (basic_string::compare (const char*)): Fix to
9455 1998-08-25 Brendan Kehoe <brendan@cygnus.com>
9457 This should really be fixed with __asm__ directives renaming the
9458 symbol, but keeping the function.
9459 * math/clogf.c (c_logf): Renamed from `clogf'.
9460 * math/clogl.c (c_logl): Renamed from `clogl'.
9461 * math/complex-stub.h (c_logf, c_logl): Change decls.
9463 * bits/locfacets.h (class _Numeric_get): For friend decls, rename
9464 _CharT and _InIter parms, since they duplicate the enclosing ones.
9466 1998-08-19 Brendan Kehoe <brendan@cygnus.com>
9468 Deal with conflict of the iostreams `clog' and our internal
9469 complex number `clog'.
9470 * src/complex.cc: Call `c_log' instead of `clog'.
9471 * math/clog.c (c_log):: Renamed from clog.
9472 * math/complex-stub.h (c_log): Renamed from clog decl.
9474 * bits/locfacets.h (class _Numeric_get): Tweak fwd decls of the
9476 (num_put::put): #if 0 long long version, since we don't declare or
9477 define the long long version of do_put.
9479 1998-08-18 Nathan Myers <ncm@cantrip.org>
9481 * bits/basic_string.h: add basic_string<>::push_back(), fix return
9482 type of get_allocator (thanks to Ryszard Kabatek).
9483 * bits/char_traits.h: make init order of fpos<> members
9485 * bits/ios_base.h: fix decls of ios_base bitmask & enum types, add
9486 flags _S_fd_in etc. for special filebuf ctor.
9487 * bits/locfacets.h: make _Numeric_get and _Format_cache public
9488 to work around problems in friend declarations.
9489 * bits/locfacets.tcc: qualify _S_get_cache in num_get<>::get(..bool&),
9490 fix random type errors & typos
9491 * bits/std_fstream.h: major refitting to bypass libio (for now),
9492 instrument to use bits/fstream.tcc template definitions
9493 * bits/std_iosfwd.h: mess with wrappers
9494 * bits/std_istream.h: remove meaningless comment
9495 * bits/std_ostream.h: instrument to work with ostream.tcc.
9496 * bits/std_streambuf.h: instrument to work with streambuf.tcc
9497 * bits/fstream.tcc: template defs for <fstream>
9498 * bits/ostream.tcc: template defs for <ostream>
9499 * bits/streambuf.tcc: template defs for <streambuf>
9500 * bits/os_raw.h: thin OS interface wrapper, to bypass libio (for now).
9501 * Delete .cc files, replace with bits/*.tcc
9507 src/os_raw.cc: thin interface to OS, to bypass libio (for now).
9508 src/stdstreams.cc: cout, cin, etc. definitions
9509 (these still need work: must be init'd before user statics.)
9512 1998-08-18 Brendan Kehoe <brendan@cygnus.com>
9514 Sent to SGI before checkin:
9515 * stl/bits/stl_vector.h (operator!=, operator>, operator<=,
9516 operator>=): Define.
9517 * stl/bits/stl_bvector.h (vector<bool>::flip): Define method.
9518 * stl/bits/stl_deque.h (operator!=, operator>, operator<=,
9519 operator>=): Define.
9520 (operator==, operator<): Add inline.
9521 * stl/bits/stl_map.h (operator!=, operator<, operator<=,
9522 operator>=): Define.
9523 * stl/bits/stl_multimap.h (operator!=, operator<, operator<=,
9524 operator>=): Define.
9525 * stl/bits/stl_list.h (operator!=, operator<, operator<=,
9526 operator>=): Define.
9527 * stl/bits/stl_set.h (operator!=, operator<, operator<=,
9528 operator>=): Define.
9529 * stl/bits/stl_multiset.h (operator!=, operator<, operator<=,
9530 operator>=): Define.
9532 * bits/std_valarray.h (_Shift_left, _Shift_right): Inherit from
9535 1998-08-15 Nathan Myers <ncm@cantrip.org>
9537 * bits/ios_base.h: change nominal bitmask and enum types to real enums
9538 * bits/locfacets.h: make _Format_cache bool names usable by num_get
9539 * bits/locfacets.tcc: make num_get<>::get(... bool&) use _Format_cache
9540 * bits/std_fstream.h: minor cleanups: ctors delegate to open()
9541 * bits/std_iosfwd.h: more bitmask changes, for ios_base::iostate
9542 * bits/std_sstream.h: formatting cleanups
9544 1998-08-14 Nathan Myers <ncm@cantrip.org>
9546 * bits/locfacets.tcc: implement num_get<>::do_get(..., bool&)
9547 * bits/locfacets.tcc: implement time_get<>::do_get_weekday
9548 * bits/locfacets.tcc: implement time_get<>::do_get_monthname
9549 * bits/locfacets.h: fix missing argument in do_get_monthname
9550 (this is a bug in the standard, ref. 36 in my list.)
9551 * bits/locfacets.h: make month and day name caches mutable
9552 * bits/locfacets.tcc: various typos in get() functions
9553 * bits/sbuf_iter.h: fix omission in istreambuf_iterator::op++().
9554 * bits/std_streambuf.h: fix typo in sgetn (Brendan)
9556 1998-08-12 Nathan Myers <ncm@cantrip.org>
9557 * move streambuf iterators to bits/sbuf_iter.h
9558 * optimize streambuf iterators
9559 * begin generalizing streambuf
9560 * begin implementing num_get<>::get (starting with bool)
9561 * patch stl/bits/stl_config.h so that relops operators are
9562 contained properly, out of the way.
9564 1998-07-24 Nathan Myers <ncm@cantrip.org>
9565 * Fold in SGI 3.11 changes (uglified names, some algorithm
9566 improvements, very minor bug fixes.)
9567 * Uglify names elsewhere to match (s/_T/_Tp/).
9568 * Begin work on optimized streambuf
9569 * Put complex.cc in namespace std:: (thanks Martin)
9571 1998-07-17 Nathan Myers <ncm@cantrip.org>
9573 * bits/char_traits.h: add _Char_traits_match template.
9574 * bits/string.tcc: fix bugs in various find_last* members.
9575 * bits/basic_string.h: redeclare member _S_find.
9576 * stl/bits/stl_iterator.h: change member names in nonstandard
9577 templates bidirectional_reverse_iterator and
9578 random_access_reverse_iterator to match expected changes
9580 * src/string.cc: fix definitions of stream operators.
9582 1998-07-14 16:06 Ulrich Drepper <drepper@cygnus.com>
9584 * Makefile.am (SUBDIRS): Add string.
9586 * configure.in: Test for long double functions separately. Test for
9587 ISO C 89 float functions. Test for endian.h and sys/isa_defs.h.
9588 Generate string/Makefile.
9590 * bits/c++config.h: Define mbstate_t for Solaris.
9592 * bits/char_traits.h: Remove unused #if.
9594 * bits/std_cwchar.h: Declare wide char string functions.
9596 * m4/stringfcts.m4: New file.
9598 * math/complex-stub.h: Declare nan.
9599 * math/nan.c: New file.
9601 * math/mathconf.h: Hack around missing endian.h file.
9602 Handle missing NAN definition.
9603 Handle missing float math functions.
9605 * src/Makefile.am (libstdc___la_LIBADD): Add libstring.la.
9606 (libstdc___la_LDFLAGS): Set version information.
9608 * src/complexl.cc: Don't compile any code if no long double functions
9611 * string/Makefile.am: New file.
9612 * string/dummy.c: New file.
9613 * string/wmemchr.c: New file.
9614 * string/wmemcmp.c: New file.
9615 * string/wmemcpy.c: New file.
9616 * string/wmemmove.c: New file.
9617 * string/wmemset.c: New file.
9619 1998-07-14 10:45 Ulrich Drepper <drepper@cygnus.com>
9621 * configure.in: Make it work.
9622 * install-sh: New file.
9623 * missing: New file.
9624 * mkinstalldirs: New file.
9625 * m4/mathfcts.m4: New file.
9626 * math/Makefile.am: New file.
9628 * bits/std_complex.h (conj): Mark specializations as inline.
9630 * math/carg.c: New file.
9631 * math/cargf.c: New file.
9632 * math/cargl.c: New file.
9633 * math/mycabs.c: New file.
9634 * math/mycabsf.c: New file.
9635 * math/mycabsl.c: New file.
9636 * math/signbit.c: New file.
9637 * math/signbitf.c: New file.
9638 * math/signbitl.c: New file.
9640 * math/ccos.c: Avoid ISO C 9x functionality.
9641 * math/ccosf.c: Likewise.
9642 * math/ccosh.c: Likewise.
9643 * math/ccoshf.c: Likewise.
9644 * math/ccoshl.c: Likewise.
9645 * math/ccosl.c: Likewise.
9646 * math/cexp.c: Likewise.
9647 * math/cexpf.c: Likewise.
9648 * math/cexpl.c: Likewise.
9649 * math/clog.c: Likewise.
9650 * math/clog10.c: Likewise.
9651 * math/clog10f.c: Likewise.
9652 * math/clog10l.c: Likewise.
9653 * math/clogf.c: Likewise.
9654 * math/clogl.c: Likewise.
9655 * math/cpow.c: Likewise.
9656 * math/cpowf.c: Likewise.
9657 * math/cpowl.c: Likewise.
9658 * math/csin.c: Likewise.
9659 * math/csinf.c: Likewise.
9660 * math/csinh.c: Likewise.
9661 * math/csinhf.c: Likewise.
9662 * math/csinhl.c: Likewise.
9663 * math/csinl.c: Likewise.
9664 * math/csqrt.c: Likewise.
9665 * math/csqrtf.c: Likewise.
9666 * math/csqrtl.c: Likewise.
9667 * math/ctan.c: Likewise.
9668 * math/ctanf.c: Likewise.
9669 * math/ctanh.c: Likewise.
9670 * math/ctanhf.c: Likewise.
9671 * math/ctanhl.c: Likewise.
9672 * math/ctanl.c: Likewise.
9674 * math/complex-stub.h: New file.
9676 * math/mathconf.h: New file.
9678 * src/Makefile.am: New file.
9680 * src/complex.cc: Use mathconf.h instead of complex.h.
9681 Don't use cabs, always use __mycabs.
9683 1998-02-13 Brendan Kehoe <brendan@cygnus.com>
9685 * iterator (class reverse_iterator): Do some tweaks to be in sync