1 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
3 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
6 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
8 * include/Makefile.am: Use toplevel_srcdir to refer to src files
9 outside this component.
10 * include/Makefile.in: Regenerate.
12 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
14 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
15 * config/locale/c_locale_generic.cc: Same.
16 * config/locale/moneypunct_members_gnu.cc: New file.
17 * config/locale/moneypunct_members_generic.cc: New file.
18 * config/locale/numpunct_members_gnu.cc: New file.
19 * config/locale/numpunct_members_generic.cc: New file.
20 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
22 * aclocal.m4: Regenerate.
23 * configure: Regenerate.
24 * src/Makefile.am (sources): And here.
25 * src/Makefile.in: Regenerate.
27 Rename for consistency with rest of testsuite.
28 * testsuite/22_locale/codecvt.cc: New file.
29 * testsuite/22_locale/money_put.cc: New file.
30 * testsuite/22_locale/money_put_members_char.cc: New file.
32 2001-08-27 Phil Edwards <pme@sources.redhat.com>
35 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
36 correctly for version-specific-runtime-libs.
37 * aclocal.m4: Regenerate.
38 * configure: Regenerate.
40 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
42 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
43 define if not already provided by per-OS file.
44 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
47 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
49 * docs/html/17_intro/C++STYLE: Fix typo.
51 2001-08-24 Phil Edwards <pme@sources.redhat.com>
53 * docs/html/23_containers/howto.html: Describe implementation of
56 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
59 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
61 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
62 Phil Edwards <pme@sources.redhat.com>
65 * include/bits/stl_tree.h (insert_unique): Revert last change.
66 Values inserted at begin() must be less, not greater, than *begin()'s.
67 * testsuite/23_containers/map_insert.cc: New file.
69 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
71 * config/locale/c_locale_gnu.cc: Minor tweaks.
72 (moneypunct<wchar_t>): Implement.
73 * include/bits/locale_facets.h: Same.
74 * testsuite/22_locale/moneypunct.cc: New file.
75 * testsuite/22_locale/moneypunct_byname.cc: New file.
76 * testsuite/22_locale/moneypunct_char_members.cc: New file.
78 2001-08-23 David Edelsohn <edelsohn@gnu.org>
80 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
81 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
83 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
85 * testsuite_flags.in (build-includes): Re-add backward.
87 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
89 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
90 with _GLIBCPP_USE_WCHAR_T.
92 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
94 * testsuite/22_locale/collate_byname.cc (test01): Fix.
96 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
98 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
100 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
102 * testsuite/22_locale/operators.cc: Add test.
104 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
106 Implement std::collate.
107 * config/locale/collate_specializations_gnu.cc: Add here, implement in
109 * config/locale/collate_specializations_generic.cc: Add here, but
110 in a less sophisticated manner.
111 * include/bits/locale_facets.tcc (collate): Add generic definition.
112 * include/bits/locale_facets.h (~collate): Mark virtual.
113 (collate::_M_compare_helper): New.
114 (collate::_M_transform_helper): New.
115 * src/locale.cc: Remove unnecessary specializations.
116 * src/string-inst.cc: Tweak instantiation of ctors.
118 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
119 * aclocal.m4: Regenerate.
120 * configure: Regenerate.
121 * src/Makefile.am (sources): Add collate.cc.
122 * src/Makefile.in: Regenerate.
124 * testsuite/22_locale/collate_byname.cc: New.
125 * testsuite/22_locale/collate.cc: New file.
126 * testsuite/22_locale/collate_char_members.cc: New file.
127 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
129 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
131 * configure.target: Set LIMITSH for powerpc-*-*.
132 * config/cpu/powerpc/bits/limits.h: New file.
134 2001-08-16 Marc Espie <espie@openbsd.org>
136 * configure.in: Check for <sys/types.h>.
137 * configure: Rebuild.
138 * config.h.in: Rebuild.
139 * libmath/mathconf.h: Include <sys/types.h> prior to
140 <machine/endian.h> if available.
142 2001-08-15 Andreas Schwab <schwab@suse.de>
144 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
146 * config/cpu/m68k/bits/atomicity.h: New file.
148 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
149 Define appropriate long double limits for m68k extended floating
151 (__glibcpp_f32_digits10): Corrected, off by one.
152 (__glibcpp_f80_digits10): Likewise.
153 (__glibcpp_f128_digits10): Likewise.
154 * config/os/gnu-linux/bits/os_defines.h
155 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
157 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
159 * testsuite/18_support/numeric_limits.cc: Add more tests.
160 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
163 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
165 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
168 * config/cpu/s390/bits/atomicity.h: New.
170 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
172 * include/bits/std_limits.h: Fix thinko.
174 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
176 * include/Makefile.am: Consolidate target rules. Don't clean stamp
177 files. Tweak target build directory stamp.
178 * include/Makefile.in: Regenerate.
180 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
182 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
183 _GBLICPP_HAVE_LOGL with HAVE_LOGL
185 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
187 * configure.in (libtool_VERSION): Add.
189 (release_VERSION): This.
190 * configure: Regenerate.
191 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
193 * src/Makefile.in: Regenerate.
195 * intl/Makefile.am: Remove.
196 * intl/Makefile.in: Remove.
198 * Makefile.am (SUBDIRS): Remove intl.
199 * po/Makefile.am (DISTFILES): Add string_literals.cc
201 * po/string_literals.cc: Add.
202 * po/POTFILES.in: Fix path.
203 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
204 * aclocal.m4: Regenerate.
205 * configure.in: Remove AC_OUTPUT of intl/Makefile.
207 * include/backward/backward_warning.h: Clarify message.
209 * testsuite_flags.in (--cxxflags): Use same debug flags for
210 library and testsuite.
212 * include/Makefile.am (c_compatibility): Remove.
213 * include/Makefile.in: Regenerate.
215 2001-08-13 Mark Mitchell <mark@codesourcery.com>
217 * configure.in (LIMITS_INC_SRCDIR): New variable.
218 * configure.target (LIMITSH): New variable.
219 * porting.texi: Discuss numeric limits.
220 * config/cpu/generic/bits/limits.h: New file.
221 * config/cpu/i386/bits/limits.h: New file.
222 * include/Makefile.am: Install bits/limits.h.
223 * include/bits/c++config: Include bits/limits.h.
225 2001-08-13 H.J. Lu (hjl@gnu.org)
227 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
229 (libstdc++-v3-init ): Use it.
231 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
233 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
234 to '__adjust' to avoid shadowing in nested scope.
236 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
238 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
241 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
243 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
246 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
248 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
249 dummy default argument to the non-limit implementation.
252 * include/Makefile.am: Use relative file path in rule to allow
254 * include/Makefile.in: Rebuilt.
256 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
258 * include/bits/std_complex.h (complex<long double>::operator*=,
259 complex<long double>::operator/=): Fix thinko.
261 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
263 * include/bits/std_limits.h: New file.
264 * include/Makefile.am (bits_headers): Add std_limits.h
265 (all-local): std_limits.h is no longer built.
266 (${target_builddir}/std_limits.h): Remove.
267 * include/Makefile.in: Regenerate.
268 * src/limits.cc: New file.
269 * src/Makefile.am (sources): Add limits.cc in replacement of
271 * src/Makefile.in: Regenerate.
273 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
275 * src/gen-num-limits.cc (digits10): Fix thinko.
277 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
279 * po/Makefile.am (check-no): Add.
281 * po/Makefile.in: Regenerate.
283 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
285 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
286 * config.h.in: Regenerate.
287 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
289 * aclocal.m4: Regenerate.
290 * configure.in: Remove duplicate AM_CONFIG_HEADER.
291 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
292 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
293 * configure: Regenerate.
294 * testsuite_hooks.h.in: Move to...
295 * testsuite_hooks.h: Here, include c++config.h. Use it.
297 * Makefile.am (SUBDIRS): Move testsuite to last directory.
298 * Makefile.in: Regenerate.
299 * po/Makefile.am (stamp-po): Add.
301 2001-08-09 David Edelsohn <edelsohn@gnu.org>
303 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
304 * config/os/generic/bits/os_defines.h: Likewise.
305 * config/os/gnu-linux/bits/os_defines.h: Likewise.
306 * config/os/hpux/bits/os_defines.h: Likewise.
307 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
308 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
310 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
312 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
313 -version-info, use substituted VERSION info.
314 * src/Makefile.in: Regenerate.
316 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
318 Implement std::messages.
319 Make config a fully-nested directory.
320 * config/locale: New directory.
321 * config/c_locale_generic.cc: Move into locale subdirectory.
322 * config/c_locale_generic.h: Same.
323 * config/c_locale_gnu.cc: Same.
324 * config/c_locale_gnu.h: Same.
325 * config/c_locale_ieee_1003.1-200x.cc: Same.
326 * config/c_locale_ieee_1003.1-200x_.h: Same.
327 * config/codecvt_specializations_generic.h: Same.
328 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
329 * config/messages_members_gnu.h: Same.
330 * config/messaages_members_gnu.cc: Same.
331 * config/messages_members_generic.h: Same.
332 * config/messaages_members_generic.cc: Same.
333 * config/messages_members_ieee_1003.1-200x.h: Same.
334 * config/messaages_members_ieee_1003.1-200x.cc: Same.
335 * config/io: New directory.
336 * config/basic_file_libio.h: Move into io subdirectory.
337 * config/basic_file_libio.cc: Same.
338 * config/c_io_libio.h: Same.
339 * config/c_io_libio_codecvt.c: Same.
340 * config/basic_file_stdio.h: Same.
341 * config/basic_file_stdio.cc: Same.
342 * config/c_io_stdio.h: Same.
345 * po/POTFILES.in: New file.
346 * po/Makefile.am: New file.
347 * po/Makefile.in: New file.
348 * po/libstdc++.pot: Generic translation file.
349 * po/fr.po: Preliminary French translation.
350 * po/de.po: Preliminary German translation.
351 * intl: New directory.
352 * intl/Makefile.am: New file.
353 * intl/Makefile.in: New file.
354 * intl/string_literals.cc: New file.
355 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
356 requisite setup for gettext. Re-arrange.
357 * aclocal.m4: Regenerate.
358 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
359 Output Makefile bits for po and intl.
360 * configure: Regenerate.
361 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
362 * Makefile.in: Regenerate.
363 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
364 * config.h.in: Regenerate.
366 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
368 * include/Makefile.am (install-data-local): Don't install Makefile.
369 * include/Makefile.in: Regenerate.
371 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
373 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
374 * config/locale/c_locale_generic.cc: Same.
375 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
377 * include/bits/codecvt.h: Excise non-standard, non-required
378 bits. This includes __enc_traits, and partial specializations of
379 codecvt for __enc_traits.
380 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
381 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
382 * config/codecvt_partials_generic.h: New file.
383 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
384 (stamp-codecvt_model): Add.
385 * include/Makefile.in: Regenerate.
386 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
387 * aclocal.m4: Regenerate.
388 * configure: Regenerate.
389 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
390 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
391 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
393 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
394 as a friend for _S_*_c_locale functions.
395 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
396 argument to default constructor so that CODESET information can be
398 * include/bits/locale_facets.h (messages_byname):
399 Re-implement. Remove specializations.
400 * src/locale.cc (messages_byname<char>): Remove specialization.
401 (messages_byname<wchar_t>): Same.
402 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
403 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
404 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
405 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
406 * config/locale/messages_members_gnu.cc: New file.
407 * config/locale/messages_members_gnu.h: New file.
408 * config/locale/messages_members_generic.cc: New file.
409 * config/locale/messages_members_generic.h: New file.
411 * docs/html/configopts.html: Add documentation for new locale
412 model, ieee_1003.1. Adjust other flags for current defaults.
413 * docs/html/22_locale/locale.html: Update.
414 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
415 * docs/html/22_locale/messages.html: New.
417 * src/Makefile.am (sources): Add messages_virtuals.cc.
418 * src/Makefile.in: Regenerate.
419 * include/Makefile.am (allstamps): Add stamp-messages_model.
420 (stamp-messages_model): Add.
421 * include/Makefile.in: Regenerate.
422 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
423 * aclocal.m4: Regenerate.
424 * configure: Regenerate.
426 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
427 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
429 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
430 build directories message catalog base directory, and export.
431 Eventually this should probably be made to deal with build and
432 install directories. For now, punt on this as the library itself
433 doesn't use message catalogs (yet).
434 * testsuite/22_locale/messages.cc: New file.
435 * testsuite/22_locale/messages_char_members.cc: New file.
436 * testsuite/22_locale/messages_byname.cc: New file.
438 2001-08-06 Phil Edwards <pme@sources.redhat.com>
440 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
441 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
442 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
443 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
444 Call GLIBCPP_CONFIGURE_TESTSUITE.
445 * aclocal.m4: Regenerate.
446 * config.h.in: Regenerate.
447 * configure: Regenerate.
449 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
452 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
453 * testsuite/debug_assert.h: Removed; contents merged into...
454 * testsuite/testsuite_hooks.h.in: ...here. New file.
455 * testsuite/17_intro/header_ciso646.cc: No longer include
456 debug_assert.h, include testsuite_hooks.h instead.
457 * testsuite/17_intro/header_fstream.cc: Likewise.
458 * testsuite/17_intro/header_iomanip.cc: Likewise.
459 * testsuite/17_intro/header_ios.cc: Likewise.
460 * testsuite/17_intro/header_iosfwd.cc: Likewise.
461 * testsuite/17_intro/header_iostream.cc: Likewise.
462 * testsuite/17_intro/header_istream.cc: Likewise.
463 * testsuite/17_intro/header_ostream.cc: Likewise.
464 * testsuite/17_intro/header_sstream.cc: Likewise.
465 * testsuite/17_intro/header_streambuf.cc: Likewise.
466 * testsuite/18_support/numeric_limits.cc: Likewise.
467 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
468 * testsuite/20_util/allocator_members.cc: Likewise.
469 * testsuite/20_util/auto_ptr.cc: Likewise.
470 * testsuite/20_util/pairs.cc: Likewise.
471 * testsuite/21_strings/append.cc: Likewise.
472 * testsuite/21_strings/capacity.cc: Likewise.
473 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
474 * testsuite/21_strings/compare.cc: Likewise.
475 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
476 call to (disabled) __set_testsuite_memlimit() wrapper.
477 * testsuite/21_strings/element_access.cc: Likewise.
478 * testsuite/21_strings/find.cc: Likewise.
479 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
480 (disabled) __set_testsuite_memlimit() wrapper.
481 * testsuite/21_strings/inserters_extractors.cc: Likewise.
482 * testsuite/21_strings/invariants.cc: Likewise.
483 * testsuite/21_strings/nonmember.cc: Likewise.
484 * testsuite/21_strings/operations.cc: Likewise.
485 * testsuite/21_strings/replace.cc: Likewise.
486 * testsuite/21_strings/rfind.cc: Likewise.
487 * testsuite/21_strings/substr.cc: Likewise.
488 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
489 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
490 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
491 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
492 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
493 * testsuite/22_locale/ctype_char_members.cc: Likewise.
494 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
495 * testsuite/22_locale/facet.cc: Likewise.
496 * testsuite/22_locale/global_templates.cc: Likewise.
497 * testsuite/22_locale/members.cc: Likewise.
498 * testsuite/22_locale/numpunct_byname.cc: Likewise.
499 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
500 * testsuite/22_locale/operators.cc: Likewise.
501 * testsuite/22_locale/static_members.cc: Likewise.
502 * testsuite/23_containers/bitset_ctor.cc: Likewise.
503 * testsuite/23_containers/bitset_members.cc: Likewise.
504 * testsuite/23_containers/bitset_shift.cc: Likewise.
505 * testsuite/23_containers/vector_capacity.cc: Likewise.
506 * testsuite/23_containers/vector_ctor.cc: Likewise.
507 * testsuite/23_containers/vector_element_access.cc: Likewise.
508 * testsuite/23_containers/vector_modifiers.cc: Likewise.
509 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
510 * testsuite/24_iterators/iterator.cc: Likewise.
511 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
512 * testsuite/25_algorithms/binary_search.cc: Likewise.
513 * testsuite/25_algorithms/copy.cc: Likewise.
514 * testsuite/25_algorithms/heap.cc: Likewise.
515 * testsuite/25_algorithms/lower_bound.cc: Likewise.
516 * testsuite/25_algorithms/min_max.cc: Likewise.
517 * testsuite/25_algorithms/partition.cc: Likewise.
518 * testsuite/25_algorithms/rotate.cc: Likewise.
519 * testsuite/25_algorithms/sort.cc: Likewise.
520 * testsuite/26_numerics/c_math.cc: Likewise.
521 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
522 * testsuite/26_numerics/complex_value.cc: Likewise.
523 * testsuite/27_io/filebuf.cc: Likewise.
524 * testsuite/27_io/filebuf_members.cc: Likewise.
525 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
526 * testsuite/27_io/fpos.cc: Likewise.
527 * testsuite/27_io/fstream_members.cc: Likewise.
528 * testsuite/27_io/ifstream_members.cc: Likewise.
529 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
530 * testsuite/27_io/ios_base_members_static.cc: Likewise.
531 * testsuite/27_io/ios_base_storage.cc: Likewise.
532 * testsuite/27_io/ios_ctor.cc: Likewise.
533 * testsuite/27_io/ios_init.cc: Likewise.
534 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
535 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
536 * testsuite/27_io/ios_members.cc: Likewise.
537 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
538 * testsuite/27_io/istream_extractor_char.cc: Likewise.
539 * testsuite/27_io/istream_extractor_other.cc: Likewise.
540 * testsuite/27_io/istream_manip.cc: Likewise.
541 * testsuite/27_io/istream_seeks.cc: Likewise.
542 * testsuite/27_io/istream_sentry.cc: Likewise.
543 * testsuite/27_io/istream_unformatted.cc: Likewise.
544 * testsuite/27_io/istringstream_members.cc: Likewise.
545 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
546 * testsuite/27_io/ofstream_members.cc: Likewise.
547 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
548 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
549 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
550 * testsuite/27_io/ostream_manip.cc: Likewise.
551 * testsuite/27_io/ostream_seeks.cc: Likewise.
552 * testsuite/27_io/ostream_unformatted.cc: Likewise.
553 * testsuite/27_io/ostringstream_members.cc: Likewise.
554 * testsuite/27_io/streambuf.cc: Likewise.
555 * testsuite/27_io/stringbuf.cc: Likewise.
556 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
557 * testsuite/27_io/stringstream.cc: Likewise.
558 * testsuite/27_io/stringstream_members.cc: Likewise.
559 * testsuite/27_io/wide_stream_objects.cc: Likewise.
561 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
563 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
565 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
567 * configure.target: Remove mips from cpu table.
568 * config/cpu/mips/bits/atomicity.h: Remove generic
569 versions. Comment sgidefs include.
571 2001-07-25 H.J. Lu <hjl@gnu.org>
573 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
576 * config/cpu/mips/bits/atomicity.h: New.
578 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
580 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
581 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
582 * aclocal.m4: Regenerate.
583 * config.h.in: Likewise.
584 * configure: Likewise.
585 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
586 (EXTRA_DIST): Remove hypot.c hypotf.c.
587 * libmath/Makefile.am: Regenerate.
588 * libmath/hypotf.c: Remove.
589 * libmath/hypot.c: Likewise.
590 * libmath/hypotl.c: Likewise.
591 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
592 _GLIBCPP_HAVE_xxx. Add long double versions.
594 2001-07-23 David Edelsohn <edelsohn@gnu.org>
596 * include/bits/limits_generic.h (int): Set digits and digits10
597 appropriately for word size.
598 (unsigned int,long,unsigned long): Likewise.
600 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
602 * include/bits/stl_algo.h : Fix typos.
603 * testsuite/25_algorithms/unique.cc: New file.
605 2001-07-19 Phil Edwards <pme@sources.redhat.com>
606 Mark Mitchell <mark@codesourcery.com>
608 Merge from cp-parser-branch.
609 * include/bits/basic_string.h: Qualify symbols with 'template'.
610 * include/bits/basic_string.tcc: Likewise.
611 * include/bits/fstream.tcc: Likewise.
612 * include/bits/istream.tcc: Likewise.
613 * include/bits/sstream.tcc: Likewise.
614 * include/bits/std_istream.h: Likewise.
615 * include/bits/stl_iterator.h: Likewise.
616 * include/bits/streambuf.tcc: Likewise.
617 * src/gen-num-limits.cc: Add 'template<>' to specializations.
618 * src/locale.cc: Likewise.
620 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
621 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
623 * src/gen-num-limits.cc (set_signals_handler): New function.
624 Factor out signals setting. Set signal handler for SIGILL.
626 2001-07-18 Phil Edwards <pme@sources.redhat.com>
628 * docs/html/27_io/howto.html: Fix typo.
629 * docs/html/faq/index.html: Minor updates for 3.0 all around.
630 * docs/html/faq/index.txt: Regenerated.
632 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
633 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
636 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
637 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
639 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
641 All occurrences of the __value_type() and __distance_type()
642 functions, which were required to support the HP STL, have been
643 removed along with all the auxiliary forwarding functions that
644 were required to support their use.
646 The __iterator_category() function was pretty much left alone
647 because there was no benefit to removing it and its use made code
648 just a little more readable.
650 Incidences of distance() with nonstandard argument list were
651 replaced by calls to the standard function (only in the files
652 affected by the removal of the other HP functions).
654 The signature of the rotate() algorithm was changed to match the
657 Headers were reformatted under C++STYLE guidelines (indentation,
658 linebreaks, typename keyword).
660 * include/bits/stl_algo.h: replaced __value_type() and
661 __distance_type() with iterator_traits, eliminated auxiliary
662 support functions required to support said function usage.
663 Changed nonstandard distance() call to standard call.
665 * include/bits/stl_algobase.h: Same.
666 * include/bits/stl_heap.h: Same.
667 * include/bits/stl_numeric.h: Same.
668 * include/bits/stl_uninitialized.h: Same.
669 * include/bits/stl_iterator_base_types.h (__value_type()):
671 (__distance_type()): Removed.
672 (value_type()): Gone.
673 (distance_type()): Done in.
674 (iterator_category()): Hasta la vista, baby.
676 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
677 Replaced with __iterator_category().
678 * include/backward/iterator.h: moved definition of value_type(),
679 distance_type(), and iterator_category() out of std:: and into
681 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
682 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
683 * testsuite/25_algorithms/rotate.cc: New testcase.
684 * testsuite/25_algorithms/copy.cc: New testcase.
685 * testsuite/25_algorithms/sort.cc: Same.
686 * testsuite/25_algorithms/heap.cc: Same.
687 * testsuite/25_algorithms/partition.cc: Same.
688 * testsuite/25_algorithms/binary_search.cc: Same.
689 * testsuite/26_numerics/sum_diff.cc: Ditto.
691 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
693 * testsuite/README: Add notes on naming test cases.
694 * testsuite/22_locale/members.cc: Mark as xfail.
695 * testsuite/22_locale/numpunct_char_members.cc: Same.
697 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
699 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
700 setting C_INCLUDE_DIR.
701 * configure.in: Revert yesterday's LN_S change.
702 * aclocal.m4: Regenerate.
703 * configure: Regenerate.
705 2001-07-15 Phil Edwards <pme@sources.redhat.com>
707 * configure.in: Temporarily force LN_S to copy instead of symlink.
708 * configure: Regenerate.
710 2001-07-13 Phil Edwards <pme@sources.redhat.com>
712 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
713 Initialize _M_string with pointer-and-size constructor, not just
714 pointer. Fix some comments.
715 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
716 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
717 (test03): Add embedded-NUL tests.
719 * mkcheck.in: When printing totals, match the order of the tests.
720 * include/bits/stringfwd.h: Use same declaration keywords.
721 * include/bits/std_iosfwd.h: Cosmetic spacing.
723 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
724 Loren J. Rittle <ljrittle@acm.org>
725 Phil Edwards <pme@sources.redhat.com>
727 * include/Makefile.am: New file encapsulating header generation rules.
728 * Makefile.am (SUBDIRS): Prepend 'include' directory.
729 * acinclude.m4: Moved/removed rules for building various headers.
730 * configure.in (AC_OUTPUT): Add include/Makefile.
731 * mkc++config: Removed.
733 * testsuite_flags.in: Changed build-includes to match new scheme.
734 * mknumeric_limits: Likewise.
735 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
736 * libmath/Makefile.am: Likewise.
737 * libsupc++/Makefile.am: Likewise.
738 * src/Makefile.am: Likewise; removed rules to build headers.
739 * libmath/mathconf.h: Changed #include'd header names to match.
740 * libmath/stubs.c: Likewise.
741 * src/gen-num-limits.cc: Likewise.
743 * configure: Regenerated.
744 * config.h.in: Regenerated.
745 * aclocal.m4: Regenerated.
746 * Makefile.in: Regenerated.
747 * include/Makefile.in: Regenerated.
748 * libio/Makefile.in: Regenerated.
749 * libmath/Makefile.in: Regenerated.
750 * libsupc++/Makefile.in: Regenerated.
751 * src/Makefile.in: Regenerated.
752 * testsuite/Makefile.in: Regenerated.
754 2001-07-11 Felix Natter <fnatter@gmx.net>
756 * docs/html/17_intro/porting-howto.xml: Initial checkin of
758 * docs/html/17_intro/porting-howto.html: check in v0.9.3
760 2001-07-11 Phil Edwards <pme@sources.redhat.com>
762 * docs/doxygen/run_doxygen: Don't keep output from previous run.
763 * docs/doxygen/user.cfg.in: Tweaks.
764 * include/bits/c++config: Documentation comments for Doxygen.
765 * include/bits/char_traits.h: Likewise.
766 * include/bits/limits_generic.h: Likewise.
767 * include/bits/std_stdexcept.h: Likewise.
768 * include/bits/stl_pair.h: Likewise.
769 * libsupc++/exception: Likewise.
770 * libsupc++/new: Likewise.
771 * libsupc++/typeinfo: Likewise.
772 * libmath/Makefile.am: Update and correct copyright.
774 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
776 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
777 * aclocal.m4: Regenerate.
780 2001-07-09 Phil Edwards <pme@sources.redhat.com>
782 * docs/html/configopts.html: Fix thinko.
783 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
784 * include/bits/stl_iterator.h: Fix typo.
786 2001-07-09 Phil Edwards <pme@sources.redhat.com>
788 * docs/html/explanations.html: New file.
789 * docs/html/configopts.html: Link to it to provide more notes
790 on cstdio. Minor markup and spacing fixes.
791 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
793 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
795 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
796 for _Expr template template argument.
797 (_Expr::operator-): Likewise.
798 (_Expr::operator~): Likewise.
799 (_Expr::operator!): Likewise.
800 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
802 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
804 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
805 * libmath/Makefile.in: Regenerate.
806 * libmath/expf.c: Remove.
807 * libmath/atan2f.c: Likewise.
809 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
811 * configure.in: Remove NATIVE, NULL_TARGET.
812 Set CANADIAN only for Canadian crosses. Set xcompiling
813 for both Canadian crosses and host-x-host crosses.
814 * configure: Regenerated.
816 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
818 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
820 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
822 * testsuite_flags.in (--build-includes): backward, not backwards.
824 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
826 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
827 Replace destroy by _Destroy.
828 (_Rope_RopeRep::_S_free_string): Likewise.
829 (rope::c_str()): Likewise.
830 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
831 (_Slist_base::_M_erase_after): Likewise.
832 (slist::_M_create_node): Replace construct by _Construct.
833 (slist::pop_front): Replace destroy by _Destroy.
834 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
835 construct by _Construct.
836 (hashtable::_M_delete_node): Replace destroy by _Destroy.
837 * include/ext/stl_rope.h (rope::rope): Replace construct by
839 (rope::copy): Replace destroy by _Destroy.
841 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
843 * include/bits/localefwd.h: Format.
844 * include/bits/locale_facts.tcc (locale::combine): Adjust.
845 * src/locale.cc (locale::locale::(_Impl)): Don't call
847 (locale::facet::_M_remove_reference): Simplify.
848 * src/globals.cc (locale_impl_c): New. Format.
850 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
852 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
854 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
855 expansion (thanks to Alexandre Oliva).
856 * aclocal.m4: Regenerate.
857 * configure: Regenerate.
859 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
861 * src/locale.cc (locale::locale(const char*)): Make sure global
862 locales are initialized.
863 * include/bits/locale_facets.tcc (locale::combine): Refcout should
864 be zero, not one as it's return-by-value.
865 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
867 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
870 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
872 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
875 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
876 * aclocal.m4: Regenerate.
877 * configure: Regenerate.
879 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
882 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
883 staged/installed area to support -I-. Document.
884 * aclocal.m4: Regenerate.
885 * configure: Regenerate.
887 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
890 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
891 __out_bufsize. Add __in_bufsize, document it and use it.
893 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
895 * include/bits/stl_construct.h (construct): Remove.
897 (__destroy): Replaced by use of iterator_traits.
898 * include/bits/stl_deque.h: replaced HP iterator functions with
900 (construct): changed to _Construct.
901 (destroy): changed to _Destroy.
902 * include/bits/stl_tempbuf.h: Same.
903 * include/bits/stl_tree.h: Same.
904 * include/bits/stl_vector.h: Same.
905 * include/backward/iterator.h (construct): moved definition to here.
908 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
910 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
911 before replacing facet.
912 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
914 * src/localename.cc (locale::_Impl): Correct ctor initialization
915 lists. Initialize ref count with one. Simplify.
916 * src/locale.cc: Add comment.
917 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
918 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
919 * testsuite/22_locale/members.cc (test02): Fix.
921 2001-06-27 Phil Edwards <pme@sources.redhat.com>
923 * include/backward/algo.h: Add "GPL plus runtime exception" comment
924 block, this time for real.
925 * include/backward/algobase.h: Likewise.
926 * include/backward/alloc.h: Likewise.
927 * include/backward/bvector.h: Likewise.
928 * include/backward/defalloc.h: Likewise.
929 * include/backward/deque.h: Likewise.
930 * include/backward/function.h: Likewise.
931 * include/backward/hash_map.h: Likewise.
932 * include/backward/hash_set.h: Likewise.
933 * include/backward/hashtable.h: Likewise.
934 * include/backward/heap.h: Likewise.
935 * include/backward/iterator.h: Likewise.
936 * include/backward/list.h: Likewise.
937 * include/backward/map.h: Likewise.
938 * include/backward/multimap.h: Likewise.
939 * include/backward/multiset.h: Likewise.
940 * include/backward/pair.h: Likewise.
941 * include/backward/rope.h: Likewise.
942 * include/backward/set.h: Likewise.
943 * include/backward/slist.h: Likewise.
944 * include/backward/stack.h: Likewise.
945 * include/backward/strstream: Likewise.
946 * include/backward/tempbuf.h: Likewise.
947 * include/backward/tree.h: Likewise.
948 * include/backward/vector.h: Likewise.
949 * include/bits/pthread_allocimpl.h: Likewise.
950 * include/bits/std_algorithm.h: Likewise.
951 * include/bits/std_bitset.h: Likewise.
952 * include/bits/std_deque.h: Likewise.
953 * include/bits/std_functional.h: Likewise.
954 * include/bits/std_iterator.h: Likewise.
955 * include/bits/std_list.h: Likewise.
956 * include/bits/std_map.h: Likewise.
957 * include/bits/std_memory.h: Likewise.
958 * include/bits/std_numeric.h: Likewise.
959 * include/bits/std_queue.h: Likewise.
960 * include/bits/std_set.h: Likewise.
961 * include/bits/std_stack.h: Likewise.
962 * include/bits/std_utility.h: Likewise.
963 * include/bits/std_vector.h: Likewise.
964 * include/bits/stl_algo.h: Likewise.
965 * include/bits/stl_algobase.h: Likewise.
966 * include/bits/stl_alloc.h: Likewise.
967 * include/bits/stl_bvector.h: Likewise.
968 * include/bits/stl_construct.h: Likewise.
969 * include/bits/stl_deque.h: Likewise.
970 * include/bits/stl_function.h: Likewise.
971 * include/bits/stl_heap.h: Likewise.
972 * include/bits/stl_iterator.h: Likewise.
973 * include/bits/stl_iterator_base_funcs.h: Likewise.
974 * include/bits/stl_iterator_base_types.h: Likewise.
975 * include/bits/stl_list.h: Likewise.
976 * include/bits/stl_map.h: Likewise.
977 * include/bits/stl_multimap.h: Likewise.
978 * include/bits/stl_multiset.h: Likewise.
979 * include/bits/stl_numeric.h: Likewise.
980 * include/bits/stl_pair.h: Likewise.
981 * include/bits/stl_pthread_alloc.h: Likewise.
982 * include/bits/stl_queue.h: Likewise.
983 * include/bits/stl_raw_storage_iter.h: Likewise.
984 * include/bits/stl_relops.h: Likewise.
985 * include/bits/stl_set.h: Likewise.
986 * include/bits/stl_stack.h: Likewise.
987 * include/bits/stl_tempbuf.h: Likewise.
988 * include/bits/stl_threads.h: Likewise.
989 * include/bits/stl_tree.h: Likewise.
990 * include/bits/stl_uninitialized.h: Likewise.
991 * include/bits/stl_vector.h: Likewise.
992 * include/bits/type_traits.h: Likewise.
993 * include/ext/hash_map: Likewise.
994 * include/ext/hash_set: Likewise.
995 * include/ext/rope: Likewise.
996 * include/ext/ropeimpl.h: Likewise.
997 * include/ext/slist: Likewise.
998 * include/ext/stl_hash_fun.h: Likewise.
999 * include/ext/stl_hashtable.h: Likewise.
1000 * include/ext/stl_rope.h: Likewise.
1001 * src/bitset.cc: Likewise.
1002 * src/strstream.cc: Likewise.
1004 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1005 <vakatov@ncbi.nlm.nih.gov>
1008 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
1009 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
1010 * testsuite/27_io/istream_extractor_other.cc: Fix.
1012 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
1014 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
1015 * aclocal.m4: Regenerate.
1016 * configure: Regenerate.
1018 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1020 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
1021 (ostream_iterator): Same.
1022 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
1023 Change argument to const_reference.
1024 (back_insert_iterator): Same.
1026 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1028 * include/bits/sbuf_iter.h: Change to..
1029 * include/bits/streambuf_iterator.h: This.
1030 * include/bits/stl_iterator.h: Take out of here...
1031 * include/bits/stream_iterator.h: Add.
1032 * src/Makefile.am (base_headers): Add streambuf_iterator,
1034 * src/Makefile.in: Regenerate.
1035 * include/bits/std_string.h: Adjust includes.
1036 * include/bits/basic_ios.h: Same.
1037 * include/bits/locale_facets.tcc: Same.
1038 * include/bits/std_iosfwd.h: Same.
1040 * include/bits/std_iterator.h: Add istream, ostream includes.
1041 * include/bits/stl_iterator.h: Tweak.
1042 * testsuite/24_iterators/ostream_iterator.cc: Add test.
1043 * testsuite/24_iterators/istream_iterator.cc: Same.
1044 * testsuite/23_containers/multiset.cc: Add iterator include.
1046 2001-06-26 Phil Edwards <pme@sources.redhat.com>
1048 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
1049 * aclocal.m4: Regenerate.
1050 * configure: Regenerate.
1052 2001-06-26 Felix Natter <f.natter@ndh.net>
1054 * docs/html/17_intro/porting-howto.html: Fixed some errors.
1056 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1058 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
1060 (istream_iterator::operator*): Same.
1062 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1063 Alexandre Petit-Bianco <apbianco@redhat.com>
1065 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
1066 is on 41st, not 14th.
1068 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1070 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
1072 * include/bits/stl_iterator.h (istream_iterator): Inherit from
1074 (ostream_iterator): Same.
1075 * testsuite/24_iterators/istream_iterator.cc: New file.
1076 * testsuite/24_iterators/ostream_iterator.cc: New file.
1078 * include/bits/sbuf_iter.h: Remove self typedef.
1079 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
1080 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
1082 * include/bits/stl_iterator.h (reverse_iterator): Remove
1083 extraneous typedefs. Add typename.
1084 (__normal_iterator): Remove typedefs referring to self. Add typename.
1085 (reverse_bidiretional_iterator): Remove, not longer required.
1087 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1089 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
1090 dependent names with `typename'. Bring in various required
1091 iterator_traits members. Can't imagine why that used to work.
1093 2001-06-25 Phil Edwards <pme@sources.redhat.com>
1094 Kurt Garloff <garloff@suse.de>
1097 * src/cmath.cc: New [version of an old] file; instantiate
1098 __cmath_power to start with.
1099 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
1100 * Makefile.in: Regenerate.
1101 * libio/Makefile.in: Regenerate.
1102 * libmath/Makefile.in: Regenerate.
1103 * libsupc++/Makefile.in: Regenerate.
1104 * src/Makefile.in: Regenerate.
1105 * testsuite/Makefile.in: Regenerate.
1107 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1109 * libmath/stubs.c: Fix thinko.
1111 2001-06-24 David Edelsohn <dje@watson.ibm.com>
1113 * libmath/stubs.c (sqrtf): Define.
1114 (tanf): Correct typo.
1116 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
1118 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
1120 (back_insert_iterator): Same.
1121 (front_insert_iterator): Same.
1122 (insert_iterator): Same.
1124 * testsuite/20_util/raw_storage_iterator.cc: Modify.
1125 * testsuite/24_iterators/reverse_iterator.cc: New file.
1126 * testsuite/24_iterators/back_insert_iterator.cc: New file.
1127 * testsuite/24_iterators/front_insert_iterator.cc: New file.
1128 * testsuite/24_iterators/insert_iterator.cc: New file.
1130 2001-06-22 Phil Edwards <pme@sources.redhat.com>
1132 * include/*: Revert comment/license change from yesterday for all
1133 except libsupc++/unwind-cxx.h.
1134 * src/bitset.cc: Likewise.
1135 * src/strstream.cc: Likewise.
1137 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1139 * libmath/stubs.c: New file.
1143 * libmath/Makefile.am (libmath_la_SOURCES): Add.
1144 * libmath/Makefile.in. Regenerate.
1146 2001-06-21 Phil Edwards <pme@sources.redhat.com>
1148 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
1149 * include/backward/algobase.h: Likewise.
1150 * include/backward/alloc.h: Likewise.
1151 * include/backward/bvector.h: Likewise.
1152 * include/backward/defalloc.h: Likewise.
1153 * include/backward/deque.h: Likewise.
1154 * include/backward/function.h: Likewise.
1155 * include/backward/hash_map.h: Likewise.
1156 * include/backward/hash_set.h: Likewise.
1157 * include/backward/hashtable.h: Likewise.
1158 * include/backward/heap.h: Likewise.
1159 * include/backward/iterator.h: Likewise.
1160 * include/backward/list.h: Likewise.
1161 * include/backward/map.h: Likewise.
1162 * include/backward/multimap.h: Likewise.
1163 * include/backward/multiset.h: Likewise.
1164 * include/backward/pair.h: Likewise.
1165 * include/backward/rope.h: Likewise.
1166 * include/backward/set.h: Likewise.
1167 * include/backward/slist.h: Likewise.
1168 * include/backward/stack.h: Likewise.
1169 * include/backward/strstream: Likewise.
1170 * include/backward/tempbuf.h: Likewise.
1171 * include/backward/tree.h: Likewise.
1172 * include/backward/vector.h: Likewise.
1173 * include/bits/pthread_allocimpl.h: Likewise.
1174 * include/bits/std_algorithm.h: Likewise.
1175 * include/bits/std_bitset.h: Likewise.
1176 * include/bits/std_deque.h: Likewise.
1177 * include/bits/std_functional.h: Likewise.
1178 * include/bits/std_iterator.h: Likewise.
1179 * include/bits/std_list.h: Likewise.
1180 * include/bits/std_map.h: Likewise.
1181 * include/bits/std_memory.h: Likewise.
1182 * include/bits/std_numeric.h: Likewise.
1183 * include/bits/std_queue.h: Likewise.
1184 * include/bits/std_set.h: Likewise.
1185 * include/bits/std_stack.h: Likewise.
1186 * include/bits/std_utility.h: Likewise.
1187 * include/bits/std_vector.h: Likewise.
1188 * include/bits/stl_algo.h: Likewise.
1189 * include/bits/stl_algobase.h: Likewise.
1190 * include/bits/stl_alloc.h: Likewise.
1191 * include/bits/stl_bvector.h: Likewise.
1192 * include/bits/stl_construct.h: Likewise.
1193 * include/bits/stl_deque.h: Likewise.
1194 * include/bits/stl_function.h: Likewise.
1195 * include/bits/stl_heap.h: Likewise.
1196 * include/bits/stl_iterator.h: Likewise.
1197 * include/bits/stl_iterator_base_funcs.h: Likewise.
1198 * include/bits/stl_iterator_base_types.h: Likewise.
1199 * include/bits/stl_list.h: Likewise.
1200 * include/bits/stl_map.h: Likewise.
1201 * include/bits/stl_multimap.h: Likewise.
1202 * include/bits/stl_multiset.h: Likewise.
1203 * include/bits/stl_numeric.h: Likewise.
1204 * include/bits/stl_pair.h: Likewise.
1205 * include/bits/stl_pthread_alloc.h: Likewise.
1206 * include/bits/stl_queue.h: Likewise.
1207 * include/bits/stl_raw_storage_iter.h: Likewise.
1208 * include/bits/stl_relops.h: Likewise.
1209 * include/bits/stl_set.h: Likewise.
1210 * include/bits/stl_stack.h: Likewise.
1211 * include/bits/stl_tempbuf.h: Likewise.
1212 * include/bits/stl_threads.h: Likewise.
1213 * include/bits/stl_tree.h: Likewise.
1214 * include/bits/stl_uninitialized.h: Likewise.
1215 * include/bits/stl_vector.h: Likewise.
1216 * include/bits/type_traits.h: Likewise.
1217 * include/ext/hash_map: Likewise.
1218 * include/ext/hash_set: Likewise.
1219 * include/ext/rope: Likewise.
1220 * include/ext/ropeimpl.h: Likewise.
1221 * include/ext/slist: Likewise.
1222 * include/ext/stl_hash_fun.h: Likewise.
1223 * include/ext/stl_hashtable.h: Likewise.
1224 * include/ext/stl_rope.h: Likewise.
1225 * libsupc++/unwind-cxx.h: Likewise.
1226 * src/bitset.cc: Likewise.
1227 * src/strstream.cc: Likewise.
1229 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1231 * include/bits/indirect_array.h (indirect_array<>::operator=):
1232 Make copy and assignment operator public. Implement. Format.
1234 * include/bits/valarray_array.h (__valarray_copy): Add overloads
1235 for copy between index arrays. Format.
1237 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
1239 * mknumeric_limits: Add static definitions, format.
1240 * testsuite/18_support/numeric_limits.cc (test02): Add test.
1242 * include/c_std/bits/std_cwchar.h: Include ctime.
1243 * testsuite/17_intro/header_cwchar.cc : Check.
1245 * include/c_std/bits/std_cwctype.h: Inject wctype.
1246 * testsuite/17_intro/header_cwctype.cc: Update.
1248 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
1250 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
1251 * testsuite/20_util/raw_storage_iterator.cc: Same.
1253 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
1255 (__mem_interface): New typedef for switching between malloc and new.
1256 * testsuite/20_util/allocator_members.cc: New file.
1258 * testsuite/20_util/comparisons.cc: New file.
1259 * testsuite/20_util/pairs.cc: New file.
1261 2001-06-15 Phil Edwards <pme@sources.redhat.com>
1263 * docs/html/documentation.html: Point to new doxygen'ed collection.
1265 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
1267 * configure.in (auxdir): Replace by ...
1268 (toprel): ... new variable.
1269 (toplevel_srcdir): Construct from $toprel.
1270 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
1271 rather than .. to locate gcc source directory.
1272 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
1273 * aclocal.m4, configure: Rebuilt.
1275 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
1277 (Approved by Mark and Benjamin. Applied by Loren.)
1279 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
1280 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
1281 and _GLIBCPP_mutex_address.
1282 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
1283 once-only runtime initialization of _M_lock mutex when
1284 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
1285 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
1286 for __GTHREAD_MUTEX_INIT_FUNCTION case.
1288 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1290 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
1292 * include/bits/slice_array.h (slice_array<>::operator=): Make
1293 public and implement.
1294 (slice_array<>::slice_array): Make copy-constructor public.
1296 * include/bits/valarray_array.h (__valarray_copy): Add another
1297 overload to copy between strided arrays.
1299 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
1301 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
1302 * aclocal.m4: Regenerate.
1303 * configure: Regenerate.
1304 * include/bits/c++config (__GLIBCPP__): Update date.
1306 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
1308 * include/bits/fpos.h (fpos::operator-): Don't return reference,
1309 return original, non-modified version.
1310 (fpos::operator+): Same.
1311 * testsuite/27_io/fpos.cc: Add test.
1313 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
1316 * porting.texi: Add documentation about libstdc++-v3-specific
1317 macros that are currently included in os_defines.h files.
1319 * config/basic_file_stdio.h (sys_getc): New method.
1320 (sys_ungetc): New method.
1321 * include/bits/basic_file.h: (sys_getc): New method signature.
1322 (sys_ungetc): New method signature.
1324 * include/bits/fstream.tcc (underflow): Add conditional code
1325 paths which avoid using short seeks on streams (especially
1326 useful when the stream might be interactive or a pipe). At
1327 the moment, this alternate path only avoids seeking when the
1328 ``buffer size'' of underflow() is 1 since the C standard only
1329 guarantees buffer space for one ungetc (this technique could
1330 be extended since *-*-solaris* supports buffering for 4 calls
1331 to ungetc and *-*-*bsd* supports buffering limited only by
1332 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
1333 in a port's os_defines.h file for this alternate path to even
1334 be considered. As a bonus, the idiom of using getc/ungetc
1335 requires no system calls whereas fseek maps to one or two
1336 system call(s) on many platforms.
1338 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
1340 * config/os/solaris/solaris2.5/bits/os_defines.h
1341 (_GLIBCPP_AVOID_FSEEK): Likewise.
1342 * config/os/solaris/solaris2.6/bits/os_defines.h
1343 (_GLIBCPP_AVOID_FSEEK): Likewise.
1344 * config/os/solaris/solaris2.7/bits/os_defines.h
1345 (_GLIBCPP_AVOID_FSEEK): Likewise.
1347 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
1349 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
1350 AC_TRY_COMPILE, so that the built compiler is checked, and
1351 bootstraps or cross compiles with an older compile still work.
1352 * aclocal.m4: Regenerate.
1353 * configure: Regenerate.
1355 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
1358 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
1361 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
1364 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
1367 * include/bits/limits_generic.h: Fix as per DR 184.
1369 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
1372 * include/bits/basic_string.h (string::compare): Adjust signatures
1374 * include/bits/basic_string.tcc: And here.
1377 * config/c_io_stdio.h: Remove whitespace.
1378 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
1379 (test02): Add regression.
1380 * testsuite/27_io/istream_seeks-3.tst: New file.
1382 2001-06-11 Phil Edwards <pme@sources.redhat.com>
1384 * README: Update to reflect reality.
1385 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
1386 * configure.in: Make certain target_alias is set and subst'd for 2.50.
1387 * aclocal.m4: Regenerate.
1388 * configure: Regenerate (with 2.13).
1390 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
1393 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
1395 * include/bits/istream.tcc (istream::seekg): Same.
1396 * testsuite/27_io/istream_seeks.cc: Fix.
1399 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
1401 * include/bits/std_queue.h: Add c++config.h.
1402 * testsuite/20_util/binders.cc: New test.
1404 2001-06-11 Matthias Klose <doko@debian.org>
1405 Phil Edwards <pme@sources.redhat.com>
1407 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
1408 (main script): Echo more information.
1410 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
1412 * include/c_std/bits/std_cwchar.h: Alphabetize.
1413 * include/bits/char_traits.h: Tweak.
1414 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
1415 everything used by std_cwchar.h.
1416 * aclocal.m4: Regenerate.
1417 * configure.in: Regenerate.
1418 * config.h.in: Regenerate.
1420 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
1422 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
1423 Add checking for strtof, _Exit in stdlib.h
1424 * aclocal.m4: Regenerate.
1425 * configure.in: Regenerate.
1426 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
1427 (snprintf): Put C99 functions into __gnu_cxx namespace.
1432 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
1433 for C99 functions within _GLIBCPP_USE_C99 guard.
1437 * include/bits/locale_facets.tcc: Check if C99 is enabled.
1438 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
1440 * include/c_std/bits/cmath.tcc: Formatting tweak.
1441 * include/c_std/bits/std_cmath.h: Same.
1443 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
1445 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
1447 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
1448 Stephen L Moshier <moshier@mediaone.net>
1450 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
1451 nothing, as in autoconf 2.50.
1452 * configure: Rebuilt.
1454 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
1456 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
1457 include std_cstddef.
1458 * include/c_std/bits/std_ctime.h: Same.
1459 * include/c_std/bits/std_cstring.h: Same.
1460 * include/c_std/bits/std_cstdlib.h: Same.
1462 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
1463 * include/c_std/bits/std_cctype.h: Remove isblank.
1465 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
1467 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
1469 * aclocal.m4: Regenerate.
1470 * configure: Regenerate.
1471 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
1472 injection, guard fgetwc, fgetws.
1473 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
1474 * include/c_std/bits/std_clocale.h: And here.
1475 * include/c_std/bits/std_cctype.h: And here.
1476 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
1478 * config/basic_file_stdio.h: Don't include unistd.h.
1479 * config/c_io_stdio.h: Don't use compatibility headers.
1480 * libsupc++/eh_terminate.cc: Qualify abort.
1481 (__terminate): And here.
1482 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
1484 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
1486 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
1488 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
1493 * include/std/*: Add copyright notice.
1494 * include/c_std/bits/*: Use using statements instead of extern "C".
1495 * include/c_std/bits/std_cmath.h: Don't overload double versions
1496 of math functions with __buitin versions, use global version to
1497 prevent ambiguities. Remove define hacks.
1498 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
1499 functions that have changed signatures and std::
1500 declarations. Remove define hacks.
1501 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
1502 __builtins in std::. Remove define hacks.
1503 * testsuite/17_intro/headers_c.cc: Add tests.
1504 * testsuite/17_intro/headers_c++.cc: Add test.
1506 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
1507 John David Anglin <dave@hiauly1.hia.nrc.ca>
1510 * libsupc++/eh_alloc.cc: Ensure that required macros are
1511 defined before including gthr.h. Ensure that we get the
1512 version of gthr.h for which we know how to provide a
1514 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
1515 code path into line with the current EH model. Use std, where
1518 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
1519 John David Anglin <dave@hiauly1.hia.nrc.ca>
1521 * config/threads-no.h: Remove file.
1522 * config/threads-posix.h: Remove file.
1524 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
1525 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
1526 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
1527 * config.h.in: Regenerate.
1529 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
1530 setup and use gthr*.h files. In particular, make gthr.h files
1531 namespace-clean in the staging area (they don't have to be for
1533 * aclocal.m4: Regenerate.
1534 * configure: Regenerate.
1536 * src/Makefile.am (build_headers): Remove bits/c++threads.h
1537 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
1538 * src/Makefile.in: Regenerate.
1540 * include/bits/c++config: Cleanup threading configuration macros.
1541 In particular, define __STL_GTHREADS macro which controls...
1542 * include/bits/stl_threads.h: ...a brand new gthr.h-based
1545 * config/c_io_stdio.h: Include staged gthr.h instead of local
1546 thread configuration file. Always use __gthread_mutex_t
1547 instead of __mutext_type (or int).
1548 * include/bits/std_fstream.h: Likewise.
1550 * docs/html/17_intro/howto.html: Remove placeholder comment in
1551 case this configuration patch didn't make it. Add advice that
1552 section only applies if configured with --enable-threads.
1553 * docs/html/23_containers/howto.html: Reword to make clear
1554 that _PTHREADS is no longer required for any port to be
1555 correctly using STL with threads. Add advice that section
1556 only applies if configured with --enable-threads.
1558 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
1560 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
1562 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
1565 * include/bits/basic_ios.tcc: Formatting tweaks.
1566 * include/bits/ios_base.h: Formatting tweaks.
1567 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
1568 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
1569 * src/globals.cc: Allocate filebufs for standard streams here.
1570 (buf_cout, buf_cin, buf_cerr): Like so.
1571 (buf_wcout, buf_wcin, buf_wcerr): And so.
1572 * testsuite/27_io/ios_init.cc: Add.
1574 2001-06-04 Brendan Kehoe <brendan@zen.org>
1575 Benjamin Kosnik <bkoz@redhat.com>
1578 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
1579 for generic ctype virtuals.
1580 * src/locale.cc: Minor tweaks, naming consistency.
1581 * testsuite/22_locale/ctype.cc: Add test.
1583 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
1584 Phil Edwards <pme@sources.redhat.com>
1586 PR libstdc++/3035 and PR libstdc++/3036
1587 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
1588 to LWG DR 181 and 265.
1590 2001-06-04 Phil Edwards <pme@sources.redhat.com>
1593 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
1594 equal_range): Add const overloads as per LWG DR 214.
1595 * include/bits/stl_set.h: Likewise.
1597 2001-06-04 Brendan Kehoe <brendan@zen.org>
1598 Phil Edwards <pme@sources.redhat.com>
1601 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
1602 comparison; all positions must be < _Nb.
1603 * testsuite/23_containers/bitset_members.cc: New file.
1605 2001-06-04 Brendan Kehoe <brendan@zen.org>
1608 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
1609 ctors to match the standard.
1611 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
1613 * include/bits/char_traits.h (move): Reverse qualification of
1615 (copy): Reverse qualification of memcpy with std::.
1617 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
1619 * include/bits/char_traits.h (move): Qualify memmove with std::.
1620 (copy): Qualify memcpy with std::.
1621 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
1624 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
1626 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
1628 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
1629 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
1630 SUN make VPATH peculiarities.
1631 * libsupc++/Makefile.in: Regenerate.
1633 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
1635 * src/Makefile.am (VPATH): Delimit with ":", not space.
1636 * src/Makefile.in: Regenerate.
1638 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
1640 * configure: Regenerate.
1642 2001-05-31 scott snyder <snyder@fnal.gov>
1645 * include/bits/istream.tcc: Include std_ostream.h.
1647 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
1650 * src/bitset.cc: Qualify size_t with std::.
1652 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
1654 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
1655 (_GLIBCPP_BUGGY_COMPLEX): Remove.
1656 * config.h.in: Regenerate.
1657 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
1658 * aclocal.m4: Regenerate.
1659 * configure.in: Don't call it.
1660 * configure: Regenerate.
1663 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
1664 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
1668 * include/bits/std_complex.h: Include sstream. Put definitions for
1669 complex inserters and extractors here, and remove them from...
1670 * src/complex_io.cc: ...here.
1671 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
1673 (basic_ios::__numget_type): Same.
1674 * include/bits/std_istream.h: Same.
1675 * include/bits/std_ostream.h: Same.
1676 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
1677 class iterator template arguments.
1678 * src/locale-inst.cc: Add explicit has_facet instantiations.
1679 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
1680 (_M_get_fnumput): Remove.
1681 (_M_get_fnumget): Remove.
1682 (basic_ios::_M_check_facet): New function.
1683 (basic_ios::_M_cache_facets): New function.
1684 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
1685 (basic_ios::imbue): Call _M_cache_facets.
1686 (basic_ios::init): Same.
1687 * include/bits/istream.tcc: Format, use _M_check_facet.
1688 * include/bits/ostream.tcc: Same.
1689 * include/bits/locale_facets.tcc (__output_float): Change
1690 signature, add _Traits.
1691 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
1694 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
1696 * include/bits/c++config (__USE_MALLOC): Do not define it.
1697 Document why not and give pointers to more information.
1699 * docs/html/23_containers/howto.html: Update documentation
1700 to reflect recent understanding of problem.
1701 * docs/html/17_intro/howto.html: Likewise.
1703 2001-05-30 Phil Edwards <pme@sources.redhat.com>
1705 * docs/doxygen/user.cfg.in: Minor addition.
1706 * docs/html/documentation.html: Reorganize. Put most-looked-at
1708 * docs/html/install.html: Update for 3.0. HTML fixups.
1709 * docs/html/17_intro/howto.html: Likewise.
1710 * docs/html/18_support/howto.html: Likewise.
1711 * docs/html/19_diagnostics/howto.html: Likewise.
1712 * docs/html/20_util/howto.html: Likewise.
1713 * docs/html/23_containers/howto.html: Likewise.
1714 * docs/html/24_iterators/howto.html: Likewise. More notes.
1715 * docs/html/25_algorithms/howto.html: Likewise.
1716 * docs/html/26_numerics/howto.html: Likewise. More notes.
1717 * docs/html/27_io/howto.html: Likewise.
1718 * docs/html/ext/howto.html: Likewise.
1719 * docs/html/faq/index.html: Likewise.
1720 * docs/html/faq/index.txt: Regenerate.
1721 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
1722 Doxygen-created documentation.
1724 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1726 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
1727 get_multilibs to find gcc.
1729 2001-05-30 Phil Edwards <pme@sources.redhat.com>
1731 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
1732 * aclocal.m4: Regenerate.
1733 * configure: Regenerate.
1735 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1737 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
1738 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
1740 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1742 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
1743 * include/c_std/bits/std_cstdlib.h: Same.
1744 * include/c_std/bits/std_cwchar.h: Same.
1746 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
1748 * docs/html/17_intro/howto.html: Update link.
1749 * docs/html/23_containers/howto.html: Likewise. Add new link.
1751 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
1753 * include/c_std/bits/std_cmath.h (sqrt): #undef.
1755 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1757 * mknumeric_limits: Stop if gen-num-limits dies.
1759 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
1762 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
1763 * aclocal.m4: Regenerate.
1766 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1767 Phil Edwards <pme@sources.redhat.com>
1768 Alexandre Oliva <aoliva@redhat.com>
1770 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
1771 in an amd-safe manner. Revert glibcpp_prefixdir.
1773 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
1775 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
1776 fabs, sin, sqrt. They are now implemented in terms of __builtin_
1779 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
1782 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
1783 * include/bits/ostream.tcc: Format to match istream.tcc.
1784 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
1786 2001-05-24 Phil Edwards <pme@sources.redhat.com>
1788 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
1790 (__cxa_free_exception): Likewise with free.
1792 2001-05-24 Mark Mitchell <mark@codesourcery.com>
1794 * include/c_std/bin/std_cstring.h: #define away all global
1795 functions we will redeclare in namespace `std'.
1796 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
1797 std::memset, instead of memset.
1798 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
1800 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
1803 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
1806 * include/bits/basic_ios.tcc: Small tweak.
1807 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
1808 ctors and dtors, and rdbuf settings.
1811 * include/bits/std_sstream.h: Same, but for stringstream classes.
1812 * testsuite/27_io/ostringstream_members.cc: New.
1813 * testsuite/27_io/stringstream_members.cc: New.
1814 * testsuite/27_io/fstream_members.cc: New.
1815 * testsuite/27_io/ifstream_members.cc: Add test.
1816 * testsuite/27_io/istringstream_members.cc: Add test.
1817 * testsuite/27_io/ofstream_members.cc: Add test.
1819 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1821 * include/bits/c++config(__NO_MATH_INLINES): Move to...
1822 * config/os/gnu-linux/bits/os_defines.h: ...here.
1824 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
1826 * include/bits/c++config (__NO_MATH_INLINES): New macro.
1827 * testsuite/26_numerics/fabs_inline.cc (main): New test.
1829 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
1832 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
1834 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
1835 (libstdc++-v3-finish): Remove.
1836 (libstdc++-v3_exit): Remove.
1838 2001-05-22 Phil Edwards <pme@sources.redhat.com>
1840 * docs/html/documentation.html: Point to doxygen output.
1842 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
1844 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
1846 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
1847 arguments to be non-null.
1848 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
1849 try allocations if allocated size is greater than zero.
1850 (filebuf::_M_filebuf_init): Change to
1851 (filebuf::_M_allocate_file): Which is what it does now.
1852 (filebuf::_M_allocate_bufers): Change to
1853 (filebuf::_M_allocate_internal_buffer): This, and create
1854 (filebuf::_M_allocate_pback_buffer): New.
1855 (filebuf::_M_destroy_internal_buffer): New.
1856 (filebuf::_M_buf_allocated): New data member.
1857 (filebuf::setbuf): Use new logic, allow use of external buffer.
1858 * testsuite/27_io/stringbuf_virtuals.cc: New file.
1859 * testsuite/27_io/filebuf_virtuals.cc: New file.
1861 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
1863 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
1865 (strchr): Same, but to __glibcpp_strchr.
1869 * include/c_std/bits/std_cwchar.h (wcschr): Same.
1875 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
1877 * testsuite/21_strings/c_strings.cc (main): Fix.
1879 2001-05-19 Phil Edwards <pme@sources.redhat.com>
1881 * acinclude.m4: Fix --help spacing, correct comments.
1882 * aclocal.m4: Regenerate.
1883 * configure: Regenerate.
1884 * mkcheck.in: Add usage comments.
1885 * docs/html/documentation.html: Point to doxygen'd tarball.
1887 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
1889 * testsuite/README: Add notes.
1891 * src/Makefile.am (libstdc++.INC): Remove.
1892 * src/Makefile.in: Regenerate.
1894 Phil Edwards <pedwards@disaster.jaj.com>
1895 * mkcheck.in: Add missing '#'.
1897 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1899 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
1900 appropriately for remote testing and testing installed files without
1903 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
1905 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
1906 amd glibcpp_prefixdir with absolute paths.
1908 * include/bits/c++config (__GLIBCPP__): Bump.
1909 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
1911 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
1913 * include/bits/std_valarray.h (valarray<>::operator[] const):
1914 Return a const reference.
1915 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
1917 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
1919 * configure.target (ATOMICITYH): Actually use AIX-specific code on
1920 earlier versions of AIX 4.*.
1922 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1924 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
1925 output_file based on the name of the testcase.
1927 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1929 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
1930 gluefile and use it if needs_status_wrapper is set.
1932 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
1934 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
1937 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
1939 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
1940 on earlier versions of AIX.
1942 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
1944 * testsuite_flags.in (query): Add backwards, ext directories.
1946 2001-05-15 Mark Mitchell <mark@codesourcery.com>
1948 * porting.texi: Correct documentation about handling
1949 _LARRGEFILE_SOURCE and its ilk.
1950 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1951 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
1953 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
1954 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
1956 2001-05-15 Zack Weinberg <zackw@stanford.edu>
1958 * testsuite/21_strings/inserters_extractors.cc,
1959 testsuite/27_io/istream_unformatted.cc,
1960 testsuite/27_io/stringstream.cc:
1961 Replace multi-line string constants with C89-style
1962 concatenated string constants.
1964 2001-05-14 Richard Henderson <rth@redhat.com>
1966 * mknumeric_limits: Build with -fno-exceptions.
1968 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
1970 Switch over to new harness.
1971 * testsuite_flags.in: Tweaks via Gaby.
1972 * testsuite/Makefile.am: Change tool to libstdc++-v3.
1973 (EXPECT): Quote directly.
1975 * configure.in: Output testsuite_flags.
1976 * acinclude.m4: Substitute src, bld, and prefix dirs.
1977 Remove glibcpp_expect, glibcpp_runtestflags.
1978 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
1979 * mkcheck.in: Port to new interface.
1981 * aclocal.m4: Regerate.
1982 * configure: Regnerate.
1983 * Makefile.in: Regnerate.
1984 * */Makefile.in: Regenerate.
1986 * tests_flags.in: Remove.
1987 * testsuite/lib/libstdc++.exp: Remove.
1988 * testsuite/libstdc++.tests/tests.exp: Remove.
1990 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
1992 * configure.target: Remove detection of AIX pthread multilib, now
1993 obtained from `gcc -v'.
1995 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
1997 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
1998 size. Add hpux case for HP size.
2000 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
2002 * testsuite_flags.in: New, simplified interface.
2003 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
2004 * testsuite/libstdc++-v3.dg: Add.
2005 * testsuite/libstdc++-v3.dg/dg.exp: Add.
2007 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
2009 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
2010 * testsuite/config/default.exp: Update bugs email address.
2012 2001-05-11 Richard Henderson <rth@redhat.com>
2014 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
2015 all pointer encoding logic.
2016 (struct lsda_header_info): Add ttype_base.
2017 (get_ttype_entry): Use it instead of a context.
2018 (check_exception_spec): Likewise.
2019 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
2020 the c++ exception header for __cxa_call_unexpected.
2021 (__cxa_call_unexpected): Use it.
2023 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
2025 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
2026 libgloss_link_flags to find crt0.o for targets that use libgloss
2028 Change LDFLAGS to LIBS.
2029 Consistently name procedures libstdc++-XXX.
2030 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
2032 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
2034 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
2039 * include/c_std/bits/std_cwchar.h (wcschr): Same.
2044 * testsuite/21_strings/c_strings.cc: Add tests.
2046 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
2049 * include/bits/std_fstream.h (basic_filebuf): Change signature.
2050 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
2051 to int_type, pass in buffer size info.
2052 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
2053 unbuffered situation.
2054 (underflow): Remove codecvt bits for the time being.
2055 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
2056 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
2057 values from iterators, clean.
2058 * src/locale.cc: Ditto.
2059 * include/bits/sbuf_iter.h: Format.
2060 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
2061 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
2062 * testsuite/27_io/filebuf.cc: Tweaks.
2063 * testsuite/27_io/filebuf_members.cc: Tweaks.
2065 2001-05-07 Mark Mitchell <mark@codesourcery.com>
2067 * config/os/solaris/solaris2.7/bits/os_defines.h
2068 (_LARGEFILE_SOURCE): Define it.
2070 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
2072 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
2073 -prefer-non-pic depending on whether libtool has shared libraries
2074 enabled or disabled.
2075 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
2076 $(LIBSUPCXX_PICFLAGS).
2077 * configure, */Makefile.in: Rebuilt.
2079 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
2081 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
2082 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
2084 * include/bits/std_sstream.h (stringbuf): Leak
2086 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
2088 2001-05-01 Tom Browder <tbrowder@home.com>
2090 * docs/html/ext/howto.html: Fix typo.
2092 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
2094 * testsuite/libstdc++.tests/tests.exp: Add comment.
2096 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
2098 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
2100 2001-04-30 Mark Mitchell <mark@codesourcery.com>
2102 * porting.texi: Use the GFDL.
2104 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
2107 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
2108 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
2111 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
2114 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
2116 2001-04-28 Phil Edwards <pme@sources.redhat.com>
2118 * docs/doxygen/run_doxygen: Minor tweaks.
2119 * docs/doxygen/style.css: New file.
2120 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
2121 latest parameters available. Use style.css.
2123 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
2125 * docs/doxygen/mainpage.doxy: New.
2126 * docs/doxygen/user.cfg.in: Change default configuration. Single
2127 frame, other tweaks.
2129 2001-04-26 Mark Mitchell <mark@codesourcery.com>
2131 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
2132 Indicate obsolete nature of thelist for G++ 3.0.
2134 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
2136 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
2137 target_thread_file with `gcc -v'.
2138 * aclocal.m4, configure: Rebuilt.
2140 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
2142 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
2143 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
2144 * include/c_std/bits/std_cwchar.h (std): Same.
2145 * acconfig.h (std): Remove c99 injection into std.
2146 * config.h.in: Regenerate.
2148 * testsuite/README: Fix typo.
2150 * include/bits/codecvt.h: Remove warnings.
2152 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2154 * include/ext/slist: Include required header files.
2156 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
2158 * include/c_std/bits/std_cerrno.h (errno): Define macro from
2159 identifier declared with external linkage, if needed.
2160 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
2161 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
2163 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
2165 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
2166 re-configures find the build compiler.
2167 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
2169 * aclocal.m4: Regenerate.
2170 * configure: Regenerate.
2172 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
2174 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
2175 support is enabled correctly before long long is activated.
2176 * aclocal.m4: Regenerate.
2177 * configure: Regenerate.
2179 * include/backward/backward_warning.h: Format correctly.
2181 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
2182 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
2183 * testsuite/26_numerics/c99_macros.cc: Remove.
2185 2001-04-20 Phil Edwards <pme@sources.redhat.com>
2187 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
2188 __iterator_category.
2190 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
2192 * acconfig.h (_GLIBCPP_USE_C99): Add.
2193 * config.h.in: Regenerate.
2194 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
2196 * aclocal.m4: Regenerate.
2197 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
2198 * configure: Regenerate.
2199 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
2200 * configure: Regenerate.
2201 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
2203 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
2205 * include/c_std/bits/std_cstdlib.h: Same.
2206 * docs/html/configopts.html: Update.
2207 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
2209 (test_c99_classify): Add.
2210 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
2211 (_ISOC99_SOURCE): Remove.
2213 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
2214 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
2215 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
2216 * aclocal.m4: Regenerate.
2217 * configure: Regenerate.
2219 2001-04-19 Phil Edwards <pme@sources.redhat.com>
2221 * Makefile.am (doxygen): Assume script is missing execute perms.
2222 * Makefile.in: Regenerated.
2223 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
2225 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
2227 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
2229 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
2231 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
2232 * testsuite/23_containers/set_operators.cc: Same.
2234 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
2236 (__GLIBCPP__): Bump from value of last release.
2237 * include/bits/concept_check.h: Default to off, edit comments.
2238 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
2239 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
2240 * src/Makefile.in: Regenerate.
2242 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
2244 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
2245 Properly uglify member.
2247 2001-04-13 Phil Edwards <pme@sources.redhat.com>
2249 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
2253 2001-04-13 Phil Edwards <pme@sources.redhat.com>
2255 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
2256 * include/bits/concept_check.h: Uglify.
2257 * include/bits/stl_algo.h: Likewise.
2258 * include/bits/stl_algobase.h: Likewise.
2259 * include/bits/stl_deque.h: Likewise.
2260 * include/bits/stl_heap.h: Likewise.
2261 * include/bits/stl_iterator_base_funcs.h: Likewise.
2262 * include/bits/stl_list.h: Likewise.
2263 * include/bits/stl_map.h: Likewise.
2264 * include/bits/stl_multimap.h: Likewise.
2265 * include/bits/stl_multiset.h: Likewise.
2266 * include/bits/stl_numeric.h: Likewise.
2267 * include/bits/stl_queue.h: Likewise.
2268 * include/bits/stl_set.h: Likewise.
2269 * include/bits/stl_stack.h: Likewise.
2270 * include/bits/stl_vector.h: Likewise.
2271 * include/ext/hash_map: Likewise.
2272 * include/ext/hash_set: Likewise.
2273 * include/ext/slist: Likewise.
2275 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
2277 * testsuite/23_containers/set_operators.cc: Just try to compile.
2279 * testsuite/23_containers/map_operators.cc: Same.
2281 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
2283 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
2285 (dg-test): Revert rth's change.
2287 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
2289 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
2290 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
2292 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
2294 * testsuite/README: Add DejaGnu specific documentation.
2296 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
2298 * acinclude.m4: AC_CHECK_TOOL for expect.
2299 * aclocal.m4: Regenerate.
2300 * configure: Regenerate.
2301 * testsuite/Makefile.am (RUNTEST): Use substituted.
2304 * configure.in: Remove xcompiling substitution.
2305 * tests_flags.in (CROSS_LIB_PATH): Remove.
2306 (xcompiling): Remove.
2307 (CXX): Use substituted CXX.
2309 2001-04-11 Richard Henderson <rth@redhat.com>
2311 * testsuite/lib/libstdc++.exp: Specify path for output_file.
2313 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
2315 * include/bits/std_valarray.h(valarray<>::operator[]): Make
2318 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
2320 * testsuite/25_algorithms/equal.cc: New test.
2322 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
2324 * stl_algobase.h (std::equal): avoid use of possibly-undefined
2325 operator != (one line patch).
2327 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
2329 * include/backward/backward_warning.h: Re-enable.
2331 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
2332 Alexandre Oliva <aoliva@redhat.com>
2334 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
2336 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
2338 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
2339 * testsuite/26_numerics/c99_macros.cc: Add test.
2341 2001-04-06 Phil Edwards <pme@sources.redhat.com>
2343 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
2344 * docs/html/faq/index.txt: Regenerated.
2346 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
2348 * include/backward/backward_warning.h: Temporarily disable until
2349 g++ testsuite changes go in.
2350 * tests_flags.in (CROSS_LIB_PATH): Add.
2352 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
2354 Warn when using backward headers.
2355 * include/backward/algo.h: Include warning file.
2356 * include/backward/vector.h: Same.
2357 * include/backward/tree.h: Same.
2358 * include/backward/tempbuf.h: Same.
2359 * include/backward/strstream: Same.
2360 * include/backward/streambuf.h: Same.
2361 * include/backward/stream.h: Same.
2362 * include/backward/stack.h: Same.
2363 * include/backward/slist.h: Same.
2364 * include/backward/set.h: Same.
2365 * include/backward/rope.h:
2366 * include/backward/queue.h: Same.
2367 * include/backward/pair.h: Same.
2368 * include/backward/ostream.h: Same.
2369 * include/backward/new.h: Same.
2370 * include/backward/multiset.h: Same.
2371 * include/backward/multimap.h: Same.
2372 * include/backward/map.h: Same.
2373 * include/backward/list.h: Same.
2374 * include/backward/iterator.h: Same.
2375 * include/backward/istream.h: Same.
2376 * include/backward/iostream.h:
2377 * include/backward/iomanip.h:
2378 * include/backward/heap.h: Same.
2379 * include/backward/hashtable.h:
2380 * include/backward/hash_set.h:
2381 * include/backward/hash_map.h:
2382 * include/backward/function.h:
2383 * include/backward/fstream.h:
2384 * include/backward/deque.h:
2385 * include/backward/defalloc.h: Same.
2386 * include/backward/complex.h: Same.
2387 * include/backward/bvector.h:
2388 * include/backward/alloc.h:
2389 * include/backward/algobase.h: Same.
2391 * include/backward/backward_warning.h: New file.
2392 * src/Makefile.am (backward_headers): Add backward_warning.h
2393 * src/Makefile.in: Regenerate.
2395 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
2397 * src/Makefile.am (myinstalldirs): Make sure backward directory is
2399 (myinstallheaders): Install backward headers in backward directory.
2400 * src/Makefile.in: Regenerate.
2402 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
2404 Prepare for libstdc++-2.92.
2405 * docs/html/17_intro/RELEASE-NOTES (New): Update.
2406 * docs/html/configopts.html: Fix formatting.
2407 * README (file): Updates.
2408 * include/bits/c++config (__GLIBCPP__): Update.
2410 2001-04-05 Phil Edwards <pme@sources.redhat.com>
2412 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
2414 2001-04-04 Phil Edwards <pme@sources.redhat.com>
2416 * docs/doxygen/user.cfg.in: Extract all non-private members;
2417 reduce confusing documentation output.
2419 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
2421 * include/backward/fstream.h: Add missing semicolons.
2423 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
2425 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
2426 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
2427 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
2428 (ios_base::Init::_S_ios_create): New.
2429 (ios_base::Init::_S_ios_destroy): New.
2430 * include/bits/std_fstream.h: Change ctor args.
2431 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
2432 (ios_base::Init::~Init): Use _S_ios_destroy.
2433 (ios_base::sync_with_stdio): Use new members.
2434 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
2437 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2439 * include/backward/fstream.h: Expose streampos to global
2442 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2444 * include/bits/stl_iterator_base_types.h: Fix typo
2446 2001-04-03 Andreas Schwab <schwab@suse.de>
2448 * include/backward/fstream.h: Define filebuf and wfilebuf.
2450 2001-04-02 Phil Edwards <pme@sources.redhat.com>
2452 New concept checking implementation.
2453 * docs/html/19_diagnostics/howto.html: Document.
2454 * docs/html/17_intro/concept_check.diff: New file, for reference.
2455 * include/bits/boost_concept_check.h: New file from Boost.
2456 * include/bits/c++config: Update comments.
2458 * include/bits/concept_check.h: New file.
2459 * include/bits/concept_checks.h: Removed.
2460 * include/bits/container_concepts.h: Removed.
2461 * include/bits/sequence_concepts.h: Removed.
2462 * include/bits/stl_iterator_base.h: Removed; split into...
2463 * include/bits/stl_iterator_base_funcs.h: ...this new file...
2464 * include/bits/stl_iterator_base_types.h: ...and this new file.
2466 * include/bits/sbuf_iter.h: Update to use new implementation.
2467 * include/bits/std_iterator.h: Likewise.
2468 * include/bits/std_memory.h: Likewise.
2469 * include/bits/stl_algo.h: Likewise.
2470 * include/bits/stl_algobase.h: Likewise.
2471 * include/bits/stl_construct.h: Likewise.
2472 * include/bits/stl_deque.h: Likewise.
2473 * include/bits/stl_heap.h: Likewise.
2474 * include/bits/stl_list.h: Likewise.
2475 * include/bits/stl_map.h: Likewise.
2476 * include/bits/stl_multimap.h: Likewise.
2477 * include/bits/stl_multiset.h: Likewise.
2478 * include/bits/stl_numeric.h: Likewise.
2479 * include/bits/stl_queue.h: Likewise.
2480 * include/bits/stl_set.h: Likewise.
2481 * include/bits/stl_stack.h: Likewise.
2482 * include/bits/stl_uninitialized.h: Likewise.
2483 * include/bits/stl_vector.h: Likewise.
2484 * include/ext/hash_map: Likewise.
2485 * include/ext/hash_set: Likewise.
2486 * include/ext/slist: Likewise.
2487 * include/ext/stl_hashtable.h: Likewise.
2489 * src/Makefile.am (base_headers): Update list of headers.
2490 * Makefile.in: Regenerated.
2491 * src/Makefile.in: Regenerated.
2492 * libio/Makefile.in: Regenerated.
2493 * libmath/Makefile.in: Regenerated.
2494 * libsupc++/Makefile.in: Regenerated.
2495 * testsuite/Makefile.in: Regenerated.
2497 * docs/html/install.html: Update contact information.
2498 * docs/html/17_intro/howto.html: Ditto.
2499 * docs/html/18_support/howto.html: Ditto.
2500 * docs/html/20_util/howto.html: Ditto.
2501 * docs/html/21_strings/howto.html: Ditto.
2502 * docs/html/22_locale/howto.html: Ditto.
2503 * docs/html/23_containers/howto.html: Ditto.
2504 * docs/html/24_iterators/howto.html: Ditto.
2505 * docs/html/25_algorithms/howto.html: Ditto.
2506 * docs/html/26_numerics/howto.html: Ditto.
2507 * docs/html/27_io/howto.html: Ditto.
2508 * docs/html/faq/index.html: Ditto, plus info on new checking code.
2509 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
2510 * docs/html/faq/index.txt: Regenerated.
2512 2001-04-02 Zack Weinberg <zackw@stanford.edu>
2514 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
2515 messages with $which_library as well as $tool_flags and
2516 ${dg-extra-tool-flags}. Factor out annotation text into
2519 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
2521 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
2522 * include/c_std/bits/std_cwchar.h: Same.
2523 * testsuite/21_strings/c_strings.cc: Add.
2525 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
2527 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
2529 2001-04-01 Zack Weinberg <zackw@stanford.edu>
2531 * tests_flags.in: Use test a = b, not test a == b which is not
2534 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
2536 * configure.target: Remove duplicate aix entry.
2538 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
2540 * include/ext/stl_bvector.h: Move to...
2541 * include/bits/stl_vector.h: ...here.
2542 * include/ext/bvector: Move to...
2543 * include/backward/bvector.h: ...here.
2544 * include/bits/std_vector.h: Change stl_bvector include.
2545 * include/bits/std_queue.h: Remove bvector include.
2546 * include/ext/tree: Insert using rb_tree, move to...
2547 * include/backward/tree.h: ...here.
2548 * include/backward/hash_map.h: Include ext/hash_map.
2549 * include/backward/hash_set.h: Include ext/hash_set.
2550 * include/backward/queue.h: New file.
2551 * include/backward/stack.h: Edit.
2552 * include/backward/algo.h: Same.
2553 * include/backward/algobase.h: Same.
2554 * include/backward/alloc.h: Same.
2555 * include/backward/function.h: Same.
2556 * include/backward/iomanip.h: Same.
2557 * include/backward/istream.h: Same.
2558 * include/backward/iterator.h: Same.
2559 * include/backward/list.h: Same.
2560 * include/backward/map.h: Same.
2561 * include/backward/multimap.h: Same.
2562 * include/backward/multiset.h: Same.
2563 * include/backward/ostream.h: Same.
2564 * include/backward/pair.h: Same
2565 * include/backward/rope.h: Same.
2566 * include/backward/set.h: Same.
2567 * include/backward/stream.h: Same.
2568 * include/backward/strstream.h: Same.
2569 * include/backward/tempbuf.h: Same.
2570 * src/Makefile.am (ext_headers): Edit.
2571 * src/Makefile.in: Regenerate.
2572 * testsuite/ext/headers.cc (main): Fix.
2575 2001-03-30 Phil Edwards <pme@sources.redhat.com>
2577 * tests_flags.in (LIBS): Pass correct path for installed testing.
2579 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
2581 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
2582 * tests_flags.in (CXX): Construct here.
2583 (static_fail): Don't remove compile.out. Format with spaces.
2584 (INCLUDES): Deal with xcompiling.
2585 * configure.in (xcompiling): Substitute.
2586 * testsuite/Makefile.am: Snake libjava configury.
2587 * testsuite/Makefile.in: Regenerate.
2588 * testsuite/23_containers/map_operators.cc: Tweaks.
2589 * testsuite/23_containers/set_operators.cc: Tweaks.
2591 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2593 Enable dejagnu testing framework.
2594 * configure.in: Generate testsuite/Makefile.
2595 * configure: Regenerate.
2596 * Makefile.am (check-install): Change rule from this...
2597 (check-script-install): ...to this.
2598 (check): Change rule from this...
2599 (check-script):...to this.
2600 * Makefile.in: Regenerate.
2602 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
2604 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
2606 (LIBTOOL): Let automake take care of its definition.
2607 * libsupc++/Makefile.in: Rebuilt.
2609 2001-03-28 Richard Henderson <rth@redhat.com>
2611 IA-64 ABI Exception Handling:
2612 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
2613 * configure.in: Use it.
2614 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
2615 * libsupc++/Makefile.am (sources): Update files list.
2616 * libsupc++/Makefile.in: Regenerate.
2617 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
2618 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
2619 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
2620 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
2621 * libsupc++/exception_support.cc: Remove.
2622 * libsupc++/exception_support.h: Remove.
2623 * libsupc++/pure.cc: Use std::terminate.
2624 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
2625 (__is_pointer): Remove.
2626 * libsupc++/unwind-cxx.h: New file.
2627 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
2629 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
2631 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
2633 * src/Makefile.am (CXXLINK): Likewise.
2634 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
2636 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
2638 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
2640 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2642 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
2645 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
2647 * include/bits/basic_file.h (get_fileno): Remove.
2648 (_M_fileno): Remove.
2649 (_M_cfile_created): Add.
2650 (basic_file::basic_file(__c_file_type*, openmode): Add.
2651 (basic_file::basic_file(int, const char*, openmode): Remove.
2652 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
2653 const char*, ios_base::openmode): Don't allocate
2654 internal buffers. Turn off internal buffers.
2655 (basic_filebuf::overflow): Remove test for null buffer.
2656 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
2657 * include/bits/streambuf.cc: Tweak.
2658 * include/bits/std_ostream.h: Tweak.
2659 * config/basic_file_libio.h: Same.
2660 * config/basic_file_stdio.h: Same.
2661 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
2662 * testsuite/27_io/filebuf_members.cc: Tweaks.
2663 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
2665 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2667 * Makefile.am: New targets, doxygen and doxygen-maint.
2668 * Makefile.in: Regenerated.
2669 * docs/doxygen/run_doxygen: Finally implemented.
2670 * docs/doxygen/maint.cfg.in: New file.
2671 * docs/doxygen/user.cfg.in: New file.
2673 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2675 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
2676 * src/Makefile.am: Replace leading spaces with tabs on continuation
2678 * aclocal.m4: Regenerated.
2680 * Makefile.in: Ditto.
2681 * src/Makefile.in: Ditto.
2682 * libio/Makefile.in: Ditto.
2683 * libmath/Makefile.in: Ditto.
2684 * libsupc++/Makefile.in: Ditto.
2686 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2688 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
2689 concept-checking code and current status of same.
2690 * docs/html/ext/howto.html: Ditto.
2691 * docs/html/faq/index.html: Ditto.
2692 * docs/html/faq/index.txt: Regenerated.
2694 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2696 * include/bits/std_bitset.h: Include ostream and istream headers
2697 instead of iostream.
2699 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
2701 * include/bits/ostream.tcc: Use __builtin_alloca.
2703 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
2705 * src/misc-inst.cc (__sink_unused_warning): Move to...
2706 * src/locale-inst.cc (__sink_unused_warning): Move to...
2707 * src/stl-inst.cc: Here.
2708 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
2711 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2713 * intclude/bits/basic_file.h: Fix typos in comments.
2715 2001-03-20 Richard Henderson <rth@redhat.com>
2717 * src/gen-num-limits.cc: Instantiate for wchar_t.
2718 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
2720 2001-03-20 Jason Merrill <jason@redhat.com>
2722 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
2723 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
2724 * libsupc++/cxxabi.h: Declare it.
2726 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
2728 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
2729 signal_func with an unspecified argument list.
2731 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
2733 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
2735 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2737 * include/bits/basic_string.tcc (operator+): Fix thinko.
2739 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
2742 * include/bits/std_streambuf.h: Remove cached locale facets.
2743 (basic_streambuf::_M_buf_fctype): Remove.
2744 (basic_streambuf::~basic_streambuf): Remove here.
2745 (basic_streambuf::basic_streambuf): Same.
2746 (basic_streambuf::imbue): Same.
2747 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
2748 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
2749 (basic_filebuf::~basic_filebuf()): Remove here.
2750 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
2751 (basic_filebuf::imbue): Same.
2752 * include/bits/localefwd.h (_Count_ones): Remove.
2753 (locale::_S_num_categories): Just use 6, since this doesn't
2754 actually change, ever.
2755 * include/bits/locale_facets.tcc (has_facet): Simplify.
2757 * testsuite/27_io/filebuf.cc (test06): Add tests.
2759 2001-03-13 Steve Ellcey <sje@cup.hp.com>
2761 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
2762 match HP-UX ctype.h header file.
2764 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
2766 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
2767 duplicate definitions of __dj_ctype_*
2769 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
2771 * libsupc++/new: Remove pragma interface.
2772 * libsupc++/typeinfo: Same.
2773 * libsupc++/exception: Same.
2774 * libsupc++/new_handler.cc: Remove pragma implementation.
2775 (bad_alloc::~bad_alloc()): Add.
2776 * libsupc++/exception_support.cc: Same.
2777 (exception::~exception): Add.
2778 (bad_exception::~bad_exception): Add.
2779 * libsupc++/tinfo.cc: Same.
2780 (bad_cast::~bad_cast): Add.
2781 (bad_typeid::~bad_typeid): Add.
2783 2001-03-13 Phil Edwards <pme@sources.redhat.com>
2785 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
2787 2001-03-12 Felix Lee <flee@redhat.com>
2789 * mkcheck.in: workaround for bash 2.01 IFS bug.
2791 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
2793 Fixups for -fno-for-scope
2794 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
2795 * src/valarray-inst.cc (__gslice_to_index): Same.
2797 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
2799 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
2800 prior to trapping signal (UnixWare 7 workaround).
2802 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
2804 * include/backward/hashtable.h: Same.
2805 * include/backward/rope.h: Fix include.
2807 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
2809 * include/backward/vector.h: Include std_vector.h.
2811 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
2812 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
2815 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2817 * include/ext/stl_hashtable.h: Change type of __n to size_t
2818 * include/backward/bvector.h: Include <ext/stl_bvector.h>
2820 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2822 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
2823 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
2824 Use streamsize, not int_type.
2826 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
2828 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
2831 2001-03-08 Andreas Schwab <schwab@suse.de>
2833 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
2835 * aclocal.m4, configure: Regenerated.
2837 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
2839 * include/bits/std_iosfwd.h: Remove string forward decls here.
2840 * include/bits/stringfwd.h: Add forward decls for char_traits
2842 * config/c_io_libio.h (wstreamoff): Delete.
2843 * config/c_io_stdio.h (wstreamoff): Same.
2844 * include/bits/char_traits.h: Use streamoff not wstreamoff for
2845 char_traits<wchar_t>::off_type.
2846 Remove duplicate typedefs.
2847 * include/bits/fpos.h: Define streampos/wstreampos here.
2848 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
2851 Changeup output files.
2852 * testsuite/27_io/istream_unformatted.cc: Change output files.
2853 * testsuite/27_io/istream_seeks-1.txt: Add.
2854 * testsuite/27_io/istream_seeks-2.tst: Add.
2855 * testsuite/27_io/istream_seeks-1.tst: Add.
2856 * testsuite/27_io/istream_unformatted-2.tst: Delete.
2857 * testsuite/27_io/istream_unformatted-3.tst: Delete.
2858 * testsuite/27_io/istream_unformatted-3.txt: Delete.
2860 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
2862 Add Irix 5.2, 6.3 support.
2863 * config/os/irix/bits: Renamed to...
2864 * config/os/irix/irix6.5/bits: this.
2865 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
2866 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
2867 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
2868 * config/os/irix/irix5.2/bits/ctype_noninline.h
2869 (ctype<char>::ctype): Initialize _M_table with __ctype.
2870 * configure.target: Adjust.
2872 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
2875 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
2876 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
2878 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
2879 (*__pf)(__ios_type&)): Same.
2880 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
2881 (*__pf)(ios_base&))): Same.
2882 * testsuite/27_io/istream_extractor_other.cc: Add tests.
2883 * testsuite/27_io/istream_manip.cc (test01): Fix.
2885 2001-03-06 Nathan Myers <ncm@cantrip.org>
2886 Benjamin Kosnik <bkoz@redhat.com>
2888 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
2889 * testsuite/17_intro/header_cerrno.cc (test01): New file.
2890 * testsuite/17_intro/header_cassert.cc (test01): New file.
2891 * testsuite/17_intro/header_cstddef.cc (test01): New file.
2892 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
2893 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
2895 2001-03-05 scott snyder <snyder@fnal.gov>
2898 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
2900 * include/c_std/bits/std_cstdlib.h: ... to here.
2901 * testsuite/17_intro/header_cstdlib.cc: Add test.
2903 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
2905 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
2907 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
2909 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
2910 definition. Replace enum with static const variables.
2912 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
2913 throw specification, fix typos, use <static_cast>.
2914 (ctype<char>::scan_is): remove throw specification.
2915 (ctype<char>::scan_not): likewise.
2917 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
2918 (ctype<char>::do_toupper(char)): use <static_cast>.
2919 (ctype<char>::do_toupper(char *, const char *)): likewise.
2920 (ctype<char>::do_tolower(char)): likewise.
2921 (ctype<char>::do_tolower(char *, const char *)): likewise.
2923 2001-03-04 Phil Edwards <pme@sources.redhat.com>
2925 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
2926 * include/backward/algo.h: Use std not __STD. Remove unneeded
2927 macros and "never happens" code. Adjust to C++STYLE guidelines.
2928 * include/backward/algobase.h: Likewise.
2929 * include/backward/alloc.h: Likewise.
2930 * include/backward/bvector.h: Likewise.
2931 * include/backward/deque.h: Likewise.
2932 * include/backward/function.h: Likewise.
2933 * include/backward/hash_map.h: Likewise.
2934 * include/backward/hash_set.h: Likewise.
2935 * include/backward/hashtable.h: Likewise.
2936 * include/backward/heap.h: Likewise.
2937 * include/backward/iterator.h: Likewise.
2938 * include/backward/list.h: Likewise.
2939 * include/backward/map.h: Likewise.
2940 * include/backward/multimap.h: Likewise.
2941 * include/backward/multiset.h: Likewise.
2942 * include/backward/pair.h: Likewise.
2943 * include/backward/rope.h: Likewise.
2944 * include/backward/set.h: Likewise.
2945 * include/backward/slist.h: Likewise.
2946 * include/backward/stack.h: Likewise.
2947 * include/backward/strstream: Likewise.
2948 * include/backward/tempbuf.h: Likewise.
2949 * include/backward/tree.h: Likewise.
2950 * include/backward/vector.h: Likewise.
2951 * include/bits/basic_ios.h: Likewise.
2952 * include/bits/basic_ios.tcc: Likewise.
2953 * include/bits/basic_string.h: Likewise.
2954 * include/bits/c++config: Likewise.
2955 * include/bits/concept_checks.h: Likewise.
2956 * include/bits/fpos.h: Likewise.
2957 * include/bits/fstream.tcc: Likewise.
2958 * include/bits/functexcept.h: Likewise.
2959 * include/bits/ios_base.h: Likewise.
2960 * include/bits/istream.tcc: Likewise.
2961 * include/bits/mask_array.h: Likewise.
2962 * include/bits/ostream.tcc: Likewise.
2963 * include/bits/pthread_allocimpl.h: Likewise.
2964 * include/bits/sbuf_iter.h: Likewise.
2965 * include/bits/slice.h: Likewise.
2966 * include/bits/slice_array.h: Likewise.
2967 * include/bits/sstream.tcc: Likewise.
2968 * include/bits/std_bitset.h: Likewise.
2969 * include/bits/std_fstream.h: Likewise.
2970 * include/bits/std_iomanip.h: Likewise.
2971 * include/bits/std_ios.h: Likewise.
2972 * include/bits/std_istream.h: Likewise.
2973 * include/bits/std_iterator.h: Likewise.
2974 * include/bits/std_memory.h: Likewise.
2975 * include/bits/std_ostream.h: Likewise.
2976 * include/bits/std_sstream.h: Likewise.
2977 * include/bits/std_streambuf.h: Likewise.
2978 * include/bits/std_string.h: Likewise.
2979 * include/bits/std_valarray.h: Likewise.
2980 * include/bits/stl_algo.h: Likewise.
2981 * include/bits/stl_algobase.h: Likewise.
2982 * include/bits/stl_alloc.h: Likewise.
2983 * include/bits/stl_construct.h: Likewise.
2984 * include/bits/stl_deque.h: Likewise.
2985 * include/bits/stl_function.h: Likewise.
2986 * include/bits/stl_heap.h: Likewise.
2987 * include/bits/stl_iterator.h: Likewise.
2988 * include/bits/stl_iterator_base.h: Likewise.
2989 * include/bits/stl_list.h: Likewise.
2990 * include/bits/stl_map.h: Likewise.
2991 * include/bits/stl_multimap.h: Likewise.
2992 * include/bits/stl_multiset.h: Likewise.
2993 * include/bits/stl_numeric.h: Likewise.
2994 * include/bits/stl_pair.h: Likewise.
2995 * include/bits/stl_pthread_alloc.h: Likewise.
2996 * include/bits/stl_queue.h: Likewise.
2997 * include/bits/stl_raw_storage_iter.h: Likewise.
2998 * include/bits/stl_relops.h: Likewise.
2999 * include/bits/stl_set.h: Likewise.
3000 * include/bits/stl_stack.h: Likewise.
3001 * include/bits/stl_tempbuf.h: Likewise.
3002 * include/bits/stl_threads.h: Likewise.
3003 * include/bits/stl_tree.h: Likewise.
3004 * include/bits/stl_uninitialized.h: Likewise.
3005 * include/bits/stl_vector.h: Likewise.
3006 * include/bits/streambuf.tcc: Likewise.
3007 * include/bits/type_traits.h: Likewise.
3008 * include/bits/valarray_meta.h: Likewise.
3009 * include/ext/bvector: Likewise.
3010 * include/ext/hash_map: Likewise.
3011 * include/ext/hash_set: Likewise.
3012 * include/ext/ropeimpl.h: Likewise.
3013 * include/ext/slist: Likewise.
3014 * include/ext/stl_bvector.h: Likewise.
3015 * include/ext/stl_hash_fun.h: Likewise.
3016 * include/ext/stl_hashtable.h: Likewise.
3017 * include/ext/stl_rope.h: Likewise.
3018 * src/complex_io.cc: Likewise.
3019 * src/ios.cc: Likewise.
3020 * src/locale-inst.cc: Likewise.
3021 * src/locale.cc: Likewise.
3022 * src/localename.cc: Likewise.
3023 * src/misc-inst.cc: Likewise.
3024 * src/stdexcept.cc: Likewise.
3025 * src/stl-inst.cc: Likewise.
3026 * src/strstream.cc: Likewise.
3027 * src/valarray-inst.cc: Likewise.
3029 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
3031 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
3033 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3035 * include/bits/istream.tcc: change type of __extracted to __size_type
3037 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
3039 * src/wstring-inst.cc: New file.
3040 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
3041 (libinst_wstring_la_SOURCES): Remove.
3042 (libstdc___la_LIBADD): Remove libinst_wstring_la.
3043 (sources): Add wstring-inst.cc
3044 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
3047 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3049 * src/locale.cc: initialise __ret with zero
3050 * src/strstream.cc:cast gptr to int_type
3052 2001-03-01 Phil Edwards <pme@sources.redhat.com>
3054 * docs/html/faq/index.html: Update broken links.
3055 * docs/html/faq/index.txt: Regenerated.
3057 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
3060 * configure.target: Change irix* to irix6.5* in target_os table.
3062 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
3065 * include/bits/c++config (__GLIBCPP__): Bump number in
3066 anticipation of 2.92.
3068 * include/bits/codecvt.h: Fix typo.
3069 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
3071 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
3072 instantiations for stdio model.
3074 2001-02-28 Phil Edwards <pme@sources.redhat.com>
3076 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
3077 and GLIBCPP_CXXFLAGS as unused variables.
3078 * configure.host: Likewise.
3079 * configure.target: Likewise.
3080 * aclocal.m4: Regenerated.
3081 * configure: Regenerated.
3082 * Makefile.in: Regenerated.
3083 * libio/Makefile.in: Regenerated.
3084 * libmath/Makefile.in: Regenerated.
3085 * libsupc++/Makefile.in: Regenerated.
3086 * src/Makefile.in: Regenerated.
3088 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
3091 * include/bits/basic_file.h: Include basic_file_model.h.
3092 * config/c_io_libio.cc: Move to...
3093 * config/basic_file_libio.cc: Here.
3094 * config/basic_file_libio.h: New file.
3095 * config/c_io_stdio.cc: Move to...
3096 * config/basic_file_stdio.cc: Here.
3097 * config/basic_file_stdio.h: New file.
3098 * config/c_io_libio.h: Tweak.
3099 * config/c_io_stdio.h: Tweak.
3100 * src/Makefile.am (build_headers): Add basic_file_model.h.
3101 (sources): Add basic_file.cc, remove c++io.cc.
3102 * src/Makefile.in: Regenerate.
3103 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
3104 basic_file_model.h and basic_file.cc.
3105 * aclocal.m4: Regenerate.
3106 * configure: Regenerate.
3107 * testsuite/27_io/filebuf.cc (test05): Add regression.
3109 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
3112 * config/cpu/alpha/bits/atomicity.h: Change.
3113 * config/cpu/arm/bits/atomicit3y.h
3114 * config/cpu/generic/bits/atomicity.h
3115 * config/cpu/i386/bits/atomicity.h
3116 * config/cpu/i486/bits/atomicity.h
3117 * config/cpu/ia64/bits/atomicity.h
3118 * config/cpu/powerpc/bits/atomicity.h
3119 * config/cpu/sparc/sparc32/bits/atomicity.h
3120 * config/cpu/sparc/sparc64/bits/atomicity.h
3121 * config/os/aix/bits/atomicity.h
3122 * config/os/irix/bits/atomicity.h
3124 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
3126 * include/bits/std_stdexcept.h (runtime_error): Make string
3128 (logic_error): Same.
3129 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
3132 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
3136 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
3137 string object, not reference.
3138 (runtime_error::runtime_error): Same.
3139 * testsuite/19_diagnostics/stdexceptions.cc: New file.
3141 2001-02-26 Phil Edwards <pme@sources.redhat.com>
3143 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
3144 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
3145 diagnostics. Remove WFMT_FLAGS.
3146 * configure.in: Replace WFMT_FLAGS with diagnostics options.
3147 * libsupc++/Makefile.am: Likewise.
3148 * src/Makefile.am: Likewise.
3149 * aclocal.m4: Regenerated.
3150 * configure: Regenerated.
3151 * Makefile.in: Regenerated.
3152 * libio/Makefile.in: Regenerated.
3153 * libmath/Makefile.in: Regenerated.
3154 * libsupc++/Makefile.in: Regenerated.
3155 * src/Makefile.in: Regenerated.
3157 2001-02-26 Phil Edwards <pme@sources.redhat.com>
3159 Fixes libstdc++/2079
3160 * include/backward/iomanip.h: Expose <ios> manipulators to global
3162 * include/backward/iostream.h: Also expose std::ws.
3164 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
3166 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
3168 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
3170 * include/bits/codecvt.h: Use __builtin_alloca.
3171 * include/bits/ostream.tcc: Same.
3172 * include/bits/fstream.tcc: Same.
3174 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
3176 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
3178 2001-02-23 David Edelsohn <dje@watson.ibm.com>
3180 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
3182 2001-02-23 Phil Edwards <pme@sources.redhat.com>
3185 * include/backward/iostream.h: Expose std::flush in old headers.
3187 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3189 * mknumeric_limits: Remove special-casing on target. Use gcc
3190 instead of g++ to build gen-num-limits.cc
3192 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
3194 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
3196 * include/bits/codecvt.h: Use alloca instead of __extension__ for
3198 * include/bits/ostream.tcc: Same.
3199 * include/bits/std_ostream.h: Same.
3200 * include/bits/fstream.tcc: Same.
3201 * include/bits/locale_facets.tcc: Add typename.
3202 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
3204 2001-02-21 Phil Edwards <pme@sources.redhat.com>
3206 * tests_flags.in: Remove -n flag from call to echo.
3208 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
3210 * config/c_locale_gnu.h: Add clocale include.
3212 2001-02-20 Phil Edwards <pme@sources.redhat.com>
3214 * include/bits/stl_config.h: Remove file.
3215 * src/Makefile.am (base_headers): Remove from list.
3216 * configure: Regenerate.
3217 * Makefile.in: Ditto.
3218 * libio/Makefile.in: Ditto.
3219 * libmath/Makefile.in: Ditto.
3220 * libsupc++/Makefile.in: Ditto.
3221 * src/Makefile.in: Ditto.
3223 * include/bits/c++config: Move relevant macros to here.
3224 * include/backward/alloc.h: Include c++config.h instead.
3225 * include/backward/function.h: Ditto.
3226 * include/backward/heap.h: Ditto.
3227 * include/backward/pair.h: Ditto.
3228 * include/bits/pthread_allocimpl.h: Ditto.
3229 * include/bits/std_functional.h: Ditto.
3230 * include/bits/std_iterator.h: Ditto.
3231 * include/bits/std_numeric.h: Ditto.
3232 * include/bits/std_utility.h: Ditto.
3233 * include/bits/stl_algobase.h: Ditto.
3234 * include/bits/type_traits.h: Ditto.
3235 * src/stl-inst.cc: Ditto.
3237 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3239 * include/bits/basic_file.h: Add #pragma system_header
3240 * include/bits/basic_ios.h: Ditto.
3241 * include/bits/basic_string.h: Ditto.
3242 * include/bits/char_traits.h: Ditto.
3243 * include/bits/codecvt.h: Ditto.
3244 * include/bits/cpp_type_traits.h: Ditto.
3245 * include/bits/fpos.h: Ditto.
3246 * include/bits/gslice.h: Ditto.
3247 * include/bits/gslice_array.h: Ditto.
3248 * include/bits/indirect_array.h: Ditto.
3249 * include/bits/ios_base.h: Ditto.
3250 * include/bits/limits_generic.h: Ditto.
3251 * include/bits/locale_facets.h: Ditto.
3252 * include/bits/localefwd.h: Ditto.
3253 * include/bits/mask_array.h: Ditto.
3254 * include/bits/sbuf_iter.h: Ditto.
3255 * include/bits/sequence_concepts.h: Ditto.
3256 * include/bits/slice.h: Ditto.
3257 * include/bits/slice_array.h: Ditto.
3258 * include/bits/std_algorithm.h: Likewise.
3259 * include/bits/std_bitset.h: Likewise.
3260 * include/bits/std_complex.h: Likewise.
3261 * include/bits/std_deque.h: Likewise.
3262 * include/bits/std_fstream.h: Likewise.
3263 * include/bits/std_functional.h: Likewise.
3264 * include/bits/std_iomanip.h: Likewise.
3265 * include/bits/std_ios.h: Likewise.
3266 * include/bits/std_iosfwd.h: Likewise.
3267 * include/bits/std_iostream.h: Likewise.
3268 * include/bits/std_istream.h: Likewise.
3269 * include/bits/std_iterator.h: Likewise.
3270 * include/bits/std_list.h: Likewise.
3271 * include/bits/std_locale.h: Likewise.
3272 * include/bits/std_map.h: Likewise.
3273 * include/bits/std_memory.h: Likewise.
3274 * include/bits/std_numeric.h: Likewise.
3275 * include/bits/std_ostream.h: Likewise.
3276 * include/bits/std_queue.h: Likewise.
3277 * include/bits/std_set.h: Likewise.
3278 * include/bits/std_sstream.h: Likewise.
3279 * include/bits/std_stack.h: Likewise.
3280 * include/bits/std_stdexcept.h: Likewise.
3281 * include/bits/std_streambuf.h: Likewise.
3282 * include/bits/std_string.h: Likewise.
3283 * include/bits/std_utility.h: Likewise.
3284 * include/bits/std_valarray.h: Likewise.
3285 * include/bits/std_vector.h: Likewise.
3286 * include/bits/stringfwd.h: Likewise.
3287 * include/bits/type_traits.h: Likewise.
3288 * include/bits/valarray_array.h: Likewise.
3289 * include/bits/valarray_meta.h: Likewise.
3291 2001-02-19 Andreas Jaeger <aj@suse.de>
3293 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
3296 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
3299 * include/bits/std_ostream.h: Replaced usage of
3300 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
3301 * include/bits/char_traits.h: Removed non-standard
3302 methods that cannot be used elsewhere.
3305 * include/bits/basic_ios.h: Uncommented #include of
3309 * include/bits/codecvt.h: See next...
3310 * include/bits/fstream.tcc: See next...
3311 * include/bits/ostream.tcc: Add __extension__
3312 to variable-length arrays.
3315 * include/bits/localefwd.h: Changed int counter type to size_t.
3318 * include/bits/std_fstream.h: Added typedef for __ctype_type.
3320 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
3322 * testsuite/21_strings/char_traits.cc: Move to ...
3323 * testsuite/21_strings/char_traits_requirements.cc: ..here.
3324 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
3325 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
3327 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
3329 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
3332 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
3334 * include/bits/c++config: Revert.
3336 2001-02-15 Mark Mitchell <mark@codesourcery.com>
3338 * include/bits/istream.tcc: Use ios_base::iostate in place of
3339 iostate throughout. Insert `typename' keyword where necessary.
3340 * include/bits/ostream.tcc: Insert `typename' keyword where
3343 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
3345 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
3346 Define so library is compliant.
3348 2001-02-15 Anthony Green <green@redhat.com>
3350 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
3352 * aclocal.m4: Regenerate.
3353 * configure: Regenerate.
3355 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
3357 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
3358 Include ieeefp.h for fpclass on UnixWare{2,7}.
3359 * aclocal.m4: Regenerate.
3360 * configure: Regenerate.
3361 * mkcheck.in (size_command): Do without GNU-grep when using
3364 2001-02-15 Mark Mitchell <mark@codesourcery.com>
3366 Remove old ABI support from libsupc++.
3367 * libsupc++/cxxabi.h: Remove conditionally compiled code.
3368 * libsupc++/exception_support.cc: Likewise.
3369 * libsupc++/pure.cc: Likewise.
3370 * libsupc++/tinfo.cc: Likewise.
3371 * libsupc++/tinfo.h: Likewise.
3372 * libsupc++/tinfo2.cc: Likewise.
3373 * libsupc++/typeinfo: Likewise.
3374 * libsupc++/vec.cc: Likewise.
3376 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
3378 Add support for -fno-exceptions.
3379 * include/bits/exception_support.h: Remove.
3380 * include/bits/basic_string.h: Remove exception_support.
3381 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
3383 (string::substr): Same.
3384 * include/bits/basic_string.tcc (string::reserve): Replace
3385 __LENGTHERROR with __throw_length_error.
3386 (string::_S_create): Same.
3387 (string::resize): Same.
3388 (string::_M_replace): Same.
3389 (string::replace): Same.
3390 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
3391 (string::compare): Same.
3392 * include/bits/stl_vector.h: Remove exception_support.
3393 * src/Makefile.am (base_headers): Remove here.
3394 * src/Makefile.in: Regenerate.
3396 * include/bits/stl_range_errors.h: Remove.
3397 * include/bits/stl_deque.h: Use __throw_range_error.
3398 * include/bits/std_deque.h: Include functexcept.h.
3399 * include/bits/std_vector.h: Same.
3400 * src/Makefile.am (base_headers): Remove here.
3401 * src/Makefile.in: Regenerate.
3402 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
3403 * include/ext/bvector: Remove stl_range_errors.h
3405 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
3407 * include/bits/functexcept.h: New file.
3408 * src/functexcept.cc: New file. Definitions for function-based
3410 * src/Makefile.am (sources): Add functexcept.cc.
3411 * src/Makefile.in: Regenerate.
3413 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
3416 * include/bits/localefwd.h: Include functexcept.h.
3417 * include/bits/std_iosfwd.h: Same.
3419 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
3420 throw basic_ios::failure.
3421 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
3422 Use __throw_exception_again.
3423 (filebuf::_M_filebuf_init): Same.
3424 * include/bits/streambuf.tcc (__copy_streambufs): Same.
3425 * include/bits/ostream.tcc (ostream::operator<<): Same.
3426 * include/bits/istream.tcc (istream::operator>>): Same.
3427 * include/bits/basic_string.tcc (string::_M_mutate): Same.
3428 (string::_S_construct): Same.
3429 (string::_M_clone): Same.
3430 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
3432 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
3433 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
3434 __throw_exception_again.
3435 (locale::_Imp::_Imp(string, size_t): Same.
3436 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
3437 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
3438 (locale::locale(const char*)): Use __throw_runtime_error.
3439 (locale::classic): Use __throw_exception_again.
3440 (locale::_S_normalize_category): Use __throw_runtime_error.
3442 * src/stdexcept.cc: Remove cruft.
3444 * libsupc++/exception_defines.h: New file.
3445 * libsupc++/new_opnt.cc: Include exception_defines.h.
3446 * libsupc++/vec.cc: Same.
3447 (__cxa_vec_new2): Use __throw_exception_again.
3448 (__cxa_vec_new3): Same.
3449 (__cxa_vec_ctor): Same.
3450 (__cxa_vec_delete3): Same.
3451 (__cxa_vec_cctor): Same.
3452 (__cxa_vec_delete2): Same.
3453 (__cxa_vec_dtor): Same.
3454 * libsupc++/exception_support.cc: Include exception_defines.h. Only
3455 compile exception-handling bits if __EXCEPTIONS is defined.
3456 Remove old ABI support.
3457 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
3458 std::__throw_bad_alloc() instead of throw bad_alloc.
3459 * libsupc++/Makefile.am: Add exception_defines.h.
3460 * libsupc++/Makefile.in: Reformat.
3461 * libsupc++/*: Format.
3463 2001-02-15 Phil Edwards <pme@sources.redhat.com>
3465 * docs/html/configopts.html: Minor updates and typo fixes.
3466 * docs/html/faq/index.html: Updates of the "not really bugs" list.
3467 * docs/html/faq/index.txt: Regenerated.
3469 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
3471 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
3472 dejagnu/dg.exp. Adapt to log options used to run testcases.
3474 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3476 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
3479 2001-02-13 Dirk Mueller <dmuell@gmx.net>
3480 Phil Edwards <pme@sources.redhat.com>
3482 * include/backward/function.h: Do not use rel_ops for older
3484 * include/backward/pair.h: Likewise.
3486 2001-02-12 Mark Mitchell <mark@codesourcery.com>
3488 * src/locale.cc: Remove bogus locale::id definitions.
3490 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3492 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
3493 not _DEFINE_VALARRAY_OPERATOR which is not existent.
3495 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
3496 thinko in member initialisation.
3498 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
3500 * include/bits/std_valarray.h(valarray<>::shift): Avoid
3501 comparaison between signed and unsigned integer types.
3502 (valarray<>::cshift): Reformat.
3504 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
3506 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
3507 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
3508 * configure.in: Test for sigsetjmp.
3509 * configure, config.h.in: Rebuilt.
3511 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
3513 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
3514 lengths and strides.
3515 (__gslice_to_index): Document.
3517 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
3519 * include/bits/char_traits.h char_traits<char>::int_type: Change
3520 to `int' to match 21.1.3.1/2.
3522 * testsuite/21_strings/char_traits-int_type.C: New test.
3524 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
3526 * testsuite/Makefile.am: New file.
3528 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
3530 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
3532 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
3534 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
3536 2001-02-08 David Edelsohn <edelsohn@gnu.org>
3538 * configure.target (aix4*): Remove extra set of brackets.
3540 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
3543 * include/bits/stringfwd.h: New file.
3544 * include/bits/stl_string_fwd.h: Remove.
3545 * include/bits/localefwd.h: Remove declaration for allocator.
3546 * include/bits/std_iosfwd: Same.
3547 * include/bits/std_string.h: Include it.
3548 * include/bits/std_ios.h: Remove include.
3549 * include/bits/basic_string.h: Tweak.
3550 * libsupc++/new: Format.
3551 * src/Makefile.am (base_headers): Add stringfwd.h, remove
3553 * src/Makefile.in: Regenerate.
3554 * include/bits/std_stdexcept.h: Rewrite.
3555 * src/stdexcept.cc: Same.
3557 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
3559 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
3560 install locations too.
3561 * aclocal.m4: Regenerate.
3562 * configure.in: Remove USE_LIBDIR.
3563 * configure: Regenerate.
3564 * src/Makefile.am (toolexecdir): Simplify, use
3565 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
3566 * src/Makefile.in: Regenerate.
3567 * libsupc++/Makefile.am: Same.
3568 * libsupc++/Makefile.in: Regenerate.
3570 * src/Makefile.am: Just remove special rules for locale-inst.cc and
3571 misc-inst.cc as no longer necessary.
3573 Follow C++STYLE for naming non-static functions.
3574 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
3576 * include/bits/streambuf.tcc: Same.
3577 * include/bits/ostream.tcc: Same.
3578 * include/bits/istream.tcc: Same.
3579 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
3580 (_S_output_float): To __output_float.
3581 * include/bits/std_streambuf.h (_S_copy_streambufs): To
3583 * include/bits/locale_facets.tcc (_S_build_float_format): To
3584 __build_float_format.
3585 (_S_format): To __output_integer.
3586 (_S_fill): To __pad.
3587 * src/locale.cc: Same.
3588 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
3590 * include/bits/locale_facets.tcc (_S_group_digits): To
3592 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
3593 for collate, numpunct.
3595 2001-02-06 Phil Edwards <pme@sources.redhat.com>
3597 * docs/html/configopts.html: Fix HTML markup.
3598 * docs/html/install.html: Bring up to date.
3599 * docs/html/17_intro/C++STYLE: Add global variable conventions.
3600 * docs/html/21_strings/howto.html: More notes.
3601 * docs/html/22_locale/howto.html: Fix HTML markup.
3602 * docs/html/27_io/howto.html: More notes.
3603 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
3604 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
3606 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
3608 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
3609 to match header files.
3610 (_S_output_float): Likewise.
3611 (_S_copy_streambufs): Likewise.
3613 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
3614 Phil Edwards <pme@sources.redhat.com>
3616 * include/bits/std_istream.h (op>> signed,unsigned char): Must
3617 use reinterpret_cast, not static_cast.
3619 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
3621 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
3622 * aclocal.m4: Regenerate.
3623 * configure: Regenerate.
3625 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3627 * include/bits/locale_facets.h (class moneypunct): Fix typos.
3628 * libsupc++/pure.cc: Revert.
3630 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3632 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
3633 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
3634 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
3635 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
3636 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
3637 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
3638 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
3639 * aclocal.m4: Regenerate.
3640 * configure: Regenerate.
3642 2001-02-05 Mark Mitchell <mark@codesourcery.com>
3644 * include/bits/locale_facets.tcc: Remove `static' keyword on
3645 function definitions.
3646 * include/bits/std_streambuf.h: Likewise.
3647 * src/Makefile.am: Remove use of -fimplicit-templates.
3648 * src/Makefile.in: Regenerated.
3649 * src/locale-inst.cc: Explicitly instantiate more functions.
3650 * src/misc-inst.cc: Likewise.
3651 * src/string-inst.cc: Likewise.
3653 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3655 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
3656 macro. Consolidate all the bits to do with where includes might be
3658 * aclocal.m4: Regenerate.
3659 * configure.in: Use it.
3660 * configure: Regenerate.
3661 * src/Makefile.am (targetincludep): Use simplified rules.
3662 (targetincludep): Rename gxx_target_include_dir.
3663 (myincludep): Rename gxx_include_dir.
3664 * src/Makefile.in: Regenerate.
3665 * libsupc++/Makefile.am: Use simplified rules.
3666 * libsupc++/Makefile.in: Regenerate.
3668 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3670 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
3671 * include/c_std/bits/std_cctype.h: Same.
3672 * include/c_std/bits/std_cassert.h: Same.
3673 * include/c_std/bits/std_cstdarg.h: Same.
3674 * include/c_std/bits/std_cstddef.h: Same.
3676 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
3678 * include/c_std/bits/std_ctime.h: Same.
3679 * include/c_std/bits/std_clocale.h: Same.
3680 * include/c_std/bits/std_cmath.h: Same.
3681 * include/c_std/bits/std_csetjmp.h: Same.
3682 * include/c_std/bits/std_csignal.h: Same.
3683 * include/c_std/bits/std_cstring.h: Same.
3684 * include/c_std/bits/std_cstdlib.h: Same.
3685 * include/c_std/bits/std_cwchar.h: Same.
3687 2001-02-05 Phil Edwards <pme@sources.redhat.com>
3689 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
3691 2001-02-05 Mark Mitchell <mark@codesourcery.com>
3693 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
3694 (string::_S_construct): Likewise.
3696 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
3698 * testsuite/config/default.exp: New file.
3699 * testsuite/config: New directory.
3701 2001-02-04 Mark Mitchell <mark@codesourcery.com>
3703 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
3704 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
3705 whenever !__GXX_MERGED_TYPEINFO_NAMES.
3706 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
3708 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
3709 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3711 * Makefile.am (mkinstalldirs): Set.
3712 * src/Makefile.am (mkinstalldirs): Set.
3713 * libmath/Makefile.am (mkinstalldirs): Set.
3714 * libsup++/Makefile.am (mkinstalldirs): Set.
3715 * libio/Makefile.am (mkinstalldirs): Set.
3716 * */Makefile.in: Regenerate.
3718 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
3720 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
3721 * include/bits/localefwd.h: More initialization cleanups.
3723 2001-02-03 Jeffrey A Law <law@cygnus.com>
3725 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
3726 correctly targets with 16bit ints.
3727 (_S_ios_openmode_end): Similarly.
3728 (_S_ios_iostate_end): Similarly.
3729 (_S_ios_Seekdir_end): Similarly.
3731 2001-02-02 Phil Edwards <pme@sources.redhat.com>
3733 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
3735 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
3737 * configure.in (toplevel_srcdir, auxdir): Set.
3738 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
3739 * aclocal.m4, configure, Makefile.in: Rebuilt.
3740 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
3741 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
3742 * libsupc++-v3/Makefile.in: Rebuilt.
3743 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
3744 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
3746 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
3748 * config/c_locale_generic.cc: Remove langinfo include.
3750 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
3752 Preliminary named locales.
3753 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
3754 * aclocal.m4: Regenerate.
3755 * configure.in: Use it.
3756 * configure: Regerate.
3757 * src/Makefile.am (sources): Add c++locale.cc.
3758 (build_headers): Add c++locale.h.
3759 * src/Makefile.in: Regenerate.
3760 * config/c_locale_gnu.h: New file.
3761 * config/c_locale_gnu.cc: New file. Non-inline member functions
3762 for named locales, gnu-specific.
3763 * config/c_locale_generic.h: New file.
3764 * config/c_locale_generic.cc: New file. Non-inline member
3765 functions for named locales, generic version.
3766 * docs/html/configopts.html: Add documentation on new options.
3768 * include/bits/locale_facets.h (class _Messages): Remove.
3769 (class _Moneypunct): Remove.
3770 * src/locale-inst.cc: Remove.
3772 * include/bits/locale_facets.h (class _Collate): Remove.
3773 * src/locale-inst.cc (std): Remove.
3774 * src/locale.cc: And here.
3776 * include/bits/localefwd.h (locale::_M_coalesce): New
3777 function. Correctly put together multi-name locales.
3778 (_Impl(const _Impl&, category, size_t)): Remove.
3780 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
3782 (_M_normalize_category_names): Remove.
3783 (_M_replace_categories): Fix.
3785 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
3786 (locale::_Impl::_M_construct_ctype): Remove.
3787 (locale::_Impl::_M_construct_monetary): Remove.
3788 (locale::_Impl::_M_construct_numeric): Remove.
3789 (locale::_Impl::_M_construct_time): Remove.
3790 (locale::_Impl::_M_construct_messages): Remove.
3792 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
3793 (_Use_facet_failure_handle): Remove.
3794 * src/locale.cc: Remove definitions.
3795 * src/locale-inst.cc: And here.
3797 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
3799 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
3800 create and error-check underlying locale object.
3801 (locale::facet::_S_destroy_c_locale): Add, take care of properly
3802 tearing down underlying locale object.
3803 * include/bits/localefwd.h (locale::facet): Declare.
3804 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
3805 correctness, as glibc apparently has incorrect info in it. Test
3806 with it when it works again.....
3808 * include/bits/localefwd.h (locale::_Impl::__vec_string):
3809 Remove. Number of categories is fixed at six, so just simplify and
3810 make this an array of strings.
3811 (locale::_Impl::_M_has_name): Remove.
3812 (locale::_Impl::_M_name): Remove.
3813 (locale::_Impl::_M_category_names): Turns into...
3814 (locale::_Impl::_M_names): ...this.
3815 (locale::_Impl::_M_has_same_name()): New function.
3816 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
3817 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
3819 * src/locale.cc (locale::name()): Construct mangled name
3820 accurately reflecting combined locale categories.
3822 * src/locale.cc (locale::classic()): Don't initialize here.
3823 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
3824 __refs, bool __has_name, string __str): Do it here.
3826 * include/bits/localefwd.h: _S_categories_num to
3827 _S_num_categories. _S_facets_num to _S_num_facets.
3828 (locale::id::id()): Explicitly set _M_index to zero.
3829 * src/locale.cc: Same.
3831 * src/locale.cc: (locale::locale(const char*)): Construct named
3834 * src/locale.cc: Remove numpunct_byname ctors.
3835 * testsuite/22_locale/numpunct_byname.cc: New file.
3836 * testsuite/22_locale/numpunct.cc: New file.
3838 * include/bits/localefwd.h (class locale): Change data members to
3839 protected, from private.
3840 (_Impl::_M_get_c_locale): Add member function.
3841 (locale::facet::_M_get_global_impl()): Add member function.
3842 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
3843 a __c_locale pointer.
3844 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
3846 * testsuite/22_locale/members.cc: New file, test name and combine.
3848 * include/bits/locale_facets.h (class numpunct): Remove class
3849 _Punct and _Numpunct. Rewrite class numpunct to be correct for
3851 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
3852 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
3853 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
3854 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
3855 * testsuite/22_locale/numpunct_char_members.cc: New file.
3857 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
3859 * testsuite/README: Add more comment.
3860 * testsuite/lib/libstdc++.exp: Tweak comment.
3862 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
3864 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
3866 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
3868 * testsuite/21_strings/inserters_extractors.cc: Remove
3869 explicit reference to 'testsuite/'.
3871 2001-01-25 Richard Henderson <rth@redhat.com>
3873 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
3874 bits. Fixes Tru64 build issues.
3876 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3878 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
3879 (use ${MAKE-make}, not ${MAKE:-make}).
3880 * aclocal.m4, configure: Regenerate.
3882 2001-01-25 Mark Mitchell <mark@codesourcery.com>
3884 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
3887 * src/Makefile.am (sources): Add globals.cc.
3888 * src/Makefile.in: Regenerated.
3889 * src/globals.cc: New file.
3890 * src/ios.cc (cin): Don't define here, just declare extern.
3899 2001-01-25 Phil Edwards <pme@sources.redhat.com>
3901 * include/bits/std_iterator.h: Do not include stl_relops.h.
3902 * include/bits/std_numeric.h: Ditto.
3903 * include/bits/stl_algobase.h: Ditto.
3904 * include/bits/stl_relops.h: Add comment warning about problems.
3906 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
3908 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
3909 in testcases. Prepare for the DejaGnu based framework.
3910 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
3911 directory -- it is now mkcheck working directory.
3912 * tests_flags.in: Remove reference to $(top_srcdir). Use
3914 * Makefile.am (check, check-install): Change mkcheck invocation
3916 * Makefile.in: Regenerate.
3918 2001-01-24 Mark Mitchell <mark@codesourcery.com>
3920 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
3921 (__always_swap): Likewise.
3923 2001-01-23 Chris Demetriou <cgd@broadcom.com>
3925 * libsupc++/exception_support.cc (__terminate_func): Remove
3927 (__terminate_func_ptr): New typedef.
3928 (__terminate, __terminate_set_func): New extern function
3930 (std::terminate): Use __terminate function.
3931 (std::set_terminate): Use __terminate_set_func function.
3933 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
3935 * configure.target: Just use os_include_dir always.
3936 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
3937 Link atomicity files and ctype files here.
3938 * configure: Regenerate.
3939 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
3940 (GLIBCPP_ENABLE_ATOMICITY): Remove.
3941 * aclocal.m4: Regenerate.
3943 2001-01-23 Chris Demetriou <cgd@broadcom.com>
3945 * configure.in: Place definition of MULTISUBDIR in
3946 libsupc++/Makefile as is done for src/Makefile.
3947 * configure: Regenerate.
3949 2001-01-23 Phil Edwards <pme@sources.redhat.com>
3951 * acinclude.m4: Cosmetic changes only.
3952 * aclocal.m4: Regenerated.
3953 * configure: Regenerated.
3954 * configure.target: Update documented list of changed variables.
3955 * docs/html/install.html: Fix typo.
3956 * docs/html/20_util/howto.html: More notes on auto_ptr.
3957 * docs/html/27_io/howto.html: More notes on streabufs.
3958 * docs/html/faq/index.html: Add rel_ops problem and mention the
3959 DEC as(1) .subsection difficulty.
3960 * docs/html/faq/index.txt: Regenerated.
3962 2001-01-23 Mark Mitchell <mark@codesourcery.com>
3964 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
3965 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
3966 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
3967 its already provided in config.target.
3968 * aclocal.m4: Regenerated.
3969 * configure: Likewise.
3970 * configure.target: Set ctype_include_dir for lots of systems.
3971 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
3972 * libsupc++/Makefile.in: Regenerated.
3974 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
3976 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
3979 * testsuite/README: Add comment.
3981 2001-01-21 Phil Edwards <pme@sources.redhat.com>
3983 * docs/html/configopts.html: Update for current status. Fix HTML.
3984 * docs/html/install.html: Update for current status.
3986 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3988 * testsuite/libstdc++.tests/tests.exp: New file.
3989 * testsuite/lib/libstdc++.exp: Itou.
3990 * testsuite/README: Itou.
3992 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
3994 * tests_flags.in: Just output the bare minimum to run tests.
3995 Let's the caller do its own arrangement.
3997 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
4000 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
4002 * testsuite/17_intro: Prepare testcases for new style DejaGnu
4005 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
4007 * testsuite/libstdc++.tests, testsuite/lib: New directories.
4009 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
4011 * mkcheck.in: Construct file names that match $objdir structure.
4012 * testsuite/27_io/filebuf_members-1.txt: New file.
4013 * testsuite/27_io/ifstream_members-1.txt: New file.
4014 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
4016 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
4017 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
4019 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4021 * testsuite/27_io/istream_sentry.cc (test02): Fix.
4023 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
4026 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
4027 * src/ios.cc (ios_base::failure): Make definitions match.
4028 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
4029 (class bad_cast): Same.
4030 * libsupc++/exception (class exception): Add throw specs.
4031 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
4032 (set_unexpected): Same.
4033 (uncaught_exception): Same.
4036 * docs/html/17_intro/C++STYLE (classname): Fix.
4038 2001-01-16 Mark Mitchell <mark@codesourcery.com>
4040 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
4041 Use it do explicitly instantiate predicate<T> and value<T> for
4044 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
4046 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
4047 uninitialized thinko in last change.
4049 2001-01-16 Mark Mitchell <mark@codesourcery.com>
4051 * libsupc++/exception_support.cc (__cp_pop_exception): Change
4054 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
4056 * docs/html/17_intro/C++STYLE (classname): Add more existing
4057 and stylish patterns.
4060 * include/bits/istream.tcc (istream::sentry::sentry()): Set
4061 failbit if the state of the stream is not good.
4062 * testsuite/27_io/istream_sentry.cc (test02): Add test.
4063 * testsuite/27_io/istream_manip.cc (test01): Modify.
4066 reported by Paolo Carlini <pcarlini@unitus.it>
4067 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
4068 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
4071 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
4072 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
4073 (xsgetn): Same. Simplify.
4074 * testsuite/27_io/streambuf.cc (test04): Add testcases.
4076 reported by Larry Evans <jcampbell3@prodigy.net>
4077 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
4078 equality with eof on returned value from overflow.
4080 2001-01-14 Andreas Jaeger <aj@suse.de>
4082 * libio/libio.h: Add test for glibc 2.0.
4084 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
4086 * config/os/djgpp/bits/*: Fix dates.
4088 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
4089 _CharT* __end, _CharT __c): Remove.
4090 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
4091 * include/bits/char_traits.h: Tweak.
4093 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
4095 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
4096 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
4098 * aclocal.m4: regenerated.
4099 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
4100 * configure: regenerated.
4101 * config/os/djgpp, config/os/djgpp/bits: new directories.
4102 * config/os/djgpp/bits/ctype_base.h,
4103 config/os/djgpp/bits/ctype_inline.h,
4104 config/os/djgpp/bits/ctype_noninline.h,
4105 config/os/djgpp/bits/os_defines.h: new files.
4107 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
4109 * include/c_std/bits/std_cstdio.h: Undef printf.
4111 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
4113 * src/ios.cc: Fix typo: change cout->wcout.
4115 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
4116 * src/Makefile.in: Regenerate.
4118 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4120 * include/bits/std_complex.h: Fix a typo.
4122 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
4125 Fixes for libstdc++/1576
4126 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
4127 file, move contents into....
4128 * src/ios.cc: ...Here. Put defines for iostreams objects and
4129 initialization routines into one file to simplify DSO interaction.
4130 * include/bits/std_iostream.h: Touch.
4131 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
4132 * src/Makefile.am (sources): Remove stdstreams.cc.
4133 * src/Makefile.in: Regenerate.
4135 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4137 * tests_flags.in (check_directory): Fix typo.
4139 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4141 * include/bits/std_complex.h: Fix a typo.
4143 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
4145 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
4146 code path:) Remove magic constants and restructure to handle
4147 ctype.h bit mask layout changes more gracefully. (Make fast
4148 code path:) Use __maskrune (), if available.
4149 (is): Remove special case for digit and xdigit masks.
4151 2001-01-09 Robert Lipe <robertlipe@usa.net>
4153 * include/c_std/bits/std_ctime.h: Undefine difftime.
4155 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
4157 * src/gen-num-limits.cc (signal_adapter): New template function.
4158 (signal_handler): Use it, instead of signal.
4159 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
4160 require both tests to trap to set trap_flag.
4162 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
4164 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
4165 initialize mbstate_t member, name offset data members *off, not pos.
4166 * include/bits/fstream.tcc (filebuf::filebuf): Same.
4168 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
4170 reported by Chris G. Demetriou <cgd@sibyte.com>
4171 * configure.in: Change -linux-* to -linux*.
4172 * configure: Regenerate.
4174 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
4176 Fix 27_io/filebuf_members.cc
4177 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
4178 const string& __name, category __cat, size_t __refs): Set
4179 _M_has_name with _M_name.
4180 * include/bits/localefwd.h (locale::operator!=): Protect member
4181 function call with this->.
4182 * src/locale.cc (locale::operator==): Make fast checks first.
4183 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
4185 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
4187 * src/ios.cc (ios_base::Init::Init): Initialize here.
4188 (ios_base::sync_with_stdio): Set here.
4190 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
4192 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
4193 systems that support it, call dup() before fdopen().
4195 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
4197 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
4198 * testsuite/17_intro/header_cwctype.cc (main): New file.
4200 * src/Makefile.am (base_headers): Change.
4201 * include/bits/std_string.h: And here.
4202 * include/bits/string.tcc: Tweaks, move to...
4203 * include/bits/basic_string.tcc: ...Here.
4204 * src/string-inst.cc: Simplify, just instantiate the whole class,
4205 not member-by-member.
4207 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
4209 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
4210 * aclocal.m4: Regenerate.
4211 * configure: Regenerate.
4213 * include/bits/c++config (__GLIBCPP__): Bump version number.
4215 * ChangeLog: Start new log for year 2001
4216 * ChangeLog-2000: New file.
4218 * docs/html/configopts.html: Make sure default values are current,
4221 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
4223 * include/c_std/bits/std_cwchar.h: Same.
4224 * testsuite/17_intro/header_cwchar.cc: Same.
4225 * include/c_std/bits/std_ctime.h: Same.
4226 * testsuite/17_intro/header_ctime.cc: Same.
4227 * include/c_std/bits/std_cstdlib.h: Same.
4228 Clean up undefs, make consistent with cwchar and cmath, etc.
4229 * testsuite/17_intro/header_cstdlib.cc: Same.
4230 * include/c_std/bits/std_cstdio.h: Same here.
4231 * testsuite/17_intro/header_cstring.cc: Same.
4232 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
4233 * testsuite/17_intro/header_cstring.cc: New file. Check for
4234 size_t in namespace std.
4236 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
4237 * acconfig.h (HAVE_MBSTATE_T): Add.
4238 * config.h.in: Regenerate.
4239 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
4241 * aclocal.m4: Regenerate.
4242 * configure: Regenerate.
4243 * testsuite/17_intro/headers_c++.cc: New file.
4244 * testsuite/17_intro/headers_c.cc: Small changes.
4246 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
4248 * tests_flags.in: Fix typo in usage.
4250 * tests_flags.in: Set target specific LIBS for cygwin.