1 2001-08-27 Phil Edwards <pme@sources.redhat.com>
4 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
5 correctly for version-specific-runtime-libs.
6 * aclocal.m4: Regenerate.
7 * configure: Regenerate.
9 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
11 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
12 define if not already provided by per-OS file.
13 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
16 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
18 * docs/html/17_intro/C++STYLE: Fix typo.
20 2001-08-24 Phil Edwards <pme@sources.redhat.com>
22 * docs/html/23_containers/howto.html: Describe implementation of
25 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
28 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
30 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
31 Phil Edwards <pme@sources.redhat.com>
34 * include/bits/stl_tree.h (insert_unique): Revert last change.
35 Values inserted at begin() must be less, not greater, than *begin()'s.
36 * testsuite/23_containers/map_insert.cc: New file.
38 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
40 * config/locale/c_locale_gnu.cc: Minor tweaks.
41 (moneypunct<wchar_t>): Implement.
42 * include/bits/locale_facets.h: Same.
43 * testsuite/22_locale/moneypunct.cc: New file.
44 * testsuite/22_locale/moneypunct_byname.cc: New file.
45 * testsuite/22_locale/moneypunct_char_members.cc: New file.
47 2001-08-23 David Edelsohn <edelsohn@gnu.org>
49 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
50 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
52 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
54 * testsuite_flags.in (build-includes): Re-add backward.
56 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
58 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
59 with _GLIBCPP_USE_WCHAR_T.
61 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
63 * testsuite/22_locale/collate_byname.cc (test01): Fix.
65 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
67 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
69 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
71 * testsuite/22_locale/operators.cc: Add test.
73 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
75 Implement std::collate.
76 * config/locale/collate_specializations_gnu.cc: Add here, implement in
78 * config/locale/collate_specializations_generic.cc: Add here, but
79 in a less sophisticated manner.
80 * include/bits/locale_facets.tcc (collate): Add generic definition.
81 * include/bits/locale_facets.h (~collate): Mark virtual.
82 (collate::_M_compare_helper): New.
83 (collate::_M_transform_helper): New.
84 * src/locale.cc: Remove unnecessary specializations.
85 * src/string-inst.cc: Tweak instantiation of ctors.
87 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
88 * aclocal.m4: Regenerate.
89 * configure: Regenerate.
90 * src/Makefile.am (sources): Add collate.cc.
91 * src/Makefile.in: Regenerate.
93 * testsuite/22_locale/collate_byname.cc: New.
94 * testsuite/22_locale/collate.cc: New file.
95 * testsuite/22_locale/collate_char_members.cc: New file.
96 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
98 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
100 * configure.target: Set LIMITSH for powerpc-*-*.
101 * config/cpu/powerpc/bits/limits.h: New file.
103 2001-08-16 Marc Espie <espie@openbsd.org>
105 * configure.in: Check for <sys/types.h>.
106 * configure: Rebuild.
107 * config.h.in: Rebuild.
108 * libmath/mathconf.h: Include <sys/types.h> prior to
109 <machine/endian.h> if available.
111 2001-08-15 Andreas Schwab <schwab@suse.de>
113 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
115 * config/cpu/m68k/bits/atomicity.h: New file.
117 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
118 Define appropriate long double limits for m68k extended floating
120 (__glibcpp_f32_digits10): Corrected, off by one.
121 (__glibcpp_f80_digits10): Likewise.
122 (__glibcpp_f128_digits10): Likewise.
123 * config/os/gnu-linux/bits/os_defines.h
124 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
126 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
128 * testsuite/18_support/numeric_limits.cc: Add more tests.
129 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
132 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
134 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
137 * config/cpu/s390/bits/atomicity.h: New.
139 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
141 * include/bits/std_limits.h: Fix thinko.
143 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
145 * include/Makefile.am: Consolidate target rules. Don't clean stamp
146 files. Tweak target build directory stamp.
147 * include/Makefile.in: Regenerate.
149 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
151 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
152 _GBLICPP_HAVE_LOGL with HAVE_LOGL
154 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
156 * configure.in (libtool_VERSION): Add.
158 (release_VERSION): This.
159 * configure: Regenerate.
160 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
162 * src/Makefile.in: Regenerate.
164 * intl/Makefile.am: Remove.
165 * intl/Makefile.in: Remove.
167 * Makefile.am (SUBDIRS): Remove intl.
168 * po/Makefile.am (DISTFILES): Add string_literals.cc
170 * po/string_literals.cc: Add.
171 * po/POTFILES.in: Fix path.
172 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
173 * aclocal.m4: Regenerate.
174 * configure.in: Remove AC_OUTPUT of intl/Makefile.
176 * include/backward/backward_warning.h: Clarify message.
178 * testsuite_flags.in (--cxxflags): Use same debug flags for
179 library and testsuite.
181 * include/Makefile.am (c_compatibility): Remove.
182 * include/Makefile.in: Regenerate.
184 2001-08-13 Mark Mitchell <mark@codesourcery.com>
186 * configure.in (LIMITS_INC_SRCDIR): New variable.
187 * configure.target (LIMITSH): New variable.
188 * porting.texi: Discuss numeric limits.
189 * config/cpu/generic/bits/limits.h: New file.
190 * config/cpu/i386/bits/limits.h: New file.
191 * include/Makefile.am: Install bits/limits.h.
192 * include/bits/c++config: Include bits/limits.h.
194 2001-08-13 H.J. Lu (hjl@gnu.org)
196 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
198 (libstdc++-v3-init ): Use it.
200 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
202 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
203 to '__adjust' to avoid shadowing in nested scope.
205 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
207 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
210 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
212 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
215 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
217 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
218 dummy default argument to the non-limit implementation.
221 * include/Makefile.am: Use relative file path in rule to allow
223 * include/Makefile.in: Rebuilt.
225 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
227 * include/bits/std_complex.h (complex<long double>::operator*=,
228 complex<long double>::operator/=): Fix thinko.
230 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
232 * include/bits/std_limits.h: New file.
233 * include/Makefile.am (bits_headers): Add std_limits.h
234 (all-local): std_limits.h is no longer built.
235 (${target_builddir}/std_limits.h): Remove.
236 * include/Makefile.in: Regenerate.
237 * src/limits.cc: New file.
238 * src/Makefile.am (sources): Add limits.cc in replacement of
240 * src/Makefile.in: Regenerate.
242 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
244 * src/gen-num-limits.cc (digits10): Fix thinko.
246 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
248 * po/Makefile.am (check-no): Add.
250 * po/Makefile.in: Regenerate.
252 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
254 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
255 * config.h.in: Regenerate.
256 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
258 * aclocal.m4: Regenerate.
259 * configure.in: Remove duplicate AM_CONFIG_HEADER.
260 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
261 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
262 * configure: Regenerate.
263 * testsuite_hooks.h.in: Move to...
264 * testsuite_hooks.h: Here, include c++config.h. Use it.
266 * Makefile.am (SUBDIRS): Move testsuite to last directory.
267 * Makefile.in: Regenerate.
268 * po/Makefile.am (stamp-po): Add.
270 2001-08-09 David Edelsohn <edelsohn@gnu.org>
272 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
273 * config/os/generic/bits/os_defines.h: Likewise.
274 * config/os/gnu-linux/bits/os_defines.h: Likewise.
275 * config/os/hpux/bits/os_defines.h: Likewise.
276 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
277 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
279 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
281 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
282 -version-info, use substituted VERSION info.
283 * src/Makefile.in: Regenerate.
285 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
287 Implement std::messages.
288 Make config a fully-nested directory.
289 * config/locale: New directory.
290 * config/c_locale_generic.cc: Move into locale subdirectory.
291 * config/c_locale_generic.h: Same.
292 * config/c_locale_gnu.cc: Same.
293 * config/c_locale_gnu.h: Same.
294 * config/c_locale_ieee_1003.1-200x.cc: Same.
295 * config/c_locale_ieee_1003.1-200x_.h: Same.
296 * config/codecvt_specializations_generic.h: Same.
297 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
298 * config/messages_members_gnu.h: Same.
299 * config/messaages_members_gnu.cc: Same.
300 * config/messages_members_generic.h: Same.
301 * config/messaages_members_generic.cc: Same.
302 * config/messages_members_ieee_1003.1-200x.h: Same.
303 * config/messaages_members_ieee_1003.1-200x.cc: Same.
304 * config/io: New directory.
305 * config/basic_file_libio.h: Move into io subdirectory.
306 * config/basic_file_libio.cc: Same.
307 * config/c_io_libio.h: Same.
308 * config/c_io_libio_codecvt.c: Same.
309 * config/basic_file_stdio.h: Same.
310 * config/basic_file_stdio.cc: Same.
311 * config/c_io_stdio.h: Same.
314 * po/POTFILES.in: New file.
315 * po/Makefile.am: New file.
316 * po/Makefile.in: New file.
317 * po/libstdc++.pot: Generic translation file.
318 * po/fr.po: Preliminary French translation.
319 * po/de.po: Preliminary German translation.
320 * intl: New directory.
321 * intl/Makefile.am: New file.
322 * intl/Makefile.in: New file.
323 * intl/string_literals.cc: New file.
324 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
325 requisite setup for gettext. Re-arrange.
326 * aclocal.m4: Regenerate.
327 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
328 Output Makefile bits for po and intl.
329 * configure: Regenerate.
330 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
331 * Makefile.in: Regenerate.
332 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
333 * config.h.in: Regenerate.
335 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
337 * include/Makefile.am (install-data-local): Don't install Makefile.
338 * include/Makefile.in: Regenerate.
340 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
342 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
343 * config/locale/c_locale_generic.cc: Same.
344 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
346 * include/bits/codecvt.h: Excise non-standard, non-required
347 bits. This includes __enc_traits, and partial specializations of
348 codecvt for __enc_traits.
349 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
350 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
351 * config/codecvt_partials_generic.h: New file.
352 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
353 (stamp-codecvt_model): Add.
354 * include/Makefile.in: Regenerate.
355 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
356 * aclocal.m4: Regenerate.
357 * configure: Regenerate.
358 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
359 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
360 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
362 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
363 as a friend for _S_*_c_locale functions.
364 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
365 argument to default constructor so that CODESET information can be
367 * include/bits/locale_facets.h (messages_byname):
368 Re-implement. Remove specializations.
369 * src/locale.cc (messages_byname<char>): Remove specialization.
370 (messages_byname<wchar_t>): Same.
371 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
372 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
373 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
374 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
375 * config/locale/messages_members_gnu.cc: New file.
376 * config/locale/messages_members_gnu.h: New file.
377 * config/locale/messages_members_generic.cc: New file.
378 * config/locale/messages_members_generic.h: New file.
380 * docs/html/configopts.html: Add documentation for new locale
381 model, ieee_1003.1. Adjust other flags for current defaults.
382 * docs/html/22_locale/locale.html: Update.
383 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
384 * docs/html/22_locale/messages.html: New.
386 * src/Makefile.am (sources): Add messages_virtuals.cc.
387 * src/Makefile.in: Regenerate.
388 * include/Makefile.am (allstamps): Add stamp-messages_model.
389 (stamp-messages_model): Add.
390 * include/Makefile.in: Regenerate.
391 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
392 * aclocal.m4: Regenerate.
393 * configure: Regenerate.
395 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
396 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
398 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
399 build directories message catalog base directory, and export.
400 Eventually this should probably be made to deal with build and
401 install directories. For now, punt on this as the library itself
402 doesn't use message catalogs (yet).
403 * testsuite/22_locale/messages.cc: New file.
404 * testsuite/22_locale/messages_char_members.cc: New file.
405 * testsuite/22_locale/messages_byname.cc: New file.
407 2001-08-06 Phil Edwards <pme@sources.redhat.com>
409 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
410 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
411 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
412 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
413 Call GLIBCPP_CONFIGURE_TESTSUITE.
414 * aclocal.m4: Regenerate.
415 * config.h.in: Regenerate.
416 * configure: Regenerate.
418 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
421 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
422 * testsuite/debug_assert.h: Removed; contents merged into...
423 * testsuite/testsuite_hooks.h.in: ...here. New file.
424 * testsuite/17_intro/header_ciso646.cc: No longer include
425 debug_assert.h, include testsuite_hooks.h instead.
426 * testsuite/17_intro/header_fstream.cc: Likewise.
427 * testsuite/17_intro/header_iomanip.cc: Likewise.
428 * testsuite/17_intro/header_ios.cc: Likewise.
429 * testsuite/17_intro/header_iosfwd.cc: Likewise.
430 * testsuite/17_intro/header_iostream.cc: Likewise.
431 * testsuite/17_intro/header_istream.cc: Likewise.
432 * testsuite/17_intro/header_ostream.cc: Likewise.
433 * testsuite/17_intro/header_sstream.cc: Likewise.
434 * testsuite/17_intro/header_streambuf.cc: Likewise.
435 * testsuite/18_support/numeric_limits.cc: Likewise.
436 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
437 * testsuite/20_util/allocator_members.cc: Likewise.
438 * testsuite/20_util/auto_ptr.cc: Likewise.
439 * testsuite/20_util/pairs.cc: Likewise.
440 * testsuite/21_strings/append.cc: Likewise.
441 * testsuite/21_strings/capacity.cc: Likewise.
442 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
443 * testsuite/21_strings/compare.cc: Likewise.
444 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
445 call to (disabled) __set_testsuite_memlimit() wrapper.
446 * testsuite/21_strings/element_access.cc: Likewise.
447 * testsuite/21_strings/find.cc: Likewise.
448 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
449 (disabled) __set_testsuite_memlimit() wrapper.
450 * testsuite/21_strings/inserters_extractors.cc: Likewise.
451 * testsuite/21_strings/invariants.cc: Likewise.
452 * testsuite/21_strings/nonmember.cc: Likewise.
453 * testsuite/21_strings/operations.cc: Likewise.
454 * testsuite/21_strings/replace.cc: Likewise.
455 * testsuite/21_strings/rfind.cc: Likewise.
456 * testsuite/21_strings/substr.cc: Likewise.
457 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
458 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
459 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
460 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
461 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
462 * testsuite/22_locale/ctype_char_members.cc: Likewise.
463 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
464 * testsuite/22_locale/facet.cc: Likewise.
465 * testsuite/22_locale/global_templates.cc: Likewise.
466 * testsuite/22_locale/members.cc: Likewise.
467 * testsuite/22_locale/numpunct_byname.cc: Likewise.
468 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
469 * testsuite/22_locale/operators.cc: Likewise.
470 * testsuite/22_locale/static_members.cc: Likewise.
471 * testsuite/23_containers/bitset_ctor.cc: Likewise.
472 * testsuite/23_containers/bitset_members.cc: Likewise.
473 * testsuite/23_containers/bitset_shift.cc: Likewise.
474 * testsuite/23_containers/vector_capacity.cc: Likewise.
475 * testsuite/23_containers/vector_ctor.cc: Likewise.
476 * testsuite/23_containers/vector_element_access.cc: Likewise.
477 * testsuite/23_containers/vector_modifiers.cc: Likewise.
478 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
479 * testsuite/24_iterators/iterator.cc: Likewise.
480 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
481 * testsuite/25_algorithms/binary_search.cc: Likewise.
482 * testsuite/25_algorithms/copy.cc: Likewise.
483 * testsuite/25_algorithms/heap.cc: Likewise.
484 * testsuite/25_algorithms/lower_bound.cc: Likewise.
485 * testsuite/25_algorithms/min_max.cc: Likewise.
486 * testsuite/25_algorithms/partition.cc: Likewise.
487 * testsuite/25_algorithms/rotate.cc: Likewise.
488 * testsuite/25_algorithms/sort.cc: Likewise.
489 * testsuite/26_numerics/c_math.cc: Likewise.
490 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
491 * testsuite/26_numerics/complex_value.cc: Likewise.
492 * testsuite/27_io/filebuf.cc: Likewise.
493 * testsuite/27_io/filebuf_members.cc: Likewise.
494 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
495 * testsuite/27_io/fpos.cc: Likewise.
496 * testsuite/27_io/fstream_members.cc: Likewise.
497 * testsuite/27_io/ifstream_members.cc: Likewise.
498 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
499 * testsuite/27_io/ios_base_members_static.cc: Likewise.
500 * testsuite/27_io/ios_base_storage.cc: Likewise.
501 * testsuite/27_io/ios_ctor.cc: Likewise.
502 * testsuite/27_io/ios_init.cc: Likewise.
503 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
504 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
505 * testsuite/27_io/ios_members.cc: Likewise.
506 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
507 * testsuite/27_io/istream_extractor_char.cc: Likewise.
508 * testsuite/27_io/istream_extractor_other.cc: Likewise.
509 * testsuite/27_io/istream_manip.cc: Likewise.
510 * testsuite/27_io/istream_seeks.cc: Likewise.
511 * testsuite/27_io/istream_sentry.cc: Likewise.
512 * testsuite/27_io/istream_unformatted.cc: Likewise.
513 * testsuite/27_io/istringstream_members.cc: Likewise.
514 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
515 * testsuite/27_io/ofstream_members.cc: Likewise.
516 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
517 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
518 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
519 * testsuite/27_io/ostream_manip.cc: Likewise.
520 * testsuite/27_io/ostream_seeks.cc: Likewise.
521 * testsuite/27_io/ostream_unformatted.cc: Likewise.
522 * testsuite/27_io/ostringstream_members.cc: Likewise.
523 * testsuite/27_io/streambuf.cc: Likewise.
524 * testsuite/27_io/stringbuf.cc: Likewise.
525 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
526 * testsuite/27_io/stringstream.cc: Likewise.
527 * testsuite/27_io/stringstream_members.cc: Likewise.
528 * testsuite/27_io/wide_stream_objects.cc: Likewise.
530 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
532 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
534 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
536 * configure.target: Remove mips from cpu table.
537 * config/cpu/mips/bits/atomicity.h: Remove generic
538 versions. Comment sgidefs include.
540 2001-07-25 H.J. Lu <hjl@gnu.org>
542 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
545 * config/cpu/mips/bits/atomicity.h: New.
547 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
549 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
550 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
551 * aclocal.m4: Regenerate.
552 * config.h.in: Likewise.
553 * configure: Likewise.
554 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
555 (EXTRA_DIST): Remove hypot.c hypotf.c.
556 * libmath/Makefile.am: Regenerate.
557 * libmath/hypotf.c: Remove.
558 * libmath/hypot.c: Likewise.
559 * libmath/hypotl.c: Likewise.
560 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
561 _GLIBCPP_HAVE_xxx. Add long double versions.
563 2001-07-23 David Edelsohn <edelsohn@gnu.org>
565 * include/bits/limits_generic.h (int): Set digits and digits10
566 appropriately for word size.
567 (unsigned int,long,unsigned long): Likewise.
569 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
571 * include/bits/stl_algo.h : Fix typos.
572 * testsuite/25_algorithms/unique.cc: New file.
574 2001-07-19 Phil Edwards <pme@sources.redhat.com>
575 Mark Mitchell <mark@codesourcery.com>
577 Merge from cp-parser-branch.
578 * include/bits/basic_string.h: Qualify symbols with 'template'.
579 * include/bits/basic_string.tcc: Likewise.
580 * include/bits/fstream.tcc: Likewise.
581 * include/bits/istream.tcc: Likewise.
582 * include/bits/sstream.tcc: Likewise.
583 * include/bits/std_istream.h: Likewise.
584 * include/bits/stl_iterator.h: Likewise.
585 * include/bits/streambuf.tcc: Likewise.
586 * src/gen-num-limits.cc: Add 'template<>' to specializations.
587 * src/locale.cc: Likewise.
589 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
590 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
592 * src/gen-num-limits.cc (set_signals_handler): New function.
593 Factor out signals setting. Set signal handler for SIGILL.
595 2001-07-18 Phil Edwards <pme@sources.redhat.com>
597 * docs/html/27_io/howto.html: Fix typo.
598 * docs/html/faq/index.html: Minor updates for 3.0 all around.
599 * docs/html/faq/index.txt: Regenerated.
601 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
602 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
605 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
606 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
608 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
610 All occurrences of the __value_type() and __distance_type()
611 functions, which were required to support the HP STL, have been
612 removed along with all the auxiliary forwarding functions that
613 were required to support their use.
615 The __iterator_category() function was pretty much left alone
616 because there was no benefit to removing it and its use made code
617 just a little more readable.
619 Incidences of distance() with nonstandard argument list were
620 replaced by calls to the standard function (only in the files
621 affected by the removal of the other HP functions).
623 The signature of the rotate() algorithm was changed to match the
626 Headers were reformatted under C++STYLE guidelines (indentation,
627 linebreaks, typename keyword).
629 * include/bits/stl_algo.h: replaced __value_type() and
630 __distance_type() with iterator_traits, eliminated auxiliary
631 support functions required to support said function usage.
632 Changed nonstandard distance() call to standard call.
634 * include/bits/stl_algobase.h: Same.
635 * include/bits/stl_heap.h: Same.
636 * include/bits/stl_numeric.h: Same.
637 * include/bits/stl_uninitialized.h: Same.
638 * include/bits/stl_iterator_base_types.h (__value_type()):
640 (__distance_type()): Removed.
641 (value_type()): Gone.
642 (distance_type()): Done in.
643 (iterator_category()): Hasta la vista, baby.
645 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
646 Replaced with __iterator_category().
647 * include/backward/iterator.h: moved definition of value_type(),
648 distance_type(), and iterator_category() out of std:: and into
650 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
651 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
652 * testsuite/25_algorithms/rotate.cc: New testcase.
653 * testsuite/25_algorithms/copy.cc: New testcase.
654 * testsuite/25_algorithms/sort.cc: Same.
655 * testsuite/25_algorithms/heap.cc: Same.
656 * testsuite/25_algorithms/partition.cc: Same.
657 * testsuite/25_algorithms/binary_search.cc: Same.
658 * testsuite/26_numerics/sum_diff.cc: Ditto.
660 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
662 * testsuite/README: Add notes on naming test cases.
663 * testsuite/22_locale/members.cc: Mark as xfail.
664 * testsuite/22_locale/numpunct_char_members.cc: Same.
666 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
668 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
669 setting C_INCLUDE_DIR.
670 * configure.in: Revert yesterday's LN_S change.
671 * aclocal.m4: Regenerate.
672 * configure: Regenerate.
674 2001-07-15 Phil Edwards <pme@sources.redhat.com>
676 * configure.in: Temporarily force LN_S to copy instead of symlink.
677 * configure: Regenerate.
679 2001-07-13 Phil Edwards <pme@sources.redhat.com>
681 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
682 Initialize _M_string with pointer-and-size constructor, not just
683 pointer. Fix some comments.
684 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
685 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
686 (test03): Add embedded-NUL tests.
688 * mkcheck.in: When printing totals, match the order of the tests.
689 * include/bits/stringfwd.h: Use same declaration keywords.
690 * include/bits/std_iosfwd.h: Cosmetic spacing.
692 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
693 Loren J. Rittle <ljrittle@acm.org>
694 Phil Edwards <pme@sources.redhat.com>
696 * include/Makefile.am: New file encapsulating header generation rules.
697 * Makefile.am (SUBDIRS): Prepend 'include' directory.
698 * acinclude.m4: Moved/removed rules for building various headers.
699 * configure.in (AC_OUTPUT): Add include/Makefile.
700 * mkc++config: Removed.
702 * testsuite_flags.in: Changed build-includes to match new scheme.
703 * mknumeric_limits: Likewise.
704 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
705 * libmath/Makefile.am: Likewise.
706 * libsupc++/Makefile.am: Likewise.
707 * src/Makefile.am: Likewise; removed rules to build headers.
708 * libmath/mathconf.h: Changed #include'd header names to match.
709 * libmath/stubs.c: Likewise.
710 * src/gen-num-limits.cc: Likewise.
712 * configure: Regenerated.
713 * config.h.in: Regenerated.
714 * aclocal.m4: Regenerated.
715 * Makefile.in: Regenerated.
716 * include/Makefile.in: Regenerated.
717 * libio/Makefile.in: Regenerated.
718 * libmath/Makefile.in: Regenerated.
719 * libsupc++/Makefile.in: Regenerated.
720 * src/Makefile.in: Regenerated.
721 * testsuite/Makefile.in: Regenerated.
723 2001-07-11 Felix Natter <fnatter@gmx.net>
725 * docs/html/17_intro/porting-howto.xml: Initial checkin of
727 * docs/html/17_intro/porting-howto.html: check in v0.9.3
729 2001-07-11 Phil Edwards <pme@sources.redhat.com>
731 * docs/doxygen/run_doxygen: Don't keep output from previous run.
732 * docs/doxygen/user.cfg.in: Tweaks.
733 * include/bits/c++config: Documentation comments for Doxygen.
734 * include/bits/char_traits.h: Likewise.
735 * include/bits/limits_generic.h: Likewise.
736 * include/bits/std_stdexcept.h: Likewise.
737 * include/bits/stl_pair.h: Likewise.
738 * libsupc++/exception: Likewise.
739 * libsupc++/new: Likewise.
740 * libsupc++/typeinfo: Likewise.
741 * libmath/Makefile.am: Update and correct copyright.
743 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
745 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
746 * aclocal.m4: Regenerate.
749 2001-07-09 Phil Edwards <pme@sources.redhat.com>
751 * docs/html/configopts.html: Fix thinko.
752 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
753 * include/bits/stl_iterator.h: Fix typo.
755 2001-07-09 Phil Edwards <pme@sources.redhat.com>
757 * docs/html/explanations.html: New file.
758 * docs/html/configopts.html: Link to it to provide more notes
759 on cstdio. Minor markup and spacing fixes.
760 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
762 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
764 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
765 for _Expr template template argument.
766 (_Expr::operator-): Likewise.
767 (_Expr::operator~): Likewise.
768 (_Expr::operator!): Likewise.
769 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
771 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
773 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
774 * libmath/Makefile.in: Regenerate.
775 * libmath/expf.c: Remove.
776 * libmath/atan2f.c: Likewise.
778 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
780 * configure.in: Remove NATIVE, NULL_TARGET.
781 Set CANADIAN only for Canadian crosses. Set xcompiling
782 for both Canadian crosses and host-x-host crosses.
783 * configure: Regenerated.
785 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
787 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
789 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
791 * testsuite_flags.in (--build-includes): backward, not backwards.
793 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
795 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
796 Replace destroy by _Destroy.
797 (_Rope_RopeRep::_S_free_string): Likewise.
798 (rope::c_str()): Likewise.
799 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
800 (_Slist_base::_M_erase_after): Likewise.
801 (slist::_M_create_node): Replace construct by _Construct.
802 (slist::pop_front): Replace destroy by _Destroy.
803 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
804 construct by _Construct.
805 (hashtable::_M_delete_node): Replace destroy by _Destroy.
806 * include/ext/stl_rope.h (rope::rope): Replace construct by
808 (rope::copy): Replace destroy by _Destroy.
810 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
812 * include/bits/localefwd.h: Format.
813 * include/bits/locale_facts.tcc (locale::combine): Adjust.
814 * src/locale.cc (locale::locale::(_Impl)): Don't call
816 (locale::facet::_M_remove_reference): Simplify.
817 * src/globals.cc (locale_impl_c): New. Format.
819 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
821 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
823 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
824 expansion (thanks to Alexandre Oliva).
825 * aclocal.m4: Regenerate.
826 * configure: Regenerate.
828 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
830 * src/locale.cc (locale::locale(const char*)): Make sure global
831 locales are initialized.
832 * include/bits/locale_facets.tcc (locale::combine): Refcout should
833 be zero, not one as it's return-by-value.
834 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
836 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
839 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
841 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
844 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
845 * aclocal.m4: Regenerate.
846 * configure: Regenerate.
848 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
851 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
852 staged/installed area to support -I-. Document.
853 * aclocal.m4: Regenerate.
854 * configure: Regenerate.
856 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
859 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
860 __out_bufsize. Add __in_bufsize, document it and use it.
862 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
864 * include/bits/stl_construct.h (construct): Remove.
866 (__destroy): Replaced by use of iterator_traits.
867 * include/bits/stl_deque.h: replaced HP iterator functions with
869 (construct): changed to _Construct.
870 (destroy): changed to _Destroy.
871 * include/bits/stl_tempbuf.h: Same.
872 * include/bits/stl_tree.h: Same.
873 * include/bits/stl_vector.h: Same.
874 * include/backward/iterator.h (construct): moved definition to here.
877 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
879 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
880 before replacing facet.
881 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
883 * src/localename.cc (locale::_Impl): Correct ctor initialization
884 lists. Initialize ref count with one. Simplify.
885 * src/locale.cc: Add comment.
886 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
887 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
888 * testsuite/22_locale/members.cc (test02): Fix.
890 2001-06-27 Phil Edwards <pme@sources.redhat.com>
892 * include/backward/algo.h: Add "GPL plus runtime exception" comment
893 block, this time for real.
894 * include/backward/algobase.h: Likewise.
895 * include/backward/alloc.h: Likewise.
896 * include/backward/bvector.h: Likewise.
897 * include/backward/defalloc.h: Likewise.
898 * include/backward/deque.h: Likewise.
899 * include/backward/function.h: Likewise.
900 * include/backward/hash_map.h: Likewise.
901 * include/backward/hash_set.h: Likewise.
902 * include/backward/hashtable.h: Likewise.
903 * include/backward/heap.h: Likewise.
904 * include/backward/iterator.h: Likewise.
905 * include/backward/list.h: Likewise.
906 * include/backward/map.h: Likewise.
907 * include/backward/multimap.h: Likewise.
908 * include/backward/multiset.h: Likewise.
909 * include/backward/pair.h: Likewise.
910 * include/backward/rope.h: Likewise.
911 * include/backward/set.h: Likewise.
912 * include/backward/slist.h: Likewise.
913 * include/backward/stack.h: Likewise.
914 * include/backward/strstream: Likewise.
915 * include/backward/tempbuf.h: Likewise.
916 * include/backward/tree.h: Likewise.
917 * include/backward/vector.h: Likewise.
918 * include/bits/pthread_allocimpl.h: Likewise.
919 * include/bits/std_algorithm.h: Likewise.
920 * include/bits/std_bitset.h: Likewise.
921 * include/bits/std_deque.h: Likewise.
922 * include/bits/std_functional.h: Likewise.
923 * include/bits/std_iterator.h: Likewise.
924 * include/bits/std_list.h: Likewise.
925 * include/bits/std_map.h: Likewise.
926 * include/bits/std_memory.h: Likewise.
927 * include/bits/std_numeric.h: Likewise.
928 * include/bits/std_queue.h: Likewise.
929 * include/bits/std_set.h: Likewise.
930 * include/bits/std_stack.h: Likewise.
931 * include/bits/std_utility.h: Likewise.
932 * include/bits/std_vector.h: Likewise.
933 * include/bits/stl_algo.h: Likewise.
934 * include/bits/stl_algobase.h: Likewise.
935 * include/bits/stl_alloc.h: Likewise.
936 * include/bits/stl_bvector.h: Likewise.
937 * include/bits/stl_construct.h: Likewise.
938 * include/bits/stl_deque.h: Likewise.
939 * include/bits/stl_function.h: Likewise.
940 * include/bits/stl_heap.h: Likewise.
941 * include/bits/stl_iterator.h: Likewise.
942 * include/bits/stl_iterator_base_funcs.h: Likewise.
943 * include/bits/stl_iterator_base_types.h: Likewise.
944 * include/bits/stl_list.h: Likewise.
945 * include/bits/stl_map.h: Likewise.
946 * include/bits/stl_multimap.h: Likewise.
947 * include/bits/stl_multiset.h: Likewise.
948 * include/bits/stl_numeric.h: Likewise.
949 * include/bits/stl_pair.h: Likewise.
950 * include/bits/stl_pthread_alloc.h: Likewise.
951 * include/bits/stl_queue.h: Likewise.
952 * include/bits/stl_raw_storage_iter.h: Likewise.
953 * include/bits/stl_relops.h: Likewise.
954 * include/bits/stl_set.h: Likewise.
955 * include/bits/stl_stack.h: Likewise.
956 * include/bits/stl_tempbuf.h: Likewise.
957 * include/bits/stl_threads.h: Likewise.
958 * include/bits/stl_tree.h: Likewise.
959 * include/bits/stl_uninitialized.h: Likewise.
960 * include/bits/stl_vector.h: Likewise.
961 * include/bits/type_traits.h: Likewise.
962 * include/ext/hash_map: Likewise.
963 * include/ext/hash_set: Likewise.
964 * include/ext/rope: Likewise.
965 * include/ext/ropeimpl.h: Likewise.
966 * include/ext/slist: Likewise.
967 * include/ext/stl_hash_fun.h: Likewise.
968 * include/ext/stl_hashtable.h: Likewise.
969 * include/ext/stl_rope.h: Likewise.
970 * src/bitset.cc: Likewise.
971 * src/strstream.cc: Likewise.
973 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
974 <vakatov@ncbi.nlm.nih.gov>
977 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
978 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
979 * testsuite/27_io/istream_extractor_other.cc: Fix.
981 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
983 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
984 * aclocal.m4: Regenerate.
985 * configure: Regenerate.
987 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
989 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
990 (ostream_iterator): Same.
991 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
992 Change argument to const_reference.
993 (back_insert_iterator): Same.
995 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
997 * include/bits/sbuf_iter.h: Change to..
998 * include/bits/streambuf_iterator.h: This.
999 * include/bits/stl_iterator.h: Take out of here...
1000 * include/bits/stream_iterator.h: Add.
1001 * src/Makefile.am (base_headers): Add streambuf_iterator,
1003 * src/Makefile.in: Regenerate.
1004 * include/bits/std_string.h: Adjust includes.
1005 * include/bits/basic_ios.h: Same.
1006 * include/bits/locale_facets.tcc: Same.
1007 * include/bits/std_iosfwd.h: Same.
1009 * include/bits/std_iterator.h: Add istream, ostream includes.
1010 * include/bits/stl_iterator.h: Tweak.
1011 * testsuite/24_iterators/ostream_iterator.cc: Add test.
1012 * testsuite/24_iterators/istream_iterator.cc: Same.
1013 * testsuite/23_containers/multiset.cc: Add iterator include.
1015 2001-06-26 Phil Edwards <pme@sources.redhat.com>
1017 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
1018 * aclocal.m4: Regenerate.
1019 * configure: Regenerate.
1021 2001-06-26 Felix Natter <f.natter@ndh.net>
1023 * docs/html/17_intro/porting-howto.html: Fixed some errors.
1025 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1027 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
1029 (istream_iterator::operator*): Same.
1031 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1032 Alexandre Petit-Bianco <apbianco@redhat.com>
1034 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
1035 is on 41st, not 14th.
1037 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1039 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
1041 * include/bits/stl_iterator.h (istream_iterator): Inherit from
1043 (ostream_iterator): Same.
1044 * testsuite/24_iterators/istream_iterator.cc: New file.
1045 * testsuite/24_iterators/ostream_iterator.cc: New file.
1047 * include/bits/sbuf_iter.h: Remove self typedef.
1048 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
1049 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
1051 * include/bits/stl_iterator.h (reverse_iterator): Remove
1052 extraneous typedefs. Add typename.
1053 (__normal_iterator): Remove typedefs referring to self. Add typename.
1054 (reverse_bidiretional_iterator): Remove, not longer required.
1056 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1058 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
1059 dependent names with `typename'. Bring in various required
1060 iterator_traits members. Can't imagine why that used to work.
1062 2001-06-25 Phil Edwards <pme@sources.redhat.com>
1063 Kurt Garloff <garloff@suse.de>
1066 * src/cmath.cc: New [version of an old] file; instantiate
1067 __cmath_power to start with.
1068 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
1069 * Makefile.in: Regenerate.
1070 * libio/Makefile.in: Regenerate.
1071 * libmath/Makefile.in: Regenerate.
1072 * libsupc++/Makefile.in: Regenerate.
1073 * src/Makefile.in: Regenerate.
1074 * testsuite/Makefile.in: Regenerate.
1076 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1078 * libmath/stubs.c: Fix thinko.
1080 2001-06-24 David Edelsohn <dje@watson.ibm.com>
1082 * libmath/stubs.c (sqrtf): Define.
1083 (tanf): Correct typo.
1085 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
1087 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
1089 (back_insert_iterator): Same.
1090 (front_insert_iterator): Same.
1091 (insert_iterator): Same.
1093 * testsuite/20_util/raw_storage_iterator.cc: Modify.
1094 * testsuite/24_iterators/reverse_iterator.cc: New file.
1095 * testsuite/24_iterators/back_insert_iterator.cc: New file.
1096 * testsuite/24_iterators/front_insert_iterator.cc: New file.
1097 * testsuite/24_iterators/insert_iterator.cc: New file.
1099 2001-06-22 Phil Edwards <pme@sources.redhat.com>
1101 * include/*: Revert comment/license change from yesterday for all
1102 except libsupc++/unwind-cxx.h.
1103 * src/bitset.cc: Likewise.
1104 * src/strstream.cc: Likewise.
1106 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1108 * libmath/stubs.c: New file.
1112 * libmath/Makefile.am (libmath_la_SOURCES): Add.
1113 * libmath/Makefile.in. Regenerate.
1115 2001-06-21 Phil Edwards <pme@sources.redhat.com>
1117 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
1118 * include/backward/algobase.h: Likewise.
1119 * include/backward/alloc.h: Likewise.
1120 * include/backward/bvector.h: Likewise.
1121 * include/backward/defalloc.h: Likewise.
1122 * include/backward/deque.h: Likewise.
1123 * include/backward/function.h: Likewise.
1124 * include/backward/hash_map.h: Likewise.
1125 * include/backward/hash_set.h: Likewise.
1126 * include/backward/hashtable.h: Likewise.
1127 * include/backward/heap.h: Likewise.
1128 * include/backward/iterator.h: Likewise.
1129 * include/backward/list.h: Likewise.
1130 * include/backward/map.h: Likewise.
1131 * include/backward/multimap.h: Likewise.
1132 * include/backward/multiset.h: Likewise.
1133 * include/backward/pair.h: Likewise.
1134 * include/backward/rope.h: Likewise.
1135 * include/backward/set.h: Likewise.
1136 * include/backward/slist.h: Likewise.
1137 * include/backward/stack.h: Likewise.
1138 * include/backward/strstream: Likewise.
1139 * include/backward/tempbuf.h: Likewise.
1140 * include/backward/tree.h: Likewise.
1141 * include/backward/vector.h: Likewise.
1142 * include/bits/pthread_allocimpl.h: Likewise.
1143 * include/bits/std_algorithm.h: Likewise.
1144 * include/bits/std_bitset.h: Likewise.
1145 * include/bits/std_deque.h: Likewise.
1146 * include/bits/std_functional.h: Likewise.
1147 * include/bits/std_iterator.h: Likewise.
1148 * include/bits/std_list.h: Likewise.
1149 * include/bits/std_map.h: Likewise.
1150 * include/bits/std_memory.h: Likewise.
1151 * include/bits/std_numeric.h: Likewise.
1152 * include/bits/std_queue.h: Likewise.
1153 * include/bits/std_set.h: Likewise.
1154 * include/bits/std_stack.h: Likewise.
1155 * include/bits/std_utility.h: Likewise.
1156 * include/bits/std_vector.h: Likewise.
1157 * include/bits/stl_algo.h: Likewise.
1158 * include/bits/stl_algobase.h: Likewise.
1159 * include/bits/stl_alloc.h: Likewise.
1160 * include/bits/stl_bvector.h: Likewise.
1161 * include/bits/stl_construct.h: Likewise.
1162 * include/bits/stl_deque.h: Likewise.
1163 * include/bits/stl_function.h: Likewise.
1164 * include/bits/stl_heap.h: Likewise.
1165 * include/bits/stl_iterator.h: Likewise.
1166 * include/bits/stl_iterator_base_funcs.h: Likewise.
1167 * include/bits/stl_iterator_base_types.h: Likewise.
1168 * include/bits/stl_list.h: Likewise.
1169 * include/bits/stl_map.h: Likewise.
1170 * include/bits/stl_multimap.h: Likewise.
1171 * include/bits/stl_multiset.h: Likewise.
1172 * include/bits/stl_numeric.h: Likewise.
1173 * include/bits/stl_pair.h: Likewise.
1174 * include/bits/stl_pthread_alloc.h: Likewise.
1175 * include/bits/stl_queue.h: Likewise.
1176 * include/bits/stl_raw_storage_iter.h: Likewise.
1177 * include/bits/stl_relops.h: Likewise.
1178 * include/bits/stl_set.h: Likewise.
1179 * include/bits/stl_stack.h: Likewise.
1180 * include/bits/stl_tempbuf.h: Likewise.
1181 * include/bits/stl_threads.h: Likewise.
1182 * include/bits/stl_tree.h: Likewise.
1183 * include/bits/stl_uninitialized.h: Likewise.
1184 * include/bits/stl_vector.h: Likewise.
1185 * include/bits/type_traits.h: Likewise.
1186 * include/ext/hash_map: Likewise.
1187 * include/ext/hash_set: Likewise.
1188 * include/ext/rope: Likewise.
1189 * include/ext/ropeimpl.h: Likewise.
1190 * include/ext/slist: Likewise.
1191 * include/ext/stl_hash_fun.h: Likewise.
1192 * include/ext/stl_hashtable.h: Likewise.
1193 * include/ext/stl_rope.h: Likewise.
1194 * libsupc++/unwind-cxx.h: Likewise.
1195 * src/bitset.cc: Likewise.
1196 * src/strstream.cc: Likewise.
1198 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1200 * include/bits/indirect_array.h (indirect_array<>::operator=):
1201 Make copy and assignment operator public. Implement. Format.
1203 * include/bits/valarray_array.h (__valarray_copy): Add overloads
1204 for copy between index arrays. Format.
1206 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
1208 * mknumeric_limits: Add static definitions, format.
1209 * testsuite/18_support/numeric_limits.cc (test02): Add test.
1211 * include/c_std/bits/std_cwchar.h: Include ctime.
1212 * testsuite/17_intro/header_cwchar.cc : Check.
1214 * include/c_std/bits/std_cwctype.h: Inject wctype.
1215 * testsuite/17_intro/header_cwctype.cc: Update.
1217 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
1219 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
1220 * testsuite/20_util/raw_storage_iterator.cc: Same.
1222 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
1224 (__mem_interface): New typedef for switching between malloc and new.
1225 * testsuite/20_util/allocator_members.cc: New file.
1227 * testsuite/20_util/comparisons.cc: New file.
1228 * testsuite/20_util/pairs.cc: New file.
1230 2001-06-15 Phil Edwards <pme@sources.redhat.com>
1232 * docs/html/documentation.html: Point to new doxygen'ed collection.
1234 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
1236 * configure.in (auxdir): Replace by ...
1237 (toprel): ... new variable.
1238 (toplevel_srcdir): Construct from $toprel.
1239 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
1240 rather than .. to locate gcc source directory.
1241 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
1242 * aclocal.m4, configure: Rebuilt.
1244 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
1246 (Approved by Mark and Benjamin. Applied by Loren.)
1248 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
1249 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
1250 and _GLIBCPP_mutex_address.
1251 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
1252 once-only runtime initialization of _M_lock mutex when
1253 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
1254 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
1255 for __GTHREAD_MUTEX_INIT_FUNCTION case.
1257 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1259 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
1261 * include/bits/slice_array.h (slice_array<>::operator=): Make
1262 public and implement.
1263 (slice_array<>::slice_array): Make copy-constructor public.
1265 * include/bits/valarray_array.h (__valarray_copy): Add another
1266 overload to copy between strided arrays.
1268 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
1270 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
1271 * aclocal.m4: Regenerate.
1272 * configure: Regenerate.
1273 * include/bits/c++config (__GLIBCPP__): Update date.
1275 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
1277 * include/bits/fpos.h (fpos::operator-): Don't return reference,
1278 return original, non-modified version.
1279 (fpos::operator+): Same.
1280 * testsuite/27_io/fpos.cc: Add test.
1282 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
1285 * porting.texi: Add documentation about libstdc++-v3-specific
1286 macros that are currently included in os_defines.h files.
1288 * config/basic_file_stdio.h (sys_getc): New method.
1289 (sys_ungetc): New method.
1290 * include/bits/basic_file.h: (sys_getc): New method signature.
1291 (sys_ungetc): New method signature.
1293 * include/bits/fstream.tcc (underflow): Add conditional code
1294 paths which avoid using short seeks on streams (especially
1295 useful when the stream might be interactive or a pipe). At
1296 the moment, this alternate path only avoids seeking when the
1297 ``buffer size'' of underflow() is 1 since the C standard only
1298 guarantees buffer space for one ungetc (this technique could
1299 be extended since *-*-solaris* supports buffering for 4 calls
1300 to ungetc and *-*-*bsd* supports buffering limited only by
1301 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
1302 in a port's os_defines.h file for this alternate path to even
1303 be considered. As a bonus, the idiom of using getc/ungetc
1304 requires no system calls whereas fseek maps to one or two
1305 system call(s) on many platforms.
1307 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
1309 * config/os/solaris/solaris2.5/bits/os_defines.h
1310 (_GLIBCPP_AVOID_FSEEK): Likewise.
1311 * config/os/solaris/solaris2.6/bits/os_defines.h
1312 (_GLIBCPP_AVOID_FSEEK): Likewise.
1313 * config/os/solaris/solaris2.7/bits/os_defines.h
1314 (_GLIBCPP_AVOID_FSEEK): Likewise.
1316 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
1318 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
1319 AC_TRY_COMPILE, so that the built compiler is checked, and
1320 bootstraps or cross compiles with an older compile still work.
1321 * aclocal.m4: Regenerate.
1322 * configure: Regenerate.
1324 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
1327 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
1330 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
1333 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
1336 * include/bits/limits_generic.h: Fix as per DR 184.
1338 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
1341 * include/bits/basic_string.h (string::compare): Adjust signatures
1343 * include/bits/basic_string.tcc: And here.
1346 * config/c_io_stdio.h: Remove whitespace.
1347 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
1348 (test02): Add regression.
1349 * testsuite/27_io/istream_seeks-3.tst: New file.
1351 2001-06-11 Phil Edwards <pme@sources.redhat.com>
1353 * README: Update to reflect reality.
1354 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
1355 * configure.in: Make certain target_alias is set and subst'd for 2.50.
1356 * aclocal.m4: Regenerate.
1357 * configure: Regenerate (with 2.13).
1359 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
1362 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
1364 * include/bits/istream.tcc (istream::seekg): Same.
1365 * testsuite/27_io/istream_seeks.cc: Fix.
1368 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
1370 * include/bits/std_queue.h: Add c++config.h.
1371 * testsuite/20_util/binders.cc: New test.
1373 2001-06-11 Matthias Klose <doko@debian.org>
1374 Phil Edwards <pme@sources.redhat.com>
1376 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
1377 (main script): Echo more information.
1379 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
1381 * include/c_std/bits/std_cwchar.h: Alphabetize.
1382 * include/bits/char_traits.h: Tweak.
1383 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
1384 everything used by std_cwchar.h.
1385 * aclocal.m4: Regenerate.
1386 * configure.in: Regenerate.
1387 * config.h.in: Regenerate.
1389 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
1391 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
1392 Add checking for strtof, _Exit in stdlib.h
1393 * aclocal.m4: Regenerate.
1394 * configure.in: Regenerate.
1395 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
1396 (snprintf): Put C99 functions into __gnu_cxx namespace.
1401 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
1402 for C99 functions within _GLIBCPP_USE_C99 guard.
1406 * include/bits/locale_facets.tcc: Check if C99 is enabled.
1407 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
1409 * include/c_std/bits/cmath.tcc: Formatting tweak.
1410 * include/c_std/bits/std_cmath.h: Same.
1412 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
1414 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
1416 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
1417 Stephen L Moshier <moshier@mediaone.net>
1419 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
1420 nothing, as in autoconf 2.50.
1421 * configure: Rebuilt.
1423 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
1425 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
1426 include std_cstddef.
1427 * include/c_std/bits/std_ctime.h: Same.
1428 * include/c_std/bits/std_cstring.h: Same.
1429 * include/c_std/bits/std_cstdlib.h: Same.
1431 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
1432 * include/c_std/bits/std_cctype.h: Remove isblank.
1434 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
1436 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
1438 * aclocal.m4: Regenerate.
1439 * configure: Regenerate.
1440 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
1441 injection, guard fgetwc, fgetws.
1442 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
1443 * include/c_std/bits/std_clocale.h: And here.
1444 * include/c_std/bits/std_cctype.h: And here.
1445 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
1447 * config/basic_file_stdio.h: Don't include unistd.h.
1448 * config/c_io_stdio.h: Don't use compatibility headers.
1449 * libsupc++/eh_terminate.cc: Qualify abort.
1450 (__terminate): And here.
1451 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
1453 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
1455 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
1457 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
1462 * include/std/*: Add copyright notice.
1463 * include/c_std/bits/*: Use using statements instead of extern "C".
1464 * include/c_std/bits/std_cmath.h: Don't overload double versions
1465 of math functions with __buitin versions, use global version to
1466 prevent ambiguities. Remove define hacks.
1467 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
1468 functions that have changed signatures and std::
1469 declarations. Remove define hacks.
1470 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
1471 __builtins in std::. Remove define hacks.
1472 * testsuite/17_intro/headers_c.cc: Add tests.
1473 * testsuite/17_intro/headers_c++.cc: Add test.
1475 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
1476 John David Anglin <dave@hiauly1.hia.nrc.ca>
1479 * libsupc++/eh_alloc.cc: Ensure that required macros are
1480 defined before including gthr.h. Ensure that we get the
1481 version of gthr.h for which we know how to provide a
1483 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
1484 code path into line with the current EH model. Use std, where
1487 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
1488 John David Anglin <dave@hiauly1.hia.nrc.ca>
1490 * config/threads-no.h: Remove file.
1491 * config/threads-posix.h: Remove file.
1493 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
1494 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
1495 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
1496 * config.h.in: Regenerate.
1498 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
1499 setup and use gthr*.h files. In particular, make gthr.h files
1500 namespace-clean in the staging area (they don't have to be for
1502 * aclocal.m4: Regenerate.
1503 * configure: Regenerate.
1505 * src/Makefile.am (build_headers): Remove bits/c++threads.h
1506 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
1507 * src/Makefile.in: Regenerate.
1509 * include/bits/c++config: Cleanup threading configuration macros.
1510 In particular, define __STL_GTHREADS macro which controls...
1511 * include/bits/stl_threads.h: ...a brand new gthr.h-based
1514 * config/c_io_stdio.h: Include staged gthr.h instead of local
1515 thread configuration file. Always use __gthread_mutex_t
1516 instead of __mutext_type (or int).
1517 * include/bits/std_fstream.h: Likewise.
1519 * docs/html/17_intro/howto.html: Remove placeholder comment in
1520 case this configuration patch didn't make it. Add advice that
1521 section only applies if configured with --enable-threads.
1522 * docs/html/23_containers/howto.html: Reword to make clear
1523 that _PTHREADS is no longer required for any port to be
1524 correctly using STL with threads. Add advice that section
1525 only applies if configured with --enable-threads.
1527 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
1529 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
1531 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
1534 * include/bits/basic_ios.tcc: Formatting tweaks.
1535 * include/bits/ios_base.h: Formatting tweaks.
1536 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
1537 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
1538 * src/globals.cc: Allocate filebufs for standard streams here.
1539 (buf_cout, buf_cin, buf_cerr): Like so.
1540 (buf_wcout, buf_wcin, buf_wcerr): And so.
1541 * testsuite/27_io/ios_init.cc: Add.
1543 2001-06-04 Brendan Kehoe <brendan@zen.org>
1544 Benjamin Kosnik <bkoz@redhat.com>
1547 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
1548 for generic ctype virtuals.
1549 * src/locale.cc: Minor tweaks, naming consistency.
1550 * testsuite/22_locale/ctype.cc: Add test.
1552 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
1553 Phil Edwards <pme@sources.redhat.com>
1555 PR libstdc++/3035 and PR libstdc++/3036
1556 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
1557 to LWG DR 181 and 265.
1559 2001-06-04 Phil Edwards <pme@sources.redhat.com>
1562 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
1563 equal_range): Add const overloads as per LWG DR 214.
1564 * include/bits/stl_set.h: Likewise.
1566 2001-06-04 Brendan Kehoe <brendan@zen.org>
1567 Phil Edwards <pme@sources.redhat.com>
1570 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
1571 comparison; all positions must be < _Nb.
1572 * testsuite/23_containers/bitset_members.cc: New file.
1574 2001-06-04 Brendan Kehoe <brendan@zen.org>
1577 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
1578 ctors to match the standard.
1580 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
1582 * include/bits/char_traits.h (move): Reverse qualification of
1584 (copy): Reverse qualification of memcpy with std::.
1586 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
1588 * include/bits/char_traits.h (move): Qualify memmove with std::.
1589 (copy): Qualify memcpy with std::.
1590 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
1593 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
1595 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
1597 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
1598 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
1599 SUN make VPATH peculiarities.
1600 * libsupc++/Makefile.in: Regenerate.
1602 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
1604 * src/Makefile.am (VPATH): Delimit with ":", not space.
1605 * src/Makefile.in: Regenerate.
1607 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
1609 * configure: Regenerate.
1611 2001-05-31 scott snyder <snyder@fnal.gov>
1614 * include/bits/istream.tcc: Include std_ostream.h.
1616 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
1619 * src/bitset.cc: Qualify size_t with std::.
1621 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
1623 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
1624 (_GLIBCPP_BUGGY_COMPLEX): Remove.
1625 * config.h.in: Regenerate.
1626 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
1627 * aclocal.m4: Regenerate.
1628 * configure.in: Don't call it.
1629 * configure: Regenerate.
1632 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
1633 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
1637 * include/bits/std_complex.h: Include sstream. Put definitions for
1638 complex inserters and extractors here, and remove them from...
1639 * src/complex_io.cc: ...here.
1640 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
1642 (basic_ios::__numget_type): Same.
1643 * include/bits/std_istream.h: Same.
1644 * include/bits/std_ostream.h: Same.
1645 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
1646 class iterator template arguments.
1647 * src/locale-inst.cc: Add explicit has_facet instantiations.
1648 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
1649 (_M_get_fnumput): Remove.
1650 (_M_get_fnumget): Remove.
1651 (basic_ios::_M_check_facet): New function.
1652 (basic_ios::_M_cache_facets): New function.
1653 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
1654 (basic_ios::imbue): Call _M_cache_facets.
1655 (basic_ios::init): Same.
1656 * include/bits/istream.tcc: Format, use _M_check_facet.
1657 * include/bits/ostream.tcc: Same.
1658 * include/bits/locale_facets.tcc (__output_float): Change
1659 signature, add _Traits.
1660 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
1663 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
1665 * include/bits/c++config (__USE_MALLOC): Do not define it.
1666 Document why not and give pointers to more information.
1668 * docs/html/23_containers/howto.html: Update documentation
1669 to reflect recent understanding of problem.
1670 * docs/html/17_intro/howto.html: Likewise.
1672 2001-05-30 Phil Edwards <pme@sources.redhat.com>
1674 * docs/doxygen/user.cfg.in: Minor addition.
1675 * docs/html/documentation.html: Reorganize. Put most-looked-at
1677 * docs/html/install.html: Update for 3.0. HTML fixups.
1678 * docs/html/17_intro/howto.html: Likewise.
1679 * docs/html/18_support/howto.html: Likewise.
1680 * docs/html/19_diagnostics/howto.html: Likewise.
1681 * docs/html/20_util/howto.html: Likewise.
1682 * docs/html/23_containers/howto.html: Likewise.
1683 * docs/html/24_iterators/howto.html: Likewise. More notes.
1684 * docs/html/25_algorithms/howto.html: Likewise.
1685 * docs/html/26_numerics/howto.html: Likewise. More notes.
1686 * docs/html/27_io/howto.html: Likewise.
1687 * docs/html/ext/howto.html: Likewise.
1688 * docs/html/faq/index.html: Likewise.
1689 * docs/html/faq/index.txt: Regenerate.
1690 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
1691 Doxygen-created documentation.
1693 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1695 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
1696 get_multilibs to find gcc.
1698 2001-05-30 Phil Edwards <pme@sources.redhat.com>
1700 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
1701 * aclocal.m4: Regenerate.
1702 * configure: Regenerate.
1704 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1706 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
1707 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
1709 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1711 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
1712 * include/c_std/bits/std_cstdlib.h: Same.
1713 * include/c_std/bits/std_cwchar.h: Same.
1715 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
1717 * docs/html/17_intro/howto.html: Update link.
1718 * docs/html/23_containers/howto.html: Likewise. Add new link.
1720 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
1722 * include/c_std/bits/std_cmath.h (sqrt): #undef.
1724 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1726 * mknumeric_limits: Stop if gen-num-limits dies.
1728 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
1731 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
1732 * aclocal.m4: Regenerate.
1735 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1736 Phil Edwards <pme@sources.redhat.com>
1737 Alexandre Oliva <aoliva@redhat.com>
1739 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
1740 in an amd-safe manner. Revert glibcpp_prefixdir.
1742 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
1744 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
1745 fabs, sin, sqrt. They are now implemented in terms of __builtin_
1748 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
1751 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
1752 * include/bits/ostream.tcc: Format to match istream.tcc.
1753 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
1755 2001-05-24 Phil Edwards <pme@sources.redhat.com>
1757 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
1759 (__cxa_free_exception): Likewise with free.
1761 2001-05-24 Mark Mitchell <mark@codesourcery.com>
1763 * include/c_std/bin/std_cstring.h: #define away all global
1764 functions we will redeclare in namespace `std'.
1765 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
1766 std::memset, instead of memset.
1767 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
1769 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
1772 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
1775 * include/bits/basic_ios.tcc: Small tweak.
1776 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
1777 ctors and dtors, and rdbuf settings.
1780 * include/bits/std_sstream.h: Same, but for stringstream classes.
1781 * testsuite/27_io/ostringstream_members.cc: New.
1782 * testsuite/27_io/stringstream_members.cc: New.
1783 * testsuite/27_io/fstream_members.cc: New.
1784 * testsuite/27_io/ifstream_members.cc: Add test.
1785 * testsuite/27_io/istringstream_members.cc: Add test.
1786 * testsuite/27_io/ofstream_members.cc: Add test.
1788 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1790 * include/bits/c++config(__NO_MATH_INLINES): Move to...
1791 * config/os/gnu-linux/bits/os_defines.h: ...here.
1793 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
1795 * include/bits/c++config (__NO_MATH_INLINES): New macro.
1796 * testsuite/26_numerics/fabs_inline.cc (main): New test.
1798 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
1801 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
1803 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
1804 (libstdc++-v3-finish): Remove.
1805 (libstdc++-v3_exit): Remove.
1807 2001-05-22 Phil Edwards <pme@sources.redhat.com>
1809 * docs/html/documentation.html: Point to doxygen output.
1811 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
1813 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
1815 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
1816 arguments to be non-null.
1817 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
1818 try allocations if allocated size is greater than zero.
1819 (filebuf::_M_filebuf_init): Change to
1820 (filebuf::_M_allocate_file): Which is what it does now.
1821 (filebuf::_M_allocate_bufers): Change to
1822 (filebuf::_M_allocate_internal_buffer): This, and create
1823 (filebuf::_M_allocate_pback_buffer): New.
1824 (filebuf::_M_destroy_internal_buffer): New.
1825 (filebuf::_M_buf_allocated): New data member.
1826 (filebuf::setbuf): Use new logic, allow use of external buffer.
1827 * testsuite/27_io/stringbuf_virtuals.cc: New file.
1828 * testsuite/27_io/filebuf_virtuals.cc: New file.
1830 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
1832 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
1834 (strchr): Same, but to __glibcpp_strchr.
1838 * include/c_std/bits/std_cwchar.h (wcschr): Same.
1844 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
1846 * testsuite/21_strings/c_strings.cc (main): Fix.
1848 2001-05-19 Phil Edwards <pme@sources.redhat.com>
1850 * acinclude.m4: Fix --help spacing, correct comments.
1851 * aclocal.m4: Regenerate.
1852 * configure: Regenerate.
1853 * mkcheck.in: Add usage comments.
1854 * docs/html/documentation.html: Point to doxygen'd tarball.
1856 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
1858 * testsuite/README: Add notes.
1860 * src/Makefile.am (libstdc++.INC): Remove.
1861 * src/Makefile.in: Regenerate.
1863 Phil Edwards <pedwards@disaster.jaj.com>
1864 * mkcheck.in: Add missing '#'.
1866 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1868 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
1869 appropriately for remote testing and testing installed files without
1872 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
1874 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
1875 amd glibcpp_prefixdir with absolute paths.
1877 * include/bits/c++config (__GLIBCPP__): Bump.
1878 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
1880 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
1882 * include/bits/std_valarray.h (valarray<>::operator[] const):
1883 Return a const reference.
1884 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
1886 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
1888 * configure.target (ATOMICITYH): Actually use AIX-specific code on
1889 earlier versions of AIX 4.*.
1891 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1893 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
1894 output_file based on the name of the testcase.
1896 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1898 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
1899 gluefile and use it if needs_status_wrapper is set.
1901 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
1903 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
1906 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
1908 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
1909 on earlier versions of AIX.
1911 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
1913 * testsuite_flags.in (query): Add backwards, ext directories.
1915 2001-05-15 Mark Mitchell <mark@codesourcery.com>
1917 * porting.texi: Correct documentation about handling
1918 _LARRGEFILE_SOURCE and its ilk.
1919 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1920 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
1922 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
1923 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
1925 2001-05-15 Zack Weinberg <zackw@stanford.edu>
1927 * testsuite/21_strings/inserters_extractors.cc,
1928 testsuite/27_io/istream_unformatted.cc,
1929 testsuite/27_io/stringstream.cc:
1930 Replace multi-line string constants with C89-style
1931 concatenated string constants.
1933 2001-05-14 Richard Henderson <rth@redhat.com>
1935 * mknumeric_limits: Build with -fno-exceptions.
1937 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
1939 Switch over to new harness.
1940 * testsuite_flags.in: Tweaks via Gaby.
1941 * testsuite/Makefile.am: Change tool to libstdc++-v3.
1942 (EXPECT): Quote directly.
1944 * configure.in: Output testsuite_flags.
1945 * acinclude.m4: Substitute src, bld, and prefix dirs.
1946 Remove glibcpp_expect, glibcpp_runtestflags.
1947 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
1948 * mkcheck.in: Port to new interface.
1950 * aclocal.m4: Regerate.
1951 * configure: Regnerate.
1952 * Makefile.in: Regnerate.
1953 * */Makefile.in: Regenerate.
1955 * tests_flags.in: Remove.
1956 * testsuite/lib/libstdc++.exp: Remove.
1957 * testsuite/libstdc++.tests/tests.exp: Remove.
1959 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
1961 * configure.target: Remove detection of AIX pthread multilib, now
1962 obtained from `gcc -v'.
1964 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
1966 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
1967 size. Add hpux case for HP size.
1969 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
1971 * testsuite_flags.in: New, simplified interface.
1972 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
1973 * testsuite/libstdc++-v3.dg: Add.
1974 * testsuite/libstdc++-v3.dg/dg.exp: Add.
1976 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
1978 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
1979 * testsuite/config/default.exp: Update bugs email address.
1981 2001-05-11 Richard Henderson <rth@redhat.com>
1983 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
1984 all pointer encoding logic.
1985 (struct lsda_header_info): Add ttype_base.
1986 (get_ttype_entry): Use it instead of a context.
1987 (check_exception_spec): Likewise.
1988 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
1989 the c++ exception header for __cxa_call_unexpected.
1990 (__cxa_call_unexpected): Use it.
1992 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
1994 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
1995 libgloss_link_flags to find crt0.o for targets that use libgloss
1997 Change LDFLAGS to LIBS.
1998 Consistently name procedures libstdc++-XXX.
1999 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
2001 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
2003 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
2008 * include/c_std/bits/std_cwchar.h (wcschr): Same.
2013 * testsuite/21_strings/c_strings.cc: Add tests.
2015 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
2018 * include/bits/std_fstream.h (basic_filebuf): Change signature.
2019 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
2020 to int_type, pass in buffer size info.
2021 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
2022 unbuffered situation.
2023 (underflow): Remove codecvt bits for the time being.
2024 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
2025 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
2026 values from iterators, clean.
2027 * src/locale.cc: Ditto.
2028 * include/bits/sbuf_iter.h: Format.
2029 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
2030 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
2031 * testsuite/27_io/filebuf.cc: Tweaks.
2032 * testsuite/27_io/filebuf_members.cc: Tweaks.
2034 2001-05-07 Mark Mitchell <mark@codesourcery.com>
2036 * config/os/solaris/solaris2.7/bits/os_defines.h
2037 (_LARGEFILE_SOURCE): Define it.
2039 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
2041 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
2042 -prefer-non-pic depending on whether libtool has shared libraries
2043 enabled or disabled.
2044 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
2045 $(LIBSUPCXX_PICFLAGS).
2046 * configure, */Makefile.in: Rebuilt.
2048 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
2050 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
2051 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
2053 * include/bits/std_sstream.h (stringbuf): Leak
2055 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
2057 2001-05-01 Tom Browder <tbrowder@home.com>
2059 * docs/html/ext/howto.html: Fix typo.
2061 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
2063 * testsuite/libstdc++.tests/tests.exp: Add comment.
2065 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
2067 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
2069 2001-04-30 Mark Mitchell <mark@codesourcery.com>
2071 * porting.texi: Use the GFDL.
2073 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
2076 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
2077 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
2080 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
2083 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
2085 2001-04-28 Phil Edwards <pme@sources.redhat.com>
2087 * docs/doxygen/run_doxygen: Minor tweaks.
2088 * docs/doxygen/style.css: New file.
2089 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
2090 latest parameters available. Use style.css.
2092 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
2094 * docs/doxygen/mainpage.doxy: New.
2095 * docs/doxygen/user.cfg.in: Change default configuration. Single
2096 frame, other tweaks.
2098 2001-04-26 Mark Mitchell <mark@codesourcery.com>
2100 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
2101 Indicate obsolete nature of thelist for G++ 3.0.
2103 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
2105 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
2106 target_thread_file with `gcc -v'.
2107 * aclocal.m4, configure: Rebuilt.
2109 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
2111 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
2112 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
2113 * include/c_std/bits/std_cwchar.h (std): Same.
2114 * acconfig.h (std): Remove c99 injection into std.
2115 * config.h.in: Regenerate.
2117 * testsuite/README: Fix typo.
2119 * include/bits/codecvt.h: Remove warnings.
2121 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2123 * include/ext/slist: Include required header files.
2125 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
2127 * include/c_std/bits/std_cerrno.h (errno): Define macro from
2128 identifier declared with external linkage, if needed.
2129 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
2130 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
2132 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
2134 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
2135 re-configures find the build compiler.
2136 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
2138 * aclocal.m4: Regenerate.
2139 * configure: Regenerate.
2141 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
2143 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
2144 support is enabled correctly before long long is activated.
2145 * aclocal.m4: Regenerate.
2146 * configure: Regenerate.
2148 * include/backward/backward_warning.h: Format correctly.
2150 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
2151 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
2152 * testsuite/26_numerics/c99_macros.cc: Remove.
2154 2001-04-20 Phil Edwards <pme@sources.redhat.com>
2156 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
2157 __iterator_category.
2159 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
2161 * acconfig.h (_GLIBCPP_USE_C99): Add.
2162 * config.h.in: Regenerate.
2163 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
2165 * aclocal.m4: Regenerate.
2166 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
2167 * configure: Regenerate.
2168 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
2169 * configure: Regenerate.
2170 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
2172 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
2174 * include/c_std/bits/std_cstdlib.h: Same.
2175 * docs/html/configopts.html: Update.
2176 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
2178 (test_c99_classify): Add.
2179 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
2180 (_ISOC99_SOURCE): Remove.
2182 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
2183 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
2184 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
2185 * aclocal.m4: Regenerate.
2186 * configure: Regenerate.
2188 2001-04-19 Phil Edwards <pme@sources.redhat.com>
2190 * Makefile.am (doxygen): Assume script is missing execute perms.
2191 * Makefile.in: Regenerated.
2192 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
2194 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
2196 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
2198 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
2200 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
2201 * testsuite/23_containers/set_operators.cc: Same.
2203 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
2205 (__GLIBCPP__): Bump from value of last release.
2206 * include/bits/concept_check.h: Default to off, edit comments.
2207 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
2208 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
2209 * src/Makefile.in: Regenerate.
2211 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
2213 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
2214 Properly uglify member.
2216 2001-04-13 Phil Edwards <pme@sources.redhat.com>
2218 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
2222 2001-04-13 Phil Edwards <pme@sources.redhat.com>
2224 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
2225 * include/bits/concept_check.h: Uglify.
2226 * include/bits/stl_algo.h: Likewise.
2227 * include/bits/stl_algobase.h: Likewise.
2228 * include/bits/stl_deque.h: Likewise.
2229 * include/bits/stl_heap.h: Likewise.
2230 * include/bits/stl_iterator_base_funcs.h: Likewise.
2231 * include/bits/stl_list.h: Likewise.
2232 * include/bits/stl_map.h: Likewise.
2233 * include/bits/stl_multimap.h: Likewise.
2234 * include/bits/stl_multiset.h: Likewise.
2235 * include/bits/stl_numeric.h: Likewise.
2236 * include/bits/stl_queue.h: Likewise.
2237 * include/bits/stl_set.h: Likewise.
2238 * include/bits/stl_stack.h: Likewise.
2239 * include/bits/stl_vector.h: Likewise.
2240 * include/ext/hash_map: Likewise.
2241 * include/ext/hash_set: Likewise.
2242 * include/ext/slist: Likewise.
2244 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
2246 * testsuite/23_containers/set_operators.cc: Just try to compile.
2248 * testsuite/23_containers/map_operators.cc: Same.
2250 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
2252 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
2254 (dg-test): Revert rth's change.
2256 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
2258 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
2259 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
2261 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
2263 * testsuite/README: Add DejaGnu specific documentation.
2265 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
2267 * acinclude.m4: AC_CHECK_TOOL for expect.
2268 * aclocal.m4: Regenerate.
2269 * configure: Regenerate.
2270 * testsuite/Makefile.am (RUNTEST): Use substituted.
2273 * configure.in: Remove xcompiling substitution.
2274 * tests_flags.in (CROSS_LIB_PATH): Remove.
2275 (xcompiling): Remove.
2276 (CXX): Use substituted CXX.
2278 2001-04-11 Richard Henderson <rth@redhat.com>
2280 * testsuite/lib/libstdc++.exp: Specify path for output_file.
2282 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
2284 * include/bits/std_valarray.h(valarray<>::operator[]): Make
2287 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
2289 * testsuite/25_algorithms/equal.cc: New test.
2291 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
2293 * stl_algobase.h (std::equal): avoid use of possibly-undefined
2294 operator != (one line patch).
2296 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
2298 * include/backward/backward_warning.h: Re-enable.
2300 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
2301 Alexandre Oliva <aoliva@redhat.com>
2303 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
2305 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
2307 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
2308 * testsuite/26_numerics/c99_macros.cc: Add test.
2310 2001-04-06 Phil Edwards <pme@sources.redhat.com>
2312 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
2313 * docs/html/faq/index.txt: Regenerated.
2315 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
2317 * include/backward/backward_warning.h: Temporarily disable until
2318 g++ testsuite changes go in.
2319 * tests_flags.in (CROSS_LIB_PATH): Add.
2321 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
2323 Warn when using backward headers.
2324 * include/backward/algo.h: Include warning file.
2325 * include/backward/vector.h: Same.
2326 * include/backward/tree.h: Same.
2327 * include/backward/tempbuf.h: Same.
2328 * include/backward/strstream: Same.
2329 * include/backward/streambuf.h: Same.
2330 * include/backward/stream.h: Same.
2331 * include/backward/stack.h: Same.
2332 * include/backward/slist.h: Same.
2333 * include/backward/set.h: Same.
2334 * include/backward/rope.h:
2335 * include/backward/queue.h: Same.
2336 * include/backward/pair.h: Same.
2337 * include/backward/ostream.h: Same.
2338 * include/backward/new.h: Same.
2339 * include/backward/multiset.h: Same.
2340 * include/backward/multimap.h: Same.
2341 * include/backward/map.h: Same.
2342 * include/backward/list.h: Same.
2343 * include/backward/iterator.h: Same.
2344 * include/backward/istream.h: Same.
2345 * include/backward/iostream.h:
2346 * include/backward/iomanip.h:
2347 * include/backward/heap.h: Same.
2348 * include/backward/hashtable.h:
2349 * include/backward/hash_set.h:
2350 * include/backward/hash_map.h:
2351 * include/backward/function.h:
2352 * include/backward/fstream.h:
2353 * include/backward/deque.h:
2354 * include/backward/defalloc.h: Same.
2355 * include/backward/complex.h: Same.
2356 * include/backward/bvector.h:
2357 * include/backward/alloc.h:
2358 * include/backward/algobase.h: Same.
2360 * include/backward/backward_warning.h: New file.
2361 * src/Makefile.am (backward_headers): Add backward_warning.h
2362 * src/Makefile.in: Regenerate.
2364 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
2366 * src/Makefile.am (myinstalldirs): Make sure backward directory is
2368 (myinstallheaders): Install backward headers in backward directory.
2369 * src/Makefile.in: Regenerate.
2371 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
2373 Prepare for libstdc++-2.92.
2374 * docs/html/17_intro/RELEASE-NOTES (New): Update.
2375 * docs/html/configopts.html: Fix formatting.
2376 * README (file): Updates.
2377 * include/bits/c++config (__GLIBCPP__): Update.
2379 2001-04-05 Phil Edwards <pme@sources.redhat.com>
2381 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
2383 2001-04-04 Phil Edwards <pme@sources.redhat.com>
2385 * docs/doxygen/user.cfg.in: Extract all non-private members;
2386 reduce confusing documentation output.
2388 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
2390 * include/backward/fstream.h: Add missing semicolons.
2392 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
2394 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
2395 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
2396 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
2397 (ios_base::Init::_S_ios_create): New.
2398 (ios_base::Init::_S_ios_destroy): New.
2399 * include/bits/std_fstream.h: Change ctor args.
2400 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
2401 (ios_base::Init::~Init): Use _S_ios_destroy.
2402 (ios_base::sync_with_stdio): Use new members.
2403 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
2406 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2408 * include/backward/fstream.h: Expose streampos to global
2411 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2413 * include/bits/stl_iterator_base_types.h: Fix typo
2415 2001-04-03 Andreas Schwab <schwab@suse.de>
2417 * include/backward/fstream.h: Define filebuf and wfilebuf.
2419 2001-04-02 Phil Edwards <pme@sources.redhat.com>
2421 New concept checking implementation.
2422 * docs/html/19_diagnostics/howto.html: Document.
2423 * docs/html/17_intro/concept_check.diff: New file, for reference.
2424 * include/bits/boost_concept_check.h: New file from Boost.
2425 * include/bits/c++config: Update comments.
2427 * include/bits/concept_check.h: New file.
2428 * include/bits/concept_checks.h: Removed.
2429 * include/bits/container_concepts.h: Removed.
2430 * include/bits/sequence_concepts.h: Removed.
2431 * include/bits/stl_iterator_base.h: Removed; split into...
2432 * include/bits/stl_iterator_base_funcs.h: ...this new file...
2433 * include/bits/stl_iterator_base_types.h: ...and this new file.
2435 * include/bits/sbuf_iter.h: Update to use new implementation.
2436 * include/bits/std_iterator.h: Likewise.
2437 * include/bits/std_memory.h: Likewise.
2438 * include/bits/stl_algo.h: Likewise.
2439 * include/bits/stl_algobase.h: Likewise.
2440 * include/bits/stl_construct.h: Likewise.
2441 * include/bits/stl_deque.h: Likewise.
2442 * include/bits/stl_heap.h: Likewise.
2443 * include/bits/stl_list.h: Likewise.
2444 * include/bits/stl_map.h: Likewise.
2445 * include/bits/stl_multimap.h: Likewise.
2446 * include/bits/stl_multiset.h: Likewise.
2447 * include/bits/stl_numeric.h: Likewise.
2448 * include/bits/stl_queue.h: Likewise.
2449 * include/bits/stl_set.h: Likewise.
2450 * include/bits/stl_stack.h: Likewise.
2451 * include/bits/stl_uninitialized.h: Likewise.
2452 * include/bits/stl_vector.h: Likewise.
2453 * include/ext/hash_map: Likewise.
2454 * include/ext/hash_set: Likewise.
2455 * include/ext/slist: Likewise.
2456 * include/ext/stl_hashtable.h: Likewise.
2458 * src/Makefile.am (base_headers): Update list of headers.
2459 * Makefile.in: Regenerated.
2460 * src/Makefile.in: Regenerated.
2461 * libio/Makefile.in: Regenerated.
2462 * libmath/Makefile.in: Regenerated.
2463 * libsupc++/Makefile.in: Regenerated.
2464 * testsuite/Makefile.in: Regenerated.
2466 * docs/html/install.html: Update contact information.
2467 * docs/html/17_intro/howto.html: Ditto.
2468 * docs/html/18_support/howto.html: Ditto.
2469 * docs/html/20_util/howto.html: Ditto.
2470 * docs/html/21_strings/howto.html: Ditto.
2471 * docs/html/22_locale/howto.html: Ditto.
2472 * docs/html/23_containers/howto.html: Ditto.
2473 * docs/html/24_iterators/howto.html: Ditto.
2474 * docs/html/25_algorithms/howto.html: Ditto.
2475 * docs/html/26_numerics/howto.html: Ditto.
2476 * docs/html/27_io/howto.html: Ditto.
2477 * docs/html/faq/index.html: Ditto, plus info on new checking code.
2478 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
2479 * docs/html/faq/index.txt: Regenerated.
2481 2001-04-02 Zack Weinberg <zackw@stanford.edu>
2483 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
2484 messages with $which_library as well as $tool_flags and
2485 ${dg-extra-tool-flags}. Factor out annotation text into
2488 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
2490 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
2491 * include/c_std/bits/std_cwchar.h: Same.
2492 * testsuite/21_strings/c_strings.cc: Add.
2494 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
2496 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
2498 2001-04-01 Zack Weinberg <zackw@stanford.edu>
2500 * tests_flags.in: Use test a = b, not test a == b which is not
2503 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
2505 * configure.target: Remove duplicate aix entry.
2507 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
2509 * include/ext/stl_bvector.h: Move to...
2510 * include/bits/stl_vector.h: ...here.
2511 * include/ext/bvector: Move to...
2512 * include/backward/bvector.h: ...here.
2513 * include/bits/std_vector.h: Change stl_bvector include.
2514 * include/bits/std_queue.h: Remove bvector include.
2515 * include/ext/tree: Insert using rb_tree, move to...
2516 * include/backward/tree.h: ...here.
2517 * include/backward/hash_map.h: Include ext/hash_map.
2518 * include/backward/hash_set.h: Include ext/hash_set.
2519 * include/backward/queue.h: New file.
2520 * include/backward/stack.h: Edit.
2521 * include/backward/algo.h: Same.
2522 * include/backward/algobase.h: Same.
2523 * include/backward/alloc.h: Same.
2524 * include/backward/function.h: Same.
2525 * include/backward/iomanip.h: Same.
2526 * include/backward/istream.h: Same.
2527 * include/backward/iterator.h: Same.
2528 * include/backward/list.h: Same.
2529 * include/backward/map.h: Same.
2530 * include/backward/multimap.h: Same.
2531 * include/backward/multiset.h: Same.
2532 * include/backward/ostream.h: Same.
2533 * include/backward/pair.h: Same
2534 * include/backward/rope.h: Same.
2535 * include/backward/set.h: Same.
2536 * include/backward/stream.h: Same.
2537 * include/backward/strstream.h: Same.
2538 * include/backward/tempbuf.h: Same.
2539 * src/Makefile.am (ext_headers): Edit.
2540 * src/Makefile.in: Regenerate.
2541 * testsuite/ext/headers.cc (main): Fix.
2544 2001-03-30 Phil Edwards <pme@sources.redhat.com>
2546 * tests_flags.in (LIBS): Pass correct path for installed testing.
2548 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
2550 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
2551 * tests_flags.in (CXX): Construct here.
2552 (static_fail): Don't remove compile.out. Format with spaces.
2553 (INCLUDES): Deal with xcompiling.
2554 * configure.in (xcompiling): Substitute.
2555 * testsuite/Makefile.am: Snake libjava configury.
2556 * testsuite/Makefile.in: Regenerate.
2557 * testsuite/23_containers/map_operators.cc: Tweaks.
2558 * testsuite/23_containers/set_operators.cc: Tweaks.
2560 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2562 Enable dejagnu testing framework.
2563 * configure.in: Generate testsuite/Makefile.
2564 * configure: Regenerate.
2565 * Makefile.am (check-install): Change rule from this...
2566 (check-script-install): ...to this.
2567 (check): Change rule from this...
2568 (check-script):...to this.
2569 * Makefile.in: Regenerate.
2571 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
2573 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
2575 (LIBTOOL): Let automake take care of its definition.
2576 * libsupc++/Makefile.in: Rebuilt.
2578 2001-03-28 Richard Henderson <rth@redhat.com>
2580 IA-64 ABI Exception Handling:
2581 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
2582 * configure.in: Use it.
2583 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
2584 * libsupc++/Makefile.am (sources): Update files list.
2585 * libsupc++/Makefile.in: Regenerate.
2586 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
2587 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
2588 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
2589 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
2590 * libsupc++/exception_support.cc: Remove.
2591 * libsupc++/exception_support.h: Remove.
2592 * libsupc++/pure.cc: Use std::terminate.
2593 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
2594 (__is_pointer): Remove.
2595 * libsupc++/unwind-cxx.h: New file.
2596 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
2598 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
2600 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
2602 * src/Makefile.am (CXXLINK): Likewise.
2603 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
2605 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
2607 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
2609 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2611 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
2614 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
2616 * include/bits/basic_file.h (get_fileno): Remove.
2617 (_M_fileno): Remove.
2618 (_M_cfile_created): Add.
2619 (basic_file::basic_file(__c_file_type*, openmode): Add.
2620 (basic_file::basic_file(int, const char*, openmode): Remove.
2621 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
2622 const char*, ios_base::openmode): Don't allocate
2623 internal buffers. Turn off internal buffers.
2624 (basic_filebuf::overflow): Remove test for null buffer.
2625 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
2626 * include/bits/streambuf.cc: Tweak.
2627 * include/bits/std_ostream.h: Tweak.
2628 * config/basic_file_libio.h: Same.
2629 * config/basic_file_stdio.h: Same.
2630 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
2631 * testsuite/27_io/filebuf_members.cc: Tweaks.
2632 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
2634 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2636 * Makefile.am: New targets, doxygen and doxygen-maint.
2637 * Makefile.in: Regenerated.
2638 * docs/doxygen/run_doxygen: Finally implemented.
2639 * docs/doxygen/maint.cfg.in: New file.
2640 * docs/doxygen/user.cfg.in: New file.
2642 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2644 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
2645 * src/Makefile.am: Replace leading spaces with tabs on continuation
2647 * aclocal.m4: Regenerated.
2649 * Makefile.in: Ditto.
2650 * src/Makefile.in: Ditto.
2651 * libio/Makefile.in: Ditto.
2652 * libmath/Makefile.in: Ditto.
2653 * libsupc++/Makefile.in: Ditto.
2655 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2657 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
2658 concept-checking code and current status of same.
2659 * docs/html/ext/howto.html: Ditto.
2660 * docs/html/faq/index.html: Ditto.
2661 * docs/html/faq/index.txt: Regenerated.
2663 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2665 * include/bits/std_bitset.h: Include ostream and istream headers
2666 instead of iostream.
2668 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
2670 * include/bits/ostream.tcc: Use __builtin_alloca.
2672 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
2674 * src/misc-inst.cc (__sink_unused_warning): Move to...
2675 * src/locale-inst.cc (__sink_unused_warning): Move to...
2676 * src/stl-inst.cc: Here.
2677 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
2680 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2682 * intclude/bits/basic_file.h: Fix typos in comments.
2684 2001-03-20 Richard Henderson <rth@redhat.com>
2686 * src/gen-num-limits.cc: Instantiate for wchar_t.
2687 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
2689 2001-03-20 Jason Merrill <jason@redhat.com>
2691 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
2692 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
2693 * libsupc++/cxxabi.h: Declare it.
2695 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
2697 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
2698 signal_func with an unspecified argument list.
2700 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
2702 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
2704 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2706 * include/bits/basic_string.tcc (operator+): Fix thinko.
2708 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
2711 * include/bits/std_streambuf.h: Remove cached locale facets.
2712 (basic_streambuf::_M_buf_fctype): Remove.
2713 (basic_streambuf::~basic_streambuf): Remove here.
2714 (basic_streambuf::basic_streambuf): Same.
2715 (basic_streambuf::imbue): Same.
2716 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
2717 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
2718 (basic_filebuf::~basic_filebuf()): Remove here.
2719 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
2720 (basic_filebuf::imbue): Same.
2721 * include/bits/localefwd.h (_Count_ones): Remove.
2722 (locale::_S_num_categories): Just use 6, since this doesn't
2723 actually change, ever.
2724 * include/bits/locale_facets.tcc (has_facet): Simplify.
2726 * testsuite/27_io/filebuf.cc (test06): Add tests.
2728 2001-03-13 Steve Ellcey <sje@cup.hp.com>
2730 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
2731 match HP-UX ctype.h header file.
2733 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
2735 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
2736 duplicate definitions of __dj_ctype_*
2738 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
2740 * libsupc++/new: Remove pragma interface.
2741 * libsupc++/typeinfo: Same.
2742 * libsupc++/exception: Same.
2743 * libsupc++/new_handler.cc: Remove pragma implementation.
2744 (bad_alloc::~bad_alloc()): Add.
2745 * libsupc++/exception_support.cc: Same.
2746 (exception::~exception): Add.
2747 (bad_exception::~bad_exception): Add.
2748 * libsupc++/tinfo.cc: Same.
2749 (bad_cast::~bad_cast): Add.
2750 (bad_typeid::~bad_typeid): Add.
2752 2001-03-13 Phil Edwards <pme@sources.redhat.com>
2754 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
2756 2001-03-12 Felix Lee <flee@redhat.com>
2758 * mkcheck.in: workaround for bash 2.01 IFS bug.
2760 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
2762 Fixups for -fno-for-scope
2763 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
2764 * src/valarray-inst.cc (__gslice_to_index): Same.
2766 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
2768 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
2769 prior to trapping signal (UnixWare 7 workaround).
2771 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
2773 * include/backward/hashtable.h: Same.
2774 * include/backward/rope.h: Fix include.
2776 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
2778 * include/backward/vector.h: Include std_vector.h.
2780 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
2781 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
2784 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2786 * include/ext/stl_hashtable.h: Change type of __n to size_t
2787 * include/backward/bvector.h: Include <ext/stl_bvector.h>
2789 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2791 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
2792 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
2793 Use streamsize, not int_type.
2795 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
2797 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
2800 2001-03-08 Andreas Schwab <schwab@suse.de>
2802 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
2804 * aclocal.m4, configure: Regenerated.
2806 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
2808 * include/bits/std_iosfwd.h: Remove string forward decls here.
2809 * include/bits/stringfwd.h: Add forward decls for char_traits
2811 * config/c_io_libio.h (wstreamoff): Delete.
2812 * config/c_io_stdio.h (wstreamoff): Same.
2813 * include/bits/char_traits.h: Use streamoff not wstreamoff for
2814 char_traits<wchar_t>::off_type.
2815 Remove duplicate typedefs.
2816 * include/bits/fpos.h: Define streampos/wstreampos here.
2817 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
2820 Changeup output files.
2821 * testsuite/27_io/istream_unformatted.cc: Change output files.
2822 * testsuite/27_io/istream_seeks-1.txt: Add.
2823 * testsuite/27_io/istream_seeks-2.tst: Add.
2824 * testsuite/27_io/istream_seeks-1.tst: Add.
2825 * testsuite/27_io/istream_unformatted-2.tst: Delete.
2826 * testsuite/27_io/istream_unformatted-3.tst: Delete.
2827 * testsuite/27_io/istream_unformatted-3.txt: Delete.
2829 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
2831 Add Irix 5.2, 6.3 support.
2832 * config/os/irix/bits: Renamed to...
2833 * config/os/irix/irix6.5/bits: this.
2834 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
2835 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
2836 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
2837 * config/os/irix/irix5.2/bits/ctype_noninline.h
2838 (ctype<char>::ctype): Initialize _M_table with __ctype.
2839 * configure.target: Adjust.
2841 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
2844 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
2845 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
2847 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
2848 (*__pf)(__ios_type&)): Same.
2849 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
2850 (*__pf)(ios_base&))): Same.
2851 * testsuite/27_io/istream_extractor_other.cc: Add tests.
2852 * testsuite/27_io/istream_manip.cc (test01): Fix.
2854 2001-03-06 Nathan Myers <ncm@cantrip.org>
2855 Benjamin Kosnik <bkoz@redhat.com>
2857 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
2858 * testsuite/17_intro/header_cerrno.cc (test01): New file.
2859 * testsuite/17_intro/header_cassert.cc (test01): New file.
2860 * testsuite/17_intro/header_cstddef.cc (test01): New file.
2861 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
2862 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
2864 2001-03-05 scott snyder <snyder@fnal.gov>
2867 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
2869 * include/c_std/bits/std_cstdlib.h: ... to here.
2870 * testsuite/17_intro/header_cstdlib.cc: Add test.
2872 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
2874 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
2876 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
2878 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
2879 definition. Replace enum with static const variables.
2881 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
2882 throw specification, fix typos, use <static_cast>.
2883 (ctype<char>::scan_is): remove throw specification.
2884 (ctype<char>::scan_not): likewise.
2886 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
2887 (ctype<char>::do_toupper(char)): use <static_cast>.
2888 (ctype<char>::do_toupper(char *, const char *)): likewise.
2889 (ctype<char>::do_tolower(char)): likewise.
2890 (ctype<char>::do_tolower(char *, const char *)): likewise.
2892 2001-03-04 Phil Edwards <pme@sources.redhat.com>
2894 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
2895 * include/backward/algo.h: Use std not __STD. Remove unneeded
2896 macros and "never happens" code. Adjust to C++STYLE guidelines.
2897 * include/backward/algobase.h: Likewise.
2898 * include/backward/alloc.h: Likewise.
2899 * include/backward/bvector.h: Likewise.
2900 * include/backward/deque.h: Likewise.
2901 * include/backward/function.h: Likewise.
2902 * include/backward/hash_map.h: Likewise.
2903 * include/backward/hash_set.h: Likewise.
2904 * include/backward/hashtable.h: Likewise.
2905 * include/backward/heap.h: Likewise.
2906 * include/backward/iterator.h: Likewise.
2907 * include/backward/list.h: Likewise.
2908 * include/backward/map.h: Likewise.
2909 * include/backward/multimap.h: Likewise.
2910 * include/backward/multiset.h: Likewise.
2911 * include/backward/pair.h: Likewise.
2912 * include/backward/rope.h: Likewise.
2913 * include/backward/set.h: Likewise.
2914 * include/backward/slist.h: Likewise.
2915 * include/backward/stack.h: Likewise.
2916 * include/backward/strstream: Likewise.
2917 * include/backward/tempbuf.h: Likewise.
2918 * include/backward/tree.h: Likewise.
2919 * include/backward/vector.h: Likewise.
2920 * include/bits/basic_ios.h: Likewise.
2921 * include/bits/basic_ios.tcc: Likewise.
2922 * include/bits/basic_string.h: Likewise.
2923 * include/bits/c++config: Likewise.
2924 * include/bits/concept_checks.h: Likewise.
2925 * include/bits/fpos.h: Likewise.
2926 * include/bits/fstream.tcc: Likewise.
2927 * include/bits/functexcept.h: Likewise.
2928 * include/bits/ios_base.h: Likewise.
2929 * include/bits/istream.tcc: Likewise.
2930 * include/bits/mask_array.h: Likewise.
2931 * include/bits/ostream.tcc: Likewise.
2932 * include/bits/pthread_allocimpl.h: Likewise.
2933 * include/bits/sbuf_iter.h: Likewise.
2934 * include/bits/slice.h: Likewise.
2935 * include/bits/slice_array.h: Likewise.
2936 * include/bits/sstream.tcc: Likewise.
2937 * include/bits/std_bitset.h: Likewise.
2938 * include/bits/std_fstream.h: Likewise.
2939 * include/bits/std_iomanip.h: Likewise.
2940 * include/bits/std_ios.h: Likewise.
2941 * include/bits/std_istream.h: Likewise.
2942 * include/bits/std_iterator.h: Likewise.
2943 * include/bits/std_memory.h: Likewise.
2944 * include/bits/std_ostream.h: Likewise.
2945 * include/bits/std_sstream.h: Likewise.
2946 * include/bits/std_streambuf.h: Likewise.
2947 * include/bits/std_string.h: Likewise.
2948 * include/bits/std_valarray.h: Likewise.
2949 * include/bits/stl_algo.h: Likewise.
2950 * include/bits/stl_algobase.h: Likewise.
2951 * include/bits/stl_alloc.h: Likewise.
2952 * include/bits/stl_construct.h: Likewise.
2953 * include/bits/stl_deque.h: Likewise.
2954 * include/bits/stl_function.h: Likewise.
2955 * include/bits/stl_heap.h: Likewise.
2956 * include/bits/stl_iterator.h: Likewise.
2957 * include/bits/stl_iterator_base.h: Likewise.
2958 * include/bits/stl_list.h: Likewise.
2959 * include/bits/stl_map.h: Likewise.
2960 * include/bits/stl_multimap.h: Likewise.
2961 * include/bits/stl_multiset.h: Likewise.
2962 * include/bits/stl_numeric.h: Likewise.
2963 * include/bits/stl_pair.h: Likewise.
2964 * include/bits/stl_pthread_alloc.h: Likewise.
2965 * include/bits/stl_queue.h: Likewise.
2966 * include/bits/stl_raw_storage_iter.h: Likewise.
2967 * include/bits/stl_relops.h: Likewise.
2968 * include/bits/stl_set.h: Likewise.
2969 * include/bits/stl_stack.h: Likewise.
2970 * include/bits/stl_tempbuf.h: Likewise.
2971 * include/bits/stl_threads.h: Likewise.
2972 * include/bits/stl_tree.h: Likewise.
2973 * include/bits/stl_uninitialized.h: Likewise.
2974 * include/bits/stl_vector.h: Likewise.
2975 * include/bits/streambuf.tcc: Likewise.
2976 * include/bits/type_traits.h: Likewise.
2977 * include/bits/valarray_meta.h: Likewise.
2978 * include/ext/bvector: Likewise.
2979 * include/ext/hash_map: Likewise.
2980 * include/ext/hash_set: Likewise.
2981 * include/ext/ropeimpl.h: Likewise.
2982 * include/ext/slist: Likewise.
2983 * include/ext/stl_bvector.h: Likewise.
2984 * include/ext/stl_hash_fun.h: Likewise.
2985 * include/ext/stl_hashtable.h: Likewise.
2986 * include/ext/stl_rope.h: Likewise.
2987 * src/complex_io.cc: Likewise.
2988 * src/ios.cc: Likewise.
2989 * src/locale-inst.cc: Likewise.
2990 * src/locale.cc: Likewise.
2991 * src/localename.cc: Likewise.
2992 * src/misc-inst.cc: Likewise.
2993 * src/stdexcept.cc: Likewise.
2994 * src/stl-inst.cc: Likewise.
2995 * src/strstream.cc: Likewise.
2996 * src/valarray-inst.cc: Likewise.
2998 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
3000 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
3002 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3004 * include/bits/istream.tcc: change type of __extracted to __size_type
3006 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
3008 * src/wstring-inst.cc: New file.
3009 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
3010 (libinst_wstring_la_SOURCES): Remove.
3011 (libstdc___la_LIBADD): Remove libinst_wstring_la.
3012 (sources): Add wstring-inst.cc
3013 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
3016 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3018 * src/locale.cc: initialise __ret with zero
3019 * src/strstream.cc:cast gptr to int_type
3021 2001-03-01 Phil Edwards <pme@sources.redhat.com>
3023 * docs/html/faq/index.html: Update broken links.
3024 * docs/html/faq/index.txt: Regenerated.
3026 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
3029 * configure.target: Change irix* to irix6.5* in target_os table.
3031 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
3034 * include/bits/c++config (__GLIBCPP__): Bump number in
3035 anticipation of 2.92.
3037 * include/bits/codecvt.h: Fix typo.
3038 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
3040 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
3041 instantiations for stdio model.
3043 2001-02-28 Phil Edwards <pme@sources.redhat.com>
3045 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
3046 and GLIBCPP_CXXFLAGS as unused variables.
3047 * configure.host: Likewise.
3048 * configure.target: Likewise.
3049 * aclocal.m4: Regenerated.
3050 * configure: Regenerated.
3051 * Makefile.in: Regenerated.
3052 * libio/Makefile.in: Regenerated.
3053 * libmath/Makefile.in: Regenerated.
3054 * libsupc++/Makefile.in: Regenerated.
3055 * src/Makefile.in: Regenerated.
3057 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
3060 * include/bits/basic_file.h: Include basic_file_model.h.
3061 * config/c_io_libio.cc: Move to...
3062 * config/basic_file_libio.cc: Here.
3063 * config/basic_file_libio.h: New file.
3064 * config/c_io_stdio.cc: Move to...
3065 * config/basic_file_stdio.cc: Here.
3066 * config/basic_file_stdio.h: New file.
3067 * config/c_io_libio.h: Tweak.
3068 * config/c_io_stdio.h: Tweak.
3069 * src/Makefile.am (build_headers): Add basic_file_model.h.
3070 (sources): Add basic_file.cc, remove c++io.cc.
3071 * src/Makefile.in: Regenerate.
3072 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
3073 basic_file_model.h and basic_file.cc.
3074 * aclocal.m4: Regenerate.
3075 * configure: Regenerate.
3076 * testsuite/27_io/filebuf.cc (test05): Add regression.
3078 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
3081 * config/cpu/alpha/bits/atomicity.h: Change.
3082 * config/cpu/arm/bits/atomicit3y.h
3083 * config/cpu/generic/bits/atomicity.h
3084 * config/cpu/i386/bits/atomicity.h
3085 * config/cpu/i486/bits/atomicity.h
3086 * config/cpu/ia64/bits/atomicity.h
3087 * config/cpu/powerpc/bits/atomicity.h
3088 * config/cpu/sparc/sparc32/bits/atomicity.h
3089 * config/cpu/sparc/sparc64/bits/atomicity.h
3090 * config/os/aix/bits/atomicity.h
3091 * config/os/irix/bits/atomicity.h
3093 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
3095 * include/bits/std_stdexcept.h (runtime_error): Make string
3097 (logic_error): Same.
3098 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
3101 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
3105 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
3106 string object, not reference.
3107 (runtime_error::runtime_error): Same.
3108 * testsuite/19_diagnostics/stdexceptions.cc: New file.
3110 2001-02-26 Phil Edwards <pme@sources.redhat.com>
3112 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
3113 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
3114 diagnostics. Remove WFMT_FLAGS.
3115 * configure.in: Replace WFMT_FLAGS with diagnostics options.
3116 * libsupc++/Makefile.am: Likewise.
3117 * src/Makefile.am: Likewise.
3118 * aclocal.m4: Regenerated.
3119 * configure: Regenerated.
3120 * Makefile.in: Regenerated.
3121 * libio/Makefile.in: Regenerated.
3122 * libmath/Makefile.in: Regenerated.
3123 * libsupc++/Makefile.in: Regenerated.
3124 * src/Makefile.in: Regenerated.
3126 2001-02-26 Phil Edwards <pme@sources.redhat.com>
3128 Fixes libstdc++/2079
3129 * include/backward/iomanip.h: Expose <ios> manipulators to global
3131 * include/backward/iostream.h: Also expose std::ws.
3133 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
3135 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
3137 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
3139 * include/bits/codecvt.h: Use __builtin_alloca.
3140 * include/bits/ostream.tcc: Same.
3141 * include/bits/fstream.tcc: Same.
3143 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
3145 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
3147 2001-02-23 David Edelsohn <dje@watson.ibm.com>
3149 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
3151 2001-02-23 Phil Edwards <pme@sources.redhat.com>
3154 * include/backward/iostream.h: Expose std::flush in old headers.
3156 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3158 * mknumeric_limits: Remove special-casing on target. Use gcc
3159 instead of g++ to build gen-num-limits.cc
3161 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
3163 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
3165 * include/bits/codecvt.h: Use alloca instead of __extension__ for
3167 * include/bits/ostream.tcc: Same.
3168 * include/bits/std_ostream.h: Same.
3169 * include/bits/fstream.tcc: Same.
3170 * include/bits/locale_facets.tcc: Add typename.
3171 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
3173 2001-02-21 Phil Edwards <pme@sources.redhat.com>
3175 * tests_flags.in: Remove -n flag from call to echo.
3177 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
3179 * config/c_locale_gnu.h: Add clocale include.
3181 2001-02-20 Phil Edwards <pme@sources.redhat.com>
3183 * include/bits/stl_config.h: Remove file.
3184 * src/Makefile.am (base_headers): Remove from list.
3185 * configure: Regenerate.
3186 * Makefile.in: Ditto.
3187 * libio/Makefile.in: Ditto.
3188 * libmath/Makefile.in: Ditto.
3189 * libsupc++/Makefile.in: Ditto.
3190 * src/Makefile.in: Ditto.
3192 * include/bits/c++config: Move relevant macros to here.
3193 * include/backward/alloc.h: Include c++config.h instead.
3194 * include/backward/function.h: Ditto.
3195 * include/backward/heap.h: Ditto.
3196 * include/backward/pair.h: Ditto.
3197 * include/bits/pthread_allocimpl.h: Ditto.
3198 * include/bits/std_functional.h: Ditto.
3199 * include/bits/std_iterator.h: Ditto.
3200 * include/bits/std_numeric.h: Ditto.
3201 * include/bits/std_utility.h: Ditto.
3202 * include/bits/stl_algobase.h: Ditto.
3203 * include/bits/type_traits.h: Ditto.
3204 * src/stl-inst.cc: Ditto.
3206 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3208 * include/bits/basic_file.h: Add #pragma system_header
3209 * include/bits/basic_ios.h: Ditto.
3210 * include/bits/basic_string.h: Ditto.
3211 * include/bits/char_traits.h: Ditto.
3212 * include/bits/codecvt.h: Ditto.
3213 * include/bits/cpp_type_traits.h: Ditto.
3214 * include/bits/fpos.h: Ditto.
3215 * include/bits/gslice.h: Ditto.
3216 * include/bits/gslice_array.h: Ditto.
3217 * include/bits/indirect_array.h: Ditto.
3218 * include/bits/ios_base.h: Ditto.
3219 * include/bits/limits_generic.h: Ditto.
3220 * include/bits/locale_facets.h: Ditto.
3221 * include/bits/localefwd.h: Ditto.
3222 * include/bits/mask_array.h: Ditto.
3223 * include/bits/sbuf_iter.h: Ditto.
3224 * include/bits/sequence_concepts.h: Ditto.
3225 * include/bits/slice.h: Ditto.
3226 * include/bits/slice_array.h: Ditto.
3227 * include/bits/std_algorithm.h: Likewise.
3228 * include/bits/std_bitset.h: Likewise.
3229 * include/bits/std_complex.h: Likewise.
3230 * include/bits/std_deque.h: Likewise.
3231 * include/bits/std_fstream.h: Likewise.
3232 * include/bits/std_functional.h: Likewise.
3233 * include/bits/std_iomanip.h: Likewise.
3234 * include/bits/std_ios.h: Likewise.
3235 * include/bits/std_iosfwd.h: Likewise.
3236 * include/bits/std_iostream.h: Likewise.
3237 * include/bits/std_istream.h: Likewise.
3238 * include/bits/std_iterator.h: Likewise.
3239 * include/bits/std_list.h: Likewise.
3240 * include/bits/std_locale.h: Likewise.
3241 * include/bits/std_map.h: Likewise.
3242 * include/bits/std_memory.h: Likewise.
3243 * include/bits/std_numeric.h: Likewise.
3244 * include/bits/std_ostream.h: Likewise.
3245 * include/bits/std_queue.h: Likewise.
3246 * include/bits/std_set.h: Likewise.
3247 * include/bits/std_sstream.h: Likewise.
3248 * include/bits/std_stack.h: Likewise.
3249 * include/bits/std_stdexcept.h: Likewise.
3250 * include/bits/std_streambuf.h: Likewise.
3251 * include/bits/std_string.h: Likewise.
3252 * include/bits/std_utility.h: Likewise.
3253 * include/bits/std_valarray.h: Likewise.
3254 * include/bits/std_vector.h: Likewise.
3255 * include/bits/stringfwd.h: Likewise.
3256 * include/bits/type_traits.h: Likewise.
3257 * include/bits/valarray_array.h: Likewise.
3258 * include/bits/valarray_meta.h: Likewise.
3260 2001-02-19 Andreas Jaeger <aj@suse.de>
3262 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
3265 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
3268 * include/bits/std_ostream.h: Replaced usage of
3269 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
3270 * include/bits/char_traits.h: Removed non-standard
3271 methods that cannot be used elsewhere.
3274 * include/bits/basic_ios.h: Uncommented #include of
3278 * include/bits/codecvt.h: See next...
3279 * include/bits/fstream.tcc: See next...
3280 * include/bits/ostream.tcc: Add __extension__
3281 to variable-length arrays.
3284 * include/bits/localefwd.h: Changed int counter type to size_t.
3287 * include/bits/std_fstream.h: Added typedef for __ctype_type.
3289 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
3291 * testsuite/21_strings/char_traits.cc: Move to ...
3292 * testsuite/21_strings/char_traits_requirements.cc: ..here.
3293 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
3294 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
3296 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
3298 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
3301 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
3303 * include/bits/c++config: Revert.
3305 2001-02-15 Mark Mitchell <mark@codesourcery.com>
3307 * include/bits/istream.tcc: Use ios_base::iostate in place of
3308 iostate throughout. Insert `typename' keyword where necessary.
3309 * include/bits/ostream.tcc: Insert `typename' keyword where
3312 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
3314 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
3315 Define so library is compliant.
3317 2001-02-15 Anthony Green <green@redhat.com>
3319 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
3321 * aclocal.m4: Regenerate.
3322 * configure: Regenerate.
3324 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
3326 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
3327 Include ieeefp.h for fpclass on UnixWare{2,7}.
3328 * aclocal.m4: Regenerate.
3329 * configure: Regenerate.
3330 * mkcheck.in (size_command): Do without GNU-grep when using
3333 2001-02-15 Mark Mitchell <mark@codesourcery.com>
3335 Remove old ABI support from libsupc++.
3336 * libsupc++/cxxabi.h: Remove conditionally compiled code.
3337 * libsupc++/exception_support.cc: Likewise.
3338 * libsupc++/pure.cc: Likewise.
3339 * libsupc++/tinfo.cc: Likewise.
3340 * libsupc++/tinfo.h: Likewise.
3341 * libsupc++/tinfo2.cc: Likewise.
3342 * libsupc++/typeinfo: Likewise.
3343 * libsupc++/vec.cc: Likewise.
3345 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
3347 Add support for -fno-exceptions.
3348 * include/bits/exception_support.h: Remove.
3349 * include/bits/basic_string.h: Remove exception_support.
3350 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
3352 (string::substr): Same.
3353 * include/bits/basic_string.tcc (string::reserve): Replace
3354 __LENGTHERROR with __throw_length_error.
3355 (string::_S_create): Same.
3356 (string::resize): Same.
3357 (string::_M_replace): Same.
3358 (string::replace): Same.
3359 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
3360 (string::compare): Same.
3361 * include/bits/stl_vector.h: Remove exception_support.
3362 * src/Makefile.am (base_headers): Remove here.
3363 * src/Makefile.in: Regenerate.
3365 * include/bits/stl_range_errors.h: Remove.
3366 * include/bits/stl_deque.h: Use __throw_range_error.
3367 * include/bits/std_deque.h: Include functexcept.h.
3368 * include/bits/std_vector.h: Same.
3369 * src/Makefile.am (base_headers): Remove here.
3370 * src/Makefile.in: Regenerate.
3371 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
3372 * include/ext/bvector: Remove stl_range_errors.h
3374 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
3376 * include/bits/functexcept.h: New file.
3377 * src/functexcept.cc: New file. Definitions for function-based
3379 * src/Makefile.am (sources): Add functexcept.cc.
3380 * src/Makefile.in: Regenerate.
3382 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
3385 * include/bits/localefwd.h: Include functexcept.h.
3386 * include/bits/std_iosfwd.h: Same.
3388 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
3389 throw basic_ios::failure.
3390 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
3391 Use __throw_exception_again.
3392 (filebuf::_M_filebuf_init): Same.
3393 * include/bits/streambuf.tcc (__copy_streambufs): Same.
3394 * include/bits/ostream.tcc (ostream::operator<<): Same.
3395 * include/bits/istream.tcc (istream::operator>>): Same.
3396 * include/bits/basic_string.tcc (string::_M_mutate): Same.
3397 (string::_S_construct): Same.
3398 (string::_M_clone): Same.
3399 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
3401 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
3402 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
3403 __throw_exception_again.
3404 (locale::_Imp::_Imp(string, size_t): Same.
3405 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
3406 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
3407 (locale::locale(const char*)): Use __throw_runtime_error.
3408 (locale::classic): Use __throw_exception_again.
3409 (locale::_S_normalize_category): Use __throw_runtime_error.
3411 * src/stdexcept.cc: Remove cruft.
3413 * libsupc++/exception_defines.h: New file.
3414 * libsupc++/new_opnt.cc: Include exception_defines.h.
3415 * libsupc++/vec.cc: Same.
3416 (__cxa_vec_new2): Use __throw_exception_again.
3417 (__cxa_vec_new3): Same.
3418 (__cxa_vec_ctor): Same.
3419 (__cxa_vec_delete3): Same.
3420 (__cxa_vec_cctor): Same.
3421 (__cxa_vec_delete2): Same.
3422 (__cxa_vec_dtor): Same.
3423 * libsupc++/exception_support.cc: Include exception_defines.h. Only
3424 compile exception-handling bits if __EXCEPTIONS is defined.
3425 Remove old ABI support.
3426 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
3427 std::__throw_bad_alloc() instead of throw bad_alloc.
3428 * libsupc++/Makefile.am: Add exception_defines.h.
3429 * libsupc++/Makefile.in: Reformat.
3430 * libsupc++/*: Format.
3432 2001-02-15 Phil Edwards <pme@sources.redhat.com>
3434 * docs/html/configopts.html: Minor updates and typo fixes.
3435 * docs/html/faq/index.html: Updates of the "not really bugs" list.
3436 * docs/html/faq/index.txt: Regenerated.
3438 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
3440 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
3441 dejagnu/dg.exp. Adapt to log options used to run testcases.
3443 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3445 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
3448 2001-02-13 Dirk Mueller <dmuell@gmx.net>
3449 Phil Edwards <pme@sources.redhat.com>
3451 * include/backward/function.h: Do not use rel_ops for older
3453 * include/backward/pair.h: Likewise.
3455 2001-02-12 Mark Mitchell <mark@codesourcery.com>
3457 * src/locale.cc: Remove bogus locale::id definitions.
3459 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3461 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
3462 not _DEFINE_VALARRAY_OPERATOR which is not existent.
3464 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
3465 thinko in member initialisation.
3467 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
3469 * include/bits/std_valarray.h(valarray<>::shift): Avoid
3470 comparaison between signed and unsigned integer types.
3471 (valarray<>::cshift): Reformat.
3473 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
3475 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
3476 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
3477 * configure.in: Test for sigsetjmp.
3478 * configure, config.h.in: Rebuilt.
3480 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
3482 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
3483 lengths and strides.
3484 (__gslice_to_index): Document.
3486 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
3488 * include/bits/char_traits.h char_traits<char>::int_type: Change
3489 to `int' to match 21.1.3.1/2.
3491 * testsuite/21_strings/char_traits-int_type.C: New test.
3493 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
3495 * testsuite/Makefile.am: New file.
3497 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
3499 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
3501 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
3503 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
3505 2001-02-08 David Edelsohn <edelsohn@gnu.org>
3507 * configure.target (aix4*): Remove extra set of brackets.
3509 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
3512 * include/bits/stringfwd.h: New file.
3513 * include/bits/stl_string_fwd.h: Remove.
3514 * include/bits/localefwd.h: Remove declaration for allocator.
3515 * include/bits/std_iosfwd: Same.
3516 * include/bits/std_string.h: Include it.
3517 * include/bits/std_ios.h: Remove include.
3518 * include/bits/basic_string.h: Tweak.
3519 * libsupc++/new: Format.
3520 * src/Makefile.am (base_headers): Add stringfwd.h, remove
3522 * src/Makefile.in: Regenerate.
3523 * include/bits/std_stdexcept.h: Rewrite.
3524 * src/stdexcept.cc: Same.
3526 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
3528 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
3529 install locations too.
3530 * aclocal.m4: Regenerate.
3531 * configure.in: Remove USE_LIBDIR.
3532 * configure: Regenerate.
3533 * src/Makefile.am (toolexecdir): Simplify, use
3534 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
3535 * src/Makefile.in: Regenerate.
3536 * libsupc++/Makefile.am: Same.
3537 * libsupc++/Makefile.in: Regenerate.
3539 * src/Makefile.am: Just remove special rules for locale-inst.cc and
3540 misc-inst.cc as no longer necessary.
3542 Follow C++STYLE for naming non-static functions.
3543 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
3545 * include/bits/streambuf.tcc: Same.
3546 * include/bits/ostream.tcc: Same.
3547 * include/bits/istream.tcc: Same.
3548 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
3549 (_S_output_float): To __output_float.
3550 * include/bits/std_streambuf.h (_S_copy_streambufs): To
3552 * include/bits/locale_facets.tcc (_S_build_float_format): To
3553 __build_float_format.
3554 (_S_format): To __output_integer.
3555 (_S_fill): To __pad.
3556 * src/locale.cc: Same.
3557 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
3559 * include/bits/locale_facets.tcc (_S_group_digits): To
3561 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
3562 for collate, numpunct.
3564 2001-02-06 Phil Edwards <pme@sources.redhat.com>
3566 * docs/html/configopts.html: Fix HTML markup.
3567 * docs/html/install.html: Bring up to date.
3568 * docs/html/17_intro/C++STYLE: Add global variable conventions.
3569 * docs/html/21_strings/howto.html: More notes.
3570 * docs/html/22_locale/howto.html: Fix HTML markup.
3571 * docs/html/27_io/howto.html: More notes.
3572 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
3573 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
3575 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
3577 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
3578 to match header files.
3579 (_S_output_float): Likewise.
3580 (_S_copy_streambufs): Likewise.
3582 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
3583 Phil Edwards <pme@sources.redhat.com>
3585 * include/bits/std_istream.h (op>> signed,unsigned char): Must
3586 use reinterpret_cast, not static_cast.
3588 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
3590 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
3591 * aclocal.m4: Regenerate.
3592 * configure: Regenerate.
3594 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3596 * include/bits/locale_facets.h (class moneypunct): Fix typos.
3597 * libsupc++/pure.cc: Revert.
3599 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3601 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
3602 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
3603 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
3604 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
3605 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
3606 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
3607 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
3608 * aclocal.m4: Regenerate.
3609 * configure: Regenerate.
3611 2001-02-05 Mark Mitchell <mark@codesourcery.com>
3613 * include/bits/locale_facets.tcc: Remove `static' keyword on
3614 function definitions.
3615 * include/bits/std_streambuf.h: Likewise.
3616 * src/Makefile.am: Remove use of -fimplicit-templates.
3617 * src/Makefile.in: Regenerated.
3618 * src/locale-inst.cc: Explicitly instantiate more functions.
3619 * src/misc-inst.cc: Likewise.
3620 * src/string-inst.cc: Likewise.
3622 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3624 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
3625 macro. Consolidate all the bits to do with where includes might be
3627 * aclocal.m4: Regenerate.
3628 * configure.in: Use it.
3629 * configure: Regenerate.
3630 * src/Makefile.am (targetincludep): Use simplified rules.
3631 (targetincludep): Rename gxx_target_include_dir.
3632 (myincludep): Rename gxx_include_dir.
3633 * src/Makefile.in: Regenerate.
3634 * libsupc++/Makefile.am: Use simplified rules.
3635 * libsupc++/Makefile.in: Regenerate.
3637 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3639 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
3640 * include/c_std/bits/std_cctype.h: Same.
3641 * include/c_std/bits/std_cassert.h: Same.
3642 * include/c_std/bits/std_cstdarg.h: Same.
3643 * include/c_std/bits/std_cstddef.h: Same.
3645 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
3647 * include/c_std/bits/std_ctime.h: Same.
3648 * include/c_std/bits/std_clocale.h: Same.
3649 * include/c_std/bits/std_cmath.h: Same.
3650 * include/c_std/bits/std_csetjmp.h: Same.
3651 * include/c_std/bits/std_csignal.h: Same.
3652 * include/c_std/bits/std_cstring.h: Same.
3653 * include/c_std/bits/std_cstdlib.h: Same.
3654 * include/c_std/bits/std_cwchar.h: Same.
3656 2001-02-05 Phil Edwards <pme@sources.redhat.com>
3658 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
3660 2001-02-05 Mark Mitchell <mark@codesourcery.com>
3662 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
3663 (string::_S_construct): Likewise.
3665 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
3667 * testsuite/config/default.exp: New file.
3668 * testsuite/config: New directory.
3670 2001-02-04 Mark Mitchell <mark@codesourcery.com>
3672 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
3673 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
3674 whenever !__GXX_MERGED_TYPEINFO_NAMES.
3675 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
3677 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
3678 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3680 * Makefile.am (mkinstalldirs): Set.
3681 * src/Makefile.am (mkinstalldirs): Set.
3682 * libmath/Makefile.am (mkinstalldirs): Set.
3683 * libsup++/Makefile.am (mkinstalldirs): Set.
3684 * libio/Makefile.am (mkinstalldirs): Set.
3685 * */Makefile.in: Regenerate.
3687 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
3689 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
3690 * include/bits/localefwd.h: More initialization cleanups.
3692 2001-02-03 Jeffrey A Law <law@cygnus.com>
3694 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
3695 correctly targets with 16bit ints.
3696 (_S_ios_openmode_end): Similarly.
3697 (_S_ios_iostate_end): Similarly.
3698 (_S_ios_Seekdir_end): Similarly.
3700 2001-02-02 Phil Edwards <pme@sources.redhat.com>
3702 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
3704 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
3706 * configure.in (toplevel_srcdir, auxdir): Set.
3707 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
3708 * aclocal.m4, configure, Makefile.in: Rebuilt.
3709 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
3710 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
3711 * libsupc++-v3/Makefile.in: Rebuilt.
3712 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
3713 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
3715 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
3717 * config/c_locale_generic.cc: Remove langinfo include.
3719 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
3721 Preliminary named locales.
3722 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
3723 * aclocal.m4: Regenerate.
3724 * configure.in: Use it.
3725 * configure: Regerate.
3726 * src/Makefile.am (sources): Add c++locale.cc.
3727 (build_headers): Add c++locale.h.
3728 * src/Makefile.in: Regenerate.
3729 * config/c_locale_gnu.h: New file.
3730 * config/c_locale_gnu.cc: New file. Non-inline member functions
3731 for named locales, gnu-specific.
3732 * config/c_locale_generic.h: New file.
3733 * config/c_locale_generic.cc: New file. Non-inline member
3734 functions for named locales, generic version.
3735 * docs/html/configopts.html: Add documentation on new options.
3737 * include/bits/locale_facets.h (class _Messages): Remove.
3738 (class _Moneypunct): Remove.
3739 * src/locale-inst.cc: Remove.
3741 * include/bits/locale_facets.h (class _Collate): Remove.
3742 * src/locale-inst.cc (std): Remove.
3743 * src/locale.cc: And here.
3745 * include/bits/localefwd.h (locale::_M_coalesce): New
3746 function. Correctly put together multi-name locales.
3747 (_Impl(const _Impl&, category, size_t)): Remove.
3749 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
3751 (_M_normalize_category_names): Remove.
3752 (_M_replace_categories): Fix.
3754 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
3755 (locale::_Impl::_M_construct_ctype): Remove.
3756 (locale::_Impl::_M_construct_monetary): Remove.
3757 (locale::_Impl::_M_construct_numeric): Remove.
3758 (locale::_Impl::_M_construct_time): Remove.
3759 (locale::_Impl::_M_construct_messages): Remove.
3761 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
3762 (_Use_facet_failure_handle): Remove.
3763 * src/locale.cc: Remove definitions.
3764 * src/locale-inst.cc: And here.
3766 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
3768 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
3769 create and error-check underlying locale object.
3770 (locale::facet::_S_destroy_c_locale): Add, take care of properly
3771 tearing down underlying locale object.
3772 * include/bits/localefwd.h (locale::facet): Declare.
3773 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
3774 correctness, as glibc apparently has incorrect info in it. Test
3775 with it when it works again.....
3777 * include/bits/localefwd.h (locale::_Impl::__vec_string):
3778 Remove. Number of categories is fixed at six, so just simplify and
3779 make this an array of strings.
3780 (locale::_Impl::_M_has_name): Remove.
3781 (locale::_Impl::_M_name): Remove.
3782 (locale::_Impl::_M_category_names): Turns into...
3783 (locale::_Impl::_M_names): ...this.
3784 (locale::_Impl::_M_has_same_name()): New function.
3785 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
3786 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
3788 * src/locale.cc (locale::name()): Construct mangled name
3789 accurately reflecting combined locale categories.
3791 * src/locale.cc (locale::classic()): Don't initialize here.
3792 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
3793 __refs, bool __has_name, string __str): Do it here.
3795 * include/bits/localefwd.h: _S_categories_num to
3796 _S_num_categories. _S_facets_num to _S_num_facets.
3797 (locale::id::id()): Explicitly set _M_index to zero.
3798 * src/locale.cc: Same.
3800 * src/locale.cc: (locale::locale(const char*)): Construct named
3803 * src/locale.cc: Remove numpunct_byname ctors.
3804 * testsuite/22_locale/numpunct_byname.cc: New file.
3805 * testsuite/22_locale/numpunct.cc: New file.
3807 * include/bits/localefwd.h (class locale): Change data members to
3808 protected, from private.
3809 (_Impl::_M_get_c_locale): Add member function.
3810 (locale::facet::_M_get_global_impl()): Add member function.
3811 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
3812 a __c_locale pointer.
3813 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
3815 * testsuite/22_locale/members.cc: New file, test name and combine.
3817 * include/bits/locale_facets.h (class numpunct): Remove class
3818 _Punct and _Numpunct. Rewrite class numpunct to be correct for
3820 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
3821 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
3822 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
3823 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
3824 * testsuite/22_locale/numpunct_char_members.cc: New file.
3826 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
3828 * testsuite/README: Add more comment.
3829 * testsuite/lib/libstdc++.exp: Tweak comment.
3831 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
3833 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
3835 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
3837 * testsuite/21_strings/inserters_extractors.cc: Remove
3838 explicit reference to 'testsuite/'.
3840 2001-01-25 Richard Henderson <rth@redhat.com>
3842 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
3843 bits. Fixes Tru64 build issues.
3845 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3847 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
3848 (use ${MAKE-make}, not ${MAKE:-make}).
3849 * aclocal.m4, configure: Regenerate.
3851 2001-01-25 Mark Mitchell <mark@codesourcery.com>
3853 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
3856 * src/Makefile.am (sources): Add globals.cc.
3857 * src/Makefile.in: Regenerated.
3858 * src/globals.cc: New file.
3859 * src/ios.cc (cin): Don't define here, just declare extern.
3868 2001-01-25 Phil Edwards <pme@sources.redhat.com>
3870 * include/bits/std_iterator.h: Do not include stl_relops.h.
3871 * include/bits/std_numeric.h: Ditto.
3872 * include/bits/stl_algobase.h: Ditto.
3873 * include/bits/stl_relops.h: Add comment warning about problems.
3875 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
3877 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
3878 in testcases. Prepare for the DejaGnu based framework.
3879 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
3880 directory -- it is now mkcheck working directory.
3881 * tests_flags.in: Remove reference to $(top_srcdir). Use
3883 * Makefile.am (check, check-install): Change mkcheck invocation
3885 * Makefile.in: Regenerate.
3887 2001-01-24 Mark Mitchell <mark@codesourcery.com>
3889 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
3890 (__always_swap): Likewise.
3892 2001-01-23 Chris Demetriou <cgd@broadcom.com>
3894 * libsupc++/exception_support.cc (__terminate_func): Remove
3896 (__terminate_func_ptr): New typedef.
3897 (__terminate, __terminate_set_func): New extern function
3899 (std::terminate): Use __terminate function.
3900 (std::set_terminate): Use __terminate_set_func function.
3902 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
3904 * configure.target: Just use os_include_dir always.
3905 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
3906 Link atomicity files and ctype files here.
3907 * configure: Regenerate.
3908 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
3909 (GLIBCPP_ENABLE_ATOMICITY): Remove.
3910 * aclocal.m4: Regenerate.
3912 2001-01-23 Chris Demetriou <cgd@broadcom.com>
3914 * configure.in: Place definition of MULTISUBDIR in
3915 libsupc++/Makefile as is done for src/Makefile.
3916 * configure: Regenerate.
3918 2001-01-23 Phil Edwards <pme@sources.redhat.com>
3920 * acinclude.m4: Cosmetic changes only.
3921 * aclocal.m4: Regenerated.
3922 * configure: Regenerated.
3923 * configure.target: Update documented list of changed variables.
3924 * docs/html/install.html: Fix typo.
3925 * docs/html/20_util/howto.html: More notes on auto_ptr.
3926 * docs/html/27_io/howto.html: More notes on streabufs.
3927 * docs/html/faq/index.html: Add rel_ops problem and mention the
3928 DEC as(1) .subsection difficulty.
3929 * docs/html/faq/index.txt: Regenerated.
3931 2001-01-23 Mark Mitchell <mark@codesourcery.com>
3933 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
3934 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
3935 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
3936 its already provided in config.target.
3937 * aclocal.m4: Regenerated.
3938 * configure: Likewise.
3939 * configure.target: Set ctype_include_dir for lots of systems.
3940 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
3941 * libsupc++/Makefile.in: Regenerated.
3943 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
3945 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
3948 * testsuite/README: Add comment.
3950 2001-01-21 Phil Edwards <pme@sources.redhat.com>
3952 * docs/html/configopts.html: Update for current status. Fix HTML.
3953 * docs/html/install.html: Update for current status.
3955 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3957 * testsuite/libstdc++.tests/tests.exp: New file.
3958 * testsuite/lib/libstdc++.exp: Itou.
3959 * testsuite/README: Itou.
3961 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
3963 * tests_flags.in: Just output the bare minimum to run tests.
3964 Let's the caller do its own arrangement.
3966 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
3969 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
3971 * testsuite/17_intro: Prepare testcases for new style DejaGnu
3974 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
3976 * testsuite/libstdc++.tests, testsuite/lib: New directories.
3978 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
3980 * mkcheck.in: Construct file names that match $objdir structure.
3981 * testsuite/27_io/filebuf_members-1.txt: New file.
3982 * testsuite/27_io/ifstream_members-1.txt: New file.
3983 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
3985 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
3986 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
3988 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3990 * testsuite/27_io/istream_sentry.cc (test02): Fix.
3992 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
3995 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
3996 * src/ios.cc (ios_base::failure): Make definitions match.
3997 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
3998 (class bad_cast): Same.
3999 * libsupc++/exception (class exception): Add throw specs.
4000 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
4001 (set_unexpected): Same.
4002 (uncaught_exception): Same.
4005 * docs/html/17_intro/C++STYLE (classname): Fix.
4007 2001-01-16 Mark Mitchell <mark@codesourcery.com>
4009 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
4010 Use it do explicitly instantiate predicate<T> and value<T> for
4013 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
4015 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
4016 uninitialized thinko in last change.
4018 2001-01-16 Mark Mitchell <mark@codesourcery.com>
4020 * libsupc++/exception_support.cc (__cp_pop_exception): Change
4023 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
4025 * docs/html/17_intro/C++STYLE (classname): Add more existing
4026 and stylish patterns.
4029 * include/bits/istream.tcc (istream::sentry::sentry()): Set
4030 failbit if the state of the stream is not good.
4031 * testsuite/27_io/istream_sentry.cc (test02): Add test.
4032 * testsuite/27_io/istream_manip.cc (test01): Modify.
4035 reported by Paolo Carlini <pcarlini@unitus.it>
4036 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
4037 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
4040 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
4041 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
4042 (xsgetn): Same. Simplify.
4043 * testsuite/27_io/streambuf.cc (test04): Add testcases.
4045 reported by Larry Evans <jcampbell3@prodigy.net>
4046 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
4047 equality with eof on returned value from overflow.
4049 2001-01-14 Andreas Jaeger <aj@suse.de>
4051 * libio/libio.h: Add test for glibc 2.0.
4053 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
4055 * config/os/djgpp/bits/*: Fix dates.
4057 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
4058 _CharT* __end, _CharT __c): Remove.
4059 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
4060 * include/bits/char_traits.h: Tweak.
4062 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
4064 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
4065 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
4067 * aclocal.m4: regenerated.
4068 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
4069 * configure: regenerated.
4070 * config/os/djgpp, config/os/djgpp/bits: new directories.
4071 * config/os/djgpp/bits/ctype_base.h,
4072 config/os/djgpp/bits/ctype_inline.h,
4073 config/os/djgpp/bits/ctype_noninline.h,
4074 config/os/djgpp/bits/os_defines.h: new files.
4076 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
4078 * include/c_std/bits/std_cstdio.h: Undef printf.
4080 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
4082 * src/ios.cc: Fix typo: change cout->wcout.
4084 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
4085 * src/Makefile.in: Regenerate.
4087 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4089 * include/bits/std_complex.h: Fix a typo.
4091 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
4094 Fixes for libstdc++/1576
4095 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
4096 file, move contents into....
4097 * src/ios.cc: ...Here. Put defines for iostreams objects and
4098 initialization routines into one file to simplify DSO interaction.
4099 * include/bits/std_iostream.h: Touch.
4100 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
4101 * src/Makefile.am (sources): Remove stdstreams.cc.
4102 * src/Makefile.in: Regenerate.
4104 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4106 * tests_flags.in (check_directory): Fix typo.
4108 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4110 * include/bits/std_complex.h: Fix a typo.
4112 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
4114 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
4115 code path:) Remove magic constants and restructure to handle
4116 ctype.h bit mask layout changes more gracefully. (Make fast
4117 code path:) Use __maskrune (), if available.
4118 (is): Remove special case for digit and xdigit masks.
4120 2001-01-09 Robert Lipe <robertlipe@usa.net>
4122 * include/c_std/bits/std_ctime.h: Undefine difftime.
4124 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
4126 * src/gen-num-limits.cc (signal_adapter): New template function.
4127 (signal_handler): Use it, instead of signal.
4128 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
4129 require both tests to trap to set trap_flag.
4131 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
4133 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
4134 initialize mbstate_t member, name offset data members *off, not pos.
4135 * include/bits/fstream.tcc (filebuf::filebuf): Same.
4137 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
4139 reported by Chris G. Demetriou <cgd@sibyte.com>
4140 * configure.in: Change -linux-* to -linux*.
4141 * configure: Regenerate.
4143 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
4145 Fix 27_io/filebuf_members.cc
4146 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
4147 const string& __name, category __cat, size_t __refs): Set
4148 _M_has_name with _M_name.
4149 * include/bits/localefwd.h (locale::operator!=): Protect member
4150 function call with this->.
4151 * src/locale.cc (locale::operator==): Make fast checks first.
4152 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
4154 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
4156 * src/ios.cc (ios_base::Init::Init): Initialize here.
4157 (ios_base::sync_with_stdio): Set here.
4159 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
4161 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
4162 systems that support it, call dup() before fdopen().
4164 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
4166 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
4167 * testsuite/17_intro/header_cwctype.cc (main): New file.
4169 * src/Makefile.am (base_headers): Change.
4170 * include/bits/std_string.h: And here.
4171 * include/bits/string.tcc: Tweaks, move to...
4172 * include/bits/basic_string.tcc: ...Here.
4173 * src/string-inst.cc: Simplify, just instantiate the whole class,
4174 not member-by-member.
4176 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
4178 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
4179 * aclocal.m4: Regenerate.
4180 * configure: Regenerate.
4182 * include/bits/c++config (__GLIBCPP__): Bump version number.
4184 * ChangeLog: Start new log for year 2001
4185 * ChangeLog-2000: New file.
4187 * docs/html/configopts.html: Make sure default values are current,
4190 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
4192 * include/c_std/bits/std_cwchar.h: Same.
4193 * testsuite/17_intro/header_cwchar.cc: Same.
4194 * include/c_std/bits/std_ctime.h: Same.
4195 * testsuite/17_intro/header_ctime.cc: Same.
4196 * include/c_std/bits/std_cstdlib.h: Same.
4197 Clean up undefs, make consistent with cwchar and cmath, etc.
4198 * testsuite/17_intro/header_cstdlib.cc: Same.
4199 * include/c_std/bits/std_cstdio.h: Same here.
4200 * testsuite/17_intro/header_cstring.cc: Same.
4201 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
4202 * testsuite/17_intro/header_cstring.cc: New file. Check for
4203 size_t in namespace std.
4205 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
4206 * acconfig.h (HAVE_MBSTATE_T): Add.
4207 * config.h.in: Regenerate.
4208 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
4210 * aclocal.m4: Regenerate.
4211 * configure: Regenerate.
4212 * testsuite/17_intro/headers_c++.cc: New file.
4213 * testsuite/17_intro/headers_c.cc: Small changes.
4215 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
4217 * tests_flags.in: Fix typo in usage.
4219 * tests_flags.in: Set target specific LIBS for cygwin.