1 2001-08-24 Phil Edwards <pme@sources.redhat.com>
3 * docs/html/23_containers/howto.html: Describe implementation of
6 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
9 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
11 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
12 Phil Edwards <pme@sources.redhat.com>
15 * include/bits/stl_tree.h (insert_unique): Revert last change.
16 Values inserted at begin() must be less, not greater, than *begin()'s.
17 * testsuite/23_containers/map_insert.cc: New file.
19 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
21 * config/locale/c_locale_gnu.cc: Minor tweaks.
22 (moneypunct<wchar_t>): Implement.
23 * include/bits/locale_facets.h: Same.
24 * testsuite/22_locale/moneypunct.cc: New file.
25 * testsuite/22_locale/moneypunct_byname.cc: New file.
26 * testsuite/22_locale/moneypunct_char_members.cc: New file.
28 2001-08-23 David Edelsohn <edelsohn@gnu.org>
30 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
31 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
33 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
35 * testsuite_flags.in (build-includes): Re-add backward.
37 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
39 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
40 with _GLIBCPP_USE_WCHAR_T.
42 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
44 * testsuite/22_locale/collate_byname.cc (test01): Fix.
46 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
48 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
50 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
52 * testsuite/22_locale/operators.cc: Add test.
54 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
56 Implement std::collate.
57 * config/locale/collate_specializations_gnu.cc: Add here, implement in
59 * config/locale/collate_specializations_generic.cc: Add here, but
60 in a less sophisticated manner.
61 * include/bits/locale_facets.tcc (collate): Add generic definition.
62 * include/bits/locale_facets.h (~collate): Mark virtual.
63 (collate::_M_compare_helper): New.
64 (collate::_M_transform_helper): New.
65 * src/locale.cc: Remove unnecessary specializations.
66 * src/string-inst.cc: Tweak instantiation of ctors.
68 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
69 * aclocal.m4: Regenerate.
70 * configure: Regenerate.
71 * src/Makefile.am (sources): Add collate.cc.
72 * src/Makefile.in: Regenerate.
74 * testsuite/22_locale/collate_byname.cc: New.
75 * testsuite/22_locale/collate.cc: New file.
76 * testsuite/22_locale/collate_char_members.cc: New file.
77 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
79 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
81 * configure.target: Set LIMITSH for powerpc-*-*.
82 * config/cpu/powerpc/bits/limits.h: New file.
84 2001-08-16 Marc Espie <espie@openbsd.org>
86 * configure.in: Check for <sys/types.h>.
88 * config.h.in: Rebuild.
89 * libmath/mathconf.h: Include <sys/types.h> prior to
90 <machine/endian.h> if available.
92 2001-08-15 Andreas Schwab <schwab@suse.de>
94 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
96 * config/cpu/m68k/bits/atomicity.h: New file.
98 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
99 Define appropriate long double limits for m68k extended floating
101 (__glibcpp_f32_digits10): Corrected, off by one.
102 (__glibcpp_f80_digits10): Likewise.
103 (__glibcpp_f128_digits10): Likewise.
104 * config/os/gnu-linux/bits/os_defines.h
105 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
107 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
109 * testsuite/18_support/numeric_limits.cc: Add more tests.
110 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
113 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
115 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
118 * config/cpu/s390/bits/atomicity.h: New.
120 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
122 * include/bits/std_limits.h: Fix thinko.
124 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
126 * include/Makefile.am: Consolidate target rules. Don't clean stamp
127 files. Tweak target build directory stamp.
128 * include/Makefile.in: Regenerate.
130 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
132 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
133 _GBLICPP_HAVE_LOGL with HAVE_LOGL
135 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
137 * configure.in (libtool_VERSION): Add.
139 (release_VERSION): This.
140 * configure: Regenerate.
141 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
143 * src/Makefile.in: Regenerate.
145 * intl/Makefile.am: Remove.
146 * intl/Makefile.in: Remove.
148 * Makefile.am (SUBDIRS): Remove intl.
149 * po/Makefile.am (DISTFILES): Add string_literals.cc
151 * po/string_literals.cc: Add.
152 * po/POTFILES.in: Fix path.
153 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
154 * aclocal.m4: Regenerate.
155 * configure.in: Remove AC_OUTPUT of intl/Makefile.
157 * include/backward/backward_warning.h: Clarify message.
159 * testsuite_flags.in (--cxxflags): Use same debug flags for
160 library and testsuite.
162 * include/Makefile.am (c_compatibility): Remove.
163 * include/Makefile.in: Regenerate.
165 2001-08-13 Mark Mitchell <mark@codesourcery.com>
167 * configure.in (LIMITS_INC_SRCDIR): New variable.
168 * configure.target (LIMITSH): New variable.
169 * porting.texi: Discuss numeric limits.
170 * config/cpu/generic/bits/limits.h: New file.
171 * config/cpu/i386/bits/limits.h: New file.
172 * include/Makefile.am: Install bits/limits.h.
173 * include/bits/c++config: Include bits/limits.h.
175 2001-08-13 H.J. Lu (hjl@gnu.org)
177 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
179 (libstdc++-v3-init ): Use it.
181 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
183 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
184 to '__adjust' to avoid shadowing in nested scope.
186 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
188 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
191 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
193 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
196 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
198 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
199 dummy default argument to the non-limit implementation.
202 * include/Makefile.am: Use relative file path in rule to allow
204 * include/Makefile.in: Rebuilt.
206 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
208 * include/bits/std_complex.h (complex<long double>::operator*=,
209 complex<long double>::operator/=): Fix thinko.
211 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
213 * include/bits/std_limits.h: New file.
214 * include/Makefile.am (bits_headers): Add std_limits.h
215 (all-local): std_limits.h is no longer built.
216 (${target_builddir}/std_limits.h): Remove.
217 * include/Makefile.in: Regenerate.
218 * src/limits.cc: New file.
219 * src/Makefile.am (sources): Add limits.cc in replacement of
221 * src/Makefile.in: Regenerate.
223 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
225 * src/gen-num-limits.cc (digits10): Fix thinko.
227 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
229 * po/Makefile.am (check-no): Add.
231 * po/Makefile.in: Regenerate.
233 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
235 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
236 * config.h.in: Regenerate.
237 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
239 * aclocal.m4: Regenerate.
240 * configure.in: Remove duplicate AM_CONFIG_HEADER.
241 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
242 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
243 * configure: Regenerate.
244 * testsuite_hooks.h.in: Move to...
245 * testsuite_hooks.h: Here, include c++config.h. Use it.
247 * Makefile.am (SUBDIRS): Move testsuite to last directory.
248 * Makefile.in: Regenerate.
249 * po/Makefile.am (stamp-po): Add.
251 2001-08-09 David Edelsohn <edelsohn@gnu.org>
253 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
254 * config/os/generic/bits/os_defines.h: Likewise.
255 * config/os/gnu-linux/bits/os_defines.h: Likewise.
256 * config/os/hpux/bits/os_defines.h: Likewise.
257 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
258 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
260 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
262 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
263 -version-info, use substituted VERSION info.
264 * src/Makefile.in: Regenerate.
266 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
268 Implement std::messages.
269 Make config a fully-nested directory.
270 * config/locale: New directory.
271 * config/c_locale_generic.cc: Move into locale subdirectory.
272 * config/c_locale_generic.h: Same.
273 * config/c_locale_gnu.cc: Same.
274 * config/c_locale_gnu.h: Same.
275 * config/c_locale_ieee_1003.1-200x.cc: Same.
276 * config/c_locale_ieee_1003.1-200x_.h: Same.
277 * config/codecvt_specializations_generic.h: Same.
278 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
279 * config/messages_members_gnu.h: Same.
280 * config/messaages_members_gnu.cc: Same.
281 * config/messages_members_generic.h: Same.
282 * config/messaages_members_generic.cc: Same.
283 * config/messages_members_ieee_1003.1-200x.h: Same.
284 * config/messaages_members_ieee_1003.1-200x.cc: Same.
285 * config/io: New directory.
286 * config/basic_file_libio.h: Move into io subdirectory.
287 * config/basic_file_libio.cc: Same.
288 * config/c_io_libio.h: Same.
289 * config/c_io_libio_codecvt.c: Same.
290 * config/basic_file_stdio.h: Same.
291 * config/basic_file_stdio.cc: Same.
292 * config/c_io_stdio.h: Same.
295 * po/POTFILES.in: New file.
296 * po/Makefile.am: New file.
297 * po/Makefile.in: New file.
298 * po/libstdc++.pot: Generic translation file.
299 * po/fr.po: Preliminary French translation.
300 * po/de.po: Preliminary German translation.
301 * intl: New directory.
302 * intl/Makefile.am: New file.
303 * intl/Makefile.in: New file.
304 * intl/string_literals.cc: New file.
305 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
306 requisite setup for gettext. Re-arrange.
307 * aclocal.m4: Regenerate.
308 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
309 Output Makefile bits for po and intl.
310 * configure: Regenerate.
311 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
312 * Makefile.in: Regenerate.
313 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
314 * config.h.in: Regenerate.
316 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
318 * include/Makefile.am (install-data-local): Don't install Makefile.
319 * include/Makefile.in: Regenerate.
321 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
323 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
324 * config/locale/c_locale_generic.cc: Same.
325 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
327 * include/bits/codecvt.h: Excise non-standard, non-required
328 bits. This includes __enc_traits, and partial specializations of
329 codecvt for __enc_traits.
330 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
331 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
332 * config/codecvt_partials_generic.h: New file.
333 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
334 (stamp-codecvt_model): Add.
335 * include/Makefile.in: Regenerate.
336 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
337 * aclocal.m4: Regenerate.
338 * configure: Regenerate.
339 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
340 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
341 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
343 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
344 as a friend for _S_*_c_locale functions.
345 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
346 argument to default constructor so that CODESET information can be
348 * include/bits/locale_facets.h (messages_byname):
349 Re-implement. Remove specializations.
350 * src/locale.cc (messages_byname<char>): Remove specialization.
351 (messages_byname<wchar_t>): Same.
352 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
353 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
354 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
355 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
356 * config/locale/messages_members_gnu.cc: New file.
357 * config/locale/messages_members_gnu.h: New file.
358 * config/locale/messages_members_generic.cc: New file.
359 * config/locale/messages_members_generic.h: New file.
361 * docs/html/configopts.html: Add documentation for new locale
362 model, ieee_1003.1. Adjust other flags for current defaults.
363 * docs/html/22_locale/locale.html: Update.
364 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
365 * docs/html/22_locale/messages.html: New.
367 * src/Makefile.am (sources): Add messages_virtuals.cc.
368 * src/Makefile.in: Regenerate.
369 * include/Makefile.am (allstamps): Add stamp-messages_model.
370 (stamp-messages_model): Add.
371 * include/Makefile.in: Regenerate.
372 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
373 * aclocal.m4: Regenerate.
374 * configure: Regenerate.
376 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
377 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
379 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
380 build directories message catalog base directory, and export.
381 Eventually this should probably be made to deal with build and
382 install directories. For now, punt on this as the library itself
383 doesn't use message catalogs (yet).
384 * testsuite/22_locale/messages.cc: New file.
385 * testsuite/22_locale/messages_char_members.cc: New file.
386 * testsuite/22_locale/messages_byname.cc: New file.
388 2001-08-06 Phil Edwards <pme@sources.redhat.com>
390 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
391 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
392 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
393 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
394 Call GLIBCPP_CONFIGURE_TESTSUITE.
395 * aclocal.m4: Regenerate.
396 * config.h.in: Regenerate.
397 * configure: Regenerate.
399 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
402 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
403 * testsuite/debug_assert.h: Removed; contents merged into...
404 * testsuite/testsuite_hooks.h.in: ...here. New file.
405 * testsuite/17_intro/header_ciso646.cc: No longer include
406 debug_assert.h, include testsuite_hooks.h instead.
407 * testsuite/17_intro/header_fstream.cc: Likewise.
408 * testsuite/17_intro/header_iomanip.cc: Likewise.
409 * testsuite/17_intro/header_ios.cc: Likewise.
410 * testsuite/17_intro/header_iosfwd.cc: Likewise.
411 * testsuite/17_intro/header_iostream.cc: Likewise.
412 * testsuite/17_intro/header_istream.cc: Likewise.
413 * testsuite/17_intro/header_ostream.cc: Likewise.
414 * testsuite/17_intro/header_sstream.cc: Likewise.
415 * testsuite/17_intro/header_streambuf.cc: Likewise.
416 * testsuite/18_support/numeric_limits.cc: Likewise.
417 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
418 * testsuite/20_util/allocator_members.cc: Likewise.
419 * testsuite/20_util/auto_ptr.cc: Likewise.
420 * testsuite/20_util/pairs.cc: Likewise.
421 * testsuite/21_strings/append.cc: Likewise.
422 * testsuite/21_strings/capacity.cc: Likewise.
423 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
424 * testsuite/21_strings/compare.cc: Likewise.
425 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
426 call to (disabled) __set_testsuite_memlimit() wrapper.
427 * testsuite/21_strings/element_access.cc: Likewise.
428 * testsuite/21_strings/find.cc: Likewise.
429 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
430 (disabled) __set_testsuite_memlimit() wrapper.
431 * testsuite/21_strings/inserters_extractors.cc: Likewise.
432 * testsuite/21_strings/invariants.cc: Likewise.
433 * testsuite/21_strings/nonmember.cc: Likewise.
434 * testsuite/21_strings/operations.cc: Likewise.
435 * testsuite/21_strings/replace.cc: Likewise.
436 * testsuite/21_strings/rfind.cc: Likewise.
437 * testsuite/21_strings/substr.cc: Likewise.
438 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
439 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
440 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
441 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
442 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
443 * testsuite/22_locale/ctype_char_members.cc: Likewise.
444 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
445 * testsuite/22_locale/facet.cc: Likewise.
446 * testsuite/22_locale/global_templates.cc: Likewise.
447 * testsuite/22_locale/members.cc: Likewise.
448 * testsuite/22_locale/numpunct_byname.cc: Likewise.
449 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
450 * testsuite/22_locale/operators.cc: Likewise.
451 * testsuite/22_locale/static_members.cc: Likewise.
452 * testsuite/23_containers/bitset_ctor.cc: Likewise.
453 * testsuite/23_containers/bitset_members.cc: Likewise.
454 * testsuite/23_containers/bitset_shift.cc: Likewise.
455 * testsuite/23_containers/vector_capacity.cc: Likewise.
456 * testsuite/23_containers/vector_ctor.cc: Likewise.
457 * testsuite/23_containers/vector_element_access.cc: Likewise.
458 * testsuite/23_containers/vector_modifiers.cc: Likewise.
459 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
460 * testsuite/24_iterators/iterator.cc: Likewise.
461 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
462 * testsuite/25_algorithms/binary_search.cc: Likewise.
463 * testsuite/25_algorithms/copy.cc: Likewise.
464 * testsuite/25_algorithms/heap.cc: Likewise.
465 * testsuite/25_algorithms/lower_bound.cc: Likewise.
466 * testsuite/25_algorithms/min_max.cc: Likewise.
467 * testsuite/25_algorithms/partition.cc: Likewise.
468 * testsuite/25_algorithms/rotate.cc: Likewise.
469 * testsuite/25_algorithms/sort.cc: Likewise.
470 * testsuite/26_numerics/c_math.cc: Likewise.
471 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
472 * testsuite/26_numerics/complex_value.cc: Likewise.
473 * testsuite/27_io/filebuf.cc: Likewise.
474 * testsuite/27_io/filebuf_members.cc: Likewise.
475 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
476 * testsuite/27_io/fpos.cc: Likewise.
477 * testsuite/27_io/fstream_members.cc: Likewise.
478 * testsuite/27_io/ifstream_members.cc: Likewise.
479 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
480 * testsuite/27_io/ios_base_members_static.cc: Likewise.
481 * testsuite/27_io/ios_base_storage.cc: Likewise.
482 * testsuite/27_io/ios_ctor.cc: Likewise.
483 * testsuite/27_io/ios_init.cc: Likewise.
484 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
485 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
486 * testsuite/27_io/ios_members.cc: Likewise.
487 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
488 * testsuite/27_io/istream_extractor_char.cc: Likewise.
489 * testsuite/27_io/istream_extractor_other.cc: Likewise.
490 * testsuite/27_io/istream_manip.cc: Likewise.
491 * testsuite/27_io/istream_seeks.cc: Likewise.
492 * testsuite/27_io/istream_sentry.cc: Likewise.
493 * testsuite/27_io/istream_unformatted.cc: Likewise.
494 * testsuite/27_io/istringstream_members.cc: Likewise.
495 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
496 * testsuite/27_io/ofstream_members.cc: Likewise.
497 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
498 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
499 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
500 * testsuite/27_io/ostream_manip.cc: Likewise.
501 * testsuite/27_io/ostream_seeks.cc: Likewise.
502 * testsuite/27_io/ostream_unformatted.cc: Likewise.
503 * testsuite/27_io/ostringstream_members.cc: Likewise.
504 * testsuite/27_io/streambuf.cc: Likewise.
505 * testsuite/27_io/stringbuf.cc: Likewise.
506 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
507 * testsuite/27_io/stringstream.cc: Likewise.
508 * testsuite/27_io/stringstream_members.cc: Likewise.
509 * testsuite/27_io/wide_stream_objects.cc: Likewise.
511 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
513 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
515 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
517 * configure.target: Remove mips from cpu table.
518 * config/cpu/mips/bits/atomicity.h: Remove generic
519 versions. Comment sgidefs include.
521 2001-07-25 H.J. Lu <hjl@gnu.org>
523 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
526 * config/cpu/mips/bits/atomicity.h: New.
528 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
530 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
531 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
532 * aclocal.m4: Regenerate.
533 * config.h.in: Likewise.
534 * configure: Likewise.
535 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
536 (EXTRA_DIST): Remove hypot.c hypotf.c.
537 * libmath/Makefile.am: Regenerate.
538 * libmath/hypotf.c: Remove.
539 * libmath/hypot.c: Likewise.
540 * libmath/hypotl.c: Likewise.
541 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
542 _GLIBCPP_HAVE_xxx. Add long double versions.
544 2001-07-23 David Edelsohn <edelsohn@gnu.org>
546 * include/bits/limits_generic.h (int): Set digits and digits10
547 appropriately for word size.
548 (unsigned int,long,unsigned long): Likewise.
550 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
552 * include/bits/stl_algo.h : Fix typos.
553 * testsuite/25_algorithms/unique.cc: New file.
555 2001-07-19 Phil Edwards <pme@sources.redhat.com>
556 Mark Mitchell <mark@codesourcery.com>
558 Merge from cp-parser-branch.
559 * include/bits/basic_string.h: Qualify symbols with 'template'.
560 * include/bits/basic_string.tcc: Likewise.
561 * include/bits/fstream.tcc: Likewise.
562 * include/bits/istream.tcc: Likewise.
563 * include/bits/sstream.tcc: Likewise.
564 * include/bits/std_istream.h: Likewise.
565 * include/bits/stl_iterator.h: Likewise.
566 * include/bits/streambuf.tcc: Likewise.
567 * src/gen-num-limits.cc: Add 'template<>' to specializations.
568 * src/locale.cc: Likewise.
570 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
571 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
573 * src/gen-num-limits.cc (set_signals_handler): New function.
574 Factor out signals setting. Set signal handler for SIGILL.
576 2001-07-18 Phil Edwards <pme@sources.redhat.com>
578 * docs/html/27_io/howto.html: Fix typo.
579 * docs/html/faq/index.html: Minor updates for 3.0 all around.
580 * docs/html/faq/index.txt: Regenerated.
582 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
583 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
586 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
587 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
589 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
591 All occurrences of the __value_type() and __distance_type()
592 functions, which were required to support the HP STL, have been
593 removed along with all the auxiliary forwarding functions that
594 were required to support their use.
596 The __iterator_category() function was pretty much left alone
597 because there was no benefit to removing it and its use made code
598 just a little more readable.
600 Incidences of distance() with nonstandard argument list were
601 replaced by calls to the standard function (only in the files
602 affected by the removal of the other HP functions).
604 The signature of the rotate() algorithm was changed to match the
607 Headers were reformatted under C++STYLE guidelines (indentation,
608 linebreaks, typename keyword).
610 * include/bits/stl_algo.h: replaced __value_type() and
611 __distance_type() with iterator_traits, eliminated auxiliary
612 support functions required to support said function usage.
613 Changed nonstandard distance() call to standard call.
615 * include/bits/stl_algobase.h: Same.
616 * include/bits/stl_heap.h: Same.
617 * include/bits/stl_numeric.h: Same.
618 * include/bits/stl_uninitialized.h: Same.
619 * include/bits/stl_iterator_base_types.h (__value_type()):
621 (__distance_type()): Removed.
622 (value_type()): Gone.
623 (distance_type()): Done in.
624 (iterator_category()): Hasta la vista, baby.
626 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
627 Replaced with __iterator_category().
628 * include/backward/iterator.h: moved definition of value_type(),
629 distance_type(), and iterator_category() out of std:: and into
631 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
632 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
633 * testsuite/25_algorithms/rotate.cc: New testcase.
634 * testsuite/25_algorithms/copy.cc: New testcase.
635 * testsuite/25_algorithms/sort.cc: Same.
636 * testsuite/25_algorithms/heap.cc: Same.
637 * testsuite/25_algorithms/partition.cc: Same.
638 * testsuite/25_algorithms/binary_search.cc: Same.
639 * testsuite/26_numerics/sum_diff.cc: Ditto.
641 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
643 * testsuite/README: Add notes on naming test cases.
644 * testsuite/22_locale/members.cc: Mark as xfail.
645 * testsuite/22_locale/numpunct_char_members.cc: Same.
647 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
649 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
650 setting C_INCLUDE_DIR.
651 * configure.in: Revert yesterday's LN_S change.
652 * aclocal.m4: Regenerate.
653 * configure: Regenerate.
655 2001-07-15 Phil Edwards <pme@sources.redhat.com>
657 * configure.in: Temporarily force LN_S to copy instead of symlink.
658 * configure: Regenerate.
660 2001-07-13 Phil Edwards <pme@sources.redhat.com>
662 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
663 Initialize _M_string with pointer-and-size constructor, not just
664 pointer. Fix some comments.
665 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
666 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
667 (test03): Add embedded-NUL tests.
669 * mkcheck.in: When printing totals, match the order of the tests.
670 * include/bits/stringfwd.h: Use same declaration keywords.
671 * include/bits/std_iosfwd.h: Cosmetic spacing.
673 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
674 Loren J. Rittle <ljrittle@acm.org>
675 Phil Edwards <pme@sources.redhat.com>
677 * include/Makefile.am: New file encapsulating header generation rules.
678 * Makefile.am (SUBDIRS): Prepend 'include' directory.
679 * acinclude.m4: Moved/removed rules for building various headers.
680 * configure.in (AC_OUTPUT): Add include/Makefile.
681 * mkc++config: Removed.
683 * testsuite_flags.in: Changed build-includes to match new scheme.
684 * mknumeric_limits: Likewise.
685 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
686 * libmath/Makefile.am: Likewise.
687 * libsupc++/Makefile.am: Likewise.
688 * src/Makefile.am: Likewise; removed rules to build headers.
689 * libmath/mathconf.h: Changed #include'd header names to match.
690 * libmath/stubs.c: Likewise.
691 * src/gen-num-limits.cc: Likewise.
693 * configure: Regenerated.
694 * config.h.in: Regenerated.
695 * aclocal.m4: Regenerated.
696 * Makefile.in: Regenerated.
697 * include/Makefile.in: Regenerated.
698 * libio/Makefile.in: Regenerated.
699 * libmath/Makefile.in: Regenerated.
700 * libsupc++/Makefile.in: Regenerated.
701 * src/Makefile.in: Regenerated.
702 * testsuite/Makefile.in: Regenerated.
704 2001-07-11 Felix Natter <fnatter@gmx.net>
706 * docs/html/17_intro/porting-howto.xml: Initial checkin of
708 * docs/html/17_intro/porting-howto.html: check in v0.9.3
710 2001-07-11 Phil Edwards <pme@sources.redhat.com>
712 * docs/doxygen/run_doxygen: Don't keep output from previous run.
713 * docs/doxygen/user.cfg.in: Tweaks.
714 * include/bits/c++config: Documentation comments for Doxygen.
715 * include/bits/char_traits.h: Likewise.
716 * include/bits/limits_generic.h: Likewise.
717 * include/bits/std_stdexcept.h: Likewise.
718 * include/bits/stl_pair.h: Likewise.
719 * libsupc++/exception: Likewise.
720 * libsupc++/new: Likewise.
721 * libsupc++/typeinfo: Likewise.
722 * libmath/Makefile.am: Update and correct copyright.
724 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
726 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
727 * aclocal.m4: Regenerate.
730 2001-07-09 Phil Edwards <pme@sources.redhat.com>
732 * docs/html/configopts.html: Fix thinko.
733 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
734 * include/bits/stl_iterator.h: Fix typo.
736 2001-07-09 Phil Edwards <pme@sources.redhat.com>
738 * docs/html/explanations.html: New file.
739 * docs/html/configopts.html: Link to it to provide more notes
740 on cstdio. Minor markup and spacing fixes.
741 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
743 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
745 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
746 for _Expr template template argument.
747 (_Expr::operator-): Likewise.
748 (_Expr::operator~): Likewise.
749 (_Expr::operator!): Likewise.
750 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
752 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
754 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
755 * libmath/Makefile.in: Regenerate.
756 * libmath/expf.c: Remove.
757 * libmath/atan2f.c: Likewise.
759 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
761 * configure.in: Remove NATIVE, NULL_TARGET.
762 Set CANADIAN only for Canadian crosses. Set xcompiling
763 for both Canadian crosses and host-x-host crosses.
764 * configure: Regenerated.
766 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
768 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
770 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
772 * testsuite_flags.in (--build-includes): backward, not backwards.
774 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
776 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
777 Replace destroy by _Destroy.
778 (_Rope_RopeRep::_S_free_string): Likewise.
779 (rope::c_str()): Likewise.
780 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
781 (_Slist_base::_M_erase_after): Likewise.
782 (slist::_M_create_node): Replace construct by _Construct.
783 (slist::pop_front): Replace destroy by _Destroy.
784 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
785 construct by _Construct.
786 (hashtable::_M_delete_node): Replace destroy by _Destroy.
787 * include/ext/stl_rope.h (rope::rope): Replace construct by
789 (rope::copy): Replace destroy by _Destroy.
791 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
793 * include/bits/localefwd.h: Format.
794 * include/bits/locale_facts.tcc (locale::combine): Adjust.
795 * src/locale.cc (locale::locale::(_Impl)): Don't call
797 (locale::facet::_M_remove_reference): Simplify.
798 * src/globals.cc (locale_impl_c): New. Format.
800 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
802 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
804 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
805 expansion (thanks to Alexandre Oliva).
806 * aclocal.m4: Regenerate.
807 * configure: Regenerate.
809 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
811 * src/locale.cc (locale::locale(const char*)): Make sure global
812 locales are initialized.
813 * include/bits/locale_facets.tcc (locale::combine): Refcout should
814 be zero, not one as it's return-by-value.
815 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
817 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
820 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
822 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
825 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
826 * aclocal.m4: Regenerate.
827 * configure: Regenerate.
829 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
832 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
833 staged/installed area to support -I-. Document.
834 * aclocal.m4: Regenerate.
835 * configure: Regenerate.
837 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
840 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
841 __out_bufsize. Add __in_bufsize, document it and use it.
843 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
845 * include/bits/stl_construct.h (construct): Remove.
847 (__destroy): Replaced by use of iterator_traits.
848 * include/bits/stl_deque.h: replaced HP iterator functions with
850 (construct): changed to _Construct.
851 (destroy): changed to _Destroy.
852 * include/bits/stl_tempbuf.h: Same.
853 * include/bits/stl_tree.h: Same.
854 * include/bits/stl_vector.h: Same.
855 * include/backward/iterator.h (construct): moved definition to here.
858 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
860 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
861 before replacing facet.
862 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
864 * src/localename.cc (locale::_Impl): Correct ctor initialization
865 lists. Initialize ref count with one. Simplify.
866 * src/locale.cc: Add comment.
867 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
868 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
869 * testsuite/22_locale/members.cc (test02): Fix.
871 2001-06-27 Phil Edwards <pme@sources.redhat.com>
873 * include/backward/algo.h: Add "GPL plus runtime exception" comment
874 block, this time for real.
875 * include/backward/algobase.h: Likewise.
876 * include/backward/alloc.h: Likewise.
877 * include/backward/bvector.h: Likewise.
878 * include/backward/defalloc.h: Likewise.
879 * include/backward/deque.h: Likewise.
880 * include/backward/function.h: Likewise.
881 * include/backward/hash_map.h: Likewise.
882 * include/backward/hash_set.h: Likewise.
883 * include/backward/hashtable.h: Likewise.
884 * include/backward/heap.h: Likewise.
885 * include/backward/iterator.h: Likewise.
886 * include/backward/list.h: Likewise.
887 * include/backward/map.h: Likewise.
888 * include/backward/multimap.h: Likewise.
889 * include/backward/multiset.h: Likewise.
890 * include/backward/pair.h: Likewise.
891 * include/backward/rope.h: Likewise.
892 * include/backward/set.h: Likewise.
893 * include/backward/slist.h: Likewise.
894 * include/backward/stack.h: Likewise.
895 * include/backward/strstream: Likewise.
896 * include/backward/tempbuf.h: Likewise.
897 * include/backward/tree.h: Likewise.
898 * include/backward/vector.h: Likewise.
899 * include/bits/pthread_allocimpl.h: Likewise.
900 * include/bits/std_algorithm.h: Likewise.
901 * include/bits/std_bitset.h: Likewise.
902 * include/bits/std_deque.h: Likewise.
903 * include/bits/std_functional.h: Likewise.
904 * include/bits/std_iterator.h: Likewise.
905 * include/bits/std_list.h: Likewise.
906 * include/bits/std_map.h: Likewise.
907 * include/bits/std_memory.h: Likewise.
908 * include/bits/std_numeric.h: Likewise.
909 * include/bits/std_queue.h: Likewise.
910 * include/bits/std_set.h: Likewise.
911 * include/bits/std_stack.h: Likewise.
912 * include/bits/std_utility.h: Likewise.
913 * include/bits/std_vector.h: Likewise.
914 * include/bits/stl_algo.h: Likewise.
915 * include/bits/stl_algobase.h: Likewise.
916 * include/bits/stl_alloc.h: Likewise.
917 * include/bits/stl_bvector.h: Likewise.
918 * include/bits/stl_construct.h: Likewise.
919 * include/bits/stl_deque.h: Likewise.
920 * include/bits/stl_function.h: Likewise.
921 * include/bits/stl_heap.h: Likewise.
922 * include/bits/stl_iterator.h: Likewise.
923 * include/bits/stl_iterator_base_funcs.h: Likewise.
924 * include/bits/stl_iterator_base_types.h: Likewise.
925 * include/bits/stl_list.h: Likewise.
926 * include/bits/stl_map.h: Likewise.
927 * include/bits/stl_multimap.h: Likewise.
928 * include/bits/stl_multiset.h: Likewise.
929 * include/bits/stl_numeric.h: Likewise.
930 * include/bits/stl_pair.h: Likewise.
931 * include/bits/stl_pthread_alloc.h: Likewise.
932 * include/bits/stl_queue.h: Likewise.
933 * include/bits/stl_raw_storage_iter.h: Likewise.
934 * include/bits/stl_relops.h: Likewise.
935 * include/bits/stl_set.h: Likewise.
936 * include/bits/stl_stack.h: Likewise.
937 * include/bits/stl_tempbuf.h: Likewise.
938 * include/bits/stl_threads.h: Likewise.
939 * include/bits/stl_tree.h: Likewise.
940 * include/bits/stl_uninitialized.h: Likewise.
941 * include/bits/stl_vector.h: Likewise.
942 * include/bits/type_traits.h: Likewise.
943 * include/ext/hash_map: Likewise.
944 * include/ext/hash_set: Likewise.
945 * include/ext/rope: Likewise.
946 * include/ext/ropeimpl.h: Likewise.
947 * include/ext/slist: Likewise.
948 * include/ext/stl_hash_fun.h: Likewise.
949 * include/ext/stl_hashtable.h: Likewise.
950 * include/ext/stl_rope.h: Likewise.
951 * src/bitset.cc: Likewise.
952 * src/strstream.cc: Likewise.
954 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
955 <vakatov@ncbi.nlm.nih.gov>
958 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
959 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
960 * testsuite/27_io/istream_extractor_other.cc: Fix.
962 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
964 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
965 * aclocal.m4: Regenerate.
966 * configure: Regenerate.
968 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
970 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
971 (ostream_iterator): Same.
972 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
973 Change argument to const_reference.
974 (back_insert_iterator): Same.
976 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
978 * include/bits/sbuf_iter.h: Change to..
979 * include/bits/streambuf_iterator.h: This.
980 * include/bits/stl_iterator.h: Take out of here...
981 * include/bits/stream_iterator.h: Add.
982 * src/Makefile.am (base_headers): Add streambuf_iterator,
984 * src/Makefile.in: Regenerate.
985 * include/bits/std_string.h: Adjust includes.
986 * include/bits/basic_ios.h: Same.
987 * include/bits/locale_facets.tcc: Same.
988 * include/bits/std_iosfwd.h: Same.
990 * include/bits/std_iterator.h: Add istream, ostream includes.
991 * include/bits/stl_iterator.h: Tweak.
992 * testsuite/24_iterators/ostream_iterator.cc: Add test.
993 * testsuite/24_iterators/istream_iterator.cc: Same.
994 * testsuite/23_containers/multiset.cc: Add iterator include.
996 2001-06-26 Phil Edwards <pme@sources.redhat.com>
998 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
999 * aclocal.m4: Regenerate.
1000 * configure: Regenerate.
1002 2001-06-26 Felix Natter <f.natter@ndh.net>
1004 * docs/html/17_intro/porting-howto.html: Fixed some errors.
1006 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1008 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
1010 (istream_iterator::operator*): Same.
1012 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1013 Alexandre Petit-Bianco <apbianco@redhat.com>
1015 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
1016 is on 41st, not 14th.
1018 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1020 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
1022 * include/bits/stl_iterator.h (istream_iterator): Inherit from
1024 (ostream_iterator): Same.
1025 * testsuite/24_iterators/istream_iterator.cc: New file.
1026 * testsuite/24_iterators/ostream_iterator.cc: New file.
1028 * include/bits/sbuf_iter.h: Remove self typedef.
1029 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
1030 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
1032 * include/bits/stl_iterator.h (reverse_iterator): Remove
1033 extraneous typedefs. Add typename.
1034 (__normal_iterator): Remove typedefs referring to self. Add typename.
1035 (reverse_bidiretional_iterator): Remove, not longer required.
1037 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1039 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
1040 dependent names with `typename'. Bring in various required
1041 iterator_traits members. Can't imagine why that used to work.
1043 2001-06-25 Phil Edwards <pme@sources.redhat.com>
1044 Kurt Garloff <garloff@suse.de>
1047 * src/cmath.cc: New [version of an old] file; instantiate
1048 __cmath_power to start with.
1049 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
1050 * Makefile.in: Regenerate.
1051 * libio/Makefile.in: Regenerate.
1052 * libmath/Makefile.in: Regenerate.
1053 * libsupc++/Makefile.in: Regenerate.
1054 * src/Makefile.in: Regenerate.
1055 * testsuite/Makefile.in: Regenerate.
1057 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1059 * libmath/stubs.c: Fix thinko.
1061 2001-06-24 David Edelsohn <dje@watson.ibm.com>
1063 * libmath/stubs.c (sqrtf): Define.
1064 (tanf): Correct typo.
1066 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
1068 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
1070 (back_insert_iterator): Same.
1071 (front_insert_iterator): Same.
1072 (insert_iterator): Same.
1074 * testsuite/20_util/raw_storage_iterator.cc: Modify.
1075 * testsuite/24_iterators/reverse_iterator.cc: New file.
1076 * testsuite/24_iterators/back_insert_iterator.cc: New file.
1077 * testsuite/24_iterators/front_insert_iterator.cc: New file.
1078 * testsuite/24_iterators/insert_iterator.cc: New file.
1080 2001-06-22 Phil Edwards <pme@sources.redhat.com>
1082 * include/*: Revert comment/license change from yesterday for all
1083 except libsupc++/unwind-cxx.h.
1084 * src/bitset.cc: Likewise.
1085 * src/strstream.cc: Likewise.
1087 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1089 * libmath/stubs.c: New file.
1093 * libmath/Makefile.am (libmath_la_SOURCES): Add.
1094 * libmath/Makefile.in. Regenerate.
1096 2001-06-21 Phil Edwards <pme@sources.redhat.com>
1098 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
1099 * include/backward/algobase.h: Likewise.
1100 * include/backward/alloc.h: Likewise.
1101 * include/backward/bvector.h: Likewise.
1102 * include/backward/defalloc.h: Likewise.
1103 * include/backward/deque.h: Likewise.
1104 * include/backward/function.h: Likewise.
1105 * include/backward/hash_map.h: Likewise.
1106 * include/backward/hash_set.h: Likewise.
1107 * include/backward/hashtable.h: Likewise.
1108 * include/backward/heap.h: Likewise.
1109 * include/backward/iterator.h: Likewise.
1110 * include/backward/list.h: Likewise.
1111 * include/backward/map.h: Likewise.
1112 * include/backward/multimap.h: Likewise.
1113 * include/backward/multiset.h: Likewise.
1114 * include/backward/pair.h: Likewise.
1115 * include/backward/rope.h: Likewise.
1116 * include/backward/set.h: Likewise.
1117 * include/backward/slist.h: Likewise.
1118 * include/backward/stack.h: Likewise.
1119 * include/backward/strstream: Likewise.
1120 * include/backward/tempbuf.h: Likewise.
1121 * include/backward/tree.h: Likewise.
1122 * include/backward/vector.h: Likewise.
1123 * include/bits/pthread_allocimpl.h: Likewise.
1124 * include/bits/std_algorithm.h: Likewise.
1125 * include/bits/std_bitset.h: Likewise.
1126 * include/bits/std_deque.h: Likewise.
1127 * include/bits/std_functional.h: Likewise.
1128 * include/bits/std_iterator.h: Likewise.
1129 * include/bits/std_list.h: Likewise.
1130 * include/bits/std_map.h: Likewise.
1131 * include/bits/std_memory.h: Likewise.
1132 * include/bits/std_numeric.h: Likewise.
1133 * include/bits/std_queue.h: Likewise.
1134 * include/bits/std_set.h: Likewise.
1135 * include/bits/std_stack.h: Likewise.
1136 * include/bits/std_utility.h: Likewise.
1137 * include/bits/std_vector.h: Likewise.
1138 * include/bits/stl_algo.h: Likewise.
1139 * include/bits/stl_algobase.h: Likewise.
1140 * include/bits/stl_alloc.h: Likewise.
1141 * include/bits/stl_bvector.h: Likewise.
1142 * include/bits/stl_construct.h: Likewise.
1143 * include/bits/stl_deque.h: Likewise.
1144 * include/bits/stl_function.h: Likewise.
1145 * include/bits/stl_heap.h: Likewise.
1146 * include/bits/stl_iterator.h: Likewise.
1147 * include/bits/stl_iterator_base_funcs.h: Likewise.
1148 * include/bits/stl_iterator_base_types.h: Likewise.
1149 * include/bits/stl_list.h: Likewise.
1150 * include/bits/stl_map.h: Likewise.
1151 * include/bits/stl_multimap.h: Likewise.
1152 * include/bits/stl_multiset.h: Likewise.
1153 * include/bits/stl_numeric.h: Likewise.
1154 * include/bits/stl_pair.h: Likewise.
1155 * include/bits/stl_pthread_alloc.h: Likewise.
1156 * include/bits/stl_queue.h: Likewise.
1157 * include/bits/stl_raw_storage_iter.h: Likewise.
1158 * include/bits/stl_relops.h: Likewise.
1159 * include/bits/stl_set.h: Likewise.
1160 * include/bits/stl_stack.h: Likewise.
1161 * include/bits/stl_tempbuf.h: Likewise.
1162 * include/bits/stl_threads.h: Likewise.
1163 * include/bits/stl_tree.h: Likewise.
1164 * include/bits/stl_uninitialized.h: Likewise.
1165 * include/bits/stl_vector.h: Likewise.
1166 * include/bits/type_traits.h: Likewise.
1167 * include/ext/hash_map: Likewise.
1168 * include/ext/hash_set: Likewise.
1169 * include/ext/rope: Likewise.
1170 * include/ext/ropeimpl.h: Likewise.
1171 * include/ext/slist: Likewise.
1172 * include/ext/stl_hash_fun.h: Likewise.
1173 * include/ext/stl_hashtable.h: Likewise.
1174 * include/ext/stl_rope.h: Likewise.
1175 * libsupc++/unwind-cxx.h: Likewise.
1176 * src/bitset.cc: Likewise.
1177 * src/strstream.cc: Likewise.
1179 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1181 * include/bits/indirect_array.h (indirect_array<>::operator=):
1182 Make copy and assignment operator public. Implement. Format.
1184 * include/bits/valarray_array.h (__valarray_copy): Add overloads
1185 for copy between index arrays. Format.
1187 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
1189 * mknumeric_limits: Add static definitions, format.
1190 * testsuite/18_support/numeric_limits.cc (test02): Add test.
1192 * include/c_std/bits/std_cwchar.h: Include ctime.
1193 * testsuite/17_intro/header_cwchar.cc : Check.
1195 * include/c_std/bits/std_cwctype.h: Inject wctype.
1196 * testsuite/17_intro/header_cwctype.cc: Update.
1198 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
1200 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
1201 * testsuite/20_util/raw_storage_iterator.cc: Same.
1203 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
1205 (__mem_interface): New typedef for switching between malloc and new.
1206 * testsuite/20_util/allocator_members.cc: New file.
1208 * testsuite/20_util/comparisons.cc: New file.
1209 * testsuite/20_util/pairs.cc: New file.
1211 2001-06-15 Phil Edwards <pme@sources.redhat.com>
1213 * docs/html/documentation.html: Point to new doxygen'ed collection.
1215 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
1217 * configure.in (auxdir): Replace by ...
1218 (toprel): ... new variable.
1219 (toplevel_srcdir): Construct from $toprel.
1220 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
1221 rather than .. to locate gcc source directory.
1222 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
1223 * aclocal.m4, configure: Rebuilt.
1225 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
1227 (Approved by Mark and Benjamin. Applied by Loren.)
1229 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
1230 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
1231 and _GLIBCPP_mutex_address.
1232 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
1233 once-only runtime initialization of _M_lock mutex when
1234 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
1235 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
1236 for __GTHREAD_MUTEX_INIT_FUNCTION case.
1238 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1240 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
1242 * include/bits/slice_array.h (slice_array<>::operator=): Make
1243 public and implement.
1244 (slice_array<>::slice_array): Make copy-constructor public.
1246 * include/bits/valarray_array.h (__valarray_copy): Add another
1247 overload to copy between strided arrays.
1249 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
1251 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
1252 * aclocal.m4: Regenerate.
1253 * configure: Regenerate.
1254 * include/bits/c++config (__GLIBCPP__): Update date.
1256 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
1258 * include/bits/fpos.h (fpos::operator-): Don't return reference,
1259 return original, non-modified version.
1260 (fpos::operator+): Same.
1261 * testsuite/27_io/fpos.cc: Add test.
1263 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
1266 * porting.texi: Add documentation about libstdc++-v3-specific
1267 macros that are currently included in os_defines.h files.
1269 * config/basic_file_stdio.h (sys_getc): New method.
1270 (sys_ungetc): New method.
1271 * include/bits/basic_file.h: (sys_getc): New method signature.
1272 (sys_ungetc): New method signature.
1274 * include/bits/fstream.tcc (underflow): Add conditional code
1275 paths which avoid using short seeks on streams (especially
1276 useful when the stream might be interactive or a pipe). At
1277 the moment, this alternate path only avoids seeking when the
1278 ``buffer size'' of underflow() is 1 since the C standard only
1279 guarantees buffer space for one ungetc (this technique could
1280 be extended since *-*-solaris* supports buffering for 4 calls
1281 to ungetc and *-*-*bsd* supports buffering limited only by
1282 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
1283 in a port's os_defines.h file for this alternate path to even
1284 be considered. As a bonus, the idiom of using getc/ungetc
1285 requires no system calls whereas fseek maps to one or two
1286 system call(s) on many platforms.
1288 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
1290 * config/os/solaris/solaris2.5/bits/os_defines.h
1291 (_GLIBCPP_AVOID_FSEEK): Likewise.
1292 * config/os/solaris/solaris2.6/bits/os_defines.h
1293 (_GLIBCPP_AVOID_FSEEK): Likewise.
1294 * config/os/solaris/solaris2.7/bits/os_defines.h
1295 (_GLIBCPP_AVOID_FSEEK): Likewise.
1297 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
1299 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
1300 AC_TRY_COMPILE, so that the built compiler is checked, and
1301 bootstraps or cross compiles with an older compile still work.
1302 * aclocal.m4: Regenerate.
1303 * configure: Regenerate.
1305 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
1308 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
1311 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
1314 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
1317 * include/bits/limits_generic.h: Fix as per DR 184.
1319 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
1322 * include/bits/basic_string.h (string::compare): Adjust signatures
1324 * include/bits/basic_string.tcc: And here.
1327 * config/c_io_stdio.h: Remove whitespace.
1328 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
1329 (test02): Add regression.
1330 * testsuite/27_io/istream_seeks-3.tst: New file.
1332 2001-06-11 Phil Edwards <pme@sources.redhat.com>
1334 * README: Update to reflect reality.
1335 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
1336 * configure.in: Make certain target_alias is set and subst'd for 2.50.
1337 * aclocal.m4: Regenerate.
1338 * configure: Regenerate (with 2.13).
1340 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
1343 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
1345 * include/bits/istream.tcc (istream::seekg): Same.
1346 * testsuite/27_io/istream_seeks.cc: Fix.
1349 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
1351 * include/bits/std_queue.h: Add c++config.h.
1352 * testsuite/20_util/binders.cc: New test.
1354 2001-06-11 Matthias Klose <doko@debian.org>
1355 Phil Edwards <pme@sources.redhat.com>
1357 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
1358 (main script): Echo more information.
1360 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
1362 * include/c_std/bits/std_cwchar.h: Alphabetize.
1363 * include/bits/char_traits.h: Tweak.
1364 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
1365 everything used by std_cwchar.h.
1366 * aclocal.m4: Regenerate.
1367 * configure.in: Regenerate.
1368 * config.h.in: Regenerate.
1370 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
1372 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
1373 Add checking for strtof, _Exit in stdlib.h
1374 * aclocal.m4: Regenerate.
1375 * configure.in: Regenerate.
1376 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
1377 (snprintf): Put C99 functions into __gnu_cxx namespace.
1382 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
1383 for C99 functions within _GLIBCPP_USE_C99 guard.
1387 * include/bits/locale_facets.tcc: Check if C99 is enabled.
1388 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
1390 * include/c_std/bits/cmath.tcc: Formatting tweak.
1391 * include/c_std/bits/std_cmath.h: Same.
1393 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
1395 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
1397 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
1398 Stephen L Moshier <moshier@mediaone.net>
1400 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
1401 nothing, as in autoconf 2.50.
1402 * configure: Rebuilt.
1404 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
1406 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
1407 include std_cstddef.
1408 * include/c_std/bits/std_ctime.h: Same.
1409 * include/c_std/bits/std_cstring.h: Same.
1410 * include/c_std/bits/std_cstdlib.h: Same.
1412 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
1413 * include/c_std/bits/std_cctype.h: Remove isblank.
1415 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
1417 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
1419 * aclocal.m4: Regenerate.
1420 * configure: Regenerate.
1421 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
1422 injection, guard fgetwc, fgetws.
1423 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
1424 * include/c_std/bits/std_clocale.h: And here.
1425 * include/c_std/bits/std_cctype.h: And here.
1426 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
1428 * config/basic_file_stdio.h: Don't include unistd.h.
1429 * config/c_io_stdio.h: Don't use compatibility headers.
1430 * libsupc++/eh_terminate.cc: Qualify abort.
1431 (__terminate): And here.
1432 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
1434 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
1436 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
1438 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
1443 * include/std/*: Add copyright notice.
1444 * include/c_std/bits/*: Use using statements instead of extern "C".
1445 * include/c_std/bits/std_cmath.h: Don't overload double versions
1446 of math functions with __buitin versions, use global version to
1447 prevent ambiguities. Remove define hacks.
1448 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
1449 functions that have changed signatures and std::
1450 declarations. Remove define hacks.
1451 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
1452 __builtins in std::. Remove define hacks.
1453 * testsuite/17_intro/headers_c.cc: Add tests.
1454 * testsuite/17_intro/headers_c++.cc: Add test.
1456 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
1457 John David Anglin <dave@hiauly1.hia.nrc.ca>
1460 * libsupc++/eh_alloc.cc: Ensure that required macros are
1461 defined before including gthr.h. Ensure that we get the
1462 version of gthr.h for which we know how to provide a
1464 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
1465 code path into line with the current EH model. Use std, where
1468 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
1469 John David Anglin <dave@hiauly1.hia.nrc.ca>
1471 * config/threads-no.h: Remove file.
1472 * config/threads-posix.h: Remove file.
1474 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
1475 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
1476 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
1477 * config.h.in: Regenerate.
1479 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
1480 setup and use gthr*.h files. In particular, make gthr.h files
1481 namespace-clean in the staging area (they don't have to be for
1483 * aclocal.m4: Regenerate.
1484 * configure: Regenerate.
1486 * src/Makefile.am (build_headers): Remove bits/c++threads.h
1487 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
1488 * src/Makefile.in: Regenerate.
1490 * include/bits/c++config: Cleanup threading configuration macros.
1491 In particular, define __STL_GTHREADS macro which controls...
1492 * include/bits/stl_threads.h: ...a brand new gthr.h-based
1495 * config/c_io_stdio.h: Include staged gthr.h instead of local
1496 thread configuration file. Always use __gthread_mutex_t
1497 instead of __mutext_type (or int).
1498 * include/bits/std_fstream.h: Likewise.
1500 * docs/html/17_intro/howto.html: Remove placeholder comment in
1501 case this configuration patch didn't make it. Add advice that
1502 section only applies if configured with --enable-threads.
1503 * docs/html/23_containers/howto.html: Reword to make clear
1504 that _PTHREADS is no longer required for any port to be
1505 correctly using STL with threads. Add advice that section
1506 only applies if configured with --enable-threads.
1508 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
1510 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
1512 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
1515 * include/bits/basic_ios.tcc: Formatting tweaks.
1516 * include/bits/ios_base.h: Formatting tweaks.
1517 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
1518 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
1519 * src/globals.cc: Allocate filebufs for standard streams here.
1520 (buf_cout, buf_cin, buf_cerr): Like so.
1521 (buf_wcout, buf_wcin, buf_wcerr): And so.
1522 * testsuite/27_io/ios_init.cc: Add.
1524 2001-06-04 Brendan Kehoe <brendan@zen.org>
1525 Benjamin Kosnik <bkoz@redhat.com>
1528 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
1529 for generic ctype virtuals.
1530 * src/locale.cc: Minor tweaks, naming consistency.
1531 * testsuite/22_locale/ctype.cc: Add test.
1533 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
1534 Phil Edwards <pme@sources.redhat.com>
1536 PR libstdc++/3035 and PR libstdc++/3036
1537 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
1538 to LWG DR 181 and 265.
1540 2001-06-04 Phil Edwards <pme@sources.redhat.com>
1543 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
1544 equal_range): Add const overloads as per LWG DR 214.
1545 * include/bits/stl_set.h: Likewise.
1547 2001-06-04 Brendan Kehoe <brendan@zen.org>
1548 Phil Edwards <pme@sources.redhat.com>
1551 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
1552 comparison; all positions must be < _Nb.
1553 * testsuite/23_containers/bitset_members.cc: New file.
1555 2001-06-04 Brendan Kehoe <brendan@zen.org>
1558 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
1559 ctors to match the standard.
1561 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
1563 * include/bits/char_traits.h (move): Reverse qualification of
1565 (copy): Reverse qualification of memcpy with std::.
1567 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
1569 * include/bits/char_traits.h (move): Qualify memmove with std::.
1570 (copy): Qualify memcpy with std::.
1571 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
1574 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
1576 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
1578 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
1579 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
1580 SUN make VPATH peculiarities.
1581 * libsupc++/Makefile.in: Regenerate.
1583 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
1585 * src/Makefile.am (VPATH): Delimit with ":", not space.
1586 * src/Makefile.in: Regenerate.
1588 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
1590 * configure: Regenerate.
1592 2001-05-31 scott snyder <snyder@fnal.gov>
1595 * include/bits/istream.tcc: Include std_ostream.h.
1597 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
1600 * src/bitset.cc: Qualify size_t with std::.
1602 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
1604 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
1605 (_GLIBCPP_BUGGY_COMPLEX): Remove.
1606 * config.h.in: Regenerate.
1607 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
1608 * aclocal.m4: Regenerate.
1609 * configure.in: Don't call it.
1610 * configure: Regenerate.
1613 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
1614 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
1618 * include/bits/std_complex.h: Include sstream. Put definitions for
1619 complex inserters and extractors here, and remove them from...
1620 * src/complex_io.cc: ...here.
1621 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
1623 (basic_ios::__numget_type): Same.
1624 * include/bits/std_istream.h: Same.
1625 * include/bits/std_ostream.h: Same.
1626 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
1627 class iterator template arguments.
1628 * src/locale-inst.cc: Add explicit has_facet instantiations.
1629 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
1630 (_M_get_fnumput): Remove.
1631 (_M_get_fnumget): Remove.
1632 (basic_ios::_M_check_facet): New function.
1633 (basic_ios::_M_cache_facets): New function.
1634 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
1635 (basic_ios::imbue): Call _M_cache_facets.
1636 (basic_ios::init): Same.
1637 * include/bits/istream.tcc: Format, use _M_check_facet.
1638 * include/bits/ostream.tcc: Same.
1639 * include/bits/locale_facets.tcc (__output_float): Change
1640 signature, add _Traits.
1641 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
1644 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
1646 * include/bits/c++config (__USE_MALLOC): Do not define it.
1647 Document why not and give pointers to more information.
1649 * docs/html/23_containers/howto.html: Update documentation
1650 to reflect recent understanding of problem.
1651 * docs/html/17_intro/howto.html: Likewise.
1653 2001-05-30 Phil Edwards <pme@sources.redhat.com>
1655 * docs/doxygen/user.cfg.in: Minor addition.
1656 * docs/html/documentation.html: Reorganize. Put most-looked-at
1658 * docs/html/install.html: Update for 3.0. HTML fixups.
1659 * docs/html/17_intro/howto.html: Likewise.
1660 * docs/html/18_support/howto.html: Likewise.
1661 * docs/html/19_diagnostics/howto.html: Likewise.
1662 * docs/html/20_util/howto.html: Likewise.
1663 * docs/html/23_containers/howto.html: Likewise.
1664 * docs/html/24_iterators/howto.html: Likewise. More notes.
1665 * docs/html/25_algorithms/howto.html: Likewise.
1666 * docs/html/26_numerics/howto.html: Likewise. More notes.
1667 * docs/html/27_io/howto.html: Likewise.
1668 * docs/html/ext/howto.html: Likewise.
1669 * docs/html/faq/index.html: Likewise.
1670 * docs/html/faq/index.txt: Regenerate.
1671 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
1672 Doxygen-created documentation.
1674 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1676 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
1677 get_multilibs to find gcc.
1679 2001-05-30 Phil Edwards <pme@sources.redhat.com>
1681 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
1682 * aclocal.m4: Regenerate.
1683 * configure: Regenerate.
1685 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1687 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
1688 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
1690 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1692 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
1693 * include/c_std/bits/std_cstdlib.h: Same.
1694 * include/c_std/bits/std_cwchar.h: Same.
1696 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
1698 * docs/html/17_intro/howto.html: Update link.
1699 * docs/html/23_containers/howto.html: Likewise. Add new link.
1701 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
1703 * include/c_std/bits/std_cmath.h (sqrt): #undef.
1705 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1707 * mknumeric_limits: Stop if gen-num-limits dies.
1709 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
1712 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
1713 * aclocal.m4: Regenerate.
1716 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1717 Phil Edwards <pme@sources.redhat.com>
1718 Alexandre Oliva <aoliva@redhat.com>
1720 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
1721 in an amd-safe manner. Revert glibcpp_prefixdir.
1723 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
1725 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
1726 fabs, sin, sqrt. They are now implemented in terms of __builtin_
1729 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
1732 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
1733 * include/bits/ostream.tcc: Format to match istream.tcc.
1734 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
1736 2001-05-24 Phil Edwards <pme@sources.redhat.com>
1738 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
1740 (__cxa_free_exception): Likewise with free.
1742 2001-05-24 Mark Mitchell <mark@codesourcery.com>
1744 * include/c_std/bin/std_cstring.h: #define away all global
1745 functions we will redeclare in namespace `std'.
1746 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
1747 std::memset, instead of memset.
1748 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
1750 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
1753 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
1756 * include/bits/basic_ios.tcc: Small tweak.
1757 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
1758 ctors and dtors, and rdbuf settings.
1761 * include/bits/std_sstream.h: Same, but for stringstream classes.
1762 * testsuite/27_io/ostringstream_members.cc: New.
1763 * testsuite/27_io/stringstream_members.cc: New.
1764 * testsuite/27_io/fstream_members.cc: New.
1765 * testsuite/27_io/ifstream_members.cc: Add test.
1766 * testsuite/27_io/istringstream_members.cc: Add test.
1767 * testsuite/27_io/ofstream_members.cc: Add test.
1769 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1771 * include/bits/c++config(__NO_MATH_INLINES): Move to...
1772 * config/os/gnu-linux/bits/os_defines.h: ...here.
1774 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
1776 * include/bits/c++config (__NO_MATH_INLINES): New macro.
1777 * testsuite/26_numerics/fabs_inline.cc (main): New test.
1779 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
1782 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
1784 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
1785 (libstdc++-v3-finish): Remove.
1786 (libstdc++-v3_exit): Remove.
1788 2001-05-22 Phil Edwards <pme@sources.redhat.com>
1790 * docs/html/documentation.html: Point to doxygen output.
1792 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
1794 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
1796 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
1797 arguments to be non-null.
1798 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
1799 try allocations if allocated size is greater than zero.
1800 (filebuf::_M_filebuf_init): Change to
1801 (filebuf::_M_allocate_file): Which is what it does now.
1802 (filebuf::_M_allocate_bufers): Change to
1803 (filebuf::_M_allocate_internal_buffer): This, and create
1804 (filebuf::_M_allocate_pback_buffer): New.
1805 (filebuf::_M_destroy_internal_buffer): New.
1806 (filebuf::_M_buf_allocated): New data member.
1807 (filebuf::setbuf): Use new logic, allow use of external buffer.
1808 * testsuite/27_io/stringbuf_virtuals.cc: New file.
1809 * testsuite/27_io/filebuf_virtuals.cc: New file.
1811 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
1813 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
1815 (strchr): Same, but to __glibcpp_strchr.
1819 * include/c_std/bits/std_cwchar.h (wcschr): Same.
1825 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
1827 * testsuite/21_strings/c_strings.cc (main): Fix.
1829 2001-05-19 Phil Edwards <pme@sources.redhat.com>
1831 * acinclude.m4: Fix --help spacing, correct comments.
1832 * aclocal.m4: Regenerate.
1833 * configure: Regenerate.
1834 * mkcheck.in: Add usage comments.
1835 * docs/html/documentation.html: Point to doxygen'd tarball.
1837 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
1839 * testsuite/README: Add notes.
1841 * src/Makefile.am (libstdc++.INC): Remove.
1842 * src/Makefile.in: Regenerate.
1844 Phil Edwards <pedwards@disaster.jaj.com>
1845 * mkcheck.in: Add missing '#'.
1847 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1849 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
1850 appropriately for remote testing and testing installed files without
1853 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
1855 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
1856 amd glibcpp_prefixdir with absolute paths.
1858 * include/bits/c++config (__GLIBCPP__): Bump.
1859 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
1861 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
1863 * include/bits/std_valarray.h (valarray<>::operator[] const):
1864 Return a const reference.
1865 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
1867 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
1869 * configure.target (ATOMICITYH): Actually use AIX-specific code on
1870 earlier versions of AIX 4.*.
1872 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1874 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
1875 output_file based on the name of the testcase.
1877 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1879 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
1880 gluefile and use it if needs_status_wrapper is set.
1882 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
1884 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
1887 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
1889 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
1890 on earlier versions of AIX.
1892 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
1894 * testsuite_flags.in (query): Add backwards, ext directories.
1896 2001-05-15 Mark Mitchell <mark@codesourcery.com>
1898 * porting.texi: Correct documentation about handling
1899 _LARRGEFILE_SOURCE and its ilk.
1900 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1901 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
1903 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
1904 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
1906 2001-05-15 Zack Weinberg <zackw@stanford.edu>
1908 * testsuite/21_strings/inserters_extractors.cc,
1909 testsuite/27_io/istream_unformatted.cc,
1910 testsuite/27_io/stringstream.cc:
1911 Replace multi-line string constants with C89-style
1912 concatenated string constants.
1914 2001-05-14 Richard Henderson <rth@redhat.com>
1916 * mknumeric_limits: Build with -fno-exceptions.
1918 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
1920 Switch over to new harness.
1921 * testsuite_flags.in: Tweaks via Gaby.
1922 * testsuite/Makefile.am: Change tool to libstdc++-v3.
1923 (EXPECT): Quote directly.
1925 * configure.in: Output testsuite_flags.
1926 * acinclude.m4: Substitute src, bld, and prefix dirs.
1927 Remove glibcpp_expect, glibcpp_runtestflags.
1928 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
1929 * mkcheck.in: Port to new interface.
1931 * aclocal.m4: Regerate.
1932 * configure: Regnerate.
1933 * Makefile.in: Regnerate.
1934 * */Makefile.in: Regenerate.
1936 * tests_flags.in: Remove.
1937 * testsuite/lib/libstdc++.exp: Remove.
1938 * testsuite/libstdc++.tests/tests.exp: Remove.
1940 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
1942 * configure.target: Remove detection of AIX pthread multilib, now
1943 obtained from `gcc -v'.
1945 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
1947 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
1948 size. Add hpux case for HP size.
1950 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
1952 * testsuite_flags.in: New, simplified interface.
1953 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
1954 * testsuite/libstdc++-v3.dg: Add.
1955 * testsuite/libstdc++-v3.dg/dg.exp: Add.
1957 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
1959 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
1960 * testsuite/config/default.exp: Update bugs email address.
1962 2001-05-11 Richard Henderson <rth@redhat.com>
1964 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
1965 all pointer encoding logic.
1966 (struct lsda_header_info): Add ttype_base.
1967 (get_ttype_entry): Use it instead of a context.
1968 (check_exception_spec): Likewise.
1969 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
1970 the c++ exception header for __cxa_call_unexpected.
1971 (__cxa_call_unexpected): Use it.
1973 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
1975 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
1976 libgloss_link_flags to find crt0.o for targets that use libgloss
1978 Change LDFLAGS to LIBS.
1979 Consistently name procedures libstdc++-XXX.
1980 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
1982 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
1984 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
1989 * include/c_std/bits/std_cwchar.h (wcschr): Same.
1994 * testsuite/21_strings/c_strings.cc: Add tests.
1996 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
1999 * include/bits/std_fstream.h (basic_filebuf): Change signature.
2000 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
2001 to int_type, pass in buffer size info.
2002 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
2003 unbuffered situation.
2004 (underflow): Remove codecvt bits for the time being.
2005 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
2006 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
2007 values from iterators, clean.
2008 * src/locale.cc: Ditto.
2009 * include/bits/sbuf_iter.h: Format.
2010 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
2011 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
2012 * testsuite/27_io/filebuf.cc: Tweaks.
2013 * testsuite/27_io/filebuf_members.cc: Tweaks.
2015 2001-05-07 Mark Mitchell <mark@codesourcery.com>
2017 * config/os/solaris/solaris2.7/bits/os_defines.h
2018 (_LARGEFILE_SOURCE): Define it.
2020 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
2022 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
2023 -prefer-non-pic depending on whether libtool has shared libraries
2024 enabled or disabled.
2025 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
2026 $(LIBSUPCXX_PICFLAGS).
2027 * configure, */Makefile.in: Rebuilt.
2029 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
2031 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
2032 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
2034 * include/bits/std_sstream.h (stringbuf): Leak
2036 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
2038 2001-05-01 Tom Browder <tbrowder@home.com>
2040 * docs/html/ext/howto.html: Fix typo.
2042 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
2044 * testsuite/libstdc++.tests/tests.exp: Add comment.
2046 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
2048 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
2050 2001-04-30 Mark Mitchell <mark@codesourcery.com>
2052 * porting.texi: Use the GFDL.
2054 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
2057 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
2058 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
2061 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
2064 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
2066 2001-04-28 Phil Edwards <pme@sources.redhat.com>
2068 * docs/doxygen/run_doxygen: Minor tweaks.
2069 * docs/doxygen/style.css: New file.
2070 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
2071 latest parameters available. Use style.css.
2073 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
2075 * docs/doxygen/mainpage.doxy: New.
2076 * docs/doxygen/user.cfg.in: Change default configuration. Single
2077 frame, other tweaks.
2079 2001-04-26 Mark Mitchell <mark@codesourcery.com>
2081 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
2082 Indicate obsolete nature of thelist for G++ 3.0.
2084 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
2086 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
2087 target_thread_file with `gcc -v'.
2088 * aclocal.m4, configure: Rebuilt.
2090 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
2092 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
2093 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
2094 * include/c_std/bits/std_cwchar.h (std): Same.
2095 * acconfig.h (std): Remove c99 injection into std.
2096 * config.h.in: Regenerate.
2098 * testsuite/README: Fix typo.
2100 * include/bits/codecvt.h: Remove warnings.
2102 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2104 * include/ext/slist: Include required header files.
2106 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
2108 * include/c_std/bits/std_cerrno.h (errno): Define macro from
2109 identifier declared with external linkage, if needed.
2110 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
2111 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
2113 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
2115 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
2116 re-configures find the build compiler.
2117 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
2119 * aclocal.m4: Regenerate.
2120 * configure: Regenerate.
2122 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
2124 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
2125 support is enabled correctly before long long is activated.
2126 * aclocal.m4: Regenerate.
2127 * configure: Regenerate.
2129 * include/backward/backward_warning.h: Format correctly.
2131 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
2132 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
2133 * testsuite/26_numerics/c99_macros.cc: Remove.
2135 2001-04-20 Phil Edwards <pme@sources.redhat.com>
2137 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
2138 __iterator_category.
2140 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
2142 * acconfig.h (_GLIBCPP_USE_C99): Add.
2143 * config.h.in: Regenerate.
2144 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
2146 * aclocal.m4: Regenerate.
2147 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
2148 * configure: Regenerate.
2149 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
2150 * configure: Regenerate.
2151 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
2153 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
2155 * include/c_std/bits/std_cstdlib.h: Same.
2156 * docs/html/configopts.html: Update.
2157 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
2159 (test_c99_classify): Add.
2160 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
2161 (_ISOC99_SOURCE): Remove.
2163 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
2164 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
2165 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
2166 * aclocal.m4: Regenerate.
2167 * configure: Regenerate.
2169 2001-04-19 Phil Edwards <pme@sources.redhat.com>
2171 * Makefile.am (doxygen): Assume script is missing execute perms.
2172 * Makefile.in: Regenerated.
2173 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
2175 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
2177 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
2179 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
2181 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
2182 * testsuite/23_containers/set_operators.cc: Same.
2184 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
2186 (__GLIBCPP__): Bump from value of last release.
2187 * include/bits/concept_check.h: Default to off, edit comments.
2188 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
2189 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
2190 * src/Makefile.in: Regenerate.
2192 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
2194 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
2195 Properly uglify member.
2197 2001-04-13 Phil Edwards <pme@sources.redhat.com>
2199 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
2203 2001-04-13 Phil Edwards <pme@sources.redhat.com>
2205 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
2206 * include/bits/concept_check.h: Uglify.
2207 * include/bits/stl_algo.h: Likewise.
2208 * include/bits/stl_algobase.h: Likewise.
2209 * include/bits/stl_deque.h: Likewise.
2210 * include/bits/stl_heap.h: Likewise.
2211 * include/bits/stl_iterator_base_funcs.h: Likewise.
2212 * include/bits/stl_list.h: Likewise.
2213 * include/bits/stl_map.h: Likewise.
2214 * include/bits/stl_multimap.h: Likewise.
2215 * include/bits/stl_multiset.h: Likewise.
2216 * include/bits/stl_numeric.h: Likewise.
2217 * include/bits/stl_queue.h: Likewise.
2218 * include/bits/stl_set.h: Likewise.
2219 * include/bits/stl_stack.h: Likewise.
2220 * include/bits/stl_vector.h: Likewise.
2221 * include/ext/hash_map: Likewise.
2222 * include/ext/hash_set: Likewise.
2223 * include/ext/slist: Likewise.
2225 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
2227 * testsuite/23_containers/set_operators.cc: Just try to compile.
2229 * testsuite/23_containers/map_operators.cc: Same.
2231 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
2233 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
2235 (dg-test): Revert rth's change.
2237 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
2239 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
2240 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
2242 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
2244 * testsuite/README: Add DejaGnu specific documentation.
2246 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
2248 * acinclude.m4: AC_CHECK_TOOL for expect.
2249 * aclocal.m4: Regenerate.
2250 * configure: Regenerate.
2251 * testsuite/Makefile.am (RUNTEST): Use substituted.
2254 * configure.in: Remove xcompiling substitution.
2255 * tests_flags.in (CROSS_LIB_PATH): Remove.
2256 (xcompiling): Remove.
2257 (CXX): Use substituted CXX.
2259 2001-04-11 Richard Henderson <rth@redhat.com>
2261 * testsuite/lib/libstdc++.exp: Specify path for output_file.
2263 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
2265 * include/bits/std_valarray.h(valarray<>::operator[]): Make
2268 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
2270 * testsuite/25_algorithms/equal.cc: New test.
2272 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
2274 * stl_algobase.h (std::equal): avoid use of possibly-undefined
2275 operator != (one line patch).
2277 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
2279 * include/backward/backward_warning.h: Re-enable.
2281 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
2282 Alexandre Oliva <aoliva@redhat.com>
2284 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
2286 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
2288 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
2289 * testsuite/26_numerics/c99_macros.cc: Add test.
2291 2001-04-06 Phil Edwards <pme@sources.redhat.com>
2293 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
2294 * docs/html/faq/index.txt: Regenerated.
2296 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
2298 * include/backward/backward_warning.h: Temporarily disable until
2299 g++ testsuite changes go in.
2300 * tests_flags.in (CROSS_LIB_PATH): Add.
2302 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
2304 Warn when using backward headers.
2305 * include/backward/algo.h: Include warning file.
2306 * include/backward/vector.h: Same.
2307 * include/backward/tree.h: Same.
2308 * include/backward/tempbuf.h: Same.
2309 * include/backward/strstream: Same.
2310 * include/backward/streambuf.h: Same.
2311 * include/backward/stream.h: Same.
2312 * include/backward/stack.h: Same.
2313 * include/backward/slist.h: Same.
2314 * include/backward/set.h: Same.
2315 * include/backward/rope.h:
2316 * include/backward/queue.h: Same.
2317 * include/backward/pair.h: Same.
2318 * include/backward/ostream.h: Same.
2319 * include/backward/new.h: Same.
2320 * include/backward/multiset.h: Same.
2321 * include/backward/multimap.h: Same.
2322 * include/backward/map.h: Same.
2323 * include/backward/list.h: Same.
2324 * include/backward/iterator.h: Same.
2325 * include/backward/istream.h: Same.
2326 * include/backward/iostream.h:
2327 * include/backward/iomanip.h:
2328 * include/backward/heap.h: Same.
2329 * include/backward/hashtable.h:
2330 * include/backward/hash_set.h:
2331 * include/backward/hash_map.h:
2332 * include/backward/function.h:
2333 * include/backward/fstream.h:
2334 * include/backward/deque.h:
2335 * include/backward/defalloc.h: Same.
2336 * include/backward/complex.h: Same.
2337 * include/backward/bvector.h:
2338 * include/backward/alloc.h:
2339 * include/backward/algobase.h: Same.
2341 * include/backward/backward_warning.h: New file.
2342 * src/Makefile.am (backward_headers): Add backward_warning.h
2343 * src/Makefile.in: Regenerate.
2345 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
2347 * src/Makefile.am (myinstalldirs): Make sure backward directory is
2349 (myinstallheaders): Install backward headers in backward directory.
2350 * src/Makefile.in: Regenerate.
2352 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
2354 Prepare for libstdc++-2.92.
2355 * docs/html/17_intro/RELEASE-NOTES (New): Update.
2356 * docs/html/configopts.html: Fix formatting.
2357 * README (file): Updates.
2358 * include/bits/c++config (__GLIBCPP__): Update.
2360 2001-04-05 Phil Edwards <pme@sources.redhat.com>
2362 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
2364 2001-04-04 Phil Edwards <pme@sources.redhat.com>
2366 * docs/doxygen/user.cfg.in: Extract all non-private members;
2367 reduce confusing documentation output.
2369 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
2371 * include/backward/fstream.h: Add missing semicolons.
2373 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
2375 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
2376 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
2377 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
2378 (ios_base::Init::_S_ios_create): New.
2379 (ios_base::Init::_S_ios_destroy): New.
2380 * include/bits/std_fstream.h: Change ctor args.
2381 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
2382 (ios_base::Init::~Init): Use _S_ios_destroy.
2383 (ios_base::sync_with_stdio): Use new members.
2384 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
2387 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2389 * include/backward/fstream.h: Expose streampos to global
2392 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2394 * include/bits/stl_iterator_base_types.h: Fix typo
2396 2001-04-03 Andreas Schwab <schwab@suse.de>
2398 * include/backward/fstream.h: Define filebuf and wfilebuf.
2400 2001-04-02 Phil Edwards <pme@sources.redhat.com>
2402 New concept checking implementation.
2403 * docs/html/19_diagnostics/howto.html: Document.
2404 * docs/html/17_intro/concept_check.diff: New file, for reference.
2405 * include/bits/boost_concept_check.h: New file from Boost.
2406 * include/bits/c++config: Update comments.
2408 * include/bits/concept_check.h: New file.
2409 * include/bits/concept_checks.h: Removed.
2410 * include/bits/container_concepts.h: Removed.
2411 * include/bits/sequence_concepts.h: Removed.
2412 * include/bits/stl_iterator_base.h: Removed; split into...
2413 * include/bits/stl_iterator_base_funcs.h: ...this new file...
2414 * include/bits/stl_iterator_base_types.h: ...and this new file.
2416 * include/bits/sbuf_iter.h: Update to use new implementation.
2417 * include/bits/std_iterator.h: Likewise.
2418 * include/bits/std_memory.h: Likewise.
2419 * include/bits/stl_algo.h: Likewise.
2420 * include/bits/stl_algobase.h: Likewise.
2421 * include/bits/stl_construct.h: Likewise.
2422 * include/bits/stl_deque.h: Likewise.
2423 * include/bits/stl_heap.h: Likewise.
2424 * include/bits/stl_list.h: Likewise.
2425 * include/bits/stl_map.h: Likewise.
2426 * include/bits/stl_multimap.h: Likewise.
2427 * include/bits/stl_multiset.h: Likewise.
2428 * include/bits/stl_numeric.h: Likewise.
2429 * include/bits/stl_queue.h: Likewise.
2430 * include/bits/stl_set.h: Likewise.
2431 * include/bits/stl_stack.h: Likewise.
2432 * include/bits/stl_uninitialized.h: Likewise.
2433 * include/bits/stl_vector.h: Likewise.
2434 * include/ext/hash_map: Likewise.
2435 * include/ext/hash_set: Likewise.
2436 * include/ext/slist: Likewise.
2437 * include/ext/stl_hashtable.h: Likewise.
2439 * src/Makefile.am (base_headers): Update list of headers.
2440 * Makefile.in: Regenerated.
2441 * src/Makefile.in: Regenerated.
2442 * libio/Makefile.in: Regenerated.
2443 * libmath/Makefile.in: Regenerated.
2444 * libsupc++/Makefile.in: Regenerated.
2445 * testsuite/Makefile.in: Regenerated.
2447 * docs/html/install.html: Update contact information.
2448 * docs/html/17_intro/howto.html: Ditto.
2449 * docs/html/18_support/howto.html: Ditto.
2450 * docs/html/20_util/howto.html: Ditto.
2451 * docs/html/21_strings/howto.html: Ditto.
2452 * docs/html/22_locale/howto.html: Ditto.
2453 * docs/html/23_containers/howto.html: Ditto.
2454 * docs/html/24_iterators/howto.html: Ditto.
2455 * docs/html/25_algorithms/howto.html: Ditto.
2456 * docs/html/26_numerics/howto.html: Ditto.
2457 * docs/html/27_io/howto.html: Ditto.
2458 * docs/html/faq/index.html: Ditto, plus info on new checking code.
2459 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
2460 * docs/html/faq/index.txt: Regenerated.
2462 2001-04-02 Zack Weinberg <zackw@stanford.edu>
2464 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
2465 messages with $which_library as well as $tool_flags and
2466 ${dg-extra-tool-flags}. Factor out annotation text into
2469 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
2471 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
2472 * include/c_std/bits/std_cwchar.h: Same.
2473 * testsuite/21_strings/c_strings.cc: Add.
2475 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
2477 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
2479 2001-04-01 Zack Weinberg <zackw@stanford.edu>
2481 * tests_flags.in: Use test a = b, not test a == b which is not
2484 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
2486 * configure.target: Remove duplicate aix entry.
2488 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
2490 * include/ext/stl_bvector.h: Move to...
2491 * include/bits/stl_vector.h: ...here.
2492 * include/ext/bvector: Move to...
2493 * include/backward/bvector.h: ...here.
2494 * include/bits/std_vector.h: Change stl_bvector include.
2495 * include/bits/std_queue.h: Remove bvector include.
2496 * include/ext/tree: Insert using rb_tree, move to...
2497 * include/backward/tree.h: ...here.
2498 * include/backward/hash_map.h: Include ext/hash_map.
2499 * include/backward/hash_set.h: Include ext/hash_set.
2500 * include/backward/queue.h: New file.
2501 * include/backward/stack.h: Edit.
2502 * include/backward/algo.h: Same.
2503 * include/backward/algobase.h: Same.
2504 * include/backward/alloc.h: Same.
2505 * include/backward/function.h: Same.
2506 * include/backward/iomanip.h: Same.
2507 * include/backward/istream.h: Same.
2508 * include/backward/iterator.h: Same.
2509 * include/backward/list.h: Same.
2510 * include/backward/map.h: Same.
2511 * include/backward/multimap.h: Same.
2512 * include/backward/multiset.h: Same.
2513 * include/backward/ostream.h: Same.
2514 * include/backward/pair.h: Same
2515 * include/backward/rope.h: Same.
2516 * include/backward/set.h: Same.
2517 * include/backward/stream.h: Same.
2518 * include/backward/strstream.h: Same.
2519 * include/backward/tempbuf.h: Same.
2520 * src/Makefile.am (ext_headers): Edit.
2521 * src/Makefile.in: Regenerate.
2522 * testsuite/ext/headers.cc (main): Fix.
2525 2001-03-30 Phil Edwards <pme@sources.redhat.com>
2527 * tests_flags.in (LIBS): Pass correct path for installed testing.
2529 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
2531 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
2532 * tests_flags.in (CXX): Construct here.
2533 (static_fail): Don't remove compile.out. Format with spaces.
2534 (INCLUDES): Deal with xcompiling.
2535 * configure.in (xcompiling): Substitute.
2536 * testsuite/Makefile.am: Snake libjava configury.
2537 * testsuite/Makefile.in: Regenerate.
2538 * testsuite/23_containers/map_operators.cc: Tweaks.
2539 * testsuite/23_containers/set_operators.cc: Tweaks.
2541 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2543 Enable dejagnu testing framework.
2544 * configure.in: Generate testsuite/Makefile.
2545 * configure: Regenerate.
2546 * Makefile.am (check-install): Change rule from this...
2547 (check-script-install): ...to this.
2548 (check): Change rule from this...
2549 (check-script):...to this.
2550 * Makefile.in: Regenerate.
2552 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
2554 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
2556 (LIBTOOL): Let automake take care of its definition.
2557 * libsupc++/Makefile.in: Rebuilt.
2559 2001-03-28 Richard Henderson <rth@redhat.com>
2561 IA-64 ABI Exception Handling:
2562 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
2563 * configure.in: Use it.
2564 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
2565 * libsupc++/Makefile.am (sources): Update files list.
2566 * libsupc++/Makefile.in: Regenerate.
2567 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
2568 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
2569 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
2570 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
2571 * libsupc++/exception_support.cc: Remove.
2572 * libsupc++/exception_support.h: Remove.
2573 * libsupc++/pure.cc: Use std::terminate.
2574 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
2575 (__is_pointer): Remove.
2576 * libsupc++/unwind-cxx.h: New file.
2577 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
2579 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
2581 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
2583 * src/Makefile.am (CXXLINK): Likewise.
2584 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
2586 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
2588 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
2590 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2592 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
2595 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
2597 * include/bits/basic_file.h (get_fileno): Remove.
2598 (_M_fileno): Remove.
2599 (_M_cfile_created): Add.
2600 (basic_file::basic_file(__c_file_type*, openmode): Add.
2601 (basic_file::basic_file(int, const char*, openmode): Remove.
2602 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
2603 const char*, ios_base::openmode): Don't allocate
2604 internal buffers. Turn off internal buffers.
2605 (basic_filebuf::overflow): Remove test for null buffer.
2606 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
2607 * include/bits/streambuf.cc: Tweak.
2608 * include/bits/std_ostream.h: Tweak.
2609 * config/basic_file_libio.h: Same.
2610 * config/basic_file_stdio.h: Same.
2611 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
2612 * testsuite/27_io/filebuf_members.cc: Tweaks.
2613 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
2615 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2617 * Makefile.am: New targets, doxygen and doxygen-maint.
2618 * Makefile.in: Regenerated.
2619 * docs/doxygen/run_doxygen: Finally implemented.
2620 * docs/doxygen/maint.cfg.in: New file.
2621 * docs/doxygen/user.cfg.in: New file.
2623 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2625 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
2626 * src/Makefile.am: Replace leading spaces with tabs on continuation
2628 * aclocal.m4: Regenerated.
2630 * Makefile.in: Ditto.
2631 * src/Makefile.in: Ditto.
2632 * libio/Makefile.in: Ditto.
2633 * libmath/Makefile.in: Ditto.
2634 * libsupc++/Makefile.in: Ditto.
2636 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2638 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
2639 concept-checking code and current status of same.
2640 * docs/html/ext/howto.html: Ditto.
2641 * docs/html/faq/index.html: Ditto.
2642 * docs/html/faq/index.txt: Regenerated.
2644 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2646 * include/bits/std_bitset.h: Include ostream and istream headers
2647 instead of iostream.
2649 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
2651 * include/bits/ostream.tcc: Use __builtin_alloca.
2653 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
2655 * src/misc-inst.cc (__sink_unused_warning): Move to...
2656 * src/locale-inst.cc (__sink_unused_warning): Move to...
2657 * src/stl-inst.cc: Here.
2658 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
2661 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2663 * intclude/bits/basic_file.h: Fix typos in comments.
2665 2001-03-20 Richard Henderson <rth@redhat.com>
2667 * src/gen-num-limits.cc: Instantiate for wchar_t.
2668 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
2670 2001-03-20 Jason Merrill <jason@redhat.com>
2672 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
2673 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
2674 * libsupc++/cxxabi.h: Declare it.
2676 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
2678 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
2679 signal_func with an unspecified argument list.
2681 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
2683 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
2685 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2687 * include/bits/basic_string.tcc (operator+): Fix thinko.
2689 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
2692 * include/bits/std_streambuf.h: Remove cached locale facets.
2693 (basic_streambuf::_M_buf_fctype): Remove.
2694 (basic_streambuf::~basic_streambuf): Remove here.
2695 (basic_streambuf::basic_streambuf): Same.
2696 (basic_streambuf::imbue): Same.
2697 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
2698 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
2699 (basic_filebuf::~basic_filebuf()): Remove here.
2700 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
2701 (basic_filebuf::imbue): Same.
2702 * include/bits/localefwd.h (_Count_ones): Remove.
2703 (locale::_S_num_categories): Just use 6, since this doesn't
2704 actually change, ever.
2705 * include/bits/locale_facets.tcc (has_facet): Simplify.
2707 * testsuite/27_io/filebuf.cc (test06): Add tests.
2709 2001-03-13 Steve Ellcey <sje@cup.hp.com>
2711 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
2712 match HP-UX ctype.h header file.
2714 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
2716 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
2717 duplicate definitions of __dj_ctype_*
2719 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
2721 * libsupc++/new: Remove pragma interface.
2722 * libsupc++/typeinfo: Same.
2723 * libsupc++/exception: Same.
2724 * libsupc++/new_handler.cc: Remove pragma implementation.
2725 (bad_alloc::~bad_alloc()): Add.
2726 * libsupc++/exception_support.cc: Same.
2727 (exception::~exception): Add.
2728 (bad_exception::~bad_exception): Add.
2729 * libsupc++/tinfo.cc: Same.
2730 (bad_cast::~bad_cast): Add.
2731 (bad_typeid::~bad_typeid): Add.
2733 2001-03-13 Phil Edwards <pme@sources.redhat.com>
2735 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
2737 2001-03-12 Felix Lee <flee@redhat.com>
2739 * mkcheck.in: workaround for bash 2.01 IFS bug.
2741 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
2743 Fixups for -fno-for-scope
2744 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
2745 * src/valarray-inst.cc (__gslice_to_index): Same.
2747 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
2749 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
2750 prior to trapping signal (UnixWare 7 workaround).
2752 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
2754 * include/backward/hashtable.h: Same.
2755 * include/backward/rope.h: Fix include.
2757 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
2759 * include/backward/vector.h: Include std_vector.h.
2761 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
2762 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
2765 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2767 * include/ext/stl_hashtable.h: Change type of __n to size_t
2768 * include/backward/bvector.h: Include <ext/stl_bvector.h>
2770 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2772 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
2773 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
2774 Use streamsize, not int_type.
2776 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
2778 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
2781 2001-03-08 Andreas Schwab <schwab@suse.de>
2783 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
2785 * aclocal.m4, configure: Regenerated.
2787 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
2789 * include/bits/std_iosfwd.h: Remove string forward decls here.
2790 * include/bits/stringfwd.h: Add forward decls for char_traits
2792 * config/c_io_libio.h (wstreamoff): Delete.
2793 * config/c_io_stdio.h (wstreamoff): Same.
2794 * include/bits/char_traits.h: Use streamoff not wstreamoff for
2795 char_traits<wchar_t>::off_type.
2796 Remove duplicate typedefs.
2797 * include/bits/fpos.h: Define streampos/wstreampos here.
2798 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
2801 Changeup output files.
2802 * testsuite/27_io/istream_unformatted.cc: Change output files.
2803 * testsuite/27_io/istream_seeks-1.txt: Add.
2804 * testsuite/27_io/istream_seeks-2.tst: Add.
2805 * testsuite/27_io/istream_seeks-1.tst: Add.
2806 * testsuite/27_io/istream_unformatted-2.tst: Delete.
2807 * testsuite/27_io/istream_unformatted-3.tst: Delete.
2808 * testsuite/27_io/istream_unformatted-3.txt: Delete.
2810 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
2812 Add Irix 5.2, 6.3 support.
2813 * config/os/irix/bits: Renamed to...
2814 * config/os/irix/irix6.5/bits: this.
2815 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
2816 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
2817 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
2818 * config/os/irix/irix5.2/bits/ctype_noninline.h
2819 (ctype<char>::ctype): Initialize _M_table with __ctype.
2820 * configure.target: Adjust.
2822 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
2825 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
2826 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
2828 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
2829 (*__pf)(__ios_type&)): Same.
2830 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
2831 (*__pf)(ios_base&))): Same.
2832 * testsuite/27_io/istream_extractor_other.cc: Add tests.
2833 * testsuite/27_io/istream_manip.cc (test01): Fix.
2835 2001-03-06 Nathan Myers <ncm@cantrip.org>
2836 Benjamin Kosnik <bkoz@redhat.com>
2838 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
2839 * testsuite/17_intro/header_cerrno.cc (test01): New file.
2840 * testsuite/17_intro/header_cassert.cc (test01): New file.
2841 * testsuite/17_intro/header_cstddef.cc (test01): New file.
2842 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
2843 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
2845 2001-03-05 scott snyder <snyder@fnal.gov>
2848 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
2850 * include/c_std/bits/std_cstdlib.h: ... to here.
2851 * testsuite/17_intro/header_cstdlib.cc: Add test.
2853 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
2855 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
2857 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
2859 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
2860 definition. Replace enum with static const variables.
2862 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
2863 throw specification, fix typos, use <static_cast>.
2864 (ctype<char>::scan_is): remove throw specification.
2865 (ctype<char>::scan_not): likewise.
2867 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
2868 (ctype<char>::do_toupper(char)): use <static_cast>.
2869 (ctype<char>::do_toupper(char *, const char *)): likewise.
2870 (ctype<char>::do_tolower(char)): likewise.
2871 (ctype<char>::do_tolower(char *, const char *)): likewise.
2873 2001-03-04 Phil Edwards <pme@sources.redhat.com>
2875 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
2876 * include/backward/algo.h: Use std not __STD. Remove unneeded
2877 macros and "never happens" code. Adjust to C++STYLE guidelines.
2878 * include/backward/algobase.h: Likewise.
2879 * include/backward/alloc.h: Likewise.
2880 * include/backward/bvector.h: Likewise.
2881 * include/backward/deque.h: Likewise.
2882 * include/backward/function.h: Likewise.
2883 * include/backward/hash_map.h: Likewise.
2884 * include/backward/hash_set.h: Likewise.
2885 * include/backward/hashtable.h: Likewise.
2886 * include/backward/heap.h: Likewise.
2887 * include/backward/iterator.h: Likewise.
2888 * include/backward/list.h: Likewise.
2889 * include/backward/map.h: Likewise.
2890 * include/backward/multimap.h: Likewise.
2891 * include/backward/multiset.h: Likewise.
2892 * include/backward/pair.h: Likewise.
2893 * include/backward/rope.h: Likewise.
2894 * include/backward/set.h: Likewise.
2895 * include/backward/slist.h: Likewise.
2896 * include/backward/stack.h: Likewise.
2897 * include/backward/strstream: Likewise.
2898 * include/backward/tempbuf.h: Likewise.
2899 * include/backward/tree.h: Likewise.
2900 * include/backward/vector.h: Likewise.
2901 * include/bits/basic_ios.h: Likewise.
2902 * include/bits/basic_ios.tcc: Likewise.
2903 * include/bits/basic_string.h: Likewise.
2904 * include/bits/c++config: Likewise.
2905 * include/bits/concept_checks.h: Likewise.
2906 * include/bits/fpos.h: Likewise.
2907 * include/bits/fstream.tcc: Likewise.
2908 * include/bits/functexcept.h: Likewise.
2909 * include/bits/ios_base.h: Likewise.
2910 * include/bits/istream.tcc: Likewise.
2911 * include/bits/mask_array.h: Likewise.
2912 * include/bits/ostream.tcc: Likewise.
2913 * include/bits/pthread_allocimpl.h: Likewise.
2914 * include/bits/sbuf_iter.h: Likewise.
2915 * include/bits/slice.h: Likewise.
2916 * include/bits/slice_array.h: Likewise.
2917 * include/bits/sstream.tcc: Likewise.
2918 * include/bits/std_bitset.h: Likewise.
2919 * include/bits/std_fstream.h: Likewise.
2920 * include/bits/std_iomanip.h: Likewise.
2921 * include/bits/std_ios.h: Likewise.
2922 * include/bits/std_istream.h: Likewise.
2923 * include/bits/std_iterator.h: Likewise.
2924 * include/bits/std_memory.h: Likewise.
2925 * include/bits/std_ostream.h: Likewise.
2926 * include/bits/std_sstream.h: Likewise.
2927 * include/bits/std_streambuf.h: Likewise.
2928 * include/bits/std_string.h: Likewise.
2929 * include/bits/std_valarray.h: Likewise.
2930 * include/bits/stl_algo.h: Likewise.
2931 * include/bits/stl_algobase.h: Likewise.
2932 * include/bits/stl_alloc.h: Likewise.
2933 * include/bits/stl_construct.h: Likewise.
2934 * include/bits/stl_deque.h: Likewise.
2935 * include/bits/stl_function.h: Likewise.
2936 * include/bits/stl_heap.h: Likewise.
2937 * include/bits/stl_iterator.h: Likewise.
2938 * include/bits/stl_iterator_base.h: Likewise.
2939 * include/bits/stl_list.h: Likewise.
2940 * include/bits/stl_map.h: Likewise.
2941 * include/bits/stl_multimap.h: Likewise.
2942 * include/bits/stl_multiset.h: Likewise.
2943 * include/bits/stl_numeric.h: Likewise.
2944 * include/bits/stl_pair.h: Likewise.
2945 * include/bits/stl_pthread_alloc.h: Likewise.
2946 * include/bits/stl_queue.h: Likewise.
2947 * include/bits/stl_raw_storage_iter.h: Likewise.
2948 * include/bits/stl_relops.h: Likewise.
2949 * include/bits/stl_set.h: Likewise.
2950 * include/bits/stl_stack.h: Likewise.
2951 * include/bits/stl_tempbuf.h: Likewise.
2952 * include/bits/stl_threads.h: Likewise.
2953 * include/bits/stl_tree.h: Likewise.
2954 * include/bits/stl_uninitialized.h: Likewise.
2955 * include/bits/stl_vector.h: Likewise.
2956 * include/bits/streambuf.tcc: Likewise.
2957 * include/bits/type_traits.h: Likewise.
2958 * include/bits/valarray_meta.h: Likewise.
2959 * include/ext/bvector: Likewise.
2960 * include/ext/hash_map: Likewise.
2961 * include/ext/hash_set: Likewise.
2962 * include/ext/ropeimpl.h: Likewise.
2963 * include/ext/slist: Likewise.
2964 * include/ext/stl_bvector.h: Likewise.
2965 * include/ext/stl_hash_fun.h: Likewise.
2966 * include/ext/stl_hashtable.h: Likewise.
2967 * include/ext/stl_rope.h: Likewise.
2968 * src/complex_io.cc: Likewise.
2969 * src/ios.cc: Likewise.
2970 * src/locale-inst.cc: Likewise.
2971 * src/locale.cc: Likewise.
2972 * src/localename.cc: Likewise.
2973 * src/misc-inst.cc: Likewise.
2974 * src/stdexcept.cc: Likewise.
2975 * src/stl-inst.cc: Likewise.
2976 * src/strstream.cc: Likewise.
2977 * src/valarray-inst.cc: Likewise.
2979 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
2981 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
2983 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2985 * include/bits/istream.tcc: change type of __extracted to __size_type
2987 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
2989 * src/wstring-inst.cc: New file.
2990 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
2991 (libinst_wstring_la_SOURCES): Remove.
2992 (libstdc___la_LIBADD): Remove libinst_wstring_la.
2993 (sources): Add wstring-inst.cc
2994 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
2997 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2999 * src/locale.cc: initialise __ret with zero
3000 * src/strstream.cc:cast gptr to int_type
3002 2001-03-01 Phil Edwards <pme@sources.redhat.com>
3004 * docs/html/faq/index.html: Update broken links.
3005 * docs/html/faq/index.txt: Regenerated.
3007 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
3010 * configure.target: Change irix* to irix6.5* in target_os table.
3012 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
3015 * include/bits/c++config (__GLIBCPP__): Bump number in
3016 anticipation of 2.92.
3018 * include/bits/codecvt.h: Fix typo.
3019 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
3021 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
3022 instantiations for stdio model.
3024 2001-02-28 Phil Edwards <pme@sources.redhat.com>
3026 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
3027 and GLIBCPP_CXXFLAGS as unused variables.
3028 * configure.host: Likewise.
3029 * configure.target: Likewise.
3030 * aclocal.m4: Regenerated.
3031 * configure: Regenerated.
3032 * Makefile.in: Regenerated.
3033 * libio/Makefile.in: Regenerated.
3034 * libmath/Makefile.in: Regenerated.
3035 * libsupc++/Makefile.in: Regenerated.
3036 * src/Makefile.in: Regenerated.
3038 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
3041 * include/bits/basic_file.h: Include basic_file_model.h.
3042 * config/c_io_libio.cc: Move to...
3043 * config/basic_file_libio.cc: Here.
3044 * config/basic_file_libio.h: New file.
3045 * config/c_io_stdio.cc: Move to...
3046 * config/basic_file_stdio.cc: Here.
3047 * config/basic_file_stdio.h: New file.
3048 * config/c_io_libio.h: Tweak.
3049 * config/c_io_stdio.h: Tweak.
3050 * src/Makefile.am (build_headers): Add basic_file_model.h.
3051 (sources): Add basic_file.cc, remove c++io.cc.
3052 * src/Makefile.in: Regenerate.
3053 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
3054 basic_file_model.h and basic_file.cc.
3055 * aclocal.m4: Regenerate.
3056 * configure: Regenerate.
3057 * testsuite/27_io/filebuf.cc (test05): Add regression.
3059 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
3062 * config/cpu/alpha/bits/atomicity.h: Change.
3063 * config/cpu/arm/bits/atomicit3y.h
3064 * config/cpu/generic/bits/atomicity.h
3065 * config/cpu/i386/bits/atomicity.h
3066 * config/cpu/i486/bits/atomicity.h
3067 * config/cpu/ia64/bits/atomicity.h
3068 * config/cpu/powerpc/bits/atomicity.h
3069 * config/cpu/sparc/sparc32/bits/atomicity.h
3070 * config/cpu/sparc/sparc64/bits/atomicity.h
3071 * config/os/aix/bits/atomicity.h
3072 * config/os/irix/bits/atomicity.h
3074 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
3076 * include/bits/std_stdexcept.h (runtime_error): Make string
3078 (logic_error): Same.
3079 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
3082 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
3086 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
3087 string object, not reference.
3088 (runtime_error::runtime_error): Same.
3089 * testsuite/19_diagnostics/stdexceptions.cc: New file.
3091 2001-02-26 Phil Edwards <pme@sources.redhat.com>
3093 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
3094 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
3095 diagnostics. Remove WFMT_FLAGS.
3096 * configure.in: Replace WFMT_FLAGS with diagnostics options.
3097 * libsupc++/Makefile.am: Likewise.
3098 * src/Makefile.am: Likewise.
3099 * aclocal.m4: Regenerated.
3100 * configure: Regenerated.
3101 * Makefile.in: Regenerated.
3102 * libio/Makefile.in: Regenerated.
3103 * libmath/Makefile.in: Regenerated.
3104 * libsupc++/Makefile.in: Regenerated.
3105 * src/Makefile.in: Regenerated.
3107 2001-02-26 Phil Edwards <pme@sources.redhat.com>
3109 Fixes libstdc++/2079
3110 * include/backward/iomanip.h: Expose <ios> manipulators to global
3112 * include/backward/iostream.h: Also expose std::ws.
3114 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
3116 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
3118 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
3120 * include/bits/codecvt.h: Use __builtin_alloca.
3121 * include/bits/ostream.tcc: Same.
3122 * include/bits/fstream.tcc: Same.
3124 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
3126 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
3128 2001-02-23 David Edelsohn <dje@watson.ibm.com>
3130 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
3132 2001-02-23 Phil Edwards <pme@sources.redhat.com>
3135 * include/backward/iostream.h: Expose std::flush in old headers.
3137 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3139 * mknumeric_limits: Remove special-casing on target. Use gcc
3140 instead of g++ to build gen-num-limits.cc
3142 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
3144 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
3146 * include/bits/codecvt.h: Use alloca instead of __extension__ for
3148 * include/bits/ostream.tcc: Same.
3149 * include/bits/std_ostream.h: Same.
3150 * include/bits/fstream.tcc: Same.
3151 * include/bits/locale_facets.tcc: Add typename.
3152 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
3154 2001-02-21 Phil Edwards <pme@sources.redhat.com>
3156 * tests_flags.in: Remove -n flag from call to echo.
3158 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
3160 * config/c_locale_gnu.h: Add clocale include.
3162 2001-02-20 Phil Edwards <pme@sources.redhat.com>
3164 * include/bits/stl_config.h: Remove file.
3165 * src/Makefile.am (base_headers): Remove from list.
3166 * configure: Regenerate.
3167 * Makefile.in: Ditto.
3168 * libio/Makefile.in: Ditto.
3169 * libmath/Makefile.in: Ditto.
3170 * libsupc++/Makefile.in: Ditto.
3171 * src/Makefile.in: Ditto.
3173 * include/bits/c++config: Move relevant macros to here.
3174 * include/backward/alloc.h: Include c++config.h instead.
3175 * include/backward/function.h: Ditto.
3176 * include/backward/heap.h: Ditto.
3177 * include/backward/pair.h: Ditto.
3178 * include/bits/pthread_allocimpl.h: Ditto.
3179 * include/bits/std_functional.h: Ditto.
3180 * include/bits/std_iterator.h: Ditto.
3181 * include/bits/std_numeric.h: Ditto.
3182 * include/bits/std_utility.h: Ditto.
3183 * include/bits/stl_algobase.h: Ditto.
3184 * include/bits/type_traits.h: Ditto.
3185 * src/stl-inst.cc: Ditto.
3187 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3189 * include/bits/basic_file.h: Add #pragma system_header
3190 * include/bits/basic_ios.h: Ditto.
3191 * include/bits/basic_string.h: Ditto.
3192 * include/bits/char_traits.h: Ditto.
3193 * include/bits/codecvt.h: Ditto.
3194 * include/bits/cpp_type_traits.h: Ditto.
3195 * include/bits/fpos.h: Ditto.
3196 * include/bits/gslice.h: Ditto.
3197 * include/bits/gslice_array.h: Ditto.
3198 * include/bits/indirect_array.h: Ditto.
3199 * include/bits/ios_base.h: Ditto.
3200 * include/bits/limits_generic.h: Ditto.
3201 * include/bits/locale_facets.h: Ditto.
3202 * include/bits/localefwd.h: Ditto.
3203 * include/bits/mask_array.h: Ditto.
3204 * include/bits/sbuf_iter.h: Ditto.
3205 * include/bits/sequence_concepts.h: Ditto.
3206 * include/bits/slice.h: Ditto.
3207 * include/bits/slice_array.h: Ditto.
3208 * include/bits/std_algorithm.h: Likewise.
3209 * include/bits/std_bitset.h: Likewise.
3210 * include/bits/std_complex.h: Likewise.
3211 * include/bits/std_deque.h: Likewise.
3212 * include/bits/std_fstream.h: Likewise.
3213 * include/bits/std_functional.h: Likewise.
3214 * include/bits/std_iomanip.h: Likewise.
3215 * include/bits/std_ios.h: Likewise.
3216 * include/bits/std_iosfwd.h: Likewise.
3217 * include/bits/std_iostream.h: Likewise.
3218 * include/bits/std_istream.h: Likewise.
3219 * include/bits/std_iterator.h: Likewise.
3220 * include/bits/std_list.h: Likewise.
3221 * include/bits/std_locale.h: Likewise.
3222 * include/bits/std_map.h: Likewise.
3223 * include/bits/std_memory.h: Likewise.
3224 * include/bits/std_numeric.h: Likewise.
3225 * include/bits/std_ostream.h: Likewise.
3226 * include/bits/std_queue.h: Likewise.
3227 * include/bits/std_set.h: Likewise.
3228 * include/bits/std_sstream.h: Likewise.
3229 * include/bits/std_stack.h: Likewise.
3230 * include/bits/std_stdexcept.h: Likewise.
3231 * include/bits/std_streambuf.h: Likewise.
3232 * include/bits/std_string.h: Likewise.
3233 * include/bits/std_utility.h: Likewise.
3234 * include/bits/std_valarray.h: Likewise.
3235 * include/bits/std_vector.h: Likewise.
3236 * include/bits/stringfwd.h: Likewise.
3237 * include/bits/type_traits.h: Likewise.
3238 * include/bits/valarray_array.h: Likewise.
3239 * include/bits/valarray_meta.h: Likewise.
3241 2001-02-19 Andreas Jaeger <aj@suse.de>
3243 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
3246 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
3249 * include/bits/std_ostream.h: Replaced usage of
3250 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
3251 * include/bits/char_traits.h: Removed non-standard
3252 methods that cannot be used elsewhere.
3255 * include/bits/basic_ios.h: Uncommented #include of
3259 * include/bits/codecvt.h: See next...
3260 * include/bits/fstream.tcc: See next...
3261 * include/bits/ostream.tcc: Add __extension__
3262 to variable-length arrays.
3265 * include/bits/localefwd.h: Changed int counter type to size_t.
3268 * include/bits/std_fstream.h: Added typedef for __ctype_type.
3270 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
3272 * testsuite/21_strings/char_traits.cc: Move to ...
3273 * testsuite/21_strings/char_traits_requirements.cc: ..here.
3274 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
3275 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
3277 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
3279 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
3282 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
3284 * include/bits/c++config: Revert.
3286 2001-02-15 Mark Mitchell <mark@codesourcery.com>
3288 * include/bits/istream.tcc: Use ios_base::iostate in place of
3289 iostate throughout. Insert `typename' keyword where necessary.
3290 * include/bits/ostream.tcc: Insert `typename' keyword where
3293 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
3295 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
3296 Define so library is compliant.
3298 2001-02-15 Anthony Green <green@redhat.com>
3300 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
3302 * aclocal.m4: Regenerate.
3303 * configure: Regenerate.
3305 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
3307 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
3308 Include ieeefp.h for fpclass on UnixWare{2,7}.
3309 * aclocal.m4: Regenerate.
3310 * configure: Regenerate.
3311 * mkcheck.in (size_command): Do without GNU-grep when using
3314 2001-02-15 Mark Mitchell <mark@codesourcery.com>
3316 Remove old ABI support from libsupc++.
3317 * libsupc++/cxxabi.h: Remove conditionally compiled code.
3318 * libsupc++/exception_support.cc: Likewise.
3319 * libsupc++/pure.cc: Likewise.
3320 * libsupc++/tinfo.cc: Likewise.
3321 * libsupc++/tinfo.h: Likewise.
3322 * libsupc++/tinfo2.cc: Likewise.
3323 * libsupc++/typeinfo: Likewise.
3324 * libsupc++/vec.cc: Likewise.
3326 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
3328 Add support for -fno-exceptions.
3329 * include/bits/exception_support.h: Remove.
3330 * include/bits/basic_string.h: Remove exception_support.
3331 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
3333 (string::substr): Same.
3334 * include/bits/basic_string.tcc (string::reserve): Replace
3335 __LENGTHERROR with __throw_length_error.
3336 (string::_S_create): Same.
3337 (string::resize): Same.
3338 (string::_M_replace): Same.
3339 (string::replace): Same.
3340 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
3341 (string::compare): Same.
3342 * include/bits/stl_vector.h: Remove exception_support.
3343 * src/Makefile.am (base_headers): Remove here.
3344 * src/Makefile.in: Regenerate.
3346 * include/bits/stl_range_errors.h: Remove.
3347 * include/bits/stl_deque.h: Use __throw_range_error.
3348 * include/bits/std_deque.h: Include functexcept.h.
3349 * include/bits/std_vector.h: Same.
3350 * src/Makefile.am (base_headers): Remove here.
3351 * src/Makefile.in: Regenerate.
3352 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
3353 * include/ext/bvector: Remove stl_range_errors.h
3355 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
3357 * include/bits/functexcept.h: New file.
3358 * src/functexcept.cc: New file. Definitions for function-based
3360 * src/Makefile.am (sources): Add functexcept.cc.
3361 * src/Makefile.in: Regenerate.
3363 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
3366 * include/bits/localefwd.h: Include functexcept.h.
3367 * include/bits/std_iosfwd.h: Same.
3369 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
3370 throw basic_ios::failure.
3371 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
3372 Use __throw_exception_again.
3373 (filebuf::_M_filebuf_init): Same.
3374 * include/bits/streambuf.tcc (__copy_streambufs): Same.
3375 * include/bits/ostream.tcc (ostream::operator<<): Same.
3376 * include/bits/istream.tcc (istream::operator>>): Same.
3377 * include/bits/basic_string.tcc (string::_M_mutate): Same.
3378 (string::_S_construct): Same.
3379 (string::_M_clone): Same.
3380 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
3382 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
3383 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
3384 __throw_exception_again.
3385 (locale::_Imp::_Imp(string, size_t): Same.
3386 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
3387 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
3388 (locale::locale(const char*)): Use __throw_runtime_error.
3389 (locale::classic): Use __throw_exception_again.
3390 (locale::_S_normalize_category): Use __throw_runtime_error.
3392 * src/stdexcept.cc: Remove cruft.
3394 * libsupc++/exception_defines.h: New file.
3395 * libsupc++/new_opnt.cc: Include exception_defines.h.
3396 * libsupc++/vec.cc: Same.
3397 (__cxa_vec_new2): Use __throw_exception_again.
3398 (__cxa_vec_new3): Same.
3399 (__cxa_vec_ctor): Same.
3400 (__cxa_vec_delete3): Same.
3401 (__cxa_vec_cctor): Same.
3402 (__cxa_vec_delete2): Same.
3403 (__cxa_vec_dtor): Same.
3404 * libsupc++/exception_support.cc: Include exception_defines.h. Only
3405 compile exception-handling bits if __EXCEPTIONS is defined.
3406 Remove old ABI support.
3407 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
3408 std::__throw_bad_alloc() instead of throw bad_alloc.
3409 * libsupc++/Makefile.am: Add exception_defines.h.
3410 * libsupc++/Makefile.in: Reformat.
3411 * libsupc++/*: Format.
3413 2001-02-15 Phil Edwards <pme@sources.redhat.com>
3415 * docs/html/configopts.html: Minor updates and typo fixes.
3416 * docs/html/faq/index.html: Updates of the "not really bugs" list.
3417 * docs/html/faq/index.txt: Regenerated.
3419 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
3421 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
3422 dejagnu/dg.exp. Adapt to log options used to run testcases.
3424 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3426 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
3429 2001-02-13 Dirk Mueller <dmuell@gmx.net>
3430 Phil Edwards <pme@sources.redhat.com>
3432 * include/backward/function.h: Do not use rel_ops for older
3434 * include/backward/pair.h: Likewise.
3436 2001-02-12 Mark Mitchell <mark@codesourcery.com>
3438 * src/locale.cc: Remove bogus locale::id definitions.
3440 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3442 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
3443 not _DEFINE_VALARRAY_OPERATOR which is not existent.
3445 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
3446 thinko in member initialisation.
3448 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
3450 * include/bits/std_valarray.h(valarray<>::shift): Avoid
3451 comparaison between signed and unsigned integer types.
3452 (valarray<>::cshift): Reformat.
3454 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
3456 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
3457 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
3458 * configure.in: Test for sigsetjmp.
3459 * configure, config.h.in: Rebuilt.
3461 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
3463 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
3464 lengths and strides.
3465 (__gslice_to_index): Document.
3467 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
3469 * include/bits/char_traits.h char_traits<char>::int_type: Change
3470 to `int' to match 21.1.3.1/2.
3472 * testsuite/21_strings/char_traits-int_type.C: New test.
3474 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
3476 * testsuite/Makefile.am: New file.
3478 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
3480 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
3482 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
3484 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
3486 2001-02-08 David Edelsohn <edelsohn@gnu.org>
3488 * configure.target (aix4*): Remove extra set of brackets.
3490 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
3493 * include/bits/stringfwd.h: New file.
3494 * include/bits/stl_string_fwd.h: Remove.
3495 * include/bits/localefwd.h: Remove declaration for allocator.
3496 * include/bits/std_iosfwd: Same.
3497 * include/bits/std_string.h: Include it.
3498 * include/bits/std_ios.h: Remove include.
3499 * include/bits/basic_string.h: Tweak.
3500 * libsupc++/new: Format.
3501 * src/Makefile.am (base_headers): Add stringfwd.h, remove
3503 * src/Makefile.in: Regenerate.
3504 * include/bits/std_stdexcept.h: Rewrite.
3505 * src/stdexcept.cc: Same.
3507 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
3509 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
3510 install locations too.
3511 * aclocal.m4: Regenerate.
3512 * configure.in: Remove USE_LIBDIR.
3513 * configure: Regenerate.
3514 * src/Makefile.am (toolexecdir): Simplify, use
3515 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
3516 * src/Makefile.in: Regenerate.
3517 * libsupc++/Makefile.am: Same.
3518 * libsupc++/Makefile.in: Regenerate.
3520 * src/Makefile.am: Just remove special rules for locale-inst.cc and
3521 misc-inst.cc as no longer necessary.
3523 Follow C++STYLE for naming non-static functions.
3524 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
3526 * include/bits/streambuf.tcc: Same.
3527 * include/bits/ostream.tcc: Same.
3528 * include/bits/istream.tcc: Same.
3529 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
3530 (_S_output_float): To __output_float.
3531 * include/bits/std_streambuf.h (_S_copy_streambufs): To
3533 * include/bits/locale_facets.tcc (_S_build_float_format): To
3534 __build_float_format.
3535 (_S_format): To __output_integer.
3536 (_S_fill): To __pad.
3537 * src/locale.cc: Same.
3538 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
3540 * include/bits/locale_facets.tcc (_S_group_digits): To
3542 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
3543 for collate, numpunct.
3545 2001-02-06 Phil Edwards <pme@sources.redhat.com>
3547 * docs/html/configopts.html: Fix HTML markup.
3548 * docs/html/install.html: Bring up to date.
3549 * docs/html/17_intro/C++STYLE: Add global variable conventions.
3550 * docs/html/21_strings/howto.html: More notes.
3551 * docs/html/22_locale/howto.html: Fix HTML markup.
3552 * docs/html/27_io/howto.html: More notes.
3553 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
3554 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
3556 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
3558 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
3559 to match header files.
3560 (_S_output_float): Likewise.
3561 (_S_copy_streambufs): Likewise.
3563 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
3564 Phil Edwards <pme@sources.redhat.com>
3566 * include/bits/std_istream.h (op>> signed,unsigned char): Must
3567 use reinterpret_cast, not static_cast.
3569 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
3571 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
3572 * aclocal.m4: Regenerate.
3573 * configure: Regenerate.
3575 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3577 * include/bits/locale_facets.h (class moneypunct): Fix typos.
3578 * libsupc++/pure.cc: Revert.
3580 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3582 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
3583 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
3584 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
3585 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
3586 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
3587 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
3588 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
3589 * aclocal.m4: Regenerate.
3590 * configure: Regenerate.
3592 2001-02-05 Mark Mitchell <mark@codesourcery.com>
3594 * include/bits/locale_facets.tcc: Remove `static' keyword on
3595 function definitions.
3596 * include/bits/std_streambuf.h: Likewise.
3597 * src/Makefile.am: Remove use of -fimplicit-templates.
3598 * src/Makefile.in: Regenerated.
3599 * src/locale-inst.cc: Explicitly instantiate more functions.
3600 * src/misc-inst.cc: Likewise.
3601 * src/string-inst.cc: Likewise.
3603 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3605 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
3606 macro. Consolidate all the bits to do with where includes might be
3608 * aclocal.m4: Regenerate.
3609 * configure.in: Use it.
3610 * configure: Regenerate.
3611 * src/Makefile.am (targetincludep): Use simplified rules.
3612 (targetincludep): Rename gxx_target_include_dir.
3613 (myincludep): Rename gxx_include_dir.
3614 * src/Makefile.in: Regenerate.
3615 * libsupc++/Makefile.am: Use simplified rules.
3616 * libsupc++/Makefile.in: Regenerate.
3618 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3620 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
3621 * include/c_std/bits/std_cctype.h: Same.
3622 * include/c_std/bits/std_cassert.h: Same.
3623 * include/c_std/bits/std_cstdarg.h: Same.
3624 * include/c_std/bits/std_cstddef.h: Same.
3626 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
3628 * include/c_std/bits/std_ctime.h: Same.
3629 * include/c_std/bits/std_clocale.h: Same.
3630 * include/c_std/bits/std_cmath.h: Same.
3631 * include/c_std/bits/std_csetjmp.h: Same.
3632 * include/c_std/bits/std_csignal.h: Same.
3633 * include/c_std/bits/std_cstring.h: Same.
3634 * include/c_std/bits/std_cstdlib.h: Same.
3635 * include/c_std/bits/std_cwchar.h: Same.
3637 2001-02-05 Phil Edwards <pme@sources.redhat.com>
3639 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
3641 2001-02-05 Mark Mitchell <mark@codesourcery.com>
3643 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
3644 (string::_S_construct): Likewise.
3646 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
3648 * testsuite/config/default.exp: New file.
3649 * testsuite/config: New directory.
3651 2001-02-04 Mark Mitchell <mark@codesourcery.com>
3653 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
3654 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
3655 whenever !__GXX_MERGED_TYPEINFO_NAMES.
3656 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
3658 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
3659 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3661 * Makefile.am (mkinstalldirs): Set.
3662 * src/Makefile.am (mkinstalldirs): Set.
3663 * libmath/Makefile.am (mkinstalldirs): Set.
3664 * libsup++/Makefile.am (mkinstalldirs): Set.
3665 * libio/Makefile.am (mkinstalldirs): Set.
3666 * */Makefile.in: Regenerate.
3668 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
3670 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
3671 * include/bits/localefwd.h: More initialization cleanups.
3673 2001-02-03 Jeffrey A Law <law@cygnus.com>
3675 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
3676 correctly targets with 16bit ints.
3677 (_S_ios_openmode_end): Similarly.
3678 (_S_ios_iostate_end): Similarly.
3679 (_S_ios_Seekdir_end): Similarly.
3681 2001-02-02 Phil Edwards <pme@sources.redhat.com>
3683 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
3685 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
3687 * configure.in (toplevel_srcdir, auxdir): Set.
3688 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
3689 * aclocal.m4, configure, Makefile.in: Rebuilt.
3690 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
3691 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
3692 * libsupc++-v3/Makefile.in: Rebuilt.
3693 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
3694 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
3696 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
3698 * config/c_locale_generic.cc: Remove langinfo include.
3700 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
3702 Preliminary named locales.
3703 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
3704 * aclocal.m4: Regenerate.
3705 * configure.in: Use it.
3706 * configure: Regerate.
3707 * src/Makefile.am (sources): Add c++locale.cc.
3708 (build_headers): Add c++locale.h.
3709 * src/Makefile.in: Regenerate.
3710 * config/c_locale_gnu.h: New file.
3711 * config/c_locale_gnu.cc: New file. Non-inline member functions
3712 for named locales, gnu-specific.
3713 * config/c_locale_generic.h: New file.
3714 * config/c_locale_generic.cc: New file. Non-inline member
3715 functions for named locales, generic version.
3716 * docs/html/configopts.html: Add documentation on new options.
3718 * include/bits/locale_facets.h (class _Messages): Remove.
3719 (class _Moneypunct): Remove.
3720 * src/locale-inst.cc: Remove.
3722 * include/bits/locale_facets.h (class _Collate): Remove.
3723 * src/locale-inst.cc (std): Remove.
3724 * src/locale.cc: And here.
3726 * include/bits/localefwd.h (locale::_M_coalesce): New
3727 function. Correctly put together multi-name locales.
3728 (_Impl(const _Impl&, category, size_t)): Remove.
3730 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
3732 (_M_normalize_category_names): Remove.
3733 (_M_replace_categories): Fix.
3735 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
3736 (locale::_Impl::_M_construct_ctype): Remove.
3737 (locale::_Impl::_M_construct_monetary): Remove.
3738 (locale::_Impl::_M_construct_numeric): Remove.
3739 (locale::_Impl::_M_construct_time): Remove.
3740 (locale::_Impl::_M_construct_messages): Remove.
3742 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
3743 (_Use_facet_failure_handle): Remove.
3744 * src/locale.cc: Remove definitions.
3745 * src/locale-inst.cc: And here.
3747 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
3749 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
3750 create and error-check underlying locale object.
3751 (locale::facet::_S_destroy_c_locale): Add, take care of properly
3752 tearing down underlying locale object.
3753 * include/bits/localefwd.h (locale::facet): Declare.
3754 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
3755 correctness, as glibc apparently has incorrect info in it. Test
3756 with it when it works again.....
3758 * include/bits/localefwd.h (locale::_Impl::__vec_string):
3759 Remove. Number of categories is fixed at six, so just simplify and
3760 make this an array of strings.
3761 (locale::_Impl::_M_has_name): Remove.
3762 (locale::_Impl::_M_name): Remove.
3763 (locale::_Impl::_M_category_names): Turns into...
3764 (locale::_Impl::_M_names): ...this.
3765 (locale::_Impl::_M_has_same_name()): New function.
3766 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
3767 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
3769 * src/locale.cc (locale::name()): Construct mangled name
3770 accurately reflecting combined locale categories.
3772 * src/locale.cc (locale::classic()): Don't initialize here.
3773 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
3774 __refs, bool __has_name, string __str): Do it here.
3776 * include/bits/localefwd.h: _S_categories_num to
3777 _S_num_categories. _S_facets_num to _S_num_facets.
3778 (locale::id::id()): Explicitly set _M_index to zero.
3779 * src/locale.cc: Same.
3781 * src/locale.cc: (locale::locale(const char*)): Construct named
3784 * src/locale.cc: Remove numpunct_byname ctors.
3785 * testsuite/22_locale/numpunct_byname.cc: New file.
3786 * testsuite/22_locale/numpunct.cc: New file.
3788 * include/bits/localefwd.h (class locale): Change data members to
3789 protected, from private.
3790 (_Impl::_M_get_c_locale): Add member function.
3791 (locale::facet::_M_get_global_impl()): Add member function.
3792 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
3793 a __c_locale pointer.
3794 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
3796 * testsuite/22_locale/members.cc: New file, test name and combine.
3798 * include/bits/locale_facets.h (class numpunct): Remove class
3799 _Punct and _Numpunct. Rewrite class numpunct to be correct for
3801 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
3802 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
3803 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
3804 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
3805 * testsuite/22_locale/numpunct_char_members.cc: New file.
3807 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
3809 * testsuite/README: Add more comment.
3810 * testsuite/lib/libstdc++.exp: Tweak comment.
3812 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
3814 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
3816 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
3818 * testsuite/21_strings/inserters_extractors.cc: Remove
3819 explicit reference to 'testsuite/'.
3821 2001-01-25 Richard Henderson <rth@redhat.com>
3823 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
3824 bits. Fixes Tru64 build issues.
3826 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3828 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
3829 (use ${MAKE-make}, not ${MAKE:-make}).
3830 * aclocal.m4, configure: Regenerate.
3832 2001-01-25 Mark Mitchell <mark@codesourcery.com>
3834 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
3837 * src/Makefile.am (sources): Add globals.cc.
3838 * src/Makefile.in: Regenerated.
3839 * src/globals.cc: New file.
3840 * src/ios.cc (cin): Don't define here, just declare extern.
3849 2001-01-25 Phil Edwards <pme@sources.redhat.com>
3851 * include/bits/std_iterator.h: Do not include stl_relops.h.
3852 * include/bits/std_numeric.h: Ditto.
3853 * include/bits/stl_algobase.h: Ditto.
3854 * include/bits/stl_relops.h: Add comment warning about problems.
3856 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
3858 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
3859 in testcases. Prepare for the DejaGnu based framework.
3860 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
3861 directory -- it is now mkcheck working directory.
3862 * tests_flags.in: Remove reference to $(top_srcdir). Use
3864 * Makefile.am (check, check-install): Change mkcheck invocation
3866 * Makefile.in: Regenerate.
3868 2001-01-24 Mark Mitchell <mark@codesourcery.com>
3870 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
3871 (__always_swap): Likewise.
3873 2001-01-23 Chris Demetriou <cgd@broadcom.com>
3875 * libsupc++/exception_support.cc (__terminate_func): Remove
3877 (__terminate_func_ptr): New typedef.
3878 (__terminate, __terminate_set_func): New extern function
3880 (std::terminate): Use __terminate function.
3881 (std::set_terminate): Use __terminate_set_func function.
3883 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
3885 * configure.target: Just use os_include_dir always.
3886 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
3887 Link atomicity files and ctype files here.
3888 * configure: Regenerate.
3889 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
3890 (GLIBCPP_ENABLE_ATOMICITY): Remove.
3891 * aclocal.m4: Regenerate.
3893 2001-01-23 Chris Demetriou <cgd@broadcom.com>
3895 * configure.in: Place definition of MULTISUBDIR in
3896 libsupc++/Makefile as is done for src/Makefile.
3897 * configure: Regenerate.
3899 2001-01-23 Phil Edwards <pme@sources.redhat.com>
3901 * acinclude.m4: Cosmetic changes only.
3902 * aclocal.m4: Regenerated.
3903 * configure: Regenerated.
3904 * configure.target: Update documented list of changed variables.
3905 * docs/html/install.html: Fix typo.
3906 * docs/html/20_util/howto.html: More notes on auto_ptr.
3907 * docs/html/27_io/howto.html: More notes on streabufs.
3908 * docs/html/faq/index.html: Add rel_ops problem and mention the
3909 DEC as(1) .subsection difficulty.
3910 * docs/html/faq/index.txt: Regenerated.
3912 2001-01-23 Mark Mitchell <mark@codesourcery.com>
3914 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
3915 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
3916 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
3917 its already provided in config.target.
3918 * aclocal.m4: Regenerated.
3919 * configure: Likewise.
3920 * configure.target: Set ctype_include_dir for lots of systems.
3921 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
3922 * libsupc++/Makefile.in: Regenerated.
3924 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
3926 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
3929 * testsuite/README: Add comment.
3931 2001-01-21 Phil Edwards <pme@sources.redhat.com>
3933 * docs/html/configopts.html: Update for current status. Fix HTML.
3934 * docs/html/install.html: Update for current status.
3936 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3938 * testsuite/libstdc++.tests/tests.exp: New file.
3939 * testsuite/lib/libstdc++.exp: Itou.
3940 * testsuite/README: Itou.
3942 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
3944 * tests_flags.in: Just output the bare minimum to run tests.
3945 Let's the caller do its own arrangement.
3947 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
3950 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
3952 * testsuite/17_intro: Prepare testcases for new style DejaGnu
3955 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
3957 * testsuite/libstdc++.tests, testsuite/lib: New directories.
3959 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
3961 * mkcheck.in: Construct file names that match $objdir structure.
3962 * testsuite/27_io/filebuf_members-1.txt: New file.
3963 * testsuite/27_io/ifstream_members-1.txt: New file.
3964 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
3966 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
3967 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
3969 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3971 * testsuite/27_io/istream_sentry.cc (test02): Fix.
3973 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
3976 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
3977 * src/ios.cc (ios_base::failure): Make definitions match.
3978 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
3979 (class bad_cast): Same.
3980 * libsupc++/exception (class exception): Add throw specs.
3981 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
3982 (set_unexpected): Same.
3983 (uncaught_exception): Same.
3986 * docs/html/17_intro/C++STYLE (classname): Fix.
3988 2001-01-16 Mark Mitchell <mark@codesourcery.com>
3990 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
3991 Use it do explicitly instantiate predicate<T> and value<T> for
3994 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
3996 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
3997 uninitialized thinko in last change.
3999 2001-01-16 Mark Mitchell <mark@codesourcery.com>
4001 * libsupc++/exception_support.cc (__cp_pop_exception): Change
4004 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
4006 * docs/html/17_intro/C++STYLE (classname): Add more existing
4007 and stylish patterns.
4010 * include/bits/istream.tcc (istream::sentry::sentry()): Set
4011 failbit if the state of the stream is not good.
4012 * testsuite/27_io/istream_sentry.cc (test02): Add test.
4013 * testsuite/27_io/istream_manip.cc (test01): Modify.
4016 reported by Paolo Carlini <pcarlini@unitus.it>
4017 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
4018 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
4021 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
4022 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
4023 (xsgetn): Same. Simplify.
4024 * testsuite/27_io/streambuf.cc (test04): Add testcases.
4026 reported by Larry Evans <jcampbell3@prodigy.net>
4027 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
4028 equality with eof on returned value from overflow.
4030 2001-01-14 Andreas Jaeger <aj@suse.de>
4032 * libio/libio.h: Add test for glibc 2.0.
4034 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
4036 * config/os/djgpp/bits/*: Fix dates.
4038 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
4039 _CharT* __end, _CharT __c): Remove.
4040 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
4041 * include/bits/char_traits.h: Tweak.
4043 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
4045 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
4046 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
4048 * aclocal.m4: regenerated.
4049 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
4050 * configure: regenerated.
4051 * config/os/djgpp, config/os/djgpp/bits: new directories.
4052 * config/os/djgpp/bits/ctype_base.h,
4053 config/os/djgpp/bits/ctype_inline.h,
4054 config/os/djgpp/bits/ctype_noninline.h,
4055 config/os/djgpp/bits/os_defines.h: new files.
4057 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
4059 * include/c_std/bits/std_cstdio.h: Undef printf.
4061 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
4063 * src/ios.cc: Fix typo: change cout->wcout.
4065 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
4066 * src/Makefile.in: Regenerate.
4068 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4070 * include/bits/std_complex.h: Fix a typo.
4072 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
4075 Fixes for libstdc++/1576
4076 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
4077 file, move contents into....
4078 * src/ios.cc: ...Here. Put defines for iostreams objects and
4079 initialization routines into one file to simplify DSO interaction.
4080 * include/bits/std_iostream.h: Touch.
4081 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
4082 * src/Makefile.am (sources): Remove stdstreams.cc.
4083 * src/Makefile.in: Regenerate.
4085 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4087 * tests_flags.in (check_directory): Fix typo.
4089 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4091 * include/bits/std_complex.h: Fix a typo.
4093 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
4095 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
4096 code path:) Remove magic constants and restructure to handle
4097 ctype.h bit mask layout changes more gracefully. (Make fast
4098 code path:) Use __maskrune (), if available.
4099 (is): Remove special case for digit and xdigit masks.
4101 2001-01-09 Robert Lipe <robertlipe@usa.net>
4103 * include/c_std/bits/std_ctime.h: Undefine difftime.
4105 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
4107 * src/gen-num-limits.cc (signal_adapter): New template function.
4108 (signal_handler): Use it, instead of signal.
4109 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
4110 require both tests to trap to set trap_flag.
4112 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
4114 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
4115 initialize mbstate_t member, name offset data members *off, not pos.
4116 * include/bits/fstream.tcc (filebuf::filebuf): Same.
4118 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
4120 reported by Chris G. Demetriou <cgd@sibyte.com>
4121 * configure.in: Change -linux-* to -linux*.
4122 * configure: Regenerate.
4124 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
4126 Fix 27_io/filebuf_members.cc
4127 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
4128 const string& __name, category __cat, size_t __refs): Set
4129 _M_has_name with _M_name.
4130 * include/bits/localefwd.h (locale::operator!=): Protect member
4131 function call with this->.
4132 * src/locale.cc (locale::operator==): Make fast checks first.
4133 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
4135 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
4137 * src/ios.cc (ios_base::Init::Init): Initialize here.
4138 (ios_base::sync_with_stdio): Set here.
4140 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
4142 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
4143 systems that support it, call dup() before fdopen().
4145 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
4147 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
4148 * testsuite/17_intro/header_cwctype.cc (main): New file.
4150 * src/Makefile.am (base_headers): Change.
4151 * include/bits/std_string.h: And here.
4152 * include/bits/string.tcc: Tweaks, move to...
4153 * include/bits/basic_string.tcc: ...Here.
4154 * src/string-inst.cc: Simplify, just instantiate the whole class,
4155 not member-by-member.
4157 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
4159 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
4160 * aclocal.m4: Regenerate.
4161 * configure: Regenerate.
4163 * include/bits/c++config (__GLIBCPP__): Bump version number.
4165 * ChangeLog: Start new log for year 2001
4166 * ChangeLog-2000: New file.
4168 * docs/html/configopts.html: Make sure default values are current,
4171 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
4173 * include/c_std/bits/std_cwchar.h: Same.
4174 * testsuite/17_intro/header_cwchar.cc: Same.
4175 * include/c_std/bits/std_ctime.h: Same.
4176 * testsuite/17_intro/header_ctime.cc: Same.
4177 * include/c_std/bits/std_cstdlib.h: Same.
4178 Clean up undefs, make consistent with cwchar and cmath, etc.
4179 * testsuite/17_intro/header_cstdlib.cc: Same.
4180 * include/c_std/bits/std_cstdio.h: Same here.
4181 * testsuite/17_intro/header_cstring.cc: Same.
4182 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
4183 * testsuite/17_intro/header_cstring.cc: New file. Check for
4184 size_t in namespace std.
4186 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
4187 * acconfig.h (HAVE_MBSTATE_T): Add.
4188 * config.h.in: Regenerate.
4189 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
4191 * aclocal.m4: Regenerate.
4192 * configure: Regenerate.
4193 * testsuite/17_intro/headers_c++.cc: New file.
4194 * testsuite/17_intro/headers_c.cc: Small changes.
4196 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
4198 * tests_flags.in: Fix typo in usage.
4200 * tests_flags.in: Set target specific LIBS for cygwin.