1 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
3 * docs/html/22_locale/locale.html: Fix spelling error of
4 "separate" as "seperate".
6 2001-10-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
9 correct multilib builddir.
10 Properly locate libgcc_s.
12 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
14 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
17 2001-09-14 Phil Edwards <pme@sources.redhat.com>
19 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
20 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
21 * docs/html/18_support/howto.html: It won't compile; it's not code.
22 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
24 * docs/html/22_locale/howto.html: Comment for future work.
25 * docs/html/23_containers/howto.html: More comments.
26 * docs/html/25_algorithms/howto.html: It's a comment, not a
27 blunt command to the reader. (English grammar.)
29 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
31 * include/bits/std_limits.h (numeric_limits<float>::radix,
32 numeric_limits<float>::epsilon: Fix thinko.
34 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
36 * src/Makefile.am (libstdc___la_LDFLAGS): Increase revision number.
37 * src/Makefile.in: Regenerate.
39 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
41 * include/c_std/bits/std_c*.h: Don't use include_next.
43 2001-09-05 Phil Edwards <pme@sources.redhat.com>
45 * Makefile.am: The testsuite directory never needs to be made here.
46 * Makefile.in: Regenerate.
47 * include/Makefile.in: Regenerate.
48 * libio/Makefile.in: Regenerate.
49 * libmath/Makefile.in: Regenerate.
50 * libsupc++/Makefile.in: Regenerate.
51 * po/Makefile.in: Regenerate.
52 * src/Makefile.in: Regenerate.
53 * testsuite/Makefile.in: Regenerate.
55 2001-08-30 Loren J. Rittle <ljrittle@acm.org>
58 2001-08-13 H.J. Lu (hjl@gnu.org)
60 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
62 (libstdc++-v3-init): Use it.
64 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
67 * include/Makefile.am: Use toplevel_srcdir to refer to src files
68 outside this component.
69 * include/Makefile.in: Regenerate.
71 2001-08-28 Phil Edwards <pme@sources.redhat.com>
73 Move testsuite_hooks changes onto the branch. This is the 08-06
74 patch (on trunk) from pme, plus the 08-09 change from bkoz and the
75 08-10 fix from ljrittle, accumulated into one.
76 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
77 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
78 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
79 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
80 * configure.in: Call GLIBCPP_CONFIGURE_TESTSUITE.
81 * aclocal.m4: Regenerate.
82 * config.h.in: Regenerate.
83 * configure: Regenerate.
84 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
87 * testsuite/debug_assert.h: Removed; contents merged into...
88 * testsuite/testsuite_hooks.h: ...here. New file.
89 * testsuite/17_intro/header_ciso646.cc: No longer include
90 debug_assert.h, include testsuite_hooks.h instead.
91 * testsuite/17_intro/header_fstream.cc: Likewise.
92 * testsuite/17_intro/header_iomanip.cc: Likewise.
93 * testsuite/17_intro/header_ios.cc: Likewise.
94 * testsuite/17_intro/header_iosfwd.cc: Likewise.
95 * testsuite/17_intro/header_iostream.cc: Likewise.
96 * testsuite/17_intro/header_istream.cc: Likewise.
97 * testsuite/17_intro/header_ostream.cc: Likewise.
98 * testsuite/17_intro/header_sstream.cc: Likewise.
99 * testsuite/17_intro/header_streambuf.cc: Likewise.
100 * testsuite/18_support/numeric_limits.cc: Likewise.
101 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
102 * testsuite/20_util/auto_ptr.cc: Likewise.
103 * testsuite/21_strings/append.cc: Likewise.
104 * testsuite/21_strings/capacity.cc: Likewise.
105 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
106 * testsuite/21_strings/compare.cc: Likewise.
107 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise.
108 * testsuite/21_strings/element_access.cc: Likewise.
109 * testsuite/21_strings/find.cc: Likewise.
110 * testsuite/21_strings/insert.cc: Likewise.
111 * testsuite/21_strings/inserters_extractors.cc: Likewise.
112 * testsuite/21_strings/invariants.cc: Likewise.
113 * testsuite/21_strings/nonmember.cc: Likewise.
114 * testsuite/21_strings/operations.cc: Likewise.
115 * testsuite/21_strings/replace.cc: Likewise.
116 * testsuite/21_strings/rfind.cc: Likewise.
117 * testsuite/21_strings/substr.cc: Likewise.
118 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
119 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
120 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
121 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
122 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
123 * testsuite/22_locale/ctype_char_members.cc: Likewise.
124 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
125 * testsuite/22_locale/facet.cc: Likewise.
126 * testsuite/22_locale/global_templates.cc: Likewise.
127 * testsuite/22_locale/members.cc: Likewise.
128 * testsuite/22_locale/numpunct_byname.cc: Likewise.
129 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
130 * testsuite/22_locale/operators.cc: Likewise.
131 * testsuite/22_locale/static_members.cc: Likewise.
132 * testsuite/23_containers/bitset_ctor.cc: Likewise.
133 * testsuite/23_containers/bitset_members.cc: Likewise.
134 * testsuite/23_containers/bitset_shift.cc: Likewise.
135 * testsuite/23_containers/map_insert.cc: Likewise.
136 * testsuite/23_containers/vector_capacity.cc: Likewise.
137 * testsuite/23_containers/vector_ctor.cc: Likewise.
138 * testsuite/23_containers/vector_element_access.cc: Likewise.
139 * testsuite/23_containers/vector_modifiers.cc: Likewise.
140 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
141 * testsuite/24_iterators/iterator.cc: Likewise.
142 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
143 * testsuite/25_algorithms/lower_bound.cc: Likewise.
144 * testsuite/25_algorithms/min_max.cc: Likewise.
145 * testsuite/26_numerics/c_math.cc: Likewise.
146 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
147 * testsuite/26_numerics/complex_value.cc: Likewise.
148 * testsuite/27_io/filebuf.cc: Likewise.
149 * testsuite/27_io/filebuf_members.cc: Likewise.
150 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
151 * testsuite/27_io/fpos.cc: Likewise.
152 * testsuite/27_io/fstream_members.cc: Likewise.
153 * testsuite/27_io/ifstream_members.cc: Likewise.
154 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
155 * testsuite/27_io/ios_base_members_static.cc: Likewise.
156 * testsuite/27_io/ios_base_storage.cc: Likewise.
157 * testsuite/27_io/ios_ctor.cc: Likewise.
158 * testsuite/27_io/ios_init.cc: Likewise.
159 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
160 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
161 * testsuite/27_io/ios_members.cc: Likewise.
162 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
163 * testsuite/27_io/istream_extractor_char.cc: Likewise.
164 * testsuite/27_io/istream_extractor_other.cc: Likewise.
165 * testsuite/27_io/istream_manip.cc: Likewise.
166 * testsuite/27_io/istream_seeks.cc: Likewise.
167 * testsuite/27_io/istream_sentry.cc: Likewise.
168 * testsuite/27_io/istream_unformatted.cc: Likewise.
169 * testsuite/27_io/istringstream_members.cc: Likewise.
170 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
171 * testsuite/27_io/ofstream_members.cc: Likewise.
172 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
173 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
174 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
175 * testsuite/27_io/ostream_manip.cc: Likewise.
176 * testsuite/27_io/ostream_seeks.cc: Likewise.
177 * testsuite/27_io/ostream_unformatted.cc: Likewise.
178 * testsuite/27_io/ostringstream_members.cc: Likewise.
179 * testsuite/27_io/streambuf.cc: Likewise.
180 * testsuite/27_io/stringbuf.cc: Likewise.
181 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
182 * testsuite/27_io/stringstream.cc: Likewise.
183 * testsuite/27_io/stringstream_members.cc: Likewise.
184 * testsuite/27_io/wide_stream_objects.cc: Likewise.
186 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
188 * testsuite/23_containers/map_insert.cc: (For 3.0 branch only:)
189 Include debug_assert.h not testsuite_hooks.h.
191 2001-08-27 Phil Edwards <pme@sources.redhat.com>
194 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
195 correctly for version-specific-runtime-libs.
196 * aclocal.m4: Regenerate.
197 * configure: Regenerate.
199 2001-08-24 Benjamin Kosnik <bkoz@redhat.com>
201 * include/Makefile.am (install-data-local): Don't install Makefile.
202 * include/Makefile.in: Regenerated.
204 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
206 * docs/html/17_intro/C++STYLE: Fix typo.
208 2001-08-24 Phil Edwards <pme@sources.redhat.com>
210 * docs/html/23_containers/howto.html: Describe implementation of
211 insertion with hints.
213 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
214 Phil Edwards <pme@sources.redhat.com>
217 * include/bits/stl_tree.h (insert_unique): Revert last change.
218 Values inserted at begin() must be less, not greater, than *begin()'s.
219 * testsuite/23_containers/map_insert.cc: New file.
221 2001-08-23 David Edelsohn <edelsohn@gnu.org>
223 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
224 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
226 2001-08-19 Release Manager
228 * GCC 3.0.1 Released.
230 2001-08-17 Loren J. Rittle <ljrittle@acm.org>
233 * include/Makefile.am: Use relative file path in rule to allow
235 * include/Makefile.in: Rebuilt.
237 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
239 * configure.target: Set LIMITSH for powerpc-*-*.
240 * config/cpu/powerpc/bits/limits.h: New file.
242 2001-08-16 Marc Espie <espie@openbsd.org>
244 * libmath/mathconf.h: Include <sys/types.h> on OpenBSD (branch
245 fix only, for robustness).
247 2001-08-15 Andreas Schwab <schwab@suse.de>
249 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
251 * config/cpu/m68k/bits/atomicity.h: New file.
253 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
254 Define appropriate long double limits for m68k extended floating
256 (__glibcpp_f32_digits10): Corrected, off by one.
257 (__glibcpp_f80_digits10): Likewise.
258 (__glibcpp_f128_digits10): Likewise.
259 * config/os/gnu-linux/bits/os_defines.h
260 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
262 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
264 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
267 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
269 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
272 * config/cpu/s390/bits/atomicity.h: New.
274 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
276 * include/bits/std_limits.h: Fix thinko.
278 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
280 * src/Makefile.am (libstdc___la_LDFLAGS): Increase revision number.
281 * src/Makefile.in: Regenerate.
283 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
285 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
286 _GBLICPP_HAVE_LOGL with HAVE_LOGL
288 2001-08-13 Mark Mitchell <mark@codesourcery.com>
290 * configure.in (LIMITS_INC_SRCDIR): New variable.
291 * configure.target (LIMITSH): New variable.
292 * porting.texi: Discuss numeric limits.
293 * config/cpu/generic/bits/limits.h: New file.
294 * config/cpu/i386/bits/limits.h: New file.
295 * include/Makefile.am: Install bits/limits.h.
296 * include/bits/c++config: Include bits/limits.h.
298 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
299 Mark Mitchell <mark@codesourcery.com>
301 * include/bits/std_limits.h: New file.
302 * include/Makefile.am (bits_headers): Add std_limits.h
303 (all-local): std_limits.h is no longer built.
304 (${target_builddir}/std_limits.h): Remove.
305 * include/Makefile.in: Regenerate.
306 * src/limits.cc: New file.
307 * src/Makefile.am (sources): Add limits.cc in replacement of
309 * src/Makefile.in: Regenerate.
311 2001-08-09 David Edelsohn <edelsohn@gnu.org>
313 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
314 * config/os/generic/bits/os_defines.h: Likewise.
315 * config/os/gnu-linux/bits/os_defines.h: Likewise.
316 * config/os/hpux/bits/os_defines.h: Likewise.
317 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
318 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
320 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
322 * include/bits/std_complex.h (complex<long double>::operator*=,
323 complex<long double>::operator/=): Fix thinko.
325 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
327 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
329 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
331 * configure.target: Remove mips from cpu table.
332 * config/cpu/mips/bits/atomicity.h: Remove generic
333 versions. Comment sgidefs include.
335 2001-07-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
337 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
338 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
339 * aclocal.m4: Regenerate.
340 * config.h.in: Likewise.
341 * configure: Likewise.
342 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
343 (EXTRA_DIST): Remove hypot.c hypotf.c.
344 * libmath/Makefile.am: Regenerate.
345 * libmath/hypotf.c: Remove.
346 * libmath/hypot.c: Likewise.
347 * libmath/hypotl.c: Likewise.
348 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
349 _GLIBCPP_HAVE_xxx. Add long double versions.
351 2001-07-26 Stephen M. Webb <stephen@bregmasoft.com>
353 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
354 setting C_INCLUDE_DIR.
355 * aclocal.m4: Regenerate.
356 * configure: Regenerate.
358 2001-07-26 Stephen M. Webb <stephen@bregmasoft.com>
359 Loren J. Rittle <ljrittle@acm.org>
360 Phil Edwards <pme@sources.redhat.com>
362 * include/Makefile.am: New file encapsulating header generation rules.
363 * Makefile.am (SUBDIRS): Prepend 'include' directory.
364 * acinclude.m4: Moved/removed rules for building various headers.
365 * configure.in (AC_OUTPUT): Add include/Makefile.
366 * mkc++config: Removed.
368 * testsuite_flags.in: Changed build-includes to match new scheme.
369 * mknumeric_limits: Likewise.
370 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
371 * libmath/Makefile.am: Likewise.
372 * libsupc++/Makefile.am: Likewise.
373 * src/Makefile.am: Likewise; removed rules to build headers.
374 * libmath/mathconf.h: Changed #include'd header names to match.
375 * libmath/stubs.c: Likewise.
376 * src/gen-num-limits.cc: Likewise.
378 * configure: Regenerated.
379 * config.h.in: Regenerated.
380 * aclocal.m4: Regenerated.
381 * Makefile.in: Regenerated.
382 * include/Makefile.in: Regenerated.
383 * libio/Makefile.in: Regenerated.
384 * libmath/Makefile.in: Regenerated.
385 * libsupc++/Makefile.in: Regenerated.
386 * src/Makefile.in: Regenerated.
387 * testsuite/Makefile.in: Regenerated.
389 2001-07-26 Daniel Jacobowitz <drow@mvista.com>
391 * configure.in: Remove NATIVE, NULL_TARGET.
392 Set CANADIAN only for Canadian crosses. Set xcompiling
393 for both Canadian crosses and host-x-host crosses.
394 * configure: Regenerated.
396 2001-07-25 H.J. Lu <hjl@gnu.org>
398 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
401 * config/cpu/mips/bits/atomicity.h: New.
403 2001-07-25 David Edelsohn <edelsohn@gnu.org>
405 * include/bits/limits_generic.h (int): Set digits and digits10
406 appropriately for word size.
407 (unsigned int,long,unsigned long): Likewise.
409 2001-07-19 Phil Edwards <pme@sources.redhat.com>
410 Mark Mitchell <mark@codesourcery.com>
412 Merge from cp-parser-branch.
413 * include/bits/basic_string.h: Qualify symbols with 'template'.
414 * include/bits/basic_string.tcc: Likewise.
415 * include/bits/fstream.tcc: Likewise.
416 * include/bits/istream.tcc: Likewise.
417 * include/bits/sstream.tcc: Likewise.
418 * include/bits/std_istream.h: Likewise.
419 * include/bits/stl_iterator.h: Likewise.
420 * include/bits/streambuf.tcc: Likewise.
421 * src/gen-num-limits.cc: Add 'template<>' to specializations.
422 * src/locale.cc: Likewise.
424 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
425 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
427 * src/gen-num-limits.cc (set_signals_handler): New function.
428 Factor out signals setting. Set signal handler for SIGILL.
430 2001-07-18 Phil Edwards <pme@sources.redhat.com>
432 * docs/html/27_io/howto.html: Fix typo.
433 * docs/html/faq/index.html: Minor updates for 3.0 all around.
434 * docs/html/faq/index.txt: Regenerated.
436 2001-07-13 Phil Edwards <pme@sources.redhat.com>
438 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
439 Initialize _M_string with pointer-and-size constructor, not just
440 pointer. Fix some comments.
441 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
442 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
443 (test03): Add embedded-NUL tests.
445 * mkcheck.in: When printing totals, match the order of the tests.
446 * include/bits/stringfwd.h: Use same declaration keywords.
447 * include/bits/std_iosfwd.h: Cosmetic spacing.
449 2001-07-11 Felix Natter <fnatter@gmx.net>
451 * docs/html/17_intro/porting-howto.xml: Initial checkin of
453 * docs/html/17_intro/porting-howto.html: check in v0.9.3
455 2001-07-11 Phil Edwards <pme@sources.redhat.com>
457 * docs/doxygen/run_doxygen: Don't keep output from previous run.
458 * docs/doxygen/user.cfg.in: Tweaks.
459 * include/bits/c++config: Documentation comments for Doxygen.
460 * include/bits/char_traits.h: Likewise.
461 * include/bits/limits_generic.h: Likewise.
462 * include/bits/std_stdexcept.h: Likewise.
463 * include/bits/stl_pair.h: Likewise.
464 * libsupc++/exception: Likewise.
465 * libsupc++/new: Likewise.
466 * libsupc++/typeinfo: Likewise.
467 * libmath/Makefile.am: Update and correct copyright.
469 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
471 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
472 * aclocal.m4: Regenerate.
475 2001-07-09 Phil Edwards <pme@sources.redhat.com>
477 * docs/html/configopts.html: Fix thinko.
478 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
479 * include/bits/stl_iterator.h: Fix typo.
481 2001-07-09 Phil Edwards <pme@sources.redhat.com>
483 * docs/html/explanations.html: New file.
484 * docs/html/configopts.html: Link to it to provide more notes
485 on cstdio. Minor markup and spacing fixes.
486 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
488 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
490 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
491 for _Expr template template argument.
492 (_Expr::operator-): Likewise.
493 (_Expr::operator~): Likewise.
494 (_Expr::operator!): Likewise.
495 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
497 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
499 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
500 * libmath/Makefile.in: Regenerate.
501 * libmath/expf.c: Remove.
502 * libmath/atan2f.c: Likewise.
504 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
506 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
507 expansion (thanks to Alexandre Oliva).
508 * aclocal.m4: Regenerate.
509 * configure: Regenerate.
511 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
514 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
515 * aclocal.m4: Regenerate.
516 * configure: Regenerate.
518 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
521 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
522 staged/installed area to support -I-. Document.
523 * aclocal.m4: Regenerate.
524 * configure: Regenerate.
526 2001-06-27 Phil Edwards <pme@sources.redhat.com>
528 * include/backward/algo.h: Add "GPL plus runtime exception" comment
529 block, this time for real.
530 * include/backward/algobase.h: Likewise.
531 * include/backward/alloc.h: Likewise.
532 * include/backward/bvector.h: Likewise.
533 * include/backward/defalloc.h: Likewise.
534 * include/backward/deque.h: Likewise.
535 * include/backward/function.h: Likewise.
536 * include/backward/hash_map.h: Likewise.
537 * include/backward/hash_set.h: Likewise.
538 * include/backward/hashtable.h: Likewise.
539 * include/backward/heap.h: Likewise.
540 * include/backward/iterator.h: Likewise.
541 * include/backward/list.h: Likewise.
542 * include/backward/map.h: Likewise.
543 * include/backward/multimap.h: Likewise.
544 * include/backward/multiset.h: Likewise.
545 * include/backward/pair.h: Likewise.
546 * include/backward/rope.h: Likewise.
547 * include/backward/set.h: Likewise.
548 * include/backward/slist.h: Likewise.
549 * include/backward/stack.h: Likewise.
550 * include/backward/strstream: Likewise.
551 * include/backward/tempbuf.h: Likewise.
552 * include/backward/tree.h: Likewise.
553 * include/backward/vector.h: Likewise.
554 * include/bits/pthread_allocimpl.h: Likewise.
555 * include/bits/std_algorithm.h: Likewise.
556 * include/bits/std_bitset.h: Likewise.
557 * include/bits/std_deque.h: Likewise.
558 * include/bits/std_functional.h: Likewise.
559 * include/bits/std_iterator.h: Likewise.
560 * include/bits/std_list.h: Likewise.
561 * include/bits/std_map.h: Likewise.
562 * include/bits/std_memory.h: Likewise.
563 * include/bits/std_numeric.h: Likewise.
564 * include/bits/std_queue.h: Likewise.
565 * include/bits/std_set.h: Likewise.
566 * include/bits/std_stack.h: Likewise.
567 * include/bits/std_utility.h: Likewise.
568 * include/bits/std_vector.h: Likewise.
569 * include/bits/stl_algo.h: Likewise.
570 * include/bits/stl_algobase.h: Likewise.
571 * include/bits/stl_alloc.h: Likewise.
572 * include/bits/stl_bvector.h: Likewise.
573 * include/bits/stl_construct.h: Likewise.
574 * include/bits/stl_deque.h: Likewise.
575 * include/bits/stl_function.h: Likewise.
576 * include/bits/stl_heap.h: Likewise.
577 * include/bits/stl_iterator.h: Likewise.
578 * include/bits/stl_iterator_base_funcs.h: Likewise.
579 * include/bits/stl_iterator_base_types.h: Likewise.
580 * include/bits/stl_list.h: Likewise.
581 * include/bits/stl_map.h: Likewise.
582 * include/bits/stl_multimap.h: Likewise.
583 * include/bits/stl_multiset.h: Likewise.
584 * include/bits/stl_numeric.h: Likewise.
585 * include/bits/stl_pair.h: Likewise.
586 * include/bits/stl_pthread_alloc.h: Likewise.
587 * include/bits/stl_queue.h: Likewise.
588 * include/bits/stl_raw_storage_iter.h: Likewise.
589 * include/bits/stl_relops.h: Likewise.
590 * include/bits/stl_set.h: Likewise.
591 * include/bits/stl_stack.h: Likewise.
592 * include/bits/stl_tempbuf.h: Likewise.
593 * include/bits/stl_threads.h: Likewise.
594 * include/bits/stl_tree.h: Likewise.
595 * include/bits/stl_uninitialized.h: Likewise.
596 * include/bits/stl_vector.h: Likewise.
597 * include/bits/type_traits.h: Likewise.
598 * include/ext/hash_map: Likewise.
599 * include/ext/hash_set: Likewise.
600 * include/ext/rope: Likewise.
601 * include/ext/ropeimpl.h: Likewise.
602 * include/ext/slist: Likewise.
603 * include/ext/stl_hash_fun.h: Likewise.
604 * include/ext/stl_hashtable.h: Likewise.
605 * include/ext/stl_rope.h: Likewise.
606 * src/bitset.cc: Likewise.
607 * src/strstream.cc: Likewise.
609 2001-06-26 Felix Natter <f.natter@ndh.net>
611 * docs/html/17_intro/porting-howto.html: Fixed some errors.
613 2001-06-25 Phil Edwards <pme@sources.redhat.com>
614 Kurt Garloff <garloff@suse.de>
617 * src/cmath.cc: New [version of an old] file; instantiate
618 __cmath_power to start with.
619 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
620 * Makefile.in: Regenerate.
621 * libio/Makefile.in: Regenerate.
622 * libmath/Makefile.in: Regenerate.
623 * libsupc++/Makefile.in: Regenerate.
624 * src/Makefile.in: Regenerate.
625 * testsuite/Makefile.in: Regenerate.
627 2001-06-24 Gabriel Dos Reis <gdr@codesourcery.com>
628 David Edelsohn <dje@watson.ibm.com>
630 * libmath/stubs.c: New file.
631 * libmath/Makefile.am (libmath_la_SOURCES): Add stubs.c.
632 * libmath/Makefile.in: Regenerate.
634 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
636 * include/c_std/bits/std_cwchar.h: Include ctime.
637 * testsuite/17_intro/header_cwchar.cc : Check.
639 * include/c_std/bits/std_cwctype.h: Inject wctype.
640 * testsuite/17_intro/header_cwctype.cc: Update.
642 2001-06-17 Release Manager
646 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
648 * configure.in (auxdir): Replace by ...
649 (toprel): ... new variable.
650 (toplevel_srcdir): Construct from $toprel.
651 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
652 rather than .. to locate gcc source directory.
653 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
654 * aclocal.m4, configure: Rebuilt.
656 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
658 (Approved by Mark and Benjamin. Applied by Loren.)
660 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
661 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
662 and _GLIBCPP_mutex_address.
663 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
664 once-only runtime initialization of _M_lock mutex when
665 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
666 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
667 for __GTHREAD_MUTEX_INIT_FUNCTION case.
669 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
671 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
672 * aclocal.m4: Regenerate.
673 * configure: Regenerate.
674 * include/bits/c++config (__GLIBCPP__): Update date.
676 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
678 * include/bits/fpos.h (fpos::operator-): Don't return reference,
679 return original, non-modified version.
680 (fpos::operator+): Same.
681 * testsuite/27_io/fpos.cc: Add test.
683 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
686 * porting.texi: Add documentation about libstdc++-v3-specific
687 macros that are currently included in os_defines.h files.
689 * config/basic_file_stdio.h (sys_getc): New method.
690 (sys_ungetc): New method.
691 * include/bits/basic_file.h: (sys_getc): New method signature.
692 (sys_ungetc): New method signature.
694 * include/bits/fstream.tcc (underflow): Add conditional code
695 paths which avoid using short seeks on streams (especially
696 useful when the stream might be interactive or a pipe). At
697 the moment, this alternate path only avoids seeking when the
698 ``buffer size'' of underflow() is 1 since the C standard only
699 guarantees buffer space for one ungetc (this technique could
700 be extended since *-*-solaris* supports buffering for 4 calls
701 to ungetc and *-*-*bsd* supports buffering limited only by
702 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
703 in a port's os_defines.h file for this alternate path to even
704 be considered. As a bonus, the idiom of using getc/ungetc
705 requires no system calls whereas fseek maps to one or two
706 system call(s) on many platforms.
708 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
710 * config/os/solaris/solaris2.5/bits/os_defines.h
711 (_GLIBCPP_AVOID_FSEEK): Likewise.
712 * config/os/solaris/solaris2.6/bits/os_defines.h
713 (_GLIBCPP_AVOID_FSEEK): Likewise.
714 * config/os/solaris/solaris2.7/bits/os_defines.h
715 (_GLIBCPP_AVOID_FSEEK): Likewise.
717 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
719 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
720 AC_TRY_COMPILE, so that the built compiler is checked, and
721 bootstraps or cross compiles with an older compile still work.
722 * aclocal.m4: Regenerate.
723 * configure: Regenerate.
725 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
728 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
731 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
734 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
737 * include/bits/limits_generic.h: Fix as per DR 184.
739 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
742 * include/bits/basic_string.h (string::compare): Adjust signatures
744 * include/bits/basic_string.tcc: And here.
747 * config/c_io_stdio.h: Remove whitespace.
748 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
749 (test02): Add regression.
750 * testsuite/27_io/istream_seeks-3.tst: New file.
752 2001-06-11 Phil Edwards <pme@sources.redhat.com>
754 * README: Update to reflect reality.
755 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
756 * configure.in: Make certain target_alias is set and subst'd for 2.50.
757 * aclocal.m4: Regenerate.
758 * configure: Regenerate (with 2.13).
760 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
763 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
765 * include/bits/istream.tcc (istream::seekg): Same.
766 * testsuite/27_io/istream_seeks.cc: Fix.
769 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
771 * include/bits/std_queue.h: Add c++config.h.
772 * testsuite/20_util/binders.cc: New test.
774 2001-06-11 Matthias Klose <doko@debian.org>
775 Phil Edwards <pme@sources.redhat.com>
777 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
778 (main script): Echo more information.
780 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
782 * include/c_std/bits/std_cwchar.h: Alphabetize.
783 * include/bits/char_traits.h: Tweak.
784 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
785 everything used by std_cwchar.h.
786 * aclocal.m4: Regenerate.
787 * configure.in: Regenerate.
788 * config.h.in: Regenerate.
790 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
792 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
793 Add checking for strtof, _Exit in stdlib.h
794 * aclocal.m4: Regenerate.
795 * configure.in: Regenerate.
796 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
797 (snprintf): Put C99 functions into __gnu_cxx namespace.
802 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
803 for C99 functions within _GLIBCPP_USE_C99 guard.
807 * include/bits/locale_facets.tcc: Check if C99 is enabled.
808 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
810 * include/c_std/bits/cmath.tcc: Formatting tweak.
811 * include/c_std/bits/std_cmath.h: Same.
813 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
815 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
817 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
818 Stephen L Moshier <moshier@mediaone.net>
820 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
821 nothing, as in autoconf 2.50.
822 * configure: Rebuilt.
824 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
826 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
828 * include/c_std/bits/std_ctime.h: Same.
829 * include/c_std/bits/std_cstring.h: Same.
830 * include/c_std/bits/std_cstdlib.h: Same.
832 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
833 * include/c_std/bits/std_cctype.h: Remove isblank.
835 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
837 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
839 * aclocal.m4: Regenerate.
840 * configure: Regenerate.
841 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
842 injection, guard fgetwc, fgetws.
843 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
844 * include/c_std/bits/std_clocale.h: And here.
845 * include/c_std/bits/std_cctype.h: And here.
846 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
848 * config/basic_file_stdio.h: Don't include unistd.h.
849 * config/c_io_stdio.h: Don't use compatibility headers.
850 * libsupc++/eh_terminate.cc: Qualify abort.
851 (__terminate): And here.
852 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
854 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
856 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
858 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
863 * include/std/*: Add copyright notice.
864 * include/c_std/bits/*: Use using statements instead of extern "C".
865 * include/c_std/bits/std_cmath.h: Don't overload double versions
866 of math functions with __buitin versions, use global version to
867 prevent ambiguities. Remove define hacks.
868 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
869 functions that have changed signatures and std::
870 declarations. Remove define hacks.
871 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
872 __builtins in std::. Remove define hacks.
873 * testsuite/17_intro/headers_c.cc: Add tests.
874 * testsuite/17_intro/headers_c++.cc: Add test.
876 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
877 John David Anglin <dave@hiauly1.hia.nrc.ca>
880 * libsupc++/eh_alloc.cc: Ensure that required macros are
881 defined before including gthr.h. Ensure that we get the
882 version of gthr.h for which we know how to provide a
884 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
885 code path into line with the current EH model. Use std, where
888 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
889 John David Anglin <dave@hiauly1.hia.nrc.ca>
891 * config/threads-no.h: Remove file.
892 * config/threads-posix.h: Remove file.
894 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
895 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
896 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
897 * config.h.in: Regenerate.
899 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
900 setup and use gthr*.h files. In particular, make gthr.h files
901 namespace-clean in the staging area (they don't have to be for
903 * aclocal.m4: Regenerate.
904 * configure: Regenerate.
906 * src/Makefile.am (build_headers): Remove bits/c++threads.h
907 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
908 * src/Makefile.in: Regenerate.
910 * include/bits/c++config: Cleanup threading configuration macros.
911 In particular, define __STL_GTHREADS macro which controls...
912 * include/bits/stl_threads.h: ...a brand new gthr.h-based
915 * config/c_io_stdio.h: Include staged gthr.h instead of local
916 thread configuration file. Always use __gthread_mutex_t
917 instead of __mutext_type (or int).
918 * include/bits/std_fstream.h: Likewise.
920 * docs/html/17_intro/howto.html: Remove placeholder comment in
921 case this configuration patch didn't make it. Add advice that
922 section only applies if configured with --enable-threads.
923 * docs/html/23_containers/howto.html: Reword to make clear
924 that _PTHREADS is no longer required for any port to be
925 correctly using STL with threads. Add advice that section
926 only applies if configured with --enable-threads.
928 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
930 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
932 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
935 * include/bits/basic_ios.tcc: Formatting tweaks.
936 * include/bits/ios_base.h: Formatting tweaks.
937 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
938 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
939 * src/globals.cc: Allocate filebufs for standard streams here.
940 (buf_cout, buf_cin, buf_cerr): Like so.
941 (buf_wcout, buf_wcin, buf_wcerr): And so.
942 * testsuite/27_io/ios_init.cc: Add.
944 2001-06-04 Brendan Kehoe <brendan@zen.org>
945 Benjamin Kosnik <bkoz@redhat.com>
948 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
949 for generic ctype virtuals.
950 * src/locale.cc: Minor tweaks, naming consistency.
951 * testsuite/22_locale/ctype.cc: Add test.
953 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
954 Phil Edwards <pme@sources.redhat.com>
956 PR libstdc++/3035 and PR libstdc++/3036
957 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
958 to LWG DR 181 and 265.
960 2001-06-04 Phil Edwards <pme@sources.redhat.com>
963 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
964 equal_range): Add const overloads as per LWG DR 214.
965 * include/bits/stl_set.h: Likewise.
967 2001-06-04 Brendan Kehoe <brendan@zen.org>
968 Phil Edwards <pme@sources.redhat.com>
971 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
972 comparison; all positions must be < _Nb.
973 * testsuite/23_containers/bitset_members.cc: New file.
975 2001-06-04 Brendan Kehoe <brendan@zen.org>
978 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
979 ctors to match the standard.
981 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
983 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Re-apply change
984 from 2001-05-30, accidentally reverted later that day.
985 * configure: Regenerate.
987 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
988 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
989 SUN make VPATH peculiarities.
990 * libsupc++/Makefile.in: Regenerate.
992 2001-05-31 scott snyder <snyder@fnal.gov>
995 * include/bits/istream.tcc: Include std_ostream.h.
997 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
1000 * src/bitset.cc: Qualify size_t with std::.
1002 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
1004 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
1005 (_GLIBCPP_BUGGY_COMPLEX): Remove.
1006 * config.h.in: Regenerate.
1007 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
1008 * aclocal.m4: Regenerate.
1009 * configure.in: Don't call it.
1010 * configure: Regenerate.
1013 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
1014 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
1018 * include/bits/std_complex.h: Include sstream. Put definitions for
1019 complex inserters and extractors here, and remove them from...
1020 * src/complex_io.cc: ...here.
1021 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
1023 (basic_ios::__numget_type): Same.
1024 * include/bits/std_istream.h: Same.
1025 * include/bits/std_ostream.h: Same.
1026 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
1027 class iterator template arguments.
1028 * src/locale-inst.cc: Add explicit has_facet instantiations.
1029 * include/bits/basic_ios.h (_M_get_fnumput): Remove.
1030 (_M_get_fnumget): Remove.
1031 (basic_ios::_M_check_facet): New function.
1032 (basic_ios::_M_cache_facets): New function.
1033 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
1034 (basic_ios::imbue): Call _M_cache_facets.
1035 (basic_ios::init): Same.
1036 * include/bits/istream.tcc: Format, use _M_check_facet.
1037 * include/bits/ostream.tcc: Same.
1038 * include/bits/locale_facets.tcc (__output_float): Change
1039 signature, add _Traits.
1040 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
1043 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
1045 * include/bits/c++config (__USE_MALLOC): Do not define it.
1046 Document why not and give pointers to more information.
1048 * docs/html/23_containers/howto.html: Update documentation
1049 to reflect recent understanding of problem.
1050 * docs/html/17_intro/howto.html: Likewise.
1052 2001-05-30 Phil Edwards <pme@sources.redhat.com>
1054 * docs/doxygen/user.cfg.in: Minor addition.
1055 * docs/html/documentation.html: Reorganize. Put most-looked-at
1057 * docs/html/install.html: Update for 3.0. HTML fixups.
1058 * docs/html/17_intro/howto.html: Likewise.
1059 * docs/html/18_support/howto.html: Likewise.
1060 * docs/html/19_diagnostics/howto.html: Likewise.
1061 * docs/html/20_util/howto.html: Likewise.
1062 * docs/html/23_containers/howto.html: Likewise.
1063 * docs/html/24_iterators/howto.html: Likewise. More notes.
1064 * docs/html/25_algorithms/howto.html: Likewise.
1065 * docs/html/26_numerics/howto.html: Likewise. More notes.
1066 * docs/html/27_io/howto.html: Likewise.
1067 * docs/html/ext/howto.html: Likewise.
1068 * docs/html/faq/index.html: Likewise.
1069 * docs/html/faq/index.txt: Regenerate.
1070 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
1071 Doxygen-created documentation.
1073 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1075 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
1076 get_multilibs to find gcc.
1078 2001-05-30 Phil Edwards <pme@sources.redhat.com>
1080 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
1081 * aclocal.m4: Regenerate.
1082 * configure: Regenerate.
1084 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1086 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
1087 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
1089 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1091 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
1092 * include/c_std/bits/std_cstdlib.h: Same.
1093 * include/c_std/bits/std_cwchar.h: Same.
1095 2001-05-30 Hans-Peter Nilsson <hp@axis.com>
1097 * src/Makefile.am (VPATH): Delimit with ":", not space.
1098 * src/Makefile.in: Regenerate.
1100 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
1102 * configure: Regenerate.
1104 2001-05-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1106 * include/c_std/bits/std_cmath.h (sqrt): Change __builtin_fsqrt to
1109 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
1111 * include/c_std/bits/std_cmath.h (sqrt): #undef.
1113 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1115 * mknumeric_limits: Stop if gen-num-limits dies.
1117 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
1120 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
1121 * aclocal.m4: Regenerate.
1124 2001-05-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1125 Phil Edwards <pme@sources.redhat.com>
1126 Alexandre Oliva <aoliva@redhat.com>
1128 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
1129 in an amd-safe manner. Revert glibcpp_prefixdir.
1131 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
1133 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
1134 fabs, sin, sqrt. They are now implemented in terms of __builtin_
1137 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
1140 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
1141 * include/bits/ostream.tcc: Format to match istream.tcc.
1142 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
1144 2001-05-24 Phil Edwards <pme@sources.redhat.com>
1146 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
1148 (__cxa_free_exception): Likewise with free.
1150 2001-05-24 Mark Mitchell <mark@codesourcery.com>
1152 * include/c_std/bits/std_cstring.h: #define away all global
1153 functions we will redeclare in namespace `std'.
1154 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
1155 std::memset, instead of memset.
1156 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
1158 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
1161 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
1164 * include/bits/basic_ios.tcc: Small tweak.
1165 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
1166 ctors and dtors, and rdbuf settings.
1169 * include/bits/std_sstream.h: Same, but for stringstream classes.
1170 * testsuite/27_io/ostringstream_members.cc: New.
1171 * testsuite/27_io/stringstream_members.cc: New.
1172 * testsuite/27_io/fstream_members.cc: New.
1173 * testsuite/27_io/ifstream_members.cc: Add test.
1174 * testsuite/27_io/istringstream_members.cc: Add test.
1175 * testsuite/27_io/ofstream_members.cc: Add test.
1177 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1179 * include/bits/c++config(__NO_MATH_INLINES): Move to...
1180 * config/os/gnu-linux/bits/os_defines.h: ...here.
1182 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
1184 * include/bits/c++config (__NO_MATH_INLINES): New macro.
1185 * testsuite/26_numerics/fabs_inline.cc (main): New test.
1187 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
1190 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
1192 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
1193 (libstdc++-v3-finish): Remove.
1194 (libstdc++-v3_exit): Remove.
1196 2001-05-22 Phil Edwards <pme@sources.redhat.com>
1198 * docs/html/documentation.html: Point to doxygen output.
1200 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
1202 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
1204 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
1205 arguments to be non-null.
1206 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
1207 try allocations if allocated size is greater than zero.
1208 (filebuf::_M_filebuf_init): Change to
1209 (filebuf::_M_allocate_file): Which is what it does now.
1210 (filebuf::_M_allocate_bufers): Change to
1211 (filebuf::_M_allocate_internal_buffer): This, and create
1212 (filebuf::_M_allocate_pback_buffer): New.
1213 (filebuf::_M_destroy_internal_buffer): New.
1214 (filebuf::_M_buf_allocated): New data member.
1215 (filebuf::setbuf): Use new logic, allow use of external buffer.
1216 * testsuite/27_io/stringbuf_virtuals.cc: New file.
1217 * testsuite/27_io/filebuf_virtuals.cc: New file.
1219 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
1221 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
1223 (strchr): Same, but to __glibcpp_strchr.
1227 * include/c_std/bits/std_cwchar.h (wcschr): Same.
1233 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
1235 * testsuite/21_strings/c_strings.cc (main): Fix.
1237 2001-05-19 Phil Edwards <pme@sources.redhat.com>
1239 * acinclude.m4: Fix --help spacing, correct comments.
1240 * aclocal.m4: Regenerate.
1241 * configure: Regenerate.
1242 * mkcheck.in: Add usage comments.
1243 * docs/html/documentation.html: Point to doxygen'd tarball.
1245 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
1247 * testsuite/README: Add notes.
1249 * src/Makefile.am (libstdc++.INC): Remove.
1250 * src/Makefile.in: Regenerate.
1252 Phil Edwards <pedwards@disaster.jaj.com>
1253 * mkcheck.in: Add missing '#'.
1255 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1257 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
1258 appropriately for remote testing and testing installed files without
1261 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
1263 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
1264 amd glibcpp_prefixdir with absolute paths.
1266 * include/bits/c++config (__GLIBCPP__): Bump.
1267 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
1269 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
1271 * include/bits/std_valarray.h (valarray<>::operator[] const):
1272 Return a const reference.
1273 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
1275 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
1277 * configure.target (ATOMICITYH): Actually use AIX-specific code on
1278 earlier versions of AIX 4.*.
1280 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1282 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
1283 output_file based on the name of the testcase.
1285 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1287 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
1288 gluefile and use it if needs_status_wrapper is set.
1290 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
1292 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
1295 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
1297 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
1298 on earlier versions of AIX.
1300 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
1302 * testsuite_flags.in (query): Add backwards, ext directories.
1304 2001-05-15 Mark Mitchell <mark@codesourcery.com>
1306 * porting.texi: Correct documentation about handling
1307 _LARRGEFILE_SOURCE and its ilk.
1308 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1309 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
1311 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
1312 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
1314 001-05-15 Zack Weinberg <zackw@stanford.edu>
1316 * testsuite/21_strings/inserters_extractors.cc,
1317 testsuite/27_io/istream_unformatted.cc,
1318 testsuite/27_io/stringstream.cc:
1319 Replace multi-line string constants with C89-style
1320 concatenated string constants.
1322 2001-05-14 Richard Henderson <rth@redhat.com>
1324 * mknumeric_limits: Build with -fno-exceptions.
1326 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
1328 Switch over to new harness.
1329 * testsuite_flags.in: Tweaks via Gaby.
1330 * testsuite/Makefile.am: Change tool to libstdc++-v3.
1331 (EXPECT): Quote directly.
1333 * configure.in: Output testsuite_flags.
1334 * acinclude.m4: Substitute src, bld, and prefix dirs.
1335 Remove glibcpp_expect, glibcpp_runtestflags.
1336 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
1337 * mkcheck.in: Port to new interface.
1339 * aclocal.m4: Regerate.
1340 * configure: Regnerate.
1341 * Makefile.in: Regnerate.
1342 * */Makefile.in: Regenerate.
1344 * tests_flags.in: Remove.
1345 * testsuite/lib/libstdc++.exp: Remove.
1346 * testsuite/libstdc++.tests/tests.exp: Remove.
1348 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
1350 * configure.target: Remove detection of AIX pthread multilib, now
1351 obtained from `gcc -v'.
1353 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
1355 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
1356 size. Add hpux case for HP size.
1358 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
1360 * testsuite_flags.in: New, simplified interface.
1361 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
1362 * testsuite/libstdc++-v3.dg: Add.
1363 * testsuite/libstdc++-v3.dg/dg.exp: Add.
1365 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
1367 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
1368 * testsuite/config/default.exp: Update bugs email address.
1370 2001-05-11 Richard Henderson <rth@redhat.com>
1372 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
1373 all pointer encoding logic.
1374 (struct lsda_header_info): Add ttype_base.
1375 (get_ttype_entry): Use it instead of a context.
1376 (check_exception_spec): Likewise.
1377 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
1378 the c++ exception header for __cxa_call_unexpected.
1379 (__cxa_call_unexpected): Use it.
1381 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
1383 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
1384 libgloss_link_flags to find crt0.o for targets that use libgloss
1386 Change LDFLAGS to LIBS.
1387 Consistently name procedures libstdc++-XXX.
1388 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
1390 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
1392 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
1397 * include/c_std/bits/std_cwchar.h (wcschr): Same.
1402 * testsuite/21_strings/c_strings.cc: Add tests.
1404 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
1407 * include/bits/std_fstream.h (basic_filebuf): Change signature.
1408 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
1409 to int_type, pass in buffer size info.
1410 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
1411 unbuffered situation.
1412 (underflow): Remove codecvt bits for the time being.
1413 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
1414 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
1415 values from iterators, clean.
1416 * src/locale.cc: Ditto.
1417 * include/bits/sbuf_iter.h: Format.
1418 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
1419 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
1420 * testsuite/27_io/filebuf.cc: Tweaks.
1421 * testsuite/27_io/filebuf_members.cc: Tweaks.
1423 2001-05-07 Mark Mitchell <mark@codesourcery.com>
1425 * config/os/solaris/solaris2.7/bits/os_defines.h
1426 (_LARGEFILE_SOURCE): Define it.
1428 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
1430 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
1431 -prefer-non-pic depending on whether libtool has shared libraries
1432 enabled or disabled.
1433 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
1434 $(LIBSUPCXX_PICFLAGS).
1435 * configure, */Makefile.in: Rebuilt.
1437 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
1439 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
1440 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
1442 * include/bits/std_sstream.h (stringbuf): Leak
1444 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
1446 2001-05-01 Tom Browder <tbrowder@home.com>
1448 * docs/html/ext/howto.html: Fix typo.
1450 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
1452 * testsuite/libstdc++.tests/tests.exp: Add comment.
1454 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
1456 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
1458 2001-04-30 Mark Mitchell <mark@codesourcery.com>
1460 * porting.texi: Use the GFDL.
1462 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
1465 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
1466 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
1469 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
1472 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
1474 2001-04-28 Phil Edwards <pme@sources.redhat.com>
1476 * docs/doxygen/run_doxygen: Minor tweaks.
1477 * docs/doxygen/style.css: New file.
1478 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
1479 latest parameters available. Use style.css.
1481 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
1483 * docs/doxygen/mainpage.doxy: New.
1484 * docs/doxygen/user.cfg.in: Change default configuration. Single
1485 frame, other tweaks.
1487 2001-04-26 Mark Mitchell <mark@codesourcery.com>
1489 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
1490 Indicate obsolete nature of thelist for G++ 3.0.
1492 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
1494 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
1495 target_thread_file with `gcc -v'.
1496 * aclocal.m4, configure: Rebuilt.
1498 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
1500 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
1501 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
1502 * include/c_std/bits/std_cwchar.h (std): Same.
1503 * acconfig.h (std): Remove c99 injection into std.
1504 * config.h.in: Regenerate.
1506 * testsuite/README: Fix typo.
1508 * include/bits/codecvt.h: Remove warnings.
1510 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1512 * include/ext/slist: Include required header files.
1514 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
1516 * include/c_std/bits/std_cerrno.h (errno): Define macro from
1517 identifier declared with external linkage, if needed.
1518 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
1519 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
1521 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
1523 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
1524 re-configures find the build compiler.
1525 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
1527 * aclocal.m4: Regenerate.
1528 * configure: Regenerate.
1530 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
1532 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
1533 support is enabled correctly before long long is activated.
1534 * aclocal.m4: Regenerate.
1535 * configure: Regenerate.
1537 * include/backward/backward_warning.h: Format correctly.
1539 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
1540 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
1541 * testsuite/26_numerics/c99_macros.cc: Remove.
1543 2001-04-20 Phil Edwards <pme@sources.redhat.com>
1545 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
1546 __iterator_category.
1548 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
1550 * acconfig.h (_GLIBCPP_USE_C99): Add.
1551 * config.h.in: Regenerate.
1552 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
1554 * aclocal.m4: Regenerate.
1555 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
1556 * configure: Regenerate.
1557 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
1558 * configure: Regenerate.
1559 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
1561 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
1563 * include/c_std/bits/std_cstdlib.h: Same.
1564 * docs/html/configopts.html: Update.
1565 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
1567 (test_c99_classify): Add.
1568 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
1569 (_ISOC99_SOURCE): Remove.
1571 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
1572 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
1573 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
1574 * aclocal.m4: Regenerate.
1575 * configure: Regenerate.
1577 2001-04-19 Phil Edwards <pme@sources.redhat.com>
1579 * Makefile.am (doxygen): Assume script is missing execute perms.
1580 * Makefile.in: Regenerated.
1581 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
1583 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
1585 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
1587 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
1589 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
1590 * testsuite/23_containers/set_operators.cc: Same.
1592 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
1594 (__GLIBCPP__): Bump from value of last release.
1595 * include/bits/concept_check.h: Default to off, edit comments.
1596 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
1597 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
1598 * src/Makefile.in: Regenerate.
1600 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
1602 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
1603 Properly uglify member.
1605 2001-04-13 Phil Edwards <pme@sources.redhat.com>
1607 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
1611 2001-04-13 Phil Edwards <pme@sources.redhat.com>
1613 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
1614 * include/bits/concept_check.h: Uglify.
1615 * include/bits/stl_algo.h: Likewise.
1616 * include/bits/stl_algobase.h: Likewise.
1617 * include/bits/stl_deque.h: Likewise.
1618 * include/bits/stl_heap.h: Likewise.
1619 * include/bits/stl_iterator_base_funcs.h: Likewise.
1620 * include/bits/stl_list.h: Likewise.
1621 * include/bits/stl_map.h: Likewise.
1622 * include/bits/stl_multimap.h: Likewise.
1623 * include/bits/stl_multiset.h: Likewise.
1624 * include/bits/stl_numeric.h: Likewise.
1625 * include/bits/stl_queue.h: Likewise.
1626 * include/bits/stl_set.h: Likewise.
1627 * include/bits/stl_stack.h: Likewise.
1628 * include/bits/stl_vector.h: Likewise.
1629 * include/ext/hash_map: Likewise.
1630 * include/ext/hash_set: Likewise.
1631 * include/ext/slist: Likewise.
1633 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
1635 * testsuite/23_containers/set_operators.cc: Just try to compile.
1637 * testsuite/23_containers/map_operators.cc: Same.
1639 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
1641 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
1643 (dg-test): Revert rth's change.
1645 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
1647 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
1648 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
1650 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
1652 * testsuite/README: Add DejaGnu specific documentation.
1654 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
1656 * acinclude.m4: AC_CHECK_TOOL for expect.
1657 * aclocal.m4: Regenerate.
1658 * configure: Regenerate.
1659 * testsuite/Makefile.am (RUNTEST): Use substituted.
1662 * configure.in: Remove xcompiling substitution.
1663 * tests_flags.in (CROSS_LIB_PATH): Remove.
1664 (xcompiling): Remove.
1665 (CXX): Use substituted CXX.
1667 2001-04-11 Richard Henderson <rth@redhat.com>
1669 * testsuite/lib/libstdc++.exp: Specify path for output_file.
1671 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
1673 * include/bits/std_valarray.h(valarray<>::operator[]): Make
1676 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
1678 * testsuite/25_algorithms/equal.cc: New test.
1680 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
1682 * stl_algobase.h (std::equal): avoid use of possibly-undefined
1683 operator != (one line patch).
1685 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
1687 * include/backward/backward_warning.h: Re-enable.
1689 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
1690 Alexandre Oliva <aoliva@redhat.com>
1692 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
1694 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
1696 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
1697 * testsuite/26_numerics/c99_macros.cc: Add test.
1699 2001-04-06 Phil Edwards <pme@sources.redhat.com>
1701 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
1702 * docs/html/faq/index.txt: Regenerated.
1704 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
1706 * include/backward/backward_warning.h: Temporarily disable until
1707 g++ testsuite changes go in.
1708 * tests_flags.in (CROSS_LIB_PATH): Add.
1710 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
1712 Warn when using backward headers.
1713 * include/backward/algo.h: Include warning file.
1714 * include/backward/vector.h: Same.
1715 * include/backward/tree.h: Same.
1716 * include/backward/tempbuf.h: Same.
1717 * include/backward/strstream: Same.
1718 * include/backward/streambuf.h: Same.
1719 * include/backward/stream.h: Same.
1720 * include/backward/stack.h: Same.
1721 * include/backward/slist.h: Same.
1722 * include/backward/set.h: Same.
1723 * include/backward/rope.h:
1724 * include/backward/queue.h: Same.
1725 * include/backward/pair.h: Same.
1726 * include/backward/ostream.h: Same.
1727 * include/backward/new.h: Same.
1728 * include/backward/multiset.h: Same.
1729 * include/backward/multimap.h: Same.
1730 * include/backward/map.h: Same.
1731 * include/backward/list.h: Same.
1732 * include/backward/iterator.h: Same.
1733 * include/backward/istream.h: Same.
1734 * include/backward/iostream.h:
1735 * include/backward/iomanip.h:
1736 * include/backward/heap.h: Same.
1737 * include/backward/hashtable.h:
1738 * include/backward/hash_set.h:
1739 * include/backward/hash_map.h:
1740 * include/backward/function.h:
1741 * include/backward/fstream.h:
1742 * include/backward/deque.h:
1743 * include/backward/defalloc.h: Same.
1744 * include/backward/complex.h: Same.
1745 * include/backward/bvector.h:
1746 * include/backward/alloc.h:
1747 * include/backward/algobase.h: Same.
1749 * include/backward/backward_warning.h: New file.
1750 * src/Makefile.am (backward_headers): Add backward_warning.h
1751 * src/Makefile.in: Regenerate.
1753 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
1755 * src/Makefile.am (myinstalldirs): Make sure backward directory is
1757 (myinstallheaders): Install backward headers in backward directory.
1758 * src/Makefile.in: Regenerate.
1760 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
1762 Prepare for libstdc++-2.92.
1763 * docs/html/17_intro/RELEASE-NOTES (New): Update.
1764 * docs/html/configopts.html: Fix formatting.
1765 * README (file): Updates.
1766 * include/bits/c++config (__GLIBCPP__): Update.
1768 2001-04-05 Phil Edwards <pme@sources.redhat.com>
1770 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
1772 2001-04-04 Phil Edwards <pme@sources.redhat.com>
1774 * docs/doxygen/user.cfg.in: Extract all non-private members;
1775 reduce confusing documentation output.
1777 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
1779 * include/backward/fstream.h: Add missing semicolons.
1781 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
1783 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
1784 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
1785 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
1786 (ios_base::Init::_S_ios_create): New.
1787 (ios_base::Init::_S_ios_destroy): New.
1788 * include/bits/std_fstream.h: Change ctor args.
1789 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
1790 (ios_base::Init::~Init): Use _S_ios_destroy.
1791 (ios_base::sync_with_stdio): Use new members.
1792 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
1795 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1797 * include/backward/fstream.h: Expose streampos to global
1800 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1802 * include/bits/stl_iterator_base_types.h: Fix typo
1804 2001-04-03 Andreas Schwab <schwab@suse.de>
1806 * include/backward/fstream.h: Define filebuf and wfilebuf.
1808 2001-04-02 Phil Edwards <pme@sources.redhat.com>
1810 New concept checking implementation.
1811 * docs/html/19_diagnostics/howto.html: Document.
1812 * docs/html/17_intro/concept_check.diff: New file, for reference.
1813 * include/bits/boost_concept_check.h: New file from Boost.
1814 * include/bits/c++config: Update comments.
1816 * include/bits/concept_check.h: New file.
1817 * include/bits/concept_checks.h: Removed.
1818 * include/bits/container_concepts.h: Removed.
1819 * include/bits/sequence_concepts.h: Removed.
1820 * include/bits/stl_iterator_base.h: Removed; split into...
1821 * include/bits/stl_iterator_base_funcs.h: ...this new file...
1822 * include/bits/stl_iterator_base_types.h: ...and this new file.
1824 * include/bits/sbuf_iter.h: Update to use new implementation.
1825 * include/bits/std_iterator.h: Likewise.
1826 * include/bits/std_memory.h: Likewise.
1827 * include/bits/stl_algo.h: Likewise.
1828 * include/bits/stl_algobase.h: Likewise.
1829 * include/bits/stl_construct.h: Likewise.
1830 * include/bits/stl_deque.h: Likewise.
1831 * include/bits/stl_heap.h: Likewise.
1832 * include/bits/stl_list.h: Likewise.
1833 * include/bits/stl_map.h: Likewise.
1834 * include/bits/stl_multimap.h: Likewise.
1835 * include/bits/stl_multiset.h: Likewise.
1836 * include/bits/stl_numeric.h: Likewise.
1837 * include/bits/stl_queue.h: Likewise.
1838 * include/bits/stl_set.h: Likewise.
1839 * include/bits/stl_stack.h: Likewise.
1840 * include/bits/stl_uninitialized.h: Likewise.
1841 * include/bits/stl_vector.h: Likewise.
1842 * include/ext/hash_map: Likewise.
1843 * include/ext/hash_set: Likewise.
1844 * include/ext/slist: Likewise.
1845 * include/ext/stl_hashtable.h: Likewise.
1847 * src/Makefile.am (base_headers): Update list of headers.
1848 * Makefile.in: Regenerated.
1849 * src/Makefile.in: Regenerated.
1850 * libio/Makefile.in: Regenerated.
1851 * libmath/Makefile.in: Regenerated.
1852 * libsupc++/Makefile.in: Regenerated.
1853 * testsuite/Makefile.in: Regenerated.
1855 * docs/html/install.html: Update contact information.
1856 * docs/html/17_intro/howto.html: Ditto.
1857 * docs/html/18_support/howto.html: Ditto.
1858 * docs/html/20_util/howto.html: Ditto.
1859 * docs/html/21_strings/howto.html: Ditto.
1860 * docs/html/22_locale/howto.html: Ditto.
1861 * docs/html/23_containers/howto.html: Ditto.
1862 * docs/html/24_iterators/howto.html: Ditto.
1863 * docs/html/25_algorithms/howto.html: Ditto.
1864 * docs/html/26_numerics/howto.html: Ditto.
1865 * docs/html/27_io/howto.html: Ditto.
1866 * docs/html/faq/index.html: Ditto, plus info on new checking code.
1867 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
1868 * docs/html/faq/index.txt: Regenerated.
1870 2001-04-02 Zack Weinberg <zackw@stanford.edu>
1872 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
1873 messages with $which_library as well as $tool_flags and
1874 ${dg-extra-tool-flags}. Factor out annotation text into
1877 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
1879 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
1880 * include/c_std/bits/std_cwchar.h: Same.
1881 * testsuite/21_strings/c_strings.cc: Add.
1883 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
1885 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
1887 2001-04-01 Zack Weinberg <zackw@stanford.edu>
1889 * tests_flags.in: Use test a = b, not test a == b which is not
1892 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
1894 * configure.target: Remove duplicate aix entry.
1896 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
1898 * include/ext/stl_bvector.h: Move to...
1899 * include/bits/stl_vector.h: ...here.
1900 * include/ext/bvector: Move to...
1901 * include/backward/bvector.h: ...here.
1902 * include/bits/std_vector.h: Change stl_bvector include.
1903 * include/bits/std_queue.h: Remove bvector include.
1904 * include/ext/tree: Insert using rb_tree, move to...
1905 * include/backward/tree.h: ...here.
1906 * include/backward/hash_map.h: Include ext/hash_map.
1907 * include/backward/hash_set.h: Include ext/hash_set.
1908 * include/backward/queue.h: New file.
1909 * include/backward/stack.h: Edit.
1910 * include/backward/algo.h: Same.
1911 * include/backward/algobase.h: Same.
1912 * include/backward/alloc.h: Same.
1913 * include/backward/function.h: Same.
1914 * include/backward/iomanip.h: Same.
1915 * include/backward/istream.h: Same.
1916 * include/backward/iterator.h: Same.
1917 * include/backward/list.h: Same.
1918 * include/backward/map.h: Same.
1919 * include/backward/multimap.h: Same.
1920 * include/backward/multiset.h: Same.
1921 * include/backward/ostream.h: Same.
1922 * include/backward/pair.h: Same
1923 * include/backward/rope.h: Same.
1924 * include/backward/set.h: Same.
1925 * include/backward/stream.h: Same.
1926 * include/backward/strstream.h: Same.
1927 * include/backward/tempbuf.h: Same.
1928 * src/Makefile.am (ext_headers): Edit.
1929 * src/Makefile.in: Regenerate.
1930 * testsuite/ext/headers.cc (main): Fix.
1933 2001-03-30 Phil Edwards <pme@sources.redhat.com>
1935 * tests_flags.in (LIBS): Pass correct path for installed testing.
1937 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
1939 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
1940 * tests_flags.in (CXX): Construct here.
1941 (static_fail): Don't remove compile.out. Format with spaces.
1942 (INCLUDES): Deal with xcompiling.
1943 * configure.in (xcompiling): Substitute.
1944 * testsuite/Makefile.am: Snake libjava configury.
1945 * testsuite/Makefile.in: Regenerate.
1946 * testsuite/23_containers/map_operators.cc: Tweaks.
1947 * testsuite/23_containers/set_operators.cc: Tweaks.
1949 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1951 Enable dejagnu testing framework.
1952 * configure.in: Generate testsuite/Makefile.
1953 * configure: Regenerate.
1954 * Makefile.am (check-install): Change rule from this...
1955 (check-script-install): ...to this.
1956 (check): Change rule from this...
1957 (check-script):...to this.
1958 * Makefile.in: Regenerate.
1960 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
1962 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
1964 (LIBTOOL): Let automake take care of its definition.
1965 * libsupc++/Makefile.in: Rebuilt.
1967 2001-03-28 Richard Henderson <rth@redhat.com>
1969 IA-64 ABI Exception Handling:
1970 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
1971 * configure.in: Use it.
1972 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
1973 * libsupc++/Makefile.am (sources): Update files list.
1974 * libsupc++/Makefile.in: Regenerate.
1975 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
1976 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
1977 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
1978 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
1979 * libsupc++/exception_support.cc: Remove.
1980 * libsupc++/exception_support.h: Remove.
1981 * libsupc++/pure.cc: Use std::terminate.
1982 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
1983 (__is_pointer): Remove.
1984 * libsupc++/unwind-cxx.h: New file.
1985 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
1987 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
1989 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
1991 * src/Makefile.am (CXXLINK): Likewise.
1992 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
1994 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
1996 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
1998 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2000 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
2003 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
2005 * include/bits/basic_file.h (get_fileno): Remove.
2006 (_M_fileno): Remove.
2007 (_M_cfile_created): Add.
2008 (basic_file::basic_file(__c_file_type*, openmode): Add.
2009 (basic_file::basic_file(int, const char*, openmode): Remove.
2010 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
2011 const char*, ios_base::openmode): Don't allocate
2012 internal buffers. Turn off internal buffers.
2013 (basic_filebuf::overflow): Remove test for null buffer.
2014 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
2015 * include/bits/streambuf.cc: Tweak.
2016 * include/bits/std_ostream.h: Tweak.
2017 * config/basic_file_libio.h: Same.
2018 * config/basic_file_stdio.h: Same.
2019 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
2020 * testsuite/27_io/filebuf_members.cc: Tweaks.
2021 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
2023 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2025 * Makefile.am: New targets, doxygen and doxygen-maint.
2026 * Makefile.in: Regenerated.
2027 * docs/doxygen/run_doxygen: Finally implemented.
2028 * docs/doxygen/maint.cfg.in: New file.
2029 * docs/doxygen/user.cfg.in: New file.
2031 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2033 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
2034 * src/Makefile.am: Replace leading spaces with tabs on continuation
2036 * aclocal.m4: Regenerated.
2038 * Makefile.in: Ditto.
2039 * src/Makefile.in: Ditto.
2040 * libio/Makefile.in: Ditto.
2041 * libmath/Makefile.in: Ditto.
2042 * libsupc++/Makefile.in: Ditto.
2044 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2046 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
2047 concept-checking code and current status of same.
2048 * docs/html/ext/howto.html: Ditto.
2049 * docs/html/faq/index.html: Ditto.
2050 * docs/html/faq/index.txt: Regenerated.
2052 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2054 * include/bits/std_bitset.h: Include ostream and istream headers
2055 instead of iostream.
2057 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
2059 * include/bits/ostream.tcc: Use __builtin_alloca.
2061 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
2063 * src/misc-inst.cc (__sink_unused_warning): Move to...
2064 * src/locale-inst.cc (__sink_unused_warning): Move to...
2065 * src/stl-inst.cc: Here.
2066 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
2069 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2071 * include/bits/basic_file.h: Fix typos in comments.
2073 2001-03-20 Richard Henderson <rth@redhat.com>
2075 * src/gen-num-limits.cc: Instantiate for wchar_t.
2076 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
2078 2001-03-20 Jason Merrill <jason@redhat.com>
2080 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
2081 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
2082 * libsupc++/cxxabi.h: Declare it.
2084 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
2086 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
2087 signal_func with an unspecified argument list.
2089 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
2091 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
2093 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2095 * include/bits/basic_string.tcc (operator+): Fix thinko.
2097 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
2100 * include/bits/std_streambuf.h: Remove cached locale facets.
2101 (basic_streambuf::_M_buf_fctype): Remove.
2102 (basic_streambuf::~basic_streambuf): Remove here.
2103 (basic_streambuf::basic_streambuf): Same.
2104 (basic_streambuf::imbue): Same.
2105 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
2106 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
2107 (basic_filebuf::~basic_filebuf()): Remove here.
2108 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
2109 (basic_filebuf::imbue): Same.
2110 * include/bits/localefwd.h (_Count_ones): Remove.
2111 (locale::_S_num_categories): Just use 6, since this doesn't
2112 actually change, ever.
2113 * include/bits/locale_facets.tcc (has_facet): Simplify.
2115 * testsuite/27_io/filebuf.cc (test06): Add tests.
2117 2001-03-13 Steve Ellcey <sje@cup.hp.com>
2119 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
2120 match HP-UX ctype.h header file.
2122 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
2124 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
2125 duplicate definitions of __dj_ctype_*
2127 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
2129 * libsupc++/new: Remove pragma interface.
2130 * libsupc++/typeinfo: Same.
2131 * libsupc++/exception: Same.
2132 * libsupc++/new_handler.cc: Remove pragma implementation.
2133 (bad_alloc::~bad_alloc()): Add.
2134 * libsupc++/exception_support.cc: Same.
2135 (exception::~exception): Add.
2136 (bad_exception::~bad_exception): Add.
2137 * libsupc++/tinfo.cc: Same.
2138 (bad_cast::~bad_cast): Add.
2139 (bad_typeid::~bad_typeid): Add.
2141 2001-03-13 Phil Edwards <pme@sources.redhat.com>
2143 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
2145 2001-03-12 Felix Lee <flee@redhat.com>
2147 * mkcheck.in: workaround for bash 2.01 IFS bug.
2149 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
2151 Fixups for -fno-for-scope
2152 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
2153 * src/valarray-inst.cc (__gslice_to_index): Same.
2155 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
2157 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
2158 prior to trapping signal (UnixWare 7 workaround).
2160 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
2162 * include/backward/hashtable.h: Same.
2163 * include/backward/rope.h: Fix include.
2165 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
2167 * include/backward/vector.h: Include std_vector.h.
2169 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
2170 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
2173 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2175 * include/ext/stl_hashtable.h: Change type of __n to size_t
2176 * include/backward/bvector.h: Include <ext/stl_bvector.h>
2178 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2180 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
2181 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
2182 Use streamsize, not int_type.
2184 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
2186 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
2189 2001-03-08 Andreas Schwab <schwab@suse.de>
2191 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
2193 * aclocal.m4, configure: Regenerated.
2195 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
2197 * include/bits/std_iosfwd.h: Remove string forward decls here.
2198 * include/bits/stringfwd.h: Add forward decls for char_traits
2200 * config/c_io_libio.h (wstreamoff): Delete.
2201 * config/c_io_stdio.h (wstreamoff): Same.
2202 * include/bits/char_traits.h: Use streamoff not wstreamoff for
2203 char_traits<wchar_t>::off_type.
2204 Remove duplicate typedefs.
2205 * include/bits/fpos.h: Define streampos/wstreampos here.
2206 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
2209 Changeup output files.
2210 * testsuite/27_io/istream_unformatted.cc: Change output files.
2211 * testsuite/27_io/istream_seeks-1.txt: Add.
2212 * testsuite/27_io/istream_seeks-2.tst: Add.
2213 * testsuite/27_io/istream_seeks-1.tst: Add.
2214 * testsuite/27_io/istream_unformatted-2.tst: Delete.
2215 * testsuite/27_io/istream_unformatted-3.tst: Delete.
2216 * testsuite/27_io/istream_unformatted-3.txt: Delete.
2218 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
2220 Add Irix 5.2, 6.3 support.
2221 * config/os/irix/bits: Renamed to...
2222 * config/os/irix/irix6.5/bits: this.
2223 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
2224 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
2225 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
2226 * config/os/irix/irix5.2/bits/ctype_noninline.h
2227 (ctype<char>::ctype): Initialize _M_table with __ctype.
2228 * configure.target: Adjust.
2230 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
2233 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
2234 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
2236 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
2237 (*__pf)(__ios_type&)): Same.
2238 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
2239 (*__pf)(ios_base&))): Same.
2240 * testsuite/27_io/istream_extractor_other.cc: Add tests.
2241 * testsuite/27_io/istream_manip.cc (test01): Fix.
2243 2001-03-06 Nathan Myers <ncm@cantrip.org>
2244 Benjamin Kosnik <bkoz@redhat.com>
2246 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
2247 * testsuite/17_intro/header_cerrno.cc (test01): New file.
2248 * testsuite/17_intro/header_cassert.cc (test01): New file.
2249 * testsuite/17_intro/header_cstddef.cc (test01): New file.
2250 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
2251 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
2253 2001-03-05 scott snyder <snyder@fnal.gov>
2256 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
2258 * include/c_std/bits/std_cstdlib.h: ... to here.
2259 * testsuite/17_intro/header_cstdlib.cc: Add test.
2261 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
2263 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
2265 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
2267 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
2268 definition. Replace enum with static const variables.
2270 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
2271 throw specification, fix typos, use <static_cast>.
2272 (ctype<char>::scan_is): remove throw specification.
2273 (ctype<char>::scan_not): likewise.
2275 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
2276 (ctype<char>::do_toupper(char)): use <static_cast>.
2277 (ctype<char>::do_toupper(char *, const char *)): likewise.
2278 (ctype<char>::do_tolower(char)): likewise.
2279 (ctype<char>::do_tolower(char *, const char *)): likewise.
2281 2001-03-04 Phil Edwards <pme@sources.redhat.com>
2283 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
2284 * include/backward/algo.h: Use std not __STD. Remove unneeded
2285 macros and "never happens" code. Adjust to C++STYLE guidelines.
2286 * include/backward/algobase.h: Likewise.
2287 * include/backward/alloc.h: Likewise.
2288 * include/backward/bvector.h: Likewise.
2289 * include/backward/deque.h: Likewise.
2290 * include/backward/function.h: Likewise.
2291 * include/backward/hash_map.h: Likewise.
2292 * include/backward/hash_set.h: Likewise.
2293 * include/backward/hashtable.h: Likewise.
2294 * include/backward/heap.h: Likewise.
2295 * include/backward/iterator.h: Likewise.
2296 * include/backward/list.h: Likewise.
2297 * include/backward/map.h: Likewise.
2298 * include/backward/multimap.h: Likewise.
2299 * include/backward/multiset.h: Likewise.
2300 * include/backward/pair.h: Likewise.
2301 * include/backward/rope.h: Likewise.
2302 * include/backward/set.h: Likewise.
2303 * include/backward/slist.h: Likewise.
2304 * include/backward/stack.h: Likewise.
2305 * include/backward/strstream: Likewise.
2306 * include/backward/tempbuf.h: Likewise.
2307 * include/backward/tree.h: Likewise.
2308 * include/backward/vector.h: Likewise.
2309 * include/bits/basic_ios.h: Likewise.
2310 * include/bits/basic_ios.tcc: Likewise.
2311 * include/bits/basic_string.h: Likewise.
2312 * include/bits/c++config: Likewise.
2313 * include/bits/concept_checks.h: Likewise.
2314 * include/bits/fpos.h: Likewise.
2315 * include/bits/fstream.tcc: Likewise.
2316 * include/bits/functexcept.h: Likewise.
2317 * include/bits/ios_base.h: Likewise.
2318 * include/bits/istream.tcc: Likewise.
2319 * include/bits/mask_array.h: Likewise.
2320 * include/bits/ostream.tcc: Likewise.
2321 * include/bits/pthread_allocimpl.h: Likewise.
2322 * include/bits/sbuf_iter.h: Likewise.
2323 * include/bits/slice.h: Likewise.
2324 * include/bits/slice_array.h: Likewise.
2325 * include/bits/sstream.tcc: Likewise.
2326 * include/bits/std_bitset.h: Likewise.
2327 * include/bits/std_fstream.h: Likewise.
2328 * include/bits/std_iomanip.h: Likewise.
2329 * include/bits/std_ios.h: Likewise.
2330 * include/bits/std_istream.h: Likewise.
2331 * include/bits/std_iterator.h: Likewise.
2332 * include/bits/std_memory.h: Likewise.
2333 * include/bits/std_ostream.h: Likewise.
2334 * include/bits/std_sstream.h: Likewise.
2335 * include/bits/std_streambuf.h: Likewise.
2336 * include/bits/std_string.h: Likewise.
2337 * include/bits/std_valarray.h: Likewise.
2338 * include/bits/stl_algo.h: Likewise.
2339 * include/bits/stl_algobase.h: Likewise.
2340 * include/bits/stl_alloc.h: Likewise.
2341 * include/bits/stl_construct.h: Likewise.
2342 * include/bits/stl_deque.h: Likewise.
2343 * include/bits/stl_function.h: Likewise.
2344 * include/bits/stl_heap.h: Likewise.
2345 * include/bits/stl_iterator.h: Likewise.
2346 * include/bits/stl_iterator_base.h: Likewise.
2347 * include/bits/stl_list.h: Likewise.
2348 * include/bits/stl_map.h: Likewise.
2349 * include/bits/stl_multimap.h: Likewise.
2350 * include/bits/stl_multiset.h: Likewise.
2351 * include/bits/stl_numeric.h: Likewise.
2352 * include/bits/stl_pair.h: Likewise.
2353 * include/bits/stl_pthread_alloc.h: Likewise.
2354 * include/bits/stl_queue.h: Likewise.
2355 * include/bits/stl_raw_storage_iter.h: Likewise.
2356 * include/bits/stl_relops.h: Likewise.
2357 * include/bits/stl_set.h: Likewise.
2358 * include/bits/stl_stack.h: Likewise.
2359 * include/bits/stl_tempbuf.h: Likewise.
2360 * include/bits/stl_threads.h: Likewise.
2361 * include/bits/stl_tree.h: Likewise.
2362 * include/bits/stl_uninitialized.h: Likewise.
2363 * include/bits/stl_vector.h: Likewise.
2364 * include/bits/streambuf.tcc: Likewise.
2365 * include/bits/type_traits.h: Likewise.
2366 * include/bits/valarray_meta.h: Likewise.
2367 * include/ext/bvector: Likewise.
2368 * include/ext/hash_map: Likewise.
2369 * include/ext/hash_set: Likewise.
2370 * include/ext/ropeimpl.h: Likewise.
2371 * include/ext/slist: Likewise.
2372 * include/ext/stl_bvector.h: Likewise.
2373 * include/ext/stl_hash_fun.h: Likewise.
2374 * include/ext/stl_hashtable.h: Likewise.
2375 * include/ext/stl_rope.h: Likewise.
2376 * src/complex_io.cc: Likewise.
2377 * src/ios.cc: Likewise.
2378 * src/locale-inst.cc: Likewise.
2379 * src/locale.cc: Likewise.
2380 * src/localename.cc: Likewise.
2381 * src/misc-inst.cc: Likewise.
2382 * src/stdexcept.cc: Likewise.
2383 * src/stl-inst.cc: Likewise.
2384 * src/strstream.cc: Likewise.
2385 * src/valarray-inst.cc: Likewise.
2387 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
2389 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
2391 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2393 * include/bits/istream.tcc: change type of __extracted to __size_type
2395 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
2397 * src/wstring-inst.cc: New file.
2398 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
2399 (libinst_wstring_la_SOURCES): Remove.
2400 (libstdc___la_LIBADD): Remove libinst_wstring_la.
2401 (sources): Add wstring-inst.cc
2402 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
2405 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2407 * src/locale.cc: initialise __ret with zero
2408 * src/strstream.cc:cast gptr to int_type
2410 2001-03-01 Phil Edwards <pme@sources.redhat.com>
2412 * docs/html/faq/index.html: Update broken links.
2413 * docs/html/faq/index.txt: Regenerated.
2415 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
2418 * configure.target: Change irix* to irix6.5* in target_os table.
2420 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
2423 * include/bits/c++config (__GLIBCPP__): Bump number in
2424 anticipation of 2.92.
2426 * include/bits/codecvt.h: Fix typo.
2427 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
2429 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
2430 instantiations for stdio model.
2432 2001-02-28 Phil Edwards <pme@sources.redhat.com>
2434 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
2435 and GLIBCPP_CXXFLAGS as unused variables.
2436 * configure.host: Likewise.
2437 * configure.target: Likewise.
2438 * aclocal.m4: Regenerated.
2439 * configure: Regenerated.
2440 * Makefile.in: Regenerated.
2441 * libio/Makefile.in: Regenerated.
2442 * libmath/Makefile.in: Regenerated.
2443 * libsupc++/Makefile.in: Regenerated.
2444 * src/Makefile.in: Regenerated.
2446 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2449 * include/bits/basic_file.h: Include basic_file_model.h.
2450 * config/c_io_libio.cc: Move to...
2451 * config/basic_file_libio.cc: Here.
2452 * config/basic_file_libio.h: New file.
2453 * config/c_io_stdio.cc: Move to...
2454 * config/basic_file_stdio.cc: Here.
2455 * config/basic_file_stdio.h: New file.
2456 * config/c_io_libio.h: Tweak.
2457 * config/c_io_stdio.h: Tweak.
2458 * src/Makefile.am (build_headers): Add basic_file_model.h.
2459 (sources): Add basic_file.cc, remove c++io.cc.
2460 * src/Makefile.in: Regenerate.
2461 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
2462 basic_file_model.h and basic_file.cc.
2463 * aclocal.m4: Regenerate.
2464 * configure: Regenerate.
2465 * testsuite/27_io/filebuf.cc (test05): Add regression.
2467 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2470 * config/cpu/alpha/bits/atomicity.h: Change.
2471 * config/cpu/arm/bits/atomicit3y.h
2472 * config/cpu/generic/bits/atomicity.h
2473 * config/cpu/i386/bits/atomicity.h
2474 * config/cpu/i486/bits/atomicity.h
2475 * config/cpu/ia64/bits/atomicity.h
2476 * config/cpu/powerpc/bits/atomicity.h
2477 * config/cpu/sparc/sparc32/bits/atomicity.h
2478 * config/cpu/sparc/sparc64/bits/atomicity.h
2479 * config/os/aix/bits/atomicity.h
2480 * config/os/irix/bits/atomicity.h
2482 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2484 * include/bits/std_stdexcept.h (runtime_error): Make string
2486 (logic_error): Same.
2487 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
2490 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
2494 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
2495 string object, not reference.
2496 (runtime_error::runtime_error): Same.
2497 * testsuite/19_diagnostics/stdexceptions.cc: New file.
2499 2001-02-26 Phil Edwards <pme@sources.redhat.com>
2501 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
2502 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
2503 diagnostics. Remove WFMT_FLAGS.
2504 * configure.in: Replace WFMT_FLAGS with diagnostics options.
2505 * libsupc++/Makefile.am: Likewise.
2506 * src/Makefile.am: Likewise.
2507 * aclocal.m4: Regenerated.
2508 * configure: Regenerated.
2509 * Makefile.in: Regenerated.
2510 * libio/Makefile.in: Regenerated.
2511 * libmath/Makefile.in: Regenerated.
2512 * libsupc++/Makefile.in: Regenerated.
2513 * src/Makefile.in: Regenerated.
2515 2001-02-26 Phil Edwards <pme@sources.redhat.com>
2517 Fixes libstdc++/2079
2518 * include/backward/iomanip.h: Expose <ios> manipulators to global
2520 * include/backward/iostream.h: Also expose std::ws.
2522 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
2524 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
2526 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
2528 * include/bits/codecvt.h: Use __builtin_alloca.
2529 * include/bits/ostream.tcc: Same.
2530 * include/bits/fstream.tcc: Same.
2532 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
2534 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
2536 2001-02-23 David Edelsohn <dje@watson.ibm.com>
2538 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
2540 2001-02-23 Phil Edwards <pme@sources.redhat.com>
2543 * include/backward/iostream.h: Expose std::flush in old headers.
2545 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2547 * mknumeric_limits: Remove special-casing on target. Use gcc
2548 instead of g++ to build gen-num-limits.cc
2550 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
2552 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
2554 * include/bits/codecvt.h: Use alloca instead of __extension__ for
2556 * include/bits/ostream.tcc: Same.
2557 * include/bits/std_ostream.h: Same.
2558 * include/bits/fstream.tcc: Same.
2559 * include/bits/locale_facets.tcc: Add typename.
2560 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
2562 2001-02-21 Phil Edwards <pme@sources.redhat.com>
2564 * tests_flags.in: Remove -n flag from call to echo.
2566 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
2568 * config/c_locale_gnu.h: Add clocale include.
2570 2001-02-20 Phil Edwards <pme@sources.redhat.com>
2572 * include/bits/stl_config.h: Remove file.
2573 * src/Makefile.am (base_headers): Remove from list.
2574 * configure: Regenerate.
2575 * Makefile.in: Ditto.
2576 * libio/Makefile.in: Ditto.
2577 * libmath/Makefile.in: Ditto.
2578 * libsupc++/Makefile.in: Ditto.
2579 * src/Makefile.in: Ditto.
2581 * include/bits/c++config: Move relevant macros to here.
2582 * include/backward/alloc.h: Include c++config.h instead.
2583 * include/backward/function.h: Ditto.
2584 * include/backward/heap.h: Ditto.
2585 * include/backward/pair.h: Ditto.
2586 * include/bits/pthread_allocimpl.h: Ditto.
2587 * include/bits/std_functional.h: Ditto.
2588 * include/bits/std_iterator.h: Ditto.
2589 * include/bits/std_numeric.h: Ditto.
2590 * include/bits/std_utility.h: Ditto.
2591 * include/bits/stl_algobase.h: Ditto.
2592 * include/bits/type_traits.h: Ditto.
2593 * src/stl-inst.cc: Ditto.
2595 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2597 * include/bits/basic_file.h: Add #pragma system_header
2598 * include/bits/basic_ios.h: Ditto.
2599 * include/bits/basic_string.h: Ditto.
2600 * include/bits/char_traits.h: Ditto.
2601 * include/bits/codecvt.h: Ditto.
2602 * include/bits/cpp_type_traits.h: Ditto.
2603 * include/bits/fpos.h: Ditto.
2604 * include/bits/gslice.h: Ditto.
2605 * include/bits/gslice_array.h: Ditto.
2606 * include/bits/indirect_array.h: Ditto.
2607 * include/bits/ios_base.h: Ditto.
2608 * include/bits/limits_generic.h: Ditto.
2609 * include/bits/locale_facets.h: Ditto.
2610 * include/bits/localefwd.h: Ditto.
2611 * include/bits/mask_array.h: Ditto.
2612 * include/bits/sbuf_iter.h: Ditto.
2613 * include/bits/sequence_concepts.h: Ditto.
2614 * include/bits/slice.h: Ditto.
2615 * include/bits/slice_array.h: Ditto.
2616 * include/bits/std_algorithm.h: Likewise.
2617 * include/bits/std_bitset.h: Likewise.
2618 * include/bits/std_complex.h: Likewise.
2619 * include/bits/std_deque.h: Likewise.
2620 * include/bits/std_fstream.h: Likewise.
2621 * include/bits/std_functional.h: Likewise.
2622 * include/bits/std_iomanip.h: Likewise.
2623 * include/bits/std_ios.h: Likewise.
2624 * include/bits/std_iosfwd.h: Likewise.
2625 * include/bits/std_iostream.h: Likewise.
2626 * include/bits/std_istream.h: Likewise.
2627 * include/bits/std_iterator.h: Likewise.
2628 * include/bits/std_list.h: Likewise.
2629 * include/bits/std_locale.h: Likewise.
2630 * include/bits/std_map.h: Likewise.
2631 * include/bits/std_memory.h: Likewise.
2632 * include/bits/std_numeric.h: Likewise.
2633 * include/bits/std_ostream.h: Likewise.
2634 * include/bits/std_queue.h: Likewise.
2635 * include/bits/std_set.h: Likewise.
2636 * include/bits/std_sstream.h: Likewise.
2637 * include/bits/std_stack.h: Likewise.
2638 * include/bits/std_stdexcept.h: Likewise.
2639 * include/bits/std_streambuf.h: Likewise.
2640 * include/bits/std_string.h: Likewise.
2641 * include/bits/std_utility.h: Likewise.
2642 * include/bits/std_valarray.h: Likewise.
2643 * include/bits/std_vector.h: Likewise.
2644 * include/bits/stringfwd.h: Likewise.
2645 * include/bits/type_traits.h: Likewise.
2646 * include/bits/valarray_array.h: Likewise.
2647 * include/bits/valarray_meta.h: Likewise.
2649 2001-02-19 Andreas Jaeger <aj@suse.de>
2651 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
2654 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
2657 * include/bits/std_ostream.h: Replaced usage of
2658 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
2659 * include/bits/char_traits.h: Removed non-standard
2660 methods that cannot be used elsewhere.
2663 * include/bits/basic_ios.h: Uncommented #include of
2667 * include/bits/codecvt.h: See next...
2668 * include/bits/fstream.tcc: See next...
2669 * include/bits/ostream.tcc: Add __extension__
2670 to variable-length arrays.
2673 * include/bits/localefwd.h: Changed int counter type to size_t.
2676 * include/bits/std_fstream.h: Added typedef for __ctype_type.
2678 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
2680 * testsuite/21_strings/char_traits.cc: Move to ...
2681 * testsuite/21_strings/char_traits_requirements.cc: ..here.
2682 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
2683 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
2685 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
2687 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
2690 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
2692 * include/bits/c++config: Revert.
2694 2001-02-15 Mark Mitchell <mark@codesourcery.com>
2696 * include/bits/istream.tcc: Use ios_base::iostate in place of
2697 iostate throughout. Insert `typename' keyword where necessary.
2698 * include/bits/ostream.tcc: Insert `typename' keyword where
2701 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
2703 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
2704 Define so library is compliant.
2706 2001-02-15 Anthony Green <green@redhat.com>
2708 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
2710 * aclocal.m4: Regenerate.
2711 * configure: Regenerate.
2713 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
2715 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
2716 Include ieeefp.h for fpclass on UnixWare{2,7}.
2717 * aclocal.m4: Regenerate.
2718 * configure: Regenerate.
2719 * mkcheck.in (size_command): Do without GNU-grep when using
2722 2001-02-15 Mark Mitchell <mark@codesourcery.com>
2724 Remove old ABI support from libsupc++.
2725 * libsupc++/cxxabi.h: Remove conditionally compiled code.
2726 * libsupc++/exception_support.cc: Likewise.
2727 * libsupc++/pure.cc: Likewise.
2728 * libsupc++/tinfo.cc: Likewise.
2729 * libsupc++/tinfo.h: Likewise.
2730 * libsupc++/tinfo2.cc: Likewise.
2731 * libsupc++/typeinfo: Likewise.
2732 * libsupc++/vec.cc: Likewise.
2734 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
2736 Add support for -fno-exceptions.
2737 * include/bits/exception_support.h: Remove.
2738 * include/bits/basic_string.h: Remove exception_support.
2739 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
2741 (string::substr): Same.
2742 * include/bits/basic_string.tcc (string::reserve): Replace
2743 __LENGTHERROR with __throw_length_error.
2744 (string::_S_create): Same.
2745 (string::resize): Same.
2746 (string::_M_replace): Same.
2747 (string::replace): Same.
2748 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
2749 (string::compare): Same.
2750 * include/bits/stl_vector.h: Remove exception_support.
2751 * src/Makefile.am (base_headers): Remove here.
2752 * src/Makefile.in: Regenerate.
2754 * include/bits/stl_range_errors.h: Remove.
2755 * include/bits/stl_deque.h: Use __throw_range_error.
2756 * include/bits/std_deque.h: Include functexcept.h.
2757 * include/bits/std_vector.h: Same.
2758 * src/Makefile.am (base_headers): Remove here.
2759 * src/Makefile.in: Regenerate.
2760 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
2761 * include/ext/bvector: Remove stl_range_errors.h
2763 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
2765 * include/bits/functexcept.h: New file.
2766 * src/functexcept.cc: New file. Definitions for function-based
2768 * src/Makefile.am (sources): Add functexcept.cc.
2769 * src/Makefile.in: Regenerate.
2771 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
2774 * include/bits/localefwd.h: Include functexcept.h.
2775 * include/bits/std_iosfwd.h: Same.
2777 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
2778 throw basic_ios::failure.
2779 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
2780 Use __throw_exception_again.
2781 (filebuf::_M_filebuf_init): Same.
2782 * include/bits/streambuf.tcc (__copy_streambufs): Same.
2783 * include/bits/ostream.tcc (ostream::operator<<): Same.
2784 * include/bits/istream.tcc (istream::operator>>): Same.
2785 * include/bits/basic_string.tcc (string::_M_mutate): Same.
2786 (string::_S_construct): Same.
2787 (string::_M_clone): Same.
2788 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
2790 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
2791 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
2792 __throw_exception_again.
2793 (locale::_Imp::_Imp(string, size_t): Same.
2794 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
2795 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
2796 (locale::locale(const char*)): Use __throw_runtime_error.
2797 (locale::classic): Use __throw_exception_again.
2798 (locale::_S_normalize_category): Use __throw_runtime_error.
2800 * src/stdexcept.cc: Remove cruft.
2802 * libsupc++/exception_defines.h: New file.
2803 * libsupc++/new_opnt.cc: Include exception_defines.h.
2804 * libsupc++/vec.cc: Same.
2805 (__cxa_vec_new2): Use __throw_exception_again.
2806 (__cxa_vec_new3): Same.
2807 (__cxa_vec_ctor): Same.
2808 (__cxa_vec_delete3): Same.
2809 (__cxa_vec_cctor): Same.
2810 (__cxa_vec_delete2): Same.
2811 (__cxa_vec_dtor): Same.
2812 * libsupc++/exception_support.cc: Include exception_defines.h. Only
2813 compile exception-handling bits if __EXCEPTIONS is defined.
2814 Remove old ABI support.
2815 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
2816 std::__throw_bad_alloc() instead of throw bad_alloc.
2817 * libsupc++/Makefile.am: Add exception_defines.h.
2818 * libsupc++/Makefile.in: Reformat.
2819 * libsupc++/*: Format.
2821 2001-02-15 Phil Edwards <pme@sources.redhat.com>
2823 * docs/html/configopts.html: Minor updates and typo fixes.
2824 * docs/html/faq/index.html: Updates of the "not really bugs" list.
2825 * docs/html/faq/index.txt: Regenerated.
2827 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
2829 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
2830 dejagnu/dg.exp. Adapt to log options used to run testcases.
2832 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2834 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
2837 2001-02-13 Dirk Mueller <dmuell@gmx.net>
2838 Phil Edwards <pme@sources.redhat.com>
2840 * include/backward/function.h: Do not use rel_ops for older
2842 * include/backward/pair.h: Likewise.
2844 2001-02-12 Mark Mitchell <mark@codesourcery.com>
2846 * src/locale.cc: Remove bogus locale::id definitions.
2848 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2850 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
2851 not _DEFINE_VALARRAY_OPERATOR which is not existent.
2853 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
2854 thinko in member initialisation.
2856 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2858 * include/bits/std_valarray.h(valarray<>::shift): Avoid
2859 comparaison between signed and unsigned integer types.
2860 (valarray<>::cshift): Reformat.
2862 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
2864 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
2865 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
2866 * configure.in: Test for sigsetjmp.
2867 * configure, config.h.in: Rebuilt.
2869 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2871 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
2872 lengths and strides.
2873 (__gslice_to_index): Document.
2875 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
2877 * include/bits/char_traits.h char_traits<char>::int_type: Change
2878 to `int' to match 21.1.3.1/2.
2880 * testsuite/21_strings/char_traits-int_type.C: New test.
2882 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
2884 * testsuite/Makefile.am: New file.
2886 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
2888 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
2890 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
2892 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
2894 2001-02-08 David Edelsohn <edelsohn@gnu.org>
2896 * configure.target (aix4*): Remove extra set of brackets.
2898 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
2901 * include/bits/stringfwd.h: New file.
2902 * include/bits/stl_string_fwd.h: Remove.
2903 * include/bits/localefwd.h: Remove declaration for allocator.
2904 * include/bits/std_iosfwd: Same.
2905 * include/bits/std_string.h: Include it.
2906 * include/bits/std_ios.h: Remove include.
2907 * include/bits/basic_string.h: Tweak.
2908 * libsupc++/new: Format.
2909 * src/Makefile.am (base_headers): Add stringfwd.h, remove
2911 * src/Makefile.in: Regenerate.
2912 * include/bits/std_stdexcept.h: Rewrite.
2913 * src/stdexcept.cc: Same.
2915 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
2917 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
2918 install locations too.
2919 * aclocal.m4: Regenerate.
2920 * configure.in: Remove USE_LIBDIR.
2921 * configure: Regenerate.
2922 * src/Makefile.am (toolexecdir): Simplify, use
2923 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
2924 * src/Makefile.in: Regenerate.
2925 * libsupc++/Makefile.am: Same.
2926 * libsupc++/Makefile.in: Regenerate.
2928 * src/Makefile.am: Just remove special rules for locale-inst.cc and
2929 misc-inst.cc as no longer necessary.
2931 Follow C++STYLE for naming non-static functions.
2932 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
2934 * include/bits/streambuf.tcc: Same.
2935 * include/bits/ostream.tcc: Same.
2936 * include/bits/istream.tcc: Same.
2937 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
2938 (_S_output_float): To __output_float.
2939 * include/bits/std_streambuf.h (_S_copy_streambufs): To
2941 * include/bits/locale_facets.tcc (_S_build_float_format): To
2942 __build_float_format.
2943 (_S_format): To __output_integer.
2944 (_S_fill): To __pad.
2945 * src/locale.cc: Same.
2946 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
2948 * include/bits/locale_facets.tcc (_S_group_digits): To
2950 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
2951 for collate, numpunct.
2953 2001-02-06 Phil Edwards <pme@sources.redhat.com>
2955 * docs/html/configopts.html: Fix HTML markup.
2956 * docs/html/install.html: Bring up to date.
2957 * docs/html/17_intro/C++STYLE: Add global variable conventions.
2958 * docs/html/21_strings/howto.html: More notes.
2959 * docs/html/22_locale/howto.html: Fix HTML markup.
2960 * docs/html/27_io/howto.html: More notes.
2961 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
2962 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
2964 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
2966 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
2967 to match header files.
2968 (_S_output_float): Likewise.
2969 (_S_copy_streambufs): Likewise.
2971 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
2972 Phil Edwards <pme@sources.redhat.com>
2974 * include/bits/std_istream.h (op>> signed,unsigned char): Must
2975 use reinterpret_cast, not static_cast.
2977 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
2979 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
2980 * aclocal.m4: Regenerate.
2981 * configure: Regenerate.
2983 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2985 * include/bits/locale_facets.h (class moneypunct): Fix typos.
2986 * libsupc++/pure.cc: Revert.
2988 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
2990 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
2991 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
2992 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
2993 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
2994 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
2995 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
2996 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
2997 * aclocal.m4: Regenerate.
2998 * configure: Regenerate.
3000 2001-02-05 Mark Mitchell <mark@codesourcery.com>
3002 * include/bits/locale_facets.tcc: Remove `static' keyword on
3003 function definitions.
3004 * include/bits/std_streambuf.h: Likewise.
3005 * src/Makefile.am: Remove use of -fimplicit-templates.
3006 * src/Makefile.in: Regenerated.
3007 * src/locale-inst.cc: Explicitly instantiate more functions.
3008 * src/misc-inst.cc: Likewise.
3009 * src/string-inst.cc: Likewise.
3011 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3013 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
3014 macro. Consolidate all the bits to do with where includes might be
3016 * aclocal.m4: Regenerate.
3017 * configure.in: Use it.
3018 * configure: Regenerate.
3019 * src/Makefile.am (targetincludep): Use simplified rules.
3020 (targetincludep): Rename gxx_target_include_dir.
3021 (myincludep): Rename gxx_include_dir.
3022 * src/Makefile.in: Regenerate.
3023 * libsupc++/Makefile.am: Use simplified rules.
3024 * libsupc++/Makefile.in: Regenerate.
3026 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3028 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
3029 * include/c_std/bits/std_cctype.h: Same.
3030 * include/c_std/bits/std_cassert.h: Same.
3031 * include/c_std/bits/std_cstdarg.h: Same.
3032 * include/c_std/bits/std_cstddef.h: Same.
3034 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
3036 * include/c_std/bits/std_ctime.h: Same.
3037 * include/c_std/bits/std_clocale.h: Same.
3038 * include/c_std/bits/std_cmath.h: Same.
3039 * include/c_std/bits/std_csetjmp.h: Same.
3040 * include/c_std/bits/std_csignal.h: Same.
3041 * include/c_std/bits/std_cstring.h: Same.
3042 * include/c_std/bits/std_cstdlib.h: Same.
3043 * include/c_std/bits/std_cwchar.h: Same.
3045 2001-02-05 Phil Edwards <pme@sources.redhat.com>
3047 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
3049 2001-02-05 Mark Mitchell <mark@codesourcery.com>
3051 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
3052 (string::_S_construct): Likewise.
3054 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
3056 * testsuite/config/default.exp: New file.
3057 * testsuite/config: New directory.
3059 2001-02-04 Mark Mitchell <mark@codesourcery.com>
3061 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
3062 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
3063 whenever !__GXX_MERGED_TYPEINFO_NAMES.
3064 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
3066 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
3067 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3069 * Makefile.am (mkinstalldirs): Set.
3070 * src/Makefile.am (mkinstalldirs): Set.
3071 * libmath/Makefile.am (mkinstalldirs): Set.
3072 * libsup++/Makefile.am (mkinstalldirs): Set.
3073 * libio/Makefile.am (mkinstalldirs): Set.
3074 * */Makefile.in: Regenerate.
3076 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
3078 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
3079 * include/bits/localefwd.h: More initialization cleanups.
3081 2001-02-03 Jeffrey A Law <law@cygnus.com>
3083 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
3084 correctly targets with 16bit ints.
3085 (_S_ios_openmode_end): Similarly.
3086 (_S_ios_iostate_end): Similarly.
3087 (_S_ios_Seekdir_end): Similarly.
3089 2001-02-02 Phil Edwards <pme@sources.redhat.com>
3091 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
3093 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
3095 * configure.in (toplevel_srcdir, auxdir): Set.
3096 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
3097 * aclocal.m4, configure, Makefile.in: Rebuilt.
3098 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
3099 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
3100 * libsupc++-v3/Makefile.in: Rebuilt.
3101 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
3102 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
3104 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
3106 * config/c_locale_generic.cc: Remove langinfo include.
3108 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
3110 Preliminary named locales.
3111 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
3112 * aclocal.m4: Regenerate.
3113 * configure.in: Use it.
3114 * configure: Regerate.
3115 * src/Makefile.am (sources): Add c++locale.cc.
3116 (build_headers): Add c++locale.h.
3117 * src/Makefile.in: Regenerate.
3118 * config/c_locale_gnu.h: New file.
3119 * config/c_locale_gnu.cc: New file. Non-inline member functions
3120 for named locales, gnu-specific.
3121 * config/c_locale_generic.h: New file.
3122 * config/c_locale_generic.cc: New file. Non-inline member
3123 functions for named locales, generic version.
3124 * docs/html/configopts.html: Add documentation on new options.
3126 * include/bits/locale_facets.h (class _Messages): Remove.
3127 (class _Moneypunct): Remove.
3128 * src/locale-inst.cc: Remove.
3130 * include/bits/locale_facets.h (class _Collate): Remove.
3131 * src/locale-inst.cc (std): Remove.
3132 * src/locale.cc: And here.
3134 * include/bits/localefwd.h (locale::_M_coalesce): New
3135 function. Correctly put together multi-name locales.
3136 (_Impl(const _Impl&, category, size_t)): Remove.
3138 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
3140 (_M_normalize_category_names): Remove.
3141 (_M_replace_categories): Fix.
3143 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
3144 (locale::_Impl::_M_construct_ctype): Remove.
3145 (locale::_Impl::_M_construct_monetary): Remove.
3146 (locale::_Impl::_M_construct_numeric): Remove.
3147 (locale::_Impl::_M_construct_time): Remove.
3148 (locale::_Impl::_M_construct_messages): Remove.
3150 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
3151 (_Use_facet_failure_handle): Remove.
3152 * src/locale.cc: Remove definitions.
3153 * src/locale-inst.cc: And here.
3155 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
3157 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
3158 create and error-check underlying locale object.
3159 (locale::facet::_S_destroy_c_locale): Add, take care of properly
3160 tearing down underlying locale object.
3161 * include/bits/localefwd.h (locale::facet): Declare.
3162 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
3163 correctness, as glibc apparently has incorrect info in it. Test
3164 with it when it works again.....
3166 * include/bits/localefwd.h (locale::_Impl::__vec_string):
3167 Remove. Number of categories is fixed at six, so just simplify and
3168 make this an array of strings.
3169 (locale::_Impl::_M_has_name): Remove.
3170 (locale::_Impl::_M_name): Remove.
3171 (locale::_Impl::_M_category_names): Turns into...
3172 (locale::_Impl::_M_names): ...this.
3173 (locale::_Impl::_M_has_same_name()): New function.
3174 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
3175 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
3177 * src/locale.cc (locale::name()): Construct mangled name
3178 accurately reflecting combined locale categories.
3180 * src/locale.cc (locale::classic()): Don't initialize here.
3181 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
3182 __refs, bool __has_name, string __str): Do it here.
3184 * include/bits/localefwd.h: _S_categories_num to
3185 _S_num_categories. _S_facets_num to _S_num_facets.
3186 (locale::id::id()): Explicitly set _M_index to zero.
3187 * src/locale.cc: Same.
3189 * src/locale.cc: (locale::locale(const char*)): Construct named
3192 * src/locale.cc: Remove numpunct_byname ctors.
3193 * testsuite/22_locale/numpunct_byname.cc: New file.
3194 * testsuite/22_locale/numpunct.cc: New file.
3196 * include/bits/localefwd.h (class locale): Change data members to
3197 protected, from private.
3198 (_Impl::_M_get_c_locale): Add member function.
3199 (locale::facet::_M_get_global_impl()): Add member function.
3200 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
3201 a __c_locale pointer.
3202 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
3204 * testsuite/22_locale/members.cc: New file, test name and combine.
3206 * include/bits/locale_facets.h (class numpunct): Remove class
3207 _Punct and _Numpunct. Rewrite class numpunct to be correct for
3209 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
3210 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
3211 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
3212 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
3213 * testsuite/22_locale/numpunct_char_members.cc: New file.
3215 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
3217 * testsuite/README: Add more comment.
3218 * testsuite/lib/libstdc++.exp: Tweak comment.
3220 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
3222 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
3224 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
3226 * testsuite/21_strings/inserters_extractors.cc: Remove
3227 explicit reference to 'testsuite/'.
3229 2001-01-25 Richard Henderson <rth@redhat.com>
3231 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
3232 bits. Fixes Tru64 build issues.
3234 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3236 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
3237 (use ${MAKE-make}, not ${MAKE:-make}).
3238 * aclocal.m4, configure: Regenerate.
3240 2001-01-25 Mark Mitchell <mark@codesourcery.com>
3242 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
3245 * src/Makefile.am (sources): Add globals.cc.
3246 * src/Makefile.in: Regenerated.
3247 * src/globals.cc: New file.
3248 * src/ios.cc (cin): Don't define here, just declare extern.
3257 2001-01-25 Phil Edwards <pme@sources.redhat.com>
3259 * include/bits/std_iterator.h: Do not include stl_relops.h.
3260 * include/bits/std_numeric.h: Ditto.
3261 * include/bits/stl_algobase.h: Ditto.
3262 * include/bits/stl_relops.h: Add comment warning about problems.
3264 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
3266 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
3267 in testcases. Prepare for the DejaGnu based framework.
3268 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
3269 directory -- it is now mkcheck working directory.
3270 * tests_flags.in: Remove reference to $(top_srcdir). Use
3272 * Makefile.am (check, check-install): Change mkcheck invocation
3274 * Makefile.in: Regenerate.
3276 2001-01-24 Mark Mitchell <mark@codesourcery.com>
3278 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
3279 (__always_swap): Likewise.
3281 2001-01-23 Chris Demetriou <cgd@broadcom.com>
3283 * libsupc++/exception_support.cc (__terminate_func): Remove
3285 (__terminate_func_ptr): New typedef.
3286 (__terminate, __terminate_set_func): New extern function
3288 (std::terminate): Use __terminate function.
3289 (std::set_terminate): Use __terminate_set_func function.
3291 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
3293 * configure.target: Just use os_include_dir always.
3294 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
3295 Link atomicity files and ctype files here.
3296 * configure: Regenerate.
3297 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
3298 (GLIBCPP_ENABLE_ATOMICITY): Remove.
3299 * aclocal.m4: Regenerate.
3301 2001-01-23 Chris Demetriou <cgd@broadcom.com>
3303 * configure.in: Place definition of MULTISUBDIR in
3304 libsupc++/Makefile as is done for src/Makefile.
3305 * configure: Regenerate.
3307 2001-01-23 Phil Edwards <pme@sources.redhat.com>
3309 * acinclude.m4: Cosmetic changes only.
3310 * aclocal.m4: Regenerated.
3311 * configure: Regenerated.
3312 * configure.target: Update documented list of changed variables.
3313 * docs/html/install.html: Fix typo.
3314 * docs/html/20_util/howto.html: More notes on auto_ptr.
3315 * docs/html/27_io/howto.html: More notes on streabufs.
3316 * docs/html/faq/index.html: Add rel_ops problem and mention the
3317 DEC as(1) .subsection difficulty.
3318 * docs/html/faq/index.txt: Regenerated.
3320 2001-01-23 Mark Mitchell <mark@codesourcery.com>
3322 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
3323 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
3324 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
3325 its already provided in config.target.
3326 * aclocal.m4: Regenerated.
3327 * configure: Likewise.
3328 * configure.target: Set ctype_include_dir for lots of systems.
3329 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
3330 * libsupc++/Makefile.in: Regenerated.
3332 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
3334 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
3337 * testsuite/README: Add comment.
3339 2001-01-21 Phil Edwards <pme@sources.redhat.com>
3341 * docs/html/configopts.html: Update for current status. Fix HTML.
3342 * docs/html/install.html: Update for current status.
3344 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3346 * testsuite/libstdc++.tests/tests.exp: New file.
3347 * testsuite/lib/libstdc++.exp: Itou.
3348 * testsuite/README: Itou.
3350 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
3352 * tests_flags.in: Just output the bare minimum to run tests.
3353 Let's the caller do its own arrangement.
3355 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
3358 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
3360 * testsuite/17_intro: Prepare testcases for new style DejaGnu
3363 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
3365 * testsuite/libstdc++.tests, testsuite/lib: New directories.
3367 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
3369 * mkcheck.in: Construct file names that match $objdir structure.
3370 * testsuite/27_io/filebuf_members-1.txt: New file.
3371 * testsuite/27_io/ifstream_members-1.txt: New file.
3372 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
3374 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
3375 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
3377 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3379 * testsuite/27_io/istream_sentry.cc (test02): Fix.
3381 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
3384 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
3385 * src/ios.cc (ios_base::failure): Make definitions match.
3386 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
3387 (class bad_cast): Same.
3388 * libsupc++/exception (class exception): Add throw specs.
3389 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
3390 (set_unexpected): Same.
3391 (uncaught_exception): Same.
3394 * docs/html/17_intro/C++STYLE (classname): Fix.
3396 2001-01-16 Mark Mitchell <mark@codesourcery.com>
3398 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
3399 Use it do explicitly instantiate predicate<T> and value<T> for
3402 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
3404 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
3405 uninitialized thinko in last change.
3407 2001-01-16 Mark Mitchell <mark@codesourcery.com>
3409 * libsupc++/exception_support.cc (__cp_pop_exception): Change
3412 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
3414 * docs/html/17_intro/C++STYLE (classname): Add more existing
3415 and stylish patterns.
3418 * include/bits/istream.tcc (istream::sentry::sentry()): Set
3419 failbit if the state of the stream is not good.
3420 * testsuite/27_io/istream_sentry.cc (test02): Add test.
3421 * testsuite/27_io/istream_manip.cc (test01): Modify.
3424 reported by Paolo Carlini <pcarlini@unitus.it>
3425 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
3426 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
3429 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
3430 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
3431 (xsgetn): Same. Simplify.
3432 * testsuite/27_io/streambuf.cc (test04): Add testcases.
3434 reported by Larry Evans <jcampbell3@prodigy.net>
3435 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
3436 equality with eof on returned value from overflow.
3438 2001-01-14 Andreas Jaeger <aj@suse.de>
3440 * libio/libio.h: Add test for glibc 2.0.
3442 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
3444 * config/os/djgpp/bits/*: Fix dates.
3446 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
3447 _CharT* __end, _CharT __c): Remove.
3448 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
3449 * include/bits/char_traits.h: Tweak.
3451 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
3453 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
3454 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
3456 * aclocal.m4: regenerated.
3457 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
3458 * configure: regenerated.
3459 * config/os/djgpp, config/os/djgpp/bits: new directories.
3460 * config/os/djgpp/bits/ctype_base.h,
3461 config/os/djgpp/bits/ctype_inline.h,
3462 config/os/djgpp/bits/ctype_noninline.h,
3463 config/os/djgpp/bits/os_defines.h: new files.
3465 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
3467 * include/c_std/bits/std_cstdio.h: Undef printf.
3469 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
3471 * src/ios.cc: Fix typo: change cout->wcout.
3473 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
3474 * src/Makefile.in: Regenerate.
3476 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3478 * include/bits/std_complex.h: Fix a typo.
3480 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
3483 Fixes for libstdc++/1576
3484 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
3485 file, move contents into....
3486 * src/ios.cc: ...Here. Put defines for iostreams objects and
3487 initialization routines into one file to simplify DSO interaction.
3488 * include/bits/std_iostream.h: Touch.
3489 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
3490 * src/Makefile.am (sources): Remove stdstreams.cc.
3491 * src/Makefile.in: Regenerate.
3493 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3495 * tests_flags.in (check_directory): Fix typo.
3497 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3499 * include/bits/std_complex.h: Fix a typo.
3501 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
3503 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
3504 code path:) Remove magic constants and restructure to handle
3505 ctype.h bit mask layout changes more gracefully. (Make fast
3506 code path:) Use __maskrune (), if available.
3507 (is): Remove special case for digit and xdigit masks.
3509 2001-01-09 Robert Lipe <robertlipe@usa.net>
3511 * include/c_std/bits/std_ctime.h: Undefine difftime.
3513 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
3515 * src/gen-num-limits.cc (signal_adapter): New template function.
3516 (signal_handler): Use it, instead of signal.
3517 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
3518 require both tests to trap to set trap_flag.
3520 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
3522 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
3523 initialize mbstate_t member, name offset data members *off, not pos.
3524 * include/bits/fstream.tcc (filebuf::filebuf): Same.
3526 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
3528 reported by Chris G. Demetriou <cgd@sibyte.com>
3529 * configure.in: Change -linux-* to -linux*.
3530 * configure: Regenerate.
3532 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
3534 Fix 27_io/filebuf_members.cc
3535 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
3536 const string& __name, category __cat, size_t __refs): Set
3537 _M_has_name with _M_name.
3538 * include/bits/localefwd.h (locale::operator!=): Protect member
3539 function call with this->.
3540 * src/locale.cc (locale::operator==): Make fast checks first.
3541 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
3543 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
3545 * src/ios.cc (ios_base::Init::Init): Initialize here.
3546 (ios_base::sync_with_stdio): Set here.
3548 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
3550 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
3551 systems that support it, call dup() before fdopen().
3553 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
3555 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
3556 * testsuite/17_intro/header_cwctype.cc (main): New file.
3558 * src/Makefile.am (base_headers): Change.
3559 * include/bits/std_string.h: And here.
3560 * include/bits/string.tcc: Tweaks, move to...
3561 * include/bits/basic_string.tcc: ...Here.
3562 * src/string-inst.cc: Simplify, just instantiate the whole class,
3563 not member-by-member.
3565 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
3567 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
3568 * aclocal.m4: Regenerate.
3569 * configure: Regenerate.
3571 * include/bits/c++config (__GLIBCPP__): Bump version number.
3573 * ChangeLog: Start new log for year 2001
3574 * ChangeLog-2000: New file.
3576 * docs/html/configopts.html: Make sure default values are current,
3579 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
3581 * include/c_std/bits/std_cwchar.h: Same.
3582 * testsuite/17_intro/header_cwchar.cc: Same.
3583 * include/c_std/bits/std_ctime.h: Same.
3584 * testsuite/17_intro/header_ctime.cc: Same.
3585 * include/c_std/bits/std_cstdlib.h: Same.
3586 Clean up undefs, make consistent with cwchar and cmath, etc.
3587 * testsuite/17_intro/header_cstdlib.cc: Same.
3588 * include/c_std/bits/std_cstdio.h: Same here.
3589 * testsuite/17_intro/header_cstring.cc: Same.
3590 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
3591 * testsuite/17_intro/header_cstring.cc: New file. Check for
3592 size_t in namespace std.
3594 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
3595 * acconfig.h (HAVE_MBSTATE_T): Add.
3596 * config.h.in: Regenerate.
3597 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
3599 * aclocal.m4: Regenerate.
3600 * configure: Regenerate.
3601 * testsuite/17_intro/headers_c++.cc: New file.
3602 * testsuite/17_intro/headers_c.cc: Small changes.
3604 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
3606 * tests_flags.in: Fix typo in usage.
3608 * tests_flags.in: Set target specific LIBS for cygwin.