1 2000-12-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3 * config/os/generic/bits/ctype_base.h (ctype_base): Change space mask.
5 * config/os/generic/bits/ctype_noninline.h (ctype): Remove default
6 arguments in definition.
7 * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
8 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
9 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
10 * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
11 * config/os/irix/bits/ctype_noninline.h (ctype): Same.
12 * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
13 * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
14 * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
15 * config/os/aix/bits/ctype_noninline.h (ctype): Same.
17 * include/bits/locale_facets.h: Tweak.
19 2000-12-06 Benjamin Kosnik <bkoz@kredhat.com>
21 * include/bits/locale_facets.h (ctype): Remove _Ctype_nois and
22 _Ctype and replace with common __ctype_abstract_base.
23 (ctype<wchar_t>::_M_convert_to_wmask): Move to locale.cc.
24 * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>::ctype):
26 * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
27 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
28 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
29 * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
30 * config/os/irix/bits/ctype_noninline.h (ctype): Same.
31 * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
32 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
33 * config/os/aix/bits/ctype_noninline.h (ctype): Same.
34 * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
35 * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
36 * src/locale-inst.cc: Clean instantiations.
37 * src/locale.cc (ctype<char>): Add definitions here.
38 (ctype<wchar_t>::_M_wmask): Move definitions here.
40 * config/os/generic/bits/ctype_inline.h (ctype<char>::is):
41 Implement in a generic way, with only "C" functionality and no
42 knowlege of the target os.
43 * config/os/generic/bits/os_defines.h: Change comments to C++ style.
44 * testsuite/22_locale/ctype_char_members.cc (test01): Add tests.
46 * include/bits/codecvt.h (ctype_byname): Remove specializations,
48 * include/bits/localefwd.h (codecvt_byname): And here.
49 * src/codecvt.cc: Remove codecvt_byname specializations.
51 * include/c/bits/std_cstdio.h: Include c++config.h.
53 2000-12-06 Phil Edwards <pme@sources.redhat.com>
55 * acinclude.m4 (GLIBCPP_CHECK_*_DECL_AND_LINKAGE_*): Pre-test
56 whether the cached result is present.
57 * aclocal.m4: Regenerate.
58 * configure: Regenerate.
59 * Makefile.in: Regenerate.
60 * libio/Makefile.in: Regenerate.
61 * libmath/Makefile.in: Regenerate.
62 * libsupc++/Makefile.in: Regenerate.
63 * src/Makefile.in: Regenerate.
65 2000-12-06 Richard Earnshaw <rearnsha@arm.com>
67 * configure.target (*-*-freebsd, *-*-netbsd): Correct paths to
70 2000-12-05 Jeffrey A Law <law@cygnus.com>
72 * configure.target (hpux): Set os_include_dir.
73 * config/os/hpux/bits/ctype_base.h: New file
74 * config/os/hpux/bits/ctype_inline.h: New file
75 * config/os/hpux/bits/ctype_noinline.h: New file
76 * config/os/hpux/bits/os_defines.h: New file
78 2000-12-05 Alexandre Petit-Bianco <apbianco@redhat.com>
80 * src/Makefile.am (libstdc++.INC): Revert for libjava builds.
81 * src/Makefile.in: Regenerate.
83 2000-12-05 Benjamin Kosnik <bkoz@haight.redhat.com>
85 * acinclude.m4 (EXTRA_CXX_FLAGS): And here.
86 * include/c/bits/std_cstdlib.h (std ): Change macro to
87 _GLIBCPP_NEED_LLDIV_T.
88 * acconfig.h: Remove unused MBSTATE_T bits.
90 * aclocal.m4: Regenerate.
91 * configure: Regenerate.
92 * config.h.in: Regenerate.
94 2000-12-05 Benjamin Kosnik <bkoz@fillmore.redhat.com>
96 * acinclude.m4: Change up to reflect new directory organization.
97 Add in bits for NetBSD.
98 * aclocal.m4: Regenerate.
99 * configure: Regenerate.
100 * config/os/bsd: New directory.
101 * config/os/netbsd: Move to...
102 * config/os/bsd/netbsd: ...here.
103 * config/os/freebsd: Move to...
104 * config/os/bsd/freebsd: ...here.
106 2000-12-05 Benjamin Kosnik <bkoz@haight.redhat.com>
108 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Check for
109 lldiv_t. Allow the use of os-specific defines while checking for
110 long-long functions by the inclusion of os_defines.h.
111 * aclocal.m4: Regenerate.
112 * configure.in: Add comments.
113 * configure: Regenerate.
114 * acconfig.h: Add _GLIBCPP_HAVE_LLDIV_T.
115 * config.h.in: Regenerate.
116 * config/os/gnu-linux/bits/os_defines.h: Fix typos and
117 duplications in comments.
119 2000-12-05 Richard Earnshaw <rearnsha@arm.com>
121 * config/os/freebsd/bits/ctype_base.h: Update comments about other
124 2000-12-05 Richard Earnshaw <rearnsha@arm.com>
126 * config/os/freebsd/bits/*.h: Move here from config/os/bsd/bits.
127 * aclocal.m4: Adjust accordingly.
128 * configure.target: Likewise.
129 * configure: Regenerate.
131 2000-12-05 Richard Earnshaw <rearnsha@arm.com>
133 * config/cpu/arm/bits/atomicity.h: Add support for compiling Thumb
136 2000-12-05 Richard Earnshaw <rearnsha@arm.com>
139 * aclocal.m4: Add test for NetBSD's ctype support.
140 * configure: Regenerate.
141 * configure.target: Support NetBSD.
142 * config/os/netbsd/bits/ctype_base.h: New file.
143 * config/os/netbsd/bits/ctype_inline.h: New file.
144 * config/os/netbsd/bits/ctype_noinline.h: New file.
145 * config/os/netbsd/bits/os_defines.h: New file.
147 2000-12-05 Gabriel Dos Reis <gdr@codesourcery.com>
149 * src/complex.cc (pow): Remove definitions for explicit
151 * libmath/mathconf.h: Remove declarations for c_log, c_logf,
153 * libmath/complex-stub.h: Remove declarations for cpow, cpowf,
155 * libmath/cpow.c: Remove.
156 * libmath/cpowf.c: Remove.
157 * libmath/cpowl.c: Remove.
158 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove c_logl,
160 (EXTRA_DIST): Remove c_log, c_logf, carg, cargf.
161 * libmath/Makefile.in: Regenarate.
162 * libmath/c_log.c: Remove
163 * libmath/c_logf.c: Likewise.
164 * libmath/c_logl.c: Likewise.
165 * libmath/carg.c: Likewise.
166 * libmath/cargf.c: Likewise.
167 * libmath/cargl.c: Likewise.
168 * include/bits/std_complex.h (pow): Define primary templates.
169 (complex<>): Remove friend declarations for pow<>().
170 * acinclude.m4: Remove check for c_log, c_logf, c_logl, carg,
172 * aclocal.m4: Regenarate.
173 * configure: Regenarate.
175 2000-12-03 Joseph S. Myers <jsm28@cam.ac.uk>
177 * docs/configopts.html, docs/documentation.html,
178 docs/install.html, docs/17_intro/BADNAMES,
179 docs/17_intro/contribute.html, docs/17_intro/howto.html,
180 docs/18_support/howto.html, docs/19_diagnostics/howto.html,
181 docs/20_util/howto.html, docs/21_strings/howto.html,
182 docs/22_locale/howto.html, docs/23_containers/howto.html,
183 docs/24_iterators/howto.html, docs/25_algorithms/howto.html,
184 docs/26_numerics/howto.html, docs/27_io/howto.html,
185 docs/ext/howto.html, docs/faq/index.html, docs/faq/index.txt: Sync
188 2000-12-01 Phil Edwards <pme@sources.redhat.com>
190 * docs/download.html: Remove.
191 * docs/footer.ihtml: Remove.
192 * docs/header.ihtml: Remove.
193 * docs/index.html: Remove.
194 * docs/links.html: Remove.
195 * docs/mail.html: Remove.
196 * docs/status.html: Remove.
197 * docs/thanks.html: Remove.
199 2000-12-01 Phil Edwards <pme@sources.redhat.com>
201 * mkcheck.in: Count static and shared results separately.
203 2000-12-01 Loren J. Rittle <ljrittle@acm.org>
205 * mkcheck.in: Correct typo.
207 2000-12-01 Gabriel Dos Reis <gdr@codesourcery.com>
209 * src/cmath.cc: Remove.
210 * src/Makefile.am (c_base_headers): Add bits/cmath.tcc.
211 (sources): Remove cmath.cc
212 * src/Makefile.in: Regenerate.
214 * include/c/bits/std_cmath.h (__cmath_power<>): Declare.
215 (__cmath_abs<>): New function.
216 (abs, fabs): Use __cmath_abs when no direct support is available.
217 (__pow_helper<>): New function.
218 (pow): Define here. Use __pow_helper<>.
220 * include/c/bits/cmath.tcc: New file.
222 2000-11-29 Benjamin Kosnik <bkoz@redhat.com>
224 Fixes for build directories with colons, AIX build problems.
225 * src/Makefile.am: Cleanups, add documentation.
226 (libstdc++.INC): Simplify rule.
227 (myinstallheaders): Consolidate install rules.
228 (myinstalldirs): New, make directores.
229 (base_headers): Subdivide based on install directory.
231 (backward_headers): New.
233 (c_headers): Remove, unused.
234 (c_shadow_headers): Split up, deal with conditional usage in a
236 * src/Makefile.in: Regenerate.
238 2000-11-29 Phil Edwards <pme@sources.redhat.com>
240 Sync with the documentation from wwwdocs.
241 * docs/Makefile: New file (rebuilds FAQ text version).
242 * docs/configopts.html: Update.
243 * docs/documentation.html: Update.
244 * docs/download.html: Update.
245 * docs/index.html: Update.
246 * docs/install.html: Update.
247 * docs/links.html: Update.
248 * docs/mail.html: Update.
249 * docs/status.html: Update.
250 * docs/thanks.html: Update.
251 * docs/27_io/howto.html: Update.
252 * docs/faq/index.html: Update for 2.91.
253 * docs/faq/index.txt: Update for 2.91.
254 * docs/footer.html: Removed.
255 * docs/footer.ihtml: New file.
256 * docs/gccrebuild.html: Removed.
257 * docs/header.html: Removed.
258 * docs/header.ihtml: New file.
260 2000-11-29 Loren J. Rittle <ljrittle@acm.org>
262 * tests_flags.in: Correct typo.
264 2000-11-29 Gabriel Dos Reis <gdr@codesourcery.com>
266 * tests_flags (SH_FLAGS, ST_FLAGS): Move them back to ...
267 * mkcheck.in (SH_FLAGS, ST_FLAGS): ...here
269 2000-11-29 Gabriel Dos Reis <gdr@codesourcery.com>
271 * src/Makefile.am (sources): Add bitset.cc
272 * src/Makefile.in: Regenrate.
274 * include/bits/std_bitset.h (_GLIBCPP_BITSET_BITS_PER_WORD): New
275 macro. Replace __BITS_PER_WORDS throughout.
276 (__BITS_PER_WORDS): Remove.
277 (bitset<>::_M_do_find_first, bitset<>::_M_do_find_next): Move
278 definitions to src/bitset.cc.
280 * src/bitset.cc (bitset<>::_M_do_find_first,
281 bitset<>::_M_do_find_next): Define here.
282 (_Bit_count<>::_S_bit_count, _Find_one<>::_S_first_one): Define
283 here. Explicitly instantiate definitions.
285 2000-11-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
287 * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): Silence
288 preprocessor multi-line string warnings.
289 (__atomic_add): Likewise.
290 (__compare_and_swap): Likewise.
291 (__always_swap): Likewise.
292 (__test_and_set): Likewise.
293 * config/cpu/arm/bits/atomicity.h (__exchange_and_add): Likewise.
294 (__atomic_add): Likewise.
295 (__compare_and_swap): Likewise.
296 (__always_swap): Likewise.
297 (__test_and_set): Likewise.
299 2000-11-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
301 Update for 2.91 release.
302 * include/bits/c++config (__GLIBCPP__): Update.
303 * docs/17_intro/RELEASE-NOTES: Update.
304 * docs/status.html: Update, remove bogus autotools disinformation.
306 2000-11-27 Benjamin Kosnik <bkoz@redhat.com>
308 * tests_flags.in (LTCXX): Change CXX_FLAG to CXXFLAGS.
310 * testsuite/22_locale/ctor_copy_dtor.cc: Adjust formatting.
311 * testsuite/27_io/istream_extractor_arith.cc (test11): New
312 testcase, based on libstdc++/90.
314 2000-11-27 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
316 * config/cpu/arm/bits/atomicity.h (__exchange_and_add): Add
318 (__atomic_add): Likewise.
319 (__compare_and_swap): Likewise.
320 (__always_swap): Likewise.
321 (__test_and_set): Likewise.
323 * config/cpu/powerpc/bits/atomicity.h: Replace '__ATOMICITY_INLINE'
325 (__exchange_and_add): Add __volatile__ to asm.
326 (__atomic_add): Likewise.
327 (__compare_and_swap): Likewise.
328 (__always_swap): Likewise.
329 (__test_and_set): Likewise.
331 2000-11-27 Gabriel Dos Reis <gdr@codesourcery.com>
333 * tests_flags.in: Update documentation to reflect the change
336 2000-11-26 Benjamin Kosnik <bkoz@fillmore.constant.com>
338 * tests_flags.in: Export CXX, CXXFLAGS.
339 * mkcheck.in: Grab them.
341 2000-11-26 David Billinghurst <David.Billinghurst@riotinto.com>
342 Benjamin Kosnik <bkoz@redhat.com>
344 * mkcheck.in: Add exe extension to printnow executable, abstract
345 out call to this with TIMER_COMMAND.
346 * configure.target (l_glibcpp_cxxflags): Add cygwin support.
347 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Correct paths.
348 * aclocal.m4: Regenerate.
349 * configure: Regenerate.
351 2000-11-26 Benjamin Kosnik <bkoz@redhat.com>
353 * testsuite/27_io/istream_unformatted.cc (test05): Fixup.
355 2000-11-26 Benjamin Kosnik <bkoz@redhat.com>
357 * acinclude.m4: Only sanity check for compiler version when
358 configuring. More fixes for 'make clean'.
359 * aclocal.m4: Regenerate.
360 * configure: Regenerate.
362 2000-11-26 Gabriel Dos Reis <gdr@codesourcery.com>
364 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove cabsl.c
365 * libmath/Makefile.in: Regenerate.
366 * libmath/cabs.c: Remove.
367 * libmath/cabsf.c: Likewise.
368 * libmath/cabsl.c: Likewise.
369 * libmath/complex-stub.h: Remove declarations for cabs*.
371 * acinclude.m4: Remove check for cabs*.
372 * aclocal.m4: Regenerate.
374 * Makefile.in: Regenerate.
376 2000-11-26 Gabriel Dos Reis <gdr@codesourcery.com>
378 * tests_flags.in: New file. Split out of ...
379 * mkcheck.in: ... this. Move flags computation into
381 * configure.in: Add support for tests_flags.
382 * confiigure: Regenerate.
384 2000-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
386 * acinclude.m4: Change C9X references to refer to C99.
387 * aclocal.m4, configure: Regenerate.
388 * config/os/gnu-linux/bits/os_defines.h, src/complex.cc,
389 testsuite/22_locale/codecvt_wchar_t_char.cc,
390 include/bits/stl_config.h, include/c/bits/std_cwchar.h,
391 libmath/mathconf.h: Change C9X references to refer to C99.
393 2000-11-25 Benjamin Kosnik <bkoz@redhat.com>
394 Richard Earnshaw <rearnsha@arm.com>
396 * src/Makefile.am (INCLUDES): Remove unconditional use of
397 _GNU_SOURCE and _ISOC99_SOURCE macros.
398 * src/Makefile.in: Regenerate.
400 2000-11-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
402 * testsuite/22_locale/codecvt_wchar_t_char.cc (main): Add
403 _GLIBCPP_USE_WCHAR_T guards.
405 * configure.in (AC_OUTPUT_COMMANDS): Remove, just run scripts as
406 is, so that checks for existence of generated files actually work.
407 * configure: Regenerate.
409 2000-11-23 Hans-Peter Nilsson <hp@bitrange.com>
411 * config/os/gnu-linux/bits/os_defines.h: Include <features.h>.
412 If not glibc 2.1 or higher, include <gnu/types.h> and define
413 __off64_t as __loff_t and #define __THROW as empty.
415 * libio/libio.h [__P]: Move __THROW and __PMT into their own
418 2000-11-23 David Edelsohn <edelsohn@gnu.org>
420 * porting.texi: Expand libtool information.
422 2000-11-23 Gabriel Dos Reis <gdr@codesourcery.com>
424 * include/bits/ios_base.h (ios_base::failure::~failure,
425 ios_base::failure::what): Move defintion to ...
427 * src/ios.cc (ios_base::failure::~failure): ... here.
428 src/ios.cc (ios::failure::what): Likewise.
430 2000-11-22 Benjamin Kosnik <bkoz@redhat.com>
432 Make deprecated strstream header consistent with new and new.h.
433 * include/backward/strstream.h: Add. Use using declarations to
434 scope strstreambuf, istrstream, ostrstream, strstream to global
436 * include/backward/strstream: Remove using declarations.
437 * src/Makefile.am (base_headers): Add strstream.
438 * src/Makefile.in: Regenerate.
440 * include/backward/new.h (_CPP_BACKWARD_NEW_H): Change macro guard
441 to be consistent with other headers.
443 2000-11-22 Richard Henderson <rth@redhat.com>
445 * config/os/bsd/bits/ctype_inline.h (is): Fix order of expressions.
447 2000-11-22 Phil Edwards <pme@sources.redhat.com>
449 * porting.texi: Minor tweaks to vocabulary.
451 2000-11-22 Loren J. Rittle <ljrittle@acm.org>
453 * include/backward/strstream.h: Reinstate the `using'
456 2000-11-22 Loren J. Rittle <ljrittle@acm.org>
458 * src/Makefile.am (base_headers): Add missing backwards headers.
459 * src/Makefile.in: Regenerate.
461 2000-11-21 scott snyder <snyder@fnal.gov>
463 * config/c_io_stdio.cc (seekoff): Fix return value.
465 (sys_seek): Likewise.
467 2000-11-21 Loren J. Rittle <ljrittle@acm.org>
469 * mkcheck.in (explanation): Retain output of all failing
470 compiles. Don't add gratuitous space to the log file.
472 2000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
474 * src/strstream.cc: Adjust includes.
475 * src/Makefile.am (base_headers): Remove std_strstream.h, add
476 backwards/strstream.h.
477 (std_headers): Remove strstream.
478 * src/Makefile.in: Regenerate.
479 * libsupc++/Makefile.am (headers): Remove new.h
480 * libsupc++/Makefile.in: Regenerate.
481 * include/std/strstream: Remove.
482 * include/backward/strstream.h: Replace with...
483 * include/bits/std_strstream.h: ...this. Move.
484 * include/backward/complex.h: Remove SGIisms.
485 * include/backward/streambuf.h: Same.
486 * include/backward/stream.h: Same.
487 * include/backward/ostream.h: Same.
488 * include/backward/istream.h: Same.
489 * include/backward/iostream.h: Same.
490 * include/backward/iomanip.h: Same.
491 * include/backward/fstream.h: Same.
492 * libsupc++/new.h: Add using declarations for bad_alloc,
493 nothrow_t, and nothrow, move to ...
494 * include/backward/new.h: ...here.
496 2000-11-21 Mark Mitchell <mark@codesourcery.com>
498 * porting.texi: New file.
500 2000-11-21 Branko Cibej <brankoe@xbc.nu>
502 * config/os/solaris/solaris2.6/bits/os_defines.h: Define
503 _XOPEN_SOURCE, _LARGEFILE64_SOURCE, __EXTENSIONS__, __off_t,
504 __off64_t and __ssize_t.
505 * config/os/solaris/solaris2.5/bits/os_defines.h: For now, use the
506 same configuration as above.
508 2000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
510 * acinclude.m4 (AC_LC_MESSAGES): Check for locale.h.
511 * aclocal.m4: Regenerate.
512 * configure: Renerate.
514 2000-11-20 Benjamin Kosnik <bkoz@redhat.com>
516 * mkcheck.in (explanation): Don't paste output of passing compiles
517 into log file. Use -static. Get version info.
519 * testsuite/23_containers/vector_ctor.cc (test02): Fix thinko.
521 2000-11-20 Gabriel Dos Reis <gdr@codesourcery.com>
523 * include/bits/std_complex.h (complex<double>): Constructor
524 complex<double>::complex(const complex<float>&) is not explicit;
525 since it is a promotion.
526 (complex<long double>): Constructors taking complex<float> and
527 complex<double> are not explicit.
529 2000-11-20 Benjamin Kosnik <bkoz@redhat.com>
531 * include/bits/std_complex.h: Tweaks, include cmath for abs overloads.
532 * src/complex.cc: Remove cmath include, formatting tweaks, remove
534 * include/c/bits/std_cmath.h: Formatting tweaks.
535 * testsuite/26_numerics/complex_value.cc: New file, for catching
536 bits gleaned from libstdc++/106.
538 * testsuite/23_containers/vector_ctor.cc (test02): Add test from
541 2000-11-20 Joseph S. Myers <jsm28@cam.ac.uk>
543 * include/bits/c++config, include/bits/ios_base.h,
544 include/bits/std_streambuf.h: Correct spelling of "deprecated".
546 2000-11-19 Mark Mitchell <mark@codesourcery.com>
548 * libsupc++/exception_support.cc (__throw_bad_cast): Name it
549 __cxa_bad_cast under the new ABI.
550 (__throw_bad_typeid): Name it __cxa_bad_typeid under the new ABI.
551 * libsupc++/pure.cc (__pure_virtual): Name it __cxa_pure_virtual
554 2000-11-18 Mark Mitchell <mark@codesourcery.com>
556 * libsupc++/exception_support.h: New header file.
557 * libsupc++/vec.cc: Include it.
558 (__cxa_vec_new2): Recatch exceptions before rethrows.
559 (__cxa_vec_new3): Likewise.
560 (__cxa_vec_ctor): Likewise.
561 (__cxa_vec_cctor): Likewise.
562 (__cxa_vec_dtor): Likewise.
563 (__cxa_vec_delete2): Likewise.
564 (__cxa_vec_delete3): Likewise.
566 2000-11-17 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
568 * include/bits/stl_tree.h: Overload operators == and != to be able
569 to handle the case (const_iterator,iterator) and
570 (iterator,const_iterator), thus fixing libstdc++/737 and the like.
571 * testsuite/23_containers/map_operators.cc (test02): New tests.
573 2000-11-17 Loren J. Rittle <ljrittle@acm.org>
575 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Correct last patch
576 to ``make --enable-cstdio=stdio the default''.
577 * libstdc++-v3/aclocal.m4: Rebuilt.
578 * libstdc++-v3/configure: Rebuilt.
580 2000-11-17 Phil Edwards <pme@sources.redhat.com>
582 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Move switch statement
584 * configure.target: ...here. Enable generic atomic ops, and warn.
585 * aclocal.m4: Regenerated.
587 * Makefile.in: Ditto.
588 * libio/Makefile.in: Ditto.
589 * libmath/Makefile.in: Ditto.
590 * libsupc++/Makefile.in: Ditto.
591 * src/Makefile.in: Ditto.
593 2000-11-16 Loren J. Rittle <ljrittle@acm.org>
595 * include/bits/locale_facets.tcc (num_get<_CharT,
596 _InIter>::do_get(...)): Add missing typename keyword.
598 2000-11-16 Mark Mitchell <mark@codesourcery.com>
600 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Make
601 --enable-cstdio=stdio the default. Disable wide character support
603 * configure.in: Move GLIBCPP_ENABLE_C_MBCHAR after
604 (GLIBCPP_ENABLE_CSTDIO).
605 * config/c_io_stdio.h: Don't include <libio.h>, don't define
607 * aclocal.m4: Regenerated.
608 * configure: Likewise.
609 * Makefile.in: Likewise.
610 * libio/Makefile.in: Likewise.
611 * libmath/Makefile.in: Likewise.
612 * libsupc++/Makefile.in: Likewise.
613 * src/Makefile.in: Likewise.
615 2000-11-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
617 * config/c_io_stdio.h: Include stddef.h.
619 2000-11-16 Mark Mitchell <mark@codesourcery.com>
621 * config/c_io_stdio.h (streamsize): Make it a typedef for
623 (wstreamsize): Likewise.
625 * config/c_io_stdio.h: Include libio.h.
627 2000-11-15 Mark P Mitchell <mark@codesourcery.com>
629 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Substitute libio_la.
630 * src/Makefile.am (libstdc___la_LIBADD): Use it.
631 * aclocal.m4: Regenerated.
632 * configure: Likewise.
633 * Makefile.in: Likewise.
634 * libio/Makefile.in: Likewise.
635 * libmath/Makefile.in: Likewise.
636 * libsupc++/Makefile.in: Likewise.
637 * src/Makfile.in: Likewise.
639 2000-11-15 Mark Mitchell <mark@codesourcery.com>
641 * mkcheckin.in: Move check for bash version 2 later in the file.
643 * include/bits/basic_string.h (basic_string::_Rep::_S_max_size):
645 (basic_string::_Rep::_S_terminal): Likewise.
646 * include/bits/string.tcc (basic_string::_Rep::_S_max_size):
648 (basic_string::_Rep::_S_terminal): Likewise.
650 2000-11-15 David Billinghurst <David.Billinghurst@riotinto.com>
652 * mkcheck.in: Add function size_command() for irix.
654 2000-11-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
656 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPOR): Set LIBS back to
658 (GLIBCPP_EXPORT_INCLUDES): Only export TOPLEVEL_INCLUDES if
659 building a canadian cross. This should fix the remaining java
661 * aclocal.m4: Regenerate.
662 * configure: Regenerate.
664 * include/bits/c++config (__GLIBCPP__): Set release version for 2.91.
666 2000-11-14 Phil Edwards <pme@sources.redhat.com>
668 * mkcheck.in: On a platform where we don't know how to extract
669 section sizes, just set them to zero. Use old method of reading
672 2000-11-13 Loren J. Rittle <ljrittle@acm.org>
674 * config/c_io_stdio.h: Don't define __c_wfile_type
675 when _GLIBCPP_USE_WCHAR_T is not defined.
677 2000-11-13 Phil Edwards <pme@sources.redhat.com>
679 * acinclude.m4 (GLIBCPP_CHECK_TARGET): New macro, replacing
680 GLIBCPP_CHECK_CPU and GLIBCPP_CHECK_OS, sourcing configure.target.
681 (GLIBCPP_CONFIGURE): Call new macro here.
682 * configure.host: Cleanup.
683 * configure.in: Remove those two macros.
684 * configure.target: New file.
685 * aclocal.m4: Regenerated.
687 * Makefile.in: Ditto.
688 * libio/Makefile.in: Ditto.
689 * libmath/Makefile.in: Ditto.
690 * libsupc++/Makefile.in: Ditto.
691 * src/Makefile.in: Ditto.
693 * mkcheck.in: Use libtool. Split things out into functions.
695 2000-11-12 Alexandre Petit-Bianco <apbianco@cygnus.com>
697 * Makefile.am (tmp-libstdsc++.INC:): Do not use -I$(top_builddir).
698 * Makefile.in: Regenerate.
700 2000-11-12 David Edelsohn <edelsohn@gnu.org>
702 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add test for
703 libiconv.a providing wchar_t support functions.
704 * aclocal.m4: Regenerate.
706 2000-11-12 Loren J. Rittle <ljrittle@acm.org>
708 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle FreeBSD.
709 * aclocal.m4, configure: Rebuilt.
711 2000-11-12 Brent Verner <brent@rcfile.org>
713 * include/c_std/bits/wrap_langinfo.h: New file.
714 * include/c_std/langinfo.h: New file.
715 * include/bits/codecvt.h (__enc_trants::__enc_traits()): Bring in
716 CODESET from _C_legacy::CODESET if using shadow headers.
717 * src/Makefile.am: Add new files.
718 * src/Makefile.in: Regenerate.
720 2000-11-12 Mark Mitchell <mark@codesourcery.com>
722 * include/c/bits/std_cmath.h (abs): Change extern "C" declaration
723 of `abs (double)' to ...
726 * config/os/solaris/solaris2.7/bits/os_defines.h: Define
729 2000-11-11 Mark P Mitchell <mark@codesourcery.com>
731 * include/bits/basic_file.h (__basic_file): Don't use __c_wfile_type
732 when _GLIBCPP_USE_WCHAR_T is not defined.
734 2000-11-10 Phil Edwards <pme@sources.redhat.com>
736 * include/bits/codecvt.h (__iconv_adaptor): New adaptor function,
737 courtesy of Alexandre Oliva, to handle const/non-const signatures.
738 (codecvt::do_out): Use.
739 (codecvt::do_in): And here.
741 2000-11-10 Gabriel Dos Reis <gdr@codesourcery.com>
743 * include/bits/cpp_type_traits.h: Fix typos. Adjust formatting.
745 2000-11-10 Gabriel Dos Reis <gdr@codesourcery.com>
747 * include/bits/localefwd.h (_Count_ones<>::_S_halfcount,
748 _Count_ones<>::_S_count): Turn into enumerators.
750 2000-11-08 Mark Mitchell <mark@codesourcery.com>
752 * include/bits/codecvt.h (codecvt::do_out): Make it const-correct.
753 (codecvt::do_in): Likewise.
755 2000-11-08 David Edelsohn <edelsohn@gnu.org>
757 * src/locale-inst.cc: Add explicit instantiations of
758 _M_fill_insert and fill_n<..., unsigned long,...> .
760 2000-11-06 Gabriel Dos Reis <gdr@codesourcery.com>
762 * include/bits/std_complex.h (conj): Undo double removal.
764 2000-11-06 Alexandre Oliva <aoliva@redhat.com>
766 * acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of
767 alternatives for CXX_libstdcxx, now that it is useless.
768 * aclocal.m4, configure: Rebuilt.
770 2000-11-04 Mark Mitchell <mark@codesourcery.com>
772 * acinclude.m4 (LIB_AC_PROG_CXX): Set CXX_libstdcxx from CXX.
773 * aclocal.m4: Regenerated.
774 * configure: Likewise.
776 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix punctuation in
778 * aclocal.m4: Regenerated.
779 * configure: Likewise.
781 2000-11-04 Alexandre Oliva <aoliva@redhat.com>
783 * acinclude.m4 (CXX): Prevent it from being cached.
784 * aclocal.m4, configure, */Makefile.in: Rebuilt.
786 2000-11-03 David Edelsohn <dje@watson.ibm.com>
788 * acinclude.m4 (GLIBCPP_CHECK_OS): Add AIX target selecting threads
789 flag based on multilib definition of $CXX.
790 * mknumeric_limits (LDFLAGS): Add AIX target linking with pthreads
791 based on multilib definition of $CXX.
792 * config/os/aix/bits/os_defines.h (_G_USING_THUNKS): Define as 0.
794 2000-11-03 Phil Edwards <pme@sources.redhat.com>
796 * acinclude.m4: Cleanups.
797 * aclocal.m4: Regenerated.
799 * Makefile.in: Ditto.
800 * libio/Makefile.in: Ditto.
801 * libmath/Makefile.in: Ditto.
802 * libsupc++/Makefile.in: Ditto.
803 * src/Makefile.in: Ditto.
805 * docs/install.html: Removal of EGCS.
806 * docs/23_containers/wrappers_h.txt: Likewise.
807 * docs/faq/index.html: Likewise.
808 * docs/faq/index.txt: Regenerated.
809 * docs/thanks.html: More people.
811 2000-11-03 David Edelsohn <edelsohn@gnu.org>
813 * include/c/bits/std_cwchar.h: Undefine macro that conflicts
814 with function name defined in this file.
816 Thu Nov 2 23:19:20 2000 Mark P Mitchell <mark@codesourcery.com>
818 * include/c/bits/std_cctype.h: Undefine macros that conflict
819 with function names defined in this file.
820 * include/c/bits/std_cstdio.h: Likewise.
822 2000-11-02 Mark Mitchell <mark@codesourcery.com>
824 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix typo.
826 Thu Nov 2 10:11:45 2000 Mark P Mitchell <mark@codesourcery.com>
828 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Add support for IRIX.
829 * aclocal.m4: Regenerated.
830 * Makefile.in: Regenerated.
831 * libio/Makefile.in: Likewise.
832 * libmath/Makefile.in: Likewise.
833 * libsupc++/Makefile.in: Likewise.
834 * src/Makefile.in: Likewise.
835 * configure: Likewise.
836 * config/os/irix/bits/ctype_base.h: Revise.
837 * config/os/irix/bits/ctype_inline.h: Likewise.
838 * config/os/irix/bits/ctype_noninline.h: Likewise.
840 * testsuite/22_locale/codecvt_unicode_char.cc: Don't run it
841 if not _GLIBCPP_USE_WCHAR_T.
842 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
843 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
844 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
846 * mkcheck.in: Fix echoing of -rpath option.
848 * config/os/irix/bits/atomicity.h (_Atomic_word): Make it a
850 (__exchange_aand_add): Adjust accordingly.
851 (__atomic_add): Likewise.
853 2000-11-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
855 * src/locale.cc: Match orderings for static members.
856 * include/bits/fstream.tcc: Fixes for cin.
858 2000-11-02 Gabriel Dos Reis <gdr@codesourcery.com>
860 * include/bits/std_complex.h (complex<>): Remove (cos<>, cosh<>,
861 exp<>, log<>, log<>, sin, sinh<>) friend declarations.
862 (cos, cosh, sin, sinh): Define primary templates.
864 * src/complex.cc (cos<>, cosh<>, sin<>, sinh<>): Comment out
867 2000-11-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
869 * bits/basic_file.h (_M_open_mode): Change signature, move
871 * config/c_io_libio.cc: ...here.
872 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add sdtio option, remove wince.
873 * aclocal.m4: Regenerate.
874 * configure: Regenerate.
875 * config/c_io_stdio.h: New file.
876 * config/c_io_stdio.cc: New file.
877 * docs/configopts.html: Modify documentation.
879 2000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
881 * include/c/bits/std_cwctype.h: Add more undefs.
883 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
885 * include/bits/std_complex.h (norm): Forward declare.
886 (complex<>): Comment out friend declaration of conj<>.
887 (conj<>): Comment out specialization.
888 (exp, log, log10): Define primary templates.
890 * src/complex.cc (exp<>, log<>, log10<>): Comment out
893 2000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
895 * include/bits/std_complex.h: Remove duplicate definition of conj.
896 * include/c/bits/std_cwctype.h: Consistent placement of undefs.
898 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
900 * src/complex.cc (arg, polar): Comment out specializations.
902 * include/bits/std_complex.h (complex<>): Remove arg<> friend
904 (arg): Define primary template.
908 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
910 * include/c/bits/std_cwctype.h: #undef possible function-like
911 macro definitions of iswxxx functions, which might be brought in
912 by <wctype.h>. Those macro definitions prevent build on some
915 * include/bits/std_complex.h (complex<>): Comment out friend
916 declarations of abs<> specializations.
917 (abs): Define primary template.
919 * src/complex.cc (abs): Comment out specialization definition.
921 2000-10-30 Phil Edwards <pme@sources.redhat.com>
923 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Raise debugging level from
924 the default of 2 to 3.
925 * configure.in: Fix minor typos. SUBST the values of enable_shared
926 and enable_static so that mkcheck will be aware of them. Put the
927 test for gconv.h in with all the other header tests.
928 * aclocal.m4: Regenerate.
930 * Makefile.in: Ditto.
931 * libio/Makefile.in: Ditto.
932 * libmath/Makefile.in: Ditto.
933 * libsupc++/Makefile.in: Ditto.
934 * src/Makefile.in: Ditto.
936 * config/os/solaris/solaris2.7/bits/os_defines.h: Define
937 _G_USING_THUNKS to 0.
939 2000-10-30 Benjamin Kosnik <bkoz@redhat.com>
941 * src/complex_io.cc : Remove ancient defines.
942 * config/os/gnu-linux/bits/os_defines.h: Add defines.
943 * libsupc++/tinfo2.cc: Change to cstddef.
945 * include/bits/codecvt.h: Add include of c++config.h, so that
946 __USE_GNU gets defined. (Important for alpha.)
948 * include/c/bits/std_cwctype.h: Same.
949 * include/c/bits/std_ctime.h: And here.
950 * include/c/bits/std_cstdarg.h: Same.
951 * include/c/bits/std_csignal.h: Same.
952 * include/c/bits/std_csetjmp.h: Same.
953 * include/c/bits/std_clocale.h: Same.
954 * include/c/bits/std_climits.h: Touch.
955 * include/c/bits/std_cfloat.h: Same.
956 * include/c/bits/std_cerrno.h: Same.
957 * include/c/bits/std_cwchar.h: Same.
958 * include/c/bits/std_cassert.h: Same.
959 * include/c/bits/std_cctype.h: Same.
960 * include/c/bits/std_cstddef.h: And here.
961 * include/c/bits/std_cstdlib.h: And here.
962 * include/c/bits/std_cstdio.h: Same.
963 * include/c/bits/std_cstring.h: Add names to namespace std::.
965 * include/bits/c++config (_GNU_SOURCE): Move linux-specific macros
967 (_ISOC99_SOURCE): And this one....
968 * config/os/gnu-linux/bits/os_defines.h: ...to here.
970 * include/bits/codecvt.h (codecvt<_InternT, _ExternT,
971 __enc_traits>::do_in): Don't cast to const, this is a bug in glibc
973 (codecvt<_InternT, _ExternT, __enc_traits>::do_out): Same.
974 * include/c/bits/std_cwchar.h: Add using declarations for mbstate_t.
976 2000-10-30 Steven King <sxking@uswest.net>
978 * include/bits/codecvt.h: Add cast.
979 * include/c_std/stdio.h: Re-add printf using declaration.
980 * include/c_std/bits/std_cstdio.h: Same
981 * testsuite/22_locale/codecvt_wchar_t_char.cc: Fixup testsuite.
982 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
983 * testsuite/22_locale/facet.cc: Same.
984 * testsuite/22_locale/global_templates.cc: Same.
985 * testsuite/22_locale/operators.cc: Same.
986 * testsuite/22_locale/static_members.cc: Same.
987 * testsuite/26_numerics/c_math.cc: Same.
988 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
989 * testsuite/27_io/fpos.cc: Same.
990 * testsuite/27_io/istream_extractor_arith.cc: Same.
991 * testsuite/27_io/istream_unformatted.cc: Same.
992 * testsuite/27_io/ostream_inserter_arith.cc: Same.
993 * testsuite/27_io/streambuf.cc: Same.
995 2000-10-30 Mark Mitchell <mark@codesourcery.com>
997 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT): Check
998 for cabs, cabsf, and cabsl, too.
999 * aclocal.m4: Regenerated.
1000 * config.h.in: Likewise.
1001 * configure: Likewise.
1002 * libmath/Makefile.am (libmath_la_SOURCES): Remove cabs.c and
1004 * libmath/Makefile.in: Regenerated.
1005 * libmath/complex-stub.h (cabs): Don't declare if the system
1006 already provides this function.
1009 * src/complex.cc (abs): Directly use `hypot' since we can't call
1012 2000-10-30 Joseph S. Myers <jsm28@cam.ac.uk>
1014 * acinclude.m4: Update URL on egcs.cygnus.com to point to
1016 * aclocal.m4, configure: Regenerate.
1017 * src/gen-num-limits.cc, include/bits/c++config,
1018 include/bits/stl_config.h: Remove EGCS references.
1020 2000-10-29 Mark Mitchell <mark@codesourcery.com>
1022 * mkcheck.in (test_file): Use -rpath, rather than --rpath, when
1023 building shared executables.
1025 2000-10-29 Mark Harig <mharig@landmark.com>
1027 * src/Makefile.am: Change logic for include dir options.
1028 * src/Makefile.in: Regenerate.
1029 * libsupc++/Makefile.am: Ditto.
1030 * libsupc++/Makefile.in: Regenerate.
1032 2000-10-29 Benjamin Kosnik <bkoz@redhat.com>
1034 * configure.in: Simplify use of AC_CACHE_SAVE. Put linked files
1035 in $(top_builddir)/include/bits, not $(top_builddir)/bits, to help
1036 with libgcj build issues and improve consistency with the source
1037 directory's include directory setup.
1038 * configure: Regenerate.
1039 * acinclude.m4: Same here.
1040 * aclocal.m4: Regenerate.
1041 * mknumeric_limits (OUT_H): Also change paths here.
1042 * mkcheck.in (C_DIR): And here.
1043 * mkc++config (OUT_H): And here.
1044 * libmath/Makefile.am (INCLUDES): And here.
1045 * src/Makefile.am (INCLUDES): Change to $(top_builddir)/include.
1046 * libio/Makefile.am: Ditto.
1047 * libsupc++/Makefile.am (INCLUDES): Ditto.
1049 2000-10-29 Mark Mitchell <mark@codesourcery.com>
1051 * config/c_io_libio.cc (basic_file<char>::__basic_file):
1052 Don't pass a NULL _IO_wide_data to _IO_no_init when
1053 _GLIBCPP_USE_WCHAR_T is not defined.
1054 * config/c_io_libio.h (_IO_codecvt): Don't declare when
1055 _GLIBCPP_USE_WCHAR_T is not defined.
1056 * config/c_io_libio_codecvt.c: Don't compile it
1057 when _GLIBCPP_USE_WCHAR_T is not defined.
1058 * include/bits/codecvt.h (codecvt<_InternT, _ExternT, __enc_traits):
1059 Don't define this specialization when _GLIBCPP_USE_WCHAR_T
1061 * include/bits/locale_facets.h (<bits/std_cwctype.h>): Don't
1062 include it when _GLIBCPP_USE_WCHAR_T is not defined.
1063 * src/codecvt.cc (__enc_traits::_S_max_size): Don't define
1064 when _GLIBCPP_USE_WCHAR_T is not defined.
1065 * src/localename.cc (locale::_Impl::_M_construct_collate):
1066 Don't call wide-character functions when _GLIBCPP_USE_WCHAR_T is
1068 (locale::_Impl::_M_construct_ctype): Likewise.
1069 (locale::_Impl::_M_construct_monetary): Likewise.
1070 (locale::_Impl::_M_construct_numeric): Likewise.
1071 (locale::_Impl::_M_construct_time): Likewise.
1072 (locale::_Impl::_M_construct_messages): Likewise.
1074 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle IRIX.
1075 * aclocal.m4: Regenerated.
1076 * configure: Likewise.
1077 * config/os/irix/bits/atomicity.h: New file.
1078 * config/os/irix/bits/os_defines.h (_POSIX_SOURCE): Undefine.
1080 (__off64_t): Likewise.
1081 (__ssize_t): Likewise.
1082 (_G_USING_THUNKS): Define to zero.
1084 2000-10-28 Mark Mitchell <mark@codesourcery.com>
1086 * src/string-inst.cc (basic_string<C>::npos): Explicitly
1089 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
1091 * include/c/bits/std_cmath.h: Fix double declarations in namespace std.
1093 Clean up naming, consistency in "C" library autoconf testing.
1094 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): For consistency, change to
1095 GLIBCPP_CHECK_CTYPE_SUPPORT.
1096 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add.
1097 * aclocal.m4: Regenerate.
1098 * configure.in: And here.
1099 Add call to GLIBCPP_CHECK_STDLIB_SUPPORT.
1100 * configure: Regenerate.
1102 2000-10-26 David Edelsohn <edelsohn@gnu.org>
1104 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_2): New macro.
1105 (GLIBCPP_CHECK_MATH_SUPPORT): Use it to test for strtold.
1107 2000-10-26 Phil Edwards <pme@sources.redhat.com>
1108 David Edelsohn <dje@watson.ibm.com>
1110 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
1111 --gc-sections stuff entirely to avoid misleading people.
1112 (GLIBCPP_ENABLE_CSTDIO): Merge need_libio and need_xtra_libio.
1113 * libio/Makefile.am (LIBIO_SRCS,LIBIO_WSRCS,LIBIO_XTRA_SRCS):
1114 Rearrange and merge.
1115 * libio/libio.h: Simplify, make fewer assumptions. Define those
1116 macros which must be defined.
1117 * config/os/solaris/solaris2.7/bits/os_defines.h: Simplify as a
1120 2000-10-26 Mark Mitchell <mark@codesourcery.com>
1122 * include/backward/streambuf.h: New file.
1124 2000-10-26 David Edelsohn <dje@watson.ibm.com>
1126 * config/os/aix/bits/ctype_inline.h (is): Use __OBJ_DATA directly.
1127 * config/os/aix/bits/ctype_noninline.h (do_tolower): Fix typo.
1128 * config/os/aix/bits/os_defines.h: Add AIX defines.
1130 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
1132 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Remove.
1133 * aclocal.m4: Regenerate.
1134 * configure.in: Remove GLIBCPP_ENABLE_LONG_DOUBLE.
1135 * configure: Regenerate.
1136 * docs/configopts.html: Remove.
1137 * src/complexl.cc: Revert.
1138 * config.h.in: Remove.
1139 * include/c_std/bits/std_cmath.h: Remove guards based on
1140 _GLIBCPP_USE_LONG_DOUBLE.
1141 * include/c/bits/std_cmath.h: Same. Format. Match c_std behavior
1142 with respect to long double signatures.
1144 * config/os/aix/bits/ctype_noninline.h (ctype): Remove throw
1146 * config/os/newlib/bits/ctype_noninline.h (ctype): And here.
1147 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
1148 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
1149 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
1150 * config/os/bsd/bits/ctype_noninline.h (ctype): Same.
1152 2000-10-26 Gabriel Dos Reis <gdr@codesourcery.com>
1154 * include/bits/std_valarray.h (valarray::valarray): Fix thinko.
1155 Use __valarray_copy_construct only where appropriate.
1157 2000-10-25 Mark Mitchell <mark@codesourcery.com>
1159 * Makefile.in (check): Don't make mkcheck executable.
1160 (check-install): Likewise.
1161 * configure.in (AC_OUTPUT): Make mkcheck executable.
1162 * mkcheck.in (top_srcdir): New variable.
1163 (INC_PATH): Set the path to the backward and ext directories
1166 2000-10-25 Phil Edwards <pme@sources.redhat.com>
1168 * configure.in: Check for gconv.h.
1169 * libio/wfileops.c: Wrap gconv.h in HAVE_GCONV_H.
1171 * config/c_io_libio_codecvt.c: Change __mbstate_t to __c_mbstate_t.
1172 * libio/_G_config.h: And here.
1173 * libio/iofwide.c: And here.
1174 * libio/libio.h: And here.
1176 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Remove
1177 exception specification to match declaration.
1178 * include/bits/locale_facets.tcc: Include bits/std_clocale.h.
1180 2000-10-24 Mark Harig <mharig@landmark.com>
1182 * docs/configopts.html: Added documentation for the
1183 "--enable-version-specific-runtime-libs" and
1184 "--with-gxx-include-dir" configuration switches.
1186 2000-10-24 Benjamin Kosnik <bkoz@redhat.com>
1188 * include/bits/stl_pair.h (make_pair): Add LWG solution.
1190 * testsuite/21_strings/compare.cc (test01): Inject namespace std
1193 * mkcheck.in (MAX_MEM_USAGE): Bump up to 3072. Strangely enough,
1196 2000-10-24 Levente Farkas <lfarkas@mindmaker.hu>
1198 * include/bits/std_bitset.h (_M_do_find_next): Fix typo.
1200 2000-10-24 Phil Edwards <pme@sources.redhat.com>
1202 * acconfig.h: List _GLIBCPP_USE_THREADS.
1203 * acinclude.m4: General formatting cleanup (tabs/spaces), typo
1204 correction, etc. Add comments about following *real* changes
1205 where they are used.
1206 (GLIBCPP_ENABLE_C_MBCHAR): New test...
1207 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): ...results used here.
1208 (GLIBCPP_ENABLE_CSTDIO): Define need_wlibio iff wide characters
1210 (GLIBCPP_ENABLE_THREADS): If threads are used, define new
1211 macro _GLIBCPP_USE_THREADS in c++config.h.
1212 (GLIBCPP_ENABLE_SHADOW): For C_INCLUDE_DIR, change () to {} as
1213 this is used in both makefiles and shell scripts (mkcheck).
1214 * configure.in: Call GLIBCPP_ENABLE_C_MBCHAR.
1216 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USE_THREADS.
1217 * config/c_io_libio.h: In nonthreaded case, typedef __c_lock to
1218 something harmless, like int.
1220 * config/os/aix/bits/os_defines.h: Guard with _GLIBCPP_OS_DEFINES,
1221 add comment/instructions.
1222 * config/os/bsd/bits/os_defines.h: Ditto.
1223 * config/os/generic/bits/os_defines.h: Ditto.
1224 * config/os/gnu-linux/bits/os_defines.h: Ditto.
1225 * config/os/irix/bits/os_defines.h: Ditto.
1226 * config/os/newlib/bits/os_defines.h: Ditto.
1227 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
1228 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
1230 * mkcheck.in: Limit the available heap size for testsuite
1231 binaries, initially at 2MB.
1233 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
1235 * testsuite/21_strings/compare.cc (test01): Add using declarations.
1237 * include/c_std/bits/std_cerrno.h: And here.
1238 * include/c_std/bits/std_cassert.h: Tweaks.
1240 * mkcheck.in: Simplify.
1242 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
1243 (GLIBCPP_ENABLE_LONG_LONG): Same.
1244 * aclocal.m4: Regenerate.
1246 * src/Makefile.am (c_shadow_headers): Add features.h,
1247 bits/wrap_features.h.
1248 * src/Makefile.in: Regenerate.
1249 * include/c_std/features.h: New file.
1250 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
1251 file. Need to have c++config.h included before this file so
1252 _ISOC99_SOURCE around.
1254 * include/c_std/sys/cdefs.h: Hack.
1255 * include/c_std/stdlib.h: Same, use c++config.h.
1256 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
1258 * include/c_std/bits/std_cassert.h: Fix.
1259 * include/c_std/bits/std_cerrno.h: Make consistent.
1261 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
1262 declaration from ::_C_legacy to _C_legacy.
1264 * include/c_std/bits/std_cstdio.h: same with printf.
1265 * include/c_std/stdio.h: And here.
1267 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
1268 * include/c_std/stdlib.h: Same here.
1270 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
1272 * testsuite/21_strings/compare.cc (test01): Add using declarations.
1274 * include/c_std/bits/std_cerrno.h: And here.
1275 * include/c_std/bits/std_cassert.h: Tweaks.
1277 * mkcheck.in: Simplify.
1279 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
1280 (GLIBCPP_ENABLE_LONG_LONG): Same.
1281 * aclocal.m4: Regenerate.
1283 * src/Makefile.am (c_shadow_headers): Add features.h,
1284 bits/wrap_features.h.
1285 * src/Makefile.in: Regenerate.
1286 * include/c_std/features.h: New file.
1287 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
1288 file. Need to have c++config.h included before this file so
1289 _ISOC99_SOURCE around.
1291 * include/c_std/sys/cdefs.h: Hack.
1292 * include/c_std/stdlib.h: Same, use c++config.h.
1293 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
1295 * include/c_std/bits/std_cassert.h: Fix.
1296 * include/c_std/bits/std_cerrno.h: Make consistent.
1298 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
1299 declaration from ::_C_legacy to _C_legacy.
1301 * include/c_std/bits/std_cstdio.h: same with printf.
1302 * include/c_std/stdio.h: And here.
1304 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
1305 * include/c_std/stdlib.h: Same here.
1307 2000-10-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1309 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): New macro.
1310 * aclocal.m4: Regenerate.
1311 * configure.in: Use it.
1312 * configure: Regenerate.
1313 * src/complexl.cc: Fixup.
1314 * include/c_std/bits/std_cmath.h: Fixup.
1315 * include/c/bits/std_cmath.h: Fixup.
1316 * docs/configopts.html: Add docs.
1318 * docs/links.html: Add links to defects list, standards FAQ.
1320 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Disable tests
1321 with string creation that allocate huge ammounts of memory.
1323 * include/c/bits/std_cstddef.h: Put size_t, ptrdiff_t in
1326 2000-10-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1328 * libsupc++/exception.cc: Use namespace std.
1329 * libsupc++/new: DITTO.
1330 * libsupc++/new_op.cc: DITTO.
1331 * libsupc++/new_opnt.cc: DITTO.
1332 * libsupc++/new_opv.cc: DITTO.
1333 * libsupc++/new_opvnt.cc: DITTO.
1334 * libsupc++/tinfo.cc: DITTO.
1335 * libsupc++/tinfo.h: DITTO.
1336 * libsupc++/vec.cc: DITTO.
1337 * libsupc++/Makefile.am: Blank lines removal.
1339 2000-10-21 Joseph S. Myers <jsm28@cam.ac.uk>
1341 * docs/configopts.html, docs/install.html, docs/17_intro/BADNAMES,
1342 docs/17_intro/howto.html, docs/18_support/howto.html,
1343 docs/19_diagnostics/howto.html, docs/20_util/howto.html,
1344 docs/21_strings/howto.html, docs/22_locale/howto.html,
1345 docs/23_containers/howto.html, docs/24_iterators/howto.html,
1346 docs/25_algorithms/howto.html, docs/26_numerics/howto.html,
1347 docs/27_io/howto.html, docs/ext/howto.html, docs/faq/index.html:
1348 Remove many EGCS references; use current absolute URLs on
1349 gcc.gnu.org or sources.redhat.com for messages in list archives.
1350 * docs/faq/index.txt: Regenerate.
1352 2000-10-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1354 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Adjust
1355 creation of state_type for unicode_codecvt to take into account
1356 the byte order markings. Add distinct tests for UCS-2BE and UCS-2LE.
1357 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Same.
1358 * include/bits/codecvt.h (__enc_traits): Add support for encodings
1359 that need a byte order marker. Needed for correct unicode support.
1361 * src/locale.cc: Remove explicit qualification std::.
1362 (locale::locale(const char* __name)): Revert, as named locale
1363 support not finished.
1364 * src/localename.cc (locale::_Impl:: _Impl(size_t __numfacets,
1365 size_t __refs, bool __has_name = false, string __name): Move
1367 * include/bits/localefwd.h: Here.
1369 2000-10-18 Chip Salzenberg <chip@valinux.com>
1371 * libio/libio.h (_IO_USER_LOCK): Define.
1373 2000-10-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1375 * libsupc++/Makefile.am (exception): Change exception.cc to
1376 exception_support.cc.
1377 (CXXLINK): Remove bogus --tag CC.
1378 * libsupc++/Makefile.in: Regenerate.
1379 * libsupc++/exception.cc: Move to...
1380 * libsupc++/exception_support.cc: ...here.
1382 * src/Makefile.am: Remove bogus --tag CC.
1383 * src/Makefile.in: Regenerate.
1385 * include/bits/locale_facets.tcc (use_facet): Simplify.
1386 * include/bits/locale_facets.h (use_facet<ctype<char> >): Correct
1387 use_facet declaration. Replace 'const ctype<T>' with ctype<T>.
1388 (use_facet<ctype<wchar_t> >): Same.
1389 * src/locale-inst.cc: Remove explicit instantiation.
1390 * src/locale.cc: Correct signature here too.
1391 (_Bad_use_facet::what()): Correct error string.
1392 * include/bits/localefwd.h: Correct comment.
1394 * mkcheck.in (C_DIR): Change libsupc++/include to libsupc++.
1396 2000-10-17 Martin Buchholz <martin@xemacs.org>
1398 * testsuite/27_io/istream_seeks.cc: Fix spelling typo.
1399 * testsuite/27_io/ostream_seeks.cc: Similarly.
1401 2000-10-17 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1403 via Alexandre Oliva <aoliva@redhat.com>
1404 * libsupc++/Makefile.am: Add --tag CXX, --tag CC, comments.
1405 * libsupc++/Makefile.in: Regenerate.
1406 * src/Makefile.am: Duplicate code.
1407 * src/Makefile.in: Regenerate.
1409 * acinclude.m4 (GLIBCPP_ENABLE_RELIBGCC): Take this out.
1410 * aclocal.m4: Regenerate.
1411 * configure.in: And here.
1412 * configure: Regenerate.
1414 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Disable
1415 test for SECTION_LDFLAGS.
1417 2000-10-16 Benjamin Kosnik <bkoz@gnu.org>
1419 Shadow headers would work if libsupc++ was strict about namespaces.
1420 This only possible if g++ maps std::size_t -> size_t. (Hint hint.)
1421 * include/c_std/assert.h: Add guards.
1422 * include/c_std/bits/std_climits.h: Correct typo.
1423 * include/c_std/ctype.h: Remove #error.
1425 * libio/libioP.h: Break up extern "C" bits around includes.
1426 * libio/libio.h: Only include C headers, or else _C_legacy namespaces
1428 * libio/libioP.h: Same here.
1430 2000-10-15 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1432 * include/c_std/unistd.h: Define some types only when defined in
1433 the original unistd.h.
1434 * include/c_std/bits/std_cstddef.h: Explicitly ask for the
1435 definition of size_t, ptrdiff_t and NULL.
1436 * include/c_std/bits/wrap_unistd.h: Blank lines removal.
1438 2000-10-15 Phil Edwards <pme@sources.redhat.com>
1440 * docs/configopts.html: Remove libgcc-rebuild; HTML formatting.
1442 2000-10-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1443 Mark Harig <markh@landmark.com>
1445 * src/Makefile.am (toolexeclibdir): Add support fo
1446 VERSION_SPECIFIC_LIBS and --with-gxx-include-dir.
1447 * src/Makefile.in: Regenerate.
1448 * libsupc++/Makefile.am: Same.
1449 (glibcppinstalldir): Adjust.
1450 * libsupc++/Makefile.in: Regenerate.
1451 * Makefile.am: Remove gxx_include_dir. Remove INCLUDE.
1452 * Makefile.in: Regenerate.
1453 * docs/configopts.html: Add descriptions of flags.
1455 2000-10-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1457 * libsupc++/Makefile.am: Use it.
1458 * libio/Makefile.am: Use it.
1459 * libmath/Makefile.am: Use it.
1460 * src/Makefile.am: Use it.
1461 * Makefile.am (AM_MAKEFLAGS): Remove includes.
1463 * acinclude.m4 (GLIBCPP_EXPORT_INCLUES): Move include macros here.
1464 (GLIBCPP_EXPORT_FLAGS): Move CXX flag setting here.
1465 * configure.in: Use it.
1467 * mkcheck.in (SRC_DIR): Use C_INCLUDE_DIR.
1469 * src/Makefile.am (CXXCOMPILE): Remove.
1470 * src/Makefile.in: Regenerate.
1471 * libsupc++/Makefile.am (CXXCOMPILE): Same here.
1472 * libsupc++/Makefile.in: Regenerate.
1474 * include/c_std/*: Merge with shadow.
1475 * include/c_std/bits/*: Same.
1477 * shadow: Remove directory.
1478 * shadow/*: De-populate.
1480 2000-10-11 Phil Edwards <pme@sources.redhat.com>
1482 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
1483 exception-throwing code for linker test.
1484 * aclocal.m4: Regenerate.
1485 * configure: Regenerate.
1487 2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1489 * Makefile.am (LIBSUPCXX_INCLUDES): Adjust.
1490 * libsupc++/include: Remove
1491 * libsupc++/include/*: Move to ...
1493 * libsupc++/Makefile.am (glibcppinstall_HEADERS): Install headers.
1494 (glibcppinstalldir): New.
1496 * src/Makefile.am (c_base_headers): New.
1497 (c_shadow_headers): New
1499 (myinstallheaders): Correct install issues.
1500 * src/Makefile.in: Regenerate.
1502 * Makefile.am (CSHADOW_INCLUDES): Simplify.
1503 * Makefile.in: Regenerate.
1504 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add c_include_dir.
1505 * aclocal.m4: Regenerate.
1506 * mkcheck.in (SRC_DIR): Use it.
1508 * include/bits/std_stdexcept.h: And here.
1509 * include/bits/std_ios.h: Change std_exception.h to exception.
1510 * src/locale.cc: And here.
1511 * src/locale-inst.cc: And here.
1513 * include/bits/valarray_array.h: And here.
1514 * include/bits/stl_alloc.h: And here.
1515 * include/bits/stl_algobase.h: And here.
1516 * include/bits/pthread_allocimpl.h: And here.
1517 * include/bits/stl_construct.h: Change to std_new.h to new.
1519 * include/bits/locale_facets.h: Change std_typeinfo.h to typeinfo.
1521 * src/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
1522 (headers): Remove duplicated headers.
1523 (std_headers): And here.
1524 * src/Makefile.in: Regenerate.
1525 * libsupc++/Makefile.am (LIBSUPCXX_INCLUDES): Remove.
1526 * libsupc++/Makefile.in: Regenerate.
1527 * Makefile.am (LIBSUPCXX_INCLUDES): Add here.
1528 (AM_MAKEFLAGS): And here.
1529 * Makefile.in: Regenerate.
1530 * include/bits/std_typeinfo.h: Remove.
1531 * include/bits/std_new.h: Remove
1532 * include/bits/std_exception.h: Remove.
1534 * std/typeinfo: Remove.
1535 * std/exception: Remove.
1537 * libio/_G_config.h (__need_ptrdiff_t): Add.
1539 * libsupc++/include/new: Change stddef.h to cstddef.
1540 * libsupc++/tinfo.h: Change limits.h to climits.
1541 * libsupc++/pure.cc: Comment out _GNU_LIBRARY_ bits, as this
1542 renders the file uncompilable. Add copyright.
1544 * include/c_std/bits/std_cstddef.h: Don't bring wchar_t into std
1545 namespace, as it is a fundamental type.
1547 2000-10-09 Richard Henderson <rth@cygnus.com>
1549 * libsupc++/pure.cc: New file.
1550 * libsupc++/Makefile.am (INCLUDES): Add top_builddir.
1551 (sources): Add pure.cc.
1552 * libsupc++/Makefile.in: Regenerate.
1554 2000-10-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1556 * docs/configopts.html: Edit.
1558 * libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
1559 * libio/Makefile.in: Regenerate.
1560 * libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
1561 * libmath/Makefile.in: Regenerate.
1562 * libsupc++/Makefile.am (INCLUDES): Remove duplicate.
1563 * libsupc++/Makefile.in: Regenerate.
1565 * Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
1566 TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
1567 CSHADOW_INCLUDES up here.
1568 * Makefile.in: Regenerate.
1569 * src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
1571 (myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
1572 Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
1573 LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
1574 * src/Makefile.in: Regenerate.
1576 * include/c: New directory.
1577 * include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
1578 std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
1579 std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
1580 std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
1581 std_cwchar.h, std_cwctype.h): Add, moving from...
1582 * include/bits: ...here.
1583 * include/c_std: New directory.
1584 * include/c_std/bits/*: Populate from...
1585 * shadow: ...here. Remove directory.
1587 2000-10-08 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1589 * libsupc++/Makefile.am (INCLUDES): Add toplevel include directory.
1590 (INCLUDES): Add glibcpp_includedir.
1591 * libsupc++/Makefile.in: Regenerate.
1593 * acinclude.m4 (GLIBCPP_CHECK_OS): Link to os_defines.h.
1594 * aclocal.m4: Regenerate.
1595 * config/os/*/bits/os_defintes: Adjust copyright dates.
1597 2000-10-08 Phil Edwards <pme@sources.redhat.com>
1599 * include/bits/c++config: Include <bits/os_defines.h>
1600 * config/os/aix/bits/os_defines.h: New file.
1601 * config/os/bsd/bits/os_defines.h: Ditto.
1602 * config/os/generic/bits/os_defines.h: Ditto.
1603 * config/os/gnu-linux/bits/os_defines.h: Ditto.
1604 * config/os/irix/bits/os_defines.h: Ditto.
1605 * config/os/newlib/bits/os_defines.h: Ditto.
1606 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
1607 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
1608 * config/os/solaris/solaris2.7/bits/os_defines.h: Ditto.
1610 2000-10-07 David Edelsohn <dje@watson.ibm.com>
1612 * config/os/aix/bits/atomicity.h: New file.
1614 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1616 * acinclude.m4: Remove CPU_FLAGS
1617 * libio/Makefile.am: Here too.
1618 * Makefile.am: Here too.
1620 * src/Makefile.am (CONFIG_INCLUDES): Remove.
1621 (INCLUDES): Remove CONFIG_INCLUDES.
1622 (cpu_headers): Remove.
1623 (myinstallheaders): Remove cpu_headers.
1624 (generated_headers): Rename to build_headers.
1625 (build_headers): Add atomicity.h, ctype_base.h,
1626 ctype_specializations.h.
1628 * config/os: New directory.
1629 * config/aix: Move to...
1630 * config/bsd: Move to...
1631 * config/generic: Move to...
1632 * config/gnu-linux: Move to...
1633 * config/irix: Move to...
1634 * config/newlib: Move to...
1635 * config/solaris: Move to...
1636 * config/os/*: Here.
1638 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1640 * acinclude.m4: Remove CPU_FLAGS
1641 * libio/Makefile.am: Here too.
1642 * Makefile.am: Here too.
1644 * src/Makefile.am (CONFIG_INCLUDES): Remove.
1645 (INCLUDES): Remove CONFIG_INCLUDES.
1646 (cpu_headers): Remove.
1647 (myinstallheaders): Remove cpu_headers.
1648 (generated_headers): Rename to build_headers.
1649 (build_headers): Add atomicity.h, ctype_base.h,
1650 ctype_specializations.h.
1652 * config/os: New directory.
1653 * config/aix: Move to...
1654 * config/bsd: Move to...
1655 * config/generic: Move to...
1656 * config/gnu-linux: Move to...
1657 * config/irix: Move to...
1658 * config/newlib: Move to...
1659 * config/solaris: Move to...
1660 * config/os/*: Here.
1662 2000-10-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1664 * src/Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS,
1665 CONFIG_CXXFLAGS from here, and move to...
1666 * src/Makefile.in: Regenerate.
1667 * Makefile.am: ... here. Clean.
1668 (OPTIMIZE_CXXFLAGS): Move up Makefile hierarchy to here.
1669 (WARN_CXXFLAGS): Same.
1670 (CONFIG_CXXFLAGS): Same.
1671 * Makefile.in: Regenerate.
1672 * libsupc++/Makefile.am: Use top-level OPTIMIZE_CXXFLAGS,
1673 WARN_CXXFLAGS, CONFIG_CXXFLAGS as part of local AM_CXXFLAGS.
1674 * libsupc++/Makefile.in: Regenerate.
1676 Change math to libmath.
1677 * math: Move to libmath, delete.
1678 * libmath: New directory.
1679 * libmath/*: Populate.
1680 * src/Makefile.am (LIBMATH_INCLUDES): Change to libmath.
1681 (libstdc___la_LIBADD): Same.
1682 * src/Makefile.in: Regenerate.
1683 * configure.in: Add AC_OUTPUT for libmath/Makefile.
1684 * configure: Regenerate.
1685 * Makefile.am (SUBDIRS): Add libmath.
1686 * Makefile.in: Regenerate.
1687 * README (file): Change name.
1689 2000-10-06 Benjamin Kosnik <bkoz@cygnus.com>
1690 Richard Henderson <rth@cygnus.com>
1691 Alexandre Oliva <aoliva@redhat.com>
1693 * libsupc++: New directory.
1694 * libsupc++/*: Populate.
1695 * libsupc++/Makefile.am (INCLUDES): Add -I../../gcc for
1696 eh-common.h, gansidecl.h.
1697 * configure.in: Add in libsupc++/Makefile to AC_OUTPUT.
1698 * configure: Regenerate.
1699 * Makefile.am (SUBDIRS): Add libsupc++.
1700 * Makefile.in: Regenerate.
1701 * src/Makefile.am (libstdc___la_LIBADD): Add in libsupc++.la
1702 * src/Makefile.in: Regenerate.
1703 * libio/Makefile.am: Remove extraneous, confusing bits.
1704 * libio/Makefile.in: Regenerate.
1706 2000-10-05 Brent Verner <brent@rcfile.org>
1708 * bits/istream.tcc [basic_istream::get(basic_streambuf&)]: Removed
1709 test for _M_gcount < in_avail(), as in_avail() only reports info
1710 for current buffer, causing method to return at end of buffer.
1711 * testsuite/27_io/istream_unformatted.cc [test07()]: New test.
1712 * testsuite/27_io/istream_unformatted-3.txt: New file.
1713 * testsuite/27_io/istream_unformatted-3.tst: New file.
1715 2000-10-05 Benjamin Kosnik <bkoz@fillmore.constant.com>
1717 * README (file): Adjust directory structures.
1718 * mkcheck.in (INC_PATH): Adjust for header changes.
1720 2000-10-05 Phil Edwards <pme@sources.redhat.com>
1722 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Tweaks to message texts
1723 for public relations purposes.
1724 * aclocal.m4: Regenerated.
1725 * configure: Regenerated.
1727 * docs/ext/howto.html: Additional explanation about hashing.
1729 2000-10-05 Benjamin Kosnik <bkoz@cygnus.com>
1731 * include: New directory.
1732 * include/backward: New directory.
1733 * include/bits: New directory.
1734 * include/ext: New directory.
1735 * include/std: New directory.
1736 * include/*/*: Populate.
1738 * backwards: Move to include/backwards, delete.
1739 * bits: Move to include/bits, delete.
1740 * ext: Move to include/ext, delete.
1741 * std: Move to include/std, delete.
1743 * src/complex.cc: Adjust include of mathconf.
1745 * mkc++config (BASE_H): Add include.
1747 * src/Makefile.am: Support for topleve sources include directory.
1748 (INCLUDES): Add LIBMATH_INCLUDE.
1749 * src/Makefile.in: Regenerate.
1750 * math/Makefile.am (INCLUDES): Append /include.
1751 * math/Makefile.in: Regenerate.
1752 * libio/Makefile.am (INCLUDES): Add glibcpp_includedir.
1753 * libio/Makefile.in: Regenerate.
1755 2000-10-04 Benjamin Kosnik <bkoz@gnu.org>
1757 * libio/_G_config.h : Re-guard the __mbstate_t declaration.
1759 2000-10-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1761 * docs/22_locale/howto.html: Add link to proto-documentation on
1763 * docs/documentation.html: Rename links for clarity.
1765 * src/Makefile.am (headers): Remove unistd.h, wrap_unistd.h. Add
1766 fcntl.h, iolibio.h, libioP.h, pthread.h, iconv.h.
1767 * src/Makefile.in: Regenerate.
1769 2000-10-02 Steven King <sxking@uswest.net>
1771 * mkcshadow: Fixed script to output proper include guard.
1772 * bits/char_traits.h: Cleaned up types in char_traits<char> functions.
1773 * libio/_G_config.h: Hacked to make work with shadow heraders.
1774 * shadow/*: Hacked to make shadow headers work.
1776 2000-10-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1778 Self-compile with shadow headers.
1779 * acconfig.h (_GLIBCPP_USE_SHADOW_HEADERS): Define. Eventually,
1780 like _GLIBCPP_USE_NAMESPACES before it, this macro will die when
1781 it becomes the default way the library is built.
1782 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro.
1783 * config/gnu-linux/bits/ctype_base.h (ctype_base): Use it.
1784 * config/gnu-linux/ctype.cc (ctype): Use it.
1786 * src/localename.cc (locale::_Impl::_M_replace_categories): Remove
1788 * src/locale.cc: Explicitly cast mbstate_t to void* in calls to
1789 memset. This should not be necessary, but an ambiguous overload
1792 * shadow/bits/std_cwchar.h: Fix.
1793 * shadow/wchar.h: Fix.
1795 * config/gnu-linux/bits/ctype_base.h (ctype_base): Inject ctype
1796 enums into namespace std:: for ctype_base enum. Other OS types
1797 will have to do this as well.
1798 * config/gnu-linux/ctype.cc (ctype): Inject ctype data into
1799 namespace std, in particular __ctype_toupper, __ctype_tolower,
1802 * shadow/iolibio.h: New file.
1803 * shadow/bits/wrap_iolibio.h: New file.
1804 * shadow/libioP.h: New file.
1805 * shadow/bits/wrap_libioP.h: New file.
1806 * shadow/bits/wrap_fcntl.h: New file.
1807 * shadow/fcntl.h: New file.
1808 * shadow/iconv.h: New file. Inject iconv names into the global
1809 namespace, unmangled for the moment.
1810 * shadow/bits/wrap_iconv.h: New file.
1811 * shadow/unistd.h: Remove. Useless.
1812 * shadow/bits/wrap_unistd.h: Remove.
1814 * src/Makefile.am: Take out machine-ansi.h, add fcntl.h unistd.h.
1815 * src/Makefile.in: Regenerate.
1817 * config/c_io_libio.h (_IO_codecvt): Change to normal C++ decl.
1819 * shadow/libio.h: Fix.
1820 * shadow/bits/wrap_libio.h: Fix.
1822 * shadow/bits/std_clocale.h: Remove typedef struct construct,
1823 which will not compile.
1824 * shadow/bits/std_ctime.h: Same.
1826 * shadow/pthread.h: New file. Put pthreads types and functions
1827 into global scope, which is probably not the correct long-term
1828 solution but has to be done at the moment before libio wrappers
1829 can even be started.
1830 * shadow/bits/wrap_pthread.h: New file.
1832 * bits/std_ios.h: Formatting tweak.
1833 * shadow/bits/std_cstdio.h: Format. Remove extraneous bits.
1835 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Add -Werror to
1836 tests for compiler features.
1837 * aclocal.m4: Regenerate.
1838 * configure: Regenerate.
1840 * config/c_io_libio.cc: Remove fcntl.h include, as SEEK_SET
1842 * libio/libioP.h: Comment out fcntl.h include.
1844 * shadow/math.h: Add in float and long declarations, as per ISO C9X.
1846 * bits/c++config: Define _ISOC99_SOURCE.
1848 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add -fno-builtins to
1849 CSHADOWFLAGS, as well as _ISOC99_SOURCE.
1850 * aclocal.m4: Regenerate.
1851 * configure: Regenerate.
1852 * src/Makefile.am (CSHADOW_INCLUDES): Enable, again.
1853 (CSHADOW_INCLUDES): Add -I$(top_srcdir)/std before shadow include dir.
1854 (CXXCOMPILE): Remove $(DEFS), which searches $(top_srcdir) before
1855 std or shadow directories.
1856 (LTCXXCOMPILE): Same.
1857 (INCLUDES): Add $(top_builddir) before $(top_srcdir).
1858 (AC_CXXFLAGS): Add CSHADOWFLAGS.
1859 * src/Makefile.in: Regenerate.
1861 * src/complex.cc (FCT): Change ::name to name.
1862 * src/complexl.cc (FCT): Same. Use _GLIBCPP_USE_LONG_LONG here.
1863 * src/complexf.cc (FCT): Same.
1865 * src/complexf.cc: Remove FCT define, as things are properly
1866 overloaded in the std namespace with the shadow headers.
1867 * src/complexl.cc: Same.
1868 * src/complex.cc: Same.
1870 2000-09-25 Phil Edwards <pme@sources.redhat.com>
1872 * docs/documentation.html: Add link to...
1873 * docs/ext/howto.html: ...this. New dir/file, describing library
1874 extensions (both ours and SGI's).
1875 * docs/faq/index.html: Small updates.
1876 * docs/faq/index.txt: Regenerate.
1878 2000-09-25 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1880 * bits/basic_file.h (_M_open_mode): Remove extra qualifier.
1882 2000-09-25 Levente Farkas <lfarkas@mindmaker.hu>
1884 * ext/stl_hashtable.h (_M_copy_from): Change __copy to __local_copy.
1886 2000-09-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1888 * src/localename.cc (locale::_Imp) : Remove typedefs.
1889 * bits/localefwd.h (locale::locale(const locale& __other, _Facet*
1890 __f): Consistency check, call _Imp ctor with reference argument
1892 * bits/localefwd.h: Change _S_num_categories to
1893 _S_categories_num. Add new data member, _S_facets_num, which is
1894 the number of standard facets.
1896 2000-09-19 Phil Edwards <pme@sources.redhat.com>
1898 * docs/21_strings/howto.html: Fix editor lossage from last commit.
1900 2000-09-19 Phil Edwards <pme@sources.redhat.com>
1902 * docs/thanks.html: More thanks.
1903 * docs/18_support/howto.html: Fix thinko.
1904 * docs/21_strings/howto.html: Minor tweaks and updates to URLs.
1905 Redo the string transformation notes and link to...
1906 * docs/22_locale/howto.html: ...here.
1908 2000-09-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1910 * src/locale-inst.cc: Add time_put_byname and
1911 time_get_byname instantiations.
1912 * bits/locale_facets.h: Correct default, private derivation to
1913 public derivation in _byname declarations.
1914 * src/locale.cc (locale::classic()): Simplify.
1915 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
1916 const string& __name, category __cat, size_t __refs): Re-work for
1918 (_M_normalize_category_names): Remove.
1920 * testsuite/22_locale/global_templates.cc (test01): Tweaks.
1921 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
1923 2000-09-18 Yuri V. Baskakov <yuribsk@lab.sun.mcst.ru>
1925 * bits/std_bitset.h (operator>>): Change to char_type.
1927 2000-09-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1929 * src/locale.cc (locale::locale(const char* __name)): Consolidate
1930 name setting. Add checks for NULL __name pointers. Remove calls to
1931 _S_initialize() as initial locale initialization can either be
1932 assumed, or needs to be made consistent throughout locale
1934 (locale::locale(const locale& __other, const char* __name,
1935 category __cat): Add checks for NULL name. Add checks for
1937 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
1938 const string& __name, category __cat, size_t __refs)): Set correct
1939 name, has_name values.
1940 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
1941 * docs/22_locale/locale.html: New file, more unfinished docs...
1943 2000-09-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1945 * src/locale.cc (locale::name()): Implement.
1946 (_Impl(size_t __numfacets, size_t __refs, bool __namep = false,
1947 string __name = "*")): Change signature.
1948 (locale::classic): Initialize the "C" locale as a named locale.
1949 * bits/localefwd.h (locale): Change _M_num_references to
1950 _M_references. Eliminate _M_cached_name_ok. Rename _M_cached_name
1952 * bits/localefwd.h: Tweaks.
1953 * src/localename.cc: Tweaks.
1954 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Add tests.
1957 * bits/basic_string.h: Consistency check, change _M_state ->
1960 2000-09-14 Brendan Kehoe <brendan@zen.org>
1962 * bits/string.tcc (_Rep::_S_max_size): Use typename for its size_type
1965 * src/Makefile.an (headers): Also install backward/fstream.h.
1966 * src/Makefile.in: Regenerate.
1968 * bits/char_traits.h (char_traits<_CharT>::get_state,
1969 char_traits<char>::get_state, char_traits<wchar_t>::get_state): Pass
1970 argument in by reference, not by value. Uglify to _S_get_state.
1971 (char_traits<*>::__eos): Uglify to _S_eos.
1972 * bits/std_ostream.h (ends(basic_ostream<_CharT, _Traits>& __os)):
1973 Change __eos to _S_eos.
1975 2000-09-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1977 * testsuite/22_locale/static_members.cc: New file.
1978 * testsuite/22_locale/ctor_copy_dtor.cc: New file.
1979 * src/locale.cc: Minor formatting tweaks.
1981 2000-09-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1983 * testsuite/22_locale/global_templates.cc (test01): Add negative
1984 tests for use_facet.
1986 * bits/localefwd.h (locale::operator()): Minor tweaks.
1987 * bits/locale_facets.tcc (locale::operator()): Same.
1988 * testsuite/22_locale/operators.cc: New file.
1990 * testsuite/22_locale/facet.cc (output_iterator): Remove
1991 gnu_input_iterator, gnu_output_iterator.
1993 2000-09-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1995 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Remove test != "0".
1996 * aclocal.m4: Regenerate.
1997 * configure: Regenerate.
1999 * bits/c++config (__GLIBCPP__): Update, in the hopes of making a
2000 snapshot release soon.
2001 (_GNU_SOURCE): Define this in the header files, as ISO C99 support
2002 is pretty much assumed.
2004 * testsuite/22_locale/global_templates.cc: New file. Add tests for
2005 use_facet and has_facet.
2007 * bits/codecvt.h (codecvt<_InT, _ExT, __enc_traits>::do_out):
2008 Modify/correct iconv signatures for glibc2.2.
2010 2000-09-10 Branko Cibej <branko.cibej@hermes.si>
2012 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Replace "grep -q" with
2015 2000-09-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2017 * bits/localefwd.h (locale::_Impl): Scope out types to public.
2018 (locale): Make _Impl declaration public.
2020 2000-09-08 Felix Natter <fnatter@gmx.net>
2022 * docs/17_intro/porting-howto.html: New version.
2024 2000-09-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2026 * config/cpu/i386/bits/atomicity.h (__exchange_and_add): Change unused
2028 * config/cpu/ia64/bits/atomicity.h (__exchange_and_add): And here.
2029 * config/cpu/i486/bits/atomicity.h (__exchange_and_add): And here.
2031 2000-09-07 Phil Edwards <pme@sources.redhat.com>
2033 Add bits for --enable-maintainer-mode:
2034 - turns on enable_debug
2035 (doing "--enable-maint --disable-debug" will DTRT)
2036 - turns on -Werror, now off by default
2037 * acinclude.m4: Add bits.
2038 * aclocal.m4: Regenerate.
2039 * configure.in: Add defaults for GLIBCPP_ENABLE_DEBUG.
2040 * configure: Regenerate.
2042 2000-09-07 Benjamin Kosnik <bkoz@cygnus.com>
2044 * bits/std_cwctype.h: Remove yesterday's hacks.
2046 2000-09-07 Brad Garcia <bgarcia@laurelnetworks.com>
2048 * bits/stl_tree.h: Make operators !=, == type safe for map, set.
2049 * testsuite/23_containers/set_operators.cc: New file. Should not
2051 * testsuite/23_containers/map_operators.cc: New file. Ditto.
2053 2000-09-06 Richard Henderson <rth@cygnus.com>
2054 Benjamin Kosnik <bkoz@cygnus.com>
2056 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add ia64 support.
2057 * aclocal.m4: Regenerate.
2058 * configure: Regenerate.
2059 * config/cpu/ia64: New directory.
2060 * config/cpu/ia64/bits: New directory.
2061 * config/cpu/ia64/bits/atomicity.h: New file.
2063 2000-09-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2065 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Force glibc_satisfactory
2066 to no, so that libstdc++-v3's libio will be built on glibc-2.2
2068 * aclocal.m4: Regenerate.
2069 * configure: Regenerate.
2070 * */Makefile.in: Regenerate.
2072 * bits/std_cwctype.h: Put in temporary hack to work around -O2 +
2073 glibc 2.1.x unsigned errors. Or disable -Werror by default...
2075 * testsuite/23_containers/vector_element_access.cc: New file.
2076 * bits/stl_config.h (__STL_THROW_RANGE_ERRORS): Define.
2078 2000-09-06 Levente Farkas <lfarkas@mindmaker.hu>
2080 * bits/string.tcc: Fix up more parameter names.
2082 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
2084 * configure: Rebuilt with new libtool.m4.
2086 2000-09-01 Benjamin Kosnik <bkoz@cygnus.com>
2088 * src/locale-inst.cc: Remove pre-instantiation of unicode
2089 codecvt types. Now unnecessary, as locale header now correct.
2091 2000-08-31 Benjamin Kosnik <bkoz@cygnus.com>
2093 * bits/locale_facets.tcc (_S_build_float_format): Move ...
2094 * src/locale.cc: Here.
2095 * bits/locale_facets.tcc (num_get::_M_extract): Clean up generic
2096 definition. Move specialization to ...
2097 * src/locale.cc: Here.
2098 * bits/locale_facets.tcc: Move _Format_cache specializations to ...
2099 * src/locale.cc: Here.
2100 * bits/locale_facets.tcc: Move use_facet<ctype> specializations to ...
2101 * src/locale.cc: Here.
2103 * bits/std_locale.h: Note that locale_facets.tcc should be
2104 included here, for standards conformance. It may increase
2105 compile times though. For the time being, enable.
2106 * testsuite/22_locale/facet.cc: New file, some parts commented out
2109 * mkcheck.in: Append total time to test summary file.
2111 * bits/sbuf_iter.h : Formatting tweaks.
2113 Clean up static const data member definitions.
2114 * src/locale.cc: Add definitions for all missing locale,
2115 locale::_Imp, and locale::id static data members.
2116 (ctype<char>): Add table_size define.
2117 (money_base): Add _S_default_pattern, uglify.
2118 * bits/localefwd.h: Add definitions for static members of _Count_ones.
2119 * bits/locale_facets.h: Tweaks.
2120 * bits/locale_facets.tcc: Tweaks.
2121 * bits/string.tcc: Add definition for npos.
2122 * bits/ios_base.h: Tweaks.
2123 * bits/ios_base.h (ios_base::Init::_M_ios_base_init): Change to
2125 * src/ios.cc: And here. Add _S_local_words definition.
2126 Add definitions for __ios_flags const static data.
2127 * src/codecvt.cc: Same for __enc_traits.
2128 * src/locale-inst.cc: Remove money_base data member definition
2131 2000-08-30 Benjamin Kosnik <bkoz@redhat.com>
2133 * testsuite/22_locale/ctype_wchar_t_members.cc (test01): New file.
2135 * docs/22_locale/codecvt.html: Re-number.
2136 * docs/22_locale/howto.html: Add entry for ctype
2137 documentation. Add entry for Nathan's introduction to locales
2139 * docs/22_locale/ctype.html: New file. In progress...
2141 * docs/22_locale/codecvt.html: Formatting cleanups.
2142 * src/locale.cc (ctype<wchar_t>::do_is): Fix thinko.
2144 2000-08-30 Phil Edwards <pme@sources.redhat.com>
2146 * docs/22_locale/codecvt.html: Behind-the-scenes ASCII->HTML
2147 tweaks for certain browsers.
2149 2000-08-29 Benjamin Kosnik <bkoz@redhat.com>
2151 * bits/locale_facets.h (ctype<char>): Remove __table_type.
2152 Add include for bits/std_cwctype.h, for wctype_t.
2153 * src/locale.cc (ctype<wchar_t>): Implement.
2154 * config/gnu-linux/bits/ctype_base.h (ctype_base): Remove mask
2155 typedef, instead name enum.
2156 * config/gnu-linux/bits/ctype_specializations.h: Tweak.
2157 * config/gnu-linux/ctype.cc: Tweak.
2158 * testsuite/22_locale/ctype.cc: Tweak.
2160 * bits/codecvt.h (__enc_traits): Uglify names.
2162 2000-08-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2164 * docs/22_locale/codecvt.html: Add more bits, format.
2165 * bits/codecvt.h: Add copy ctor, rename types.
2166 * testsuite/22_locale/codecvt_unicode_char.cc: Tweak.
2168 * libio/iofwide.c: Tweak.
2170 2000-08-28 Phil Edwards <pme@sources.redhat.com>
2172 * docs/configopts.html: Mention new options.
2173 * docs/install.html: Formatting changes for platform-specific
2174 pre-reqs, previously only Cygwin.
2175 * docs/mail.html: Fix new link.
2176 * docs/thanks.html: A couple more people.
2177 * docs/26_numerics/howto.html: Fix typo.
2179 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2181 * docs/22_locale/howto.html: Add notes on codecvt implementation.
2182 * docs/22_locale/codecvt.html: New file. In progress.
2184 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2186 * acconfig.h: Revert.
2187 * acinclude.m4: Revert.
2188 * libio/_G_config.h: Revert.
2189 * libio/libio.h: Revert.
2191 2000-08-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2193 * bits/codecvt.h: Tweaks.
2194 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Fix up
2195 initial string literals for UCS4.
2197 2000-08-23 Phil Edwards <pme@sourceware.cygnus.com>
2199 * acconfig.h: _GLIBCPP_USING_THREADS and some workaround types added.
2200 * acinclude.m4: New macro, GLIBCPP_ENABLE_WCHAR. Set the threads
2201 definition as well, and some minor spelling/spacing fixes. If
2202 building libio, check for certain typedefs.
2203 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USING_THREADS.
2204 Conditionally define _LARGEFILE64_SOURCE, otherwise the 64-bit types
2205 will never be there.
2206 * libio/libio.h: In the null case, _IO_lock_t can't just be void.
2207 * src/string-inst.cc: Use _GLIBCPP_USE_WCHAR_T.
2209 * configure.in: Update the cache a bit more often.
2211 * mkcheck.in: For check-install, also need to -I the testsuite dir.
2213 2000-08-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2215 * src/locale-inst.cc: Add codecvt<unicode_t, wchar_t,
2216 __enc_traits> instantiations for has_facet and use_facet.
2217 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: New file, for
2218 testing two-byte unicode encodings converted to four-byte UCS4
2221 * bits/codecvt.h (codecvt<__enc_traits>): Fix do_unshift.
2222 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Add
2223 correct state/encoding information.
2225 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add wcsrtombs,
2226 mbsrtowcs checks as codecvt<wchar_t, char, mbstate_t> needs them
2228 Add checks for langinfo.h, nl_langinfo function call.
2229 * libio/iofwide.c (_IO_fwide): Simplify, as nl_langinfo is assumed.
2231 2000-08-22 Richard B. Kreckel <Richard.Kreckel@Uni-Mainz.DE>
2233 * config/cpu/alpha/bits/atomicity.h: Change __attribute__
2234 ((unused)) to __attribute__ ((__unused__)).
2235 * config/cpu/arm/bits/atomicity.h: Same.
2236 * config/cpu/generic/bits/atomicity.h: Same.
2237 * config/cpu/i386/bits/atomicity.h: Same.
2238 * config/cpu/i486/bits/atomicity.h: Same.
2239 * config/cpu/powerpc/bits/atomicity.h: Same.
2240 * config/cpu/sparc/sparc32/bits/atomicity.h: Same.
2241 * config/cpu/sparc/sparc64/bits/atomicity.h: Same.
2243 2000-08-22 Levente Farkas <lfarkas@mindmaker.hu>
2245 * bits/basic_string.h: Fix up parameter names.
2247 2000-08-22 Brent Verner <brent@rcfile.org>
2249 * src/Makefile.am (INCLUDES): Put $(CSHADOW_INCLUDES) before
2251 * src/Makefile.in: Regenerate.
2253 2000-08-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2255 * bits/codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>. Fix
2256 up __enc_traits template so as to be marginally useful.
2257 * src/codecvt.cc: And here.
2258 * bits/char_traits: Tweak.
2259 * bits/locale_facets.h: Tweak.
2260 * bits/locale_facets.tcc: Tweak.
2261 * bits/localefwd.h: Tweak.
2262 * src/locale-inst.cc: Add use_facet/has_facet instantiations here.
2263 * testsuite/22_locale/codecvt_wchar_t_cc.cc: New file.
2264 * testsuite/22_locale/codecvt_char_char.cc: New file.
2265 * testsuite/22_locale/codecvt_unicode_char.cc: New file.
2267 2000-08-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2269 * bits/std_cmath.h (std::abs): Overload for int and long.
2271 2000-08-20 Benjamin Kosnik <bkoz@gnu.org>
2273 * src/string-inst.cc: Tweak instantiations for new-gxx-abi.
2275 2000-08-19 Gabriel Dos Reis <gdr@codesourcery.com>
2277 * bits/valarray_array.h (__valarray_min, __valarray_max): Fix
2278 thinko. Diagnostic messages really need to be improved for
2279 template argument deduction.
2281 2000-08-18 Benjamin Kosnik <bkoz@gnu.org>
2283 * bits/valarray_meta.h: Fix typos...
2285 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
2287 * bits/valarray_meta.h (_Expr<>::shift, _Expr::cshift,
2288 _Expr<>::apply): Implement.
2290 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
2292 * bits/valarray_meta.h (_Expr<>::min, _Expr<>::max): Implement.
2294 * bits/valarray_array.h (__valarray_min, __valarray_max): New
2297 2000-08-17 Mark Mitchell <mark@codesourcery.com>
2299 * bits/localefwd.h (std::locale): Use explicit `class' specified
2300 when declaring friends.
2301 * bits/std_fstream.h (std::basic_filebuf): Likewise.
2303 2000-08-16 Alexandre Oliva <aoliva@redhat.com>
2305 * src/Makefile.am (libstdc++.INC): Renamed from INCLUDES.
2306 * src/Makefile.in: Regenerate.
2308 2000-08-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2310 * bits/codecvt.h: New file.
2311 * src/codecvt.cc: New file.
2312 * bits/std_locale.h: Add include here.
2313 * src/Makefile.am (headers): Add codecvt.h
2314 (sources): Add codecvt.cc.
2315 * src/Makefile.in: Regenerate.
2316 * bits/locale_facets.h (codecvt): Re-implement. Rename _Codecvt to
2317 __codecvt_abstract_base in an attempt to point some light this way...
2318 Move __enc_traits and codecvt bits to codecvt.h.
2319 * src/locale-inst.cc: Remove codecvt<wchar_t, wchar_t, mbstate_t>
2320 explicit instantiation. Separate out codecvt instantations, simplify.
2321 * src/locale.cc: Move codecvt bits to codecvt.cc
2323 2000-08-15 Alexandre Oliva <aoliva@redhat.com>
2325 * src/Makefile.am (INCLUDES): New target file, with all -I flags.
2326 * src/Makefile.in: Regenerate.
2328 2000-08-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2330 C/C++ io merge/sync.
2341 * config/c_io_libio.cc (__basic_file): Add hacky casts to
2342 ((struct _IO_FILE_plus *) in ctors.
2343 (__basic_file<wchar_t>): Adjust _wide_data->_codecvt to just _codecvt.
2344 * libio/Makefile.am: Fix copyright. Remove cleanup.c.
2345 * libio/cleanup.c: Remove.
2346 * libio/filedoalloc.c (_IO_file_doallocate): Don't call
2347 _IO_cleanup_registration_needed, even if not libc.
2349 * testsuite/27_io/stringstream.cc (test02): Fix.
2351 2000-08-14 Brent Verner <brent@rcfile.org>
2353 * testsuite/debug_assert.h: new file
2354 * testsuite/*/*.cc: s/test\s*&=([^;]+);/VERIFY($1);/g
2355 changed conditional #include <c?assert.?h?> to
2356 unconditional #include <debug_assert.h>
2357 * mkcheck.in: added $SRC_DIR/testsuite to include search path
2358 for testsuite compile command.
2360 2000-08-14 Levente Farkas <lfarkas@mindmaker.hu>
2362 * bits/std_fstream.h: Remove duplicate typdefs for ofstream and
2363 wofstream, filebuf, wfilebuf, fstream, wfstream.
2364 * bits/std_streambuf.h: Same for streambuf, wstreambuf.
2365 * bits/std_sstream.h: Same for stringstream and wstringstream.
2366 Same for stringbuf, wstringbuf, istringstream, wistringstream,
2367 ostringstream, wostringstream.
2369 * testsuite/26_numerics/valarray.cc: Add test.
2371 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
2373 * configure: Regenerate after change to ../libtool.m4.
2375 2000-08-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2377 * bits/locale_facets.tcc: Formatting tweaks.
2378 * bits/locale_facets.h (__enc_traits): Start integrating this
2379 into codecvt, ctype. Formatting tweaks.
2381 2000-08-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2383 Preliminary wchar_t implementation, with trivial encodings.
2384 * docs/configopts.html: Add bits about canonical configure option
2387 * testsuite/27_io/iostream_objects.cc: Replace this file (which
2388 has newly-declared-illegal mixing of wide/narrow stdstreams) with...
2389 * testsuite/27_io/narrow_stream_objects.cc: New file.
2390 * testsuite/27_io/wide_stream_objects.cc: New file.
2392 * bits/fstream.tcc (underflow): Temporarily hack a solution
2393 together that writes from the external file to the internal
2394 buffers. This removes codecvt from the loop, and is incorrect.
2395 (_M_really_overflow): Same here.
2397 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
2399 2000-08-08 Benjamin Kosnik <bkoz@cygnus.com>
2400 Ulrich Drepper <drepper@cygnus.com>
2402 * config/c_io_libio.h: Tweak.
2403 * config/c_io_libio_codecvt.c: New file.
2404 * libio/Makefile.am: Add c_codecvt.c.
2405 * libio/Makefile.in: Regenerate.
2406 * libio/genops.c (_IO_unbuffer_write): Don't call _IO_SETBUF if the
2407 stream is not orientated.
2409 * acinclude.m4: Add config/c_io_libio_codecvt.c dummy file, until
2410 encoding gets fleshed out.
2412 * bits/basic_file.h: Add specialization declarations.
2413 * config/c_io_libio.cc: Add specializations for pbackfail, uflow.
2415 * config/c_io_libio.h: Add __c_wfile_type.
2416 * bits/basic_file.h: Add _M_wfile.
2418 * config/c_io_libio.cc (__basic_file<char>): Initialize the
2419 streams without setting the orientation of the underlying FILE to
2420 either wide or narrow.
2421 (__basic_file<wchar_t>)): Enable tricky wchar_t io bits.
2423 2000-08-07 Felix Natter <fnatter@gmx.net>
2425 * docs/17_intro/porting-howto.html: New version.
2427 2000-08-03 Mark Mitchell <mark@codesourcery.com>
2429 * bits/locale_facets.h (ctype::ctype): Don't name unused
2432 2000-08-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2434 * docs/install.html: Edit bits about requiring a special version
2437 2000-07-31 Benjamin Kosnik <bkoz@cygnus.com>
2439 * libio/fileops.cc: Update to current glibc sources.
2440 * libio/genops.c: Same.
2441 * libio/iofwide.c: Same.
2442 * libio/libio.h: Same.
2443 * libio/libioP.h: Same.
2444 * libio/wfiledoalloc.c: Same.
2445 * libio/wgenops.c: Same.
2447 2000-07-28 Alexandre Oliva <aoliva@redhat.com>
2449 * acinclude.m4: Include ../libtool.m4.
2450 * aclocal.m4, configure: Rebuilt.
2452 2000-07-26 Phil Edwards <pme@sourceware.cygnus.com>
2454 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Test for GNU ld
2455 before trying to use any of its options.
2456 (CHECK_MATH_DECL*,CHECK_BUILTIN_MATH_DECL*): Cache tests.
2457 * aclocal.m4: Regenerate.
2458 * configure.in: Having found GNU make, name it.
2459 * configure: Regenerate.
2460 * docs/install.html: Mention possible problems with caching.
2461 * src/Makefile.am (CXXLINK): Use new OPT_LDFLAGS.
2462 * src/Makefile.in: Regenerate.
2463 * libio/Makefile.in: Regenerate.
2464 * math/Makefile.in: Regenerate.
2465 * Makefile.in: Regenerate.
2467 2000-07-26 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2469 * src/misc-inst.cc (std): Remove instantiations.
2471 * acinclude.m4: Add forward-looking bits for autoconf.
2472 * aclocal.m4: Regenerate.
2474 * bits/ostream.tcc (ostream::operator<<): Fix const char* case.
2476 2000-07-25 Benjamin Kosnik <bkoz@gnu.org>
2478 * configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL. Change
2479 it back for current versions of maintainer-tools...
2480 * acinclude.m4: Some cleanups...
2481 * aclocal: Regenerated.
2482 * configure: Regenerated.
2484 * src/Makefile.am (CXXLINK): Add -Wl,-01 to the link line for
2485 optimizing/adapting the hash table using GNU ld.
2486 * src/Makefile.in: Regenerate.
2488 2000-07-24 H.J. Lu <hjl@gnu.org>
2490 * src/Makefile.am (LIBIO_INCLUDES): Set to -I$(top_srcdir)/libio
2491 even if GLIBCPP_NEED_LIBIO is false. The installed glibc header
2492 files don't include private libio header files needed by
2494 * src/Makefile.in: Rebuild.
2496 2000-07-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2498 * bits/std_fstream.h: Parameterize __basic_file.
2499 * config/c_io_libio.cc: Add wchar_t methods for parameterization.
2500 * bits/basic_file.h: Same here.
2502 * bits/istream.tcc (getline): Tweaks.
2504 * bits/fstream.tcc: Shorten __retval to __ret.
2505 * bits/ostream.tcc: Same.
2506 * bits/sbuf_iter.h: Same.
2507 * bits/sstream.tcc: Same.
2508 * bits/streambuf.tcc: Same.
2509 * bits/std_fstream.h: Same.
2510 * src/string-inst.cc: Same.
2512 * config/c_io_libio.cc: Same.
2513 * bits/string.tcc: Same.
2514 * bits/std_streambuf.h: Same.
2516 2000-07-23 Brent Verner <brent@rcfile.org>
2518 * bits/istream.tcc: istream::getline(char_type*, streamsize,
2519 char_type) make compliant
2520 * testsuite/27_io/istream_unformatted.cc: test for compliant behavior
2522 2000-07-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2524 * acinclude.m4 (enable_cshadow_headers): Fix problems with blddir
2525 and srcdir used to define CSHADOW_INCLUDES..
2527 * configure.in: For consistency, change .sanity_warned to
2528 stamp-sanity-warned.
2530 * acinclude.m4: Tweak formatting.
2531 * Makefile.am (check): Call mkcheck with full pathname for build
2533 (check-install): And here.
2534 * Makefile.in: Regenerate.
2536 2000-07-22 Gabriel Dos Reis <gdr@codesourcery.com>
2538 Line up with libstdc++-v2 version of valarray.
2539 * bits/valarray_array.h (__valarray_product): Make inline.
2540 * src/valarray-inst.cc (__valarray_product): Remove explicit
2543 2000-07-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2545 * src/stl-inst.cc: Change __sink_unused_warning to unsigned int
2548 * testsuite/26_numerics/complex_inserters_extractors.cc (testall):
2549 Change return type to void.
2550 * testsuite/25_algorithms/lower_bound.cc: Add return values.
2551 * testsuite/17_intro/header_ciso646.cc: Modify.
2552 * bits/locale_facets.h: Add return values for the generic cases.
2554 2000-07-21 H.J. Lu (hjl@gnu.org)
2556 * acinclude.m4: Include <features.h> for glibc testing.
2557 * aclocal.m4: Likewise.
2559 * configure: Rebuild.
2561 2000-07-20 H.J. Lu (hjl@gnu.org)
2563 * acinclude.m4: Change "#pragma system_header" to
2564 "#pragma GCC system_header".
2565 * aclocal.m4: Likewise.
2566 * bits/std_cmath.h: Likewise.
2567 * bits/std_cassert.h: Likewise.
2568 * bits/std_cctype.h: Likewise.
2569 * bits/std_cerrno.h: Likewise.
2570 * bits/std_cfloat.h: Likewise.
2571 * bits/std_climits.h: Likewise.
2572 * bits/std_clocale.h: Likewise.
2573 * bits/std_cwchar.h: Likewise.
2574 * bits/std_csetjmp.h: Likewise.
2575 * bits/std_csignal.h: Likewise.
2576 * bits/std_cstdarg.h: Likewise.
2577 * bits/std_cstddef.h: Likewise.
2578 * bits/std_cstdio.h: Likewise.
2579 * bits/std_cstdlib.h: Likewise.
2580 * bits/std_cstring.h: Likewise.
2581 * bits/std_ctime.h: Likewise.
2582 * bits/std_cwctype.h: Likewise.
2583 * bits/std_exception.h: Likewise.
2584 * bits/std_new.h: Likewise.
2585 * bits/std_typeinfo.h: Likewise.
2586 * shadow/bits/std_cassert.h: Likewise.
2587 * shadow/bits/std_cctype.h: Likewise.
2588 * shadow/bits/std_cerrno.h: Likewise.
2589 * shadow/bits/std_cfloat.h: Likewise.
2590 * shadow/bits/std_climits.h: Likewise.
2591 * shadow/bits/std_clocale.h: Likewise.
2592 * shadow/bits/std_cmath.h: Likewise.
2593 * shadow/bits/std_csetjmp.h: Likewise.
2594 * shadow/bits/std_csignal.h: Likewise.
2595 * shadow/bits/std_cstdarg.h: Likewise.
2596 * shadow/bits/std_cstddef.h: Likewise.
2597 * shadow/bits/std_cstdio.h: Likewise.
2598 * shadow/bits/std_cstdlib.h: Likewise.
2599 * shadow/bits/std_cstring.h: Likewise.
2600 * shadow/bits/std_ctime.h: Likewise.
2601 * shadow/bits/std_cwchar.h: Likewise.
2602 * shadow/bits/std_cwctype.h: Likewise.
2603 * shadow/bits/wrap_libio.h: Likewise.
2604 * shadow/bits/wrap_unistd.h: Likewise.
2605 * shadow/sys/cdefs.h: Likewise.
2607 * configure: Rebuild.
2609 2000-07-20 Jakub Jelinek <jakub@redhat.com>
2611 * config/cpu/sparc/sparc64/bits/atomicity.h (__exchange_and_add):
2612 Use extended word instructions to match 64bit _Atomic_word.
2613 (__atomic_add): Likewise.
2614 * math/clog10l.c (clog10l): Use M_PIl if defined.
2615 * math/c_logl.c (c_logl): Likewise.
2616 * math/signbitl.c (__signbitl): Adapt for IEEE quad long doubles.
2617 * math/mathconf.h (ieee_quad_double_shape_type): New type.
2618 (GET_LDOUBLE_MSW64): New define.
2620 2000-07-20 Benjamin Kosnik <bkoz@cygnus.com>
2622 * bits/std_streambuf.h: Add bits for pback buffers here, so that
2623 in_avail, etc can use them.
2624 * bits/std_fstream.h: Ditto.
2625 * bits/fstream.tcc: Ditto.
2626 * testsuite/27_io/filebuf.cc: Tweaks.
2627 * testsuite/27_io/filebuf-3.tst: Correct for pbackfail bits.
2629 2000-07-19 Benjamin Kosnik <bkoz@cygnus.com>
2631 * src/localename.cc: Same.
2632 * src/locale.cc: Same.
2633 * bits/localefwd.h: _M_init_facet to _M_facet_init.
2635 * bits/locale_facets.h: _M_init_boolnames to _M_boolnames_init.
2637 * bits/std_sstream.h: Change _M_init_stringbuf to _M_stringbuf_init.
2639 * bits/fstream.tcc: Change _M_init_filebuf to _M_filebuf_init.
2640 * bits/std_fstream.h: Same.
2642 * bits/basic_string.h: Tweaks.
2644 2000-07-19 Phil Edwards <pme@sourceware.cygnus.com>
2646 * docs/18_support/howto.html: Update.
2648 2000-07-19 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
2650 Internal consistency checks.....
2651 * bits/ios_base.h: Change _M_locale_ios to _M_ios_locale.
2654 * bits/basic_ios.h: Change _M_fctype_ios to _M_ios_fctype.
2655 * bits/basic_ios.tcc: Same.
2657 * bits/std_streambuf.h: Change _M_locale_buf to _M_buf_locale.
2658 Change _M_fctype_buf to _M_buf_fctype.
2659 * bits/fstream.tcc: Same.
2661 * bits/std_streambuf.h: Change _M_buf_bump to _M_out_cur_move.
2662 Change _M_locale_set to _M_buf_locale_init.
2663 * bits/streambuf.tcc: Same.
2664 * bits/sstream.tcc: Same.
2665 * bits/fstream.tcc: Same.
2667 * bits/std_streambuf.h: Make typedefs consistent.
2668 (_M_buf_bump): Be more careful with input sequence.
2670 * bits/std_sstream.h: Same.
2671 * bits/std_fstream.h: Same.
2673 2000-07-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2675 * acinclude.m4: Tweaks.
2676 * config/c_io_libio.cc: Tweaks.
2677 * bits/sstream.tcc (stringbuf::pbackfail): Simplify.
2678 * libio/_G_config.h: Don't define _G_HAVE_ST_BLKSIZE.
2679 * libio/[iofwide.c, wfiledoalloc.c, wfiteopos.c, wgenops.c]: New files.
2680 * libio/iofclose.c iofopen.c, stdio.c: New files.
2681 * libio/Makefile.am: Add files, add flags, etc.
2682 * src/Makefile.am (sources): Add filebuf.cc.
2683 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT):
2684 (GLIBCPP_ENABLE_CSTDIO): Versioning testing, etc etc.
2686 2000-07-17 Phil Edwards <pme@sourceware.cygnus.com>
2688 * acinclude.m4: Import CHECK_GNU_MAKE from autoconf macro archive.
2689 * configure.in: Use it. Also print reminders one time.
2690 * aclocal.m4: Regenerate.
2691 * configure: Regenerate.
2693 2000-07-15 Gabriel Dos Reis <gdr@codesourcery.com>
2695 * bits/valarray_array.h (__valarray_get_storage): New function.
2696 (_Array<>::Array): Use it.
2697 * bits/std_valarray.h (valarray<>::valarray): Likewise.
2698 (valarray<>::resize): Likewise. Tweak.
2699 * src/valarray-inst.cc (__valarray_product): Tweak.
2701 2000-07-11 Phil Edwards <pme@sourceware.cygnus.com>
2703 * docs: Update sourceware->sources in every HTML file. Minor updates.
2705 2000-07-07 Benjamin Kosnik <bkoz@soma.redhat.com>
2707 Clean up configure/build longstanding issues.
2708 * src/Makefile.am (AC_CXXFLAGS): Don't set @SECTION_LDFLAGS@ here.
2709 (CXXLINK): Add here, instead.
2711 * Makefile.am (check-install): Make sure mkcheck has execute privs.
2713 * configure.in (AC_OUTPUT_COMMANDS): Remove hacks here.
2715 * configure.in (AC_OUTPUT_COMMANDS): Link c_io_libio.h and
2716 c_io_libio.cc instead of copying.
2717 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Do link here.
2719 * configure.in (AC_OUTPUT_COMMANDS): Link $THREADS.h and
2720 c++threads.h instead of copying.
2721 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Do link here.
2724 * config/c_io_libio.cc (__basic_file::_M_open_mode): Consolidate.
2725 * bits/basic_file.h: Declare.
2727 * mkcheck.in (TESTS_FILE): Use -v instead of --version.
2729 2000-07-07 brent verner <brent@rcfile.org>
2731 * testsuite/27_io/istream_unformatted.cc (test05): New test.
2733 2000-07-07 Benjamin Kosnik <bkoz@gnu.org>
2735 * bits/istream.tcc (istream::getline): Minor tweaks.
2737 2000-07-07 Phil Edwards <pme@sourceware.cygnus.com>
2739 * docs/download.html: Mention gcc_update.
2740 * docs/configopts.html: Minor updates.
2741 * docs/gccrebuild.html: Ditto.
2742 * docs/18_support/howto.html: More tips, explanations, and reminders.
2743 * docs/19_diagnostics/howto.html: Ditto.
2744 * docs/21_strings/howto.html: Ditto.
2745 * docs/24_iterators/howto.html: Ditto.
2746 * docs/25_algorithms/howto.html: Ditto.
2747 * docs/26_numerics/howto.html: Ditto.
2749 2000-07-05 brent verner <brent@rcfile.org>
2751 * testsuite/27_io/ifstream_members.cc (test01): Add tests.
2752 * testsuite/27_io/ofstream_members.cc (test01): Add tests.
2753 * config/c_io_libio.cc (__basic_file::open): Unset
2754 ~_IO_DELETE_DONT_CLOSE.
2756 2000-07-05 Zack Weinberg <zack@wolery.cumb.org>
2758 * bits/gslice_array.h, bits/indirect_array.h, bits/mask_array.h,
2759 bits/slice_array.h, bits/std_valarray.h, bits/valarray_meta.h:
2760 Do not paste anything after 'operator' keyword.
2762 2000-07-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2764 * bits/std_memory.h: Revert.
2766 2000-07-03 Brendan Kehoe <brendan@zen.org>
2768 * bits/std_complex.h: Fix parens. Format.
2770 2000-07-03 scott snyder <snyder@fnal.gov>
2772 * bits/locale_facets.tcc (_M_extract): Only figure out the base
2773 from the input if base == 0.
2774 * testsuite/27_io/istream_extractor_arith.cc: Test reading a
2775 number with a leading `0' in hex mode.
2777 * shadow/bits/std_cmath.h: Fix typo in _GLIBCPP_HAVE_CEILL test.
2779 * mkinclosure: Change `==' to `=' in test.
2781 2000-07-03 Chip Salzenberg <chip@valinux.com>
2783 * src/Makefile.am (libio_headers): _G_config.h is found in srcdir,
2785 * src/Makefile.in: Regenerate.
2787 2000-07-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2788 Ulrich Drepper <drepper@purist.soma.redhat.com>
2790 Sync libio to glibc-2.2 current CVS.
2791 * libio/_G_config.h: New file.
2792 * libio/wfileops.c: New file.
2793 * libio/wfiledoalloc.c: New file.
2794 * libio/wgenops.c: New file.
2795 * libio/iofwide.c: New file.
2796 * libio/Makefile.am: Tweaks.
2797 * libio/Makefile.in: Regenerate.
2798 * libio/gen-params: Remove. Generic replacement for this yet undone.
2799 * libio/[filedoalloc.c, fileops.c, genops.c, iolibio.h, libio.h,
2800 libioP.h, stdfiles.c]: Update.
2801 * config/c_io_libio.cc: Tweaks.
2802 * acinclude.m4: Complete hacks to test wide io.
2803 * aclocal.m4: Regenerate.
2804 * configure: Regenerate.
2805 * src/Makefile.am: Update.
2806 * src/Makefile.in: Regenerate.
2808 * math/cargl.c: Remove underscores.
2810 * bits/locale_facets.h: Tweaks. Start adding iconv details
2812 * bits/locale_facets.tcc: Tweaks.
2813 * bits/std_cwchar.h: Tweaks.
2815 2000-06-29 scott snyder <snyder@fnal.gov>
2817 * bits/concept_checks.h
2818 (__less_then_comparable_requirement_violation): Only check for <.
2819 * testsuite/25_algorithms/lower_bound.cc: New file.
2821 2000-06-29 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2823 * testsuite/27_io/ostream_manip.cc (test02): Add tests.
2824 * bits/ostream.tcc: Tweak.
2825 * bits/std_fstream.h (basic_filebuf::setbuf): Reset
2826 _M_buf_size_opt too.
2827 * bits/std_streambuf.h (basic_streambuf::~basic_streambuf): Zero
2828 out _M_buf_size_opt.
2829 * bits/std_sstream.h (basic_stringbuf::_M_init_stringbuf): Set
2830 _M_buf_size_opt out here.
2831 * bits/char_traits.h (char_traits::eos): Non standard member
2832 function, uglify to __eos. Return char_type().
2833 * bits/std_ostream.h: Change.
2835 * testsuite/27_io/ostream_seeks.cc: New file.
2836 * testsuite/27_io/ostream_seeks-1.tst: New file.
2837 * testsuite/27_io/istream_unformatted.cc (main): Move test04 and
2839 * testsuite/27_io/istream_seeks.cc: New file.
2841 2000-06-29 Branko Cibej <branko.cibej@hermes.si>
2843 * bits/std_memory.h (auto_ptr_ref): Reworked and defined only if
2844 _GLIBCPP_RESOLVE_LIB_DEFECTS.
2845 (auto_ptr): _M_ptr changed to void*.
2846 (suto_ptr::get): Cast _M_ptr to element type.
2847 (auto_ptr::auto_ptr(auto_ptr<Tp1>)): Test implicit convetsion.
2848 (auto_ptr::~auto_ptr): Use this->get() instead of _M_ptr.
2849 (auto_ptr::operator*): Likewise.
2850 (auto_ptr::operator->): Likewise.
2851 (auto_ptr::release): Likewise.
2852 (auto_ptr::reset): Likewise.
2853 (auto_ptr::auto_ptr(auto_ptr_ref)): Initialize from __ref._M_release.
2854 (auto_ptr::operator auto_ptr_rev<_Tp1>): Updated.
2855 Define nested auto_ptr_ref unless _GLIBCPP_RESOLVE_LIB_DEFECTS.
2856 Define operator=(auto_ptr_ref) if _GLIBCPP_RESOLVE_LIB_DEFECTS.
2858 2000-06-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2860 * testsuite/27_io/filebuf.cc: Tweak.
2861 * testsuite/27_io/filebuf_members.cc (test_01): Fix.
2862 * config/c_io_libio.cc (__basic_file::~__basic_file): Match libio
2864 (__basic_file::basic_file): Clean, add calls similar to
2866 (__basic_file::open): Clean.
2867 (__basic_file::sys_open): Clean.
2869 * bits/std_fstream.h: Revert.
2870 * bits/fstream.tcc (filebuf::close()): Revert.
2871 (filebuf::basic_filebuf()): Revert.
2873 2000-06-27 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2875 Update to SGI STL 3.3
2876 * ext/hash_map, ext/hash_set, ext/slist, ext/stl_bvector.h,
2877 ext/stl_rope.h, ext/ropeimpl.h: Update.
2878 * bits/std_bitset.h, bits/std_map, bits/std_memory.h,
2879 bits/stl_algo.h, bits/stl_algobase.h, bits/stl_alloc.h,
2880 bits/stl_config.h, bits/stl_construct.h, bits/stl_deque.h,
2881 bits/stl_function.h, bits/stl_heap.h, bits/stl_iterator.h,
2882 bits/stl_iterator_base.h, bits/stl_list.h, bits/stl_map.h,
2883 bits/stl_multimap.h, bits/stl_multiset.h, bits/stl_numeric.h,
2884 bits/stl_queue.h, bits/stl_set.h, bits/stl_stack.h,
2885 bits/stl_string_fwd.h, bits/stl_threads.h, bits/stl_three.h,
2886 bits/stl_uninitialized.h, bits/stl_vectory.h: Update.
2888 * src/Makefile.am (headers): Add new files.
2889 * src/Makefile.in: Regenerate.
2890 * src/stl-inst.cc (std): Add instantiation for __sink_unused_warning.
2891 * bits/concept_checks.h: New file.
2892 * bits/container_concepts.h: New file.
2893 * bits/sequence_concepts.h: New file.
2895 2000-06-27 H.J. Lu <hjl@gnu.org>
2896 Loren J. Rittle <ljrittle@acm.org>
2898 * mkcheck.in: Add support to print standard flags needed to
2899 test g++ in build tree. Enhance command line error checking.
2901 2000-06-27 Phil Edwards <pme@sourceware.cygnus.com>
2903 * docs/install.html: Fix minor typo as reported.
2905 2000-06-26 Brent Verner <brent@rcfile.org>
2907 * bits/string.tcc (string::rfind): Fix.
2908 * testsuite/21_strings/rfind.cc: New file.
2910 2000-06-26 Anthony Williams <anthony@anthonyw.cjb.net>
2912 * testsuite/21_strings/ctor_copy_dtor.cc: Fixed logic error.
2914 2000-06-26 Branko Cibej <branko.cibej@hermes.si>
2916 * testsuite/27_io/filebuf_members.cc (test_01): Fixed typos.
2918 * mkcheck.in: Make the *.txt and *.tst files writable after
2919 copying them to $TEST_DIR.
2921 * testsuite/27_io/ostream_inserter_arith.cc: Renamed
2922 __TEST_NUMPUT_VERBOSE to TEST_NUMPUT_VERBOSE. Define
2923 TEST_NUMPUT_VERBOSE only if DEBUG_ASSERT.
2925 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2927 * bits/fstream.tcc (basic_filebuf::basic_filebuf(fd)): Use it.
2928 (basic_filebuf::close): Use it.
2929 * bits/std_fstream.h (basic_filebuf): Remove default arguments for
2931 (basic_filebuf): Add _M_fileno_based data member.
2932 As reported by brent verner <brent@rcfile.org>
2933 * testsuite/27_io/filebuf_members.cc: New file.
2934 * testsuite/27_io/filebuf_members-1.tst: New file.
2936 * bits/std_fstream.h: Formatting tweaks.
2937 * testsuite/27_io/ofstream_members.cc: New file.
2938 * testsuite/27_io/ofstream_members-1.tst: New file.
2939 * testsuite/27_io/ifstream_members.cc: New file.
2940 * testsuite/27_io/ifstream_members-1.tst: New file.
2942 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2943 Ulrich Drepper <drepper@cygnus.com>
2945 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so
2946 that all the freaky stuff like sincos will be around...
2948 2000-06-22 Branko Cibej <branko.cibej@hermes.si>
2950 * Makefile.am (AM_MAKEFLAGS): Added WERROR to list of flags.
2952 2000-06-22 Steven King <sxking@uswest.net>
2954 * acinclude.m4: Check for sinl, _sinl using 1 parameter.
2956 2000-06-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2958 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Redo. Use the
2959 same approach as GLIBCPP_CHECK_MATH_SUPPORT, only don't try to
2960 link against libm and don't use -fno-builtins...
2961 * math/mathconf.h: Change up builtin macros to new schema.
2962 * bits/std_cmath.h: And here. Wheee!
2963 * shadow/bits/std_cmath.h: And here.
2964 * acconfig.h: Change up builtin macros here.
2965 * math/cosf.c: Remove.
2966 * math/fabsf.c: Likewise.
2967 * math/sinf.c: Likewise.
2968 * math/sqrtf.c: Likewise.
2969 * math/Makefile.am (EXTRA_DIST): Remove those four files.
2970 * math/Makefile.in: Regenerate.
2972 2000-06-22 Anthony Williams <anthony@anthonyw.cjb.net>
2974 * testsuite/21_strings/find.cc: Patch.
2976 2000-06-22 Benjamin Kosnik <bkoz@soma.redhat.com>
2978 * acinclude.m4 (GLIBCPP_CHEC_LINKER_FEATURES): Use gcc + -x c++ as
2979 an easy way to get at g++ without having to link in libstdc++.
2981 2000-06-21 Benjamin Kosnik <bkoz@soma.redhat.com>
2983 Fix alpha, powerpc build failures.
2984 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Substantially
2985 re-write. Need to check for both proper declaration when using a
2986 c++ compiler, and "C" linkage when linking. Do both, and if both
2987 exist, then define the HAVE_* bits in config.h.
2988 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE): New, uber-macro. Does all.
2989 (GLIBCPP_CHECK_LINKER_FEATURES): Actually link and run this
2992 2000-06-20 Anthony Williams <anthony@anthonyw.cjb.net>
2994 * bits/string.tcc: Fix find.
2995 * testsuite/21_strings/find.cc: Patch.
2997 2000-06-20 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2999 * docs/install.html: Update where to get automake, where to get
3001 * acinclude.m4: Need -fno-builtins too, so gcc doesn't recognize
3004 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
3006 * acinclude.m4 ((GLIBCPP_CHECK_MATH_SUPPORT): Revert last change.
3007 Add -Werror-implicit-function-declaration instead.
3009 Regenerate with fixed maintainer-tools.
3010 * aclocal.m4: Regenerate.
3011 * configure: Regenerate.
3012 * libio/Makefile.in: Regenerate.
3013 * src/Makefile.in: Regenerate.
3015 2000-06-19 Russell Davidson <russell@ehess.cnrs-mrs.fr>
3017 * testsuite/27_io/istream_extractor_arith.cc: Patch.
3018 * bits/locale_factets.tcc: Tweak.
3020 2000-06-19 Raja R Harinath <harinath@cs.umn.edu>
3022 * src/Makefile.am: change @WERROR@ to $(WERROR) so that this can
3023 be overridden on the command line for individual files.
3025 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
3027 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Can't use
3028 AC_LANG_CPLUSPLUS as this tries to link in libstdc++, which we are
3029 building. Use -x c++ instead, which does not attempt to link
3032 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Actually check for
3033 not coring when we hit a try/throw block, which was the problem
3034 with the linker support...
3036 * docs/17_intro/contribute.html: Add bits about getting to the LWG
3038 * docs/documentation.html: Rename link to make more accurate and scary.
3039 * docs/gccrebuild.html: Edit for clarity as these are no longer
3041 * docs/install.html: Add bits about binutils for
3042 -ffunction-sections, -fdata-sections, -Wl,--gc-sections
3044 * configure.in: Add call for GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
3045 * math/Makefile.am (EXTRA_DIST): Change USE_LONG_DOUBLE to
3046 USE_COMPLEX_LONG_DOUBLE.
3047 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Break into
3048 GLIBCPP_CHECK_MATH_SUPPORT and GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
3049 Works around irregularies in powerpc "C" compiler, but a good idea
3052 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT):
3053 New. Merge both old compiler bug checks for complex into this.
3055 2000-06-19 Anthony Williams <anthony@anthonyw.cjb.net>
3057 * testsuite/21_strings/find.cc: Empty strings can be found at all
3058 positions. Modified.
3060 2000-06-19 Branko Cibej <branko.cibej@hermes.si>
3062 * testsuite/20_utilities: New directory.
3063 * testsuite/20_utilities/auto_ptr.cc: New file.
3065 2000-06-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3067 * src/Makefile.am (string_sources): Simplify, assuming that with
3068 -ffunction-sections, -fdata-sections, -Wl,--gc-sections, all this
3069 hacking is not necessary.
3070 (wstring_sources): Same.
3071 (OPTIMIZE_CXXFLAGS): Enable -fdata-sections -ffunction-sections
3073 * src/string-inst.cc: Remove macro blocks.
3074 * mkcheck.in (CXX_FLAG): Add bits here.
3076 * src/string-inst.cc: Remove iostream-related string instantiations.
3077 * src/misc-inst.cc: Add here.
3079 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change FMTFLAGS
3081 * aclocal.m4: Regenerate.
3082 * configure.in: Change up.
3083 * configure: Regenerate.
3085 2000-06-13 Steven King <sxking@uswest.net>
3087 * acinclude.m4: Fixup some of the builtin math tests and add tests for
3088 __builtin_fmod* and test libm for fmodf, fmodl or _fmodf, _fmodl.
3089 * acconfig.h: Add entries for fmod*.
3091 2000-06-13 Branko Cibej <branko.cibej@hermes.si>
3093 * bits/std_cmath.h: Fix typos in tests (*_FMODFF -> *_FMODF).
3094 Test *_MODFF not *_MODF for modf(float, float*).
3095 (modf(float, float*)): Remove reference to _C_legacy.
3097 2000-06-13 Benjamin Kosnik <bkoz@redhat.com>
3099 * acinclude.m4 (enable_cshadow_headers): Change CSHADOWFLAGS to
3100 _GNU_SOURCE instead of _ISOC9X_SOURCE, as _GNU_SOURCE is the
3101 superset, and already defined at top level.
3102 * aclocal.m4: Regenerate.
3103 * configure: Regenerate.
3105 * docs/17_intro/contribute.html: Plead with people to use -cp.
3107 2000-06-13 Anthony Williams <anthony@anthonyw.cjb.net>
3109 * testsuite/23_containers/bitset_ctor.cc: Qualify reverse wth std::.
3111 * testsuite/27_io/filebuf.cc: Changed calls to
3112 fpos<>._M_position() to implicit calls to operator streamoff().
3113 * testsuite/27_io/iostream_objects.cc: Removed #include <ciso646>,
3114 as not needed. Revert, as part of standard.
3115 * testsuite/27_io/ostream_inserter_arith.cc: Replaced explicit
3116 call to numpunct<>._M_init() with overrides of the appropriate
3119 * testsuite/27_io/stringstream.cc: Removed unnecessary char *
3120 pointers from test01, so no need to call base(), which isn't
3121 guaranteed to be implemented as iterators may themselves be pointers
3122 * testsuite/27_io/stringbuf.cc: Removed unnecessary calls to
3123 _M_position() - use implicit conversion to streamoff instead
3125 2000-06-13 Thomas Holenstein <thomas@hex.ch>
3127 * bits/stl_iterator.h: Added inline to operators == to >=.
3129 2000-06-13 Brent Verner <brent@rcfile.org>
3131 * bits/streambuf.tcc: repaired _S_copy_streambufs()
3132 * testsuite/27_io/ostream_inserter_other.cc (test03): Added testcase.
3134 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3136 * bits/locale_facets.h (ctype<wchar_t>): Remove unnecessary data
3138 * src/locale.cc: Add cwchar include here. Remove incorrect
3139 definitions, and stub them out.
3140 * config/generic/ctype.cc (ctype): Remove ctype<wchar_t> bits.
3141 * config/solaris/solaris2.7/ctype.cc (ctype): Same.
3142 * config/solaris/solaris2.5/ctype.cc (ctype): Same.
3143 * config/newlib/ctype.cc: Same.
3144 * config/gnu-linux/ctype.cc: Same.
3145 * config/bsd/ctype.cc: Same.
3146 * config/aix/ctype.cc: Same.
3148 2000-06-12 Branko Cibej <branko.cibej@hermes.si>
3150 * config/solaris/solaris2.6/ctype.cc (do_toupper, do_tolower): Use
3151 towupper and towlower to convert wide characters.
3153 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3155 * mkcheck.in: Clean up confusion regarding NAME, PRE_NAME.
3157 2000-06-08 Branko Cibej <branko.cibej@hermes.si>
3159 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Check for
3160 sinf, cosf, fabsf, and sqrtf; add to LIBMATHOBJS if missing.
3161 * aclocal.m4: Regenerate.
3162 * configure: Regenerate.
3163 * math/cosf.c: New file.
3164 * math/fabsf.c: Likewise.
3165 * math/sinf.c: Likewise.
3166 * math/sqrtf.c: Likewise.
3167 * math/Makefile.am (EXTRA_DIST): Add those four files.
3168 * math/Makefile.in: Regenerate.
3170 2000-06-08 Phil Edwards <pme@sourceware.cygnus.com>
3172 * testsuite/26_numerics/complex_inserters_extractors.cc: Need cmath.
3174 2000-06-06 Steven King <sxking@uswest.net>
3176 * acconfig.h: Added defines for HAVE_BUILTIN math functs for float,
3177 double and long double. Added defines for HAVE libm math functs for
3178 float and long double.
3179 * aclocal.m4: Added configure checks for builtin math funcs and libm
3180 support for float and long double versions of the math functions.
3181 * config.h.in: Added undefs for math functs.
3182 * configure: Regenerate.
3183 * math/mathconf: Changed the _GLIBCPP_HAS_BUILTIN_* to
3184 _GLIBCPP_HAVE_BUILTIN_*.
3185 * bits/std_cmath.h: Added long double support. Use builtins for
3186 float, double and long if available, otherwise, use libm versions if
3187 availible, otherwise, punt.
3188 * shadow/bits/std_cmath.h: ditto
3190 2000-06-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3192 * bits/locale_facets.h: Tweak.
3193 * src/locale.cc (codecvt<wchar_t>): Tweak.
3195 * bits/locale_facets.h (_Format_cache): _S_ecks -> _S_x.
3196 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix for hex.
3198 * bits/basic_string.h: Move data member up.
3199 * src/string-inst.cc: Fix instantiations.
3200 * bits/string.tcc: Fix types.
3202 2000-06-02 Anthony Williams <anthony@anthonyw.cjb.net>
3204 * testsuite/21_strings/replace.cc (test01): Qualify find with std::.
3206 2000-06-01 Benjamin Kosnik <bkoz@gnu.org>
3208 * bits/std_cwctype.h: Clean.
3209 * bits/std_cwchar.h: Clean, remove cruft.
3211 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Re-work, add bits
3212 for beginning iconv support.
3213 Remove _GLIBCPP_HAS_WCHAR_MIN_MAX, roll into _GLIBCPP_USE_WCHAR_T
3215 * acconfig.h: Remove _GLIBCPP_HAS_WCHAR_MIN_MAX.
3216 * bits/limits_generic.h: Remove.
3217 * src/gen-num-limits.cc: Same.
3219 * src/locale.cc: Tweaks.
3221 * bits/char_traits.h: Tweaks.
3223 2000-05-31 Russell Davidson <russell@ehess.cnrs-mrs.fr>
3225 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix signage,
3226 exponent, scientific formatting issues.
3227 * testsuite/27_io/istream_extractor_arith.cc (test09): Add tests.
3229 2000-05-31 Branko Cibej <branko.cibej@hermes.si>
3231 * bits/limits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN
3232 and WCHAR_MAX instead of WCHART_MIN and WCHART_MAX.
3234 2000-05-31 Nathan Myers <ncm@cantrip.org>
3236 * docs/thanks.html: edit own credits
3238 2000-05-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3240 * bits/generic_shadow.h: Remaining _C_Shadow -> _C_shadow fix.
3242 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...
3244 * mkcheck.in (SH_FLAG): Add in -Wl,--rpath -Wl,$LIB_PATH. Tweaks.
3246 2000-05-31 Steven King <sxking@uswest.net>
3248 * shadow/time.h: fix typo
3249 * shadow/wchar.h: ifdef __USE_GNU for wcsdup
3250 * shadow/bits/std_cwchar.h: ditto
3251 * shadow/bits/std_cstdlib.h: add overloads of abs and div for long
3254 2000-05-26 Phil Edwards <pme@sourceware.cygnus.com>
3256 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): If strtoll isn't
3257 available, force --disable. Need to flesh this out; make smarter.
3258 * aclocal.m4: Regenerate.
3259 * configure: Regenerate.
3261 * mkcheck.in: Minor tweaks.
3262 * docs/download.html: Fix typo.
3264 2000-05-25 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
3266 * inclosure: Change to...
3267 * mkinclosure: This.
3269 * mkcshadow: Fix paths to bash.
3271 * src/Makefile.am: Tweaks. Do cshadow header trickery at build time.
3272 * src/Makefile.in: Regnerate.
3273 * acinclude.m4 (GLIBCPP_COMPILER_VERSION): Fix typo.
3274 (GLIBCPP_ENABLE_SHADOW): Do a less gross hack.
3275 * aclocal.m4: Regenerate.
3276 * mkcheck.in (INC_PATH): Tweak.
3278 * configure.in: Enable long long by default.
3279 * configure: Regenerate.
3281 * mkcheck.in (LIB_PATH): Revert.
3283 2000-05-24 Nathan "I don't write ChangeLog Entries" Myers <ncm@cantrip.org>
3285 * config/cpu/i486: New directory.
3286 * config/cpu/i486/bits: New directory.
3287 * config/cpu/i486/bits/atomicity.h: New file.
3288 * config/cpu/i386/bits/atomicity.h (__compare_and_swap): Delete
3290 * acinclude.m4 (GLIBCPP_CHECK_CPU): Enable i386.
3292 2000-05-24 Loren J. Rittle <ljrittle@acm.org>
3294 * backward/alloc.h (__default_alloc_template): Only expose
3295 implementation-specific symbol, if it exists in the
3297 * backward/iostream.h (ends): Expose symbol.
3298 * backward/strstream.h: New file.
3299 * backward/stream.h: New file.
3300 * backward/ostream.h: New file.
3301 * backward/istream.h: New file.
3302 * backward/fstream.h: New file.
3303 * backward/complex.h: New file.
3304 * backward/iomanip.h: New file.
3306 * mkcheck.in (LIB_PATH): Add -R bits.
3308 * math/carg.c (carg): Replace __atan2 with atan2.
3310 2000-05-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3312 * Makefile.am (TAGS): Construct.
3313 * Makefile.in: Rengerate.
3314 * src/Makefile.am: Tweak.
3315 * src/Makefile.in: Tweak.
3316 * configure.in: Tweak.
3318 * bits/c++config.h: Rename to ...
3319 * bits/c++config: This.
3320 * mkc++config: Adjust.
3323 * m4/lc_message.m4: Merge into acinclude.m4.
3324 * m4/mathfcts.m4: Same.
3325 * m4/stringfcts.m4: Same.
3326 * acinclude.m4: Add here.
3327 * configure: Regnerate.
3329 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Remove
3330 OPTLEVEL. Add FMTFLAGS.
3331 * aclocal.m4: Regenerate.
3332 * src/Makefile.am (AC_CXXFLAGS): Take out OPTLEVEL, as this has
3333 been disabled due to higher-level Makefiles running amuck over
3334 this bit, and add in FMTFLAGS so that formatting is clear.
3335 * src/Makefile.in: Regenerate.
3336 * configure: Regenerate.
3338 * src/ios.cc (ios_base::sync_with_stdio): Clean up buffers from
3341 * docs/download.html: Remove references to Cygwin-specific bits,
3342 as this can now be built natively.
3343 Update with current information.
3345 2000-05-24 Phil Edwards <pme@sourceware.cygnus.com>
3347 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): If we can use
3348 -fdiagnostics-show-location=once, do so. Expand AC_LANG_* to
3349 enclose other tests in this macro, including future ones.
3350 * aclocal.m4: Regenerate.
3351 * configure: Regenerate.
3353 * docs/faq/index.html: Update location of libg++ FAQ.
3354 * docs/faq/index.txt: Regenerate.
3356 2000-05-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3358 * docs/17_intro/libstdc++-assign.txt: Change Cygnus to FSF.
3360 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
3362 * mkcheck.in: Tweak for Solaris 8. Additional minor output comment.
3364 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
3366 * acinclude.m4: If the new pragma isn't supported, don't kill -Werror;
3367 keep -Werror and add -Wno-unknown-pragma. -Werror Is Good.
3368 * aclocal.m4: Regenerate.
3369 * configure: Regenerate.
3371 2000-05-19 Nathan C. Myers <ncm@cantrip.org>
3373 * bits/generic_shadow.h: s/swamp/legacy/
3375 2000-05-19 Phil Edwards <pme@sourceware.cygnus.com>
3377 * acinclude.m4: Clean up comments on newer checks.
3378 (GLIBCPP_CHECK_COMPILER_VERSION): Check for system_header
3379 pragma support. Remove WERRORSUPPRESS variable, add WERROR.
3380 * aclocal.m4: Regenerate.
3381 * configure: Regenerate.
3382 * Makefile.in: Regenerate.
3383 * libio/Makefile.in: Regenerate.
3384 * math/Makefile.in: Regenerate.
3385 * src/Makefile.am: Tell make's WERROR to depend on configure's WERROR.
3386 * src/Makefile.in: Regenerate.
3387 * docs/configopts.html: Document changes to --enable names.
3389 2000-05-18 Chip Salzenberg <chip@valinux.com>
3391 * bits/ostream.tcc (_S_pad_char): Function template should not be
3393 * bits/streambuf.tcc (_S_copy_streambufs): Likewise.
3394 * src/string-inst.cc (__destroy_aux): Instantiate for string*.
3396 2000-05-18 Nathan C. Myers <ncm@cantrip.org>
3398 * mkcshadow: Change C_Swamp to C_legacy.
3400 * shadow/bits/*: Same.
3401 s/C_Swamp/C_legacy/g
3405 2000-05-18 Anthony Williams <anthony@anthonyw.cjb.net>
3407 * bits/locale_facets.tcc (num_get::_M_extract): Change char* to
3409 * src/string-inst.cc (string::_S_find): Same.
3411 2000-05-18 Benjamin Kosnik <bkoz@gnu.org>
3413 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
3414 --enable-cshadow-headers. Add output messages.
3415 (GCC_ENABLE_LONG_LONG): Change to --enable-long-long, no
3416 underscores (like the rest of the enable options.) Add output messages.
3417 * aclocal.m4: Regenerate.
3418 * configure: Regenerate.
3419 * configure.in: Touch.
3421 2000-05-17 Benjamin Kosnik <bkoz@cygnus.com>
3423 * mkcheck.in: Enable shared library testing.
3425 2000-05-17 Nathan C. Myers <ncm@cantrip.org>
3427 * bits/std_cmath.h: fix sqrt(float)
3429 2000-05-16 Loren J. Rittle <ljrittle@acm.org>
3431 * bits/std_cassert.h: Use system_header pragma.
3432 * bits/std_cctype.h: Likewise.
3433 * bits/std_cerrno.h: Likewise.
3434 * bits/std_cfloat.h: Likewise.
3435 * bits/std_climits.h: Likewise.
3436 * bits/std_clocale.h: Likewise.
3437 * bits/std_cmath.h: Likewise.
3438 * bits/std_csetjmp.h: Likewise.
3439 * bits/std_csignal.h: Likewise.
3440 * bits/std_cstdarg.h: Likewise.
3441 * bits/std_cstddef.h: Likewise.
3442 * bits/std_cstdio.h: Likewise.
3443 * bits/std_cstdlib.h: Likewise.
3444 * bits/std_cstring.h: Likewise.
3445 * bits/std_ctime.h: Likewise.
3446 * bits/std_cwchar.h: Likewise.
3447 * bits/std_cwctype.h: Likewise.
3448 * bits/std_exception.h: Likewise.
3449 * bits/std_new.h: Likewise.
3450 * bits/std_typeinfo.h: Likewise.
3451 * shadow/bits/std_cassert.h: Likewise.
3452 * shadow/bits/std_cctype.h: Likewise.
3453 * shadow/bits/std_cerrno.h: Likewise.
3454 * shadow/bits/std_cfloat.h: Likewise.
3455 * shadow/bits/std_climits.h: Likewise.
3456 * shadow/bits/std_clocale.h: Likewise.
3457 * shadow/bits/std_cmath.h: Likewise.
3458 * shadow/bits/std_csetjmp.h: Likewise.
3459 * shadow/bits/std_csignal.h: Likewise.
3460 * shadow/bits/std_cstdarg.h: Likewise.
3461 * shadow/bits/std_cstddef.h: Likewise.
3462 * shadow/bits/std_cstdio.h: Likewise.
3463 * shadow/bits/std_cstdlib.h: Likewise.
3464 * shadow/bits/std_cstring.h: Likewise.
3465 * shadow/bits/std_ctime.h: Likewise.
3466 * shadow/bits/std_cwchar.h: Likewise.
3467 * shadow/bits/std_cwctype.h: Likewise.
3468 * shadow/bits/wrap_libio.h: Likewise.
3469 * shadow/bits/wrap_unistd.h: Likewise.
3470 * shadow/sys/cdefs.h: Likewise.
3472 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
3474 It appears that gcc-2.96 supports the keyword "and" now.
3475 * bits/std_ciso646.h: remove.
3477 * testsuite/17_intro/header_ciso646.c: enable testing.
3478 * src/Makefile.am, src/Makefile.in: remove mention of
3481 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
3483 * mkcshadow: fix typo s/_C_Swamp_/_C_Swamp/.
3485 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
3487 * acinclude.m4: Fix typo, switch to decaf...
3488 * aclocal.m4: Regenerate.
3489 * configure: Regenerate.
3491 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
3493 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro, stub.
3494 * aclocal.m4: Regenerate.
3495 * configure.in: Call.
3496 * configure: Regenerate.
3497 * docs/configopts.html: Stub documentation.
3499 2000-05-14 Nathan Myers <ncm@cantrip.org>
3501 * mkcshadow: build in more-correct directory, create cshadow/
3502 directory if needed, report progress.
3504 2000-05-14 LLeweLLyn Reese <llewelly@dbritsch.dsl.xmission.com>
3506 * src/Makefile.am: Fix tr commands.
3507 * src/Makefile.am: Remove references to [w]stringCTORDUPAL.[lo,cc]
3508 * src/string-inst.cc: Remove extra instantiation of
3509 S::basic_string(S::size_type, C, S::allocator_type const&);
3510 * src/string-inst.cc: Remove extra template keyword.
3512 2000-05-14 Loren J. Rittle <ljrittle@acm.org>
3514 * config/bsd/bits/ctype_base.h: Add support for plain BSD4.4.
3515 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Enhance bsd tests.
3516 * aclocal.m4: Regenerate.
3517 * configure: Regenerate.
3518 * */Makefile.in: Regenerate.
3520 2000-05-11 Phil Edwards <pme@sourceware.cygnus.com>
3522 * acinclude.m4: Fix minor typo with ctypes, add more sanity to
3523 enable-cxx-flags, and remove GLIBCPP_ENABLE_NAMESPACES altogether.
3524 * aclocal.m4: Regenerate.
3525 * configure.in: Non-blank arguments break fewer Linuxes.
3526 * configure: Regenerate.
3527 * src/Makefile.am: Re-order AC_CXXFLAGS components.
3528 * src/Makefile.in: Regenerate.
3530 2000-05-10 Benjamin Kosnik <bkoz@redhat.com>
3532 * bits/std_cmath.h: Tweaks.
3533 * math/mathconf.h: Tweaks and fixes for HP-UX 11.
3534 (sqrtf): Define away iff !builtin and !in <math.h>.
3538 At some point this directory should be converted to c++, the
3539 autoconf tests should be run by the c++ compiler (not c), and
3540 <cmath> should be used instead of math.h.
3541 Move declaration of nan() here.
3542 * math/complex-stub.h (cabsl): Remove nan() declaration.
3544 Finish up FreeBSD4.0 support.
3545 * config/bsd/ctype.cc: Scope out toupper, tolower calls.
3546 * config/generic/ctype.cc: And here.
3547 * testsuite/21_strings/char_traits.cc (test02): Guard with
3548 _GLIBCPP_USE_WCHAR_T.
3550 via Phil Edwards <pme@sourceware.cygnus.com>
3551 * bits/std_cctype.h: Remove _GLIBCPP_USE_NAMESPACES.
3552 * acconfig.h: And here.
3553 * acinclude.m4: Same.
3554 * testsuite/27_io/istream.cc: And here.
3555 * testsuite/27_io/ostream.cc: And here.
3557 2000-05-09 Benjamin Kosnik <bkoz@gnu.org>
3559 * acinclude.m4 (GLIBCPP_CHECK_CPU): Change powerpc bits to
3561 * src/Makefile.am: Disable ENABLE_CXX_FLAGS stuff for the moment.
3563 * config/generic/bits/ctype_specializations.h (ctype<char>::is):
3566 * config/bsd: New directory.
3567 * config/bsd/ctype.cc: New.
3568 * config/bsd/bits/ctype_base.h (ctype_base): New.
3569 * config/bsd/bits/ctype_specializations.h: New.
3570 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bsd tests.
3572 2000-05-09 Phil Edwards <pme@sourceware.cygnus.com>
3574 * acinclude.m4: New macro, GLIBCPP_ENABLE_CXX_FLAGS.
3575 * configure.in: Call.
3576 * src/Makefile.am: Append results of macro to AC_CXXFLAGS.
3577 * aclocal.m4: Regenerate.
3579 * src/Makefile.in: Ditto.
3580 * docs/configopts.html: Document.
3581 * docs/download.html: Fix typo (close quote).
3582 * docs/footer.html: Update.
3584 2000-05-09 Loren J. Rittle <ljrittle@acm.org>
3586 * backward/iostream.h: Expose endl. Guard wide types.
3587 * src/Makefile.am (headers): Update list to match files.
3588 * src/Makefile.in: Regenerate.
3590 2000-05-09 Vadim Egorov <egorovv@mailandnews.com>
3591 Benjamin Kosnik <bkoz@gnu.org>
3592 Nathan Myers <ncm@cantrip.org>
3593 Dietmar Kuehl <dietmar_kuehl@yahoo.com>
3595 * bits/streambuf.tcc (basic_streambuf::xsgetn): Fix uflow case.
3596 (basic_streambuf::xsputn): Make consistent.
3597 * testsuite/27_io/filebuf.cc: Add tests.
3599 2000-05-08 Steven King <sxking@uswest.net>
3601 * bits/char_traits.h: Use wchar_t utility functions for
3602 char_traits<wchar_t> methods.
3603 * testsuite/21_string/char_traits.cc: New (test02): test
3604 char_traits<wchar_t>
3606 2000-05-08 Benjamin Kosnik <bkoz@cygnus.com>
3608 * acinclude.m4 (GLIBCPP_CXXFLAGS): Add bits for solaris2.8.
3610 * bits/fstream.tcc (filebuf::_M_init_filebuf): Don't set
3611 _M_buf_size based on macro, instead use _M_buf_size_opt.
3612 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_size_opt.
3613 (basic_streambuf()): Set _M_buf_size_opt.
3614 * testsuite/27_io/filebuf.cc (filebuf): Use _M_buf_size_opt
3615 instead of _M_buf_size.
3617 2000-05-04 Branko Cibej <branko.cibej@hermes.si>
3619 * src/complex_io.cc: Don't instantiate inserters and extractors
3620 for wide-character streams unless _GLIBCPP_USE_WCHAR_T is defined.
3622 2000-05-03 Phil Edwards <pme@sourceware.cygnus.com>
3623 Felix Natter <fnatter@gmx.net>
3625 * docs/footer.html: Update to see if it takes effect.
3626 * docs/thanks.html: More people.
3627 * docs/17_intro/headers_cc.txt: Copy from testsuite, since that can't
3628 be seen from the web pages. Rename for browser-friendliness...
3629 * docs/17_intro/howto.html: ...and update here.
3630 * docs/17_intro/porting-howto.html: Changes from Felix.
3631 * docs/gccrebuild.html: Mention v3->egcs move.
3632 * docs/faq/index.html: Ditto. Also misc tweaks and URL updates.
3633 * docs/faq/index.txt: Regenerate.
3635 2000-05-01 Benjamin Kosnik <bkoz@redhat.com>
3637 * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): More
3640 2000-05-01 Vadim Egorov <egorovv@@mailandnews.com>
3642 * bits/char_traits.h: Fix parameter types.
3643 * bits/string.tcc: Avoid traits_type::move.
3645 2000-05-01 Benjamin Kosnik <bkoz@haight.constant.com>
3647 * src/Makefile.am (AC_CXXFLAGS): Add CPUFLAGS here.
3648 * src/Makefile.in: Regenerate.
3649 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Revert.
3651 2000-04-30 Steven King <sxking@uswest.net>
3653 * bits/locale_facets.h: Fix syntax error.
3654 * bits/std_fstream.h: ditto
3656 2000-04-30 Benjamin Kosnik <bkoz@gnu.org>
3658 * config/cpu/powerpc/bits/atomicity.h (__compare_and_swap): Fix typo.
3660 * mknumeric_limits (trait_name): Fix copyright notice.
3661 * src/gen-num-limits.cc: Explicitly instantiate epsilon and
3662 round_error data members of struct value. This works around
3663 weak-linking issues on AIX, HPUX.
3665 2000-04-29 Phil Edwards <pme@sourceware.cygnus.com>
3667 * docs/download.html: Add link to list of mirror sites.
3669 2000-04-28 Loren J. Rittle <ljrittle@acm.org>
3671 * mkcheck.in: Rely on exit status instead of the presence of a
3672 core file. Added comments on how/where to save core and exe
3673 files. Move shell wildcards outside quotes and fix core path.
3675 2000-04-27 scott snyder <snyder@fnal.gov>
3677 * src/misc-inst.cc: Explicitly instantiate ifstream and ofstream
3680 2000-04-26 Nathan C. Myers <ncm@cantrip.org>
3682 * bits/basic_string.h: include <bits/atomicity.h> instead
3683 of <atomicity.h>, and use the uglified names.
3684 * config/cpu/*/atomicity.h: replace with bits/atomicity.h;
3685 uglify names, eliminate dependence on <inttypes.h>.
3686 * src/Makefile.in, src/Makefile.am: refer to correct place
3687 for atomicity.h header.
3689 2000-04-25 Steven King <sxking@uswest.net>
3691 * bits/basic_string.h: Fix syntax error.
3693 2000-04-25 Benjamin Kosnik <bkoz@redhat.com>
3695 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Improve checks for
3697 (GLIBCPP_ENABLE_DEBUG): If alpha, use -gdwarf-2.
3698 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Add all the long
3699 versions to this as copysignl is needed anyway for these targets.
3700 * math/Makefile.in: Regenerate.
3702 * bits/streambuf.tcc (streambuf::xsgetn): Tweak.
3703 * bits/fstream.tcc (underflow): Cast to libio types.
3704 * bits/basic_file.h (seekoff): Fixes for alpha: use __c_streamoff.
3705 * config/c_io_libio.cc (seekoff): And here.
3707 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
3709 * mkcheck.in: Report compiler version used for test. Find
3710 the built _G_config.h instead of any old installed version.
3712 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
3714 * config/generic/ctype.cc (do_toupper): Remove dependence on
3715 non-portable/non-existent lookup table.
3718 2000-04-24 Nathan Myers <ncm@cantrip.org>
3720 * src/string-inst.cc: More fixing.
3722 2000-04-24 Benjamin Kosnik <bkoz@gnu.org>
3724 * bits/stl_iterator.h: Pedantic fixing.
3725 * bits/std_sstream.h: And here.
3726 * bits/string.tcc: And here.
3728 2000-04-24 Felix Natter <fnatter@gmx.net>
3730 * docs/17_intro/howto.html: Add bits.
3731 * docs/17_intro/porting-howto.html: New file.
3733 2000-04-24 Branko Cibej <branko.cibej@hermes.si>
3735 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Expand
3736 @libinst_wstring_la@ to libinst-wstring.la when specializing for
3737 wchar_t, to empty string otherwise.
3738 * src/Makefile.am: (EXTRA_LTLIBRARIES): New.
3739 (sources): Remove $(string_sources) and $(wstring_sources).
3740 (libstdc___la_LIBADD): Add libinst-string.la and @libinst_wstring_la@.
3741 (libstdc___la_DEPENDENCIES): New.
3742 (libinst_string_la_SOURCES, libinst_wstring_la_SOURCES): New.
3744 2000-04-20 Benjamin Kosnik <bkoz@redhat.com>
3746 * bits/std_sstream.h: Tweak formatting.
3747 * bits/std_fstream.h: Make types public.
3749 * testsuite/27_io/streambuf.cc: Fix for alpha.
3751 Brad Garcia <bgarcia@laurelnetworks.com>
3752 * bits/locale_facets.h (numpunct::numpunct(size_t)): Fix bool
3754 * testsuite/27_io/ios_manip_fmtflags.cc (test02): Add test for
3757 2000-04-19 Nathan Myers <ncm@cantrip.org>
3759 * src/string-inst: consolidate _S_create,
3760 destroy, leak, clone members into stringMAIN and stringMUTATE
3762 * src/Makefile.am: Above, and eliminate dependence on
3764 * src/wstring-inst.cc: Remove.
3766 2000-04-18 Benjamin Kosnik <bkoz@redhat.com>
3768 * src/Makefile.am (AC_CXXFLAGS): Activate debugging code, again.
3769 Add flags for specialized rules dealing with instantiations.
3771 * src/string-inst.cc: Add instantiations missing from shared
3772 libraries--see stringEQ, stringCONSC.
3773 * src/Makefile.am (wstring_sources): Add.
3774 (string_sources): Same.
3775 * src/Makefile.in: Regenerate.
3777 * stl/*: Integrate contents of this directory into top-level
3779 * ext/bvector hash_map hash_set rope ropeimpl.h slist
3780 stl_bvector.h stl_hash_fun.h stl_hashtable.h stl_rope.h tree: Add.
3781 * bits/pthread_allocimpl.h std_algorithm.h std_bitset.h
3782 std_deque.h std_functional.h std_iterator.h std_list.h std_map.h
3783 std_memory.h std_numeric.h std_queue.h std_set.h std_stack.h
3784 std_stdexcept.h std_strstream.h std_utility.h std_vector.h
3785 stl_algo.h stl_algobase.h stl_alloc.h stl_config.h stl_construct.h
3786 stl_deque.h stl_function.h stl_heap.h stl_iterator.h
3787 stl_iterator_base.h stl_list.h stl_map.h stl_multimap.h
3788 stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h
3789 stl_queue.h stl_range_errors.h stl_raw_storage_iter.h stl_relops.h
3790 stl_set.h stl_stack.h stl_string_fwd.h stl_tempbuf.h stl_threads.h
3791 stl_tree.h stl_uninitialized.h stl_vector.h type_traits.h: Add.
3792 * backward/algo.h algobase.h alloc.h bvector.h defalloc.h deque.h
3793 function.h hash_map.h hash_set.h hashtable.h heap.h iterator.h
3794 list.h map.h multimap.h multiset.h pair.h rope.h set.h slist.h
3795 stack.h tempbuf.h tree.h vector.h: Add.
3796 * README (file): Update.
3797 * docs/documentation.html: README not being found.
3798 * src/Makefile.am (sources): Take out stl directory.
3799 * mkcheck.in (SRC_DIR): And here.
3800 * src/Makefile.in: Regenerate.
3802 2000-04-18 Levente Farkas <lfarkas@mindmaker.hu>
3804 * stl/bits/stl_function.h: Add bits so that const and non-const
3807 2000-04-18 scott snyder <snyder@fnal.gov>
3809 * stl/bits/stl_map.h (class map): Fix default for _Alloc template
3810 parameter. Get rid of use of __STL_DEFAULT_ALLOCATOR and
3811 __STL_LIMITED_DEFAULT_TEMPLATES macros.
3812 * stl/bits/stl_multimap.h (class multimap): Likewise. Get rid of
3813 use of __STL_DEPENDENT_DEFAULT_TMPL macro.
3815 2000-04-18 scott snyder <snyder@fnal.gov>
3817 * stl/bits/stl_config.h (__STL_DEPENDENT_DEFAULT_TMPL): Deleted
3820 * stl/ext/hash_map (class hash_map, class hash_multimap): Get rid
3821 of use of __STL_DEPENDENT_DEFAULT_TMPL macro.
3822 * stl/ext/hash_set (class hash_set, class hash_multiset):
3824 * stl/bits/stl_function.h (struct constant_unary_fun, struct
3825 constant_binary_fun): Likewise.
3826 * stl/bits/stl_queue.h (class queue, class priority_queue): Likewise.
3827 * stl/bits/stl_stack.h (class stack): Likewise.
3828 * stl/bits/stl_set.h (class set): Likewise.
3829 * stl/bits/stl_multiset.h (class multiset): Likewise.
3831 * stl/bits/stl_iterator.h (class reverse_bidirectional_iterator,
3832 class reverse_iterator): Get rid of use of
3833 __STL_LIMITED_DEFAULT_TEMPLATES macro.
3835 * stl/bits/stl_config.h (__STL_DEFAULT_ALLOCATOR): Deleted this
3838 * stl/bits/stl_deque.h (class deque): Get rid of use of
3839 __STL_DEFAULT_ALLOCATOR macro.
3840 * stl/bits/stl_list.h (class list): Likewise.
3841 * stl/bits/stl_multiset.h (class multiset): Likewise.
3842 * stl/bits/stl_set.h (class set): Likewise.
3843 * stl/bits/stl_string_fwd.h (class basic_string): Likewise.
3844 * stl/bits/stl_tree.h (class _Rb_tree, class rb_tree): Likewise.
3845 * stl/bits/stl_vector.h (class vector): Likewise.
3846 * stl/ext/ropeimpl.h (rotate): Likewise.
3847 * stl/ext/hash_map (class hash_map, class hash_multimap):
3849 * stl/ext/hash_set (class hash_set, class hash_multiset):
3851 * stl/ext/slist (class slist): Likewise.
3852 * stl/ext/stl_bvector.h (class bit_vector): Likewise.
3853 * stl/ext/stl_rope.h (class rope): Likewise.
3854 * src/locale.cc (_Impl): Likewise.
3855 * src/localename.cc (_Impl): Likewise.
3856 * bits/localefwd.h (_Impl): Likewise.
3858 2000-04-18 Phil Edwards <pme@sourceware.cygnus.com>
3860 * docs/install.html: Cleanup, minor changes.
3861 * docs/17_intro/howto.html: Ditto.
3863 2000-04-18 Nathan Myers <ncm@cantrip.org>
3865 * bits/basic_string.h: Remove "inline" from member _S_find.
3867 * src/string-inst.cc: Rewrite to reflect non-inline template
3868 instantiations in string.tcc.
3870 * src/stringADDCS.cc, stringADDPS.cc, stringADDSC.cc, stringADDSP.cc,
3871 stringADDSS.cc, stringBIST.cc, stringBOST.cc, stringCHTR.cc,
3872 stringEQPS.cc, stringEQSP.cc, stringEQSS.cc, stringEXTRA.cc,
3873 stringGEPS.cc, stringGESP.cc, stringGESS.cc, stringGETLI.cc,
3874 stringGTPS.cc, stringGTPS.cc, stringGTSP.cc, stringGTSS.cc,
3875 stringINSER.cc, stringLEPS.cc, stringLESP.cc, stringLESS.cc,
3876 stringLESP.cc, stringLTPS.cc, stringLTPS.cc, stringLTSP.cc,
3877 stringLTSS.cc, stringMAIN.cc, stringNEPS.cc, stringNESP.cc,
3878 stringNESS.cc, stringSCOPY.cc: Remove.
3879 * src/wstringADDCS.cc, etc: Remove.
3881 Benjamin Kosnik <bkoz@haight.constant.com>
3882 * src/Makefile.am: Modify to reflect above.
3883 * src/Makefile.in: Regenerate.
3885 2000-04-17 Benjamin Kosnik <bkoz@cygnus.com>
3887 * docs/install.html (--enable-libstdcxx-v3): Clean up install docs.
3889 2000-04-13 Benjamin Kosnik <bkoz@haight.cygnus.com>
3891 * bits/std_fstream.h (filebuf::sync): Need to use the abstracted
3892 io interface here instead of the libio particulars.
3894 * config/threads-posix.h: Consistency with stl_config.h.
3896 * mkcheck.in (CXX_FLAG): Add DDEBUG_ASSERT back in.
3898 2000-04-13 Loren J. Rittle <ljrittle@acm.org>
3900 * mknumeric_limits: Rename generic type template parameter name
3902 * stl/bits/type_traits.h: Ditto.
3904 2000-04-06 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3906 * mkcheck.in (SRC_DIR): Change default mkcheck behavior, so that
3907 it is more useful for --enable-libstdcxx-v3. Use the built
3908 compilers with v3, instead of compilers in PATH, and don't
3909 re-include include directories for checking the install.
3911 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
3913 * src/Makefile.am (AM_CXXFLAGS): Disable NAMESPACES, as this is on
3914 by default when using --enable-libstdcxx-v3.
3915 * src/Makefile.in: Regenerate.
3916 * configure.in: Disable GLIBCPP_ENABLE_NAMESPACES,
3917 GLIBCPP_ENABLE_RELIBGCC for --enable-libstdcxx-v3 flag.
3918 * configure: Regenerate.
3919 * mkcheck.in: Deal with NAMESPACES.
3921 2000-04-05 Petter Urkedal <petter@matfys.lth.se>
3923 * src/cmath.cc: New file...
3924 (pow(*, int)): Define functions...
3925 * src/Makefile.am (sources): ...register file.
3926 * src/Makefile.in: Regenerate.
3927 * bits/std_cmath.h (pow): ...declare functions here, and remove
3930 2000-04-04 Benjamin Kosnik <bkoz@redhat.com>
3932 * acinclude.m4 (GCC_OBJDIR): Tweaks
3934 2000-04-03 Benjamin Kosnik <bkoz@redhat.com>
3936 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add arm configure bits.
3937 * config/cpu/arm: New directory.
3939 Jesper Skov <jskov@redhat.com>
3940 * config/cpu/arm/atomicity.h: New file.
3942 2000-03-31 Benjamin Kosnik <bkoz@redhat.com>
3944 * stl/bits/stl_config.h: Make _STL_THREADS depend on _REENTRANT.
3945 Remove unused bits. Clean.
3947 2000-03-29 Benjamin Kosnik <bkoz@cygnus.com>
3949 * testsuite/25_algorithms: New directory.
3950 * testsuite/25_algorithms/min_max.cc: New file.
3952 2000-03-29 scott snyder <snyder@fnal.gov>
3954 * bits/locale_facets.tcc (do_put): Allow a couple extra digits of
3955 precision beyond that which we get from numeric_limits::digits10.
3957 * stl/bits/stl_algobase.h (max, min): Don't use comparison
3960 * testsuite/23_containers/bitset_shift.cc: Fix.
3962 * testsuite/27_io/ios_manip_fmtflags.cc (test01): Don't give a
3963 temporary to imbue().
3965 * bits/std_fstream.h (sync): Resync libio's idea of the current
3966 file position with the external file.
3968 2000-03-28 Benjamin Kosnik <bkoz@cygnus.com>
3970 * testsuite/27_io/istream_extractor_arith.cc.cvs: Fix merge
3973 * bits/std_fstream.h (filebuf::is_open): Check for _M_file before
3974 attempting calls to it.
3975 * bits/fstream.tcc (ctors): Don't call _M_init_filebuf in
3976 ctors. Instead, call _M_init_filebuf ...
3977 (open): Here, as suggested by 27.8.1.3.
3978 * src/ios.cc (ios_base::Init::Init()): Clean up default filebufs
3979 properly when initializing cout/cin/cerr.
3981 2000-03-27 Russell Davidson <russell@ehess.cnrs-mrs.fr>
3983 * testsuite/23_containers/multiset.cc (main): Clean up for namespaces.
3984 * testsuite/22_locale/ctype_char_members.cc: And here.
3985 * testsuite/27_io/streambuf.cc (streambuf): And here.
3986 * testsuite/27_io/ostream_inserter_char.cc (test06): And here.
3987 * testsuite/27_io/istream_unformatted.cc (test05): And here.
3988 * testsuite/27_io/istream_extractor_arith.cc: And here.
3989 * testsuite/27_io/ios_manip_basefield.cc (test02): And here.
3990 * testsuite/27_io/ios_base_members_static.cc: And here.
3991 * bits/std_climits.h (_CPP_CLIMITS): Fix typo.
3993 2000-03-27 Chris Faylor <cgf@cygnus.com>
3995 * configure.in: Remove setting of CXX if canadian cross.
3996 * configure: Regenerate.
3998 2000-03-27 Nathan Myers <ncm@zembu.com>
4000 * bits/sstream.tcc: Optimize.
4001 * bits/basic_string.h(string::append): Don't inline.
4002 * bits/string.tcc: Move out-of-line.
4004 2000-03-27 Phil Edwards <pme@sourceware.cygnus.com>
4006 * acinclude.m4: (GLIBCPP_CHECK_COMPILER_VERSION) When using <2.96,
4007 define WERRORSUPPRESS so that the inlining warnings won't kill us.
4008 * aclocal.m4: Regenerate.
4009 * configure: Regenerate.
4010 * src/Makefile.am: Use WERRORSUPPRESS for the files that need it.
4011 * src/Makefile.in: Regenerate.
4013 * docs/install.html: Almost complete rewrite.
4015 2000-03-25 Phil Edwards <pme@sourceware.cygnus.com>
4017 * docs/install.html: Explain -Werror problem at "#Werror" mark.
4018 * docs/faq/index.html: Testsuite will die horribly if new libgcc.a
4020 * docs/faq/index.txt: Regenerate.
4022 2000-03-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4024 * src/Makefile.am (libio_headers_install): Fix.
4025 * src/Makefile.in: Regenerate.
4027 2000-03-24 Benjamin Kosnik <bkoz@cygnus.com>
4029 * docs/17_intro/RELEASE-NOTES: Fix typos.
4030 * docs/index.html: Update.
4031 * docs/17_intro/BUGS: Update.
4032 * docs/status.html: Update for 2.90.8 release.
4034 2000-03-23 Phil Edwards <pme@sourceware.cygnus.com>
4036 * Makefile.am: Better error message when missing libgcc2.ready.
4037 * Makefile.in: Regenerate.
4038 * acinclude.m4: Fastidious nitpicking reformatting.
4039 * aclocal.m4: Regenerate.
4040 * configure: Regenerate.
4041 * mkcheck.in: Must use same namespace settings as the library being
4042 tested. Also log ST_FLAG, since it's being passed.
4043 * docs/install.html: Add brief chunk on configuration.
4044 * docs/17_intro/RELEASE-NOTES: Fix minor Cygwin typo.
4045 * docs/23_containers/howto.html: Mention MT-safe string.
4046 * docs/faq/index.html: Minor updates.
4047 * docs/faq/index.txt: Regerarate.
4049 2000-03-22 Benjamin Kosnik <bkoz@cygnus.com>
4051 * bits/sstream.tcc (seekoff): Fix for gptr() null cases.
4053 * bits/fstream.tcc (seekoff): Sync.
4055 * testsuite/27_io/ostream_unformatted.cc: New file.
4056 * testsuite/27_io/stringbuf.cc: Fix.
4057 * testsuite/27_io/istream_unformatted.cc (test04): Fix.
4059 * config/newlib/bits/ctype_base.h (ctype_base): Fix.
4060 * config/newlib/ctype.cc (ctype): Change __ctype -> _ctype_.
4062 * src/complex_io.cc (operator>>complex): Tweak.
4064 * config/cpu/alpha/atomicity.h: Explicitly typedef uint32_t, int32_t if
4065 <inttypes.h> does not exist.
4066 * config/cpu/sparc/sparc64/atomicity.h: Same.
4067 * config/cpu/sparc/sparc32/atomicity.h: Same.
4068 * config/cpu/powerpc/atomicity.h: Same.
4069 * config/cpu/i386/atomicity.h: Same.
4070 * config/cpu/generic/atomicity.h: Same.
4071 * configure.in: Check for inttypes.h.
4072 * configure: Regnerate.
4074 2000-03-21 Benjamin Kosnik <bkoz@cygnus.com>
4076 * bits/std_sstream.h (_M_init_stringbuf): Set initial ate position
4078 * testsuite/27_io/ostream_inserter_char.cc (test06): Add tests for ate.
4080 * docs/17_intro/RELEASE-NOTES (New): Add bits.
4082 * configure.in: Move AC_CHECK_HEADERS to a point where we know we
4083 are compiling natively.
4085 * libio/*: Update to CVS libio from egcs.
4087 2000-03-21 Phil Edwards <pme@sourceware.cygnus.com>
4089 * docs/download.html: Document use of -z9 for CVS.
4090 * docs/index.html: Add target date (no link) for future snapshot.
4092 2000-03-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4094 * bits/slice_array.h: Rename generic type template parameter name
4096 * bits/mask_array.h: Ditto
4098 2000-03-20 Benjamin Kosnik <bkoz@cygnus.com>
4100 * *: Change copyright holder from "Cygnus Solutions" to "Free
4101 Software Foundation, Inc."
4103 * docs/configopts.html: Explain what "hella versions" means.
4104 * docs/install.html: Some tweaks--nice job on this Phil.
4105 * docs/documentation.html: Add a direct link to configuration options.
4107 * src/Makefile.am (OPTIMIZE_CXXFLAGS): Add in extras.
4108 * docs/17_intro/RELEASE-NOTES (New): Add.
4109 * bits/c++config.h (__GLIBCPP__): Bump version.
4111 * config/c_io_libio.cc (__basic__file(__c_lock*)): Change argument
4112 type to match prototype.
4114 2000-03-20 Phil Edwards <pme@sourceware.cygnus.com>
4116 * docs/install.html: Update for new funky build procedure. Move
4117 description of 'configure' options to...
4118 * docs/configopts.html: ...here. New file.
4119 * docs/17_intro/howto.html: Updates for new snapshot.
4120 * docs/20_util/howto.html: Ditto.
4121 * docs/21_strings/howto.html: Ditto.
4122 * docs/21_strings/stringtok_std_h.txt: Fix example typos.
4123 * docs/22_locale/howto.html: Ditto.
4124 * docs/23_containers/howto.html: Ditto.
4125 * docs/faq/index.html: Ditto.
4127 2000-03-18 Petter Urkedal <petter@matfys.lth.se>
4128 Benjamin Kosnik <bkoz@gnu.org>
4130 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_SUPPORT): Move code for main
4132 * aclocal.m4: Regenerate.
4133 * configure: Regenerate.
4135 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
4136 scott snyder <sss@karma.fnal.gov>
4138 * config/c_io_libio.h: Add __c_lock.
4139 * config/threads-no.h: Same here.
4140 * config/threads-posix.h: Add __mutext_type typedef.
4141 * config/c_io_libio.cc: basic_file ctor takes lock arg.
4142 * bits/basic_file.h: Ctor takes lock arg.
4143 * bits/std_fstream.h: Add _M_lock.
4144 * bits/fstream.tcc: Supply it to basic_file ctor.
4146 * mkcheck.in (resultstext): Change [[ to [.
4148 * testsuite/27_io/ostream_inserter_char.cc (test06): Tweak.
4150 * bits/locale_facets.h: Tweak.
4152 * stl/bits/stl_config.h: Fix defines.
4154 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
4156 * mkcheck.in (INC_PATH): Add paths from cpu_include_dir to find
4158 * configure: Regenerate.
4159 * aclocal.m4: Regnerate.
4161 2000-03-16 Nathan Myers <ncm@zembu.com>
4163 * bits/string.tcc: Add MT support.
4164 * bits/basic_string.h: Same.
4166 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
4168 * configure.in: Make --enable-namespaces and -libgcc-rebuild=../..
4170 * configure: Regenerate.
4172 * config/solaris/solaris2.7/ctype.cc: Fix unsigned/signed comparison.
4174 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
4176 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): If Sol2.5 ctype is found, keep
4177 checking for 2.[67]. (GLIBCPP_ENABLE_RELIBGCC): No longer ignore
4178 any defaults passed in.
4179 * aclocal.m4: Regenerate.
4181 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
4183 * mkcheck.in: Report total successes and failures.
4185 2000-03-15 Benjamin Kosnik <bkoz@cygnus.com>
4187 * config/cpu: New directory, intended to be used to provide
4188 cpu-specific configuration files. In particular, assembly language
4189 primitives for thread safety.
4190 * config/cpu/alpha: Populate.
4191 * config/cpu/alpha/atomicity.h: New file.
4192 * config/cpu/arm: Populate.
4193 * config/cpu/generic: Populate.
4194 * config/cpu/generic/atomicity.h: New file.
4195 * config/cpu/hppa: Populate.
4196 * config/cpu/i386: Populate.
4197 * config/cpu/i386/atomicity.h: New file, take from i486.
4198 * config/cpu/m68k: Populate.
4199 * config/cpu/mips: Populate.
4200 * config/cpu/powerpc: Populate.
4201 * config/cpu/powerpc/atomicity.h: New file.
4202 * config/cpu/sparc: Populate.
4203 * config/cpu/sparc/sparc32: Populate.
4204 * config/cpu/sparc/sparc64: Populate.
4205 * config/cpu/sparc/sparc32/atomicity.h: New file.
4206 * config/cpu/sparc/sparc64/atomicity.h: New file.
4208 * src/Makefile.am (myinstallheaders): Add install routines.
4209 * acinclude.m4 (GLIBCPP_CHECK_CPU):Add configuration for the
4211 * configure.in: Add.
4213 * config/default: Adopt glibc naming conventions, and so move to
4214 * config/generic: Here.
4215 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Modify default case to generic.
4217 2000-03-15 Bill Thompson <billt@toast.net>
4219 * testsuite/27_io/ostream_inserter_char.cc (test06): Add test.
4221 2000-03-14 Phil Edwards <pme@sourceware.cygnus.com>
4223 * docs/17_intro/howto.html: Add missing "TOC" entry, and new section.
4225 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Fixup.
4226 * aclocal.m4: Regenerate.
4227 * configure: Regenerate.
4229 2000-03-13 scott snyder <snyder@fnal.gov>
4230 Jason Merrill <jason@cygnus.com>
4232 * bits/locale_facets.h (class ctype, class ctype<char>, class
4233 ctype<wchar_t>): More mask fixes.
4234 * testsuite/22_locale/ctype.cc: Test for the problem.
4236 2000-03-13 Benjamin Kosnik <bkoz@cygnus.com>
4238 * acconfig.h: Add bits.
4239 * configure.in: Move AM_PROG_LIBTOOL up in file.
4240 Tweak cross compiling info.
4241 * configure: Regenerate.
4243 * mknumeric_limits (XCOMPILE): Echo compilation line for
4246 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add aix checks.
4247 * aclocal.m4: Regenerate.
4248 * configure: Regenerate.
4249 * config/aix/ctype.cc (ctype): Tweak.
4250 * config/aix/bits/ctype_base.h (ctype_base): Tweak.
4251 * config/aix/bits/ctype_specializations.h: New file.
4253 2000-03-10 scott snyder <snyder@fnal.gov>
4255 * stl/bits/stl_vector.h (_M_assign_aux): Fix for __normal_iterator
4257 * testsuite/23_containers/vector_modifiers.cc (test01): Add a
4258 regression test for the problem.
4260 2000-03-09 Benjamin Kosnik <bkoz@fidel.cygnus.com>
4262 * testsuite/27_io/streambuf.cc (class testbuf): Same here.
4263 * bits/fpos.h: And here.
4264 * bits/std_ostream.h: Same here.
4265 * bits/std_istream.h: Same here.
4266 * bits/basic_ios.h: Same here.
4267 * bits/std_fstream.h: Same here.
4268 * bits/sbuf_iter.h (std): Here too.
4269 * bits/std_sstream.h: Make types public.
4271 * src/misc-inst.cc: Use size_t instead of unsigned int.
4272 * bits/locale_facets.tcc (_S_format): For now, cast to char. I
4273 suppose this should be ctype::narrow... all the ctype<wchar_t>
4274 stuff needs to be cleaned up.
4276 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
4278 * docs/gentop: Remove entire directory, finally.
4280 2000-03-09 scott snyder <snyder@fnal.gov>
4282 * bits/std_cmath.h (modf): Fix pointer overrun.
4283 * testsuite/26_numerics/c_math.cc (test04, main): Add a regression
4284 test for the problem.
4286 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
4288 Looks like changes to the #include'd files must be followed by a
4289 change to the #include'ing files to take effect. Caveat emptor.
4290 * docs/header.html: New file, for server-side include.
4291 * docs/footer.html: New file, for server-side include.
4292 * docs/documentation.html: Change to use SSI.
4293 * docs/download.html: Ditto.
4294 * docs/index.html: Ditto.
4295 * docs/mail.html: Ditto.
4296 * docs/status.html: Ditto.
4297 * docs/thanks.html: Ditto, plus minor updates.
4298 * docs/how.html: Remove.
4300 2000-03-09 Benjamin Kosnik <bkoz@gnu.org>
4302 Preliminary alpha-linux support.
4303 * src/locale.cc (ctype<wchar_t>): Use correct types...
4304 * bits/locale_facets.h (ctype<char>): Add __table_type typedef.
4305 (ctype<wchar_t>): Same.
4306 * bits/locale_facets.h (ctype<wchar_t>): Have char and wchar_t
4307 types match for table_size (size_t).
4309 * config/gnu-linux/ctype.cc (ctype): Change char_type to wchar_t
4310 as per char specialization.
4311 * config/*/ctype.cc: Same.
4313 2000-03-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4315 * bits/locale_facets.h (_Ctype<>::mask): Import from base class
4316 _Ctype_nois<>. Template base classes are never examinated in
4317 first-phase name-lookup.
4319 2000-03-08 Benjamin Kosnik <bkoz@gnu.org>
4321 Add Solaris 2.5.1 support.
4322 * config/solaris/solaris2.5/bits/ctype_base.h (ctype_base): And here.
4323 * config/solaris/solaris2.5/ctype.cc: Fixup.
4324 * config/solaris/solaris2.5/bits/ctype_specializations.h: Add.
4325 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bits for solaris2.5.1.
4326 * aclocal.m4: Regenerate.
4327 * configure: Regenerate.
4329 * config/default/ctype.cc (ctype): Fixup.
4331 2000-03-07 Benjamin Kosnik <bkoz@blues.cygnus.com>
4333 * testsuite/27_io/filebuf.cc: Activate init code from yesterday...
4334 * testsuite/27_io/ostream_inserter_arith.cc (testcases): Fix for
4337 2000-03-07 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4339 * bits/cpp_type_traits.h: Expand on this file purpose.
4341 2000-03-06 Benjamin Kosnik <bkoz@gnu.org>
4343 * bits/locale_facets.h (ctype<char>): Remove static members, and
4344 re-work initialization code.
4345 (ctype<wchar_t>): Same.
4346 Move _S_touppper to _M_toupper and initialize in ctor.
4347 Move _S_tolower to _M_tolower and initialize in ctor.
4348 Move _S_table to _M_ctable and intialize in ctor.
4349 * bits/locale_facets.h (std): And here.
4350 * src/locale.cc (std): Tweak.
4351 * config/gnu-linux/ctype.cc: Change initialization here.
4352 * config/newlib/ctype.cc: And here.
4353 * config/solaris/solaris2.7/ctype.cc: And here.
4354 * config/solaris/solaris2.6/ctype.cc: And here.
4356 * bits/localefwd.h: Tweak.
4357 * bits/std_streambuf.h: Tweak formatting.
4359 * testsuite/27_io/filebuf.cc: Remove BUFSIZ dependancies.
4361 2000-03-05 Chip Salzenberg <chip@valinux.com>
4363 * src/misc-inst.cc (basic_iostream<>): Instantiate.
4365 2000-03-02 Phil Edwards <pme@sourceware.cygnus.com>
4366 Kevin Atkinson <kevinatk@home.com>
4368 Initial grab of SGI's strstream implementation with minor
4370 * src/strstream.cc: New file.
4371 * std/strstream: New file.
4372 * stl/bits/std_strstream.h: New file.
4373 * bits/std_streambuf.h: Add public access.
4374 * src/Makefile.am: Add strstream sources to list of dependancies.
4375 * src/Makefile.in: Regenerate.
4377 2000-03-03 2000 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4379 * bits/valarray_meta.h: Fix typo.
4381 2000-03-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4382 Chip Salzenberg <chip@valinux.com>
4383 Petter Urkedal <petter@matfys.lth.se>
4385 * src/Makefile.am (myinstallheaders): Hack to avoid
4387 * src/Makefile.in: Regenerate.
4389 2000-03-02 Chip Salzenberg <chip@valinux.com>
4391 * libio/Makefile.an, math/Makefile.an, src/Makefile.am
4392 (LINK): Put quotes around "$(CC)" for libtool link mode,
4393 so libtool will use "-B" options during GCC bootstrap.
4394 * */Makefile.in: Regenerate.
4396 2000-03-02 Petter Urkedal <petter@matfys.lth.se>
4398 * config/c_io_libio.h: Enclose it all in ::std.
4399 * bits/basic_string.h (basic_string<>): Make types and
4401 * mkc++config: Truncate output file before writing.
4403 2000-03-01 Benjamin Kosnik <bkoz@gnu.org>
4405 * math/cabsf.c (__mycabsf): Rename to cabsf.
4406 * math/cabs.c (__mycabs): Rename to cabs.
4408 2000-02-29 LLeweLLyn Reese <llewelly@198.dsl.xmission.com>
4410 * bits/basic_string.h: Move declarations of __out_of_range(),
4411 __length_error() and accompanying macros ...
4412 * bits/exception_support.h: here. (Newly created file).
4413 * bits/basic_string.h: #include <bits/exception_support.h>
4414 * stl/bits/stl_vector.h: #include <bits/exception_support.h>
4415 * src/Makefile.am (headers): Add.
4416 * src/Makefile.in: Regenerate.
4418 2000-02-29 Benjamin Kosnik <bkoz@cygnus.com>
4420 * bits/cpp_type_traits.h: Rename structs so they don't clash with
4422 * bits/valarray_array.h: Synch. Fix typos.
4424 * libio/Makefile.am: Change to only compile source files that
4425 config/c_io_libio.cc actually needs.
4426 * libio/Makefile.in: Regnerate.
4427 * libio/PlotFile.hes SFile.h builtinbuf.h editbuf.h floatconv.c
4428 floatio.h fstream.h indstream.h iofclose.c iofdopen.c iofeof.c
4429 ioferror.c iofflush.c iofgetpos.c iofgets.c iofopen.c iofprintf.c
4430 iofputs.c iofread.c iofscanf.c iofsetpos.c ioftell.c iofwrite.c
4431 iogetc.c iogetdelim.c iogetline.c iogets.c ioignore.c iomanip.h
4432 iopadn.c ioperror.c iopopen.c ioprims.c ioprintf.c ioputc.c
4433 ioputs.c ioscanf.c ioseekoff.c ioseekpos.c iosetbuffer.c
4434 iosetvbuf.c iosprintf.c iosscanf.c iostream.h iostrerror.c
4435 ioungetc.c iovfprintf.c iovfscanf.c iovsprintf.c iovsscanf.c
4436 istream.h list.out ostream.h outfloat.c parsestream.h peekc.c
4437 pfstream.h procbuf.h stdiostream.h stream.h streambuf.h strfile.h
4438 strops.c strstream.h: Delete.
4440 * bits/basic_file.h: Stub out or delete unused bits in this
4442 (filepos_beg): Remove.
4443 (filepos_cur): Remove.
4444 (filepos_valid): Remove.
4445 * config/c_io_libio.cc: Resynch with the changes to basic_file.
4447 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4449 * bits/cpp_type_traits.h: Correct typo.
4451 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4453 * bits/cpp_type_traits.h: New file.
4455 * bits/valarray_array.h: Tweak. #include <bits/cpp_type_traits.h>
4456 Improve array construction.
4457 (_Array_default_ctor): New dispatcher class.
4458 (__valarray_default_construct): New function.
4459 (_Array_copy_ctor): New dispatcher class.
4460 (__valarray_copy_construct): New function.
4461 (_Array<>::free_data): Remove.
4463 * src/Makefile.am (headers): Add cpp_type_traits.h
4464 * src/Makefile.in: Regenerate.
4466 2000-02-28 Benjamin Kosnik <bkoz@cygnus.com>
4468 Prune libio directory to match files in libio/Makefile.
4469 * libio/PlotFile.cc,indstream.cc, isgetsb.cc, sbform.cc,
4470 stream.cc, SFile.cc, ioassign.cc, isscan.cc, sbgetline.cc,
4471 streambuf.cc, builtinbuf.cc, ioextend.cc, osform.cc, sbscan.cc,
4472 strstream.cc, editbuf.cc, iomanip.cc, parsestream.cc,
4473 stdiostream.cc, filebuf.cc, iostream.cc, pfstream.cc,
4474 stdstrbufs.cc, fstream.cc, isgetline.cc, procbuf.cc,
4475 stdstreams.cc: Remove.
4476 * libio/floatio.h, iolibio.h, iostdio.h, iostreamP.h: Remove.
4477 * libio/iofflush_u.c: Remove.
4479 * libio/dbz: Remove.
4480 * libio/include: Remove.
4481 * libio/stdio: Remove.
4482 * libio/tests: Remove.
4483 * libio/testsuite: Remove.
4485 * config/c_io_libio.cc: Add fcntl.h include for Solaris.
4487 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add bits.
4488 * configure.in: Replace 'grep -e' with 'grep' for Solaris.
4489 * configure: Regenerate.
4491 2000-02-25 Benjamin Kosnik <bkoz@gnu.org>
4493 Abstract out the underlying "C" io bits.
4494 * bits/std_new.h: Remove <stl_config> include, as well as <cstddef>.
4495 * stl/bits/stl_string_fwd.h: Remove <stddef> include.
4496 * bits/std_cwchar.h: Wrap with _GLIBCPP_USE_WCHAR_T guards. Don't
4498 * stl/bits/stl_config.h: Don't include _G_config.h.
4500 * bits/basic_file.h: Allow for non-inheritance based __basic_files.
4501 * config/c_io_libio.h (_GLIBCPP_BASIC_FILE_INHERITANCE): Define.
4502 * config/c_io_libio.cc: Tweak.
4504 * src/Makefile.am (TOPLEVEL_INCLUDES): Add includedir.
4505 * src/Makefile.in: Regenerate.
4506 * Makefile.am (AM_MAKEFLAGS): Define includedir so that
4507 prefix/include files will be picked up.
4508 * Makefile.in: Regenerate.
4509 * math/Makefile.am (TOPLEVEL_INCLUDES): And here.
4510 * libio/Makefile.am (TOPLEVEL_INCLUDES): And here.
4512 * bits/std_ios.h: Include <bits/c++io.h> instead of libio.
4513 * bits/fpos.h: And here.
4514 * bits/basic_file.h (get_fileno): Move definition from ...
4515 * src/basic_file.cc (std): To here.
4516 * bits/fpos.h: Move types for streamoff, streampos to..
4517 * bits/basic_file.h: Move __c_file_type and fpos typedefs to...
4518 * config/c_io_libio.h: ...here.
4519 (_GLIBCPP_[BOOLALPHA, HEX, DEC, FIXED, INTERNAL, LEFT, OCT, RIGHT,
4520 SCIENTIFIC, SHOWBASE, SHOWPOINT, SHOWPOS, SKIPWS, UNITBUF,
4521 UPPERCASE, ADJUSTFIELD, BASEFIELD, FLOATFIELD, BADBIT, EOFBIT,
4522 FAILBIT, GOODBIT, APP, ATE, BINARY, IN, OUT, TRUNC): New macros to
4523 abstract out bits in ios_base.
4524 * bits/ios_base.h: Re-macrofy.
4525 * src/basic_file.cc : Rename, move to
4526 * config/c_io_libio.cc: Here.
4527 * config/c_io_libio.h: New file. Include libio.
4528 * bits/c++config.h: Don't define _GLIBCPP_USE_LIBIO.
4529 * configure.in (blddir): Add enabling bits for GLIBCPP_ENABLE_CSTDIO.
4530 * configure: Regenerate.
4531 * src/Makefile.am (sources): Take out basic_file.cc and add c++io.cc.
4532 (generated_headers): Add c++io.h
4533 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New function to select
4534 underlying "C" io library.
4535 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Roll functionality into
4536 GLIBCPP_ENABLE_CSTDIO.
4538 * configure.in: Add configure bits for cross compiling non-newlib
4540 GLIBCPP_CHECK_COMPILER_VERSION: Take out this test for this
4541 target, as we assume g++ support is not the limiting factor.
4542 GLIBCPP_CHECK_LIBIO: Same, know we don't need libio.
4543 * configure: Regenerate.
4545 2000-02-22 Benjamin Kosnik <bkoz@cygnus.com>
4547 * Makefile.am (INTERFACE): Define.
4548 * Makefile.in: Regenerate.
4549 * libio/ChangeLog: Add entry.
4551 2000-02-21 Benjamin Kosnik <bkoz@cygnus.com>
4553 * docs/install.html: Update install directions.
4555 * docs/status.html: Fix sidebar to be consistent.
4556 * docs/thanks.html: Same.
4557 * docs/links.html: Same.
4558 * docs/mail.html: Same.
4559 * docs/download.html: Same.
4561 * testsuite/27_io/filebuf.cc: Change BUFSIZ to buffer_size, and
4562 kill the macro BUFSIZ. I think the solaris fails lie elsewhere
4563 however, in the ctype_char_members.cc fail (for instance.)
4564 * testsuite/17_intro/headers.cc: Remove extraneous fails for hosts
4565 that do not have wchar_t enabled.
4566 * testsuite/27_io/ostream_inserter_arith.cc (struct _TestCase):
4568 * testsuite/27_io/iostream_objects.cc: And here.
4570 * libio/gen-params (CONFIG_NM): Specifically add in nm as the
4573 2000-02-18 Benjamin Kosnik <bkoz@haight.constant.com>
4574 Tom Tromey <tromey@cygnus.com>
4576 * configure.in: Manually add MULTISUBDIR.
4577 * configure: Regenerate.
4578 * src/Makefile.am (MULTISUBDIR): Add the lesser evil of Tom's two
4579 "Eww" hacks to get multilib installs working correctly.
4580 ($(headers): Test for MULTISUBDIR before installing.
4581 * Makefile.am (AM_MAKEFLAGS): Don't define MULTISUBDIR, instead
4582 have configure hack it in.
4583 * Makefile.in: Regenerate.
4584 * acinclude.m4 (GLIBCPP_CXXFLAGS): Tweak wording.
4585 Add enabling bits for native Cygwin ctypes, and other newlib-based
4588 2000-02-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4590 * mkc++config (OUT_H): Remove EOF in cygwin.
4591 * acinclude.m4 (LIBS): Tweaks to allow cygwin to configure.
4593 Tom Tromey <tromey@cygnus.com>
4594 * src/Makefile.am: Tweaks for installing multilibs.
4596 2000-02-17 Benjamin Kosnik <bkoz@cygnus.com>
4599 (toolexeclib_LTLIBRARIES): Use this instead of lib_LTLIBRARIES.
4600 Add USE_LIBDIR bits here, not...
4601 * src/Makefile.in: Regenerate.
4602 * Makefile.am: ...here.
4603 * Makefile.in: Regenerate.
4605 2000-02-17 Benjamin Kosnik <bkoz@gnu.org>
4607 * acinclude.m4 (LIBS): Fix typos.
4608 * configure.in: _GLIBCPP_BUGGY_FLOAT_COMPLEX,
4609 _GLIBCPP_BUGGY_COMPLEX for crosses.
4610 * src/Makefile.am (std_headers): Add libio.h as install include,
4612 * src/Makefile.in: Regenerate.
4614 * mkcheck.in: Add bits to set CXX to cross compiler.
4616 * src/complex_io.cc: Tweak.
4617 * configure.in: _GLIBCPP_BUGGY_COMPLEX for crosses.
4618 * configure: Regenerate.
4620 * config/newlib/ctype.cc: Tweaks.
4621 * config/newlib/bits/ctype_base.h (ctype_base): Set mask to char,
4623 * src/complex_io.cc (operator>>(istream, complex): Define out if
4626 2000-02-16 Benjamin Kosnik <bkoz@cygnus.com>
4628 * config/newlib/bits/ctype_base.h: Correct _S_table.
4630 Reconfigure ctype support for "C" libraries that don't use arrays.
4631 * testsuite/22_locale/ctype_char_members.cc: New file. Test for
4632 basic ctype<char> functionality.
4633 * src/locale.cc: Move host-specific ctype functions that are not
4634 inlines to config/*/ctype.cc files.
4635 (ctype<char>::do_tolower): For instance.
4636 (ctype<char>::do_toupper): For instance.
4637 (ctype<wchar_t>::do_tolower): For instance.
4638 (ctype<wchar_t>::do_toupper): For instance.
4639 * config/gnu-linux/ctype.cc: Modify.
4640 * config/default/ctype.cc: Modify.
4641 * config/newlib/ctype.cc: Modify.
4642 * config/solaris/solaris2.6/ctype.cc: Modify.
4643 * config/solaris/solaris2.7/ctype.cc: Modify.
4645 * bits/locale_facets.h (ctype<char>::is): Mark inline, move
4647 (ctype<char>::scan_is): Here too.
4648 (ctype<char>::scan_not): Here too.
4649 Move out of line defs to config/*/bits/ctype_specializations.h.
4650 * config/gnu-linux/bits/ctype_specializations.h: ...here. New file.
4651 * config/default/bits/ctype_specializations.h: ...here. New file.
4652 * config/newlib/bits/ctype_specializations.h: ...here. New file.
4653 * config/solaris/solaris2.6/bits/ctype_specializations.h: New file.
4654 * config/solaris/solaris2.7/bits/ctype_specializations.h: New file.
4655 * src/Makefile.am (headers): Add ctype_specializations.h.
4656 * src/Makefile.in: Regenerate.
4658 Aaron Weiss <weiss@clearway.com>
4659 * Makefile.am (AM_MAKEFLAGS): Add NM_FOR_BUILD, NM_FOR_TARGET, and
4660 CONFIG_NM for Solaris builds.
4661 * Makefile.in: Regenerate.
4663 * src/locale.cc: Tweak formatting.
4665 2000-02-15 Benjamin Kosnik <bkoz@cygnus.com>
4667 Jim Parsons <parsons@clearway.com>
4668 * testsuite/27_io/istream_unformatted.cc (test06): Add test.
4669 * bits/istream.tcc (read): Set failbit if !good(). Don't increment
4673 Michel Decima <michel.decima@cnet.francetelecom.fr>
4674 * testsuite/27_io/streambuf.cc: Add test.
4675 * bits/streambuf.tcc (xsgetn): Don't test for valid mode.
4678 * src/Makefile.am (AM_CXXFLAGS): Pass down AC_CXXFLAGS,
4679 OPTIMIZE_CXXFLAGS, etc. So --enable-debug and --enable-namespaces
4680 will work correctly, for instance.
4681 * src/Makefile.in: Regenerate.
4683 * bits/locale_facets.h: Fix merge error.
4684 (num_put::put(unsigned long long): And here.
4685 * mknumeric_limits (trait_name): Same.
4687 2000-02-15 Chip Salzenberg <chip@valinux.com>
4689 Support 'configure --enable-long-long'.
4690 * bits/c++config.h (_GLIBCPP_USE_LONG_LONG): Remove.
4691 * stl/bits/stl_config.h (__STL_LONG_LONG): Remove '#if 0'.
4692 * acconfig.h (_GLIBCPP_USE_LONG_LONG): Add. Default to undef.
4693 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Define flag macro.
4694 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Use it.
4696 * aclocal.m4: Regenerate.
4697 * config.h.in: Regenerate.
4698 * configure: Regenerate.
4700 2000-02-15 Chip Salzenberg <chip@valinux.com>
4702 Improve (complete?) 'long long' support.
4703 * mknumeric_limits: Call $CXX with $CPPFLAGS. Define statics
4704 for {,unsigned} long long if the limits header declares them.
4705 * src/gen-num-limits.cc: Include <bits/c++config.h> early.
4706 (__USE_GNU, _GNU_SOURCE): Define if _GLIBC_USE_LONG_LONG.
4707 (long long, unsigned long long): Gen limits if _GLIBC_USE_LONG_LONG.
4708 * bits/locale_facets.h (num_get<>::get(..., long long &)): Define.
4709 (num_put<>::put(..., long long)): Likewise.
4710 (num_put<>::put(..., unsigned long long)): Likewise.
4711 * bits/locale_facets.tcc (_S_format): Rename from _S_format_long.
4712 Templatize last parameter to support 'long long'.
4713 (num_put<>::put(...)): Call _S_format with new name.
4714 (num_put<>::put(..., long long)): Define.
4715 (num_put<>::put(..., unsigned long long)): Likewise.
4716 * src/locale-inst.cc (_S_format): Instantiate under new name.
4718 2000-02-15 Petter Urkedal <petter@matfys.lth.se>
4720 * src/complex.cc (operator<<, operator>>): Moved from here...
4721 * src/complex_io.cc: ...to new file.
4722 (operator>>): Stub replaced by the real thing.
4723 * src/Makefile.am (sources): Inserted complex_io.cc.
4724 * src/Makefile.in: Regenerate.
4725 * testsuite/26_numerics/complex_inserters_extractors.cc: Check it.
4727 2000-02-14 Benjamin Kosnik <bkoz@gnu.org>
4729 Add in ctype information for newlib "C" libraries.
4730 * config/newlib: New directory
4731 * config/newlib/bits/ctype_base.h: New file.
4732 * config/newlib/ctype.cc: New file.
4734 * ctype/config/linux/*: Rename, move to...
4735 * ctype/config/gnu-linux/*: Here.
4737 Finish off multilib work.
4738 * configure.in: Don't set CXX if not Canadian cross.
4739 * configure: Regenerate.
4740 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Tweak messages.
4741 * aclocal.m4: Regenerate.
4742 * config.h.in: Regenerate.
4744 * install-sh: Remove, as AC_CONFIG_AUX_DIR(..) picks this out of
4745 the top-level gcc directory now.
4746 * mkinstalldirs: Remove.
4749 * ltmain.sh: Remove.
4750 * config.guess: Remove.
4751 * config.sub: Remove.
4753 2000-02-13 Benjamin Kosnik <bkoz@cygnus.com>
4755 * configure.in (glibcpp_basedir): Add glibcpp_basedir.
4756 * Makefile.am: Move mutlilib stuff to src/Makefile.am.
4757 * Makefile.in: Regenerate.
4758 * src/Makefile.am: Add multilib bits.
4759 * src/Makefile.in: Regenerate.
4761 2000-02-12 Benjamin Kosnik <bkoz@cygnus.com>
4763 * configure.in: Clean, add some multilib support.
4764 * configure: Regenerate.
4765 * configure.host: New file.
4767 * acinclude.m4: GLIBCPP_CHECK_LIBIO. Take bits from configure.in and
4768 roll a new function, checks for presence of libio.
4769 GLIBCPP_CHECK_COMPILER_VERSION: Same.
4770 GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT: Same.
4771 GLIBCPP_CHECK_MATH_SUPPORT: Same.
4772 GLIBCPP_CHECK_WCHAR_T_SUPPORT: Same.
4773 GLIBCPP_CHECK_LIBIO: Same.
4774 GLIBCPP_CHECK_CTYPE: Same.
4775 * aclocal.m4: Regenerate.
4776 * config.h.in: Regenerate.
4778 * Makefile.am: Tweaks.
4779 * Makefile.in: Regenerate.
4781 2000-02-11 Benjamin Kosnik <bkoz@cygnus.com>
4783 * configure.in: Make outputing the libio/Makefile
4784 conditional. Haha, yeah right. Anyway, we instead do this thing
4785 where if libio is found, then we build a null library, as there is
4786 no point in duplicating the found libio.
4787 * Makefile.am: Tweak.
4788 * Makefile: Regenerate.
4789 * libio/Makefile.am: Add _G_config.h stuff. Now cross compilers
4790 are happy happy happy.
4791 * libio/Makefile.am: Regenerate.
4792 * libio/gen-params: New file.
4793 * src/Makefile.am: Make libio.la non-conditional, as it is now a
4794 null library if it's not needed. At least we are being consistent,
4795 if not as elegant as we could be.
4796 * src/Makefile: Regenerate.
4798 2000-02-10 Benjamin Kosnik <bkoz@gnu.org>
4800 * Makefile.am (SUBDIRS): Add libio again.
4801 * Makefile.in: Regenerate.
4802 * configure.in (BUILD_LIBIO_INCLUDE): And here.
4803 (AC_OUTPUT): Generate libio/Makefile again.
4804 * configure: Regnerate.
4805 * src/Makefile.am (libstdc___la_LIBADD): Change path so that
4806 libio.la is referring back to the libio subdir again.
4807 (LIBIO_INCLUDES): And here.
4808 * src/Makefile.in: Regenerate.
4810 2000-02-09 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4812 * math/complex-stub.h: Missed one. Change __mycabs* to cabs*.
4814 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4816 * bits/valarray_array.h (<bits/std_new.h>): #include.
4817 (__valarray_get_memory): New function.
4818 (__valarray_release_memory): Likewise.
4819 (__valarray_default_construct): New functions.
4820 (__valarray_fill_construct): New function.
4821 (__valarray_copy_construct): New funstions.
4822 (__valarray_destroy_elements): New function.
4824 * bits/valarray_array.tcc (__valarray_copy_construct): New
4827 * bits/std_valarray.h (valarray<>::valarray): Use
4828 __valarray_get_memory and __valarray_fill_construct,
4829 __valarray_copy_construct, __valarray_default_construct to
4830 properly construct valarrays.
4831 (valarray<>::~valarray): Use __valarray_destroy_elements to
4832 destroy elements and __valarray_release_memory to return memory.
4833 (valarray<>::shift): Tweak.
4834 (valarray<>::cshift): Likewise.
4835 (valarray<>::resize): Robustify.
4837 2000-02-09 Benjamin Kosnik <bkoz@cygnus.com>
4839 * mknumeric_limits (XCOMPILE): Add support for cross compiling.
4840 * bits/limits_generic.h: New file, defaults.
4841 * src/limits_generic.cc: New file, defaults.
4842 * configure.in (LIBS): Run mknumeric_limits at configure time.
4843 * acconfig.h: Remove PACKAGE VERSION HAVE_COMPLEX
4844 HAVE_LC_MESSAGES, tidy, clean, etc.
4845 * src/Makefile.am (geberated_sources): Remove.
4847 * bits/fpos.h: Use _GLIBCPP_USE_LIBIO guards for libio typenames
4848 (_IO_off_t, _IO_ssize_t)
4850 * src/complex.cc: Use glibc's <complex.h> if
4851 possible. . . apparently this was not being done before. Include
4853 (abs): Enable cabs if it's around, instead of mycabs.
4854 * src/complexf.cc (FCT): Add global scope to match complex.cc.
4855 * src/complexl.cc (FCT): Same.
4856 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Change mycabsl to cabsl.
4857 (libmath_la_SOURCES): And here.
4858 * math/(mycabs.c, mycabsf.c, mycabsl.c): Move to. . .
4859 * math/(cabs.c, cabsf.c, cabsl.c): . . . Here.
4860 * math/complex-stub.h: Move c_log declarations into. . .
4861 * math/mathconf.h: Here. This is because glibc's <complex.h>
4862 declares cclog, not c_log. The case of the dueling standards. . .
4863 * math/mathconf.h: Add _GLIBCPP_HAVE_* to macros.
4864 * math/Makefile.am: Change.
4865 * math/nan.c (nan): Change signature.
4866 * math/mathconf.h (NAN): Same.
4867 * math/complex-stub.h (nan): And here.
4869 * Makefile.am (rebuild-stamp): Remove libio and libio
4870 dependancies. Plan to take out libio subdir and just merge with
4871 libio in top level gcc directory. Of course, this assumes there is
4872 a libio in the top level directory (ie ../src_dir). This will
4873 probably change the way this library is configured by default.
4876 2000-02-09 Chip Salzenberg <chip@valinux.com>
4878 * localefwd.h (locale): Make public: facet, id, category.
4880 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4882 * testsuite/26_numerics/buggy_complex.cc: Fix Origin:.
4884 * acinclude.m4: Patch only once!
4886 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4888 * testsuite/26_numerics/buggy_complex.cc: New file.
4890 2000-02-05 Petter Urkedal <petter@matfys.lth.se>
4892 * acinclude.m4: New GLIBCPP_CHECK_COMPLEX_SUPPORT macro. Based
4893 on the 1999-11-21 entries by Mumit Khan.
4894 * configure.in: Use.
4895 * acconfig.h: New _GLIBCPP_BUGGY_COMPLEX macro.
4896 * bits/std_complex.h: Use.
4898 2000-02-04 Philip Martin <pm@corris.dircon.co.uk>
4900 * stl/bits/stl_algobase.h: Add traits based dispatch for
4901 __normal_iterator in the copy_backward()algorithm
4902 * stl/bits/stl_vector.h: Reduce use of __normal_iterator
4905 2000-02-04 Mumit Khan <khan@xraylith.wisc.edu>
4907 * src/gen-num-limits.cc (signal_handler): Work around signal
4908 handling problem on Cygwin.
4909 Thanks to Chris Faylor <cgf@cygnus.com>.
4911 2000-02-03 Benjamin Kosnik <bkoz@cygnus.com>
4913 * configure.in: Add (preliminary) support for cross compiles and
4915 Remove AC_C_BIGENDIAN tests. Why is this necessary? Cross
4916 compilation freaks on this.
4917 * configure: Regenerate.
4918 * src/Makefile.am: Add support for cross compiles.
4919 * src/Makefile: Regenerate.
4920 * Makefile.am: Add support for cross compiles.
4921 * Makefile.in: Regenerate.
4923 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
4925 * configure.in (LIBS): Remove unused subdirs.
4926 * configure: Regenerate.
4927 * Makefile.am (SUBDIRS): And here.
4928 * Makefile.in: Regenerate.
4929 * src/Makefile.am (sources): And here.
4930 * src/Makefile.in: Regenerate.
4933 * generic/*: Remove.
4935 * mkcheck.in (INC_PATH): Include $BUILD_DIR before any source dirs.
4937 * libtool: Update to libtool-1.3.4.
4941 * config.guess: Same.
4943 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
4944 Alexandre Petit-Bianco <apbianco@cygnus.com>
4946 * mkc++config: New file. Put autoconf macros into _GLIBCPP_
4947 namespace instead of polluting global namespace with duplicate
4949 * configure.in (AC_OUTPUT): Don't need to generate bits/config.h
4951 (AC_OUTPUT_COMMANDS): Make it here.
4952 * configure: Regenerate.
4953 * bits/c++config.h.in (_CPP_CPPCONFIG): Change. Tweak. Remove
4954 endif, as now we will add it manually.
4955 Move to this file. . .
4956 * bits/c++config.h: New file. Same as old c++config.h.in except
4957 the ending macro guard is now appended manually.
4959 * bits/locale_facets.tcc: Change HAVE_* macros to _GLIBCPP_HAVE_*.
4960 * bits/std_cmath.h: Same here.
4961 * bits/std_cwchar.h: And here.
4962 * src/locale.cc: And here.
4963 * src/complexl.cc: And here.
4964 * math/mathconf.h: Change to include "config.h" instead of
4967 2000-02-01 Benjamin Kosnik <bkoz@gnu.org>
4969 * configure.in: Add support for threads. Try a model closer to
4970 libjava, as hopefully if the thread bits are added carefully
4971 enough, the source code will not have gross hacks. Besides, the
4972 libstdc++-v2 model could be easily emulated without the necessity
4973 of linking files in (as currently done)--all that needs to be done
4974 is AC_DEFINE(-D_PTHREADS) etc. However, let's try something
4975 new. . . and see if we arrive at a more elegant solution.
4976 * configure: Regenerated.
4977 * config/threads-no.h: New file.
4978 * config/threads-posix.h: New file.
4979 * src/Makefile.am (myinstallheaders): Install c++threads.h.
4980 * src/Makefile.in: Regenerated.
4982 2000-01-31 Benjamin Kosnik <bkoz@gnu.org>
4984 META-QUESTION: Can we just make a "header.html" file and a
4985 "footer.html" and just include them in all the doc sub-pages. The
4986 duplication of the header info is kind of gross, and weak
4987 considering that if you change order or layout then all this stuff
4988 has to be changed in all the sub-files.
4990 * docs/17_intro/contribute.html: Take out duplicate file info.
4991 * README: Should just contain a link to the docs/index.html
4992 page. Duplicate information removed.
4993 * docs/faq/index.html: Remove indexes into HOWTOS.
4994 * docs/17_intro/howto.html: Make intro and docs part more
4995 centralized. Move intro stuff to documentation.html.
4996 * docs/how.html: Tweak. Does this file need to exist? What calls it?
4997 * docs/README.html: Move documentation files to
4998 documentation.html. Should this file be renamed
4999 "config_and_install.html" as that is what is apparently covered
5001 * docs/install.html: Yes. New file, moved and renamed README.html.
5002 * docs/documentation.html: New file. This is the index file for
5004 * docs/index.html: Edit sidebar order. Insert new link to new
5005 documentation spine, documentation.html.
5007 2000-01-31 Scott Snyder <snyder@fnal.gov>
5009 * bits/istream.tcc (operator>>(istream&, string&)): Set failbit if
5010 we don't extract any characters.
5011 * testsuite/21_strings/inserters_extractors.cc (main): New tests.
5013 2000-01-31 Anders Widell <awl@hem.passagen.se>
5015 * stl/bits/std_bitset.h (_M_do_left_shift): Handle case when shift
5016 step is a multiple of the word size.
5017 (_M_do_right_shift): Same.
5018 * testsuite/23_containers/bitset_shift.cc: New file.
5020 2000-01-31 Nathan Myers <ncm@zembu.com>
5022 * README (Documentation): Add path info, fix typos.
5024 2000-01-26 Benjamin Kosnik <bkoz@redhat.com>
5026 * bits/locale_facets.tcc (num_get::_M_extract): Add the freaking
5027 crazy group checking for numpunct, for real this time. At some
5028 point, the local variable __grp should probably get replaced a
5029 char array, or something a bit more lightweight.
5030 (num_get::do_get(bool)): Simplify. Don't set bool reference to
5031 parsed value unless err isn't failbit.
5032 (num_get::do_get(*)): Same, make consistent.
5034 Nathan Myers <ncm@zembu.com>
5035 Jim Parsons <parsons@clearway.com>
5036 * testsuite/27_io/istream_extractor_arith.cc (test08): Add
5037 more grouping tests, tweak, scold, wine.
5039 2000-01-24 Benjamin Kosnik <bkoz@gnu.org>
5041 * testsuite/27_io/istream_extractor_arith.cc (test07): Add
5043 * bits/locale_facets.tcc (num_get::_M_extract): Change to fix
5044 grouping bugs. Only allow thousands_sep if _M_use_groupings is
5047 via <llewelly@198.dsl.xmission.com>
5048 * stl/bits/stl_vector.h (vector::_M_range_check): Throw
5049 out_of_range instead of range_error.
5051 2000-01-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5053 * bits/std_iomanip.h (setw): Fix typo.
5055 2000-01-14 Benjamin Kosnik <bkoz@gnu.org>
5057 * testsuite/27_io/istream_extractor_arith.cc: Fix.
5058 * bits/locale_facets.tcc (do_get(...void)): Change to strtoul.
5059 * testsuite/27_io/istream_unformatted.cc (test04): Tweak.
5061 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
5063 * docs/README.html: Reformat, more installation instructions.
5064 * docs/gccrebuild.html: New file.
5065 * docs/faq/index.html: Update for new testsuite output filenames.
5066 * docs/faq/index.txt: Regenerate.
5068 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
5070 * Makefile.am (rebuild-stamp, all-local): New targets.
5071 * Makefile.in: Regenerated.
5072 * acinclude.m4: New macro, GLIBCPP_ENABLE_RELIBGCC.
5073 * aclocal.m4: Regenerated.
5074 * configure.in: Call new macro. Also do some sanity checks
5075 for combinations of --enable's that may not make sense.
5076 * configure: Regenerated.
5078 2000-01-13 Benjamin Kosnik <bkoz@cygnus.com>
5080 * testsuite/27_io/istream_extractor_arith.cc: Add checks for void*.
5081 * bits/locale_facets.tcc (do_get::(...void)): Set fmtflags
5082 correctly for hex-formatted input.
5084 * testsuite/27_io/istream_manip.cc (test01): Fix, as per setting
5085 eofbit instead of eofbit | failbit.
5086 * testsuite/27_io/istream_unformatted.cc (test04): Fix, as
5087 ifstreams now are opened or'd with ios_base::in (as is correct).
5088 * bits/fstream.tcc (filebuf::seekoff): Simplify.
5089 * testsuite/27_io/ios_base_members_static.cc (test01): Fix thinko.
5091 2000-01-12 Benjamin Kosnik <bkoz@gnu.org>
5093 * bits/std_fstream.h: Add ios_base as a friend to basic_filebuf.
5094 * bits/basic_file.h (basic_file::filepos_cur): Remove incorrect
5096 (__basic_file::filepos_valid): Same.
5097 (__basic_file::filepos_beg): Same.
5098 (__baseic_file::get_fileno): New function.
5099 * bits/ios_base.h (ios_base::sync_with_stdio): Implement, including
5100 feedback from LWG 49.
5101 * src/ios.cc: Move definition here.
5102 * testsuite/27_io/ios_base_members_static.cc (test01): Add tests.
5104 * bits/std_sstream.h (_M_really_sync): Simplify argument list. Set
5105 output part of internal buffer based on string size, so that
5106 _M_out_end is set consistently with filebufs. Correct comments.
5107 * bits/sstream.tcc (stringbuf::overflow): Update here too.
5108 * testsuite/27_io/stringbuf.cc: Changes.
5110 2000-01-11 Benjamin Kosnik <bkoz@gnu.org>
5112 * bits/sstream.tcc (seekoff): Set based on end of written buffer,
5114 * testsuite/27_io/stringbuf.cc: Add tests for seekoff(end).
5116 * bits/std_fstream.h (ifstream::open): Add ios_base::in to openmode.
5117 (ofstream::open): Add ios_base::out to openmode.
5119 * bits/locale_facets.tcc (_M_extract): Have consistency between
5120 istream::sentry and extractors, where failbit | eofbit is
5121 set. Don't change this, but instead change. . (do some formatting
5123 * bits/istream.tcc (istream::sentry): Only set eofbit.
5125 2000-01-10 Benjamin Kosnik <bkoz@gnu.org>
5127 * testsuite/27_io/istringstream_members.cc: New file.
5129 2000-01-09 Benjamin Kosnik <bkoz@gnu.org>
5131 * bits/istream.tcc (istream::sentry): Flush.
5133 * configure.in (AC_OUTPUT_COMMANDS): Simplify.
5134 * configure: Regenerate.
5135 * src/Makefile.am (generated_headers): Remove bits/c++config.h so
5136 that make clean will not delete it.
5137 * src/Makefile: Regenerate.
5139 2000-01-07 Phil Edwards <pme@sourceware.cygnus.com>
5141 * mkcheck.in: Use host-specific invocation of size(1);
5142 GNU binutils isn't necessarily there (more's the pity).
5144 2000-01-06 Benjamin Kosnik <bkoz@cygnus.com>
5146 * configure.in (LIBS): Better tests for solaris2.6.
5147 * configure: Regenerate.
5149 <vakatov@ncbi.nlm.nih.gov>
5150 * bits/std_sstream.h: As per libstdc++20.
5152 2000-01-06 Benjamin Kosnik <bkoz@gnu.org>
5154 Break out configuration on solaris.
5155 * configure.in (ctype_solaris): Add in bits for solaris2.6 and 2.7.
5156 * config/solaris/ctype.cc: Delete and move to proper version.
5157 * config/solaris/bits: Same.
5158 * config/solaris/solaris2.5: Add this directory, with subdir bits
5159 and file ctype.cc. Probably doesn't work.
5160 * config/solaris/solaris2.6: Same.
5161 * config/solaris/solaris2.7: Same, as per specs via Phil Edwards.
5163 * Makefile.am: Change paths to mkcheck.
5164 * Makefile: Regenerate.
5165 * configure.in (AC_OUTPUT_COMMANDS): Build mkcheck here.
5166 * configure: Regenerate.
5167 * src/Makefile.am (generated_headers): Add bits/c++config.h.
5169 * mkcheck: Now autogenerated by configure and renamed. . .
5170 * mkcheck.in (INC_PATH): Add glue for ctype_include_dir.
5171 Have longer-style dates.
5172 Raja R Harinath <harinath@cs.umn.edu>
5173 * mkcheck: Change path to #!/usr/clocal/bin/bash.
5175 * docs/README.html: Correct links, maybe. FAQ, install notes, and
5176 general documentation need to be organized around each other, not
5177 fight against each other. . .
5179 2000-01-04 Phil Edwards <pme@sourceware.cygnus.com>
5180 Nicolai Josuttis <nicolai.josuttis@braunschweig.netsurf.de>
5182 * README: Add a note referring to README.html.
5183 * docs/README.html: New file from Nicolai.
5184 * docs/faq/index.html: Move "how to get a copy" to here.
5185 * docs/gentop/footchunk.html: Update.
5186 * docs/gentop/headchunk.html: New links according to
5187 bkoz's idea for "How to..." stuff.
5188 * docs/gentop/thanks: Actually put people here.
5189 * docs/download.html: Regenerated.
5190 * docs/index.html, docs/links.html, docs/mail.html,
5191 docs/status.html, docs/thanks.html, docs/faq/index.txt: Ditto.
5192 * docs/how.html: Ditto. (This file should go away soon.)
5194 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
5196 * docs/gentop/status: Add snapshot version column, update
5198 * docs/status.html: Regenerated.
5200 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
5202 * docs/faq/index.html: Turn README and RELEASE-NOTES into links
5203 from installation FAQ, and specify location of text files.
5204 * docs/faq/index.txt: Regenerated.
5206 1999-12-23 Phil Edwards <pme@sourceware.cygnus.com>
5208 * docs/gentop/download: Add links to prebuilds for Cygwin/Mingw32.
5209 * docs/download.html: Regenerated.
5211 1999-12-22 Phil Edwards <pme@sourceware.cygnus.com>
5213 * docs/faq/index.html: Update 'what works' for .7 snapshot,
5214 clean up various links.
5215 * docs/faq/index.txt: Regenerated.
5216 * docs/gentop/gentop: Smarter regeneration script.
5217 * docs/gentop/{head,foot}chunk.html: Updated with new
5218 contributors link and mod date.
5219 * docs/gentop/index: Snapshot relase date.
5220 * docs/gentop/thanks: New contributors page added.
5221 * docs/{download,how,index,links,mail,status,thanks}.html:
5222 Regenerated from gentop; thanks.html created.
5224 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5226 * bits/c++config.h.in (__GLIBCPP__): 19991221.
5227 * docs/index.html: Add correct information.
5229 * config/irix: New directory.
5230 * config/irix/ctype.cc: Add irix-6.5 info. Not tested.
5231 * config/irix/bits/ctype_base.h: And here.
5233 * config/aix: New directory.
5234 * config/aix/ctype.cc: Add aix-4.2 info. Not tested.
5235 * config/aix/bits/ctype_base.h: And here.
5237 1999-12-21 Philip Martin <pm@corris.dircon.co.uk>
5239 * bits/basic_string.h: Add special case handling for integral
5241 * bits/std_string.h: include type_traits.h
5242 * testsuite/21_strings/ctor_copy_dtor.cc: Tweak.
5244 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5246 * bits/fstream.tcc (seekoff): Output buffer based on _M_*_in and
5248 * bits/std_fstream.h (sync): And here.
5249 * testsuite/27_io/filebuf.cc: Revisions.
5250 * testsuite/27_io/filebuf-2.tst: Correct, remove weird character
5251 at the end of the file.
5252 * testsuite/27_io/filebuf-3.tst: Correct.
5254 1999-12-21 Phil Edwards <pedwards@jaj.com>
5256 * docs/gentop/index: Hold off on .7 announcement date.
5257 * docs/index.html: Regenerate.
5259 1999-12-21 Benjamin Kosnik <bkoz@kcygnus.com>
5261 * bits/std_fstream.h (sync): Move _M_file->sync() to
5262 _M_really_overflow().
5263 * bits/fstream.tcc (seekoff): Call sync, not _M_really_overflow so
5264 as to get the _M_file->sync action, which forces the external
5265 buffer to update itself.
5266 (underflow): Same here.
5268 1999-12-21 Phil Edwards <pedwards@jaj.com>
5270 * bits/c++config.h.in: Uncomment _GLIBCPP_USE_NAMESPACES and move...
5271 * acconfig.h: ...to here.
5272 * config.h.in: Regenerate from aclocal.
5273 * acinclude.m4: Add GLIBCPP_ENABLE_DEBUG, GLIBCPP_ENABLE_NAMESPACES.
5274 * aclocal.m4: Regenerate from acinclude.
5275 * configure.in: Use ENABLE macros here.
5276 * configure: Regenerate.
5277 * src/Makefile.am: Use results from ENABLE macros.
5278 * src/Makefile.in: Regenerate.
5280 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
5282 * mkcheck (SRC_DIR): Now have to include config/* dir if "make
5283 check" and not "make check-install." Temporarily hack in linux
5286 * bits/std_streambuf.h: Tweaks.
5287 * bits/streambuf.tcc (xsgetn): Tweaks.
5288 * bits/std_fstream.h (sync): Make _M_really_overflow consistent.
5289 * bits/fstream.tcc (filebuf::underflow): Simplify.
5290 * bits/std_sstream.h (streambuf::underflow): Minor change to make
5291 checks for read position precisely implement the standard.
5292 * bits/basic_file.h (filepos_cur): Base this on _offset.
5293 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
5294 * testsuite/27_io/filebuf.cc: Tweak.
5296 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
5298 * docs/17_intro/RELEASE-NOTES: Fix typos.
5300 * bits/locale_facets.h (ctype): Modify, use __to_type to abstract
5301 out platform-specific bits.
5302 * config/default/ctype.cc: And here.
5303 * config/defaults/bits/ctype_base.h: And here.
5304 * config/linux/ctype.cc: And here.
5305 * config/linux/bits/ctype_base.h (ctype_base): And here.
5306 * config/solaris/bits/ctype_base.h (ctype_base): Add
5307 __to_type. Comment, as it looks like this is for solaris2.6 and
5308 above: solaris2.5.1 doesn't seem to have the same definitions.
5309 * config/solaris/ctype.cc: And here.
5311 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
5312 Ulrich Drepper <drepper@cygnus.com>
5314 * acconfig.h: Remove _GLIBCPP_USE_CTYPE_ISBIT.
5316 * src/locale.cc: Take out platform-specific hacks.
5317 * config/linux/ctype.cc: Put here.
5318 * config/solaris/ctype.cc: Put here.
5319 * config/default/ctype.cc: Put here.
5321 * bits/locale_facets.h: Take out platform-specific hacks.
5322 * config/linux/bits/ctype_base.h: Put here.
5323 * config/solaris/bits/ctype_base.h: Put here.
5324 * config/default/bits/ctype_base.h: Put here.
5326 * configure.in: Bump version.
5327 Add tests for top-level config directory.
5328 * configure: Regenerated.
5329 * src/Makefile.am (INCLUDES): Add platform-specific dir.
5330 * src/Makefile: Regenerate.
5332 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
5333 Ulrich Drepper <drepper@cygnus.com>
5335 * bits/locale_facets.h: Hack in solaris support.
5336 * src/locale.cc: Here too.
5338 1999-12-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5340 * docs/17_intro/TODO: Update
5341 * docs/17_intro/RELEASE-NOTES (New): Update.
5343 1999-12-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
5345 * bits/c++config.h.in (__GLIBCPP__): Bump.
5346 * docs/17_intro/RELEASE-NOTES: Update, Gaby please add your stuff.
5347 * docs/17_intro/TODO: Update.
5349 * bits/locale_facets.h: Touch this too.
5350 * bits/localefwd.h: Add typedefs for loooooong vector names.
5351 * bits/locale_facets.tcc (locale::operator()): Need parens.
5352 (has_facet): Simplify.
5353 * src/locale-inst.cc: Add instantiations.
5354 * src/locale.cc: Tweaks.
5356 * bits/std_streambuf.h: Move indeterminates into. .
5357 * bits/std_fstream.h: Here.
5358 * bits/fstream.tcc (underflow): Rewind just for ios_base::out
5360 * bits/sstream.tcc: Very minor formatting tweaks.
5361 * bits/std_streambuf.h (_M_set_determinate): If exclusively an
5362 input buffer, set _M_buf to offset.
5363 * bits/istream.tcc (std): Tweaks.
5364 * testsuite/27_io/istream_unformatted.cc (test05): More tweaks,
5366 * testsuite/27_io/filebuf.cc: Tweaks.
5368 1999-12-17 Phil Edwards <pedwards@jaj.com>
5370 * configure.in: Add OPTLEVEL, -O2 for gcc 2.96+, nothing otherwise.
5371 * configure: Regenerate.
5372 * src/Makefile.am: Use OPTLEVEL in CXXFLAGS.
5373 * src/Makefile.in: Regenerate. Also picks up OTHER_CXXFLAGS rename
5374 to OPTIMIZE_CXXFLAGS from a previous revision (1.96) to Makefile.am.
5376 1999-12-17 Phil Edwards <pedwards@jaj.com>
5378 * docs/21_strings/stringtok_std_h.txt: New algorithm
5379 suggested by Chris King.
5380 * docs/21_strings/howto.html: Link to new version.
5382 1999-12-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5384 * bits/valarray_array.h (__valarray_sum): Use operator+=, not
5386 * docs/17_intro/TODO: Update.
5388 1999-12-15 Phil Edwards <pme@sourceware.cygnus.com>
5390 * docs/gentop/footchunk.html: Updated, fixed CRLFs.
5391 * docs/gentop/gentop: Ditto.
5392 * docs/gentop/headchunk.html: Ditto.
5393 * docs/*.html: Regenerated from gentop.
5394 * docs/*/howto.html: Updated as test.
5395 * docs/faq/index.html: Updated, fixed CRLFs.
5396 * docs/faq/index.txt: Regenerated.
5398 1999-12-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5400 * mknumeric_limits (OUT_C): restart only if $OUT_C is present.
5402 * bits/std_complex.h
5403 (complex<float>::complex(const complex<double>&),
5404 complex<float>::complex(const complex<long double>&)): Define.
5406 * docs/17_intro/TODO: Update.
5408 1999-12-13 Benjamin Kosnik <bkoz@cygnus.com>
5410 * bits/istream.tcc (seekg): Don't set _M_gcount.
5412 * bits/fstream.tcc (filebuf::underflow): Re-sync
5413 external byte sequence's input buffer only. . .
5414 * testsuite/27_io/istream_unformatted.cc (test04): New tests for
5415 tellg, seekg and filebufs.
5416 (test05): Same for stringbufs.
5417 * testsuite/27_io/istream_unformatted-2.tst: New file.
5418 * testsuite/27_io/istream_unformatted-1.tst: New file.
5419 * testsuite/27_io/istream_unformatted-1.txt: New file.
5420 * testsuite/21_strings/inserters_extractors.cc (test05): Change
5423 1999-12-13 Phil Edwards <pedwards@jaj.com>
5425 * docs/gentop/*: New directory, containing bits for the homepages.
5426 * docs/*.html: Regenerated from gentop.
5427 * docs/*/*.html: Entries added and regenerated.
5429 1999-12-13 Benjamin Kosnik <bkoz@gnu.org>
5431 Efforts to get -O2 to work with -Winline -Werrors.
5432 * bits/valarray_array.h (__valarray_fill(_Tp*, size_t, const
5433 _Tp&): Remove inline declaration, as cannot be inlined and
5434 -Winline -Werror complains. An interesting question is why this
5435 cannot be inlined, as I can see no real reason to disqualify it.
5436 (__valarray_product(const _Tp*, const _Tp*)): Same here.
5437 * bits/std_valarray.h (valarray::operator[](size_t)): Same here.
5439 * docs/17_intro/TODO: Update.
5441 1999-12-12 Benjamin Kosnik <bkoz@gnu.org>
5443 * bits/std_fstream.h (seekpos): Tweaks, fixes. Move definition to
5445 * bits/basic_file.h (filepos_cur()): Make pointers themselves be
5446 the resultant position.
5447 * bits/fstream.tcc (seekoff): Explicitly set return value to
5448 resultant external byte sequence position, not value returned from
5449 _M_file->seekoff. Need to make
5450 (seekpos): New definition.
5452 * bits/istream.tcc (seekg): As per Library Issues List 136, set to
5453 just istream. Necessary, or else tellg will give an invalid stream
5454 position, but seekg will return a valid stream position, which is
5455 not groovy: see testcase addition.
5456 * bits/ostream.tcc (seekp): Same.
5458 * bits/streambuf.tcc (_S_copy_streambufs): Simplify.
5459 * bits/sstream.tcc: Tweaks.
5460 * bits/locale_facets.tcc: Tweaks.
5461 (num_put::do_put(iter_type, ios_base, char_type, const void*)):
5462 Re-write in a way that is easier for the inliner to work with.
5463 * bits/ios_base.h: Use explicit static_cast<int>(...) notation.
5465 1999-12-10 Benjamin Kosnik <bkoz@cygnus.com>
5467 * bits/locale_facets.tcc: Tweaks.
5468 * bits/locale_facets.h (use_facet): Can't inline, remove inline
5470 * bits/localefwd.h: And here.
5471 * bits/std_ostream.h: Tweaks, sentry ctor can't be inlined.
5472 * bits/ostream.tcc: Put here.
5474 Frank Ch. Eigler <fche@cygnus.com>
5475 * src/Makefile.am: Adjust CXXFLAGS, add AM_CXXFLAGS.
5477 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
5479 * bits/sstream.tcc (stringbuf::seekoff): Long overdue revamp. Make
5480 in and out buffers update independantly.
5482 * bits/basic_ios.h: Minor formatting.
5483 * bits/fstream.tcc (std): Fix indentation.
5485 1999-12-08 Chip Salzenberg <chip@valinux.com>
5487 * bits/char_traits.h (char_traits<>): Move not_eof() functions
5488 after corresponding eof() functions, so they're easier for the
5490 * bits/locale_facets.h (money_base::__default_pattern): Move
5491 static variable out of inline functions.
5492 (_Moneypunct<>::do_{pos,neg}_format): Use it.
5493 * src/locale-inst.cc (money_base::__default_pattern): Define it.
5495 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
5497 * bits/std_fstream.h (filebuf::open): Tweak.
5498 * bits/fstream.tcc (filebuf::seekoff): Simplify, fix.
5499 * bits/std_ios.h: Minor tweaks for headers.
5501 1999-12-06 Benjamin Kosnik <bkoz@gnu.org>
5503 * bits/c++config.h.in (_GLIBCPP_FULLY_COMPLIANT_HEADERS): New macro.
5504 * src/string-inst.cc: Add guards . . .
5505 * src/misc-inst.cc: And here.
5506 * bits/std_sstream.h: And here.
5507 * bits/std_fstream.h: And here.
5508 * bits/std_streambuf.h: And here.
5509 * bits/std_istream.h: And here.
5510 * bits/std_ostream.h: And here.
5512 1999-12-06 Scott Snyder <snyder@fnal.gov>
5514 * bits/istream.tcc (basic_istream::read): Try to handle __n == 0
5516 (basic_istream::readsome): And here as well.
5517 * testsuite/27_io/istream_unformatted.cc: Test a zero-length
5520 1999-12-06 Mumit Khan <khan@xraylith.wisc.edu>
5522 * bits/istream.tcc (basic_istream::ignore): streamsize is not
5523 necessarily an `int'.
5525 1999-12-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5527 * mknumeric_limits: Don't use $CXXFLAGS when building
5528 gen-num-limits. It's definitely wrong to use it since $CXXFLAGS
5529 generally instructs the compiler not to emit template
5530 instantiations and we end up with undefined symbols. Sigh.
5532 1999-12-05 Benjamin Kosnik <bkoz@gnu.org>
5534 * bits/locale_facets.tcc: Tweak.
5535 (_S_format_long): Adjust showpos formatting for hex and oct.
5536 * bits/std_ostream.h (operator<<(short)): Correctly deal with hex
5537 and oct by formatting as unsigned.
5538 (operator<<(int)): Same here.
5539 * bits/ostream.tcc (operator<<(long)): Same.
5540 (operator<<(long long)): Same.
5541 (_S_pad_char): Actually treat ios_base::internal as something
5542 worth doing correctly. Remove const designation on ios argument.
5543 * testsuite/27_io/ios_manip_basefield.cc (test02): Add tests.
5544 * testsuite/27_io/ostream_inserter_arith.cc (test03): Add tests.
5546 1999-12-04 Benjamin Kosnik <bkoz@gnu.org>
5548 * bits/std_sstream.h (streambuf::underflow): Check for mode == in.
5550 1999-12-03 Benjamin Kosnik <bkoz@gnu.org>
5552 * bits/locale_facets.tcc (num_put::do_put(bool): Fix.
5554 * bits/sstream.tcc (streambuf::seekoff): Add parens.
5555 * bits/istream.tcc (istream::get(sb)): Handle exceptional events.
5556 (operator>>(istream, _CharT*)): Change streamsize to int_type.
5557 (operator>>(istream, _CharT&)): Fix typedef'd type to be _CharT.
5558 * bits/ostream.tcc (ostream::operator<<(const char*)): Stub out
5560 (ostream::operator<<(_CharT)): Fix.
5562 * bits/std_sstream.h: Temporarily disable including sstream.tcc to
5563 see if this will increase compile speed.
5564 * bits/std_ostream.h: Likewise. . .
5565 * bits/std_istream.h: And here.
5566 * bits/std_fstream.h: And here.
5567 * src/misc-inst.cc: Add relevant header file includes for
5568 instantiation purposes.
5569 * src/string-inst.cc: And here.
5570 * testsuite/27_io/ostream_inserter_arith.cc: Add test case.
5572 1999-12-02 Benjamin Kosnik <bkoz@gnu.org>
5574 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5575 * bits/istream.tcc (get(streambuf)): More fixes.
5576 (istream::ignore): Get specific about numeric_limits<int>::max()
5579 * bits/fstream.tcc (filebuf::open): Tweaks for _M_last_overflowed.
5580 (filebuf::close): Same.
5581 * testsuite/27_io/filebuf.cc: Add tests for ios_base::ate.
5583 1999-12-01 Phil Edwards <pedwards@jaj.com>
5585 * mkcheck: Support for compilation/execution timing.
5586 * testsuite/printnow.c: New file.
5588 1999-12-01 Phil Edwards <pedwards@jaj.com>
5590 * bits/std_cwchar.h: Test for _GLIBCPP_USE_WCHAR_T.
5591 * configure.in: Test for presence of wchar.h before testing
5592 for any of its features.
5593 * configure: Regenerate.
5595 1999-11-30 Benjamin Kosnik <bkoz@gnu.org>
5597 Preliminary istream validations complete.
5598 * bits/istream.tcc (istream::getline): Fixes. Tweaks to make
5599 formatting more consistent. Removal of if-statements inside of for
5604 * bits/std_istream.h: Same.
5605 * bits/sstream.tcc (stringbuf::pbackfail): Fix.
5606 * testsuite/27_io/stringbuf.cc: Tweak.
5607 * testsuite/27_io/istream_unformatted.cc (test02): Mo' tests.
5609 * bits/ostream.tcc (ostream::operator<<(arith)): Set badbit, not
5610 failbit on failure, as per 27.6.2.5.2.
5612 * stl/bits/std_vector.h: Allow bool specializations. Should move
5613 ext/std_bvector to bits, not ext, maybe.
5615 1999-11-30 Mumit Khan <khan@xraylith.wisc.edu>
5617 * configure.in: Fix checks for mbstate_t and WCHAR_MIN/MAX.
5618 * configure: Regenerate.
5620 999-11-29 Benjamin Kosnik <bkoz@gnu.org>
5622 * bits/istream.tcc (get(streambuf, char)): Fix.
5623 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5625 1999-11-29 Scott Snyder <snyder@fnal.gov>
5627 * bits/basic_string.h (append(const _Char*, size_type)): The
5628 length of the appended string is given exactly by the second arg,
5629 regardless of the data in the character array.
5630 * bits/string.tcc (basic_string(const _CharT*, size_type, const
5631 _Alloc&)): Likewise.
5632 * testsuite/21_strings/append.cc (test01): Remove erroneous test
5633 of basic_string::append.
5635 1999-11-29 Chip Salzenberg <chip@valinux.com>
5637 * Makefile.in: Tweaks for CXXFLAGS.
5638 * */Makefile.in: Same.
5640 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
5642 * conficd bgure.in: Check for wide character support.
5643 * bits/c++config.h.in (_GLIBC_USE_WCHAR_T): Move from here ...
5644 * acconfig.h (_GLIBC_USE_WCHAR_T): to here.
5645 * bits/string.tcc (wstring::_S_find): Guard wchar_t specialization.
5647 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
5649 * acinclude.m4: Fix typo.
5650 * src/complex.cc: Fix macro line continuation.
5652 1999-11-29 Petter Urkedal <petter@matfys.lth.se>
5654 * src/Makefile.am (CXXFLAGS): Add -Wno-format to allow non-
5655 string literals in format, as used in locale-facets.tcc.
5657 1999-11-28 Benjamin Kosnik <bkoz@gnu.org>
5659 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5660 * bits/istream.tcc (istream::get): Extract to argument minus one.
5661 Various tweaks and fixes.
5663 1999-11-22 Mumit Khan <khan@xraylith.wisc.edu>
5665 * bits/locale_facets.tcc: Workaround for compiler crash on
5668 1999-11-21 Mumit Khan <khan@xraylith.wisc.edu>
5670 * acinclude.m4: New file. New _GLIBCPP_CHECK_FLOAT_SUPPORT macro.
5671 * configure.in: Use.
5672 * acconfig.h: New _GLIBCPP_BUGGY_FLOAT_COMPLEX macro.
5673 * src/complexf.cc: New _GLIBCPP_FLOAT_SPECIALIZATION macro.
5674 * bits/std_complex.h: Use.
5675 * src/complex.cc: Use.
5677 1999-11-19 Mumit Khan <khan@xraylith.wisc.edu>
5679 * testsuite/18_support/numeric_limits.cc: Add missing std:: prefix.
5680 * testsuite/21_strings/inserters_extractors.cc: Likewise.
5681 * testsuite/22_locale/ctype.cc: Likewise.
5682 * testsuite/23_containers/multiset.cc: Likewise.
5683 * testsuite/23_containers/vector_ctor.cc: Likewise.
5684 * testsuite/26_numerics/binary_closure.cc: Likewise.
5685 * testsuite/27_io/fpos.cc: Likewise.
5686 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
5687 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
5688 * testsuite/27_io/istream_extractor_char.cc: Likewise.
5689 * testsuite/27_io/istream_extractor_other.cc: Likewise.
5690 * testsuite/27_io/istream_sentry.cc: Likewise.
5691 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
5692 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
5693 * testsuite/27_io/streambuf.cc: Likewise.
5694 * testsuite/27_io/stringstream.cc: Likewise.
5696 1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5698 * bits/valarray_meta.h: Don't forget to define tanh
5700 1999-11-18 Philip Martin <pm@corris.dircon.co.uk>
5702 * src/stl-inst.cc: Use typedef to refer to iterator
5703 * stl/bits/stl_algobase.h: Add traits based dispatch for
5704 __normal_iterator in the copy()algorithm
5705 * stl/bits/type_traits.h: Add _Is_normal_iterator trait support
5707 1999-11-18 Kevin Ediger <kediger@licor.com>
5709 * src/locale.cc (locale::_Imp::_Imp): Use auto_ptr to make
5710 constructors for locale::_Impl exception safe.
5712 1999-11-18 Scott Snyder <snyder@fnal.gov>
5714 * stl/bits/stl_queue.h: The C++ standard gives the default for the
5715 _Sequence template argument of priority_queue<> as vector<>, not
5718 1999-11-18 Benjamin Kosnik <bkoz@gnu.org>
5720 * bits/std_sstream.h (stringbuf::_M_really_sync): Add __iend as a
5722 * bits/sstream.tcc: Adjust here too.
5724 1999-11-17 Benjamin Kosnik <bkoz@gnu.org>
5726 * bits/sbuf_iter.h (istreambuf_iter::equal): Tweak.
5727 * bits/istream.tcc (operator>>): Replace iostate(0) with
5728 iostate(ios_base::goodbit), which is the same thing, but hopefully
5730 * bits/locale_facets.tcc (do_get(bool)): Streamline, deal with
5731 libraries issue list 17.
5732 (do_gets): Don't set goodbit explicitly, instead only set on
5733 failures as good bit is the default setting.
5734 * bits/ios_base.h (setf): Set correctly.
5735 * bits/fstream.tcc: Tweak.
5736 * bits/std_sstream.h (_M_really_sync): Fix ibuffer positioning for
5737 in|out bufs that are empty. . .
5738 * testsuite/27_io/istream_extractor_arith.cc (test03): Add.
5740 1999-11-16 Benjamin Kosnik <bkoz@gnu.org>
5742 * testsuite/27_io/streambuf.cc (class testbuf): Don't set _M_buf_size.
5743 * bits/std_streambuf.h (setp): Set _M_buf_size, _M_mode.
5744 Add comments "all about _M_buf."
5745 (setg): Set _M_mode.
5747 1999-11-16 Kevin Ediger <kediger@licor.com>
5749 * bits/locale_facets.tcc (_S_build_float_format): New function.
5750 (_S_output_float): New function.
5751 (num_put::do_put(double)): Use 'em.
5752 (num_put::do_put(long double)): Use 'em.
5753 * testsuite/27_io/ostream_inserter_arith.cc: New file.
5755 1999-11-15 Scott Snyder <snyder@fnal.gov>
5757 * bits/basic_file.h: Type of __off parm should be __c_streampos, to
5758 match how libio is calling us.
5759 * src/basic_file.cc (sys_seek): Likewise.
5760 * bits/std_fstream.h (basic_filebuf::sync): Restore sync call.
5762 1999-11-15 Benjamin Kosnik <bkoz@gnu.org>
5764 * docs/17_intro/contribute.html: Add link to assignment form.
5765 * docs/17_intro/libstdc++-assign.txt: New file.
5767 * mkcheck (TESTS_FILE): Move a copy of test files as well as
5770 * bits/std_streambuf.h (_M_buf_bump): New function.
5771 * bits/streambuf.tcc: Mods to support _M_buf_bump.
5772 (xsputn): Here. Also add checks for output valid.
5773 (xsgetn): Add checks for input valid.
5775 (sgetc): Set _M_in_end to _M_buf + _M_buf_end.
5776 * bits/std_sstream.h (_M_really_sync): Set _M_buf.
5777 Set _M_out_end to variable-length-end.
5778 * bits/sstream.tcc (overflow): Use _M_buf_bump.
5781 * bits/fstream.tcc (std): Tweak formatting.
5782 (filebuf::overflow): Simplify.
5783 (filebuf::showmanyc): Same.
5784 (filebuf::underflow): Same.
5785 * testsuite/27_io/filebuf.cc: Fix.
5786 * testsuite/27_io/ostream_inserter_other.cc: Fix.
5787 * testsuite/27_io/ostream_inserter_other-2.tst: New file.
5788 * testsuite/27_io/stringbuf.cc: Tweak.
5789 * testsuite/27_io/streambuf.cc: Tweak.
5790 * testsuite/27_io/istream_extractor_other.cc: Fix.
5792 1999-11-11 Matthias Klose <doko@cs.tu-berlin.de>
5794 * stl_deque.h: Use static_casts<size_type>(signed_type).
5796 1999-11-11 Benjamin Kosnik <bkoz@gnu.org>
5798 Cleanups for callbacks, more regression hunting. Remaining
5799 failures (1) due to last unresolved stringstream issues, not
5801 * bits/std_fstream.h: Revert. Disable call to _M_file->sync as
5802 killing 27_io/filebuf.cc tests. . . need another solution.
5804 * bits/streambuf.tcc (_S_copy_streambufs): Fix.
5805 * testsuite/27_io/istream_extractor_other.cc: Tweak comments.
5807 * bits/basic_ios.h: Add cached facets here. UGH. The standard
5808 foils all attempts at a graceful, minimal implementation.
5809 * bits/basic_ios.tcc: Tweaks.
5810 * bits/istream.tcc: Fix.
5811 * bits/ostream.tcc: Fix.
5812 * bits/std_istream.h: Fix.
5813 * bits/std_ostream.h: Fix.
5814 * src/ios.cc (ios_base::imbue): Set _M_locale_ios before calling
5816 * bits/locale_facets.tcc (std): Minor, minor formatting tweak.
5817 (_S_pad_numeric): Make comprehensible.
5819 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
5821 * bits/std_ostream.h: Add callbacks for _M_fnumput.
5822 (_S_ostream_fcache): New function.
5823 Move functions out-of-line.
5824 * bits/ostream.tcc: Put here.
5826 * bits/std_istream.h: Add callbacks for _M_fnumget.
5827 (_S_istream_fcache): New function.
5828 Move functions out-of-line.
5829 * bits/istream.tcc: Put here.
5831 * bits/basic_ios.tcc (basic_ios::imbue): Tweaks, remove call to
5832 _M_call_callbacks(), as ios_base::imbue does this already.
5833 * src/ios.cc (register_callback): Clean.
5834 (_M_call_callbacks): Same.
5835 * bits/ios_base.h: Callback work.
5836 * testsuite/27_io/ios_base_callbacks.cc (test01): New file.
5838 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
5839 Matthias Klose <doko@cs.tu-berlin.de>
5841 * stl/ext/stl_rope.h: Fix initialization order.
5843 1999-11-09 Scott Snyder <snyder@fnal.gov>
5845 * bits/std_fstream.h (basic_filebuf::sync): Unconditionally call
5846 _M_file->sync() so that redirection works correctly.
5848 1999-11-09 Benjamin Kosnik <bkoz@gnu.org>
5850 * bits/istream.tcc: Re-order.
5851 * bits/std_istream.h: Fix getline problems.
5852 * testsuite/27_io/istream_unformatted.cc: New tests.
5854 Clean up regressions.
5855 * bits/std_sstream.h: Set initial stringbufs correctly.
5857 1999-11-09 Scott Snyder <snyder@fnal.gov>
5859 * stl_vector.h (_M_range_insert): Fix mixing pointers and
5861 * testsuite/23_containers/vector_modifiers.cc (test01): New file,
5864 1999-11-09 Benjamin Kosnik <bkoz@cygnus.com>
5866 * src/Makefile.am (CXXFLAGS): Add -Winline.
5867 * src/Makefile.in: Regenerate.
5869 1999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5871 * bits/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When
5872 building meta-expressions don't forget to take the contained
5875 1999-11-02 Benjamin Kosnik <benjamin@cygnus.com>
5877 * configure: Regenerate.
5879 1999-11-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5881 * bits/valarray_meta.h (_Expr<>::sum): Tweak. Use copy-initialization
5883 * bits/valarray_meta.h (min): Likewise.
5884 * bits/valarray_meta.h (max): Likewise.
5886 1999-11-01 Benjamin Kosnik <bkoz@cygnus.com>
5888 * bits/std_sstream.h (_M_really_sync): Take into account in | out bufs.
5889 * bits/std_streambuf.h (_S_copy_streambufs): New function.
5890 * bits/streambuf.tcc: Define.
5891 * bits/istream.tcc (istream::operator>>(streambuf)): Rewrite.
5892 * bits/ostream.tcc (ostream::operator<<(streambuf)): Rewrite.
5893 * testsuite/27_io/ostream_inserter_other.cc: Add tests.
5894 * testsuite/27_io/ostream_inserter_other-1.tst: New file.
5896 * bits/basic_string.h: Explicitly cast npos to unsigned type,
5897 reported by Richard Atterer.
5898 * bits/char_traits.h: For consistency's sake, here too.
5900 * configure.in: Bump version to 2.90.7.
5902 1999-10-31 Benjamin Kosnik <bkoz@cygnus.com>
5904 * testsuite/27_io/ostream_inserter_char-1.tst: Check file output.
5905 * testsuite/27_io/ostream_inserter_char.cc (test05, test01): Add tests.
5906 * bits/streambuf.tcc (xsputn): Treat--size const char for long loops.
5908 * bits/sstream.tcc (seekpos): Tricks, mostly: check _M_mode before
5909 writing into buffer.
5912 1999-10-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5914 * bits/valarray_array.h (__valarray_sum): New function.
5915 * bits/valarray_array.h (__valarray_product): Same.
5917 * bits/std_valarray.h (valarray<T>::product): Comment out.
5918 * bits/std_valarray.h (valarray<T>::sum): Use __valarray_sum
5919 instead of accumulate.
5921 * src/valarray-inst.cc: Remove explicit intantiation of
5922 class multiplies<size_t>, accumulate, valarray<size_t>::product.
5923 * src/valarray-inst.cc (__valarray_product): Instantiate
5925 * src/valarray-inst.cc (__valarray_product(const
5926 valarray<size_t>&)): New function.
5927 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't use
5928 valarray<size_t>::product. Use __valarray_product instead.
5931 1999-10-25 Benjamin Kosnik <bkoz@cygnus.com>
5933 * bits/std_ostream.h (ostream.inserters.char): Correctly pad output.
5934 (_S_pad_char): New function. Not done: ios_base::internal.
5935 * bits/ostream.tcc: Clean for above.
5936 * bits/locale_facets.tcc (_S_fill): Remove ostreambufiterator
5937 specialization that was commented out, as ostreams now have to
5938 correctly deal with padding.
5939 * testsuite/27_io/ostream_inserter_char.cc (main): Add tests.
5941 * testsuite/21_strings/ctor_copy_dtor.cc(test02): Add test case
5942 from mailing list. This is a bug, and should be fixed.
5943 * testsuite/21_strings/inserters_extractors.cc (main): Tweak, fix typo.
5945 1999-10-22 Petter Urkedal <petter@matfys.lth.se>
5947 * stl/bits/stl_numeric.h (__power): Replaced argument name `__opr'
5948 to avoid conflict with gcc name mangling.
5949 * stl/bits/stl_algo.h (__transform): Same.
5951 1999-10-21 Benjamin Kosnik <bkoz@cygnus.com>
5953 * bits/ios_base.h: Change argument names.
5954 * docs/17_intro/BADNAMES: Add __opr.
5956 1999-10-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5958 Work on compilation slowdowns from 10-5 to 10-12, which are
5959 related to the _Callback_list inlining/merge-ifcation, which is
5960 still a pending issue, but this stuff is necessary cleanup anyway.
5962 * src/ios.cc: Re-arrange.
5963 * bits/ios_base.h: Tweak.
5964 * bits/basic_ios.tcc: Move out of line definitions here, move
5965 small out-of-line definitions inline.
5966 * bits/basic_ios.h: From here.
5968 * bits/streambuf.tcc (pbackfail, overflow): Move back inline.
5969 * bits/std_streambuf.h: From here.
5971 1999-10-19 Benjamin Kosnik <bkoz@cygnus.com>
5973 * testsuite/27_io/istream_extractor_char.cc: Add tests.
5974 * bits/std_istream.h: Tweaks--set eofbit on eof condition.
5975 * bits/istream.tcc (operator>>(istream&, string&): Remove
5976 vestigial issspace hacks and use ctype::is instead.
5977 (getline): Remove unnecessary loops, fortify and pasteurize.
5980 1999-10-18 Benjamin Kosnik <bkoz@cygnus.com>
5982 * bits/istream.tcc (operator>>): Tweak.
5983 * bits/std_istream.h: Fix according to library issues list 68.
5986 * bits/locale_facets.h: Fix table_size to be non-zero.
5988 1999-10-18 Vadim Egorov <egorovv@HotPOP.com>
5990 * src/basic_file.cc: ifdef instead of comment for binary mode
5992 1999-10-18 Russell Davidson <russell@qed.econ.queensu.ca>
5994 * bits/std_sstream.h: Stringbuf initialization based on actual,
5995 not allocated, size.
5996 * testsuite/21_strings/inserters_extractors.cc (test06): Add test
5999 1999-10-17 Benjamin Kosnik <bkoz@cygnus.com>
6001 * testsuite/26_numerics/c_math.cc (test03): Tweak.
6002 * testsuite/27_io/istream_manip.cc (test01): Corrections due to
6004 * testsuite/21_strings/inserters_extractors.cc (test01): Same.
6006 1999-10-14 Benjamin Kosnik <bkoz@cygnus.com>
6008 * bits/std_istream.h: Tweaks.
6009 * bits/istream.tcc (istream::sentry::sentry()): Simplify, correct
6010 as per issues list addition--set failbit, eof on empty buffers.
6011 * testsuite/27_io/istream_sentry.cc: New file.
6013 1999-10-12 Chris Prince <prince@wcug.wwu.edu>
6015 * bits/std_cstdio.h: Remove Solaris hacks.
6017 1999-10-12 Phil Edwards <philip.edwards@sn.wpafb.af.mil>
6019 * docs/index.html: Fix minor typos and tweaks.
6020 * docs/17_intro/contribute.html: Ditto.
6021 * docs/*/howto.html: Ditto. More "EGCS"->"GCC" conversion, notes on
6022 thread safety and binary I/O, links to external sites.
6023 * docs/faq/index.html: EGCS/GCC cleanup, new entries for Cygwin
6026 1999-10-12 Petter Urkedal <petter@matfys.lth.se>
6028 * bits/std_cmath.h (abs(float)): When ::absf is not present, call
6029 ::fabs(double) rather than ::abs(int).
6031 1999-10-11 Benjamin Kosnik <bkoz@milou.cygnus.com>
6033 * bits/std_streambuf.h: Fix minor blip--should explicitly return
6034 *gptr(), not the result of underflow.
6035 (pbackfail): Conform to default behavior.
6037 * bits/streambuf.tcc: Add out-of-line streambuf members.
6040 * testsuite/27_io/streambuf.cc: New file.
6041 * testsuite/27_io/filebuf.cc: Correct test.
6043 1999-10-08 Benjamin Kosnik <bkoz@haight.constant.com>
6045 * bits/std_cmath.h: Correctly cast int to double.
6046 * testsuite/26_numerics/c_math.cc: Add test.
6048 * mknumeric_limits (OUT_C): Tweaks.
6049 * src/gen-num-limits.cc: Checks for WCHAR_MIN, WCHAR_MAX before
6050 trying to instantiate type_traits<wchar_t>.
6051 * acconfig.h: Add _GLIBCPP_HAS_WCHAR_MIN_MAX.
6052 * configure.in (LIBS): Plus checks for WCHAR_MIN, WCHAR_MAX.
6053 * configure: Regenerate.
6055 1999-10-06 Benjamin Kosnik <bkoz@milou.cygnus.com>
6057 * bits/streambuf.tcc (streambuf::xsgetn): Rewrite.
6058 (streambuf::xsputn): Put in break.
6059 Aiming for parity between these two (mostly) similar functions.
6060 Need to re-write tests.
6062 * bits/ios_base.h (ios_base::_M_copy_base): Remove declaration.
6063 Make data members protected, not private.
6064 * src/ios.cc (ios_base::_M_copy_base): Move _Callback_list into
6065 ios_base.h. As called only once, collapse into . . .
6066 * bits/basic_ios.h (basic_ios::copyfmt): Fix.
6067 (basic_ios::clear): Throw ios_base::failure on occasion.
6068 (basic_ios::exceptions): Fix.
6069 * testsuite/27_io/ios_members.cc (test02): Add tests.
6071 * bits/fpos.h: Default initialize.
6072 * testsuite/27_io/fpos.cc (test03): Add test.
6074 1999-10-04 Russell Davidson <russell@qed.econ.queensu.ca>
6076 * src/basic_file.cc: Fix open modes.
6078 1999-10-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6080 * bits/locale_facets.tcc (num_get<>::do_get): Fix typo.
6082 1999-09-23 Benjamin Kosnik <bkoz@milou.cygnus.com>
6084 * bits/streambuf.tcc: Yea. Fix this for real.
6085 * testsuite/27_io/ostream_inserter_other.cc: Add file.
6086 * src/Makefile.*: Regenerate.
6088 1999-09-22 Benjamin Kosnik <bkoz@milou.cygnus.com>
6090 * bits/std_cstdlib.h: Add more linux-specif hacks to the header
6091 files so that stdtof and strtold will be declared. Some hacks
6092 already exits in bits/std_cctype.h -- these should all be removed
6094 * bits/locale_facets.tcc: Add cstring.h include.
6095 _S_format_long: Use long, not int.
6096 Add std_limits.h include, for numeric_limits.
6097 * testsuite/27_io/istream.cc: Make instantiations work when using
6099 * testsuite/27_io/ostream.cc: Same.
6101 1999-09-21 Benjamin Kosnik <bkoz@milou.cygnus.com>
6103 * bits/fpos.h (fpos::operator streamoff): Make const, don't return
6104 a reference. Same for operators == and !=.
6105 * testsuite/27_io/fpos.cc: Add tests.
6107 1999-09-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6109 * bits/valarray_array.h: Fix typo.
6111 * mknumeric_limits: Make sure we are regenerating things from
6112 scratch. Otherwise things get redefined. Not good.
6114 1999-09-20 Benjamin Kosnik <bkoz@milou.cygnus.com>
6116 * bits/std_ostream.h: Fix typo.
6117 * bits/std_istream.h: Same.
6118 * bits/std_iomanip.h: Same.
6120 * bits/istream.tcc (sentry::sentry()): Remove optional tie with
6121 ostream, as happens with underflow anyway.
6122 * testsuite/27_io/istream.cc (main): New file.
6123 * testsuite/27_io/ostream.cc (main): New file.
6124 * testsuite/27_io/istream_unformatted.cc: Add tests.
6126 * src/Makefile.am (headers): Add new file.
6127 * src/Makefile.in (headers): Regenerated.
6129 * bits/basic_ios.h: Remove local-related files.
6130 * bits/basic_ios.tcc: New file, add locale-related items.
6131 * src/misc-inst.cc: Add include of basic_ios.tcc, as a hack for now.
6132 * testsuite/27_io/ios_members_static.cc: Change to
6133 * testsuite/27_io/ios_base_members_static.cc: This.
6134 * testsuite/27_io/ios_members.cc: New file.
6135 * testsuite/27_io/stdios_basefield_manip: Change to
6136 * testsuite/27_io/ios_manip_basefield.cc: This.
6137 * testsuite/27_io/stdios_fmtflags_manip: Change to
6138 * testsuite/27_io/ios_manip_fmtflags.cc: This.
6140 * bits/fpos.h: Fix discarding qualifiers on this when
6141 using _M_position with a const fpos.
6142 * bits/std_iosfwd.h: Tweak.
6143 * testsuite/27_io/fpos.cc: New file.
6145 1999-09-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
6147 * bits/streambuf.tcc (streambuf::xsputn): Tweak.
6148 * bits/ostream.tcc: Tweak.
6149 * testsuite/21_strings/inserters_extractors.cc (test04, test05):
6150 Add new regressions.
6152 1999-09-16 Benjamin Kosnik <bkoz@milou.cygnus.com>
6154 * bits/basic_ios.h: Inline, tweak.
6155 * bits/fstream.tcc (basic_filebuf::_M_really_overflow): Tweak,
6156 pass back accurate return value to basic_filebuf::overflow.
6157 * bits/streambuf.tcc (streambuf::xsputn): Fix overflow accounting.
6158 This fixes sstream problems reported in libstdc++/9, but screws up
6159 filebufs. That solution is pending.
6161 1999-09-15 Vadim Egorov <egorovv@1c.ru>
6163 * bits/streambuf.tcc (basic_streambuf::xsputn): Add check for
6165 * testsuite/21_strings/inserters_extractors.cc (test01): Add test.
6167 1999-09-08 Benjamin Kosnik <bkoz@milou.cygnus.com>
6169 * bits/c++config.h.in: Add emacs hints.
6171 * stl/bits/stl_range_errors.h: Don't define here, for now define
6172 in stdexcept.cc along with string inlines __length_error, etc.
6173 * src/stdexcept.cc: Define here.
6174 * stl/bits/stl_config.h (__STL_CAN_THROW_RANGE_ERRORS): Enable, so
6175 at(size_t) will be declared/defined.
6176 (__STL_THREADS): Fix mess surrounding use of this, enable.
6178 1999-08-31 Benjamin Kosnik <bkoz@milou.cygnus.com>
6180 * testsuite/27_io/istream_extractor_arith.cc: Fix.
6181 * src/localename.cc: Tweak formatting, fix assignment to
6182 const compiler errors.
6184 1999-08-25 Benjamin Kosnik <bkoz@cygnus.com>
6186 * acconfig.h: Add absf, cosf.
6187 * configure.in (use_builtin_sinf): Same.
6188 * configure: Regenerate.
6189 * bits/std_cmath.h: Add mess of defines.
6190 * testsuite/26_numerics/modf_float.cc: Change to
6191 * testsuite/26_numerics/c_math.cc: This.
6193 * src/locale.cc: Change.
6194 * bits/locale_facets.h: Fix.
6195 * testsuite/22_locale/ctype.cc: Add temporary tests.
6197 1999-08-24 Benjamin Kosnik <bkoz@cygnus.com>
6199 * bits/fpos.h: Test.
6201 * docs/index.html: Add powerpc-linux-gnu results with gcc-2.95.1.
6202 Fix database name for "libstdc++".
6204 1999-08-23 Benjamin Kosnik <bkoz@cygnus.com>
6206 * mknumeric_limits (numeric_limits): Add default definitions to
6208 * testsuite/18_support/numeric_limits.cc: New file.
6210 1999-08-18 Benjamin Kosnik <bkoz@cygnus.com>
6212 * bits/std_istream.h: Correct initialization.
6213 * bits/std_ostream.h: Likewise.
6214 * bits/std_sstream.h: Likewise.
6215 * bits/std_fstream.h: Likewise.
6216 * testsuite/27_io/stringstream.cc: Add test case.
6218 * bits/std_sstream.h: Replace ____string_type with __string_type.
6219 * bits/basic_ios.h (basic_ios::rdbuf(sb*): Call clear(), as required.
6220 * bits/std_ostream.h: Tweak dtor.
6222 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6224 * src/Makefile.am (CXXFLAGS): Add -O2.
6225 * src/Makefile.in: Likewise.
6227 * src/gen-num-limits.cc: Conditionally allow wchar_t. See what
6229 * mknumeric_limits (numeric_limits): Uglify.
6231 * bits/std_istream.h: Fix warnings.
6232 * bits/locale_facets.tcc: Collateral damage from
6233 char_traits<char>::int_type change.
6235 * testsuite/27_io/istream_extractor_char.cc: Terminate strings.
6237 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6239 * docs/index.html: Add mailing list form.
6240 * docs/27_io/howto.html: Add link to iostreams_hierarchy.pdf.
6242 1999-08-16 Benjamin Kosnik <bkoz@cygnus.com>
6244 * bits/streambuf.tcc (streambuf::xsputn): Allow copies to continue
6245 if overflow successfully allocates more space.
6246 * bits/std_sstream.h: Adjust comments.
6247 * bits/sstream.tcc (stringbuf::overflow): Copy buffer into string
6248 before overflow forces a resize.
6249 * testsuite/27_io/ostream_inserter_char.cc: New file.
6251 * bits/std_fstream.h: Remove declaration.
6252 * bits/fstream.tcc: Move uflow.
6253 * bits/std_streambuf.h: To here.
6254 * bits/streambuf.tcc: Make consistent.
6256 * src/Makefile.am (WERROR): Enable.
6257 * src/Makefile.in: Regenerate.
6258 * bits/sbuf_iter.h: Tweak.
6259 * bits/char_traits.h: (char_traits<wchar_t>::eof): Use WEOF.
6260 Use unsigned int as char_traits<char>::int_type.
6262 * bits/ostream.tcc (ostream::putc(char)): Tweak.
6263 * testsuite/27_io/iostream_objects.cc: Terminate string.
6264 Move cin::operator>>(char*) test to extractor_char.cc.
6265 * testsuite/27_io/stringstream.cc: Add stringstream instantiation.
6266 * bits/std_istream.h (basic_iostream): Make explicit definition
6268 * bits/std_sstream.h: Fix typos.
6269 * bits/fstream.tcc (_M_init_filebuf): Set to indeterminate for
6270 basic_filebuf ctor with fileno open arguments. Thus, filebufs are
6271 initialized in a consistent manner, no matter if the underlying
6272 FILE/bit bucket is a tty or a text file or some other imaginary
6273 construct. This and setting _M_buf_size to 1 for cin allows
6274 istream::get(char) to work in a manner consistent with what others
6277 * docs/index.html: Link Stroustrup's C++ page.
6279 1999-08-12 Michael Cook <cook@sightpath.com>
6281 * bits/fstream.tcc: Fix signed/unsigned -Wall warning.
6282 * bits/istream.tcc: ditto.
6283 * bits/sbuf_iter.h: ditto.
6284 * bits/std_istream.h: ditto.
6285 * src/Makefile.am: Add -Wall to CXXFLAGS.
6286 * src/Makefile.in: ditto.
6288 1999-08-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6289 Russell Davidson <russell@ehess.cnrs-mrs.fr>
6291 * bits/locale_facets.tcc (_M_extract): Finish off patch from yesterday.
6292 * src/Makefile.am (myinstallheaders): Tweak, remove PHONY.
6294 1999-08-11 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6296 * testsuite/27_io/istream_unformatted.cc: New file.
6298 * testsuite/27_io/istream_extractor_arith.cc (test02): Add more
6299 elaborate tests for int types with noskipws.
6301 * testsuite/27_io/istream_extractor_other-1.txt: New file.
6302 * testsuite/27_io/istream_extractor_other-1.tst: New file.
6303 * testsuite/27_io/istream_extractor_other-2.tst: New file.
6304 * testsuite/27_io/istream_extractor_other.cc: Add tests.
6305 * bits/istream.tcc: Fix operator>>(streambuf*).
6307 * testsuite/23_containers/vector_ctor.cc (test01): Add.
6309 * docs/index.html: Remove references to egcs.
6310 * docs/17_intro/DESIGN: Same.
6311 * docs/17_intro/contribute.html: Same.
6312 * docs/17_intro/RELEASE-NOTES: Ditto.
6313 * docs/17_intro/howto.html: Same here.
6315 Russell Davidson <russell@ehess.cnrs-mrs.fr>
6316 * stl/bits/stl_vector.h (_M_insert_aux):
6317 * bits/locale_facets.tcc (_M_extract): Tweaks for preliminary
6318 decimal/floating point support.
6319 * bits/locale_facets.h: Change _M_extract prototype.
6320 * bits/char_traits.h (char_traits::to_int_type): Cast to unsigned.
6321 * bits/std_istream.h (istream::read(char_type, streamsize)): Fix.
6323 1999-08-10 Michael Cook <cook@sightpath.com>
6325 * bits/fstream.tcc: Fix for unused variable warning (-Wall).
6326 * bits/ios_base.h: ditto.
6327 * bits/istream.tcc: ditto.
6328 * bits/locale_facets.h: ditto.
6329 * bits/locale_facets.tcc: ditto.
6330 * bits/std_streambuf.h: ditto.
6331 * src/basic_file.cc: ditto.
6332 * src/locale.cc: ditto.
6333 * src/localename.cc: ditto.
6335 1999-08-10 Kirat Singh <singhki@jany.gs.com>
6337 * bits/std_iomanip.h: Inline.
6339 1999-08-10 Alfred Minarik <a8601248@unet.univie.ac.at>
6341 * bits/std_streambuf.h: Correct member initialization order.
6342 * src/ios.cc: Add definitions for ios_base data members.
6344 1999-08-06 Phil Edwards <pedwards@ball.com>
6346 * docs/index.html: Seventh snapshot updates. Minor tweaks.
6347 * docs/faq/index.html: Ditto. Removed bugs sections that have
6348 been fixed for a long time... Lots of "egcs" references still
6350 * docs/faq/index.txt: Regenerated.
6352 1999-08-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6353 Andreas Amann <amann@physik.tu-berlin.de>
6355 * testsuite/26_numerics/binary_closure.cc (main): new test.
6357 1999-07-29 Andreas Amann <amann@physik.tu-berlin.de>
6359 * bits/valarray_meta.h: (_BinClos<>::_Binclos): fix typo causing
6362 1999-08-04 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6364 * docs/index.html (host): Put in testing status.
6366 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
6368 * docs/index.html: Update for libstdc++-2.90.6 release.
6369 * docs/17_intro/RELEASE-NOTES (New): Update.
6370 * docs/17_intro/BUGS: Update.
6371 * bits/c++config.h.in (__GLIBCPP__): Bump version number.
6372 * README (file): Update.
6374 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
6376 * src/Makefile.am (generated_headers): Remove bits/c++config.h as
6378 ($(generated_headers)): Same.
6379 * src/gen-c++config.cc: Remove, rename to
6380 * bits/c++config.h.in: New file. Bump version number.
6381 * configure.in: Generate bits/c++config.h at configure time.
6382 * math/mathconf.h: include bits/c++config.h, not config.h.
6384 * bits/std_cmath.h: Fix remaining link error for solaris shared
6385 builds. _GLIBCPP_HAS_BUILTIN_SINF has to be disabled for the time
6386 being, as on Solaris this silently calls sinf, which does not
6389 * src/complex.cc: More tweaks.
6391 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
6393 * src/complex.cc: Same.
6394 * math/complex-stub.h: Change.
6395 * math/c_log10*.c: Change back to clog10*.c.
6397 * configure.in (NEED_C_LOG10): Delete.
6398 * configure: Regenerate.
6399 * math/Makefile.am: Change.
6401 1999-07-30 Benjamin Kosnik <bkoz@cygnus.com>
6403 * math/Makefile.am: Fix, for real.
6404 * configure.in (use_builtin_sinf): Ok, make autoconf solution.
6405 * math/clog.c: Move to c_log.c.
6406 * math/clog*: Ditto.
6407 * math/c_log10l.c (c_log10l): Change function name.
6408 * math/c_log10f.c (c_log10f): Change function name.
6409 * math/c_log10.c (c_log10): Change function name.
6411 * math/complex-stub.h: Change to c_log* variants.
6412 * src/complex.cc: And here.
6414 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
6416 * testsuite/27_io/istream_extractor_other.cc: Correct last test.
6417 * bits/sstream.tcc (stringbuf::overflow): Don't update the input
6418 sequence, just the output sequence.
6419 * bits/std_sstream.h (stringbuf::str()): Only in stringbufs return
6420 the original string, all others use complicated heuristic.
6422 * src/complex.cc: Assume c_log10.
6423 * math/Makefile.am (EXTRA_yes): Fix c_log/c_logf unresolved
6424 symbols in shared libraries by making c_log/c_log10 part of the
6425 "must cmpile" sources. This may not work on solaris, must check.
6427 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
6429 * bits/istream.tcc (operator>>(streambuf*)): Re-do.
6430 * bits/std_istream.h: Fix char extractors.
6431 * testsuite/27_io/istream_extractor_char.cc: Change.
6432 * testsuite/27_io/istream_extractor_other.cc: Add tests.
6434 1999-07-28 Benjamin Kosnik <bkoz@cygnus.com>
6436 * bits/std_cctype.h: Fix for solaris2.6 builds.
6438 * bits/istream.tcc: Fix, thanks Alfred.
6439 * bits/std_istream.h: Formatting changes.
6441 * libio/Makefile.am (libio_la_SOURCES): Remove cleanup.c, so that
6442 _IO_cleanup will not be undefined.
6443 * libio/*: Regenerate.
6445 * bits/basic_string.h: More namespace-safety stuff.
6446 * testsuite/27_io/istream_extractor_char.cc: Fix.
6447 * testsuite/27_io/istream_extractor_arith.cc: Fix.
6448 * testsuite/27_io/iostream_objects.cc: Fix.
6449 * testsuite/27_io/ios_ctor.cc: Fix.
6450 * testsuite/27_io/istream_manip.cc: Make namespace safe.
6451 * testsuite/27_io/istream_extractor_other.cc: New file.
6453 * mkcheck (TESTS_FILE): Tweaks.
6455 1999-07-27 Benjamin Kosnik <bkoz@cygnus.com>
6457 * src/gen-c++config.cc: Note here, change version.
6458 * acconfig.h( _GLIBCPP_USE_CTYPE_ISBIT): New macro.
6459 * src/locale.cc: Used here.
6460 * configure.in (use_builtin_sinf): Check for _ISBit using autoconf.
6462 * aclocal.m4: Regenerate by running `aclocal -I m4.`
6464 * bits/istream.tcc: Fix.
6465 * bits/std_istream.h: More changes to extractors.
6467 * testsuite/27_io/istream_extractor_char.cc: More.
6468 * testsuite/21_strings/inserters_extractors.cc (test01): Fix logic
6469 error in testsuite construction.
6471 * bits/std_istream.h: Partially revert.
6472 * bits/std_ostream.h: Same.
6473 * bits/std_sstream.h: Revert.
6475 1999-07-26 Benjamin Kosnik <bkoz@cygnus.com>
6477 * bits/std_sstream.h: Change initialization.
6478 * bits/std_ostream.h: Make default ctor/assign/operator= private.
6479 * bits/std_istream.h: Same, also correct sentry args.
6480 * bits/istream.tcc: Add correct sentry args.
6482 * testsuite/27_io/istream_extractor_char.cc: New file.
6483 * testsuite/27_io/istream_extractor_arith.cc: New file, old file,
6484 name changes making me dizzy.
6486 1999-07-26 Ulrich Drepper <drepper@happy.cygnus.com>
6487 Benjamin Kosnik <bkoz@cygnus.com>
6489 * aclocal.m4, config.guess, config.sub, ltconfig ltmain.sh: Update
6492 1999-07-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6494 * bits/std_complex.h: Tweak. Make the primary template class
6495 complex work with user-defined numerical types. Provide member
6496 definitions. Restructure.
6497 (class complex<float>): Uglify. Remove __value(). Rename __val
6498 to _M_value. Rename __complex_value_type to _ComplexT. Make it
6499 private. Remove dependency on __value(). Fix various explicit
6500 specialization syntax. Declare a some functions friend. Now the
6501 implementation is nearly comforming.
6502 (class complex<double>): Likewise.
6503 (class complex<long double>): Likewise.
6505 * src/complex.cc: Tweak. Remove dependency on complex::__value().
6506 (sin, sinh, tan, than): Fix call to corresponding C9x function
6509 1999-07-24 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6511 * bits/istream.tcc (ws): Fix error with failbit being set.
6513 Disabled due to egcs/gcc-2_95 internal compiler errors.
6514 * src/Makefile.am (CXXFLAGS): Add -fsquangle -fhonor-std
6515 -fnew-exceptions. Compiling with namespaces enabled will now be
6517 * mkcheck (CXX_FLAG): Same.
6518 * src/gen-c++config.cc (_GLIBCPP_USE_NAMESPACES): Yup. New macro.
6519 * bits/std_cctype.h: Not enough to just define in namespace std if
6520 ctype-isms are macros. Need to also define in namespace std:: if
6521 the C functions are just plain functions.
6523 * src/gen-num-limits.cc: Fix spelling inconsistencies.
6525 1999-07-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6527 * docs/18_support/howto.html: Start documentation. Need to keep
6528 track of the ongoing discussion in th LWG reflector.
6530 * src/gen-num-limits.cc: Tweak.
6531 (class predicate): New class.
6532 (class value): Likewise.
6533 Make the whole machinery more flexible. Add comments.
6535 1999-07-23 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6537 * bits/ios_base.h: Move state/exception functions into basic_ios.
6538 * bits/basic_ios.h: Same.
6539 * src/ios.cc: And here. Callbacks don't attempt to reset
6542 * bits/std_streambuf.h: Separate ios and streambuf locale data
6543 members and cached facets. Using this convention: _M_locale_buf for
6544 the streambuf-related classes, and _M_locale_ios for the ios
6546 * bits/fstream.tcc: And here.
6547 * bits/basic_ios.h: And here. Also, add cached ctype.
6548 * src/ios.cc: Ditto.
6549 * bits/ios_base.h: Ditto.
6550 * bits/std_istream.h: Use cached ctype facet.
6551 * docs/27_io/iostreams_hierarchy.pdf: Update for new data member
6554 * testsuite/27_io/ios_ctor.cc: New file.
6555 * src/ios.cc: Move _M_state init to basic_ios::init().
6556 * bits/basic_ios.h: To here.
6558 Attempt for some consistency in naming for testsuite/27_io/*.cc.
6559 * testsuite/27_io/boolfmt.cc: Rename to stdios_fmtflags_manip.cc
6560 * testsuite/27_io/octfmt.cc: Rename to stdios_basefield_manip.cc
6561 * testsuite/27_io/istream_manip.cc: Rename to istringstream_manip.cc.
6562 * testsuite/27_io/ostream_manip.cc: Rename to ostringstream_manip.cc.
6564 1999-07-22 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6566 * src/ios.cc: Tweak initializations of standard iostream
6567 objects to closely match the standard. Tie cin/wcin, set flags on
6569 * bits/char_traits.h: Change from size_t to int_type, as per
6570 standard. As per wide streams.
6571 * bits/basic_ios.h: Infect with __ctype_type, as a preparation
6572 for caching a bunch of ctype info. For instance, ctype_base::space
6573 info needs to be stored somewhere, somehow.
6574 * bits/std_istream.h: Also here.
6575 * bits/std_ostream.h: Ditto.
6576 * bits/std_istream.h (operator>>(istream, char): Aggh. Fixup.
6577 * testsuite/27_io/iostream_objects.cacc (test01): Oh yeah. Fix
6580 * bits/istream.tcc (ws): Fix.
6581 * testsuite/27_io/istream_manip.cc: New file, test ws.
6582 * testsuite/27_io/ostream_manip.cc: New file, test endl, ends, flush.
6584 * bits/basic_string.h: Provide a specialized member function for
6585 _S_find<char> using strchr.
6586 * src/string-inst.cc: Put specializations here.
6587 * bits/string.tcc: Small fix for find, remove typo.
6588 * testsuite/21_strings/find.cc (test01): Add tests to catch this
6591 1999-07-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6593 * bits/basic_ios.h: Put into basic_ios namespace.
6596 1999-07-19 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6598 * bits/std_sstream.h (stringbuf::sync): Change to _M_really_sync,
6599 adjust _M_*_cur pointers inside the function, so callee doesn't
6601 * bits/sstream.tcc (stringbuf::overflow): Tweak.
6603 * mkcheck: Tweak. Add execution time field, even though it is not
6604 implemented yet. Simplify pass/fail status notation.
6606 1999-07-18 Mumit Khan <khan@xraylith.wisc.edu>
6608 * configure.in: Check for float.h and underscored version of
6610 * acconfig.h: Add @BOTTOM@ section for handling underscored
6612 * configure: Regenerate.
6613 * config.h.in: Regenerate.
6614 * math/mathconf.h (float.h): Include conditionally.
6615 (M_PI): Define conditionally.
6616 (INFINITE_P): Define for Mingw.
6617 * bits/locale_facets.tcc: Workaround for compiler crash on
6619 * bits/std_cwchar.h (bits/std_cstddef.h): Include.
6620 * src/locale.cc (bits/std_istream.h): Include.
6621 (bits/std_ostream.h): Likewise.
6623 1999-07-18 Phil Edwards <pedwards@ball.com>
6625 * docs/faq/index.html: Updated __black_count notes, fixed typos.
6626 * docs/faq/index.txt: Regenerated.
6628 1999-07-15 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6630 * testsuite/27_io/stringbuf.cc: Cccchanges, latent bugs.
6632 * bits/sstream.tcc (stringbuf::overflow): Modify accounting of
6633 newly-allocated buffer.
6634 * bits/streambuf.tcc (streambuf::xsgetn): Aaaaaah. Fix final
6635 overflow condition bits.
6637 1999-07-14 Benjamin Kosnik <bkoz@cygnus.com>
6639 * bits/std_sstream.h (stringbuf::_M_init_stringbuf): Set
6640 _M_buf_size to initial _M_string.size(), even though for
6641 ostringstreams it is pretty pointless. It's necessary for
6643 (stringbuf::str()): Adjust.
6644 (stringbuf::str()): Adjust, call _M_init_stringbuf.
6645 * bits/streambuf.tcc (streambuf::xsgetn): Adjust return value for
6646 overflow's possible success.
6647 (streambuf::xsputn): Adjust.
6649 * testsuite/27_io/filebuf.cc: Adjust for the xsgetn re-write from
6651 * testsuite/27_io/stringbuf.cc: Tweak.
6652 * testsuite/21_strings/inserters_extractors.cc (test01): Remove
6654 * testsuite/23_containers/vector_cons.cc: Rename to be consistent
6655 with other constructor tests to. . .
6656 * testsuite/23_containers/vector_ctor.cc: New file.
6658 1999-07-14 Alfred Minarik <a8601248@unet.univie.ac.at>
6660 * testsuite/*: Changes to make the testsuit compilable with
6661 -fhonor-std. Contains direct qualification of library names with
6664 1999-07-13 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6666 * bits/streambuf.tcc: Tweaks.
6667 (streambuf::xsputn): Optimize, fix for sstreams.
6668 (streambuf::xsgetn): Same.
6669 * bits/sstream.tcc (stringbuf::overflow): Adjust _M_buf_size
6670 correctly, handle overflow/reallocate conditions correctly.
6671 * bits/std_sstream.h: Fix typo.
6672 _M_init_stringbuf(): Fix _M_buf_size initialization.
6673 (stringbuf::str()): Construct return string if output has occurred.
6675 * bits/basic_string.h: Fix typo from yesterday's patch.
6677 1999-07-12 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6679 * bits/string.tcc: _M_mutate - clear _M_state again.
6680 * bits/basic_string.h: In the three functions that return
6681 an iterator set _M_state to -1 before return.
6682 Also optimized two cases of operator+.
6684 1999-07-12 Phil Edwards <pedwards@ball.com>
6686 * docs/index.html: Expand egcs-1.1.2 notes/links.
6687 * docs/faq/index.html: And here. Add links to LWG issues-list.
6688 * docs/faq/index.txt: Regenerate. (lynx rocks)
6689 * docs/21_strings/howto.html: Fix notes on case conversion.
6690 * docs/21_strings/stringtok_h.txt: Goodly spelling...
6691 * docs/23_containers/howto.html: Stub for bitmasks.
6692 * docs/27_io/howto.html: Add section on buffering, stub binary.
6694 1999-07-12 Nathan Myers <ncm@cantrip.org>
6696 * stl/bits/stl_tree.h (__black_count): Optimize.
6698 1999-07-09 Vadim Egorov <egorovv@1c.ru>
6700 * src/basic_file.cc: Cleanup in __basic_file destructor.
6702 1999-07-08 Benjamin Kosnik <bkoz@cygnus.com>
6704 * bits/std_streambuf.h: Changes. . .
6705 * bits/streambuf.tcc: Merge xsputn from filebuf into xsputn in
6706 basic_streambuf, to be used for both filebufs and streambufs.
6707 * bits/std_fstream.h (_M_init_filebuf): New function.
6708 Take out specialized xsputn, put into basic_streambuf.
6709 * bits/fstream.tcc: Define, call from both ctors.
6710 * bits/std_sstream.h (_M_init_stringbuf): New function.
6711 * bits/sstream.tcc: Tweak.
6713 * docs/27_io/iostreams_heirarchy.pdf: New file.
6715 * docs/17_intro/CHECKLIST (basic_string<char>): Validation and
6716 acceptance. Wooo-hoo!
6718 * bits/char_traits.h: Change int_type for char_traits general
6719 template, so that 21_strings/capacity.cc will compile.
6720 * testsuite/21_strings/capacity.cc: Add operators.
6722 * bits/string.tcc (string::compare): Clean up, re-implement.
6723 * testsuite/21_strings/compare.cc: Tweak.
6725 * bits/string.tcc (string:_M_mutate): Keep leaked value in
6726 _M_state, which means that whenever begin() or end() has been
6727 called, the string is unshareable, period. By doing this, insert
6728 and erase member functions that return iterators can remain
6729 footloose and fancy free.
6730 * testsuite/21_strings/invariants.cc: Update.
6732 * bits/basic_string.h (string::append): Fix self-referential
6733 problems, ie when "this" is also an argument to a member function.
6734 * bits/string.tcc: Tweak, same.
6735 * testsuite/21_strings/append.cc: New file.
6737 1999-07-07 Benjamin Kosnik <bkoz@cygnus.com>
6739 * bits/char_traits.h: Tweaks.
6740 * bits/basic_string.h: Tweak.
6741 * bits/fstream.tcc: Remove warning for _M_buf_size assignment.
6743 1999-07-06 Benjamin Kosnik <bkoz@cygnus.com>
6745 * bits/std_streambuf.h: Absorb/acquire data members previously
6746 working in basic_filebuf.
6747 * bits/streambuf.tcc: Tweaks.
6748 * bits/fstream.tcc: Adjust.
6749 * bits/std_fstream.h: Move and rename the following functions:
6750 _M_set_ideterminate, _M_is_indeterminate, _M_set_determinate are
6751 now declared and defined in the base class, basic_streambuf. Oh
6752 fuck it, move data members _M_buf, and _M_buf_size into
6753 basic_streambuf as well.
6755 * bits/ostream.tcc: Tweak.
6756 * bits/locale_facets.tcc: Fix typo in comments.
6758 * testsuite/21_strings/inserters_extractors.cc (test01): Change
6759 state from good to not good, as eof() is set.
6761 1999-07-05 Benjamin Kosnik <bkoz@cygnus.com>
6763 * bits/char_traits.h (char_traits::compare). Fix.
6765 * config.guess, config.sub: Update.
6767 1999-07-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6769 * bits/string.tcc: Check the __res_arg for a length error.
6771 1999-07-01 Benjamin Kosnik <bkoz@nabi.net>
6773 * bits/std_streambuf.h: Tweaks. Need to move _M_is_indeterminate
6774 and related functions into basic_streambuf, from basic_filebuf to
6775 take care of ostringstreams and empty strings. So that's groovy,
6777 * bits/std_istream.h: Tweaks.
6778 * bits/istream.tcc: Implement ws, getline, operator>> for string.
6779 * bits/std_ostream.h: And here.
6780 * bits/ostream.tcc: Same.
6781 * src/misc-inst.cc: Add instantiations for ws.
6783 * src/string-inst.cc: Add instantiations for inserters and
6784 extractors (operators << and >>, getline).
6786 * testsuite/21_strings/inserters_extractors.cc: Amazingly enough,
6787 a testcase for getline and operators << and >>. Ostream tests are
6788 failing right now, but istream tests should work. . .
6790 * bits/string.tcc: Change _S_max_size, as GNU malloc won't budge.
6791 * bits/std_sstream.h: Revert.
6793 * testsuite/17_intro: header_[iosfwd, ios, iostream, iomanip,
6794 istream, ostream, streambuf, fstream, sstream].cc: New files.
6796 1999-06-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6798 * bits/std_sstream.h (stringbuf::sync): Don't use string::begin()
6801 * bits/basic_string.h (basic_string<>::_S_copy_chars): Add
6802 specializations for _CharT*, iterator and const_iterator.
6803 * src/string-inst.cc: Remove explicit instantiation, as
6804 now explicitly specialized.
6806 * bits/basic_string.h: Add a size_type parameter to _M_clone with
6807 a default value set to 0.
6808 * bits/string.tcc: In _M_clone by the call of _S_create add the
6809 value of the new parameter to _M_length. In reserve check
6810 _M_state and use _M_clone instead of _M_mutate.
6812 1999-06-30 Benjamin Kosnik <bkoz@happy.cygnus.com>
6814 * bits/basic_string.h: Fix _S_max_size.
6815 * bits/string.tcc: Add def here.
6816 * testsuite/21_strings/insert.cc: Fix.
6818 * bits/sbuf_iter.h: Remove detritus.
6819 * testsuite/24_iterators/istreambuf_iterator.cc: Add tests.
6821 * src/locale-inst.cc: Elaborate iterator/locale instantiations
6822 to resolve alpha-osf4 build problems.
6824 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
6826 * bits/string.tcc: Fix signed/unsigned issues in compares.
6827 * stl/bits/stl_deque.h: And here.
6828 * stl/bits/stl_string_fwd.h: Remove __get_c_string.
6830 1999-06-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6832 * bits/string.tcc: New implementation and interface of _M_mutate.
6833 Adapt the change in all functions that call _M_mutate.
6834 * bits/basic_string.h: And here.
6836 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
6838 * testsuite/21_strings/capacity.cc (test01): Fix.
6840 1999-06-29 Phil Edwards <pedwards@ball.com>
6842 * mknumeric_limits: Exit script if gen-num-limits isn't built.
6844 1999-06-29 Andreas Gruenbacher <agruenba@pent224.infosys.tuwien.ac.at>
6846 * stl/bits/stl_vector.h: Fix.
6847 * testsuite/23_containers/vector_cons.cc: Add.
6849 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6851 * mknumeric_limits (LDFLAGS): fix.
6853 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6855 * mknumeric_limits (LDFLAGS): set it according to the system.
6857 * math/mathconf.h (NAN): Check whether host is running under
6858 Cygwin and make the appropriate definition.
6859 * math/complex-stub.h (nan): protect declaration.
6861 1999-06-28 Benjamin Kosnik <bkoz@haight.constant.com>
6863 * bits/sbuf_iter.h: Rename internal data structure to prevent
6864 confusion between basic_ios and istreambuf_iterators internal
6865 basic_streambuf data member.
6866 * testsuite/24_iterators/istreambuf_iterator.cc: New file.
6868 * bits/basic_string.h: Remove conditionals, add input_iterator
6869 version of S_construct again.
6870 * bits/string.tcc: Same.
6871 * src/string-inst.cc: And add explicit instantiation here.
6873 * src/gen-c++config.cc (_GNU_SOURCE): Take out both _GNU_SOURCE
6874 and __USE_GNU macro defines, as single __USE_GNU use leading to
6875 confusion on glibc2.1 systems (ie, RedHat 6.0).
6877 * src/Makefile.am (headers): Add std_utility to installed headers.
6879 1999-06-25 John Potter <jpotter@eagle.lhup.edu>
6881 * stl/bits/stl_tree.h (insert_unique): Revert, just fix insert_equal.
6883 1999-06-25 Gilles Zunino <Gilles.Zunino@hei.fr>
6885 * mknumeric_limits (LDFLAGS): Swap -lc and -lgcc.
6887 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6889 * src/gen-c++config.cc (_GLIBCPP_*): Change all
6890 macros to include _GLIBCPP as a distinct namespace.
6894 * stl/bits/std_stdexcept.h: Forward-declare __Named_exception ctor.
6895 * bits/basic_string.h: Remove __get_c_string.
6896 * src/stdexcept.cc: Define ctor here.
6897 * bits/ios_base.h: And fix ios_base::failure as well.
6898 * src/ios.cc: Define here.
6900 * bits/std_streambuf.h: Add a private copy ctor and assignment
6901 operator wrapped in _G_RESOLVE_LIB_DEFECTS.
6902 * bits/ios_base.h: And here too.
6904 * bits/basic_string.h: Tweak.
6905 * testsuite/21_strings/nonmember.cc: Add operator+ tests.
6907 * src/valarray.cc: Rename to. . .
6908 * src/valarray-inst.cc: This.
6909 * src/Makefile.am (sources): Change here.
6910 * src/Makefile.in: Regenerated.
6912 1999-06-24 Vadim Egorov <egorovv@1c.ru>
6914 * bits/string.tcc(basic_string<>::_Rep::_S_create): Fixed
6917 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6918 Tom Tromey <tromey@cygnus.com>
6920 * configure.in (use_glibc2): Eek, correct for non-glibc systems.
6921 Use AM_CONDITIONAL to get us out of this jam. .
6922 * libio/Makefile.am: Same.
6923 * */Makefile: Regenerated.
6925 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6926 John Potter <jpotter@eagle.lhup.edu>
6928 * stl/bits/stl_tree.h (insert_equal): Fix.
6929 * testsuite/23_containers/multiset.cc: New file.
6931 1999-06-23 Benjamin Kosnik <bkoz@cygnus.com>
6933 * configure.in (test for glibc2): Correct AC_TRY_COMPILE so that
6934 this works correctly on glibc-2 systems. This should allow
6935 simplified linking on these systems, and successful linking on Red
6937 * configure, Makefile: Regenerate.
6939 * bits/std_cwctype.h: Add missing 'w' to _S_iswpunct_helper name.
6941 * testsuite/ext: New directory.
6942 * testsuite/ext/headers.cc: New file.
6944 1999-06-23 Vadim Egorov <egorovv@1c.ru>
6946 * stl/ext/hash_set: include missing headers
6947 * stl/ext/hash_map: Same
6948 * stl/ext/slist: Same
6950 1999-06-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6952 * bits/std_cmath.h: comment out modf. Kills build on hpux10.20
6954 1999-06-15 Benjamin Kosnik <bkoz@cygnus.com>
6956 * src/Makefile.am (sources): Regenerate.
6957 * mkcheck: Add TESTS_FILE as a way of controlling what testcases
6960 1999-06-14 Benjamin Kosnik <bkoz@cygnus.com>
6962 * src/string-inst.cc: Change _S_construct signature, to
6963 track requested allocation size versus valid input iterator range.
6964 * bits/basic_string.h: Here too.
6965 * bits/string.tcc: And here.
6967 1999-06-12 Benjamin Kosnik <bkoz@cygnus.com>
6969 * mkcheck (LOG_FILE): Correctly append errors.
6971 * stl/bits/stl_iterator.h: Revert previous, delirious, change.
6973 * bits/basic_string.h: Change _Rep::_M_data to _Rep::_M_refdata,
6974 to clarify differences between basic_string::_M_data() calls and
6975 _Rep::_M_data() calls.
6976 * bits/std_string.h: Fix.
6977 Put in check for out_of_range in substr.
6978 * bits/string.tcc: Fix for _S_find.
6980 * testsuite/21_strings/compare.cc: Add tests.
6981 * testsuite/21_strings/find.cc: New file.
6982 * testsuite/21_strings/substr: New file.
6983 * testsuite/21_strings/replace.cc: New file.
6985 1999-06-11 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6987 * bits/valarray_array.h: __restrict__ify pointers.
6989 * bits/std_valarray.h: Tweak.
6990 (valarray<T>::cshift, valarray<T>::shift): use __builtin_alloca.
6992 * bits/gslice_array.h: Tweak. Reflect changes in bits/gslice.h
6994 * bits/gslice.h: Tweak.
6995 (class gslice::_Indexer): new class.
6996 (gslice::gslice(const gslice&)): implement copy-ctor to support
6998 (gslice::operator=(const gslice&)): support ref-counted index.
6999 (gslice::_M_convert_to_index): delete.
7001 * src/valarray.cc: New file.
7002 (__gslice_to_index): turn a gslice into a valarray<size_t>
7003 (ctor gslice::_Indexer::_Indexer): implement.
7005 * src/Makefile.am (sources): add valarray.cc
7006 * src/Makefile.in: regenerate.
7008 1999-06-08 Benjamin Kosnik <bkoz@cygnus.com>
7010 * stl/bits/stl_iterator.h (__normal_iterator::const_iterator
7011 ctor): Put in a const_cast.
7013 * testsuite/21_strings/invariants.cc: New file.
7015 * testsuite/21_strings/insert.cc: Add exception handling bits.
7016 * testsuite/21_strings/ctor_copy_dtor.cc: Same.
7018 * src/wstring-inst.cc: Add c++config.h include.
7020 * bits/basic_string.h: Fix const operator[] for size == pos.
7021 Add _M_leak for rbegin, non-const.
7022 Add _M_leak for rend, non-const.
7023 Make member function at standards conformant.
7024 Add _S_terminal to _Rep for operator[] const, add this into
7026 * bits/string.tcc: Add static member definition here,
7029 * testsuite/21_strings/element_access.cc: Add tests.
7031 1999-06-08 Vadim Egorov <egorovv@1c.ru>
7033 * bits/fstream.tcc (_M_really_overflow): Fixed size of
7036 1999-06-08 Phil Edwards <pedwards@ball.com>
7038 * bits/fstream.tcc (basic_filebuf::xsputn): Fix off-by-one count
7039 caused when __testinit is true.
7040 * bits/ostream.tcc (basic_ostream::op<<(streambuf*)): Write buffer
7041 using rdbuf()->sputn rather than _M_fnumput->put.
7043 1999-06-08 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7045 * testsuite/23_containers/bitset_ctor.cc: New file.
7046 * stl/bits/std_bitset.h (__BITSET_WORDS): Fix integration bug.
7048 1999-06-08 Phil Edwards <pedwards@ball.com>
7050 * bits/fstream.tcc (basic_filebuf::underflow): Fix, rename local vars.
7052 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7054 * testsuite/21_strings/element_access.cc: Finish off these tests.
7055 * testsuite/21_strings/insert.cc (test01): Uncomment.
7056 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Finish off ctors.
7057 * bits/basic_string.h: Tweak, okay, fix for real this time.
7058 * bits/string.tcc: Same.
7059 * bits/char_traits.h: Tweak.
7061 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7063 * bits/std_cmath.h: Example of how to use the generated macro.
7064 * acconfig.h: Add macro for sinf here.
7065 * configure.in (LIBS): Add test for builtin math function sinf.
7066 * configure: Regenerated.
7068 * bits/basic_string.h: Fix _S_max_size.
7070 1999-06-06 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7072 * bits/basic_string.h: Fixes for out-of-memory segv for large strings.
7073 Remove _S_construct signature for forward_iterator_tag and
7076 * src/string-inst.cc: Same, tweaks.
7077 * bits/string.tcc: Same, tweaks.
7079 * testsuite/21_strings/ctor_copy_dtor.cc: Add/clarify tests.
7080 * mkcheck (LOG_FILE): Fix filebuf-[2,3].tst checks.
7081 * mknumeric_limits (LD_FLAGS): Add -nodefaultlibs -lc -lgcc as per
7084 * src/locale.cc: Final separation for char/wchar_t bits.
7086 1999-06-05 Phil Edwards <pedwards@ball.com>
7088 * docs/index.html: Added link to book upon request'n'agreement.
7089 * docs/23_containers/wrappers_h.txt: Added.
7090 * docs/{23_containers,27_io}/howto.html: Added sections.
7092 * bits/std_fstream.h: Tweak.
7094 1999-06-05 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7096 * src/ios.cc: Same here.
7097 * bits/std_iosfwd.h: More wchar_t defines.
7099 * bits/basic_string.h: Tweaks.
7100 * bits/string.tcc: Tweak. Fix _S_construct to check for max_size
7101 when doing error checking, as per LWG defect #83.
7103 * src/gen-c++config.cc: Fix comment.
7105 * testsuite/21_strings/ctor_copy_dtor.cc: New file, checks ctors,
7107 * testsuite/21_strings/element_access.cc: New file, checks for
7108 operator[], at(...).
7109 * testsuite/21_strings/insert.cc: New file, tests string::insert.
7110 * testsuite/21_strings/char_traits.cc: New file, tests
7111 for char_traits<char>.
7113 * bits/utility.h: Remove, again.
7114 * src/Makefile.am (std_headers): Remove utility.h.
7115 * src/Makefile.in (std_headers): Regenerate.
7117 Alfred Minarik <a8601248@unet.univie.ac.at>
7118 * bits/basic_string.h: Move __out_of_range and __length_error into
7121 1999-06-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7123 * testsuite/26_numerics/modf_float.cc: New file.
7125 * bits/std_cmath.h (modf(float, float*)): Fix signature. Correct
7126 typo: use ::modff, not ::modf.
7128 1999-06-03 Vadim Egorov <egorovv@1c.ru>
7130 * bits/string.tcc (basic_string::_M_mutate): Fixed memory
7132 * testsuite/21_strings/capacity.cc (test01): Test.
7134 1999-06-03 Phil Edwards <pedwards@ball.com>
7136 * bits/fstream.tcc: Re-order inits to stop warnings. Comment/move
7137 unused variables to within #if 0 blocks to do the same.
7138 * bits/std_fstream.h: Fix typos (one prevents compilation).
7140 1999-06-03 Benjamin Kosnik <bkoz@pacifica.cygnus.com>
7142 * src/wstring-inst.cc: Fix.
7144 1999-06-02 Benjamin Kosnik <bkoz@madcow.cygnus.com>
7146 * bits/char_traits.h: Add _G_USE_WCHAR_T macro guards.
7147 * stl/bits/stl_string_fwd.h: Same.
7148 * bits/locale_facets.h: Same.
7149 * bits/locale_facets.tcc: Same.
7150 * src/wstring-inst.cc: And here.
7152 * src/gen-c++config.cc: Comment _G_USE_WCHAR_T. Leading to
7153 problems on HPUX 10.20.
7154 * your-build-directory-here/bits/c++config.h: Just kidding, do it
7155 here as a temporary hack till the compiler/host problems get
7158 * bits/locale_facets.tcc (num_get::do_get): Change from ifdef
7159 HAVE_STRTOLD to HAVE_STRTOLD && !(__hpux). Apparently, problems
7160 converting "long double" to struct long_double. Probably should be
7161 done with one macro (HAVE_STRTOLD) at configure time.
7163 * bits/std_cmath.h: Comment out pow(double, int) defintion as
7164 gives re-declaration under hpux10.20. Revert previous change, as
7165 kills linux/x86, solaris 2.7, hpux builds. These should be done
7166 using autoconf, see std_cctype.h and the solutions started in
7167 configure.in (see config.h for the generated file.)
7169 * mknumeric_limits (LDFLAGS): Remove '-nodefaultlibs -lc', as
7170 -nodefaultlibs prevents linking under HPUX 10.20 as __main is not
7173 * docs/index.html: Add some useful links.
7174 * docs/17_intro/contribute.html: Fix broken links.
7176 1999-06-02 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7178 * mkcheck (LOG_FILE): Add !/bin/bash instead of cygnus-style
7179 paths. The rest of the world should be able to run this script
7182 * src/Makefile.am ($(generated_headers)): Remove comment.
7183 * Makefile*: Regenerate.
7185 * bits/std_locale.h: Remove detritus.
7186 * bits/localefwd.h: Add <cctype> include to undefine the isspace
7189 1999-06-01 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7191 * src/gen-c++config.cc: New file. Making c++config.h at configure
7192 time by catting this file (nee bits/config.h) with the build
7193 directories config.h. This is not a complete or perfect solution
7194 but is better than what was in place previously.
7195 * bits/c++config.h: Rename/move to above.
7196 * src/Makefile.am (headers): Remove c++config.h.
7197 (myinstallheaders). Add.
7198 * Makefile*: Regenerated.
7200 * bits/std_cwchar.h: Add include of c++config.h for HAVE_*
7201 definitions, so that wmemcmp, wcslen, wmemchr, etc are properly
7202 declared only if not present in the host's wchar.h.
7204 * bits/locale_facets.tcc (std): Change _G_USE_STRTO* to HAVE_STRTO*.
7206 * bits/std_cmath.h: Define out, for the moment. Linux has no
7207 __buitin_fsqrtl? Probably need some kind of configure trickery
7210 * src/Makefile.*: Regenerate.
7211 * bits/c++config.h: Add config.h include.
7213 * bits/std_cwchar.h: Remove remaining #error guard.
7215 * acconfig.h: Add bits for HAVE_LC_MESSAGES.
7217 * configure.in (LIBS): Replace previous effort for mbstate_t and
7218 strtold/strtof with this implementation.
7220 1999 06-01 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7222 * bits/std_cmath.h: Tweak. Add more functions. Use __builtin_xxx
7225 1999-05-28 Benjamin Kosnik <bkoz@cygnus.com>
7227 * bits/locale_facets.tcc (std): Eek: this left in. Autoconf bits
7228 for determining mbstate_t differences across various hosts not
7231 1999-05-26 Benjamin Kosnik <bkoz@nabi.net>
7233 * bits/locale_facets.tcc: Change to ifdef.
7235 * bits/std_sstream.h (stringbuf::setbuf): Remove dynamic_cast.
7236 * bits/std_fstream.h (filebuf::setbuf): Same.
7238 * bits/std_istream.h: Add ws declaration.
7239 * bits/istream.tcc: Stub out definition.
7241 * docs/index.html: Fix broken link for design.txt.
7243 * configure.in: Test for mbstate_t. If wchar.h doesn't have it,
7244 then set _G_NEED_MBSTATE_T.
7245 * configure: Regenerate.
7246 * bits/c++config.h: Move mbstate_t define.
7247 * bits/std_cwchar.h: To here.
7249 1999-05-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7251 * bits/std_sstream.h:
7252 basic_stringbuf<>::basic_stringbuf: fix.
7253 basic_stringbuf<>::setbuf:
7254 remove the temporary __string_type object,
7255 remove the unnecessary dynymic_cast in the return value,
7256 change the type of the returned value from __streambuf_type*
7257 to basic_stringbuf<_CharT, _Traits, _Alloc>*.
7259 1999-05-25 Phil Edwards <pedwards@ball.com>
7261 * bits/std_streambuf.h (streambuf::setbuf): Always return streambuf*.
7263 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7265 * bits/std_cmath.h: Tweak. Add float versions of the math functions
7266 in <math.h>. <cmath> still incomplete and incorrekt.
7268 1999-05-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7270 * mknumeric_limits (LDFLAGS): set appropriate link flags.
7272 1999-05-23 Phil Edwards <pedwards@ball.com>
7274 * docs/17_intro/howto.html: Added links to text docs,
7276 * docs/21_strings/howto.html: Updated sections and links.
7277 * docs/21_strings/{gotw29a.txt,stringtok_h.txt}: Added.
7278 * docs/faq/index.html: Updated what-works for sixth
7279 snapshot. Also a number of "internal" links have been
7280 fixed, now that the web pages are the docs directory...
7281 * docs/faq/index.txt: Regenerated.
7283 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7285 * bits/basic_string.h: Add Nathan's documentation on the string class.
7287 * testsuite/27_io/ios_members_static.cc: New file, for testing
7288 ios_base::sync_with_stdio.
7290 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7292 * bits/std_locale.h: Simplify includes.
7293 * bits/loccore.h: Delete.
7294 * bits/localefwd.h: Renamed, trimmed.
7295 * bits/locfacets.h: Delete.
7296 * bits/locale_facets.h: Rename, expanded.
7297 * bits/loccore.tcc: Deleted.
7298 * bits/locfacets.tcc: Deleted.
7299 * bits/locale_facets.tcc: Resultant merge.
7300 * bits/std_fstream.h: Modify include.
7301 * bits/ostream.tcc: Same.
7302 * bits/istream.tcc: Same.
7304 * src/locale-inst.cc: And here.
7305 * src/locale.cc: Ditto.
7306 * src/Makefile.am: Updated.
7307 * src/Makefile.in: Rengenerated.
7309 * bits/std_istream.h: Move istream::sentry ctor definition.
7310 * bits/istream.tcc: Move istream::sentry ctor here.
7311 Add more detailed locale include here for ctype member functions.
7312 * bits/ostream.tcc (std): And here.
7314 * bits/sbuf_iter.h: Include std_streambuf.h
7316 * bits/locfacets.h: Start separating this into a localeimp.h file.
7317 * bits/loccore.h: Start separating this into a localefwd.h file.
7318 Add std_climits for CHAR_BIT.
7320 * bits/ios_base.h (ios_base::sync_with_stdio): Stub in.
7322 * bits/char_traits.h: Tweak.
7324 * bits/ios_base.h: Remove INT_MAX, use 1<<16.
7326 * bits/std_ostream.h: Remove c++config.h include.
7327 * bits/std_istream.h: Same.
7328 * bits/std_streambuf.h: Same.
7329 * bits/std_fstream.h: Same.
7330 * bits/std_sstream.h: And here.
7332 * bits/std_iosfwd.h: Add _G_RESOLVE_LIB_DEFECTS here for streampos.
7333 * bits/char_traits.h: Add include of std_cwchar.h for mbstate_t.
7334 * bits/fpos.h: Tweak, format.
7336 * std/ciso646: New file.
7337 * bits/std_ciso646.h: New file.
7338 * src/Makefile.am (std_headers): Add ciso646.
7339 (headers): Add bits/std_ciso646.h.
7340 * src/Makefile.in: Regenerate.
7341 * testsuite/17_intro/header_ciso646.cc: New file, disable
7344 * bits/fpos.h: Remove libio.h include.
7345 * bits/basic_file.h: And here.
7346 * bits/std_ios.h: Put here.
7348 * src/ios.cc: Simplify includes, tweak.
7349 * bits/std_ios.h: Simplify include order.
7350 * bits/ios_base.h: Modify ios_base::failure.
7352 * stl/bits/std_numeric.h: Change include from stl_iterator to
7355 1999-05-19 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7357 * std/iostream: Remove static member __ioint.
7358 * bits/std_iostream.h: Put here.
7360 * stl/bits/std_numeric.h: Remove unneccessary std_iostream.h include.
7361 * stl/bits/stl_algobase.h: Same.
7362 * testsuite/27_io/iostream_objects.cc: Regression tests.
7363 * testsuite/27_io/hello.cc: Remove, subset of above.
7365 1999-05-19 Phil Edwards <pedwards@ball.com>
7367 * docs/index.html: Tweak, update.
7369 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7371 * docs/17_intro/RELEASE-NOTES: remove outdated
7372 documentation about numeric_limits. Correct CXXINCLUDE setting
7375 1999-05-18 Phil Edwards <pedwards@ball.com>
7377 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
7378 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
7379 27_io}/howto.html: Created, with some initial entries.
7380 * docs/faq/index.html: Fixed some links.
7381 * docs/faq/index.txt: Regenerated.
7383 1999-05-18 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7385 * bits/c++config.h (__GLIBCPP__): Set version to 19990518.
7387 * docs/17_intro/RELEASE-NOTES: Update.
7388 * docs/index.html: Correct link to mailing list help page, update News.
7389 * docs/faq/index.html: Change fifth to sixth for snapshot.
7391 * src/Makefile.am (myinstallheaders): Bring over Gaby's changes to
7392 install $(top_builddir)/bits/std_limits.h into
7393 $(myincludepfx)/bits. This was mistakenly omitted from yesterday's
7394 Makefile.am changes.
7395 * *Makefile*: Regenerate using automake.
7397 * mkcheck (LOG_FILE): Fix filebuf directory oddness.
7398 * testsuite/27_io/filebuf.cc: Same.
7400 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7402 * docs/17_intro/CHECKLIST: update.
7403 * docs/17_intro/TODO: update.
7405 1999-05-17 Phil Edwards <pedwards@ball.com>
7407 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
7408 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
7409 27_io}/howto.html: Created, with some initial entries.
7410 * docs/faq/index.html: Fixed some links.
7411 * docs/faq/index.txt: Regenerated.
7413 1999-05-17 Benjamin Kosnik <bkoz@unhappy.cygnus.com>
7415 * src/Makefile.am (myinstallheaders): Missed removing missing.h.
7416 * Makefile.in*: Regenerate.
7418 1999-05-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
7420 * bits/std_streambuf.h: Same.
7422 * bits/loccore.h (_Bad_use_facet): Remove bits warned about.
7423 * bits/locfacets.h (std): Same.
7424 * bits/sstream.tcc: Same.
7425 * testsuite/27_io/stringstream.cc: Tweak.
7427 * testsuite/27_io/filebuf.cc: Adjust.
7428 * testsuite/21_strings/capacity.cc (test01): Add more
7429 string::reserve tests.
7431 * bits/c++config.h: Remove broken CCTYPE.
7432 * bits/std_cctype.h: Tweak, remove de-macroization, enable
7433 sequestered topper implementation.
7434 * bits/std_cwctype.h: Same.
7436 * bits/missing.h: Remove.
7437 * bits/std_locale.h: Remove missing.h include.
7439 * stl/bits/std_bitset.h (bitset::bitset(string): Tweak to compile.
7441 * src/Makefile.am (headers): Add bits/std_cwctype.h.
7442 INCLUDES: Add top_builddir.
7443 * src/Makefile.in: Regenerate.
7445 * Makefile.am: Add check and check-install as new targets.
7446 * testsuite/make_check_libfree++: Move to. . .
7448 * configure.in: Tweak versions.
7449 * mknumeric_limits: Set paths correctly.
7451 1999-05-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7453 * src/Makefile.in (myinstallheaders): add rule to install
7456 * bits/slice.h (class slice): don't const-qualify data members
7457 since the copy and assignment operator is implicitly used. The
7458 valarray specification is definitively a bad one.
7460 * Makefile.in (generate-limits-sources): fix typo.
7462 * docs/text/TODO: update.
7463 * docs/text/CHECKLIST: update.
7465 * bits/gslice.h (gslice): fix bugglet.
7466 (gslice::gslice): set _M_index_size to 0 whenever given lengths
7469 * src/Makefile.am (libstdc___la_SOURCES): add gen-num-limits.
7470 * src/Makefile.in (libstdc___la_SOURCES): keep in sync.
7471 [Note: **/Makefile.in should be generated from the corresponding
7472 Makefile.am. The current situation is a litte chaotic. ]
7474 1999-05-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7476 * mknumeric_limits: tweak.
7478 * Makefile.in (all): add target generate-limits-sources.
7479 (generate-limits-sources): make a directory bits/ in top_builddir
7480 where the generated std_limits.h is put; generate limitsMEMBERs.cc
7481 directly under $(top_builddir)/src. Remains to put the appropriate
7482 rule for installing std_limits.h.
7484 * src/Makefile.in (headers): remove bits/std_limits.h to this list.
7485 (INCLUDES): add -I$(top_builddir) for bits/std_limits.h which is
7486 now generated at build-time in the build directory
7487 (libstdc___la_SOURCES): remove limitsMEMBERS.cc form this list
7488 * src/Makefile.am: reflect changes in src/Makefile.in
7490 1999-05-12 Phil Edwards <pedwards@ball.com>
7492 * docs/faq/index.html: Add more entries (5.4,5.5), finish
7493 all but one empty entry. Add links for HOWTOs, but no files yet.
7494 (Corrected HOWTO links are for bkoz's new scheme.)
7495 * docs/faq/index.txt: Regenerated.
7497 1999-05-12 Benjamin Kosnik <bkoz@happy.cygnus.com>
7499 * testsuite/17_intro/headers.cc: New file.
7500 * stl/bits/std_queue.h: Change stl_bvector.h include path.
7501 * bits/std_cwctype.h: New file.
7503 * testsuite/27_io/filebuf.cc: Need to tweak directory structure.
7505 1999-05-11 Benjamin Kosnik <bkoz@loony.cygnus.com>
7507 * stl/bits/stl_config.h (__USE_MALLOC): Change underlying allocator.
7508 Check __USE_MALLOC before defining specializations containing
7509 __default_alloc_template.
7510 * src/stl-inst.cc: Here too.
7512 * bits/basic_string.h: Change.
7514 * testsuite/make_check_libfree++: More tweaks.
7515 * testsuite/21/capacity.cc: New file.
7517 * src/string.cc: Rename to be consistent with other inst files.
7518 Rename to string-inst.cc.
7519 * src/string*.cc: Change include.
7520 * src/wstring.cc: Rename to wstring-inst.cc.
7521 * src/wstring*.cc: Ditto.
7522 * src/Makefile.in: Also here.
7523 * src/Makefile.am: Ditto.
7525 * src/traits.cc: Remove.
7526 * src/wtraits.cc: Same.
7528 Try a new way of organizing documentation, one with synchronicity
7529 between testsuites and docs subdirectories, and see who yelps.
7530 * docs/html: Remove, use chapter and subject specific directories
7531 instead of forcing things immediately into format of
7535 * docs/faq/text, docs/faq/html: Remove, put in the docs/faq
7536 directory and sort by filename and extension.
7537 * docs/17_intro, 18_support, 19_diagnostics, 20_util, 21_strings,
7538 22_locale, 23_containers, 24_iterators, 25_algorithms,
7539 26_numerics, 27_io: Add.
7540 * docs/17_intro/*: Populate with all the text files. . .
7541 * docs/index.html: Construct.
7543 * testsuite/*: Update with same names as the docs subdir.
7544 * testsuite/results: Where to stash conformance results for the
7545 different snapshots, so that progress/size/speed issues can be
7548 1999-05-10 Benjamin Kosnik <bkoz@loony.cygnus.com>
7550 * src/string.cc: Add _S_copy_chars instantiation, as well as
7551 string::binary operators !=, ==, etc.
7553 * src/Makefile.am (CXXFLAGS): Remove -fvtable-thunks.
7554 * src/Makefile.in (CXXFLAGS): Same here.
7555 * testsuite/make_check_libfree++ (CXX_FLAG): And here.
7557 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
7559 * src/string.cc: Add missing member functions to instantiation list.
7561 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
7563 * src/misc-inst.cc: Remove unused string instantiations.
7565 * bits/string.tcc: Tweak, fix.
7566 * bits/basic_string.h: Format. Fix reported error with c_str().
7568 * testsuite/make_check_libfree++: Tweak for shared builds.
7569 * testsuite/21/operations.cc: New file for testing c_str() etc.
7571 1999-05-06 Benjamin Kosnik <bkoz@cygnus.com>
7572 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7574 * stl/bits/stl_vector.h: Fix the code of vector<> for usage with
7575 an iterator class. Delineate pointer versus iterator differences
7577 * 23/vector_capacity.cc: New file, tests for above.
7579 1999-05-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7581 * mknumeric_limits: Fix typo. 'unsigned lont' should read
7583 * src/Makefile.am (libstdc___la_SOURCES): add limitsMEMBERS.cc,
7584 generated by mknumeric_limits to the list. Now std_limits.h is
7586 * src/Makefile.in (generate-numeric-limits): new target to handle
7587 automatic generation of bits/std_limits.h and src/limitsMEMBERS.cc.
7588 (all): add target generate-numeric-limits.
7589 (libstdc___la_OBJECTS): add limitsMEMBERS.lo
7590 (libstdc___la_SOURCES): add limitsMEMBERS.cc
7592 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
7595 * bits/c++config.h (_G_USE_CTYPE_ISBIT): Defines new macro for
7596 mask values in ctype_base. Move hacks for _ISBit to locfacets.h.
7597 * bits/locfacts.h: Here.
7599 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
7600 Ulrich Drepper <drepper@cygnus.com>
7602 Solaris build issues.
7603 * bits/c++config.h: Define new macros, _G_USE_STRTOF and
7606 * bits/locfacets.tcc (num_get::do_get): Tweak long double and
7607 float overloads to use the above macros. Account for the lack of
7608 strtold on some systems, and revert back to using sscanf.
7610 1999-05-04 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7612 * bits/locfacets.tcc (num_get::do_get): Check the errno variable.
7613 Use strtoul/strtoull for unsigned types. Check the ranges for
7614 short/unsigned short and if necessary for int/unsigned int.
7616 1999-05-04 Benjamin Kosnik <bkoz@cygnus.com>
7618 * src/gen-num-limits.cc (round_style): Need to use mknumericlimits
7619 to generate bits/std_limits.h now, as the SGI std_limits.h is
7620 being depricated. Not done, but should be done immediately: need
7621 to make sure this script is run as part of the configuration
7622 process, because without it "make" in a configured build directory
7623 will fail. Also tweaked: added a space for float_round_style, and
7624 used static_cast of zero to default-initialize, which should be ok
7625 according to the standard. (see 8.5 p5 and 20.1.3).
7626 * mknumeric_limits (OUT_C): Need this for x86 long
7629 * bits/basic_file.h: Include libio.h, not libioP.h.
7630 * src/basic_file.cc: And add libioP.h include here, so that
7631 _IO_init, et. al are well-declared.
7633 * testsuite/make_check_libfree++ (LIB_PATH): Test installed
7634 headers, not source directory headers.
7636 * src/Makefile.am (headers): Add stl_range_errors.h, also adjust
7637 for ext/*. Also add basic_file.h.
7638 * src/Makefile.in (headers): Same.
7640 * bits/std_string.h: Reduce dependencies for faster
7641 pre-processing. Move istream and ostream specific defines into
7642 istream.tcc and ostream.tcc respectively.
7643 * bits/string.tcc: And here.
7644 * bits/basic_string.h: Move getline inline out-of-line, and to
7646 * bits/istream.tcc: Move string::getline and operator>> here.
7647 * bits/ostream.tcc: And here too.
7649 * bits/utility.h: Remove, as clashes with a standard header. Put
7650 __OUTOFRANGE and __LENGTHERROR macros into string.tcc for the time
7651 being, until this can be combined with SGI's approach.
7652 * bits/string.tcc: Add macros, as above.
7653 * bits/loccore.h: Add _Count_ones defines.
7654 * bits/std_string.h: And here too.
7655 * bits/std_locale.h: And here.
7656 * bits/std_ios.h: Take out include here.
7657 * src/Makefile.am (headers): Remove utility.h
7658 * src/Makefile.in (headers): Remove utility.h
7660 * stl/bits/*: Update to SGI STL 3.20.
7661 * stl/ext/pthread_alloc: Delete this file.
7663 1999-05-04 Phil Edwards <pedwards@ball.com>
7665 * docs/faq/html/index.html: Add more entries
7666 * docs/faq/html/index.txt: regenerated.
7668 1999-05-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7670 * src/gen-num-limits.cc (DO_DEFINE_MIN_MAX): fix typo.
7672 1999-04-29 Benjamin Kosnik <bkoz@haight.cygnus.com>
7674 * bits/locfacets.tcc (num_get::do_get): Re-implement, with input
7675 from Ulrich and Nathan. Remove extraneous string class usage,
7676 tweak, clean, simplify and consolidate with a eye towards removing
7677 duplcate code. Use strto[l, ll, f, d, ld] instead of sscanf.
7678 Not done: dealing with leading zeros, wchar_t work.
7679 * bits/locfacets.h: And here too.
7683 1999-04-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7686 * docs/faq/: New directory.
7687 * docs/faq/html/: Likewise.
7688 * docs/faq/text/: Likewise.
7689 * docs/faq/html/index.html: New file.
7690 * docs/faq/html/index.txt: Likewise. Generated from
7691 docs/faq/html/index.html by lynx.
7693 1999-04-28 Benjamin Kosnik <bkoz@happy.cygnus.com>
7694 Ryszard Kabatek and Branko Cibej
7696 * bits/locfacets.tcc: Modify.
7698 1999-04-27 Benjamin Kosnik <bkoz@happy.cygnus.com>
7700 * bits/sbuf_iter.h: Clean, fix istreambuf_iterator, make
7701 conformant to 14882, wrap non-standard extensions with
7702 _G_RESOLVE_LIB_DEFECTS, remove detritus and cruft, rennovate.
7703 * bits/locfacets.tcc (num_get::do_get(bool)): Return correct iterator.
7705 * testsuite/27/istringstream_formatted.cc: Add tests.
7707 * bits/locfacets.h: Remove cruft from _Format_cache, continue
7708 commenting, simplify.
7709 * bits/locfacets.tcc: Same.
7711 1999-04-27 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7712 * bits/locfacets.tcc (num_get::do_get):
7713 Fix the sscanf format parameter
7714 for long long 'll' (as in C9X) instead of 'l'.
7715 Fix the order of sscanf format parameters: "%dl" --> "%ld".
7716 Change the type of the local variable '__conv' from 'string'
7717 to 'const char*' and adapt the change.
7719 1999-04-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7721 * bits/locfacets.h: Document _Format_cache, and name data members
7722 after the corresponding functions in numpunct. For instance:
7723 _M_grsep -> _M_thousands_sep, and _M_decsep -> _M_decimal_point.
7724 Break apart _M_boolnames{2] into _M_truename and _M_falsename.
7725 * bits/locfacets.tcc: Same.
7727 * bits/locfacets.h (num_get::_M_extract): Don't allow groupings to
7728 stop parsing--store for later analysis.
7729 * testsuite/27/istringstream_formatted.cc: Add cases.
7731 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7733 * bits/valarray_meta.h: tweak.
7734 (_UnFunBase, _BinFunBase, _BinFunBase1, _BinFunBase2, _BinBase1,
7735 _BinFunBase2): rename typedef-name _Tp to _Vt to keep the compiler
7736 happy -- boggus warning.
7737 * bits/std_valarray.h: Fix.
7738 (valarray<T>::shift): Fix. Update comment.
7739 (valarray<T>::cshift): Fix.
7741 1999-04-23 Benjamin Kosnik <bkoz@cygnus.com>
7743 * testsuite/27filebuf-2.txt: Delete.
7744 * testsuite/27/filebuf.cc: Put output files directly into the
7745 correct subdirectory (27).
7747 Alexandre Petit-Bianco <apbianco@cygnus.com>
7748 * testsuite/make_check_libfree++: Check generated (*.txt) file
7749 against stored results file (*.tst).
7751 1999-04-22 Benjamin Kosnik <bkoz@nabi.net>
7753 * bits/locfacets.tcc: Fix.
7755 * bits/fstream.tcc (filebuf::seekoff): Output current out pointer.
7756 (filebuf::overflow): Simplify.
7757 (filebuf::xsputn): Correctly handle indeterminate state.
7759 * testsuite/27/istringstream_formatted.cc: Tweak.
7760 * testsuite/27/filebuf.cc: Tweak.
7761 * testsuite/27/filebuf-3.tst: Correct: this is the canonical
7762 results file, please use this in the future to guarantee filebuf
7763 positioning accuracy.
7764 * testsuite/27/filebuf-2.tst: Same.
7766 1999-04-21 Benjamin Kosnik <bkoz@cygnus.com>
7768 * bits/fstream.tcc (filebuf::xsputn): Add.
7769 * bits/std_fstream.h: Declare.
7771 * src/basic_file.cc (__basic_file::open): Add O_CREAT to open
7772 calls using ios_base::trunc.
7774 * bits/sstream.tcc (streambuf::overflow): Fix crasher.
7776 * testsuite/make_check_libfree++ (LOG_FILE): Ugh. Another fix.
7777 * testsuite/27/27stringstream.cc: Same.
7778 * testsuite/27/27stringbuf.cc: More tweaks.
7779 * testsuite/27/27filebuf-2.txt: Remove.
7781 * testsuite/27/27filebuf-1.tst: Append, to force byte size over
7782 BUFSIZE so that overflows/underflow can be tested with default
7784 * testsuite/27/27filebuf-1.tst: Add.
7786 * testsuite/*/*: Remove pre-pended chapter names, as they
7787 duplicate the chapter info contained in the enclosing directory
7790 1999-04-20 Benjamin Kosnik <bkoz@cygnus.com>
7792 * bits/streambuf.tcc (streambuf::xsputn): Re-implement to conform
7793 to sputc conditions.
7795 * bits/ios_base.h: Define here.
7796 * src/ios.cc (ios_base::_M_clear): Remove hack.
7797 * bits/basic_ios.h: Fix rdstate().
7799 * bits/sstream.tcc (streambuf::seekoff): Fix.
7800 * bits/fstream.tcc (filebuf::seekoff): Tweak comments.
7802 * testsuite/make_check_libfree++ (LOG_FILE): More c-c-c-changes.
7803 * testsuite/24/24iterator.cc: Add/Fixes for DEBUG_ASSERT.
7804 * testsuite/27/27stringstream.cc: Same.
7805 * testsuite/27/27stringbuf.cc: Same.
7806 * testsuite/27/27istringstream_formatted.cc: Same.
7807 * testsuite/27/27filebuf.cc: Same.
7809 * bits/locfacets.h: Remove specializations for messages<char> and
7810 messages<wchar_t> ctors. Same for moneypunct. Not required, not used.
7811 * src/locale.cc: Remove definitions for above.
7812 * src/misc-inst.cc: Revert, take out iomanip.h include.
7813 * bits/std_iomanip.h: Tweak, format.
7815 1999-04-19 Benjamin Kosnik <bkoz@cygnus.com>
7817 * bits/loccore.h: Format, move inline.
7818 * bits/locfacets.tcc: Same.
7819 * bits/locfacets.h: Same.
7821 Ulrich Drepper <drepper@cygnus.com>
7822 * aclocal.m4: Re-generate.
7823 * configure, configure.in: Same.
7824 * m4/lc_messages.m4: New file.
7826 1999-04-18 Benjamin Kosnik <bkoz@cygnus.com>
7828 * bits/std_ostream.h: Fix typedef for wchar_t instantiations.
7829 * bits/sstream.tcc: Tweak.
7831 * std/iostream: Put __ioinit inside macro guards.
7833 * src/stlinst.cc: Delete and move to . . .
7834 * src/stl-inst.cc: New file, plus wrapping in namespace std.
7835 * src/Makefile.in: Change.
7836 * src/Makefile.am: Same.
7837 * src/misc-inst.cc: Add istringstream/ostringstream instantiations.
7839 * testsuite/make_check_libfree++: Efficiently format for minimal
7840 space. Enforce stricter execution tests by enabling
7843 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
7845 * docs/text/RELEASE-NOTES: Fix include typo.
7847 * src/Makefile.am (headers): Add istream.tcc.
7848 * src/Makefile.in (headers): Add istream.tcc.
7850 * ltconfig, ltmain.sh, libtool: Update to libtool-1.2g.
7852 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
7854 * bits/locfacets.tcc (num_get::do_get(long)): Finish roughing in.
7855 * bits/locfacets.h (num_get::_M_extract): New functin:
7856 consolidate logic for do_get(...) members.
7858 * bits/sbuf_iter.h (istreambuf_iterator::operator++()): Fix.
7859 * testsuite/27/27istringstream_formatted.cc: Add.
7861 1999-04-16 Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de>
7863 * src/basic_file.cc (__basic_file::open): Fix thinko in
7864 _G_HAVE_IO_FILE_OPEN bits.
7865 * bits/std_istream.h (sentry::sentry(istream, bool)): Fix isspace bug.
7866 * bits/std_cmath.h: Add stdlib.h include for ldiv_t.
7867 * src/complex.cc (FCT): Qualify all functions with global namespace.
7868 * src/locale.cc: Don't qualify memcpy and setlocale.
7869 * src/stdexcept.cc (__out_of_range): Qualify out_of_range with std::.
7870 (__length_error): Likewise, for length_error.
7871 * src/stlinst.cc: Qualify instantiations with std::.
7873 1999-04-15 Benjamin Kosnik <bkoz@cygnus.com>
7875 * C++STYLE: Add ChangeLog guidelines for member functions.
7878 * BADNAMES, BUGS, C++STYLE, CHECKLIST, COPYING,
7879 DESIGN, HEADER_POLICY, PROBLEMS, RELEASE-NOTES, TODO: Moved into
7880 docs/text and made less strident.
7882 * bits/fstream.tcc: Change non-standard ctor to match Sun's sematics.
7883 * bits/std_fstream.h: Same.
7886 * bits/locfacets.h: Touch.
7888 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
7890 * math/cexp.c (cexp): Use NAN instead of nan("").
7891 Reported by joel reed <joelreed@yahoo.com>.
7893 * libio/libioP.h: Define _IO_seek_fpos_t and _IO_seek_off_t based on
7894 _G_IO_IO_FILE_VERSION. Use these types in the prototypes.
7895 * libio/fileops.c: Use _IO_seek_fpos_t and _IO_seek_off_t types
7896 instead of #if cascades.
7897 * libio/genops.c: Likewise.
7898 * libio/ioseekoff.c: Likewise.
7899 * libio/ioseekpos.c: Likewise.
7900 * libio/strops.c: Likewise.
7901 Patch by Chip Salzenberg <chip@perlsupport.com>.
7903 1999-04-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7905 * docs: New directory.
7906 * docs/html: Likewise.
7907 * docs/text: Likewise.
7908 * docs/image: Likewise.
7910 * bits/std_cmath.h: Add new functions.
7911 (abs): overload for long and double.
7912 (div): overload for long.
7914 * bits/valarray_array.h: Fix.
7915 * bits/gslice.h: Adjust friend.
7916 * bits/slice_array.h: likewise.
7917 * bits/valarray_meta.h: likewise.
7919 1999-04-13 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7921 * bits/locfacets.h: More changes, for num_get for insertion
7922 operators for integral types. Comment fields in _Format_cache.
7923 * bits/locfacets.tcc: And here too: add preliminary long version.
7924 * testsuite/27/27istringstream_formatted.cc: Add cases.
7926 1999-04-13 Mark Elbrecht <snowball3@usa.net>
7928 * configure.in: Add locale.h to AC_CHECK_HEADERS argument. Call
7929 AC_LC_MESSAGES macro.
7930 * aclocal.m4 (AC_LC_MESSAGES): New. Determines if a target
7931 supports LC_MESSAGES.
7932 * config.h.in: Add entry for HAVE_LC_MESSAGES.
7933 * src/locale.cc (locale::_S_normalize_category): Use the
7934 HAVE_LC_MESSAGES macro to check for LC_MESSAGES support instead of
7935 _G_NO_CLOCALE_HAS_MESSAGES.
7936 * aclocal.m4 (AM_PROG_LD): For DOS style paths, simplify test to
7937 '?:' from '?:\\' so any path beginning with a drive name matches.
7939 1999-04-12 Mark Elbrecht <snowball3@usa.net>
7941 * src/basic_file.cc(sys_open) [O_BINARY]: Declare __testb.
7943 1999-04-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7945 * bits/locfacets.h: Tweak.
7946 * bits/locfacets.tcc(do_get): Clean/fix bool method.
7948 * testsuite/21/21nonmember.cc: Same.
7949 * testsuite/21/21compare.cc: Fix license.
7950 * testsuite/27/27istringstream_formatted.cc: New file.
7952 1999-04-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7954 * bits/valarray_meta.h: _BinFunBase1, _BinFunBase2, _BinBase1,
7955 _BinBase2: new template classes; put in there to work around a
7956 compiler limitation. The whole valarray architecture is now
7959 1999-04-08 Benjamin Kosnik <bkoz@haight.constant.com>
7961 * bits/locfacets.tcc: Fix, format.
7962 * bits/locfacets.h: Fix.
7963 * src/locale.cc: Same, plus format.
7965 * bits/basic_string.h: Re-add definition here.
7966 * src/string.cc: Take out.
7968 1999-04-08 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7970 * bits/std_valarray.h: tweak.
7971 * bits/valarray_array.h tweak. use _Expr.
7972 * bits/slice_array.h: likewise.
7973 * bits/gslice_array.h: likewise.
7974 * bits/mask_array.h: likewise.
7975 * bits/indirect_array.h: likewise.
7976 * bits/valarray_meta.h: tweak.
7977 _UnFunBase, _UnFunClos, _BinFunBase, _FunBase, _ValFunClos,
7978 _RefFunClos, _UnBase, _UnClos, _BinBase, _BinClos, _SClos, _GClos,
7979 _IClos: new template classes.
7980 _Meta: renamed to _Expr. Made template with args.
7981 _Constant: made template with two args.
7983 1999-04-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7985 * bits/valarray_array.h: tweak.
7987 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
7989 * bits/basic_string.h: Whoops--fix blip.
7991 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
7993 Update to SGI STL 3.13
7994 * bits/basic_string.h: Add __get_c_string definition.
7995 * stl/bits/stl_range_errors.h: New file.
7996 * stl/bits/std_bvector.h: Same.
7997 * stl/bits/*: Update.
7999 1999-04-04 1999 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8001 * bits/slice_array.h: tweak.
8002 * bits/gslice_array.h: tweak.
8003 * bits/mask_array.h: tweak.
8004 * bits/indirect_array.h: tweak.
8005 * bits/valarray_array.h: tweak.
8006 (__valarray_copy): replace copy with memcpy.
8007 * bits/std_valarray.h: use __valarray_copy whenever possible.
8008 use __valarray_fill instead of fill.
8010 1999-04-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8012 * src/gen-num-limits.cc: new file
8013 * mknumeric_limits: Ditto.
8015 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
8017 * bits/locfacets.tcc: Do a stub version of num_get for short, int,
8019 * bits/locfacets.h: Add num_get::get methods overloaded for int
8020 and short, to resolve ambiguous overloads in istream insertion
8023 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
8025 * bits/std_istream.h: Fix.
8026 * bits/istream.tcc: Fix.
8028 1999-03-30 Philip Martin <pm@corris.dircon.co.uk>
8030 * testsuite/24/24iterator.cc: fix ++/-- tests
8032 1999-03-29 Benjamin Kosnik <bkoz@cygnus.com>
8034 * bits/std_ostream.h: Looks like this, actually: Fix up eh-isms.
8035 * bits/ostream.tcc: Same.
8037 * bits/std_istream.h: Bring over ostream changes, implement member
8038 functions. Baseline.
8039 * bits/istream.tcc: New file.
8041 1999-03-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8043 * bits/gslice.h (class gslice): fix friends template.
8045 1999-03-23 Benjamin Kosnik <bkoz@cygnus.com>
8047 * bits/std_ostream.h: Fix sentry objects, implement seekp, tellp,
8049 * bits/ostream.tcc: Same.
8051 * bits/std_istream.h: Minor tweaks.
8053 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
8055 * src/locale-inst.cc: Remove duplicate instantiations.
8056 * bits/locfacets.tcc: Tweak definitions of static member.
8058 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
8060 * bits/std_fstream.h: Format: prepend "__" in front of
8061 non-standard typedefs.
8062 * bits/fstream.tcc: Match.
8063 * bits/std_streambuf.h: Format: prepend "__" in front of
8064 non-standard typedefs.
8066 * bits/sstream.tcc: Match.
8067 * bits/std_istream.h: Format.
8068 * src/locale-inst.cc: Add num_get instantiations.
8070 * bits/std_sstream.h: Fix crash in stringstreams. Remove member
8071 _M_sb, a basic_stringbuf object, and use the basic_ios pointer
8072 _M_streambuf instead. Make initializations sane. Fix
8073 allocation/deallocation of _M_streambuf.
8074 * bits/std_ostream.h: Fix initialization code.
8075 (ctor): Eliminate redundant this->init(), let base class initialize.
8076 (default ctor): New. Assume base classes already initialzed.
8077 * bits/std_istream.h: Parallel work to ostream.
8078 (ctor): Eliminate redundant this->init(), let base class initialize.
8079 (default ctor): New. Assume base classes already initialzed.
8080 Fix initialization of basic_iostream.
8082 * bits/std_fstream.h: While we're at it, make initializations sane
8083 here too. Now matches sstream.h.
8085 * bits/string.tcc: Fix crash in basic_string::compare.
8086 * bits/basic_string.h: And here.
8087 * bits/c++config.h: Add comment about _G_USE_EXCEPTIONS.
8089 * testsuite/make_check_libfree++: Check shared as well.
8090 * testsuite/27/27stringstream.cc: Add bits.
8091 * testsuite/27/27boolfmt.cc: Add bits.
8092 * testsuite/27/27octfmt.cc: Add bits.
8094 1999-03-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
8096 * configure.in (USE_LONG_DOUBLE): signbitl link error.
8098 * bits/locfacets.h: Fix errors that cause build problems
8099 with current egcs (template parameters have class scope).
8100 * bits/locfacets.tcc: Same.
8101 * src/locale-inst.cc: Same, clean.
8102 * src/misc-inst.cc: Same, clean.
8104 1999-03-17 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8106 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
8107 standard. Re-apply this previous patch.
8109 1999-03-17 Philip Martin <pm@corris.dircon.co.uk>
8111 * bits/basic_string.h: Use __normal_iterator<> for iterators.
8112 * bits/std_sstream.h: Support __normal_iterator<> iterators.
8113 * bits/string.tcc: Ditto.
8114 * src/misc-inst.cc: Ditto.
8115 * src/locale-inst.cc: Ditto.
8116 * stl/bits/stl_iterator.h: Add __normal_iterator<>.
8117 * stl/bits/stl_vector.h: Use __normal_iterator<> for iterators.
8118 * testsuite/24/24iterator.cc: Add test cases for basic_string and
8121 1999-03-16 Benjamin Kosnik <bkoz@cygnus.com>
8123 * bits/locfacets.tcc: Remove macro hack.
8124 * bits/locfacets.h: Tweaks.
8125 * src/misc-inst.cc: Weed out locale-related instantiations.
8126 * src/locale-inst.cc: Same.
8128 * RELEASE-NOTES: Make more changes.
8129 * bits/c++config.h: Bump version number.
8131 * testsuite/make_check_libfree++: Collect diagnostics.
8133 * bits/std_ostream.h: Fix ostream initialization/destruction
8134 problem, related to dtor cleanup and new cached facets, agggggggh.
8135 * bits/ostream.tcc: Tweak.
8136 * bits/locfacets.h: Remove all friends of iostream classes.
8137 * bits/ios_base.h: Same.
8138 * bits/streambuf.tcc: Tweak.
8139 * bits/std_streambuf.h: Tweak.
8140 * bits/std_fstream.h: Tweak.
8141 * bits/fstream.tcc: Tweak.
8142 * src/stdstreams.cc: Tweak.
8143 * src/ios.cc: Close streams.
8145 * math/Makefile.in: Add missing files for shared link errors.
8146 * math/Makefile.am: Same.
8148 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
8150 * src/locale-inst.cc: More wchar_t instantiations.
8151 * src/misc-inst.cc: Missed a few bits.
8152 * testsuite/make_check_libfree++: Add static and shared runs.
8153 * src/ios.cc: Add clarity to ios_base::Init::~Init().
8155 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
8157 * bits/std_ostream.h: Format, expunge, simplify. Add cached
8158 facets. Resolve link errors.
8159 * bits/ostream.tcc: Same.
8160 * src/misc-inst.cc: Add ostream, wostream instantiations.
8161 * src/Makefile.am: Add missing bits for stdstreams.cc.
8162 * src/Makefile.in: Same.
8163 * bits/std_iosfwd.h: Format.
8164 * bits/locfacets.h (num_put): Add basic_ostream as a friend to
8165 num_put so that cached _M_fnumput pointer can be deleted in
8166 basic_ostream's dtor. Now everybody plays nice.
8168 1999-03-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8170 * bits/gslice.h (class gslice): Make friends valarray,
8171 gslice_array and _GliceExpression.
8173 1999-03-11 Benjamin Kosnik <bkoz@cygnus.com>
8175 * RELEASE-NOTES: Update.
8176 * src/ios.cc: Use do proper init.
8177 * bits/std_streambuf.h: Tweak.
8178 * bits/std_iostream.h: Take out static member.
8179 * std/iostream: Put here.
8180 * bits/std_ostream.h: Non-default ctor shouldn't smash _M_streambuf.
8181 * bits/std_istream.h: Ditto.
8182 * bits/basic_ios.h: Format.
8183 * bits/ostream.tcc(write): Fix.
8184 * bits/fstream.tcc: Fix stdstreams ctor to do a proper
8185 initialization of the fstream class.
8186 * src/stdstreams.cc: I'm baaaaaaaack.
8188 1999-03-10 Benjamin Kosnik <bkoz@rhino.cygnus.com>
8190 * bits/ios_base.h: Correct comments. Add ios_base::init()
8191 functionality. Format, tweak, expunge, clean, bathe, and hang to dry.
8192 * src/misc-inst.cc: Add instantiations here.
8193 * src/ios.cc: Clean.
8194 * bits/std_iostream.h: Add wrappers, global ios_base::Init object.
8195 * src/stdstreams.cc: Delete this file, as now unnecessary.
8196 * bits/fstream.tcc: Add missing initialization bits for ctor.
8197 * src/Makefile.am (libstdc___la_SOURCES): Delete here as well.
8198 * src/Makefile.in (libstdc___la_OBJECTS): And here.
8200 * bits/streambuf.tcc: Tweak.
8201 * bits/sstream.tcc: Here too.
8203 * bits/fstream.tcc: And change definition as well.
8204 * bits/std_fstream.h: Change ctor.
8205 * src/basic_file.cc (sys_open): Add call that opens a specific fileno.
8206 * bits/basic_file.h: Add declarations.
8208 * testsuite/27/27hello.cc: New file.
8210 * bits/std_ostream.h: Move flush() inline.
8211 * bits/ostream.tcc: From here.
8213 * bits/char_traits.h: Add include of fpos.h for streamoff/streampos.
8214 * bits/std_ios.h: Change include libio to only when necessary.
8215 * bits/fpos.h: Like here.
8216 * ios_base.h: And here.
8218 * bits/locfacets.h: Change _Iostate to _Ios_Iostate.
8219 * bits/locfacets.tcc: Same.
8220 * bits/std_locale.h: Include std_ios.h not std_iosfwd.h.
8221 * bits/std_iosfwd.h: Move _Ios_Iostate to ios_base.h
8223 1999-03-09 Benjamin Kosnik <bkoz@rhino.cygnus.com>
8225 * bits/basic_ios.h: Change _M_ctype to _M_fctype.
8227 * bits/std_streambuf.h: Clean, tweak.
8228 * bits/std_fstream.h: Same.
8229 * bits/std_sstream.h: Same.
8230 * bits/streambuf.tcc: Move most member functions out-of-line.
8231 * bits/fstream.tcc: Same.
8232 * bits/streambuf.tcc: Same.
8234 * bits/basic_file.h(filepos_cur): Set correctly.
8235 (filepos_beg): Same.
8236 (seekpos): Change to __c_streampos.
8237 * src/basic_file.cc (std): Change to __c_streampos.
8239 * testsuite/27/27filebuf.cc: Round one is finished.
8240 * testsuite/27/27filebuf-2.tst: New file, final output should match.
8241 * testsuite/27/27filebuf-3.tst: Same.
8243 1999-03-08 Benjamin Kosnik <bkoz@rhino.cygnus.com>
8245 * bits/basic_file.h: Fix typo, add comments about what to expect
8246 from the various member functions in __basic_file.
8248 * bits/std_fstream.h: Re-do sync/underflow to work
8249 together. Change from sys_read to xsgetn and from sys_write to
8250 xsputn. As it should have been from the beginning. . .
8252 1999-03-06 Benjamin Kosnik <bkoz@haight.constant.com>
8254 * bits/c++config.h (__GLIBCPP__): Add versioning macro.
8256 * bits/basic_file.h(file_beg): New function.
8259 * testsuite/27/27filebuf.cc: Test in, out, in | out.
8260 * bits/std_fstream.h: More _M_mode refinements.
8261 (synch): Add bits for out mode only.
8262 * bits/std_streambuf.h(xsputn): Correct for filebufs.
8263 * bits/std_sstream.h: Ditto.
8265 1999-03-03 Benjamin Kosnik <bkoz@cygnus.com>
8267 * bits/std_fstream.h: Fix _M_mode AND with ios_base::openmode.
8268 * testsuite/27/27filebuf.cc: Modify.
8269 * bits/c++config.h: Fix.
8271 1999-03-02 Benjamin Kosnik <bkoz@tintin.cygnus.com>
8273 * bits/c++config.h: New macro, _G_RESOLVE_LIB_DEFECTS, used to put
8274 code in place that diverges from the final standard, but has been
8275 brought up on the library mailing list.
8277 * bits/std_fstream.h(underflow): Position all three internal
8278 buffer pointers at the same initial position. Re-implement with
8279 basic_filebuf abstraction.
8283 * bits/std_sstream.h: Move _M_mode down into base class
8285 * bits/sstream.tcc: Ditto.
8286 * bits/std_streambuf.h: Ditto.
8288 * testsuite/27/27filebuf.cc: Tweak.
8290 1999-02-27 Benjamin Kosnik <bkoz@slap-happy.cygnus.com>
8292 * bits/std_sstream.h: Ditto.
8293 * bits/std_fstream.h: Fix blip.
8295 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
8297 * C++STYLE: Add cases.
8298 * bits/std_fstream.h: Format.
8299 * bits/std_streambuf.h: Ditto.
8300 * bits/std_sstream.h: Ditto.
8302 * src/basic_file.cc(sys_seek): Fix stack delirium, by keeping
8303 return type for _IO_file_seek and __basic_file::seek the same size.
8304 * bits/basic_file.h: Ditto.
8306 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
8308 * bits/fstream.tcc: Add include guards.
8309 * src/misc-inst.cc: Add instantiations for shared libes.
8310 * src/locale-inst.cc: Add instantiaions for use_facet.
8311 * bits/loccore.h: Remove specialization foward decls for
8312 use_facet<ctype>: perhaps add the whole lot of them later on.
8313 * bits/std_fstream.h: Fix.
8314 * bits/locfacets.h: Ditto.
8315 * src/stdstreams.cc: Disable wide streams for now.
8317 * src/Makefile.am (CXXFLAGS): Change up.
8318 * src/Makefile.in (CXXFLAGS): Ditto.
8320 1999-02-25 Benjamin Kosnik <bkoz@happy.cygnus.com>
8322 * src/basic_file.cc: Change to ios_base::seekdir from int.
8323 * bits/basic_file.h: Ditto.
8324 * bits/locfacets.h : Fix blip with new guard macros.
8326 1999-02-25 Benjamin Kosnik <bkoz@cygnus.com>
8328 * stl/bits/stl_config.h (__STL_USE_STD_ALLOCATORS): Minor tweaking.
8329 * bits/c++config.h: Clean. Remove _G_NO_STREAMBUF_ITERATORS and
8331 * amm1/locale: Remove unused defines.
8332 * generic/locale: Ditto.
8333 * src/ios.cc: Ditto.
8334 * src/locale.cc: Ditto.
8335 * src/locale-inst.cc: Ditto.
8336 * src/localename.cc: Ditto.
8337 * src/stdstreams.cc: And here.
8339 * bits/c++config.h (_G_USE_WCHAR_T): Fix.
8340 * bits/loccore.h: Simplify, clean, add wchar_t guards.
8341 * bits/loccore.tcc: Ditto.
8342 * bits/locfacets.h: Ditto.
8343 * src/locale-inst.cc: Ditto.
8344 * bits/locfacets.tcc: Add do_put long long here.
8346 1999-02-24 Benjamin Kosnik <bkoz@cygnus.com>
8348 * bits/std_streambuf.h: Add cached ctype facet, _M_ctype.
8349 * bits/basic_ios.h: Clean. Replace _M_strbuf with
8350 _M_streambuf. Use cached _M_cvt in basic_streambuf.
8351 * bits/std_istream.h: Replace _M_strbuf with _M_streambuf.
8352 * bits/std_fstream.h: Tweak.
8354 * bits/char_traits.h: Remove fpos definitions from here. . .
8355 * bits/fpos.h: New file, put them here. Eventually, this may allow
8356 the severing of char_traits and fpos dependancies.
8357 * src/Makefile.in: Add fpos.h.
8358 * src/Makefile.am: Ditto.
8359 * bits/std_string.h: Add fpos.h include here.
8360 * bits/std_ios.h: And here.
8362 * bits/std_streambuf.h: Change _M_init to _M_initialized.
8363 * bits/ios_base.h: Remove cstdio include.
8364 * bits/std_ios.h: ... Place here.
8366 1999-02-23 Benjamin Kosnik <bkoz@loony.cygnus.com>
8368 * src/Makefile.in (CXXFLAGS): Re-add -fvtable-thunks.
8369 * src/Makefile.am (CXXFLAGS): Re-add -fvtable-thunks.
8371 * bits/basic_file.h: Comment, adjust arguments.
8372 * src/basic_file.cc: Ditto.
8374 * bits/std_fstream.h(seekoff): Error is of fpos type, not integral
8375 type: check and convert accordingly. Re-interpet "resultant stream
8376 position" to indicate external byte sequence location, not internal
8379 1999-02-22 Benjamin Kosnik <bkoz@loony.cygnus.com>
8381 * mkcshadow: And change copyright here.
8382 * src/Makefile.am (CXXFLAGS): Add -g -O2. Add new header
8383 dependencies for stl_pthread_alloc.h, pthread_allocimpl.h,
8384 stl_thread.h, and stl_iterator_base.h.
8385 * src/Makefile.in (CXXFLAGS): Ditto.
8386 * stl/backward/pthread_alloc.h: Remove.
8388 1999-02-19 Benjamin Kosnik <bkoz@loony.cygnus.com>
8390 * bits/std_streambuf.h (sungetc): Use standard defs for putback
8392 * bits/std_fstream.h (pbackfail): Correct.
8394 (seekoff): Implement.
8396 * testsuite/27/27filebuf.cc: Add test cases.
8398 1999-02-18 Benjamin Kosnik <bkoz@loony.cygnus.com>
8400 * bits/std_fstream.h: Go with basic_file's interfaces for dealing
8401 with the external buffers, and stop mucking around with setting
8402 and re-setting the external buf's pointers. Aka, clarity and
8403 simplicity rule the day.
8404 * src/locale.cc: Use memcpy in codecvt::do_in and codecvt::do_out.
8405 Remove partial result and support code.
8407 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
8409 * configure.in: Add hypot, hypotf, atan2f, expf, and copysignf to
8410 list of function which have to be replaced.
8411 Remove expf from list of functions to test for.
8412 Define USE_LONG_DOUBLE in case the libm has partial support for long
8414 * Makefile.in: Regenerated.
8415 * config.h.in: Likewise.
8416 * configure: Likewise.
8417 * libio/Makefile.am (LIBIO_SRCS): Add missing backslash.
8418 * libio/Makefile.in: Regenerated.
8419 * src/Makefile.in: Regenerated.
8420 * string/Makefile.in: Regenerated.
8421 * math/Makefile.am (EXTRA_DIST): Add hypot.c, hypotf.c, hypotl.c,
8422 atan2f.c, expf.c, and $(EXTRA_yes).
8423 (EXTRA_yes): Add signbitl.c mycabsl.c.
8424 (libmath_la_LIBADD): Add $(EXTRA_$(USE_LONG_DOUBLE)).
8425 (libmath_la_SOURCES): remove long double versions.
8426 * math/Makefile.in: Regnerated.
8427 * math/atan2f.c: New file.
8428 * math/copysignf.c: New file.
8429 * math/expf.c: New file.
8430 * math/hypot.c: New file.
8431 * math/hypotf.c: New file.
8432 * math/hypotl.c: New file.
8433 * math/cargf.c: Use correct function and macro names.
8434 * math/ccos.c: Likewise.
8435 * math/ccosh.c: Likewise.
8436 * math/ccoshf.c: Likewise.
8437 * math/ccoshl.c: Likewise.
8438 * math/cexp.c: Likewise.
8439 * math/cexpf.c: Likewise.
8440 * math/cexpl.c: Likewise.
8441 * math/clog.c: Likewise.
8442 * math/clog10.c: Likewise.
8443 * math/clog10f.c: Likewise.
8444 * math/clog10l.c: Likewise.
8445 * math/clogf.c: Likewise.
8446 * math/clogl.c: Likewise.
8447 * math/copysignf.c: Likewise.
8448 * math/csin.c: Likewise.
8449 * math/csinf.c: Likewise.
8450 * math/csinh.c: Likewise.
8451 * math/csinhf.c: Likewise.
8452 * math/csinhl.c: Likewise.
8453 * math/csinl.c: Likewise.
8454 * math/csqrt.c: Likewise.
8455 * math/csqrtf.c: Likewise.
8456 * math/csqrtl.c: Likewise.
8457 * math/ctan.c: Likewise.
8458 * math/ctanf.c: Likewise.
8459 * math/ctanh.c: Likewise.
8460 * math/ctanhf.c: Likewise.
8461 * math/ctanhl.c: Likewise.
8462 * math/ctanl.c: Likewise.
8464 1999-02-17 Benjamin Kosnik <bkoz@cygnus.com>
8466 * testsuite/27/27filebuf.cc: Add cases.
8467 * testsuite/27/27filebuf-1.txt: Remove inadvertent garbage.
8468 * bits/std_streambuf.h: Simplify, always have one return statement.
8469 * bits/std_fstream.h: Tweak comments in underflow.
8471 1999-02-17 Ulrich Drepper <drepper@cygnus.com>
8473 * ltmain.sh: Update from libtool 1.2d and fix Solaris problems.
8474 * ltconfig: Likewise.
8476 1999-02-16 Christophe Pierret <cpierret@businessobjects.com>
8478 * src/locale.cc: Fix assert.
8480 1999-02-16 Benjamin Kosnik <bkoz@cygnus.com>
8482 FIXME: Still need some kind of solution for undefined math symbols.
8483 * src/Makefile.in (locale-inst.lo): Compile with
8484 -fimplicit-templates to fix Solaris link problem.
8485 * src/Makefile.am: Ditto.
8486 * libio/Makefile.in: Add stdfiles.c so that _IO_list_all is defined.
8487 * libio/Makefile.am: Ditto.
8488 * src/locale.cc: Provide some kind of def for _S_tolower.
8489 * bits/locfacets.h: Fix declarations of ctype<wchar_t> to
8490 match ctype<char> for _S_tolower, _S_toupper, _S_table.
8492 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
8494 * bits/loccore.tcc: Move member-template ctor inline...
8495 * bits/loccore.h: ...here.
8496 * src/locale-inst.cc: Add instantiation here.
8498 * testsuite/27/27stringstream.cc: Tweak.
8500 * bits/ostream.tcc: Include sbuf_iter.h.
8502 * bits/ostream.tcc: Convert *this to ostreambuf_iterator before
8503 passing to num_put, as num_put's first argument is an interator,
8506 * testsuite/make_check_libfree++: New file, runs through the
8507 existing test files in the testsuite directory and makes sure
8510 1999-02-10 Brendan Kehoe <brendan@cygnus.com>
8512 * testsuite/21/21compare.cc: Fix typo.
8513 * src/locale.cc (ctype<wchar_t>::_S_{toupper,tolower,table}):
8514 Don't try to provide non-linux versions, since it's impossible to
8515 initialize their const references with the integer 0, no matter
8516 how we try to cast it.
8518 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
8520 * bits/std_locale.h: Move std_vector.h dependency.
8521 * bits/std_ios.h: ...from here.
8522 * bits/std_string.h: ...and here.
8523 * src/locale.cc: ..to here.
8524 * bits/loccore.h: Ditto, add vector forward declaration,
8525 make locale::_Impl data members pointers not containers.
8526 * bits/loccore.tcc: Move out-of-line for now.
8527 * bits/locfacets.h: Move vector dependency from here...
8528 * bits/locfacets.tcc: ...to here.
8529 * src/localename.cc: ..and here.
8530 * src/locale-inst.cc: Add include of locfacets.tcc here.
8532 * stl/bits/stl_string_fwd.h: Make __get_c_string non-static.
8533 * bits/basic_string.h: Can't use sizeof on an incomplete type.
8534 * bits/string.tcc: Tweak.
8535 * src/string.cc: And add __get_c_string def here.
8537 * bits/std_fstream.h: Yeah, comment the fill_n idea out as impractical.
8539 * src/stlinst.cc: Add include of stl_config.h.
8541 1999-02-09 Benjamin Kosnik <bkoz@cygnus.com>
8543 * stl/bits/std_bitset.h: Update to SGI STL 3.12.
8544 * stl/bits/stl_config.h: Tweak, update.
8545 * stl/bits/std_stdexcept.h: Ditto, change stl_exception to
8547 * stl/bits/std_memory.h: Reconstructed auto_ptr, Ditto.
8548 * stl/bits/std_functional.h: Ditto.
8550 * stl/bits/stl_string.h: New file, SGI's string
8551 implementation. For reference only, corresponding to string in
8553 * stl/bits/stl_char_traits.h: As above.
8555 * stl/bits/pthread_allocimpl.h: New file corresponding to
8557 * stl/bits/stl_pthread_alloc.h: New file corresponding to
8559 * stl/bits/stl_threads.h: New file.
8561 Note that SGI STL 3.12's file iterator.h is not used.
8562 * stl/bits/std_iterator.h: Ditto.
8563 * stl/bits/stl_iterator.h: Drop in replace.
8564 * stl/bits/stl_iterator_base.h: New file, drop in replace.
8566 * stl/bits/stl_queue.h, stl_rope.h, stl_set.h, stl_stack.h,
8567 stl_string_fwd.h, stl_tempbuf.h, stl_tree.h, stl_vector.h,
8568 stl_pair.h, stl_multimap.h, stl_multiset.h, stl_list.h,
8569 stl_hashtable.h, stl_hash_set.h, stl_hash_map.h, stl_function.h,
8570 stl_deque.h, stl_alloc.h, stl_algo.h, stl_algobase.h, ropeimpl.h:
8571 Drop-in replace (ie, stop changing __SGI_STL_* to _CPP_BITS_* for
8572 preprocessor guards, but fixup include paths and names according
8573 to new directory layout).
8575 1999-02-05 Benjamin Kosnik <bkoz@cygnus.com>
8577 * bits/std_fstream.h: Remove _M_open data member.
8578 * bits/fstream.tcc: Ditto.
8580 * src/locale.cc: Tweak.
8582 * bits/std_sstream.h: Simplify.
8584 * bits/std_streambuf.h: Simplify.
8585 (sputc): Use correct definition of "write area."
8587 * bits/std_fstream.h: Fix uflow.
8588 * src/basic_file.cc: Tweak.
8589 * testsuite/27/27filebuf.cc: Add tests.
8590 * testsuite/27/27filebuf-3.txt: Rename to *-2.txt.
8592 1999-02-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8594 * bits/ios_base.h: Make protected.
8596 1999-02-01 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8598 * bits/ios_base.h: Changes in the class ios_base:
8599 Rename _M_exceptions member to _M_exceptions_data.
8600 Make the member functions rdstate(), clear(), exceptions()
8601 and exceptions(iostate) protected and add the "_M_" prefix.
8602 * src/ios.cc: Ditto.
8603 * bits/basic_ios.h: Adapt the changes from ios_base.
8605 1999-01-29 Benjamin Kosnik <bkoz@cygnus.com>
8607 * bits/std_fstream.h: Remove _M_flags, _M_equilibrate as unnecessary.
8608 * bits/fstream.tcc: Ditto.
8610 * bits/std_fstream.h (underflow): Resize deallocates memory and
8611 resets pointers in the internal cache according to new _M_buf. . dooh!
8612 * src/locale.cc: Mas changes with codecvt::do_in, do_out.
8614 1999-01-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8616 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
8619 1999-01-28 Benjamin Kosnik <bkoz@cygnus.com>
8621 * src/locale.cc (codecvt::do_in): Finer-grained tuning to take
8622 into account partial returns.
8623 (codecvt::do_out): Likewise.
8625 * bits/char_traits.h: Change streamsize to be a signed type, as
8626 required by 27.4.1 Types p 2. (Changing to _IO_ssize_t.)
8627 * bits/std_streambuf.h: Make
8628 in_avail() and showmanyc() have streamsize as return types, so
8629 that showmanyc()'s return of eof won't underflow in_avail's return
8630 value and give a bogus result.
8631 * src/misc-inst.cc: And more changes. . .
8633 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_unified to keep
8634 track of joint in/out pointers into the internal buffer.
8635 (sbumpc): Add check for _M_buf_unified.
8639 * testsuite/27/27filebuf.cc: Add cases.
8640 * testsuite/27/27stringbuf.cc: Add showmanyc case.
8642 * bits/std_fstream.h (close): Fix logic error.
8643 (open): Initialize internal pointers based on _M_buf and _M_buf_size.
8644 (showmanyc): Add underflow component, to match the standard.
8646 * bits/fstream.tcc: Ditto.
8648 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
8650 * bits/basic_file.h: Match vtables w/ _IO_FILE_plus.
8651 * src/basic_file.cc: Ditto.
8652 * src/Makefile.in: Add -fvtable-thunks to CXXFLAGS: preferred
8653 format for dealing with _IO_file in libio.
8655 1999-01-27 Ulrich Drepper <drepper@cygnus.com>
8657 * src/basic_file.cc: Include fcntl.h.
8659 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
8661 * libio/Makefile.in: Add fileops.lo, genops.lo to objects to debug
8663 * bits/std_streambuf.h: Redefine read posion.
8665 * bits/std_fstream.h: Temporary hack to get vtables working again.
8666 * bits/basic_file.h: Revert.
8667 * src/basic_file.cc: Ditto.
8668 * testsuite/27/27filebuf.cc: Tweak.
8670 1999-01-26 Benjamin Kosnik <bkoz@cygnus.com>
8672 * bits/basic_file.h: Add showmanyc, underflow. .
8673 * src/basic_file.cc: Ditto.
8675 * bits/std_fstream.h (showmanyc): Add bits to ping libio to see if more
8678 * testsuite/27/27filebuf.cc: Add testcases.
8679 * src/basic_file.cc: Add O_CREAT to open calls with
8680 ios_base::trunc as part of the open mode.
8682 1999-01-26 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8684 * bits/basic_ios.h: fix basic_ios::exceptions(iostate)
8686 1999-01-25 Benjamin Kosnik <bkoz@nabi.net>
8688 * src/ios.cc (clear): Correct typo.
8689 * bits/ios_base.h: Tweak spacing.
8691 1999-01-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8693 * bits/basic_ios.h: fix basic_ios::fail()
8695 1999-01-25 Benjamin Kosnik <bkoz@loony.cygnus.com>
8697 * bits/basic_file.h: Include libioP.h from libio instead of here.
8698 * bits/iolibio.h: Remove.
8699 * bits/libio.h: Remove.
8701 1999-01-22 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
8703 * bits/std_fstream.h: Tweak cvt-> in call for newer egcs compilers.
8705 1999-01-22 Ulrich Drepper <drepper@cygnus.com>
8707 * Makefile.am (SUBDIRS): Add libio.
8708 * configure.in: Add rule to test for glibc2.
8710 * src/Makefile.am (INCLUDES): Add -I to libio subdir.
8711 (libstdc___la_LIBADD): Add libio.la.
8713 1999-01-21 Benjamin Kosnik <bkoz@cygnus.com>
8715 * bits/basic_file.h: Make new abstraction for underlying C library
8716 FILE, named __basic_file.
8717 * src/basic_file.cc: New file.
8718 * bits/os_raw.h: Delete.
8719 * src/os_raw.cc: Delete.
8720 * src/Makefile.in: Tweak.
8721 * src/Makefile.am: Tweak.
8722 * bits/iolibio.h: Add this here, for the time being.
8723 * bits/libioP.h: Ditto.
8725 * bits/ios_base.h: Delete unused defines.
8726 * src/locale.cc (codecvt<char, char, mbstate_t>::do_in): Use
8727 strcpy to copy between the two buffers.
8729 * testsuite/27/27stringbuf.cc: Change license, fix in_avail tests.
8730 * testsuite/27/27filebuf.cc: New file.
8731 * testsuite/27/27filebuf-1.txt: Data file for above test.
8732 * testsuite/27/27filebuf-2.txt: Ditto.
8734 * bits/std_streambuf.h (uflow): Re-implement default.
8735 * bits/std_fstream.h: Set _M_buf_size based on cstdio's BUFSIZ.
8736 Re-implement virtual functions.
8737 * bits/fstream.tcc: Delete unused mf's.
8739 1998-12-31 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
8741 * bits/fstream.tcc: Add fstream ctor for cin/cout/etc.
8742 * bits/std_fstream.h: Ditto.
8743 * src/stdstreams.cc: Ditto.
8745 * math/cpowl.c: Fix header typo with last change.
8747 1998-12-31 Benjamin Kosnik <bkoz@loony.cygnus.com>
8749 * COPYING: New file (GPL v 2).
8750 * LICENSE.STD: Remove.
8751 * ./*: Change license.
8753 1998-12-30 Benjamin Kosnik <bkoz@haight.constant.com>
8755 * bits/std_streambuf.h (std): Remove static on _M_init.
8756 * bits/streambuf.tcc (std): Ditto.
8758 * bits/std_fstream.h: Add changes as discussed with Nathan, including
8759 state_type and codecvt_type members, the allocation of an internal
8760 buffer, the streamlined codecvt calls, etc.
8762 1998-12-21 Benjamin Kosnik <bkoz@haight.constant.com>
8764 * bits/std_sstream.h: Tweak.
8765 * bits/fstream.tcc: Remove unused stubs.
8766 * bits/std_fstream.h: Tweak.
8768 1998-12-17 Benjamin Kosnik <bkoz@tintin.cygnus.com>
8770 * bits/std_streambuf.h: Move _IO_file_flags into basic_filebuf.
8771 Remove unused _IO_* members, possibly put into filebuf, which may
8773 * bits/std_fstream.h: Add _M_flag.
8774 * bits/sbuf_iter.h: Tweak.
8776 * bits/std_cstdio.h: Add SEEK_SET, SEEK_END, SEEK_CUR.
8777 * bits/ios_base.h: Use.
8779 * src/stdstreams.cc: Modify to reflect standard ctors for
8781 * src/misc-inst.cc: Ditto.
8783 * bits/os_raw.h: Wrap in std namespace. Model parameters on
8784 underlying C library calls instead of the underlying unix
8786 * src/os_raw.cc (_S_os_open): Use fopen, and compute a mode
8787 string as per p.659.
8788 (_S_os_close): Model on fopen.
8789 (_S_os_read): Model on fread.
8790 (_S_os_write): Model on fwrite.
8791 (_S_os_seek): Model on fseek.
8793 * bits/ios_base.h: Tweak.
8794 * bits/std_iosfwd.h: Wrap libio.h include with extern "C".
8795 * bits/std_sstream.h: Tweak.
8796 * bits/sstream.tcc: Remove old, uncalled code.
8797 * bits/std_fstream.h: Major reconstruction.
8798 * bits/fstream.tcc: Disable for the time being.
8800 1998-12-11 Benjamin Kosnik <bkoz@haight.constant.com>
8802 * bits/basic_string.h: Fix insert method.
8803 * stl/bits/stl_iterator.h: Remove previous hack.
8804 * bits/std_streambuf.h (sbumpc): Correct increment/return oddness.
8805 * bits/std_sstream.h: Fix more regressions.
8806 * testsuite/27/27stringbuf.C: Add (almost) complete tests.
8808 1998-12-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
8810 * bits/basic_string.h: Tweak.
8812 * stl/bits/stl_iterator.h: Specialize iterator_traits for int so
8813 that string::append can be instantiated. HACK--checkin
8814 basic_string::iterator class.
8816 1998-12-07 Benjamin Kosnik <bkoz@haight.constant.com>
8818 * bits/std_sstream.h: Tweak.
8819 * bits/sstream.tcc: Tweak ctors.
8821 FIXME invalid friend defs. . WHERE ARE THEY??
8823 * bits/sbuf_iter.h (istreambuf_iterator::equal): Change to new
8824 names for basic_streambuf data members.
8826 * bits/std_streambuf.h: Add getloc() initialization bits.
8827 basic_streambuf(): Initialize with global locale data.
8828 imbue(): Set _M_init.
8830 * bits/std_streambuf.h(seekoff, seekpos): Complete with invalid
8831 stream pos == pos_type(off_type(-1)).
8832 in_avail(): Complete default implementation.
8833 snextc, sbumpc, sputbackc, sungetc, sputc, setg, xsputn,
8834 underflow, uflow, xsgetn, showmany, sync: Ditto.
8836 * bits/std_streambuf.h: _M_snextc_helper(): Remove.
8838 * bits/streambuf.tcc (sputbackc): Temporarily remove, need to
8839 re-populate with in-line member functions that are too big. Add
8840 initialization for _M_init.
8842 1998-12-03 Benjamin Kosnik <bkoz@cygnus.com>
8844 * bits/sstream.tcc: Convert _Allocator to _Alloc. Add typedefs
8845 for basic_string and basic_streambuf. Scope _IO_buf_* pointers to
8848 * src/stdstreams.cc (std): Disable wchar_t instantiations.
8850 * bits/c++config.h (_G_DEPRICATED): Add.
8851 (_G_USE_WCHAR_T): Add.
8852 * bits/std_streambuf.h: Radical reconstruction of basic_streambuf.
8853 Take out _Streambuf_base. Put _IO_FILE data member in basic_filebuf.
8854 * bits/streambuf.tcc (sputbackc): Remove ctor anti-def, Tweak.
8855 * bits/std_fstream.h: Add comment for implementation.
8856 * src/streambuf.cc: Remove.
8857 * src/Makefile.in: Remove streambuf.lo.
8858 * src/misc-inst.cc: Tweak.
8860 1998-12-02 Benjamin Kosnik <bkoz@cygnus.com>
8862 * bits/std_sstream.h: Add const_cast to rdbuf returns.
8863 * testsuite/27stringstream.C: Modify.
8865 1998-11-25 Benjamin Kosnik <bkoz@haight.constant.com>
8867 * src/Makefile.in (libstdc___la_OBJECTS): Add streambuf.lo.
8868 (libstdc___la_SOURCES): Ditto.
8870 * bits/streambuf.tcc: Tweak.
8872 * src/streambuf.cc: New file, add out-of-line definitions for
8875 * src/misc-inst.cc: Remove _Streambuf_base instantiations.
8876 Comment out wchar_t versions of the buffer instantiations, for now.
8878 * bits/std_streambuf.h: Wrap libio.h include with extern "C".
8879 Remove template wrapper around _Streambuf_base.
8880 Move IO_* data members into _Streambuf_base.
8881 Move _Streambuf_base members into streambuf.tcc.
8883 * bits/c++config.h (_G_USE_LIBIO): Enable.
8885 1998-11-02 Nathan Myers <ncm@cantrip.org>
8887 * CHECKLIST: downgrade iterator implementations
8888 * DESIGN: fill out notes about unimplemented features
8890 1998-10-31 Nathan Myers <ncm@cantrip.org>
8892 * CHECKLIST: itemized list of all interfaces, and status of each.
8894 1998-10-30 Nathan Myers <ncm@cantrip.org>
8896 * RELEASE-NOTES: add notes about optional includes, linking, running
8897 * src/Makefile.am: handle header installs properly
8898 * src/Makefile.in: regenerate from new src/Makefile.am
8900 1998-10-30 Benjamin Kosnik <bkoz@loony.cygnus.com>
8902 * bits/basic_string.h: Revert npos pending ciso646.
8903 * src/Makefile.am: Revert CXX flags for now.
8904 * src/Makefile.in: Ditto.
8906 1998-10-30 Brendan Kehoe <brendan@cygnus.com>
8908 * bits/std_sstream.h: Re-order ctors to put base before member
8911 1998-10-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8913 * stl/bits/std_memory.h: Fix typo.
8915 1998-10-30 Nathan Myers <ncm@cantrip.org>
8917 * src/string[A-Z]+.cc: change back to include "string.cc".
8918 * src/Makefile.am: revert filename changes. We need a different
8919 way to keep filenames in std/ from confusing Make.
8920 * bits/basic_string.h: define _S_max_size right, return it from
8921 string::max_size(); churn definition of npos again.
8922 * bits/string.tcc: fix _S_frob_size to avoid uint overflow.
8923 * bits/ios.cc: remove #ifdef on ios_base locale member initialization
8924 * BUGS: clear cruft.
8925 * C++STYLE: Touchup for release.
8926 * CHECKLIST: Touchup for release.
8928 * LICENSE.STD: Add requirement to retain copyrights and to provide
8929 the license with any copies.
8930 * README: Update for release.
8931 * TODO: Minor touchup for release.
8932 * RELEASE-NOTES: prepare for release
8934 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
8936 * src/string[A-Z]+.cc: Include stdstring.cc, not string.cc.
8938 * src/Makefile.am (CXXFLAGS): Define _GNU_SOURCE.
8940 * src/Makefile.am (CXXLINK): New variable. Make sure we don't use
8941 CXX to generate the shared object.
8943 * src/Makefile.am (headers): Remove duplicated char_traits.h.
8945 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
8947 * bits/basic_string.h (basic_string<>::max_size): Subtract 1, not
8948 2, from npos, solving infinite loop problems.
8950 1998-10-29 18:41 Ulrich Drepper <drepper@cygnus.com>
8952 * src/Makefile.am: Add rules to install headers.
8954 1998-10-29 Nathan Myers <ncm@cantrip.org>
8956 * bits/std_ostream.h: Remove #ifdef on operator<< for long double
8957 * bits/ostream.tcc: Remove #ifdef on operator<< for long double
8960 * shadow/bits/wrap_libio.h:
8961 * shadow/bits/wrap_unistd.h: New files.
8963 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
8965 * bits/ostream.tcc (operator<<): Wrap with #ifdef
8966 _G_HAVE_LONG_DOUBLE_IO, to match bits/std_ostream.h.
8968 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
8970 * src/Makefile.am: Add temporarily rules to make sure misc-inst.cc
8971 is not compiled with -fno-implicit-templates in effect.
8973 * src/Makefile.am (EXTRA_SOURCES): Add string.cc and wstring.cc here.
8974 (libstdc___la_SOURCES): Add all the string*.cc and wstring*.cc files.
8975 * src/stringADDCS.cc: Wrapper around string.cc to define individual
8977 * src/stringADDPS.cc: Likewise.
8978 * src/stringADDSC.cc: Likewise.
8979 * src/stringADDSP.cc: Likewise.
8980 * src/stringADDSS.cc: Likewise.
8981 * src/stringBIST.cc: Likewise.
8982 * src/stringBOST.cc: Likewise.
8983 * src/stringCHTR.cc: Likewise.
8984 * src/stringEQPS.cc: Likewise.
8985 * src/stringEQSP.cc: Likewise.
8986 * src/stringEQSS.cc: Likewise.
8987 * src/stringEXTRA.cc: Likewise.
8988 * src/stringGEPS.cc: Likewise.
8989 * src/stringGESP.cc: Likewise.
8990 * src/stringGESS.cc: Likewise.
8991 * src/stringGETLI.cc: Likewise.
8992 * src/stringGTPS.cc: Likewise.
8993 * src/stringGTSP.cc: Likewise.
8994 * src/stringGTSS.cc: Likewise.
8995 * src/stringINSER.cc: Likewise.
8996 * src/stringLEPS.cc: Likewise.
8997 * src/stringLESP.cc: Likewise.
8998 * src/stringLESS.cc: Likewise.
8999 * src/stringLTPS.cc: Likewise.
9000 * src/stringLTSP.cc: Likewise.
9001 * src/stringLTSS.cc: Likewise.
9002 * src/stringMAIN.cc: Likewise.
9003 * src/stringNEPS.cc: Likewise.
9004 * src/stringNESP.cc: Likewise.
9005 * src/stringNESS.cc: Likewise.
9006 * src/stringSCOPY.cc: Likewise.
9007 * src/wstringADDCS.cc: Wrapper around wstring.cc to define individual
9009 * src/wstringADDPS.cc: Likewise.
9010 * src/wstringADDSC.cc: Likewise.
9011 * src/wstringADDSP.cc: Likewise.
9012 * src/wstringADDSS.cc: Likewise.
9013 * src/wstringBIST.cc: Likewise.
9014 * src/wstringBOST.cc: Likewise.
9015 * src/wstringCHTR.cc: Likewise.
9016 * src/wstringEQPS.cc: Likewise.
9017 * src/wstringEQSP.cc: Likewise.
9018 * src/wstringEQSS.cc: Likewise.
9019 * src/wstringEXTRA.cc: Likewise.
9020 * src/wstringGEPS.cc: Likewise.
9021 * src/wstringGESP.cc: Likewise.
9022 * src/wstringGESS.cc: Likewise.
9023 * src/wstringGETLI.cc: Likewise.
9024 * src/wstringGTPS.cc: Likewise.
9025 * src/wstringGTSP.cc: Likewise.
9026 * src/wstringGTSS.cc: Likewise.
9027 * src/wstringINSER.cc: Likewise.
9028 * src/wstringLEPS.cc: Likewise.
9029 * src/wstringLESP.cc: Likewise.
9030 * src/wstringLESS.cc: Likewise.
9031 * src/wstringLTPS.cc: Likewise.
9032 * src/wstringLTSP.cc: Likewise.
9033 * src/wstringLTSS.cc: Likewise.
9034 * src/wstringMAIN.cc: Likewise.
9035 * src/wstringNEPS.cc: Likewise.
9036 * src/wstringNESP.cc: Likewise.
9037 * src/wstringNESS.cc: Likewise.
9038 * src/wstringSCOPY.cc: Likewise.
9039 * src/string.cc: Remove now unneeded #defines now.
9041 1998-10-29 Nathan Myers <ncm@cantrip.org>
9043 * bits/locfacets.tcc: Define num_put::put(... const void*), improve
9045 * bits/ostream.tcc: Delete cruft, rewrite various op<< as members,
9046 add definitions for double, long double, const void*.
9047 * bits/std_ostream.h: Move op<<'s back into class ostream,
9048 define some in-line.
9049 * bits/string.tcc: fix unnecessary-copying bug in op[], typos in
9050 string construction from input iterators that Brendan reported.
9053 1998-10-28 Brendan Kehoe <brendan@cygnus.com>
9055 * stl/bits/stl_pair.h (op!=, op>, p<=, op>=): Add missing definitions.
9057 * bits/valarray_meta.h (class _Constant): Move declaration to the
9058 top, so the rest of the file can grok it.
9059 (_ApplyBinaryFunction::operator[]): Add missing parenthesis.
9061 * bits/std_sstream.h (basic_ostringstream::str): Fix typo of extra
9063 (basic_stringstream::str, both instances): Likewise.
9065 1998-10-28 Nathan Myers <ncm@cantrip.org>
9067 * bits/locfacets.h: fix num_put<>::falsename()
9068 * bits/locfacets.tcc: fix _Format_cache<>::_M_populate bool name init
9069 * testsuite/27/27octfmt.C, testsuite/27/27octfmt.C: new tests
9070 * bits/locfacets.tcc: touch up _S_group_digits.
9071 * src/misc-inst.cc: adjust _S_group_digits insts to match.
9073 1998-10-27 Nathan Myers <ncm@cantrip.org>
9075 * stl/bits/stl_config.h: Turn off long long support, for now.
9076 * src/locale-inst.cc: Instantiate num_put<> only for
9077 ostreambuf_iterator, num_get only for istreambuf_iterator.
9078 * src/misc-inst.cc: Delete duplicate locale-related instantiations,
9079 add lots of new instantiations for num_put support function templates;
9080 remove junk about __match_parallel for ostreambuf_iterator.
9082 1998-10-27 Nathan Myers <ncm@cantrip.org>
9084 * bits/locfacets.tcc: Make num_put's digit grouping work.
9085 * bits/string.tcc: More uglification.
9086 * src/ios.cc: initialize format cache right
9088 1998-10-26 Nathan Myers <ncm@cantrip.org>
9090 * bits/basic_string.h: Uglify more names.
9091 * bits/fstream.tcc: Rewrite some filebut output handling.
9092 * bits/ios_base.h: Cosmetic.
9093 * bits/locfacets.h: Changes to _Format_cache for support of num_put.
9094 Also, specialize its default ctor for optimal default case.
9095 #ifdef out "long long" prototypes for now.
9096 * bits/locfacets.tcc: Do complete, optimized num_put<>::do_put
9097 implementation for integer types. (Still needs optimized
9098 std::copy() applied to ostreambuf_iterator to be optimal.)
9099 * bits/ostream.tcc: Write operator<< for long, bool types.
9100 Make other operators<< non-members, per spec. (Many still
9101 not implemented.) Identify those that fail to create a sentry.
9102 * bits/sbuf_iter: Cosmetic.
9103 * bits/std_fstream.h: Add some filebuf members.
9104 * bits/std_locale.h: Include <limits> for use in bits/locfacets.h
9105 * bits/std_ostream.h: Make member operators<< global, per spec.
9106 (Should do the same in std_istream.h.)
9107 * bits/std_string.h: Include <limits> for use in bits/locfacets.h
9108 * bits/string.tcc: Uglify names
9109 * shadow/bits/std_cstdlib.h: Optimize std::div and std::ldiv.
9110 * src/ios.cc: Specialize _Format_cache<> for char and wchar_t,
9111 for optimal default behavior.
9113 1998-10-26 Benjamin Kosnik <bkoz@loony.cygnus.com>
9115 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc again.
9117 1998-10-21 Nathan Myers <ncm@cantrip.org>
9119 * src/locale.cc: make ctype operations actually work for glibc
9120 * CHECKLIST: add a comprehensive (i.e. huge) implementation
9121 checklist of stdlib facilities. Not filled in yet.
9123 1998-10-20 Nathan Myers <ncm@cantrip.org>
9125 * bits/string.tcc: fix patching NULs on string ends.
9127 1998-10-19 Nathan Myers <ncm@cantrip.org>
9129 * bits/std_iosfwd.h: eliminate "basic_" prefix on streambuf
9130 iterator forward declarations
9131 * bits/sbuf_iter.h: eliminate default template argument definitions
9132 on streambuf iterators (rely on <iosfwd> decls).
9133 * TODO: add note about lazy facet construction
9134 * bits/basic_ios.h: hit operator void* again. This should be the
9135 last time we need to touch it.
9136 * bits/basic_ios.h: copyfmt now returns *this.
9137 * bits/basic_string.h: fix npos again. npos cannot be defined as zero.
9138 * bits/basic_string.h: put back overloaded constructors; adjust
9139 behavior for default allocator on copy constructor.
9140 * bits/char_traits.h: make not_eof return correct type.
9141 * bits/loccore.h: remove call to bits/std_stdexcept.h; subincludes
9142 cannot be in non-standard headers or we get include loops (bad)
9143 * bits/loccore.h: delete ifdef'd out workarounds for old compiler bugs.
9144 * bits/loccore.h: add apparatus to support lazy construction of
9146 * bits/locfacets.tcc: Uglify names in __match_parallel decl.
9147 * bits/std_ios.h: add include of <typeinfo> to get bad_cast for
9148 locale use_facet<> failure.
9149 * bits/std_locale.h: same.
9150 * bits/std_string.h: same.
9151 * bits/std_stdexcept.h: change exception member __msg from a
9152 reference to a regular object.
9153 * bits/string.tcc: add pasting a NUL on the end of strings after
9154 each operation. We had already left room for it, but previously
9155 plugged it only on a call to c_str(), but the WG changed the
9156 requirement when I wasn't looking. (Can't leave them alone for
9157 a second without they break something else.)
9158 * bits/valarray_meta.h: add Gaby's changes from 981018.
9159 * src/locale.cc: add new type _Bad_use_facet to be thrown on
9160 failure of use_facet<>().
9161 * src/stdexcept.cc: remove pragma, remove bkoz's #if 0,
9162 comment out leftover member definitions
9164 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
9166 * string/Makefile.am: Revert last change.
9167 * math/Makefile.am: Likewise.
9169 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
9171 * bits/std_sstream.h: Fix typo.
9173 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
9175 * src/Makefile.am (libstdc___la_SOURCES): Add misc-inst.cc.
9177 * bits/std_sstream.h: Add typedefs, member definitions. Clean.
9178 * bits/std_stdexcept.h: Remove.
9180 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
9182 * src/misc-inst.cc: Tweak again.
9184 * bits/std_sstream.h: Move out-of-line definitions to sstream.tcc.
9185 * bits/sstream.tcc: New file.
9187 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
9189 * configure.in: Test for machine/param.h, sys/machine.h and fp.h.
9190 Don't run AC_C_BIGENDIAN if machine/param.h or sys/machine.h are
9193 * math/mathconf.h: Include sys/machine.h, machine/param.h and fp.h
9195 (INFINITE_P): Use IS_INF macro if available.
9197 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
9199 * math/Makefile.am (EXTRA_LTLIBRARIES): Renamed from
9201 * string/Makefile.am: Likewise.
9203 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
9205 * configure.in (AC_CHECK_FUNCS): Add finite, qfinite, fpclass, and
9207 (AC_CHECK_HEADERS): Add machine/endian.h. If no header specifying
9208 endianess is available run AC_C_BIGENDIAN.
9210 * math/clog10l.c: Add ugly hack around bug in Irix 6.2 header until
9211 fixincludes is fixed.
9212 * math/clogl.c: Likewise.
9213 * math/csqrtl.c: Likewise.
9214 * math/mycabsl.c: Likewise.
9216 * math/mathconf.h: Include machine/endian.h if possible. If no
9217 header describing endianess is available rely on WORDS_BIGENDIAN
9219 (FINITE_P, FINITEF_P, FINITEL_P): Use finite functino if available.
9220 (INFINITE_P, INFINITEF_P, INFINITEL_P): Use fpclass function if
9223 * src/complex.cc (polar): Don't use sincos on OSF machines.
9225 1998-10-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
9227 * src/locale-inst.cc: Don't instantiate time_get for
9228 ostreambuf_iterators as time_get::do_get_weekday and
9229 time_get::do_get_monthname use __match_parallel, which is illegal
9230 for ostreambuf_iterators to use, as they don't have operator== or
9232 * bits/std_stdexcept.h: Add dtor definitions.
9233 Use stl/bits/std_stdexcept.h instead of this file?
9234 * bits/sbuf_iter.h : Tweak.
9235 * src/misc-inst.cc: Tweak.
9237 1998-10-09 Benjamin Kosnik <bkoz@haight.constant.com>
9239 * bits/std_stdexcept.h: New file.
9240 * src/stdexcept.cc: Define the following:
9242 runtime_error::what()
9244 * src/misc-inst.cc: New file.
9245 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc.
9246 (libstdc___la_OBJECTS): Add misc-inst.lo.
9248 * bits/basic_string.h: Disable non-standard ctor declarations.
9249 * bits/string.tcc: Disable definitions as well.
9250 * src/string.cc: Disable <ios> dependancies.
9251 * bits/sbuf_iter.h (std): Add default to template parameter for
9252 ostreambuf_iterator and istreambuf_iterator.
9253 * bits/std_iosfwd.h: Change istreambuf_iterator to
9254 basic_istreambuf_iterator. Likewise for ostreambuf.
9255 * bits/locfacets.tcc (__match_parallel): Fix typo.
9256 * src/ios.cc (imbue): Remove the _G_HAVE_LOCALE guards around
9258 * bits/std_streambuf.h: Define _Streambuf_base::getloc().
9259 * bits/std_istream.h: Define the following:
9260 get (basic_streambuf<char_type,_Traits>& __sb, char_type __delim)
9261 get (char_type* __s, streamsize __n, char_type __delim);
9262 getline (char_type* __s, streamsize __n, char_type __delim)
9263 * bits/loccore.h : FIXME friend template code for use_facet.
9264 Add std_stdexcept.h include so that range_error will be defined.
9265 Add explicit conversion to string for range_error throws. (HACK?)
9267 1998-10-8 Ulrich Drepper <drepepr@cygnus.com>
9269 * configure.in: Check for sincos, sincosf, and sincosl.
9270 * src/complex.cc (polar): Use sincos if available.
9272 * bits/c++config.h: Fix hack to get LONG_LONG* definitions on Linux.
9273 * stl/bits/std_limits.h: Include bits/c++config.h. HACK!!!
9275 * math/clog10.c: Fix typo (FP_INIFITE_P -> INFINITE_P).
9277 * math/cpow.c: Use c_log, not clog.
9278 * math/cpowf.c: Likewise.
9279 * math/cpowl.c: Likewise.
9281 * math/cexp.c: Remove unused fpclassify calls. Use FINITE_P instead
9284 * math/mathconf.h (FINITE_P, FINITEF_P, FINITEL_P): Define using
9285 isfinite macro if it is available.
9286 (INFINITE_P, INFINITEF_P, INFINITEL_P): Define using isinf macro.
9288 * math/ccosf.c: Use appropriate test macros for this type.
9289 * math/ccoshf.c: Likewise.
9290 * math/ccoshl.c: Likewise.
9291 * math/ccosl.c: Likewise.
9292 * math/cexpf.c: Likewise.
9293 * math/cexpl.c: Likewise.
9294 * math/clog10f.c: Likewise.
9295 * math/clog10l.c: Likewise.
9296 * math/clogf.c: Likewise.
9297 * math/clogl.c: Likewise.
9298 * math/csinf.c: Likewise.
9299 * math/csinhf.c: Likewise.
9300 * math/csinhl.c: Likewise.
9301 * math/csinl.c: Likewise.
9302 * math/csqrtf.c: Likewise.
9303 * math/csqrtl.c: Likewise.
9304 * math/ctanf.c: Likewise.
9305 * math/ctanhf.c: Likewise.
9306 * math/ctanhl.c: Likewise.
9307 * math/ctanl.c: Likewise.
9309 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
9311 * bits/basic_ios.h: Fix previous change.
9313 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
9315 * bits/basic_ios.h: Add const_cast<basic_ios&>
9316 (operator void*): As per 5.2.9 p 2, make sure static_cast is
9318 * bits/char_traits.h: No _CharT for specialization, change to 0.
9319 * bits/basic_string.h: As per 9.4.2 p4, initialize with
9320 constant-initializer.
9321 * bits/locfacets.tcc: Add template parameter to initialization list.
9323 1998-10-02 Benjamin Kosnik <bkoz@loony.cygnus.com>
9325 * bits/basic_string.h: Should just be <, not <=.
9327 1998-10-01 Benjamin Kosnik <bkoz@bliss.nabi.net>
9329 * bits/string.tcc (compare): Fix for strings that are similar, but
9330 not the same length.
9332 1998-09-04 Brendan Kehoe <brendan@cygnus.com>
9334 * bits/c++config.h: For __linux__, define _GNU_SOURCE. This is
9335 required for us to get LONG_LONG_{MIN,MAX} out of gcc's limits.h.
9336 We can't check for __GLIBC__ here, since this header can be read
9337 before any system one (that would lead to features.h) being used.
9339 * stl/bits/stl_config.h (__STL_LONG_LONG): Re-enabled
9341 * stl/bits/std_limits.h [__STL_LONG_LONG]: Fix usage to use
9342 LONG_LONG_MIN, LONG_LONG_MAX, and ULONG_LONG_MAX.
9344 * stl/bits/stl_config.h: Don't do __STL_LONG_LONG, it uses
9345 LONGLONG_{MIN,MAX} which I can't find the origin of.
9347 1998-09-03 Brendan Kehoe <brendan@cygnus.com>
9349 * stl/bits/stl_iterator.h: Add extern decl of cin for now; where
9350 should this come from, if not iostream.h?
9351 (class istream_iterator): Make the new operator!= a friend also.
9353 * stl/bits/stl_config.h: Define __STL_HAS_WCHAR_T,
9354 __STL_MEMBER_TEMPLATE_CLASSES, and __STL_LONG_LONG. Don't include
9355 _G_config.h like the egcs one does.
9357 1998-09-01 Brendan Kehoe <brendan@cygnus.com>
9359 * bits/string.tcc: Call `_M_destroy' instead of `destroy'.
9361 * bits/valarray_meta.h: Throughout, rename _Expr typedefs to be
9362 _Expr1 (or _Expr_def if it's taken), and change definitions.
9363 Avoids redecl of the template parm.
9365 * bits/string.tcc (basic_string copy ctor): Fix typo in declaration.
9366 (operator>>): Initialize __ERROR with ios_base::goodbit, not 0.
9368 * bits/std_streambuf.h (_POSIX_SOURCE): Only define if it's not
9371 * src/locale-inst.cc: New file, **TOTAL HACK**. There has GOT to
9372 be a better way to do this.
9374 * src/stlinst.cc: New file.
9376 * BUGS: New file, with various discovered bugs that need to be
9379 * Makefile.in, math/Makefile.in, string/Makefile.in,
9380 src/Makefile.in: Reran automake.
9382 Workarounds, these may not all be the final fixes:
9384 * bits/basic_ios.h (class basic_ios): Make _M_strbuf be protected,
9385 not private, for basic_istream::get() in std_istream.h to be able
9387 (basic_ios::operator void*): Don't use static_cast for the false
9389 (basic_ios::copyfmt): Fix `rhs.except' to be `rhs.exceptions ()'.
9390 This appears to have been in sep94, but didn't get corrected
9393 * bits/basic_string.h (npos): Don't init here.
9394 * bits/string.tcc: Instead, do initialization here, to -1 instead
9395 of the size_type destructor.
9397 * src/traits.cc, src/wtraits.cc: New files.
9398 * bits/char_traits.h: For char_traits<char> and
9399 char_traits<wchar_t>, declare static, but define over in the src
9402 * bits/gslice.h: Comment out forward decls of _Array, valarray,
9403 gslice_array, and _GsliceExpression.
9405 * bits/std_cstdio.h [__sparc__ && __svr4__]: #undef all of
9406 clearerr, feof, ferror, getc, getchar, putc, putchar, stdin,
9407 stdout, and stderr. Note we do get unresolved refs to stdin, but
9408 that'll get fixed by the "true" solution.
9410 * bits/std_ios.h: Include <bits/std_streambuf.h> to get the
9411 definition of basic_streambuf.h, which is used in basic_ios.h to
9414 * bits/std_streambuf.h: Don't include libio.h for now.
9415 (class basic_streambuf): Define missing methods pubimbue and
9418 * src/Makefile.am (libstdc___la_SOURCES): Add stdexcept.cc,
9419 ios.cc, os_raw.cc, stdstreams.cc, locale.cc, localename.cc,
9420 locale-inst.cc, stlinst.cc, traits.cc, wtraits.cc.
9422 * src/ios.cc: Instantiate basic_ios<char> and basic_ios<wchar_t>.
9424 * src/locale.cc: Come up with munged versions of _S_toupper,
9425 _S_tolower, and _S_table instead of the glibc-specific ones, so
9426 they're at least defined, if not necessarily usable. The glibc
9427 ones on any other system will yield unresolved refs to
9428 __ctype_{b,toupper,tolower}.
9430 * src/string.cc: Define all of ADDCS, ADDPS, et al. Add
9431 basic_ios, basic_istream, basic_ostream. Don't do char_traits
9432 anymore cuz of the explicit specialization in char_traits.h.
9433 Also add _S_string_copy, but this doesn't fix it -- cf the BUGS
9434 file for the details.
9436 * stl/bits/stl_algobase.h (equal): Fix to do `! (x==y)'.
9437 * stl/bits/stl_iterator.h (__distance): Likewise.
9439 * stl/bits/stl_iterator.h: As with 8/18 set, define missing op!=,
9440 op>, op<=, and op>= for reverse_iterator. Also add op!= for
9443 1998-08-26 Brendan Kehoe <brendan@cygnus.com>
9445 * bits/string.tcc (basic_string::compare (const char*)): Fix to
9448 1998-08-25 Brendan Kehoe <brendan@cygnus.com>
9450 This should really be fixed with __asm__ directives renaming the
9451 symbol, but keeping the function.
9452 * math/clogf.c (c_logf): Renamed from `clogf'.
9453 * math/clogl.c (c_logl): Renamed from `clogl'.
9454 * math/complex-stub.h (c_logf, c_logl): Change decls.
9456 * bits/locfacets.h (class _Numeric_get): For friend decls, rename
9457 _CharT and _InIter parms, since they duplicate the enclosing ones.
9459 1998-08-19 Brendan Kehoe <brendan@cygnus.com>
9461 Deal with conflict of the iostreams `clog' and our internal
9462 complex number `clog'.
9463 * src/complex.cc: Call `c_log' instead of `clog'.
9464 * math/clog.c (c_log):: Renamed from clog.
9465 * math/complex-stub.h (c_log): Renamed from clog decl.
9467 * bits/locfacets.h (class _Numeric_get): Tweak fwd decls of the
9469 (num_put::put): #if 0 long long version, since we don't declare or
9470 define the long long version of do_put.
9472 1998-08-18 Nathan Myers <ncm@cantrip.org>
9474 * bits/basic_string.h: add basic_string<>::push_back(), fix return
9475 type of get_allocator (thanks to Ryszard Kabatek).
9476 * bits/char_traits.h: make init order of fpos<> members
9478 * bits/ios_base.h: fix decls of ios_base bitmask & enum types, add
9479 flags _S_fd_in etc. for special filebuf ctor.
9480 * bits/locfacets.h: make _Numeric_get and _Format_cache public
9481 to work around problems in friend declarations.
9482 * bits/locfacets.tcc: qualify _S_get_cache in num_get<>::get(..bool&),
9483 fix random type errors & typos
9484 * bits/std_fstream.h: major refitting to bypass libio (for now),
9485 instrument to use bits/fstream.tcc template definitions
9486 * bits/std_iosfwd.h: mess with wrappers
9487 * bits/std_istream.h: remove meaningless comment
9488 * bits/std_ostream.h: instrument to work with ostream.tcc.
9489 * bits/std_streambuf.h: instrument to work with streambuf.tcc
9490 * bits/fstream.tcc: template defs for <fstream>
9491 * bits/ostream.tcc: template defs for <ostream>
9492 * bits/streambuf.tcc: template defs for <streambuf>
9493 * bits/os_raw.h: thin OS interface wrapper, to bypass libio (for now).
9494 * Delete .cc files, replace with bits/*.tcc
9500 src/os_raw.cc: thin interface to OS, to bypass libio (for now).
9501 src/stdstreams.cc: cout, cin, etc. definitions
9502 (these still need work: must be init'd before user statics.)
9505 1998-08-18 Brendan Kehoe <brendan@cygnus.com>
9507 Sent to SGI before checkin:
9508 * stl/bits/stl_vector.h (operator!=, operator>, operator<=,
9509 operator>=): Define.
9510 * stl/bits/stl_bvector.h (vector<bool>::flip): Define method.
9511 * stl/bits/stl_deque.h (operator!=, operator>, operator<=,
9512 operator>=): Define.
9513 (operator==, operator<): Add inline.
9514 * stl/bits/stl_map.h (operator!=, operator<, operator<=,
9515 operator>=): Define.
9516 * stl/bits/stl_multimap.h (operator!=, operator<, operator<=,
9517 operator>=): Define.
9518 * stl/bits/stl_list.h (operator!=, operator<, operator<=,
9519 operator>=): Define.
9520 * stl/bits/stl_set.h (operator!=, operator<, operator<=,
9521 operator>=): Define.
9522 * stl/bits/stl_multiset.h (operator!=, operator<, operator<=,
9523 operator>=): Define.
9525 * bits/std_valarray.h (_Shift_left, _Shift_right): Inherit from
9528 1998-08-15 Nathan Myers <ncm@cantrip.org>
9530 * bits/ios_base.h: change nominal bitmask and enum types to real enums
9531 * bits/locfacets.h: make _Format_cache bool names usable by num_get
9532 * bits/locfacets.tcc: make num_get<>::get(... bool&) use _Format_cache
9533 * bits/std_fstream.h: minor cleanups: ctors delegate to open()
9534 * bits/std_iosfwd.h: more bitmask changes, for ios_base::iostate
9535 * bits/std_sstream.h: formatting cleanups
9537 1998-08-14 Nathan Myers <ncm@cantrip.org>
9539 * bits/locfacets.tcc: implement num_get<>::do_get(..., bool&)
9540 * bits/locfacets.tcc: implement time_get<>::do_get_weekday
9541 * bits/locfacets.tcc: implement time_get<>::do_get_monthname
9542 * bits/locfacets.h: fix missing argument in do_get_monthname
9543 (this is a bug in the standard, ref. 36 in my list.)
9544 * bits/locfacets.h: make month and day name caches mutable
9545 * bits/locfacets.tcc: various typos in get() functions
9546 * bits/sbuf_iter.h: fix omission in istreambuf_iterator::op++().
9547 * bits/std_streambuf.h: fix typo in sgetn (Brendan)
9549 1998-08-12 Nathan Myers <ncm@cantrip.org>
9550 * move streambuf iterators to bits/sbuf_iter.h
9551 * optimize streambuf iterators
9552 * begin generalizing streambuf
9553 * begin implementing num_get<>::get (starting with bool)
9554 * patch stl/bits/stl_config.h so that relops operators are
9555 contained properly, out of the way.
9557 1998-07-24 Nathan Myers <ncm@cantrip.org>
9558 * Fold in SGI 3.11 changes (uglified names, some algorithm
9559 improvements, very minor bug fixes.)
9560 * Uglify names elsewhere to match (s/_T/_Tp/).
9561 * Begin work on optimized streambuf
9562 * Put complex.cc in namespace std:: (thanks Martin)
9564 1998-07-17 Nathan Myers <ncm@cantrip.org>
9566 * bits/char_traits.h: add _Char_traits_match template.
9567 * bits/string.tcc: fix bugs in various find_last* members.
9568 * bits/basic_string.h: redeclare member _S_find.
9569 * stl/bits/stl_iterator.h: change member names in nonstandard
9570 templates bidirectional_reverse_iterator and
9571 random_access_reverse_iterator to match expected changes
9573 * src/string.cc: fix definitions of stream operators.
9575 1998-07-14 16:06 Ulrich Drepper <drepper@cygnus.com>
9577 * Makefile.am (SUBDIRS): Add string.
9579 * configure.in: Test for long double functions separately. Test for
9580 ISO C 89 float functions. Test for endian.h and sys/isa_defs.h.
9581 Generate string/Makefile.
9583 * bits/c++config.h: Define mbstate_t for Solaris.
9585 * bits/char_traits.h: Remove unused #if.
9587 * bits/std_cwchar.h: Declare wide char string functions.
9589 * m4/stringfcts.m4: New file.
9591 * math/complex-stub.h: Declare nan.
9592 * math/nan.c: New file.
9594 * math/mathconf.h: Hack around missing endian.h file.
9595 Handle missing NAN definition.
9596 Handle missing float math functions.
9598 * src/Makefile.am (libstdc___la_LIBADD): Add libstring.la.
9599 (libstdc___la_LDFLAGS): Set version information.
9601 * src/complexl.cc: Don't compile any code if no long double functions
9604 * string/Makefile.am: New file.
9605 * string/dummy.c: New file.
9606 * string/wmemchr.c: New file.
9607 * string/wmemcmp.c: New file.
9608 * string/wmemcpy.c: New file.
9609 * string/wmemmove.c: New file.
9610 * string/wmemset.c: New file.
9612 1998-07-14 10:45 Ulrich Drepper <drepper@cygnus.com>
9614 * configure.in: Make it work.
9615 * install-sh: New file.
9616 * missing: New file.
9617 * mkinstalldirs: New file.
9618 * m4/mathfcts.m4: New file.
9619 * math/Makefile.am: New file.
9621 * bits/std_complex.h (conj): Mark specializations as inline.
9623 * math/carg.c: New file.
9624 * math/cargf.c: New file.
9625 * math/cargl.c: New file.
9626 * math/mycabs.c: New file.
9627 * math/mycabsf.c: New file.
9628 * math/mycabsl.c: New file.
9629 * math/signbit.c: New file.
9630 * math/signbitf.c: New file.
9631 * math/signbitl.c: New file.
9633 * math/ccos.c: Avoid ISO C 9x functionality.
9634 * math/ccosf.c: Likewise.
9635 * math/ccosh.c: Likewise.
9636 * math/ccoshf.c: Likewise.
9637 * math/ccoshl.c: Likewise.
9638 * math/ccosl.c: Likewise.
9639 * math/cexp.c: Likewise.
9640 * math/cexpf.c: Likewise.
9641 * math/cexpl.c: Likewise.
9642 * math/clog.c: Likewise.
9643 * math/clog10.c: Likewise.
9644 * math/clog10f.c: Likewise.
9645 * math/clog10l.c: Likewise.
9646 * math/clogf.c: Likewise.
9647 * math/clogl.c: Likewise.
9648 * math/cpow.c: Likewise.
9649 * math/cpowf.c: Likewise.
9650 * math/cpowl.c: Likewise.
9651 * math/csin.c: Likewise.
9652 * math/csinf.c: Likewise.
9653 * math/csinh.c: Likewise.
9654 * math/csinhf.c: Likewise.
9655 * math/csinhl.c: Likewise.
9656 * math/csinl.c: Likewise.
9657 * math/csqrt.c: Likewise.
9658 * math/csqrtf.c: Likewise.
9659 * math/csqrtl.c: Likewise.
9660 * math/ctan.c: Likewise.
9661 * math/ctanf.c: Likewise.
9662 * math/ctanh.c: Likewise.
9663 * math/ctanhf.c: Likewise.
9664 * math/ctanhl.c: Likewise.
9665 * math/ctanl.c: Likewise.
9667 * math/complex-stub.h: New file.
9669 * math/mathconf.h: New file.
9671 * src/Makefile.am: New file.
9673 * src/complex.cc: Use mathconf.h instead of complex.h.
9674 Don't use cabs, always use __mycabs.
9676 1998-02-13 Brendan Kehoe <brendan@cygnus.com>
9678 * iterator (class reverse_iterator): Do some tweaks to be in sync