1 2002-01-01 Roger Sayle <roger@eyesopen.com>
3 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
4 equivalent ___builtin__ versions.
6 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
7 are available in libstdc++ as the necessary stub implementations
8 are provided by libmath/stubs.c.
10 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
12 * configure.in: Add support for NetBSD cross compiles.
13 * configure: Regenerate.
15 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
17 * include/ext/iterator: Add #include <bits/std_iterator.h>, tweak.
18 * testsuite/ext/headers.cc: Add <ext/iterator>.
20 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
22 * include/backward/algo.h: Add two more using declarations.
23 * include/backward/iterator.h: Include <ext/iterator>,
24 add using declaration.
25 * include/ext/algorithm: Add #pragma GCC system_header.
27 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
29 * include/bits/stl_bvector.h: Change calls to 3-argument distance()
30 into standard 2-argument version.
31 * include/bits/stl_deque.h: Likewise.
32 * include/bits/stl_tempbuf.h: Likewise.
33 * include/bits/stl_tree.h: Likewise.
34 * include/bits/stl_vector.h: Likewise.
35 * include/ext/stl_hashtable.h: Likewise.
36 * include/bits/stl_iterator_base_funcs.h: Move distance() extension...
37 * include/ext/iterator: to here. New file.
38 * include/Makefile.am (ext_headers): Add new file, alphabatize.
39 * include/Makefile.in: Regenerate.
41 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
43 * include/bits/stl_deque.h: Doxygenate with initial/example hooks.
44 Clean up spacing and indentation.
46 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
48 * include/ext/slist: Move into __gnu_cxx,
49 tweak, add using declarations.
51 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
53 * include/ext/hash_map: Move into __gnu_cxx,
54 tweak, add using declarations.
55 * include/ext/hash_set: Ditto.
56 * include/ext/ropeimpl.h: Ditto.
57 * include/ext/stl_hash_fun.h: Ditto.
58 * include/ext/stl_hashtable.h: Ditto.
59 * include/ext/stl_rope.h: Ditto.
60 * src/ext-inst.cc: Tweak.
61 * testsuite/ext/rope.cc: Tweak.
63 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
65 * include/backward/algo.h: Include <ext/algorithm>,
66 tweak using declarations.
68 2001-12-29 Richard Henderson <rth@redhat.com>
70 * config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits.
71 * config/os/hpux/bits/cpu_limits.h: New file.
72 * configure.target (CPULIMITSH): Use it.
74 2001-12-28 Richard Henderson <rth@redhat.com>
76 * config/cpu/ia64/bits/cpu_limits.h: New file.
77 * config/os/osf/osf5.0/bits/cpu_limits.h: New file.
78 * configure.target (CPULIMITSH): Use them.
80 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
82 * include/bits/c++config: Move doxygen hook comment...
83 * docs/doxygen/doxygroups.cc: ...to here.
85 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
88 * include/bits/stl_algo.h (lower_bound): Relax concept checks.
89 * testsuite/ext/concept_checks.cc: New file.
91 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
93 * include/bits/stl_algo.h (count returning void,
94 count_if returning void, __random_sample, random_sample,
95 random_sample_n, __is_heap, is_heap, is_sorted): Move to...
96 * include/ext/algorithm: ...here, new file.
97 * include/Makefile.am (ext_headers): Add new file.
98 * include/Makefile.in: Regenerate.
99 * testsuite/ext/headers.cc: Include <ext/algorithm>.
101 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
102 Nathan Myers <ncm@cantrip.org>
104 * include/bits/basic_string.h (insert(__pos, __s, __n)):
105 Optimize by avoiding temporaries and working in-place when possible.
106 (insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n).
107 (insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n).
108 * testsuite/21_strings/insert.cc (test02): New testcases.
110 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
112 * testsuite/testsuite_hooks.h (gnu_counting_struct): Add.
113 * testsuite/23_containers/deque_ctor.cc: New file.
115 2001-12-27 Paolo Carlini <pcarlini@unitus.it>
117 * include/bits/locale_facets.tcc (collate::do_transform):
118 Adjust implicit typename.
119 * config/locale/messages_members_generic.h (messages::open,
120 messages::do_open, messages::do_get): Adjust implicit typename.
121 * config/locale/messages_members_gnu.h (messages::open,
122 messages::do_open, messages::do_get): Adjust Implicit typename.
123 * config/locale/messages_members_ieee_1003.1-200x.h (messages::open,
124 messages::do_open, messages::do_get): Adjust implicit typename.
126 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
129 * src/misc-inst.cc: Many additional I/O-related instantiations.
130 * testsuite/27_io/instantiations.cc: New file.
132 2001-12-26 Benjamin Kosnik <bkoz@waller.constant.com>
134 * testsuite/24_iterators/insert_iterator.cc (test02): Add.
135 * testsuite/24_iterators/front_insert_iterator.cc (test02): Add.
136 * testsuite/24_iterators/back_insert_iterator.cc (test02): Add.
137 * testsuite/24_iterators/reverse_iterator.cc (test02): Add.
139 * include/bits/stl_iterator.h (reverse_iterator): Uglify member
140 current to _M_current.
141 (back_insert_iterator): Uglify member container to _M_container.
142 (front_insert_iterator): Same.
143 (insert_iterator): Same.
145 2001-12-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
147 * include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New
148 macros for signed types; default value is true.
149 (numeric_limits<>::is_modulo): Get value from corresponding
150 __glibcpp_xxx_is_modulo macro.
152 2001-12-23 Jeffrey A Law <law@redhat.com>
154 * config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>.
155 Twiddle return types for strtoll and strtoull to avoid using
156 intmax_t and uintmax-t.
158 2001-12-22 Richard Henderson <rth@redhat.com>
160 * configure.target (CPULIMITSH): Fix typo in alpha case.
162 2001-12-22 Jeffrey A Law <law@redhat.com>
164 * config/os/hpux/bits/os_defines.h: Update to avoid #defines
165 for strtoll and strtoull.
167 2001-12-21 Jeffrey A Law <law@redhat.com>
169 * config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
170 Define strtoll and strtoull. Provide prototypes for
171 __strtoll and __strtoull. Define _GLIBCPP_USE_LONG_LONG
174 * src/locale-inst.cc: Include <bits/std_cstdlib.h>
176 * configure.target: Fix typo in hpux case.
178 2001-12-21 Paolo Carlini <pcarlini@unitus.it>
180 * include/ext/stl_rope.h (_Rope_iterator):
181 Add local typedef to fix implicit typename problems.
183 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
185 * docs/doxygen/Intro.3: New 'Allocators' module.
186 * docs/doxygen/TODO: Update.
187 * docs/doxygen/doxygroups.cc: Update.
188 * docs/doxygen/run_doxygen: Update.
190 * include/bits/stl_alloc.h: Tweak doxygen hooks in comments.
191 * include/bits/std_memory.h: Doxygenate.
192 * include/bits/stl_iterator_base_types.h: Likewise.
193 * include/bits/stl_raw_storage_iter.h: Likewise.
194 * include/bits/stl_tempbuf.h: Likewise.
195 (get_temporary_buffer): Remove unused nonstandard overload.
196 * include/bits/stl_uninitialized.h: Likewise.
198 * include/bits/stl_iterator_base_types.h (input_iterator,
199 output_iterator, forward_iterator, bidirectional_iterator,
200 random_access_iterator): Move old names...
201 * include/backward/iterator.h: ...to here.
202 * include/bits/stl_bvector.h: Update.
203 * include/ext/stl_rope.h: Update.
205 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
207 * docs/html/configopts.html: Describe recent options.
208 * docs/html/documentation.html: Point to new doxygen tarballs.
209 * docs/html/install.html: Brief updates.
210 * docs/html/17_intro/RELEASE-NOTES: Remove weird control character.
211 * docs/html/ext/howto.html: Fix typos, describe filebuf::fd().
212 * docs/html/faq/index.html: Update for 3.0.95.
213 * docs/html/faq/index.txt: Regenerate.
215 2001-12-19 David Billinghurst <David.Billinghurst@riotinto.com>
218 * testsuite/lib/libstdc++-v3-dg.exp: Append .exe to
221 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
223 * docs/html/17_intro/TODO: Update.
224 * docs/html/17_intro/RELEASE-NOTES: Edits, update.
225 * README: Edit for clarity, update to reflect current directory
228 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
230 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
232 * aclocal.m4: Rebuild.
233 * configure: Rebuild.
235 2001-12-18 Paolo Carlini <pcarlini@unitus.it>
236 Nathan Myers <ncm@cantrip.org>
238 * include/bits/basic_string.h (assign(__str, __pos, __n)):
239 Call assign(__s, __n).
240 (assign(__s, __n)): Terminate the string with _S_terminal.
242 2001-12-17 Benjamin Kosnik <bkoz@redhat.com>
244 * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
245 Set to true, like float and double.
247 2001-12-17 David Billinghurst <David.Billinghurst@riotinto.com>
250 * testsuite/lib/prune.exp: New file
251 * testsuite/lib/libstdc++-v3-dg.exp: Use it
253 2001-12-17 Phil Edwards <pme@gcc.gnu.org>
255 * include/bits/basic_file.h (__basic_file::fd): New function.
256 * config/io/basic_file_stdio.h (__basic_file::fd): Define.
257 * include/bits/std_fstream.h (basic_filebuf::fd): New function.
258 * include/bits/fstream.tcc (basic_filebuf::fd): Define.
259 * testsuite/27_io/filebuf_members.cc (test_02): New test.
261 2001-12-16 Nathan Sidwell <nathan@codesourcery.com>
263 * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
264 * po/Makefile.in: Regenerated.
266 2001-12-16 Paolo Carlini <pcarlini@unitus.it>
268 * testsuite/21_strings/assign.cc (test01): Add tests.
270 2001-12-15 Paolo Carlini <pcarlini@unitus.it>
271 Nathan Myers <ncm@cantrip.org>
273 * include/bits/basic_string.h
274 (assign(__str, __pos, __n), assign(__s, __n)): Optimize
275 by avoiding unnecessary temporaries.
276 (assign(__s)): Call assign(__s, __n).
277 * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
278 * include/bits/std_string.h: include stl_function.h.
279 * testsuite/21_strings/assign.cc (test02, test03): New tests.
281 2001-12-15 Benjamin Kosnik <bkoz@redhat.com>
283 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
285 * aclocal.m4: Regenerate.
286 * configure: Regenerate.
288 2001-12-14 Benjamin Kosnik <bkoz@redhat.com>
290 Clean up initialization and simplfy caching of underlying "C"
291 default locale objects.
292 * src/localename.cc (locale::_Impl::_Impl(string, size_t):
293 Unconditionally create __clocale object for all named locales,
294 including "C" and "POSIX".
295 * config/locale/c_locale_generic.cc
296 (locale::facet::_S_create_c_locale): Always set __cloc to zero.
297 * config/locale/c_locale_gnu.cc: Always delete.
298 * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
299 * src/locale.cc (locale::classic()): Initialize
300 locale::facet::_S_c_locale.
301 (locale::facet::_S_c_locale): Define.
303 * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
305 * src/locale.cc: Add definition here.
306 * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
307 * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
308 * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
310 (ctype<char>::_M_toupper): Remove const&.
311 (ctype<char>::_M_tolower): Remove const&.
312 (ctype<char>::_M_ctable): Remove const&.
314 * include/bits/locale_facets.h (collate): Clean up initialization
315 of _M_c_locale_collate in ctors and dtors.
316 * config/locale/collate_members_gnu.cc: Always use extended
319 * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
320 (messages_byname): Same.
321 * config/locale/messages_members_generic.h (messages::~messages):
323 * config/locale/messages_members_gnu.h: Same.
325 * include/bits/localefwd.h: Clean. Move dtor definitions to
326 * src/locale.cc: Here.
327 * testsuite/22_locale/facet.cc: Fix spelling.
329 Named locale support for ctype<wchar_t>.
330 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
331 ctype_members_* bits.
332 * aclocal.m4: Regenerate.
333 * configure: Regenerate.
334 * src/Makefile.am (sources): Add ctype.cc.
335 * src/Makefile.in: Regenerate.
336 * config/locale/ctype_members_generic.cc: New file.
337 * config/locale/ctype_members_gnu.cc: New file.
338 * src/locale.cc: Remove ctype<wchart_t> definitions.
340 2001-12-13 Roger Sayle <roger@eyesopen.com>
342 * acconfig.h: Test for __builtin_sqrt instead of
344 * acinclude.m4: Same.
345 * include/c_shadow/bits/std_cmath.h: Same.
346 * aclocal.m4: Regenerated.
347 * config.h.in: Regenerated.
348 * configure: Regenerated.
350 2001-12-13 Phil Edwards <pme@gcc.gnu.org>
352 * docs/html/ext/howto.html: Fix typos.
354 2001-12-13 Benjamin Kosnik <bkoz@redhat.com>
357 * src/locale.cc (locale::locale(const char*)): Deal with locales
359 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
361 2001-12-12 Paolo Carlini <pcarlini@unitus.it>
363 * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
364 _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
365 _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
366 : Adjust implicit typename.
367 * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
368 Adjust implicit typename.
369 * testsuite/27_io/streambuf.cc: Adjust implicit typename.
371 2001-12-12 Benjamin Kosnik <bkoz@redhat.com>
373 Named locale support for ctype<char>.
374 * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
375 * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
376 definitions for alternate constructor.
377 * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
378 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
379 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
380 * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
381 * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
382 * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
383 * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
384 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
385 * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
386 * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
387 * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
388 * config/os/aix/bits/ctype_noninline.h (ctype): Same.
389 * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
390 definitions for all virtual functions. These are now explicitly
391 undefined for non-required factets, ie any non-char, non-wchar_t
393 * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
394 locales use alternate constructor for ctype facet.
395 * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
396 mask*, bool, size_t): Add.
397 (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
398 * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
401 * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
402 XFAIL for non-gnu locale models.
404 2001-12-12 Philip Martin <philip@codematters.co.uk>
405 Ross Smith <r-smith@ihug.co.nz>
406 Paolo Carlini <pcarlini@unitus.it>
409 * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
410 Fix digits10 values for integral types.
411 * include/bits/locale_facets.tcc (num_get::do_get for integral types):
412 Tweak _M_extract_int call.
413 * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
414 Tweak overflowing number of digits.
415 * testsuite/18_support/numeric_limits.cc (test03): New testcase.
417 2001-12-11 Benjamin Kosnik <bkoz@redhat.com>
419 * config/os/generic/bits/ctype_inline.h: Remove spaces.
420 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
421 * include/bits/locale_facets.h (__num_base): Move double data
422 members to first in class.
423 * include/bits/locale_facets.tcc: Re-arrange, tweak.
424 * src/locale.cc: Clean.
425 *include/bits/stl_vector.h: Space typedefs.
427 2001-12-11 Phil Edwards <pme@gcc.gnu.org>
429 * testsuite/ext/allocators.cc: New file.
431 2001-12-11 Jason Merrill <jason@redhat.com>
433 * include/bits/locale_facets.tcc (_M_extract_int): Avoid
434 uninitialized warning.
436 2001-12-11 Loren Rittle <ljrittle@acm.org>
438 * config/cpu/sparc/sparc32/bits/atomicity.h
439 (__Atomicity_lock<0>::_S_atomicity_lock): Add.
441 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
443 * include/bits/basic_string.tcc (_M_replace_safe): Fix typos.
444 * include/bits/basic_string.h: Fix typos.
446 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
447 Nathan Myers <ncm@cantrip.org>
449 * include/bits/basic_string.tcc (_M_replace_safe): New function.
450 (_M_replace(input_iterator_tag), append members): Use it.
451 (_M_replace(forward_iterator_tag)): Remove.
452 * include/bits/basic_string.h: Adjust declarations.
453 * src/string-inst.cc: Adjust declarations.
455 2001-12-09 Benjamin Kosnik <bkoz@redhat.com>
456 Philip Martin <pmartin@uklinux.net>
458 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
459 (__num_base::_S_scale_oct): Add.
460 * include/bits/locale_facets.tcc (_M_extract_int): Use them.
461 * src/locale.cc: Add definitions.
462 * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
464 * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
466 2001-12-07 Nathan Myers <ncm@cantrip.org>
467 Loren Rittle <ljrittle@acm.org>
470 * config/cpu/sparc/sparc32/bits/atomicity.h
471 (struct __Atomicity_lock<__inst>): Add.
472 (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
473 (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
474 instead of lock local to static function.
475 (__atomic_add): Likewise.
477 2001-12-07 Phil Edwards <pme@gcc.gnu.org>
479 * src/globals.cc: Remove __GTHREADS guard.
481 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
483 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
484 Extend comment, reduce __cs_size for non-fixed outputs.
486 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
488 * include/bits/basic_string.tcc (_M_mutate): Fix typo
489 in the previous check in.
491 2001-12-06 Paolo Carlini <pcarlini@unitus.it>
492 Loren J. Rittle <ljrittle@acm.org>
494 * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
495 exponential growth policy to meet linear amortized time
496 requirements of the standard.
497 (_S_create): Adjust comment.
499 2001-12-06 Benjamin Kosnik <bkoz@redhat.com>
502 * include/bits/locale_facets.tcc (num_put): Clean.
503 (num_get::_M_extract_float): Change argument to string.
504 (num_get::do_get(float)): Fixup.
505 (num_get::do_get(double)): Same.
506 (num_get::do_get(long double)): Same.
507 (num_get::_M_extract_int): Add maximum length parameter, __max.
508 (num_get::_M_extract_float): Correct zeros, use string.
509 * include/bits/locale_facets.h (num_get::_M_extract_float): Change
511 * src/locale.cc (__num_base::_S_atoms): Remove x, X.
512 * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
514 2001-12-06 Philip Martin <pmartin@uklinux.net>
516 * testsuite/27_io/istream_extractor_arith.cc (test12): Add
517 tests for excess input digits.
519 2001-12-06 Phil Edwards <pme@gcc.gnu.org>
521 * include/bits/std_bitset.h: Use GLIBCPP in multiple-inclusion guard.
522 * include/bits/stl_algo.h: Likewise.
523 * include/bits/stl_algobase.h: Likewise.
524 * include/bits/stl_bvector.h: Likewise.
525 * include/bits/stl_deque.h: Likewise.
526 * include/bits/stl_function.h: Likewise.
527 * include/bits/stl_iterator.h: Likewise.
528 * include/bits/stl_iterator_base_funcs.h: Likewise.
529 * include/bits/stl_iterator_base_types.h: Likewise.
530 * include/bits/stl_list.h: Likewise.
531 * include/bits/stl_multimap.h: Likewise.
532 * include/bits/stl_multiset.h: Likewise.
533 * include/bits/stl_pair.h: Likewise.
534 * include/bits/stl_queue.h: Likewise.
535 * include/bits/stl_set.h: Likewise.
536 * include/bits/stl_stack.h: Likewise.
537 * include/bits/stl_tempbuf.h: Likewise.
538 * include/bits/stl_tree.h: Likewise.
539 * include/bits/stl_vector.h: Likewise.
541 * include/bits/stl_alloc.h: Use our own multiple inclusion guards.
542 Doxygenate more comments. Correct historical artifacts in comments.
543 (alloc, single_alloc): Uglify non-standard names.
544 (__default_alloc_template::_NFREELISTS): Calculate from other
546 (__default_alloc_template::_S_free_list): Remove SunPro workaround.
547 (__default_alloc_template::_Lock): Mark as "unused".
548 * include/backward/alloc.h: Update.
549 * include/bits/stl_bvector.h: Likewise.
550 * include/ext/ropeimpl.h: Likewise.
551 * include/ext/stl_hashtable.h: Likewise.
553 2001-12-05 Benjamin Kosnik <bkoz@redhat.com>
556 * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
557 grouping to floating point types.
558 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
560 2001-12-04 Paolo Carlini <pcarlini@unitus.it>
563 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
565 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
566 Deal properly with long ios_base::fixed floats.
567 (num_put::_M_widen_float): use
568 __len in __builtin_alloca call.
570 2001-12-04 Benjamin Kosnik <bkoz@redhat.com>
572 * src/Makefile.am (sources): Add ext-inst.cc.
573 * src/Makefile.in: Regenerate.
574 * src/ext-inst.cc: New file.
575 * include/bits/stl_threads.h: Format.
576 * src/globals.cc: Add instantiation for _S_swap_lock.
578 * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
581 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
583 * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
584 and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
585 * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
586 for explicit instantiation of class std::basic_string<char,
587 gnu_char_traits, std::allocator<char> >.
589 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
591 * testsuite/22_locale/collate.cc: Compile-only.
592 * testsuite/22_locale/time_get.cc: Same.
593 * testsuite/22_locale/time_put.cc: Same.
594 * testsuite/22_locale/numpunct.cc: Same.
595 * testsuite/22_locale/num_put.cc: Same.
596 * testsuite/22_locale/num_get.cc: Same.
597 * testsuite/22_locale/moneypunct.cc: Same.
598 * testsuite/22_locale/money_get.cc: Same.
599 * testsuite/22_locale/messages.cc: Same.
600 * testsuite/22_locale/ctype.cc: Same.
602 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
604 * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
605 member instantiations.
607 2001-12-03 Steve Ellcey <sje@cup.hp.com>
609 * libstdc++-v3/configure.in: Add support for hpux cross compiles,
610 combine common linux/hpux/generic cross compile support to reduce
612 * libstdc++-v3/configure: Regenerate.
614 2001-12-03 Loren J. Rittle <ljrittle@acm.org>
616 * docs/html/ext/howto.html: Update commentary.
617 * include/bits/c++config: Update threading configuration comment.
618 (__STL_GTHREADS): Remove macro definition.
619 (__STL_THREADS): Likewise.
620 * include/bits/stl_threads.h: Leave only the configuration
621 path which had been guarded by __STL_GTHREADS. Remove all
622 guards related to __STL_GTHREADS, __STL_SGI_THREADS,
623 __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
624 * include/bits/stl_alloc.h: Leave only the configuration path
625 which had been guarded by __STL_THREADS. Remove configuration
626 path and guards for __STL_SGI_THREADS.
627 (__NODE_ALLOCATOR_THREADS): Remove macro definition. Unroll its use.
628 (__NODE_ALLOCATOR_LOCK): Likewise.
629 (__NODE_ALLOCATOR_UNLOCK): Likewise.
630 (_NOTHREADS): Remove guards related to macro.
631 * include/ext/stl_rope.h: Remove configuration path and guards
632 for __STL_SGI_THREADS.
633 * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
635 2001-12-02 Phil Edwards <pme@gcc.gnu.org>
637 * docs/html/ext/howto.html: Update list of implemented DRs.
638 * docs/html/ext/lwg-active.html: Import R20 from upstream.
639 * docs/html/ext/lwg-defects.html: Import R20 from upstream.
641 2001-11-30 Benjamin Kosnik <bkoz@redhat.com>
645 * libsupc++/exception (bad_exception::~bad_exception()): Remove
647 * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
648 * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
649 (bad_typeid::~bad_typeid()): Remove.
650 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
651 (bad_typeid::~bad_typeid()): Same.
652 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
653 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
655 * include/bits/std_iomanip.h: Tweak.
657 2001-11-29 Paolo Carlini <pcarlini@unitus.it>
660 * include/bits/locale_facets.tcc (__pad): Add bool parameter to
661 correctly pad internal-adjusted const char*-type objects.
662 * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
663 * include/bits/ostream.tcc (operator<<(_CharT , char, const
664 _CharT*, const char*, const basic_string&): Update calls.
665 * src/locale-inst.tcc: Update declarations.
666 * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
668 2001-11-29 Phil Edwards <pme@gcc.gnu.org>
670 * docs/html/ext/howto.html: Finish allocator notes (inst and 3.0).
672 2001-11-29 Benjamin Kosnik <bkoz@redhat.com>
674 * include/bits/locale_facets.tcc (num_get::do_get(long double)):
675 Fix __traits_type typo.
677 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
679 * include/bits/locale_facets.tcc (__pad): Correctly pad
680 internal-adjusted hex numbers.
681 * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
683 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
684 Loren J. Rittle <ljrittle@acm.org>
686 * include/bits/basic_string.h
687 (basic_string::_Rep::__default_excess, _S_excess_slop):
689 * include/bits/basic_string.tcc: Remove dead code.
690 * include/bits/c++config: Remove comment.
692 2001-11-28 Benjamin Kosnik <bkoz@redhat.com>
693 Jakub Jelinek <jakub@redhat.com>
695 * config/locale/moneypunct_members_gnu.cc
696 (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
698 * config/locale/numpunct_members_gnu.cc
699 (numpunct<wchar_t>::_M_initialize_numpunct): Same.
701 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
703 * include/bits/locale_facets.tcc: Formatting tweaks.
705 * testsuite/23_containers/map_operators.cc: Don't xfail.
706 * testsuite/23_containers/set_operators.cc: Same.
707 * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
708 * testsuite/backward/header_deque_h.cc: Same.
710 2001-11-27 Loren J. Rittle <ljrittle@acm.org>
711 Paolo Carlini <pcarlini@unitus.it>
713 * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
714 Enforce allocation size blocking policy to reduce
715 fragmentation and enhance performance with common malloc
718 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
720 Numeric facets cleanup.
721 * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
723 (__num_base::_M_zero): Add
724 (__num_base::_M_e): Add.
725 (__num_base::_M_E): Add.
726 * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
727 (num_get::_M_extract_float): New.
728 (num_get::_M_extract_int): New.
729 * src/locale.cc (num_get::_M_extract): Remove.
731 * include/bits/locale_facets.tcc (num_put::_M_insert_float):
732 Simplify, use _M_insert.
733 (num_put::do_put(bool)): Simplify, remove __pad.
735 (__pad_output): Change to __pad.
736 * include/bits/ostream.tcc: And here.
737 * src/locale-inst: Remove instantiations.
739 * include/bits/locale_facets.h: Move helper functions in to class
741 (num_put::_M_insert_float): Same, for __output_integer.
742 (num_put::_M_insert_int): Same, for __output_float.
743 (num_put::_M_insert): New.
745 (__num_base::_S_format_float): Move
746 __build_float_format into class __num_base.
747 (__num_base::_S_format_int): Move __build_int_format into class
749 * include/bits/locale_facets.tcc (__group_digits): Change to
750 (__add_grouping): This.
751 * src/locale-inst.cc: And here. Tweak instantiations.
752 * src/misc-inst.cc: Remove instantiations.
754 * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
755 for new calling conventions, move to...
756 * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
757 signature to make it useful for both ostream and num_put.
758 (__pad_numeric): Remove.
759 * src/misc-inst.cc: Remove instantiations.
760 * src/locale-inst.cc: Same.
762 * include/bits/locale_facets.h (_Numeric_get): Remove.
763 (_Numeric_put): Remove.
764 (num_get::get(short)): Remove.
765 (num_get::get(int)): Remove.
766 (num_get::do_get(short)): Remove.
767 (num_get::do_get(int)): Remove.
768 * include/bits/istream.tcc (istream::operator>>(short)): Fix as
770 (istream::operator>>(int)): Same.
772 * include/bits/locale_facets.h (_Format_cache): Remove.
773 * include/bits/locale_facets.tcc: Same.
774 * src/locale.cc: Same.
775 * src/locale-inst.cc: Same.
776 * include/bits/ostream.tcc: Same.
777 * src/ios.cc (ios_base::imbue): Remove here as well.
779 * testsuite/22_locale/num_get.cc: New file.
780 * testsuite/22_locale/num_get_members_char.cc: New file.
781 * testsuite/22_locale/num_get_members_wchar_t.cc: New.
782 * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
783 * testsuite/22_locale/num_put.cc: New file.
784 * testsuite/22_locale/num_put_members_char.cc: New file.
785 * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
786 * testsuite/27_io/ostream_inserter_arith.cc: Fix.
787 * testsuite/27_io/istream_extractor_arith.cc: Fix.
789 2001-11-27 Phil Edwards <pme@gcc.gnu.org>
791 * docs/html/explanations.html: New section, empty for now.
792 * docs/html/17_intro/howto.html: Cleanup. Move unrelated link...
793 * docs/html/23_containers/howto.html: ...to here. Break up and
794 rewrap threading discussion to emphasize warning. Move malloc text...
795 * docs/html/ext/howto.html: ...to here. New section. Describe
796 allocators and __USE_MALLOC effects.
797 * docs/html/ext/sgiexts.html: Mention their code.
799 2001-11-24 Joseph S. Myers <jsm28@cam.ac.uk>
801 * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
802 docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
805 2001-11-23 Phil Edwards <pme@gcc.gnu.org>
807 * Makefile.am (doxygen-maint): The script isn't executable in CVS.
808 * Makefile.in: Regenerated.
809 * docs/doxygen/TODO: New file listing doxygen work to be done.
810 * docs/doxygen/run_doxygen: Fix up man pages.
811 * docs/doxygen/user.cfg.in: Insert maint-only toggles.
812 * docs/doxygen/maint.cfg.in: Copy from user.cfg and turn toggles on.
813 * include/bits/stl_construct.h: Use new hooks for internal functions.
815 * docs/html/17_intro/TODO: Small updates.
816 * docs/html/faq/index.html: Likewise.
817 * docs/html/faq/index.txt: Regenerated.
819 * include/bits/stl_alloc.h: Doxygenate, reindent comments, remove
820 SGI-isms and wrappers.
821 (simple_alloc, debug_alloc): Uglify class names.
822 (__default_alloc_template): Uglify "threads" template parameter and
823 update corresponding macros.
824 * include/backward/alloc.h: Bring up to date.
826 2001-11-23 Jason Merrill <jason@redhat.com>
828 * src/vterminate.cc (__verbose_terminate_handler): Add leading
831 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
833 * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
834 docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
835 docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
836 docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
837 docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
838 docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
839 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
840 docs/html/21_strings/howto.html,
841 docs/html/23_containers/howto.html,
842 docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
843 docs/html/27_io/binary_iostreams_kuehl.txt,
844 docs/html/ext/sgiexts.html, docs/html/faq/index.html,
845 docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
846 include/bits/basic_file.h, include/bits/locale_facets.h,
847 include/bits/locale_facets.tcc, include/bits/std_sstream.h,
848 include/ext/ropeimpl.h, include/ext/stl_rope.h,
849 libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
850 libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
851 configure.target, ChangeLog-2000: Fix spelling errors.
853 * config/locale/moneypunct_members_gnu.cc,
854 include/bits/locale_facets.h: Fix spelling errors.
856 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
858 * testsuite/23_containers/list_capacity.cc: New file.
859 * testsuite/23_containers/list_ctor.cc: New file.
860 * testsuite/23_containers/list_modifiers.cc: New file.
861 * testsuite/23_containers/list_operators.cc: New file.
863 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
865 * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
866 (size): Replaced nonstandard distance() call with the standard one.
867 (transfer): Uglified to _M_transfer.
869 2001-11-21 Paolo Carlini <pcarlini@unitus.it>
872 * include/bits/basic_string.tcc (basic_string::reserve): Never shrink
873 below the current size.
874 * testsuite/21_strings/capacity.cc (test02): Add test.
876 2001-11-19 Phil Edwards <pme@gcc.gnu.org>
878 * docs/doxygen/Intro.3: More notes.
879 * docs/doxygen/style.css: Update to default style from Doxygen 1.2.10.
880 * include/bits/stl_algobase.h: Add doxygen hooks for functions.
881 * include/ext/hash_map: Add @file hook.
882 * include/ext/hash_set: Likewise.
883 * include/ext/rope: Likewise.
884 * include/ext/ropeimpl.h: Likewise.
885 * include/ext/slist: Likewise.
886 * include/ext/stl_hash_fun.h: Likewise.
887 * include/ext/stl_hashtable.h: Likewise.
888 * include/ext/stl_rope.h: Likewise.
890 * docs/html/17_intro/license.html: Remove "experimental" sentence.
891 * docs/html/19_diagnostics/howto.html: Document new verbose
893 * testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
894 to more visible (closer to description) position.
896 * libsupc++/eh_type.cc: Formatting tweak.
897 * libsupc++/exception: Likewise.
898 * src/vterminate.cc: Likewise.
900 * docs/html/17_intro/porting.html: Regenerate.
901 * docs/html/faq/index.txt: Regenerate.
903 2001-11-18 Jason Merrill <jason@redhat.com>
905 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
906 * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
907 * libsupc++/unwind-cxx.h: Adjust.
908 * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
910 * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
911 * libsupc++/cxxabi.h: Declare it.
912 * libsupc++/Makefile.am (sources): Add it.
913 * src/vterminate.cc (verbose_terminate_handler): New file.
914 * libsupc++/exception: Declare it.
915 * src/Makefile.am (sources): Add it.
917 * src/Makefile.am (VPATH): Check the src directory before the top one.
919 2001-11-16 Paolo Carlini <pcarlini@unitus.it>
921 * include/bits/stl_deque.h (deque::erase()): Fix memory leak.
923 2001-11-16 Loren J. Rittle <ljrittle@acm.org>
925 * docs/html/17_intro/howto.html (Thread-safety): Rename
926 section to ``The Standard C++ library and multithreading'' and
927 update information based on recent mailing list traffic. Move
928 all discussion of __USE_MALLOC to...
929 * docs/html/23_containers/howto.html (Containers and multithreading):
930 ...here and rework it based on recent mailing list traffic.
932 2001-11-15 Loren J. Rittle <ljrittle@acm.org>
934 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
937 2001-11-15 <bjornw@planetarion.com>
938 Loren J. Rittle <ljrittle@acm.org>
941 * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
942 (single_client_alloc): Likewise.
944 2001-11-08 Danny Smith <dannysmith@users.sourceforge.net>
946 * configure.target: Add os_include_dir for mingw32* target.
947 * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
948 from _GLIBCPP_AVOID_FSEEK.
949 * config/os/mingw32/bits/ctype_base.h: New file.
950 * config/os/mingw32/bits/ctype_inline.h: New file.
951 * config/os/mingw32/bits/ctype_noninline.h: New file.
952 * config/os/mingw32/bits/os_defines.h: New file.
954 2001-11-07 Nathan Myers <ncm@cantrip.org>
956 * docs/html/faq/index.html (5.8): New entry on ABIs.
957 * docs/html/faq/index.txt: Regenerate.
959 2001-11-07 Phil Edwards <pme@gcc.gnu.org>
961 * docs/html/faq/index.html: Explain libsupc++, mention 'long long'
963 * docs/html/faq/index.txt: Regenerate.
965 2001-11-06 Phil Edwards <pme@gcc.gnu.org>
967 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
969 * aclocal.m4: Regenerate.
970 * configure: Regenerate.
972 2001-11-05 Phil Edwards <pme@gcc.gnu.org>
974 * porting.texi: Move...
975 * docs/html/17_intro/porting.texi: ...to here.
976 * docs/html/Makefile: Add rule to rebuild...
977 * docs/html/17_intro/porting.html: ...this. New file.
979 2001-11-05 Felix Natter <fnatter@gmx.net>
981 * docs/html/17_intro/porting-howto.xml: check in v0.9.4
982 * docs/html/17_intro/porting-howto.html: regenerate
984 2001-11-02 Loren J. Rittle <ljrittle@acm.org>
986 * include/bits/stl_threads.h (_Atomic_swap): Only enable path
987 when platform supports __GTHREAD_MUTEX_INIT.
989 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
991 * acconfig.h: Update comments.
992 * acinclude.m4 (GLIBCPP_ENABLE_C99): Move strtoll, strtoull tests...
993 (GLIBCPP_ENABLE_LONG_LONG): ...to here. Don't check enable_c99.
994 * aclocal.m4: Regenerate.
995 * config.h.in: Regenerate.
996 * configure: Regenerate.
998 * include/bits/boost_concept_check.h: Unconditionally compile uses
999 of 'long long' which require only compiler support, not C lib support.
1000 * include/bits/cpp_type_traits.h: Likewise.
1001 * include/bits/std_limits.h: Likewise.
1002 * include/bits/type_traits.h: Likewise.
1003 * src/concept-inst.cc: Likewise.
1004 * src/limits.cc: Likewise.
1005 * include/c_shadow/stdlib.h: Compile conditionally on _GLIBCPP_USE_C99
1006 instead of _GLIBCPP_USE_LONG_LONG.
1007 * include/c_shadow/bits/std_cstdlib.h: Likewise.
1009 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1011 * config/io/c_io_stdio.h: Correct grammar in comments.
1012 * docs/doxygen/Intro.3: Expand "top-level" man page.
1013 * docs/doxygen/doxygroups.cc: New module definitions (comments).
1014 * docs/doxygen/mainpage.doxy: Tweaks.
1015 * docs/doxygen/run_doxygen: Update Doxygen version, massage man pages.
1017 Add @file hooks so that headers are considered to be documented.
1018 * include/bits/basic_ios.h, include/bits/basic_file.h,
1019 include/bits/basic_string.h, include/bits/boost_concept_check.h,
1020 include/bits/char_traits.h, include/bits/codecvt.h,
1021 include/bits/concept_check.h, include/bits/cpp_type_traits.h,
1022 include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
1023 include/bits/indirect_array.h, include/bits/ios_base.h,
1024 include/bits/locale_facets.h, include/bits/localefwd.h,
1025 include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
1026 include/bits/slice.h, include/bits/slice_array.h,
1027 include/bits/std_algorithm.h, include/bits/std_bitset.h,
1028 include/bits/std_complex.h, include/bits/std_deque.h,
1029 include/bits/std_fstream.h, include/bits/std_functional.h,
1030 include/bits/std_iomanip.h, include/bits/std_ios.h,
1031 include/bits/std_iosfwd.h, include/bits/std_iostream.h,
1032 include/bits/std_istream.h, include/bits/std_iterator.h,
1033 include/bits/std_limits.h, include/bits/std_list.h,
1034 include/bits/std_locale.h, include/bits/std_map.h,
1035 include/bits/std_memory.h, include/bits/std_numeric.h,
1036 include/bits/std_ostream.h, include/bits/std_queue.h,
1037 include/bits/std_set.h, include/bits/std_sstream.h,
1038 include/bits/std_stack.h, include/bits/std_streambuf.h,
1039 include/bits/std_string.h, include/bits/std_utility.h,
1040 include/bits/std_valarray.h, include/bits/std_vector.h,
1041 include/bits/stl_algo.h, include/bits/stl_alloc.h,
1042 include/bits/stl_bvector.h, include/bits/stl_construct.h,
1043 include/bits/stl_deque.h, include/bits/stl_heap.h,
1044 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
1045 include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
1046 include/bits/stl_map.h, include/bits/stl_multimap.h,
1047 include/bits/stl_multiset.h, include/bits/stl_numeric.h,
1048 include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
1049 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
1050 include/bits/stl_relops.h, include/bits/stl_set.h,
1051 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
1052 include/bits/stl_threads.h, include/bits/stl_tree.h,
1053 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
1054 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
1055 include/bits/stringfwd.h, include/bits/type_traits.h,
1056 include/bits/valarray_array.h, include/bits/valarray_meta.h:
1057 Add hooks, tweak comments only.
1059 * include/bits/stl_algobase.h (swap, min, iter_swap): Also
1060 document these functions.
1061 * include/bits/stl_function.h: Tweak link comments.
1063 2001-11-01 Paolo Carlini <pcarlini@unitus.it>
1064 Benjamin Kosnik <bkoz@redhat.com>
1066 * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
1068 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
1070 2001-11-01 Egor Duda <deo@logos-m.ru>
1072 * config/os/newlib/bits/ctype_noninline.h
1073 (ctype<char>::do_toupper(char __c)): Check for proper character class.
1074 (ctype<char>::do_tolower(char __c)): Ditto.
1076 2001-11-01 Phil Edwards <pme@gcc.gnu.org>
1078 * acinclude.m4: Fix spacing.
1079 (GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro.
1080 * configure.in: Call here.
1081 * acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS.
1082 * include/bits/boost_concept_check.h: Fix headers.
1083 (__function_requires): Make inline.
1084 * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove.
1085 * aclocal.m4: Regenerate.
1086 * config.h.in: Regenerate.
1087 * configure: Regenerate.
1089 Move trailing ';' inside macro, PR libstdc++/3666.
1090 * include/bits/concept_check.h: Add semicolon.
1091 * include/bits/stl_algo.h: Remove semicolon.
1092 * include/bits/stl_algobase.h: Likewise.
1093 * include/bits/stl_deque.h: Likewise.
1094 * include/bits/stl_heap.h: Likewise.
1095 * include/bits/stl_iterator_base_funcs.h: Likewise.
1096 * include/bits/stl_list.h: Likewise.
1097 * include/bits/stl_map.h: Likewise.
1098 * include/bits/stl_multimap.h: Likewise.
1099 * include/bits/stl_multiset.h: Likewise.
1100 * include/bits/stl_numeric.h: Likewise.
1101 * include/bits/stl_queue.h: Likewise.
1102 * include/bits/stl_set.h: Likewise.
1103 * include/bits/stl_stack.h: Likewise.
1104 * include/bits/stl_vector.h: Likewise.
1105 * include/ext/hash_map: Likewise.
1106 * include/ext/hash_set: Likewise.
1107 * include/ext/slist: Likewise.
1109 * src/concept-inst.cc: New file with explicit instantiations.
1110 * src/Makefile.am (sources): Add here, with special build rules.
1111 * src/Makefile.in: Regenerate.
1113 2001-11-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1115 * include/bits/std_complex.h (_Norm_helper): New class template.
1117 (abs): Tweak. Fix Thinko.
1119 2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
1122 * include/bits/codecvt.h: Add virtual member function declarations.
1123 * src/codecvt.cc: Tweaks.
1124 * testsuite/22_locale/codecvt.cc: Test compilation only,
1125 non-required facets not required to have linkage.
1127 2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
1130 * include/bits/std_complex.h (complex::operator/=): Correct sign.
1132 2001-10-30 Paolo Carlini <pcarlini@unitus.it>
1133 Benjamin Kosnik <bkoz@redhat.com>
1136 * include/bits/basic_string.h: Tweaks.
1137 * include/bits/basic_string.tcc (string::_M_replace(iterator,
1138 iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
1139 * src/string-inst.cc: Tweaks, add instantiation.
1140 * testsuite/21_strings/replace.cc (test02): Add test.
1141 * testsuite/21_strings/assign.cc (test01): New file.
1143 2001-10-30 Jakub Jelinek <jakub@redhat.com>
1145 * include/bits/stl_deque.h (_M_new_elements_at_front): Use
1146 __throw_exception_again.
1147 (_M_new_elements_at_back): Likewise.
1149 2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
1152 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1153 * testsuite/27_io/filebuf.cc (test07): New test.
1154 (test03): Modify showmanyc test.
1156 2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
1159 * config/locale/codecvt_specializations_ieee_1003.1-200x.h
1160 (__enc_traits::~__enc_traits): Fix.
1161 (__enc_traits::_M_init): Add error checking.
1163 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1166 * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
1168 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1171 * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
1173 * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
1174 consistent, where possible.
1175 * include/bits/streambuf.tcc: Tweak.
1177 2001-10-25 Brendan Kehoe <brendan@zen.org>
1180 * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
1181 * bits/istream.tcc (seekg): Likewise.
1183 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1184 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1185 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1187 * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
1189 * include/bits/std_limits.h: Fix wchar_t issues.
1190 * config/os/aix/bits/os_defines.h: Fix.
1192 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1194 * include/bits/locale_facets.tcc (collate::do_transform): Fix.
1196 2001-10-25 Phil Edwards <pme@gcc.gnu.org>
1198 * docs/html/documentation.html: Fix typo.
1200 2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
1202 Make -fno-exceptions work.
1203 * config/locale/c_locale_gnu.cc: Use functexcept.
1204 * include/bits/c++config (__stl_assert): Remove.
1205 (__STL_USE_EXCEPTIONS): Same.
1207 (__STL_CATCH_ALL): Same.
1208 (__STL_THROW): Same.
1209 (__STL_RETHROW): Same.
1210 (__STL_NOTHROW): Same.
1211 (__STL_UNWIND): Same.
1212 * include/bits/pthread_allocimpl.h: Fix.
1213 * include/bits/std_bitset.h: Same.
1214 * include/bits/std_list.h: Same.
1215 * include/bits/std_memory.h: Same.
1216 * include/bits/std_queue.h: Same.
1217 * include/bits/stl_alloc.h: Same.
1218 * include/bits/stl_deque.h: Same.
1219 * include/bits/stl_list.h: Same.
1220 * include/bits/stl_queue.h: Same.
1221 * include/bits/stl_tempbuf.h: Same.
1222 * include/bits/stl_tree.h: Same.
1223 * include/bits/stl_uninitialized.h: Same.
1224 * include/bits/stl_vector.h: Same.
1225 * include/ext/ropeimpl.h: Same.
1226 * include/ext/slist: Same.
1227 * include/ext/stl_hashtable.h: Same.
1228 * include/ext/stl_rope.h: Same.
1229 * libsupc++/new_op.cc: Include cstdlib.
1230 * libsupc++/eh_personality.cc: Add exception_defines include. Use
1231 __throw_exception_again, tweak.
1232 * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
1233 * libsupc++/vec.cc: Tweak.
1234 * src/functexcept.cc: Remove unused arguments.
1235 * testsuite/23_containers/bitset_members.cc: Tweak.
1237 2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
1239 * config/cpu/i386/bits/limits.h: Move to...
1240 * config/cpu/i386/bits/cpu_limits.h: ...here.
1241 * config/cpu/cris/bits/cpu_limits.h: Same.
1242 * config/cpu/powerpc/bits/cpu_limits.h: Same.
1243 * config/cpu/x86-64/bits/cpu_limits.h: Same.
1244 * config/cpu/alpha/bits/cpu_limits.h: New.
1245 * config/cpu/m68k/bits/cpu_limits.h: New.
1246 * config/cpu/s390/bits/cpu_limits.h: New.
1247 * config/os/aix/bits/os_defines.h: Tweaks.
1248 * config/os/bsd/freebsd/bits/os_defines.h: Same.
1249 * config/os/bsd/netbsd/bits/os_defines.h: Same.
1250 * config/os/djgpp/bits/os_defines.h: Same.
1251 * config/os/generic/bits/os_defines.h: Same.
1252 * config/os/gnu-linux/bits/os_defines.h: Same.
1253 * config/os/hpux/bits/os_defines.h: Same.
1254 * config/os/irix/irix5.2/bits/os_defines.h: Same.
1255 * config/os/irix/irix6.5/bits/os_defines.h: Same.
1256 * config/os/newlib/bits/os_defines.h: Same.
1257 * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
1258 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1259 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1261 * include/bits/c++config: Remove include.
1262 * include/bits/limits_generic.h: Remove.
1263 * include/bits/std_limits.h: Include cpu_limits.h.
1264 * include/Makefile.am: Fixup.
1265 * src/limits.cc: Tweak.
1266 * src/limits_generic.cc: Remove.
1267 * src/gen-num-limits.cc: Remove.
1268 * mknumeric_limits: Remove.
1270 2001-10-20 Brendan Kehoe <brendan@zen.org>
1272 * bits/type_traits.h (_Bool): Removed this type.
1273 (__true_type, __false_type): Change to be plain structs.
1274 * src/string-inst.cc (__destroy_aux): Change third parm to be
1275 __false_type instead of _Bool<false>.
1276 * src/misc-inst.cc (__uninitialized_fill_n_aux,
1277 __uninitialized_copy_aux): Likewise.
1279 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1281 * mkcheck.in (static_fail): Remove older memory limit functionality.
1282 Disable E_TIME due to formatting issues.
1286 2001-10-19 Brendan Kehoe <brendan@zen.org>
1288 * include/bits/std_complex.h: Default initialize second argument
1289 of polar to 0, as specified in Library DR #79
1291 2001-10-19 Brendan Kehoe <brendan@zen.org>
1293 * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
1294 _Construct instead of construct.
1296 2001-10-19 Brendan Kehoe <brendan@zen.org>
1298 * include/bits/basic_string.tcc (find_first_not_of): Take out check for
1299 __n being non-zero, since the standard does not mandate that.
1300 e.g., a search for "" in "" should yield position 0, not npos.
1301 (find_last_not_of): Likewise.
1303 2001-10-19 Brendan Kehoe <brendan@zen.org>
1305 * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
1306 to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
1308 2001-10-19 Brendan Kehoe <brendan@zen.org>
1310 * include/bits/stl_iterator.h (reverse_iterator::current): Rename
1311 member from _M_current, and change all uses; thus sayeth $24.4.1.1.
1313 2001-10-19 Brendan Kehoe <brendan@zen.org>
1315 * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
1316 template parameter _ValueType.
1318 2001-10-19 Brendan Kehoe <brendan@zen.org>
1320 * include/bits/std_limits.h: Clean up extra semicolons.
1321 * include/bits/locale_facets.h: Likewise.
1322 * include/bits/type_traits.h: Likewise.
1324 2001-10-19 Brendan Kehoe <brendan@zen.org>
1326 * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
1327 * include/bits/locale_facets.tcc (locale::combine): Likewise.
1329 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1331 * include/bits/locale_facets.h (__timepunct::_M_put_helper):
1332 Declare specializations for char, wchar_t.
1334 2001-10-19 Andreas Jaeger <aj@suse.de>
1336 * config/cpu/x86-64/bits/limits.h: New file.
1337 * config/cpu/x86-64/bits/atomicity.h: New file.
1338 * configure.target: Add x86-64.
1340 2001-10-17 Phil Edwards <pme@gcc.gnu.org>
1342 * docs/html/17_intro/howto.html: Remove 1999 links (and explain
1343 why). Add link to recent message.
1344 * docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
1346 * docs/html/faq/index.txt: Regenerate.
1348 2001-10-12 Loren J. Rittle <ljrittle@acm.org>
1350 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
1351 based on Nathan's review. Use Nathan's words.
1353 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1355 * docs/html/configopts.html: Quote StyleSheet attribute values.
1356 * docs/html/documentation.html: Likewise.
1357 * docs/html/explanations.html: Likewise.
1358 * docs/html/install.html: Likewise.
1359 * docs/html/17_intro/howto.html: Likewise.
1360 * docs/html/17_intro/license.html: Likewise.
1361 * docs/html/18_support/howto.html: Likewise.
1362 * docs/html/19_diagnostics/howto.html: Likewise.
1363 * docs/html/20_util/howto.html: Likewise.
1364 * docs/html/21_strings/howto.html: Likewise.
1365 * docs/html/22_locale/howto.html: Likewise.
1366 * docs/html/23_containers/howto.html: Likewise.
1367 * docs/html/24_iterators/howto.html: Likewise.
1368 * docs/html/25_algorithms/howto.html: Likewise.
1369 * docs/html/26_numerics/howto.html: Likewise.
1370 * docs/html/27_io/howto.html: Likewise.
1371 * docs/html/ext/howto.html: Likewise.
1372 * docs/html/ext/sgiexts.html: Likewise.
1373 * docs/html/faq/index.html: Likewise.
1375 2001-10-11 Loren J. Rittle <ljrittle@acm.org>
1377 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
1378 * docs/html/23_containers/howto.html (Containers and multithreading):
1381 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1383 * docs/html/17_intro/howto.html: Tweak markup and value type.
1384 * docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
1385 nonzero arguments, add new note on threading.
1386 * docs/html/faq/index.html: Update.
1387 * docs/html/faq/index.txt: Regenerate.
1389 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1391 * docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
1392 * docs/html/documentation.html: Likewise.
1393 * docs/html/explanations.html: Likewise.
1394 * docs/html/install.html: Likewise.
1395 * docs/html/17_intro/howto.html: Likewise.
1396 * docs/html/17_intro/license.html: Likewise. Tighten up language.
1397 * docs/html/18_support/howto.html: Likewise.
1398 * docs/html/19_diagnostics/howto.html: Likewise.
1399 * docs/html/20_util/howto.html: Likewise.
1400 * docs/html/21_strings/howto.html: Likewise.
1401 * docs/html/22_locale/howto.html: Likewise.
1402 * docs/html/23_containers/howto.html: Likewise.
1403 * docs/html/24_iterators/howto.html: Likewise.
1404 * docs/html/25_algorithms/howto.html: Likewise.
1405 * docs/html/26_numerics/howto.html: Likewise.
1406 * docs/html/27_io/howto.html: Likewise.
1407 * docs/html/ext/howto.html: Likewise.
1408 * docs/html/ext/sgiexts.html: Likewise.
1409 * docs/html/faq/index.html: Likewise. Not so many absolute links.
1410 * docs/html/faq/index.txt: Regenerate.
1412 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
1414 * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
1415 spelling errors of "separate" as "seperate", and corresponding
1416 spelling errors of related words.
1417 * docs/html/faq/index.txt: Regenerate.
1419 2001-10-05 Phil Edwards <pme@gcc.gnu.org>
1421 * config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
1423 * config/cpu/arm/bits/atomicity.h: Likewise.
1424 * config/cpu/generic/bits/atomicity.h: Likewise.
1425 * config/cpu/i486/bits/atomicity.h: Likewise.
1426 * config/cpu/ia64/bits/atomicity.h: Likewise.
1427 * config/cpu/mips/bits/atomicity.h: Likewise.
1428 * config/cpu/powerpc/bits/atomicity.h: Likewise.
1429 * config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
1430 * config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
1432 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1434 * docs/html/faq/index.html: Describe DR #22, and a workaround.
1435 * docs/html/faq/index.txt: Regenerate.
1437 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1439 * docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
1440 * docs/html/17_intro/license.html: New file. Explain the licenses
1443 * docs/html/configopts.html: Link to license.html.
1444 * docs/html/documentation.html: Likewise.
1445 * docs/html/explanations.html: Likewise.
1446 * docs/html/install.html: Likewise.
1447 * docs/html/17_intro/howto.html: Likewise.
1448 * docs/html/18_support/howto.html: Likewise.
1449 * docs/html/19_diagnostics/howto.html: Likewise.
1450 * docs/html/20_util/howto.html: Likewise.
1451 * docs/html/21_strings/howto.html: Likewise.
1452 * docs/html/22_locale/howto.html: Likewise.
1453 * docs/html/23_containers/howto.html: Likewise.
1454 * docs/html/24_iterators/howto.html: Likewise.
1455 * docs/html/25_algorithms/howto.html: Likewise.
1456 * docs/html/26_numerics/howto.html: Likewise.
1457 * docs/html/27_io/howto.html: Likewise.
1458 * docs/html/ext/howto.html: Likewise.
1459 * docs/html/ext/sgiexts.html: Likewise.
1460 * docs/html/faq/index.html: Likewise. New question, linking to
1461 the new license.html.
1463 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1465 * docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
1466 * docs/html/18_support/howto.html: Likewise.
1467 * docs/html/19_diagnostics/howto.html: Likewise.
1468 * docs/html/20_util/howto.html: Likewise.
1469 * docs/html/21_strings/howto.html: Likewise.
1470 * docs/html/22_locale/howto.html: Likewise.
1471 * docs/html/23_containers/howto.html: Likewise.
1472 * docs/html/24_iterators/howto.html: Likewise.
1473 * docs/html/25_algorithms/howto.html: Likewise.
1474 * docs/html/26_numerics/howto.html: Likewise.
1475 * docs/html/27_io/howto.html: Likewise.
1476 * docs/html/ext/howto.html: Likewise.
1477 * docs/html/faq/index.html: Likewise. Spacing fix.
1479 2001-10-03 Dimitris Vyzovitis <vyzo@media.mit.edu>
1481 * include/bits/stl_threads.h (_Atomic_swap): New function.
1482 (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
1483 * testsuite/ext/rope.cc: New file.
1485 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
1487 * config/locale/time_members_gnu.h: Remove.
1488 * config/locale/time_members_generic.h: Remove.
1489 * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
1490 * config/locale/time_members_generic.cc: Same.
1491 * include/bits/locale_facets.h: Add data members.
1492 (__timepunct::_M_put_helper): Change signature.
1493 (__timepunct::_M_date_formats): Same.
1494 (__timepunct::_M_time_formats): Same.
1495 (__timepunct::_M_ampm): Add.
1496 (__timepunct::_M_date_time_formats): Add.
1497 (time_get::_M_extract_via_format): Add.
1498 (time_get::_M_extract_time): Change to...
1499 (time_get::_M_extract_num): ... this, modify signature.
1500 * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
1501 (time_get::do_get_time): Fix.
1502 (time_get::do_get_date): Fix.
1504 * acinclude.m4: Remove CTIME_H.
1505 * aclocal.m4: Regenerate.
1506 * include/Makefile.am: Same.
1507 * include/Makefile.in: Regenerate.
1508 * configure: Regenerate.
1510 * testsuite/22_locale/time_get_members_char.cc: Fix.
1511 * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
1512 * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
1514 2001-10-01 Hans-Peter Nilsson <hp@axis.com>
1516 * config/cpu/cris/bits/atomicity.h: Correct file header.
1518 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
1520 * configure.target (LIMITSH): Set for cris.
1521 (cpu_include_dir): Set for cris-*-*.
1522 * config/cpu/cris/bits/atomicity.h: New file.
1523 * config/cpu/cris/bits/limits.h: New file.
1525 2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
1527 * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
1528 (__timepunct::_M_put_helper): Add.
1529 * config/locale/time_members_generic.h: Same.
1530 * include/bits/locale_facets.h (__match_parallel): Remove. Format.
1531 (__timepunct): Add data members.
1532 (__timepunct::_M_days): Add.
1533 (__timepunct::_M_days_abbreviated): Add.
1534 (__timepunct::_M_months): Add.
1535 (__timepunct::_M_months_abbreviated): Add.
1536 (__timepunct::_M_initialize_timepunct): Add.
1537 * include/bits/locale_facets.tcc: Same.
1538 * src/locale-inst.cc: Remove instantiations for __match_parallel.
1539 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
1540 * aclocal.m4: Regenerate.
1541 * configure: Regenerate.
1542 * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
1543 * testsuite/22_locale/time_put_members_char.cc (test01): New file.
1544 * testsuite/22_locale/time_get.cc: New file.
1546 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1548 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
1549 correct multilib builddir.
1550 Properly locate libgcc_s.
1552 2001-09-27 Phil Edwards <pme@gcc.gnu.org>
1554 * include/std/*: Add Doxygen hooks.
1555 * docs/doxygen/Intro.3: New file, general intro to the man pages.
1556 * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
1557 rather than using a generated index.
1558 * docs/doxygen/user.cfg.in: Disable the index, enable man pages.
1559 * docs/doxygen/run_doxygen: Massage the generated man pages, using...
1560 * docs/doxygen/stdheader.cc: ...this new file.
1562 2001-09-26 Stan Shebs <shebs@apple.com>
1564 * include/Makefile.am: Remove RCS Id strings.
1565 * src/Makefile.am: Ditto.
1566 * docs/doxygen/run_doxygen: Ditto.
1567 * docs/html/configopts.html: Ditto.
1568 * docs/html/documentation.html: Ditto.
1569 * docs/html/explanations.html: Ditto.
1570 * docs/html/install.html: Ditto.
1571 * docs/html/17_intro/howto.html: Ditto.
1572 * docs/html/18_support/howto.html: Ditto.
1573 * docs/html/19_diagnostics/howto.html: Ditto.
1574 * docs/html/20_util/howto.html: Ditto.
1575 * docs/html/21_strings/howto.html: Ditto.
1576 * docs/html/22_locale/howto.html: Ditto.
1577 * docs/html/23_containers/howto.html: Ditto.
1578 * docs/html/24_iterators/howto.html: Ditto.
1579 * docs/html/25_algorithms/howto.html: Ditto.
1580 * docs/html/26_numerics/howto.html: Ditto.
1581 * docs/html/27_io/howto.html: Ditto.
1582 * docs/html/ext/howto.html: Ditto.
1583 * docs/html/ext/sgiexts.html: Ditto.
1584 * docs/html/faq/index.html: Ditto.
1585 * docs/html/faq/index.txt: Ditto.
1587 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
1589 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
1592 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
1594 * docs/html/20_util/howto.html: Add anchor name.
1595 * docs/html/23_containers/howto.html: Line wrapping, another link.
1596 * docs/html/25_algorithms/howto.html: Another note.
1598 * docs/html/ext/howto.html: Link to SGI extensions. List DRs and
1600 * docs/html/ext/lwg-active.html: ...in this new file (from R19),
1601 * docs/html/ext/lwg-defects.html: and this new file (from R19).
1602 * docs/html/ext/sgiexts.html: New file. Mention SGI extensions
1603 carried over to libstdc++-v3.
1604 * docs/html/faq/index.html: Link to SGI extensions. Mention the
1605 "missing .." pseudobug.
1606 * docs/html/faq/index.txt: Regenerate.
1608 * include/bits/ios_base.h: DR-related comment cleanup.
1609 * include/bits/istream.tcc: Likewise.
1610 * include/bits/locale_facets.h: Likewise.
1611 * include/bits/locale_facets.tcc: Likewise.
1612 * include/bits/ostream.tcc: Likewise.
1613 * include/bits/std_bitset.h: Likewise.
1614 * include/bits/std_iosfwd.h: Likewise.
1615 * include/bits/std_istream.h: Likewise.
1616 * include/bits/std_ostream.h: Likewise.
1617 * include/bits/std_streambuf.h: Likewise.
1618 * include/bits/stl_pair.h: Likewise.
1619 * include/bits/streambuf_iterator.h: Likewise.
1621 * include/bits/std_map.h: Remove unused header inclusion guard
1622 _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
1623 * include/bits/std_set.h: Likewise.
1625 * include/bits/stl_function.h: Doxygen markup.
1626 * docs/doxygen/doxygroups.cc: New file, specifying module grouping.
1627 * libsupc++/typeinfo: Doxygen markup tweak.
1629 2001-09-20 Scott Johnston <scott@accom.com>
1630 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1632 * include/backward/alloc.h: Conditionally define malloc_alloc
1633 * testsuite/backward/header_deque_h.cc: New file.
1635 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1637 * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
1638 change variable name so that it works with -fno-for-scope.
1640 2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
1642 * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
1643 redundant sanity checks.
1644 * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
1646 * testsuite/22_locale/money_put_members_char.cc (test01): Same.
1648 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
1649 * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
1650 * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
1652 * testsuite/22_locale/money_get_members_char.cc (test01): Same.
1655 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
1657 Implement std::time_put.
1658 * include/bits/locale_facets.h: Include time_members.h.
1660 (time_put): Implement.
1661 * include/bits/locale_facets.tcc (do_put): Put generic versions here.
1662 * include/bits/localefwd.h: Bump number of facets.
1663 * config/locale/time_members_generic.h: New file.
1664 * config/locale/time_members_gnu.h: New file.
1665 * config/locale/c_locale_generic.h: Include clocale.
1666 * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
1667 * src/locale.cc: Add __timepunct initializations.
1668 * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
1669 * include/Makefile.am (stamp-target): Add time_members.h.
1670 * include/Makefile.in: Regenerate.
1671 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
1672 * aclocal.m4: Regenerate.
1673 * configure: Regenerate.
1674 * testsuite/22_locale/time_put.cc: New file.
1675 * testsuite/22_locale/time_put_members_char.cc: New file.
1677 * docs/html/22_locale/locale.html: Add note.
1679 2001-09-17 Phil Edwards <pme@gcc.gnu.org>
1681 * docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
1682 * docs/html/documentation.html: Likewise.
1683 * docs/html/explanations.html: Likewise.
1684 * docs/html/install.html: Likewise.
1685 * docs/html/17_intro/howto.html: Likewise.
1686 * docs/html/18_support/howto.html: Likewise.
1687 * docs/html/19_diagnostics/howto.html: Likewise.
1688 * docs/html/20_util/howto.html: Likewise.
1689 * docs/html/21_strings/howto.html: Likewise.
1690 * docs/html/22_locale/codecvt.html: Likewise.
1691 * docs/html/22_locale/ctype.html: Likewise.
1692 * docs/html/22_locale/howto.html: Likewise.
1693 * docs/html/22_locale/locale.html: Likewise.
1694 * docs/html/22_locale/messages.html: Likewise.
1695 * docs/html/23_containers/howto.html: Likewise.
1696 * docs/html/24_iterators/howto.html: Likewise.
1697 * docs/html/25_algorithms/howto.html: Likewise.
1698 * docs/html/26_numerics/howto.html: Likewise.
1699 * docs/html/27_io/howto.html: Likewise.
1700 * docs/html/ext/howto.html: Likewise.
1701 * docs/html/faq/index.html: Likewise.
1702 * docs/html/faq/index.txt: Regenerated.
1704 2001-09-14 Phil Edwards <pme@sources.redhat.com>
1706 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
1707 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
1708 * docs/html/18_support/howto.html: It won't compile; it's not code.
1709 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
1711 * docs/html/22_locale/howto.html: Comment for future work.
1712 * docs/html/23_containers/howto.html: More comments.
1713 * docs/html/25_algorithms/howto.html: It's a comment, not a
1714 blunt command to the reader. (English grammar.)
1716 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
1718 * config/locale/moneypunct_members_gnu.cc: Fix initialization of
1720 * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
1721 * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
1723 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
1725 * include/bits/locale_facets.tcc: Conditionalize use of strtold.
1727 2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
1729 * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
1730 * testsuite/22_locale/money_put_members_char.cc: Likewise.
1731 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1733 2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
1735 Implement std::money_get.
1736 * include/bits/locale_facets.tcc (money_get::do_get): Implement.
1737 * include/bits/locale_facets.h (money_get): Correct signatures.
1738 * testsuite/22_locale/money_get.cc: New file.
1739 * testsuite/22_locale/money_get_members_char.cc: New file.
1741 * include/bits/locale_facets.tcc (__verify_grouping): New
1742 function. Consolidate num_get and money_get group checking into
1744 (money_get): Use it.
1745 * src/locale.cc (num_get::_M_extract): Use it.
1746 * src/locale-inst.cc: Add instantiation.
1748 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1750 * include/bits/std_limits.h (numeric_limits<float>::radix,
1751 numeric_limits<float>::epsilon: Fix thinko.
1753 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1755 * configure.in: Fix cross compiling math routines. Correct
1756 comments for cross compiling and limits. Add floating point math
1757 routines found in newlib.
1758 * configure: Regenerate.
1759 * acconfig.h: Add macros.
1760 * config.h.in: Regenerate.
1762 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1764 * config/locale/moneypunct_members_generic.cc
1765 (money_base::_S_construct_pattern): Remove unused parameters.
1767 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1769 * include/Makefile.am (stamp-target): Remove link to self.
1770 * inclulde/Makefile.in: Regenerate.
1772 2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
1774 Implement std::money_put.
1775 * include/bits/locale_facets.h
1776 (moneypunct::_M_initialize_moneypunct): Split up specializations
1777 to account for _Intl. More grody hacking to get around the
1778 ill-considered use of const bool as a template parameter.
1779 * config/locale/moneypunct_members_gnu.cc: And here.
1780 * config/locale/moneypunct_members_generic.cc: And here.
1781 * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
1782 * testsuite/22_locale/moneypunct.cc: Add tests.
1783 * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
1784 * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
1786 * src/locale.cc (money_base::_S_construct_pattern): Move into
1788 * config/locale/moneypunct_members_gnu.cc: Add here.
1789 * config/locale/moneypunct_members_generic.cc: Add generic version
1792 * include/bits/locale_facets.tcc (money_put::do_put): Move member
1793 function definitions here.
1794 * include/bits/locale_facets.h (money_put): Implement.
1795 * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
1796 Correct money_get, money_put instantiations.
1797 * src/locale.cc (money_base::_S_construct_pattern): Handle case
1799 * testsuite/22_locale/money_put_members_char.cc: Add tests.
1801 2001-09-05 Phil Edwards <pme@sources.redhat.com>
1803 * testsuite_flags.in: No longer need to search testsuite builddir.
1804 * src/stl-inst.cc (__sink_unused_warning): Unused, remove.
1805 * Makefile.am: The testsuite directory never needs to be made here.
1806 * Makefile.in: Regenerate.
1807 * include/Makefile.in: Regenerate.
1808 * libio/Makefile.in: Regenerate.
1809 * libmath/Makefile.in: Regenerate.
1810 * libsupc++/Makefile.in: Regenerate.
1811 * po/Makefile.in: Regenerate.
1812 * src/Makefile.in: Regenerate.
1813 * testsuite/Makefile.in: Regenerate.
1815 2001-09-04 Scott Johnston <scott@accom.com>
1816 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1818 * include/backward/iterator.h: Include <bits/std_iterator.h>,
1819 remove reverse_bidirectional_iterator.
1820 * testsuite/backward: New directory.
1821 * testsuite/backward/header_iterator_h.cc: New file.
1823 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
1825 * include/c_std/bits/std_c*.h: Don't use include_next.
1827 2001-09-03 Richard Sandiford <rsandifo@redhat.com>
1829 * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
1830 tmp from _Unwind_Ptr to _Unwind_Word.
1832 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
1834 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
1837 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
1839 * include/Makefile.am: Use toplevel_srcdir to refer to src files
1840 outside this component.
1841 * include/Makefile.in: Regenerate.
1843 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
1845 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
1846 * config/locale/c_locale_generic.cc: Same.
1847 * config/locale/moneypunct_members_gnu.cc: New file.
1848 * config/locale/moneypunct_members_generic.cc: New file.
1849 * config/locale/numpunct_members_gnu.cc: New file.
1850 * config/locale/numpunct_members_generic.cc: New file.
1851 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
1853 * aclocal.m4: Regenerate.
1854 * configure: Regenerate.
1855 * src/Makefile.am (sources): And here.
1856 * src/Makefile.in: Regenerate.
1858 Rename for consistency with rest of testsuite.
1859 * testsuite/22_locale/codecvt.cc: New file.
1860 * testsuite/22_locale/money_put.cc: New file.
1861 * testsuite/22_locale/money_put_members_char.cc: New file.
1863 2001-08-27 Phil Edwards <pme@sources.redhat.com>
1866 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
1867 correctly for version-specific-runtime-libs.
1868 * aclocal.m4: Regenerate.
1869 * configure: Regenerate.
1871 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
1873 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
1874 define if not already provided by per-OS file.
1875 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
1878 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
1880 * docs/html/17_intro/C++STYLE: Fix typo.
1882 2001-08-24 Phil Edwards <pme@sources.redhat.com>
1884 * docs/html/23_containers/howto.html: Describe implementation of
1885 insertion with hints.
1887 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
1890 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
1892 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1893 Phil Edwards <pme@sources.redhat.com>
1896 * include/bits/stl_tree.h (insert_unique): Revert last change.
1897 Values inserted at begin() must be less, not greater, than *begin()'s.
1898 * testsuite/23_containers/map_insert.cc: New file.
1900 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
1902 * config/locale/c_locale_gnu.cc: Minor tweaks.
1903 (moneypunct<wchar_t>): Implement.
1904 * include/bits/locale_facets.h: Same.
1905 * testsuite/22_locale/moneypunct.cc: New file.
1906 * testsuite/22_locale/moneypunct_byname.cc: New file.
1907 * testsuite/22_locale/moneypunct_char_members.cc: New file.
1909 2001-08-23 David Edelsohn <edelsohn@gnu.org>
1911 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
1912 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
1914 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
1916 * testsuite_flags.in (build-includes): Re-add backward.
1918 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
1920 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
1921 with _GLIBCPP_USE_WCHAR_T.
1923 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
1925 * testsuite/22_locale/collate_byname.cc (test01): Fix.
1927 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
1929 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
1931 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
1933 * testsuite/22_locale/operators.cc: Add test.
1935 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
1937 Implement std::collate.
1938 * config/locale/collate_specializations_gnu.cc: Add here, implement in
1940 * config/locale/collate_specializations_generic.cc: Add here, but
1941 in a less sophisticated manner.
1942 * include/bits/locale_facets.tcc (collate): Add generic definition.
1943 * include/bits/locale_facets.h (~collate): Mark virtual.
1944 (collate::_M_compare_helper): New.
1945 (collate::_M_transform_helper): New.
1946 * src/locale.cc: Remove unnecessary specializations.
1947 * src/string-inst.cc: Tweak instantiation of ctors.
1949 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
1950 * aclocal.m4: Regenerate.
1951 * configure: Regenerate.
1952 * src/Makefile.am (sources): Add collate.cc.
1953 * src/Makefile.in: Regenerate.
1955 * testsuite/22_locale/collate_byname.cc: New.
1956 * testsuite/22_locale/collate.cc: New file.
1957 * testsuite/22_locale/collate_char_members.cc: New file.
1958 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
1960 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1962 * configure.target: Set LIMITSH for powerpc-*-*.
1963 * config/cpu/powerpc/bits/limits.h: New file.
1965 2001-08-16 Marc Espie <espie@openbsd.org>
1967 * configure.in: Check for <sys/types.h>.
1968 * configure: Rebuild.
1969 * config.h.in: Rebuild.
1970 * libmath/mathconf.h: Include <sys/types.h> prior to
1971 <machine/endian.h> if available.
1973 2001-08-15 Andreas Schwab <schwab@suse.de>
1975 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
1976 m68k and m680[246]0.
1977 * config/cpu/m68k/bits/atomicity.h: New file.
1979 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
1980 Define appropriate long double limits for m68k extended floating
1982 (__glibcpp_f32_digits10): Corrected, off by one.
1983 (__glibcpp_f80_digits10): Likewise.
1984 (__glibcpp_f128_digits10): Likewise.
1985 * config/os/gnu-linux/bits/os_defines.h
1986 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
1988 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1990 * testsuite/18_support/numeric_limits.cc: Add more tests.
1991 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
1994 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
1996 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
1999 * config/cpu/s390/bits/atomicity.h: New.
2001 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
2003 * include/bits/std_limits.h: Fix thinko.
2005 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
2007 * include/Makefile.am: Consolidate target rules. Don't clean stamp
2008 files. Tweak target build directory stamp.
2009 * include/Makefile.in: Regenerate.
2011 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2013 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
2014 _GBLICPP_HAVE_LOGL with HAVE_LOGL
2016 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
2018 * configure.in (libtool_VERSION): Add.
2019 (VERSION): Change to
2020 (release_VERSION): This.
2021 * configure: Regenerate.
2022 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
2024 * src/Makefile.in: Regenerate.
2026 * intl/Makefile.am: Remove.
2027 * intl/Makefile.in: Remove.
2029 * Makefile.am (SUBDIRS): Remove intl.
2030 * po/Makefile.am (DISTFILES): Add string_literals.cc
2032 * po/string_literals.cc: Add.
2033 * po/POTFILES.in: Fix path.
2034 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
2035 * aclocal.m4: Regenerate.
2036 * configure.in: Remove AC_OUTPUT of intl/Makefile.
2038 * include/backward/backward_warning.h: Clarify message.
2040 * testsuite_flags.in (--cxxflags): Use same debug flags for
2041 library and testsuite.
2043 * include/Makefile.am (c_compatibility): Remove.
2044 * include/Makefile.in: Regenerate.
2046 2001-08-13 Mark Mitchell <mark@codesourcery.com>
2048 * configure.in (LIMITS_INC_SRCDIR): New variable.
2049 * configure.target (LIMITSH): New variable.
2050 * porting.texi: Discuss numeric limits.
2051 * config/cpu/generic/bits/limits.h: New file.
2052 * config/cpu/i386/bits/limits.h: New file.
2053 * include/Makefile.am: Install bits/limits.h.
2054 * include/bits/c++config: Include bits/limits.h.
2056 2001-08-13 H.J. Lu (hjl@gnu.org)
2058 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
2060 (libstdc++-v3-init ): Use it.
2062 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2064 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
2065 to '__adjust' to avoid shadowing in nested scope.
2067 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2069 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
2072 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
2074 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
2077 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
2079 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
2080 dummy default argument to the non-limit implementation.
2083 * include/Makefile.am: Use relative file path in rule to allow
2085 * include/Makefile.in: Rebuilt.
2087 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
2089 * include/bits/std_complex.h (complex<long double>::operator*=,
2090 complex<long double>::operator/=): Fix thinko.
2092 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2094 * include/bits/std_limits.h: New file.
2095 * include/Makefile.am (bits_headers): Add std_limits.h
2096 (all-local): std_limits.h is no longer built.
2097 (${target_builddir}/std_limits.h): Remove.
2098 * include/Makefile.in: Regenerate.
2099 * src/limits.cc: New file.
2100 * src/Makefile.am (sources): Add limits.cc in replacement of
2102 * src/Makefile.in: Regenerate.
2104 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2106 * src/gen-num-limits.cc (digits10): Fix thinko.
2108 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2110 * po/Makefile.am (check-no): Add.
2112 * po/Makefile.in: Regenerate.
2114 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2116 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
2117 * config.h.in: Regenerate.
2118 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
2120 * aclocal.m4: Regenerate.
2121 * configure.in: Remove duplicate AM_CONFIG_HEADER.
2122 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
2123 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
2124 * configure: Regenerate.
2125 * testsuite_hooks.h.in: Move to...
2126 * testsuite_hooks.h: Here, include c++config.h. Use it.
2128 * Makefile.am (SUBDIRS): Move testsuite to last directory.
2129 * Makefile.in: Regenerate.
2130 * po/Makefile.am (stamp-po): Add.
2132 2001-08-09 David Edelsohn <edelsohn@gnu.org>
2134 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
2135 * config/os/generic/bits/os_defines.h: Likewise.
2136 * config/os/gnu-linux/bits/os_defines.h: Likewise.
2137 * config/os/hpux/bits/os_defines.h: Likewise.
2138 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
2139 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2141 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
2143 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
2144 -version-info, use substituted VERSION info.
2145 * src/Makefile.in: Regenerate.
2147 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
2149 Implement std::messages.
2150 Make config a fully-nested directory.
2151 * config/locale: New directory.
2152 * config/c_locale_generic.cc: Move into locale subdirectory.
2153 * config/c_locale_generic.h: Same.
2154 * config/c_locale_gnu.cc: Same.
2155 * config/c_locale_gnu.h: Same.
2156 * config/c_locale_ieee_1003.1-200x.cc: Same.
2157 * config/c_locale_ieee_1003.1-200x_.h: Same.
2158 * config/codecvt_specializations_generic.h: Same.
2159 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
2160 * config/messages_members_gnu.h: Same.
2161 * config/messaages_members_gnu.cc: Same.
2162 * config/messages_members_generic.h: Same.
2163 * config/messaages_members_generic.cc: Same.
2164 * config/messages_members_ieee_1003.1-200x.h: Same.
2165 * config/messaages_members_ieee_1003.1-200x.cc: Same.
2166 * config/io: New directory.
2167 * config/basic_file_libio.h: Move into io subdirectory.
2168 * config/basic_file_libio.cc: Same.
2169 * config/c_io_libio.h: Same.
2170 * config/c_io_libio_codecvt.c: Same.
2171 * config/basic_file_stdio.h: Same.
2172 * config/basic_file_stdio.cc: Same.
2173 * config/c_io_stdio.h: Same.
2175 * po: New directory.
2176 * po/POTFILES.in: New file.
2177 * po/Makefile.am: New file.
2178 * po/Makefile.in: New file.
2179 * po/libstdc++.pot: Generic translation file.
2180 * po/fr.po: Preliminary French translation.
2181 * po/de.po: Preliminary German translation.
2182 * intl: New directory.
2183 * intl/Makefile.am: New file.
2184 * intl/Makefile.in: New file.
2185 * intl/string_literals.cc: New file.
2186 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
2187 requisite setup for gettext. Re-arrange.
2188 * aclocal.m4: Regenerate.
2189 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
2190 Output Makefile bits for po and intl.
2191 * configure: Regenerate.
2192 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
2193 * Makefile.in: Regenerate.
2194 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
2195 * config.h.in: Regenerate.
2197 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
2199 * include/Makefile.am (install-data-local): Don't install Makefile.
2200 * include/Makefile.in: Regenerate.
2202 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
2204 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
2205 * config/locale/c_locale_generic.cc: Same.
2206 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
2208 * include/bits/codecvt.h: Excise non-standard, non-required
2209 bits. This includes __enc_traits, and partial specializations of
2210 codecvt for __enc_traits.
2211 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
2212 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
2213 * config/codecvt_partials_generic.h: New file.
2214 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
2215 (stamp-codecvt_model): Add.
2216 * include/Makefile.in: Regenerate.
2217 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
2218 * aclocal.m4: Regenerate.
2219 * configure: Regenerate.
2220 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
2221 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
2222 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
2224 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
2225 as a friend for _S_*_c_locale functions.
2226 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
2227 argument to default constructor so that CODESET information can be
2229 * include/bits/locale_facets.h (messages_byname):
2230 Re-implement. Remove specializations.
2231 * src/locale.cc (messages_byname<char>): Remove specialization.
2232 (messages_byname<wchar_t>): Same.
2233 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
2234 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
2235 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
2236 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
2237 * config/locale/messages_members_gnu.cc: New file.
2238 * config/locale/messages_members_gnu.h: New file.
2239 * config/locale/messages_members_generic.cc: New file.
2240 * config/locale/messages_members_generic.h: New file.
2242 * docs/html/configopts.html: Add documentation for new locale
2243 model, ieee_1003.1. Adjust other flags for current defaults.
2244 * docs/html/22_locale/locale.html: Update.
2245 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
2246 * docs/html/22_locale/messages.html: New.
2248 * src/Makefile.am (sources): Add messages_virtuals.cc.
2249 * src/Makefile.in: Regenerate.
2250 * include/Makefile.am (allstamps): Add stamp-messages_model.
2251 (stamp-messages_model): Add.
2252 * include/Makefile.in: Regenerate.
2253 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
2254 * aclocal.m4: Regenerate.
2255 * configure: Regenerate.
2257 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
2258 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
2260 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
2261 build directories message catalog base directory, and export.
2262 Eventually this should probably be made to deal with build and
2263 install directories. For now, punt on this as the library itself
2264 doesn't use message catalogs (yet).
2265 * testsuite/22_locale/messages.cc: New file.
2266 * testsuite/22_locale/messages_char_members.cc: New file.
2267 * testsuite/22_locale/messages_byname.cc: New file.
2269 2001-08-06 Phil Edwards <pme@sources.redhat.com>
2271 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
2272 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
2273 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
2274 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
2275 Call GLIBCPP_CONFIGURE_TESTSUITE.
2276 * aclocal.m4: Regenerate.
2277 * config.h.in: Regenerate.
2278 * configure: Regenerate.
2280 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
2283 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
2284 * testsuite/debug_assert.h: Removed; contents merged into...
2285 * testsuite/testsuite_hooks.h.in: ...here. New file.
2286 * testsuite/17_intro/header_ciso646.cc: No longer include
2287 debug_assert.h, include testsuite_hooks.h instead.
2288 * testsuite/17_intro/header_fstream.cc: Likewise.
2289 * testsuite/17_intro/header_iomanip.cc: Likewise.
2290 * testsuite/17_intro/header_ios.cc: Likewise.
2291 * testsuite/17_intro/header_iosfwd.cc: Likewise.
2292 * testsuite/17_intro/header_iostream.cc: Likewise.
2293 * testsuite/17_intro/header_istream.cc: Likewise.
2294 * testsuite/17_intro/header_ostream.cc: Likewise.
2295 * testsuite/17_intro/header_sstream.cc: Likewise.
2296 * testsuite/17_intro/header_streambuf.cc: Likewise.
2297 * testsuite/18_support/numeric_limits.cc: Likewise.
2298 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
2299 * testsuite/20_util/allocator_members.cc: Likewise.
2300 * testsuite/20_util/auto_ptr.cc: Likewise.
2301 * testsuite/20_util/pairs.cc: Likewise.
2302 * testsuite/21_strings/append.cc: Likewise.
2303 * testsuite/21_strings/capacity.cc: Likewise.
2304 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
2305 * testsuite/21_strings/compare.cc: Likewise.
2306 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
2307 call to (disabled) __set_testsuite_memlimit() wrapper.
2308 * testsuite/21_strings/element_access.cc: Likewise.
2309 * testsuite/21_strings/find.cc: Likewise.
2310 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
2311 (disabled) __set_testsuite_memlimit() wrapper.
2312 * testsuite/21_strings/inserters_extractors.cc: Likewise.
2313 * testsuite/21_strings/invariants.cc: Likewise.
2314 * testsuite/21_strings/nonmember.cc: Likewise.
2315 * testsuite/21_strings/operations.cc: Likewise.
2316 * testsuite/21_strings/replace.cc: Likewise.
2317 * testsuite/21_strings/rfind.cc: Likewise.
2318 * testsuite/21_strings/substr.cc: Likewise.
2319 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
2320 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
2321 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
2322 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
2323 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
2324 * testsuite/22_locale/ctype_char_members.cc: Likewise.
2325 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
2326 * testsuite/22_locale/facet.cc: Likewise.
2327 * testsuite/22_locale/global_templates.cc: Likewise.
2328 * testsuite/22_locale/members.cc: Likewise.
2329 * testsuite/22_locale/numpunct_byname.cc: Likewise.
2330 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
2331 * testsuite/22_locale/operators.cc: Likewise.
2332 * testsuite/22_locale/static_members.cc: Likewise.
2333 * testsuite/23_containers/bitset_ctor.cc: Likewise.
2334 * testsuite/23_containers/bitset_members.cc: Likewise.
2335 * testsuite/23_containers/bitset_shift.cc: Likewise.
2336 * testsuite/23_containers/vector_capacity.cc: Likewise.
2337 * testsuite/23_containers/vector_ctor.cc: Likewise.
2338 * testsuite/23_containers/vector_element_access.cc: Likewise.
2339 * testsuite/23_containers/vector_modifiers.cc: Likewise.
2340 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
2341 * testsuite/24_iterators/iterator.cc: Likewise.
2342 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
2343 * testsuite/25_algorithms/binary_search.cc: Likewise.
2344 * testsuite/25_algorithms/copy.cc: Likewise.
2345 * testsuite/25_algorithms/heap.cc: Likewise.
2346 * testsuite/25_algorithms/lower_bound.cc: Likewise.
2347 * testsuite/25_algorithms/min_max.cc: Likewise.
2348 * testsuite/25_algorithms/partition.cc: Likewise.
2349 * testsuite/25_algorithms/rotate.cc: Likewise.
2350 * testsuite/25_algorithms/sort.cc: Likewise.
2351 * testsuite/26_numerics/c_math.cc: Likewise.
2352 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
2353 * testsuite/26_numerics/complex_value.cc: Likewise.
2354 * testsuite/27_io/filebuf.cc: Likewise.
2355 * testsuite/27_io/filebuf_members.cc: Likewise.
2356 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
2357 * testsuite/27_io/fpos.cc: Likewise.
2358 * testsuite/27_io/fstream_members.cc: Likewise.
2359 * testsuite/27_io/ifstream_members.cc: Likewise.
2360 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
2361 * testsuite/27_io/ios_base_members_static.cc: Likewise.
2362 * testsuite/27_io/ios_base_storage.cc: Likewise.
2363 * testsuite/27_io/ios_ctor.cc: Likewise.
2364 * testsuite/27_io/ios_init.cc: Likewise.
2365 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
2366 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
2367 * testsuite/27_io/ios_members.cc: Likewise.
2368 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
2369 * testsuite/27_io/istream_extractor_char.cc: Likewise.
2370 * testsuite/27_io/istream_extractor_other.cc: Likewise.
2371 * testsuite/27_io/istream_manip.cc: Likewise.
2372 * testsuite/27_io/istream_seeks.cc: Likewise.
2373 * testsuite/27_io/istream_sentry.cc: Likewise.
2374 * testsuite/27_io/istream_unformatted.cc: Likewise.
2375 * testsuite/27_io/istringstream_members.cc: Likewise.
2376 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
2377 * testsuite/27_io/ofstream_members.cc: Likewise.
2378 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
2379 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
2380 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
2381 * testsuite/27_io/ostream_manip.cc: Likewise.
2382 * testsuite/27_io/ostream_seeks.cc: Likewise.
2383 * testsuite/27_io/ostream_unformatted.cc: Likewise.
2384 * testsuite/27_io/ostringstream_members.cc: Likewise.
2385 * testsuite/27_io/streambuf.cc: Likewise.
2386 * testsuite/27_io/stringbuf.cc: Likewise.
2387 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
2388 * testsuite/27_io/stringstream.cc: Likewise.
2389 * testsuite/27_io/stringstream_members.cc: Likewise.
2390 * testsuite/27_io/wide_stream_objects.cc: Likewise.
2392 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
2394 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
2396 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
2398 * configure.target: Remove mips from cpu table.
2399 * config/cpu/mips/bits/atomicity.h: Remove generic
2400 versions. Comment sgidefs include.
2402 2001-07-25 H.J. Lu <hjl@gnu.org>
2404 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
2407 * config/cpu/mips/bits/atomicity.h: New.
2409 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2411 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
2412 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
2413 * aclocal.m4: Regenerate.
2414 * config.h.in: Likewise.
2415 * configure: Likewise.
2416 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
2417 (EXTRA_DIST): Remove hypot.c hypotf.c.
2418 * libmath/Makefile.am: Regenerate.
2419 * libmath/hypotf.c: Remove.
2420 * libmath/hypot.c: Likewise.
2421 * libmath/hypotl.c: Likewise.
2422 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
2423 _GLIBCPP_HAVE_xxx. Add long double versions.
2425 2001-07-23 David Edelsohn <edelsohn@gnu.org>
2427 * include/bits/limits_generic.h (int): Set digits and digits10
2428 appropriately for word size.
2429 (unsigned int,long,unsigned long): Likewise.
2431 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2433 * include/bits/stl_algo.h : Fix typos.
2434 * testsuite/25_algorithms/unique.cc: New file.
2436 2001-07-19 Phil Edwards <pme@sources.redhat.com>
2437 Mark Mitchell <mark@codesourcery.com>
2439 Merge from cp-parser-branch.
2440 * include/bits/basic_string.h: Qualify symbols with 'template'.
2441 * include/bits/basic_string.tcc: Likewise.
2442 * include/bits/fstream.tcc: Likewise.
2443 * include/bits/istream.tcc: Likewise.
2444 * include/bits/sstream.tcc: Likewise.
2445 * include/bits/std_istream.h: Likewise.
2446 * include/bits/stl_iterator.h: Likewise.
2447 * include/bits/streambuf.tcc: Likewise.
2448 * src/gen-num-limits.cc: Add 'template<>' to specializations.
2449 * src/locale.cc: Likewise.
2451 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2452 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
2454 * src/gen-num-limits.cc (set_signals_handler): New function.
2455 Factor out signals setting. Set signal handler for SIGILL.
2457 2001-07-18 Phil Edwards <pme@sources.redhat.com>
2459 * docs/html/27_io/howto.html: Fix typo.
2460 * docs/html/faq/index.html: Minor updates for 3.0 all around.
2461 * docs/html/faq/index.txt: Regenerated.
2463 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
2464 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
2467 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
2468 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
2470 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
2472 All occurrences of the __value_type() and __distance_type()
2473 functions, which were required to support the HP STL, have been
2474 removed along with all the auxiliary forwarding functions that
2475 were required to support their use.
2477 The __iterator_category() function was pretty much left alone
2478 because there was no benefit to removing it and its use made code
2479 just a little more readable.
2481 Incidences of distance() with nonstandard argument list were
2482 replaced by calls to the standard function (only in the files
2483 affected by the removal of the other HP functions).
2485 The signature of the rotate() algorithm was changed to match the
2488 Headers were reformatted under C++STYLE guidelines (indentation,
2489 linebreaks, typename keyword).
2491 * include/bits/stl_algo.h: replaced __value_type() and
2492 __distance_type() with iterator_traits, eliminated auxiliary
2493 support functions required to support said function usage.
2494 Changed nonstandard distance() call to standard call.
2496 * include/bits/stl_algobase.h: Same.
2497 * include/bits/stl_heap.h: Same.
2498 * include/bits/stl_numeric.h: Same.
2499 * include/bits/stl_uninitialized.h: Same.
2500 * include/bits/stl_iterator_base_types.h (__value_type()):
2502 (__distance_type()): Removed.
2503 (value_type()): Gone.
2504 (distance_type()): Done in.
2505 (iterator_category()): Hasta la vista, baby.
2507 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
2508 Replaced with __iterator_category().
2509 * include/backward/iterator.h: moved definition of value_type(),
2510 distance_type(), and iterator_category() out of std:: and into
2512 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
2513 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
2514 * testsuite/25_algorithms/rotate.cc: New testcase.
2515 * testsuite/25_algorithms/copy.cc: New testcase.
2516 * testsuite/25_algorithms/sort.cc: Same.
2517 * testsuite/25_algorithms/heap.cc: Same.
2518 * testsuite/25_algorithms/partition.cc: Same.
2519 * testsuite/25_algorithms/binary_search.cc: Same.
2520 * testsuite/26_numerics/sum_diff.cc: Ditto.
2522 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
2524 * testsuite/README: Add notes on naming test cases.
2525 * testsuite/22_locale/members.cc: Mark as xfail.
2526 * testsuite/22_locale/numpunct_char_members.cc: Same.
2528 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
2530 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
2531 setting C_INCLUDE_DIR.
2532 * configure.in: Revert yesterday's LN_S change.
2533 * aclocal.m4: Regenerate.
2534 * configure: Regenerate.
2536 2001-07-15 Phil Edwards <pme@sources.redhat.com>
2538 * configure.in: Temporarily force LN_S to copy instead of symlink.
2539 * configure: Regenerate.
2541 2001-07-13 Phil Edwards <pme@sources.redhat.com>
2543 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
2544 Initialize _M_string with pointer-and-size constructor, not just
2545 pointer. Fix some comments.
2546 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
2547 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
2548 (test03): Add embedded-NUL tests.
2550 * mkcheck.in: When printing totals, match the order of the tests.
2551 * include/bits/stringfwd.h: Use same declaration keywords.
2552 * include/bits/std_iosfwd.h: Cosmetic spacing.
2554 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
2555 Loren J. Rittle <ljrittle@acm.org>
2556 Phil Edwards <pme@sources.redhat.com>
2558 * include/Makefile.am: New file encapsulating header generation rules.
2559 * Makefile.am (SUBDIRS): Prepend 'include' directory.
2560 * acinclude.m4: Moved/removed rules for building various headers.
2561 * configure.in (AC_OUTPUT): Add include/Makefile.
2562 * mkc++config: Removed.
2564 * testsuite_flags.in: Changed build-includes to match new scheme.
2565 * mknumeric_limits: Likewise.
2566 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
2567 * libmath/Makefile.am: Likewise.
2568 * libsupc++/Makefile.am: Likewise.
2569 * src/Makefile.am: Likewise; removed rules to build headers.
2570 * libmath/mathconf.h: Changed #include'd header names to match.
2571 * libmath/stubs.c: Likewise.
2572 * src/gen-num-limits.cc: Likewise.
2574 * configure: Regenerated.
2575 * config.h.in: Regenerated.
2576 * aclocal.m4: Regenerated.
2577 * Makefile.in: Regenerated.
2578 * include/Makefile.in: Regenerated.
2579 * libio/Makefile.in: Regenerated.
2580 * libmath/Makefile.in: Regenerated.
2581 * libsupc++/Makefile.in: Regenerated.
2582 * src/Makefile.in: Regenerated.
2583 * testsuite/Makefile.in: Regenerated.
2585 2001-07-11 Felix Natter <fnatter@gmx.net>
2587 * docs/html/17_intro/porting-howto.xml: Initial checkin of
2589 * docs/html/17_intro/porting-howto.html: check in v0.9.3
2591 2001-07-11 Phil Edwards <pme@sources.redhat.com>
2593 * docs/doxygen/run_doxygen: Don't keep output from previous run.
2594 * docs/doxygen/user.cfg.in: Tweaks.
2595 * include/bits/c++config: Documentation comments for Doxygen.
2596 * include/bits/char_traits.h: Likewise.
2597 * include/bits/limits_generic.h: Likewise.
2598 * include/bits/std_stdexcept.h: Likewise.
2599 * include/bits/stl_pair.h: Likewise.
2600 * libsupc++/exception: Likewise.
2601 * libsupc++/new: Likewise.
2602 * libsupc++/typeinfo: Likewise.
2603 * libmath/Makefile.am: Update and correct copyright.
2605 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2607 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
2608 * aclocal.m4: Regenerate.
2611 2001-07-09 Phil Edwards <pme@sources.redhat.com>
2613 * docs/html/configopts.html: Fix thinko.
2614 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
2615 * include/bits/stl_iterator.h: Fix typo.
2617 2001-07-09 Phil Edwards <pme@sources.redhat.com>
2619 * docs/html/explanations.html: New file.
2620 * docs/html/configopts.html: Link to it to provide more notes
2621 on cstdio. Minor markup and spacing fixes.
2622 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
2624 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
2626 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
2627 for _Expr template template argument.
2628 (_Expr::operator-): Likewise.
2629 (_Expr::operator~): Likewise.
2630 (_Expr::operator!): Likewise.
2631 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
2633 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2635 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
2636 * libmath/Makefile.in: Regenerate.
2637 * libmath/expf.c: Remove.
2638 * libmath/atan2f.c: Likewise.
2640 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
2642 * configure.in: Remove NATIVE, NULL_TARGET.
2643 Set CANADIAN only for Canadian crosses. Set xcompiling
2644 for both Canadian crosses and host-x-host crosses.
2645 * configure: Regenerated.
2647 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2649 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
2651 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
2653 * testsuite_flags.in (--build-includes): backward, not backwards.
2655 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
2657 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
2658 Replace destroy by _Destroy.
2659 (_Rope_RopeRep::_S_free_string): Likewise.
2660 (rope::c_str()): Likewise.
2661 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
2662 (_Slist_base::_M_erase_after): Likewise.
2663 (slist::_M_create_node): Replace construct by _Construct.
2664 (slist::pop_front): Replace destroy by _Destroy.
2665 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
2666 construct by _Construct.
2667 (hashtable::_M_delete_node): Replace destroy by _Destroy.
2668 * include/ext/stl_rope.h (rope::rope): Replace construct by
2670 (rope::copy): Replace destroy by _Destroy.
2672 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
2674 * include/bits/localefwd.h: Format.
2675 * include/bits/locale_facts.tcc (locale::combine): Adjust.
2676 * src/locale.cc (locale::locale::(_Impl)): Don't call
2678 (locale::facet::_M_remove_reference): Simplify.
2679 * src/globals.cc (locale_impl_c): New. Format.
2681 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
2683 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2685 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
2686 expansion (thanks to Alexandre Oliva).
2687 * aclocal.m4: Regenerate.
2688 * configure: Regenerate.
2690 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
2692 * src/locale.cc (locale::locale(const char*)): Make sure global
2693 locales are initialized.
2694 * include/bits/locale_facets.tcc (locale::combine): Refcout should
2695 be zero, not one as it's return-by-value.
2696 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
2698 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
2701 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
2703 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2706 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
2707 * aclocal.m4: Regenerate.
2708 * configure: Regenerate.
2710 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2713 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
2714 staged/installed area to support -I-. Document.
2715 * aclocal.m4: Regenerate.
2716 * configure: Regenerate.
2718 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2721 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
2722 __out_bufsize. Add __in_bufsize, document it and use it.
2724 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
2726 * include/bits/stl_construct.h (construct): Remove.
2728 (__destroy): Replaced by use of iterator_traits.
2729 * include/bits/stl_deque.h: replaced HP iterator functions with
2731 (construct): changed to _Construct.
2732 (destroy): changed to _Destroy.
2733 * include/bits/stl_tempbuf.h: Same.
2734 * include/bits/stl_tree.h: Same.
2735 * include/bits/stl_vector.h: Same.
2736 * include/backward/iterator.h (construct): moved definition to here.
2739 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
2741 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
2742 before replacing facet.
2743 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
2745 * src/localename.cc (locale::_Impl): Correct ctor initialization
2746 lists. Initialize ref count with one. Simplify.
2747 * src/locale.cc: Add comment.
2748 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
2749 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
2750 * testsuite/22_locale/members.cc (test02): Fix.
2752 2001-06-27 Phil Edwards <pme@sources.redhat.com>
2754 * include/backward/algo.h: Add "GPL plus runtime exception" comment
2755 block, this time for real.
2756 * include/backward/algobase.h: Likewise.
2757 * include/backward/alloc.h: Likewise.
2758 * include/backward/bvector.h: Likewise.
2759 * include/backward/defalloc.h: Likewise.
2760 * include/backward/deque.h: Likewise.
2761 * include/backward/function.h: Likewise.
2762 * include/backward/hash_map.h: Likewise.
2763 * include/backward/hash_set.h: Likewise.
2764 * include/backward/hashtable.h: Likewise.
2765 * include/backward/heap.h: Likewise.
2766 * include/backward/iterator.h: Likewise.
2767 * include/backward/list.h: Likewise.
2768 * include/backward/map.h: Likewise.
2769 * include/backward/multimap.h: Likewise.
2770 * include/backward/multiset.h: Likewise.
2771 * include/backward/pair.h: Likewise.
2772 * include/backward/rope.h: Likewise.
2773 * include/backward/set.h: Likewise.
2774 * include/backward/slist.h: Likewise.
2775 * include/backward/stack.h: Likewise.
2776 * include/backward/strstream: Likewise.
2777 * include/backward/tempbuf.h: Likewise.
2778 * include/backward/tree.h: Likewise.
2779 * include/backward/vector.h: Likewise.
2780 * include/bits/pthread_allocimpl.h: Likewise.
2781 * include/bits/std_algorithm.h: Likewise.
2782 * include/bits/std_bitset.h: Likewise.
2783 * include/bits/std_deque.h: Likewise.
2784 * include/bits/std_functional.h: Likewise.
2785 * include/bits/std_iterator.h: Likewise.
2786 * include/bits/std_list.h: Likewise.
2787 * include/bits/std_map.h: Likewise.
2788 * include/bits/std_memory.h: Likewise.
2789 * include/bits/std_numeric.h: Likewise.
2790 * include/bits/std_queue.h: Likewise.
2791 * include/bits/std_set.h: Likewise.
2792 * include/bits/std_stack.h: Likewise.
2793 * include/bits/std_utility.h: Likewise.
2794 * include/bits/std_vector.h: Likewise.
2795 * include/bits/stl_algo.h: Likewise.
2796 * include/bits/stl_algobase.h: Likewise.
2797 * include/bits/stl_alloc.h: Likewise.
2798 * include/bits/stl_bvector.h: Likewise.
2799 * include/bits/stl_construct.h: Likewise.
2800 * include/bits/stl_deque.h: Likewise.
2801 * include/bits/stl_function.h: Likewise.
2802 * include/bits/stl_heap.h: Likewise.
2803 * include/bits/stl_iterator.h: Likewise.
2804 * include/bits/stl_iterator_base_funcs.h: Likewise.
2805 * include/bits/stl_iterator_base_types.h: Likewise.
2806 * include/bits/stl_list.h: Likewise.
2807 * include/bits/stl_map.h: Likewise.
2808 * include/bits/stl_multimap.h: Likewise.
2809 * include/bits/stl_multiset.h: Likewise.
2810 * include/bits/stl_numeric.h: Likewise.
2811 * include/bits/stl_pair.h: Likewise.
2812 * include/bits/stl_pthread_alloc.h: Likewise.
2813 * include/bits/stl_queue.h: Likewise.
2814 * include/bits/stl_raw_storage_iter.h: Likewise.
2815 * include/bits/stl_relops.h: Likewise.
2816 * include/bits/stl_set.h: Likewise.
2817 * include/bits/stl_stack.h: Likewise.
2818 * include/bits/stl_tempbuf.h: Likewise.
2819 * include/bits/stl_threads.h: Likewise.
2820 * include/bits/stl_tree.h: Likewise.
2821 * include/bits/stl_uninitialized.h: Likewise.
2822 * include/bits/stl_vector.h: Likewise.
2823 * include/bits/type_traits.h: Likewise.
2824 * include/ext/hash_map: Likewise.
2825 * include/ext/hash_set: Likewise.
2826 * include/ext/rope: Likewise.
2827 * include/ext/ropeimpl.h: Likewise.
2828 * include/ext/slist: Likewise.
2829 * include/ext/stl_hash_fun.h: Likewise.
2830 * include/ext/stl_hashtable.h: Likewise.
2831 * include/ext/stl_rope.h: Likewise.
2832 * src/bitset.cc: Likewise.
2833 * src/strstream.cc: Likewise.
2835 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2836 <vakatov@ncbi.nlm.nih.gov>
2839 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
2840 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
2841 * testsuite/27_io/istream_extractor_other.cc: Fix.
2843 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
2845 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
2846 * aclocal.m4: Regenerate.
2847 * configure: Regenerate.
2849 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2851 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
2852 (ostream_iterator): Same.
2853 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
2854 Change argument to const_reference.
2855 (back_insert_iterator): Same.
2857 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2859 * include/bits/sbuf_iter.h: Change to..
2860 * include/bits/streambuf_iterator.h: This.
2861 * include/bits/stl_iterator.h: Take out of here...
2862 * include/bits/stream_iterator.h: Add.
2863 * src/Makefile.am (base_headers): Add streambuf_iterator,
2865 * src/Makefile.in: Regenerate.
2866 * include/bits/std_string.h: Adjust includes.
2867 * include/bits/basic_ios.h: Same.
2868 * include/bits/locale_facets.tcc: Same.
2869 * include/bits/std_iosfwd.h: Same.
2871 * include/bits/std_iterator.h: Add istream, ostream includes.
2872 * include/bits/stl_iterator.h: Tweak.
2873 * testsuite/24_iterators/ostream_iterator.cc: Add test.
2874 * testsuite/24_iterators/istream_iterator.cc: Same.
2875 * testsuite/23_containers/multiset.cc: Add iterator include.
2877 2001-06-26 Phil Edwards <pme@sources.redhat.com>
2879 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
2880 * aclocal.m4: Regenerate.
2881 * configure: Regenerate.
2883 2001-06-26 Felix Natter <f.natter@ndh.net>
2885 * docs/html/17_intro/porting-howto.html: Fixed some errors.
2887 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2889 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
2891 (istream_iterator::operator*): Same.
2893 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2894 Alexandre Petit-Bianco <apbianco@redhat.com>
2896 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
2897 is on 41st, not 14th.
2899 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2901 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
2903 * include/bits/stl_iterator.h (istream_iterator): Inherit from
2905 (ostream_iterator): Same.
2906 * testsuite/24_iterators/istream_iterator.cc: New file.
2907 * testsuite/24_iterators/ostream_iterator.cc: New file.
2909 * include/bits/sbuf_iter.h: Remove self typedef.
2910 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
2911 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
2913 * include/bits/stl_iterator.h (reverse_iterator): Remove
2914 extraneous typedefs. Add typename.
2915 (__normal_iterator): Remove typedefs referring to self. Add typename.
2916 (reverse_bidiretional_iterator): Remove, not longer required.
2918 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2920 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
2921 dependent names with `typename'. Bring in various required
2922 iterator_traits members. Can't imagine why that used to work.
2924 2001-06-25 Phil Edwards <pme@sources.redhat.com>
2925 Kurt Garloff <garloff@suse.de>
2928 * src/cmath.cc: New [version of an old] file; instantiate
2929 __cmath_power to start with.
2930 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
2931 * Makefile.in: Regenerate.
2932 * libio/Makefile.in: Regenerate.
2933 * libmath/Makefile.in: Regenerate.
2934 * libsupc++/Makefile.in: Regenerate.
2935 * src/Makefile.in: Regenerate.
2936 * testsuite/Makefile.in: Regenerate.
2938 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2940 * libmath/stubs.c: Fix thinko.
2942 2001-06-24 David Edelsohn <dje@watson.ibm.com>
2944 * libmath/stubs.c (sqrtf): Define.
2945 (tanf): Correct typo.
2947 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
2949 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
2951 (back_insert_iterator): Same.
2952 (front_insert_iterator): Same.
2953 (insert_iterator): Same.
2955 * testsuite/20_util/raw_storage_iterator.cc: Modify.
2956 * testsuite/24_iterators/reverse_iterator.cc: New file.
2957 * testsuite/24_iterators/back_insert_iterator.cc: New file.
2958 * testsuite/24_iterators/front_insert_iterator.cc: New file.
2959 * testsuite/24_iterators/insert_iterator.cc: New file.
2961 2001-06-22 Phil Edwards <pme@sources.redhat.com>
2963 * include/*: Revert comment/license change from yesterday for all
2964 except libsupc++/unwind-cxx.h.
2965 * src/bitset.cc: Likewise.
2966 * src/strstream.cc: Likewise.
2968 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2970 * libmath/stubs.c: New file.
2974 * libmath/Makefile.am (libmath_la_SOURCES): Add.
2975 * libmath/Makefile.in. Regenerate.
2977 2001-06-21 Phil Edwards <pme@sources.redhat.com>
2979 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
2980 * include/backward/algobase.h: Likewise.
2981 * include/backward/alloc.h: Likewise.
2982 * include/backward/bvector.h: Likewise.
2983 * include/backward/defalloc.h: Likewise.
2984 * include/backward/deque.h: Likewise.
2985 * include/backward/function.h: Likewise.
2986 * include/backward/hash_map.h: Likewise.
2987 * include/backward/hash_set.h: Likewise.
2988 * include/backward/hashtable.h: Likewise.
2989 * include/backward/heap.h: Likewise.
2990 * include/backward/iterator.h: Likewise.
2991 * include/backward/list.h: Likewise.
2992 * include/backward/map.h: Likewise.
2993 * include/backward/multimap.h: Likewise.
2994 * include/backward/multiset.h: Likewise.
2995 * include/backward/pair.h: Likewise.
2996 * include/backward/rope.h: Likewise.
2997 * include/backward/set.h: Likewise.
2998 * include/backward/slist.h: Likewise.
2999 * include/backward/stack.h: Likewise.
3000 * include/backward/strstream: Likewise.
3001 * include/backward/tempbuf.h: Likewise.
3002 * include/backward/tree.h: Likewise.
3003 * include/backward/vector.h: Likewise.
3004 * include/bits/pthread_allocimpl.h: Likewise.
3005 * include/bits/std_algorithm.h: Likewise.
3006 * include/bits/std_bitset.h: Likewise.
3007 * include/bits/std_deque.h: Likewise.
3008 * include/bits/std_functional.h: Likewise.
3009 * include/bits/std_iterator.h: Likewise.
3010 * include/bits/std_list.h: Likewise.
3011 * include/bits/std_map.h: Likewise.
3012 * include/bits/std_memory.h: Likewise.
3013 * include/bits/std_numeric.h: Likewise.
3014 * include/bits/std_queue.h: Likewise.
3015 * include/bits/std_set.h: Likewise.
3016 * include/bits/std_stack.h: Likewise.
3017 * include/bits/std_utility.h: Likewise.
3018 * include/bits/std_vector.h: Likewise.
3019 * include/bits/stl_algo.h: Likewise.
3020 * include/bits/stl_algobase.h: Likewise.
3021 * include/bits/stl_alloc.h: Likewise.
3022 * include/bits/stl_bvector.h: Likewise.
3023 * include/bits/stl_construct.h: Likewise.
3024 * include/bits/stl_deque.h: Likewise.
3025 * include/bits/stl_function.h: Likewise.
3026 * include/bits/stl_heap.h: Likewise.
3027 * include/bits/stl_iterator.h: Likewise.
3028 * include/bits/stl_iterator_base_funcs.h: Likewise.
3029 * include/bits/stl_iterator_base_types.h: Likewise.
3030 * include/bits/stl_list.h: Likewise.
3031 * include/bits/stl_map.h: Likewise.
3032 * include/bits/stl_multimap.h: Likewise.
3033 * include/bits/stl_multiset.h: Likewise.
3034 * include/bits/stl_numeric.h: Likewise.
3035 * include/bits/stl_pair.h: Likewise.
3036 * include/bits/stl_pthread_alloc.h: Likewise.
3037 * include/bits/stl_queue.h: Likewise.
3038 * include/bits/stl_raw_storage_iter.h: Likewise.
3039 * include/bits/stl_relops.h: Likewise.
3040 * include/bits/stl_set.h: Likewise.
3041 * include/bits/stl_stack.h: Likewise.
3042 * include/bits/stl_tempbuf.h: Likewise.
3043 * include/bits/stl_threads.h: Likewise.
3044 * include/bits/stl_tree.h: Likewise.
3045 * include/bits/stl_uninitialized.h: Likewise.
3046 * include/bits/stl_vector.h: Likewise.
3047 * include/bits/type_traits.h: Likewise.
3048 * include/ext/hash_map: Likewise.
3049 * include/ext/hash_set: Likewise.
3050 * include/ext/rope: Likewise.
3051 * include/ext/ropeimpl.h: Likewise.
3052 * include/ext/slist: Likewise.
3053 * include/ext/stl_hash_fun.h: Likewise.
3054 * include/ext/stl_hashtable.h: Likewise.
3055 * include/ext/stl_rope.h: Likewise.
3056 * libsupc++/unwind-cxx.h: Likewise.
3057 * src/bitset.cc: Likewise.
3058 * src/strstream.cc: Likewise.
3060 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3062 * include/bits/indirect_array.h (indirect_array<>::operator=):
3063 Make copy and assignment operator public. Implement. Format.
3065 * include/bits/valarray_array.h (__valarray_copy): Add overloads
3066 for copy between index arrays. Format.
3068 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
3070 * mknumeric_limits: Add static definitions, format.
3071 * testsuite/18_support/numeric_limits.cc (test02): Add test.
3073 * include/c_std/bits/std_cwchar.h: Include ctime.
3074 * testsuite/17_intro/header_cwchar.cc : Check.
3076 * include/c_std/bits/std_cwctype.h: Inject wctype.
3077 * testsuite/17_intro/header_cwctype.cc: Update.
3079 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
3081 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
3082 * testsuite/20_util/raw_storage_iterator.cc: Same.
3084 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
3086 (__mem_interface): New typedef for switching between malloc and new.
3087 * testsuite/20_util/allocator_members.cc: New file.
3089 * testsuite/20_util/comparisons.cc: New file.
3090 * testsuite/20_util/pairs.cc: New file.
3092 2001-06-15 Phil Edwards <pme@sources.redhat.com>
3094 * docs/html/documentation.html: Point to new doxygen'ed collection.
3096 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
3098 * configure.in (auxdir): Replace by ...
3099 (toprel): ... new variable.
3100 (toplevel_srcdir): Construct from $toprel.
3101 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
3102 rather than .. to locate gcc source directory.
3103 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
3104 * aclocal.m4, configure: Rebuilt.
3106 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3108 (Approved by Mark and Benjamin. Applied by Loren.)
3110 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
3111 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
3112 and _GLIBCPP_mutex_address.
3113 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
3114 once-only runtime initialization of _M_lock mutex when
3115 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
3116 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
3117 for __GTHREAD_MUTEX_INIT_FUNCTION case.
3119 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3121 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
3123 * include/bits/slice_array.h (slice_array<>::operator=): Make
3124 public and implement.
3125 (slice_array<>::slice_array): Make copy-constructor public.
3127 * include/bits/valarray_array.h (__valarray_copy): Add another
3128 overload to copy between strided arrays.
3130 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
3132 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
3133 * aclocal.m4: Regenerate.
3134 * configure: Regenerate.
3135 * include/bits/c++config (__GLIBCPP__): Update date.
3137 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3139 * include/bits/fpos.h (fpos::operator-): Don't return reference,
3140 return original, non-modified version.
3141 (fpos::operator+): Same.
3142 * testsuite/27_io/fpos.cc: Add test.
3144 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
3147 * porting.texi: Add documentation about libstdc++-v3-specific
3148 macros that are currently included in os_defines.h files.
3150 * config/basic_file_stdio.h (sys_getc): New method.
3151 (sys_ungetc): New method.
3152 * include/bits/basic_file.h: (sys_getc): New method signature.
3153 (sys_ungetc): New method signature.
3155 * include/bits/fstream.tcc (underflow): Add conditional code
3156 paths which avoid using short seeks on streams (especially
3157 useful when the stream might be interactive or a pipe). At
3158 the moment, this alternate path only avoids seeking when the
3159 ``buffer size'' of underflow() is 1 since the C standard only
3160 guarantees buffer space for one ungetc (this technique could
3161 be extended since *-*-solaris* supports buffering for 4 calls
3162 to ungetc and *-*-*bsd* supports buffering limited only by
3163 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
3164 in a port's os_defines.h file for this alternate path to even
3165 be considered. As a bonus, the idiom of using getc/ungetc
3166 requires no system calls whereas fseek maps to one or two
3167 system call(s) on many platforms.
3169 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
3171 * config/os/solaris/solaris2.5/bits/os_defines.h
3172 (_GLIBCPP_AVOID_FSEEK): Likewise.
3173 * config/os/solaris/solaris2.6/bits/os_defines.h
3174 (_GLIBCPP_AVOID_FSEEK): Likewise.
3175 * config/os/solaris/solaris2.7/bits/os_defines.h
3176 (_GLIBCPP_AVOID_FSEEK): Likewise.
3178 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3180 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
3181 AC_TRY_COMPILE, so that the built compiler is checked, and
3182 bootstraps or cross compiles with an older compile still work.
3183 * aclocal.m4: Regenerate.
3184 * configure: Regenerate.
3186 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3189 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
3192 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
3195 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
3198 * include/bits/limits_generic.h: Fix as per DR 184.
3200 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3203 * include/bits/basic_string.h (string::compare): Adjust signatures
3205 * include/bits/basic_string.tcc: And here.
3208 * config/c_io_stdio.h: Remove whitespace.
3209 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
3210 (test02): Add regression.
3211 * testsuite/27_io/istream_seeks-3.tst: New file.
3213 2001-06-11 Phil Edwards <pme@sources.redhat.com>
3215 * README: Update to reflect reality.
3216 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
3217 * configure.in: Make certain target_alias is set and subst'd for 2.50.
3218 * aclocal.m4: Regenerate.
3219 * configure: Regenerate (with 2.13).
3221 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3224 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
3226 * include/bits/istream.tcc (istream::seekg): Same.
3227 * testsuite/27_io/istream_seeks.cc: Fix.
3230 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
3232 * include/bits/std_queue.h: Add c++config.h.
3233 * testsuite/20_util/binders.cc: New test.
3235 2001-06-11 Matthias Klose <doko@debian.org>
3236 Phil Edwards <pme@sources.redhat.com>
3238 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
3239 (main script): Echo more information.
3241 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3243 * include/c_std/bits/std_cwchar.h: Alphabetize.
3244 * include/bits/char_traits.h: Tweak.
3245 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
3246 everything used by std_cwchar.h.
3247 * aclocal.m4: Regenerate.
3248 * configure.in: Regenerate.
3249 * config.h.in: Regenerate.
3251 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3253 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
3254 Add checking for strtof, _Exit in stdlib.h
3255 * aclocal.m4: Regenerate.
3256 * configure.in: Regenerate.
3257 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
3258 (snprintf): Put C99 functions into __gnu_cxx namespace.
3263 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
3264 for C99 functions within _GLIBCPP_USE_C99 guard.
3268 * include/bits/locale_facets.tcc: Check if C99 is enabled.
3269 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
3271 * include/c_std/bits/cmath.tcc: Formatting tweak.
3272 * include/c_std/bits/std_cmath.h: Same.
3274 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3276 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
3278 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
3279 Stephen L Moshier <moshier@mediaone.net>
3281 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
3282 nothing, as in autoconf 2.50.
3283 * configure: Rebuilt.
3285 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3287 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
3288 include std_cstddef.
3289 * include/c_std/bits/std_ctime.h: Same.
3290 * include/c_std/bits/std_cstring.h: Same.
3291 * include/c_std/bits/std_cstdlib.h: Same.
3293 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
3294 * include/c_std/bits/std_cctype.h: Remove isblank.
3296 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3298 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
3300 * aclocal.m4: Regenerate.
3301 * configure: Regenerate.
3302 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
3303 injection, guard fgetwc, fgetws.
3304 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
3305 * include/c_std/bits/std_clocale.h: And here.
3306 * include/c_std/bits/std_cctype.h: And here.
3307 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
3309 * config/basic_file_stdio.h: Don't include unistd.h.
3310 * config/c_io_stdio.h: Don't use compatibility headers.
3311 * libsupc++/eh_terminate.cc: Qualify abort.
3312 (__terminate): And here.
3313 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
3315 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
3317 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
3319 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
3324 * include/std/*: Add copyright notice.
3325 * include/c_std/bits/*: Use using statements instead of extern "C".
3326 * include/c_std/bits/std_cmath.h: Don't overload double versions
3327 of math functions with __buitin versions, use global version to
3328 prevent ambiguities. Remove define hacks.
3329 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
3330 functions that have changed signatures and std::
3331 declarations. Remove define hacks.
3332 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
3333 __builtins in std::. Remove define hacks.
3334 * testsuite/17_intro/headers_c.cc: Add tests.
3335 * testsuite/17_intro/headers_c++.cc: Add test.
3337 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3338 John David Anglin <dave@hiauly1.hia.nrc.ca>
3341 * libsupc++/eh_alloc.cc: Ensure that required macros are
3342 defined before including gthr.h. Ensure that we get the
3343 version of gthr.h for which we know how to provide a
3345 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
3346 code path into line with the current EH model. Use std, where
3349 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3350 John David Anglin <dave@hiauly1.hia.nrc.ca>
3352 * config/threads-no.h: Remove file.
3353 * config/threads-posix.h: Remove file.
3355 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
3356 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
3357 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
3358 * config.h.in: Regenerate.
3360 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
3361 setup and use gthr*.h files. In particular, make gthr.h files
3362 namespace-clean in the staging area (they don't have to be for
3364 * aclocal.m4: Regenerate.
3365 * configure: Regenerate.
3367 * src/Makefile.am (build_headers): Remove bits/c++threads.h
3368 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
3369 * src/Makefile.in: Regenerate.
3371 * include/bits/c++config: Cleanup threading configuration macros.
3372 In particular, define __STL_GTHREADS macro which controls...
3373 * include/bits/stl_threads.h: ...a brand new gthr.h-based
3376 * config/c_io_stdio.h: Include staged gthr.h instead of local
3377 thread configuration file. Always use __gthread_mutex_t
3378 instead of __mutext_type (or int).
3379 * include/bits/std_fstream.h: Likewise.
3381 * docs/html/17_intro/howto.html: Remove placeholder comment in
3382 case this configuration patch didn't make it. Add advice that
3383 section only applies if configured with --enable-threads.
3384 * docs/html/23_containers/howto.html: Reword to make clear
3385 that _PTHREADS is no longer required for any port to be
3386 correctly using STL with threads. Add advice that section
3387 only applies if configured with --enable-threads.
3389 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
3391 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
3393 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
3396 * include/bits/basic_ios.tcc: Formatting tweaks.
3397 * include/bits/ios_base.h: Formatting tweaks.
3398 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
3399 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
3400 * src/globals.cc: Allocate filebufs for standard streams here.
3401 (buf_cout, buf_cin, buf_cerr): Like so.
3402 (buf_wcout, buf_wcin, buf_wcerr): And so.
3403 * testsuite/27_io/ios_init.cc: Add.
3405 2001-06-04 Brendan Kehoe <brendan@zen.org>
3406 Benjamin Kosnik <bkoz@redhat.com>
3409 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
3410 for generic ctype virtuals.
3411 * src/locale.cc: Minor tweaks, naming consistency.
3412 * testsuite/22_locale/ctype.cc: Add test.
3414 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
3415 Phil Edwards <pme@sources.redhat.com>
3417 PR libstdc++/3035 and PR libstdc++/3036
3418 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
3419 to LWG DR 181 and 265.
3421 2001-06-04 Phil Edwards <pme@sources.redhat.com>
3424 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
3425 equal_range): Add const overloads as per LWG DR 214.
3426 * include/bits/stl_set.h: Likewise.
3428 2001-06-04 Brendan Kehoe <brendan@zen.org>
3429 Phil Edwards <pme@sources.redhat.com>
3432 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
3433 comparison; all positions must be < _Nb.
3434 * testsuite/23_containers/bitset_members.cc: New file.
3436 2001-06-04 Brendan Kehoe <brendan@zen.org>
3439 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
3440 ctors to match the standard.
3442 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3444 * include/bits/char_traits.h (move): Reverse qualification of
3446 (copy): Reverse qualification of memcpy with std::.
3448 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3450 * include/bits/char_traits.h (move): Qualify memmove with std::.
3451 (copy): Qualify memcpy with std::.
3452 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
3455 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
3457 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
3459 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
3460 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
3461 SUN make VPATH peculiarities.
3462 * libsupc++/Makefile.in: Regenerate.
3464 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
3466 * src/Makefile.am (VPATH): Delimit with ":", not space.
3467 * src/Makefile.in: Regenerate.
3469 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
3471 * configure: Regenerate.
3473 2001-05-31 scott snyder <snyder@fnal.gov>
3476 * include/bits/istream.tcc: Include std_ostream.h.
3478 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
3481 * src/bitset.cc: Qualify size_t with std::.
3483 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
3485 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
3486 (_GLIBCPP_BUGGY_COMPLEX): Remove.
3487 * config.h.in: Regenerate.
3488 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
3489 * aclocal.m4: Regenerate.
3490 * configure.in: Don't call it.
3491 * configure: Regenerate.
3494 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
3495 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
3499 * include/bits/std_complex.h: Include sstream. Put definitions for
3500 complex inserters and extractors here, and remove them from...
3501 * src/complex_io.cc: ...here.
3502 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
3504 (basic_ios::__numget_type): Same.
3505 * include/bits/std_istream.h: Same.
3506 * include/bits/std_ostream.h: Same.
3507 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
3508 class iterator template arguments.
3509 * src/locale-inst.cc: Add explicit has_facet instantiations.
3510 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
3511 (_M_get_fnumput): Remove.
3512 (_M_get_fnumget): Remove.
3513 (basic_ios::_M_check_facet): New function.
3514 (basic_ios::_M_cache_facets): New function.
3515 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
3516 (basic_ios::imbue): Call _M_cache_facets.
3517 (basic_ios::init): Same.
3518 * include/bits/istream.tcc: Format, use _M_check_facet.
3519 * include/bits/ostream.tcc: Same.
3520 * include/bits/locale_facets.tcc (__output_float): Change
3521 signature, add _Traits.
3522 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
3525 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
3527 * include/bits/c++config (__USE_MALLOC): Do not define it.
3528 Document why not and give pointers to more information.
3530 * docs/html/23_containers/howto.html: Update documentation
3531 to reflect recent understanding of problem.
3532 * docs/html/17_intro/howto.html: Likewise.
3534 2001-05-30 Phil Edwards <pme@sources.redhat.com>
3536 * docs/doxygen/user.cfg.in: Minor addition.
3537 * docs/html/documentation.html: Reorganize. Put most-looked-at
3539 * docs/html/install.html: Update for 3.0. HTML fixups.
3540 * docs/html/17_intro/howto.html: Likewise.
3541 * docs/html/18_support/howto.html: Likewise.
3542 * docs/html/19_diagnostics/howto.html: Likewise.
3543 * docs/html/20_util/howto.html: Likewise.
3544 * docs/html/23_containers/howto.html: Likewise.
3545 * docs/html/24_iterators/howto.html: Likewise. More notes.
3546 * docs/html/25_algorithms/howto.html: Likewise.
3547 * docs/html/26_numerics/howto.html: Likewise. More notes.
3548 * docs/html/27_io/howto.html: Likewise.
3549 * docs/html/ext/howto.html: Likewise.
3550 * docs/html/faq/index.html: Likewise.
3551 * docs/html/faq/index.txt: Regenerate.
3552 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
3553 Doxygen-created documentation.
3555 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3557 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
3558 get_multilibs to find gcc.
3560 2001-05-30 Phil Edwards <pme@sources.redhat.com>
3562 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
3563 * aclocal.m4: Regenerate.
3564 * configure: Regenerate.
3566 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3568 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
3569 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
3571 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3573 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
3574 * include/c_std/bits/std_cstdlib.h: Same.
3575 * include/c_std/bits/std_cwchar.h: Same.
3577 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
3579 * docs/html/17_intro/howto.html: Update link.
3580 * docs/html/23_containers/howto.html: Likewise. Add new link.
3582 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
3584 * include/c_std/bits/std_cmath.h (sqrt): #undef.
3586 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3588 * mknumeric_limits: Stop if gen-num-limits dies.
3590 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
3593 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
3594 * aclocal.m4: Regenerate.
3597 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3598 Phil Edwards <pme@sources.redhat.com>
3599 Alexandre Oliva <aoliva@redhat.com>
3601 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3602 in an amd-safe manner. Revert glibcpp_prefixdir.
3604 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
3606 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
3607 fabs, sin, sqrt. They are now implemented in terms of __builtin_
3610 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
3613 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
3614 * include/bits/ostream.tcc: Format to match istream.tcc.
3615 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
3617 2001-05-24 Phil Edwards <pme@sources.redhat.com>
3619 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
3621 (__cxa_free_exception): Likewise with free.
3623 2001-05-24 Mark Mitchell <mark@codesourcery.com>
3625 * include/c_std/bin/std_cstring.h: #define away all global
3626 functions we will redeclare in namespace `std'.
3627 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
3628 std::memset, instead of memset.
3629 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
3631 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
3634 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
3637 * include/bits/basic_ios.tcc: Small tweak.
3638 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
3639 ctors and dtors, and rdbuf settings.
3642 * include/bits/std_sstream.h: Same, but for stringstream classes.
3643 * testsuite/27_io/ostringstream_members.cc: New.
3644 * testsuite/27_io/stringstream_members.cc: New.
3645 * testsuite/27_io/fstream_members.cc: New.
3646 * testsuite/27_io/ifstream_members.cc: Add test.
3647 * testsuite/27_io/istringstream_members.cc: Add test.
3648 * testsuite/27_io/ofstream_members.cc: Add test.
3650 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3652 * include/bits/c++config(__NO_MATH_INLINES): Move to...
3653 * config/os/gnu-linux/bits/os_defines.h: ...here.
3655 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
3657 * include/bits/c++config (__NO_MATH_INLINES): New macro.
3658 * testsuite/26_numerics/fabs_inline.cc (main): New test.
3660 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
3663 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
3665 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
3666 (libstdc++-v3-finish): Remove.
3667 (libstdc++-v3_exit): Remove.
3669 2001-05-22 Phil Edwards <pme@sources.redhat.com>
3671 * docs/html/documentation.html: Point to doxygen output.
3673 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
3675 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
3677 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
3678 arguments to be non-null.
3679 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
3680 try allocations if allocated size is greater than zero.
3681 (filebuf::_M_filebuf_init): Change to
3682 (filebuf::_M_allocate_file): Which is what it does now.
3683 (filebuf::_M_allocate_bufers): Change to
3684 (filebuf::_M_allocate_internal_buffer): This, and create
3685 (filebuf::_M_allocate_pback_buffer): New.
3686 (filebuf::_M_destroy_internal_buffer): New.
3687 (filebuf::_M_buf_allocated): New data member.
3688 (filebuf::setbuf): Use new logic, allow use of external buffer.
3689 * testsuite/27_io/stringbuf_virtuals.cc: New file.
3690 * testsuite/27_io/filebuf_virtuals.cc: New file.
3692 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
3694 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
3696 (strchr): Same, but to __glibcpp_strchr.
3700 * include/c_std/bits/std_cwchar.h (wcschr): Same.
3706 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
3708 * testsuite/21_strings/c_strings.cc (main): Fix.
3710 2001-05-19 Phil Edwards <pme@sources.redhat.com>
3712 * acinclude.m4: Fix --help spacing, correct comments.
3713 * aclocal.m4: Regenerate.
3714 * configure: Regenerate.
3715 * mkcheck.in: Add usage comments.
3716 * docs/html/documentation.html: Point to doxygen'd tarball.
3718 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
3720 * testsuite/README: Add notes.
3722 * src/Makefile.am (libstdc++.INC): Remove.
3723 * src/Makefile.in: Regenerate.
3725 Phil Edwards <pedwards@disaster.jaj.com>
3726 * mkcheck.in: Add missing '#'.
3728 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3730 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
3731 appropriately for remote testing and testing installed files without
3734 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
3736 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3737 amd glibcpp_prefixdir with absolute paths.
3739 * include/bits/c++config (__GLIBCPP__): Bump.
3740 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
3742 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
3744 * include/bits/std_valarray.h (valarray<>::operator[] const):
3745 Return a const reference.
3746 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
3748 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
3750 * configure.target (ATOMICITYH): Actually use AIX-specific code on
3751 earlier versions of AIX 4.*.
3753 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3755 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
3756 output_file based on the name of the testcase.
3758 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3760 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
3761 gluefile and use it if needs_status_wrapper is set.
3763 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
3765 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
3768 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
3770 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
3771 on earlier versions of AIX.
3773 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
3775 * testsuite_flags.in (query): Add backwards, ext directories.
3777 2001-05-15 Mark Mitchell <mark@codesourcery.com>
3779 * porting.texi: Correct documentation about handling
3780 _LARRGEFILE_SOURCE and its ilk.
3781 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
3782 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
3784 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
3785 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
3787 2001-05-15 Zack Weinberg <zackw@stanford.edu>
3789 * testsuite/21_strings/inserters_extractors.cc,
3790 testsuite/27_io/istream_unformatted.cc,
3791 testsuite/27_io/stringstream.cc:
3792 Replace multi-line string constants with C89-style
3793 concatenated string constants.
3795 2001-05-14 Richard Henderson <rth@redhat.com>
3797 * mknumeric_limits: Build with -fno-exceptions.
3799 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
3801 Switch over to new harness.
3802 * testsuite_flags.in: Tweaks via Gaby.
3803 * testsuite/Makefile.am: Change tool to libstdc++-v3.
3804 (EXPECT): Quote directly.
3806 * configure.in: Output testsuite_flags.
3807 * acinclude.m4: Substitute src, bld, and prefix dirs.
3808 Remove glibcpp_expect, glibcpp_runtestflags.
3809 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
3810 * mkcheck.in: Port to new interface.
3812 * aclocal.m4: Regerate.
3813 * configure: Regnerate.
3814 * Makefile.in: Regnerate.
3815 * */Makefile.in: Regenerate.
3817 * tests_flags.in: Remove.
3818 * testsuite/lib/libstdc++.exp: Remove.
3819 * testsuite/libstdc++.tests/tests.exp: Remove.
3821 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
3823 * configure.target: Remove detection of AIX pthread multilib, now
3824 obtained from `gcc -v'.
3826 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3828 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
3829 size. Add hpux case for HP size.
3831 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
3833 * testsuite_flags.in: New, simplified interface.
3834 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
3835 * testsuite/libstdc++-v3.dg: Add.
3836 * testsuite/libstdc++-v3.dg/dg.exp: Add.
3838 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
3840 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
3841 * testsuite/config/default.exp: Update bugs email address.
3843 2001-05-11 Richard Henderson <rth@redhat.com>
3845 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
3846 all pointer encoding logic.
3847 (struct lsda_header_info): Add ttype_base.
3848 (get_ttype_entry): Use it instead of a context.
3849 (check_exception_spec): Likewise.
3850 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
3851 the c++ exception header for __cxa_call_unexpected.
3852 (__cxa_call_unexpected): Use it.
3854 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
3856 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
3857 libgloss_link_flags to find crt0.o for targets that use libgloss
3859 Change LDFLAGS to LIBS.
3860 Consistently name procedures libstdc++-XXX.
3861 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
3863 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
3865 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
3870 * include/c_std/bits/std_cwchar.h (wcschr): Same.
3875 * testsuite/21_strings/c_strings.cc: Add tests.
3877 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
3880 * include/bits/std_fstream.h (basic_filebuf): Change signature.
3881 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
3882 to int_type, pass in buffer size info.
3883 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
3884 unbuffered situation.
3885 (underflow): Remove codecvt bits for the time being.
3886 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
3887 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
3888 values from iterators, clean.
3889 * src/locale.cc: Ditto.
3890 * include/bits/sbuf_iter.h: Format.
3891 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
3892 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
3893 * testsuite/27_io/filebuf.cc: Tweaks.
3894 * testsuite/27_io/filebuf_members.cc: Tweaks.
3896 2001-05-07 Mark Mitchell <mark@codesourcery.com>
3898 * config/os/solaris/solaris2.7/bits/os_defines.h
3899 (_LARGEFILE_SOURCE): Define it.
3901 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
3903 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
3904 -prefer-non-pic depending on whether libtool has shared libraries
3905 enabled or disabled.
3906 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
3907 $(LIBSUPCXX_PICFLAGS).
3908 * configure, */Makefile.in: Rebuilt.
3910 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
3912 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
3913 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
3915 * include/bits/std_sstream.h (stringbuf): Leak
3917 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
3919 2001-05-01 Tom Browder <tbrowder@home.com>
3921 * docs/html/ext/howto.html: Fix typo.
3923 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
3925 * testsuite/libstdc++.tests/tests.exp: Add comment.
3927 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
3929 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
3931 2001-04-30 Mark Mitchell <mark@codesourcery.com>
3933 * porting.texi: Use the GFDL.
3935 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
3938 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
3939 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
3942 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
3945 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
3947 2001-04-28 Phil Edwards <pme@sources.redhat.com>
3949 * docs/doxygen/run_doxygen: Minor tweaks.
3950 * docs/doxygen/style.css: New file.
3951 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
3952 latest parameters available. Use style.css.
3954 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
3956 * docs/doxygen/mainpage.doxy: New.
3957 * docs/doxygen/user.cfg.in: Change default configuration. Single
3958 frame, other tweaks.
3960 2001-04-26 Mark Mitchell <mark@codesourcery.com>
3962 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
3963 Indicate obsolete nature of thelist for G++ 3.0.
3965 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
3967 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
3968 target_thread_file with `gcc -v'.
3969 * aclocal.m4, configure: Rebuilt.
3971 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
3973 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
3974 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
3975 * include/c_std/bits/std_cwchar.h (std): Same.
3976 * acconfig.h (std): Remove c99 injection into std.
3977 * config.h.in: Regenerate.
3979 * testsuite/README: Fix typo.
3981 * include/bits/codecvt.h: Remove warnings.
3983 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3985 * include/ext/slist: Include required header files.
3987 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
3989 * include/c_std/bits/std_cerrno.h (errno): Define macro from
3990 identifier declared with external linkage, if needed.
3991 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
3992 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
3994 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
3996 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
3997 re-configures find the build compiler.
3998 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
4000 * aclocal.m4: Regenerate.
4001 * configure: Regenerate.
4003 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
4005 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
4006 support is enabled correctly before long long is activated.
4007 * aclocal.m4: Regenerate.
4008 * configure: Regenerate.
4010 * include/backward/backward_warning.h: Format correctly.
4012 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
4013 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
4014 * testsuite/26_numerics/c99_macros.cc: Remove.
4016 2001-04-20 Phil Edwards <pme@sources.redhat.com>
4018 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
4019 __iterator_category.
4021 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
4023 * acconfig.h (_GLIBCPP_USE_C99): Add.
4024 * config.h.in: Regenerate.
4025 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
4027 * aclocal.m4: Regenerate.
4028 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
4029 * configure: Regenerate.
4030 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
4031 * configure: Regenerate.
4032 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
4034 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
4036 * include/c_std/bits/std_cstdlib.h: Same.
4037 * docs/html/configopts.html: Update.
4038 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
4040 (test_c99_classify): Add.
4041 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
4042 (_ISOC99_SOURCE): Remove.
4044 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
4045 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
4046 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
4047 * aclocal.m4: Regenerate.
4048 * configure: Regenerate.
4050 2001-04-19 Phil Edwards <pme@sources.redhat.com>
4052 * Makefile.am (doxygen): Assume script is missing execute perms.
4053 * Makefile.in: Regenerated.
4054 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
4056 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
4058 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
4060 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
4062 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
4063 * testsuite/23_containers/set_operators.cc: Same.
4065 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
4067 (__GLIBCPP__): Bump from value of last release.
4068 * include/bits/concept_check.h: Default to off, edit comments.
4069 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
4070 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
4071 * src/Makefile.in: Regenerate.
4073 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
4075 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
4076 Properly uglify member.
4078 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4080 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
4084 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4086 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
4087 * include/bits/concept_check.h: Uglify.
4088 * include/bits/stl_algo.h: Likewise.
4089 * include/bits/stl_algobase.h: Likewise.
4090 * include/bits/stl_deque.h: Likewise.
4091 * include/bits/stl_heap.h: Likewise.
4092 * include/bits/stl_iterator_base_funcs.h: Likewise.
4093 * include/bits/stl_list.h: Likewise.
4094 * include/bits/stl_map.h: Likewise.
4095 * include/bits/stl_multimap.h: Likewise.
4096 * include/bits/stl_multiset.h: Likewise.
4097 * include/bits/stl_numeric.h: Likewise.
4098 * include/bits/stl_queue.h: Likewise.
4099 * include/bits/stl_set.h: Likewise.
4100 * include/bits/stl_stack.h: Likewise.
4101 * include/bits/stl_vector.h: Likewise.
4102 * include/ext/hash_map: Likewise.
4103 * include/ext/hash_set: Likewise.
4104 * include/ext/slist: Likewise.
4106 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
4108 * testsuite/23_containers/set_operators.cc: Just try to compile.
4110 * testsuite/23_containers/map_operators.cc: Same.
4112 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
4114 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
4116 (dg-test): Revert rth's change.
4118 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
4120 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
4121 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
4123 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
4125 * testsuite/README: Add DejaGnu specific documentation.
4127 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
4129 * acinclude.m4: AC_CHECK_TOOL for expect.
4130 * aclocal.m4: Regenerate.
4131 * configure: Regenerate.
4132 * testsuite/Makefile.am (RUNTEST): Use substituted.
4135 * configure.in: Remove xcompiling substitution.
4136 * tests_flags.in (CROSS_LIB_PATH): Remove.
4137 (xcompiling): Remove.
4138 (CXX): Use substituted CXX.
4140 2001-04-11 Richard Henderson <rth@redhat.com>
4142 * testsuite/lib/libstdc++.exp: Specify path for output_file.
4144 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
4146 * include/bits/std_valarray.h(valarray<>::operator[]): Make
4149 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4151 * testsuite/25_algorithms/equal.cc: New test.
4153 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
4155 * stl_algobase.h (std::equal): avoid use of possibly-undefined
4156 operator != (one line patch).
4158 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4160 * include/backward/backward_warning.h: Re-enable.
4162 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4163 Alexandre Oliva <aoliva@redhat.com>
4165 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
4167 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4169 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
4170 * testsuite/26_numerics/c99_macros.cc: Add test.
4172 2001-04-06 Phil Edwards <pme@sources.redhat.com>
4174 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
4175 * docs/html/faq/index.txt: Regenerated.
4177 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4179 * include/backward/backward_warning.h: Temporarily disable until
4180 g++ testsuite changes go in.
4181 * tests_flags.in (CROSS_LIB_PATH): Add.
4183 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4185 Warn when using backward headers.
4186 * include/backward/algo.h: Include warning file.
4187 * include/backward/vector.h: Same.
4188 * include/backward/tree.h: Same.
4189 * include/backward/tempbuf.h: Same.
4190 * include/backward/strstream: Same.
4191 * include/backward/streambuf.h: Same.
4192 * include/backward/stream.h: Same.
4193 * include/backward/stack.h: Same.
4194 * include/backward/slist.h: Same.
4195 * include/backward/set.h: Same.
4196 * include/backward/rope.h:
4197 * include/backward/queue.h: Same.
4198 * include/backward/pair.h: Same.
4199 * include/backward/ostream.h: Same.
4200 * include/backward/new.h: Same.
4201 * include/backward/multiset.h: Same.
4202 * include/backward/multimap.h: Same.
4203 * include/backward/map.h: Same.
4204 * include/backward/list.h: Same.
4205 * include/backward/iterator.h: Same.
4206 * include/backward/istream.h: Same.
4207 * include/backward/iostream.h:
4208 * include/backward/iomanip.h:
4209 * include/backward/heap.h: Same.
4210 * include/backward/hashtable.h:
4211 * include/backward/hash_set.h:
4212 * include/backward/hash_map.h:
4213 * include/backward/function.h:
4214 * include/backward/fstream.h:
4215 * include/backward/deque.h:
4216 * include/backward/defalloc.h: Same.
4217 * include/backward/complex.h: Same.
4218 * include/backward/bvector.h:
4219 * include/backward/alloc.h:
4220 * include/backward/algobase.h: Same.
4222 * include/backward/backward_warning.h: New file.
4223 * src/Makefile.am (backward_headers): Add backward_warning.h
4224 * src/Makefile.in: Regenerate.
4226 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4228 * src/Makefile.am (myinstalldirs): Make sure backward directory is
4230 (myinstallheaders): Install backward headers in backward directory.
4231 * src/Makefile.in: Regenerate.
4233 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4235 Prepare for libstdc++-2.92.
4236 * docs/html/17_intro/RELEASE-NOTES (New): Update.
4237 * docs/html/configopts.html: Fix formatting.
4238 * README (file): Updates.
4239 * include/bits/c++config (__GLIBCPP__): Update.
4241 2001-04-05 Phil Edwards <pme@sources.redhat.com>
4243 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
4245 2001-04-04 Phil Edwards <pme@sources.redhat.com>
4247 * docs/doxygen/user.cfg.in: Extract all non-private members;
4248 reduce confusing documentation output.
4250 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
4252 * include/backward/fstream.h: Add missing semicolons.
4254 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
4256 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
4257 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
4258 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
4259 (ios_base::Init::_S_ios_create): New.
4260 (ios_base::Init::_S_ios_destroy): New.
4261 * include/bits/std_fstream.h: Change ctor args.
4262 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
4263 (ios_base::Init::~Init): Use _S_ios_destroy.
4264 (ios_base::sync_with_stdio): Use new members.
4265 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
4268 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4270 * include/backward/fstream.h: Expose streampos to global
4273 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4275 * include/bits/stl_iterator_base_types.h: Fix typo
4277 2001-04-03 Andreas Schwab <schwab@suse.de>
4279 * include/backward/fstream.h: Define filebuf and wfilebuf.
4281 2001-04-02 Phil Edwards <pme@sources.redhat.com>
4283 New concept checking implementation.
4284 * docs/html/19_diagnostics/howto.html: Document.
4285 * docs/html/17_intro/concept_check.diff: New file, for reference.
4286 * include/bits/boost_concept_check.h: New file from Boost.
4287 * include/bits/c++config: Update comments.
4289 * include/bits/concept_check.h: New file.
4290 * include/bits/concept_checks.h: Removed.
4291 * include/bits/container_concepts.h: Removed.
4292 * include/bits/sequence_concepts.h: Removed.
4293 * include/bits/stl_iterator_base.h: Removed; split into...
4294 * include/bits/stl_iterator_base_funcs.h: ...this new file...
4295 * include/bits/stl_iterator_base_types.h: ...and this new file.
4297 * include/bits/sbuf_iter.h: Update to use new implementation.
4298 * include/bits/std_iterator.h: Likewise.
4299 * include/bits/std_memory.h: Likewise.
4300 * include/bits/stl_algo.h: Likewise.
4301 * include/bits/stl_algobase.h: Likewise.
4302 * include/bits/stl_construct.h: Likewise.
4303 * include/bits/stl_deque.h: Likewise.
4304 * include/bits/stl_heap.h: Likewise.
4305 * include/bits/stl_list.h: Likewise.
4306 * include/bits/stl_map.h: Likewise.
4307 * include/bits/stl_multimap.h: Likewise.
4308 * include/bits/stl_multiset.h: Likewise.
4309 * include/bits/stl_numeric.h: Likewise.
4310 * include/bits/stl_queue.h: Likewise.
4311 * include/bits/stl_set.h: Likewise.
4312 * include/bits/stl_stack.h: Likewise.
4313 * include/bits/stl_uninitialized.h: Likewise.
4314 * include/bits/stl_vector.h: Likewise.
4315 * include/ext/hash_map: Likewise.
4316 * include/ext/hash_set: Likewise.
4317 * include/ext/slist: Likewise.
4318 * include/ext/stl_hashtable.h: Likewise.
4320 * src/Makefile.am (base_headers): Update list of headers.
4321 * Makefile.in: Regenerated.
4322 * src/Makefile.in: Regenerated.
4323 * libio/Makefile.in: Regenerated.
4324 * libmath/Makefile.in: Regenerated.
4325 * libsupc++/Makefile.in: Regenerated.
4326 * testsuite/Makefile.in: Regenerated.
4328 * docs/html/install.html: Update contact information.
4329 * docs/html/17_intro/howto.html: Ditto.
4330 * docs/html/18_support/howto.html: Ditto.
4331 * docs/html/20_util/howto.html: Ditto.
4332 * docs/html/21_strings/howto.html: Ditto.
4333 * docs/html/22_locale/howto.html: Ditto.
4334 * docs/html/23_containers/howto.html: Ditto.
4335 * docs/html/24_iterators/howto.html: Ditto.
4336 * docs/html/25_algorithms/howto.html: Ditto.
4337 * docs/html/26_numerics/howto.html: Ditto.
4338 * docs/html/27_io/howto.html: Ditto.
4339 * docs/html/faq/index.html: Ditto, plus info on new checking code.
4340 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
4341 * docs/html/faq/index.txt: Regenerated.
4343 2001-04-02 Zack Weinberg <zackw@stanford.edu>
4345 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
4346 messages with $which_library as well as $tool_flags and
4347 ${dg-extra-tool-flags}. Factor out annotation text into
4350 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
4352 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
4353 * include/c_std/bits/std_cwchar.h: Same.
4354 * testsuite/21_strings/c_strings.cc: Add.
4356 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
4358 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
4360 2001-04-01 Zack Weinberg <zackw@stanford.edu>
4362 * tests_flags.in: Use test a = b, not test a == b which is not
4365 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
4367 * configure.target: Remove duplicate aix entry.
4369 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
4371 * include/ext/stl_bvector.h: Move to...
4372 * include/bits/stl_vector.h: ...here.
4373 * include/ext/bvector: Move to...
4374 * include/backward/bvector.h: ...here.
4375 * include/bits/std_vector.h: Change stl_bvector include.
4376 * include/bits/std_queue.h: Remove bvector include.
4377 * include/ext/tree: Insert using rb_tree, move to...
4378 * include/backward/tree.h: ...here.
4379 * include/backward/hash_map.h: Include ext/hash_map.
4380 * include/backward/hash_set.h: Include ext/hash_set.
4381 * include/backward/queue.h: New file.
4382 * include/backward/stack.h: Edit.
4383 * include/backward/algo.h: Same.
4384 * include/backward/algobase.h: Same.
4385 * include/backward/alloc.h: Same.
4386 * include/backward/function.h: Same.
4387 * include/backward/iomanip.h: Same.
4388 * include/backward/istream.h: Same.
4389 * include/backward/iterator.h: Same.
4390 * include/backward/list.h: Same.
4391 * include/backward/map.h: Same.
4392 * include/backward/multimap.h: Same.
4393 * include/backward/multiset.h: Same.
4394 * include/backward/ostream.h: Same.
4395 * include/backward/pair.h: Same
4396 * include/backward/rope.h: Same.
4397 * include/backward/set.h: Same.
4398 * include/backward/stream.h: Same.
4399 * include/backward/strstream.h: Same.
4400 * include/backward/tempbuf.h: Same.
4401 * src/Makefile.am (ext_headers): Edit.
4402 * src/Makefile.in: Regenerate.
4403 * testsuite/ext/headers.cc (main): Fix.
4406 2001-03-30 Phil Edwards <pme@sources.redhat.com>
4408 * tests_flags.in (LIBS): Pass correct path for installed testing.
4410 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
4412 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
4413 * tests_flags.in (CXX): Construct here.
4414 (static_fail): Don't remove compile.out. Format with spaces.
4415 (INCLUDES): Deal with xcompiling.
4416 * configure.in (xcompiling): Substitute.
4417 * testsuite/Makefile.am: Snake libjava configury.
4418 * testsuite/Makefile.in: Regenerate.
4419 * testsuite/23_containers/map_operators.cc: Tweaks.
4420 * testsuite/23_containers/set_operators.cc: Tweaks.
4422 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4424 Enable dejagnu testing framework.
4425 * configure.in: Generate testsuite/Makefile.
4426 * configure: Regenerate.
4427 * Makefile.am (check-install): Change rule from this...
4428 (check-script-install): ...to this.
4429 (check): Change rule from this...
4430 (check-script):...to this.
4431 * Makefile.in: Regenerate.
4433 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
4435 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
4437 (LIBTOOL): Let automake take care of its definition.
4438 * libsupc++/Makefile.in: Rebuilt.
4440 2001-03-28 Richard Henderson <rth@redhat.com>
4442 IA-64 ABI Exception Handling:
4443 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
4444 * configure.in: Use it.
4445 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
4446 * libsupc++/Makefile.am (sources): Update files list.
4447 * libsupc++/Makefile.in: Regenerate.
4448 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
4449 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
4450 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
4451 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
4452 * libsupc++/exception_support.cc: Remove.
4453 * libsupc++/exception_support.h: Remove.
4454 * libsupc++/pure.cc: Use std::terminate.
4455 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
4456 (__is_pointer): Remove.
4457 * libsupc++/unwind-cxx.h: New file.
4458 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
4460 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
4462 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
4464 * src/Makefile.am (CXXLINK): Likewise.
4465 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
4467 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
4469 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
4471 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4473 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
4476 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
4478 * include/bits/basic_file.h (get_fileno): Remove.
4479 (_M_fileno): Remove.
4480 (_M_cfile_created): Add.
4481 (basic_file::basic_file(__c_file_type*, openmode): Add.
4482 (basic_file::basic_file(int, const char*, openmode): Remove.
4483 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
4484 const char*, ios_base::openmode): Don't allocate
4485 internal buffers. Turn off internal buffers.
4486 (basic_filebuf::overflow): Remove test for null buffer.
4487 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
4488 * include/bits/streambuf.cc: Tweak.
4489 * include/bits/std_ostream.h: Tweak.
4490 * config/basic_file_libio.h: Same.
4491 * config/basic_file_stdio.h: Same.
4492 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
4493 * testsuite/27_io/filebuf_members.cc: Tweaks.
4494 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
4496 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4498 * Makefile.am: New targets, doxygen and doxygen-maint.
4499 * Makefile.in: Regenerated.
4500 * docs/doxygen/run_doxygen: Finally implemented.
4501 * docs/doxygen/maint.cfg.in: New file.
4502 * docs/doxygen/user.cfg.in: New file.
4504 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4506 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
4507 * src/Makefile.am: Replace leading spaces with tabs on continuation
4509 * aclocal.m4: Regenerated.
4511 * Makefile.in: Ditto.
4512 * src/Makefile.in: Ditto.
4513 * libio/Makefile.in: Ditto.
4514 * libmath/Makefile.in: Ditto.
4515 * libsupc++/Makefile.in: Ditto.
4517 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4519 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
4520 concept-checking code and current status of same.
4521 * docs/html/ext/howto.html: Ditto.
4522 * docs/html/faq/index.html: Ditto.
4523 * docs/html/faq/index.txt: Regenerated.
4525 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4527 * include/bits/std_bitset.h: Include ostream and istream headers
4528 instead of iostream.
4530 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
4532 * include/bits/ostream.tcc: Use __builtin_alloca.
4534 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
4536 * src/misc-inst.cc (__sink_unused_warning): Move to...
4537 * src/locale-inst.cc (__sink_unused_warning): Move to...
4538 * src/stl-inst.cc: Here.
4539 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
4542 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
4544 * intclude/bits/basic_file.h: Fix typos in comments.
4546 2001-03-20 Richard Henderson <rth@redhat.com>
4548 * src/gen-num-limits.cc: Instantiate for wchar_t.
4549 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
4551 2001-03-20 Jason Merrill <jason@redhat.com>
4553 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
4554 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
4555 * libsupc++/cxxabi.h: Declare it.
4557 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
4559 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
4560 signal_func with an unspecified argument list.
4562 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
4564 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
4566 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4568 * include/bits/basic_string.tcc (operator+): Fix thinko.
4570 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
4573 * include/bits/std_streambuf.h: Remove cached locale facets.
4574 (basic_streambuf::_M_buf_fctype): Remove.
4575 (basic_streambuf::~basic_streambuf): Remove here.
4576 (basic_streambuf::basic_streambuf): Same.
4577 (basic_streambuf::imbue): Same.
4578 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
4579 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
4580 (basic_filebuf::~basic_filebuf()): Remove here.
4581 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
4582 (basic_filebuf::imbue): Same.
4583 * include/bits/localefwd.h (_Count_ones): Remove.
4584 (locale::_S_num_categories): Just use 6, since this doesn't
4585 actually change, ever.
4586 * include/bits/locale_facets.tcc (has_facet): Simplify.
4588 * testsuite/27_io/filebuf.cc (test06): Add tests.
4590 2001-03-13 Steve Ellcey <sje@cup.hp.com>
4592 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
4593 match HP-UX ctype.h header file.
4595 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
4597 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
4598 duplicate definitions of __dj_ctype_*
4600 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
4602 * libsupc++/new: Remove pragma interface.
4603 * libsupc++/typeinfo: Same.
4604 * libsupc++/exception: Same.
4605 * libsupc++/new_handler.cc: Remove pragma implementation.
4606 (bad_alloc::~bad_alloc()): Add.
4607 * libsupc++/exception_support.cc: Same.
4608 (exception::~exception): Add.
4609 (bad_exception::~bad_exception): Add.
4610 * libsupc++/tinfo.cc: Same.
4611 (bad_cast::~bad_cast): Add.
4612 (bad_typeid::~bad_typeid): Add.
4614 2001-03-13 Phil Edwards <pme@sources.redhat.com>
4616 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
4618 2001-03-12 Felix Lee <flee@redhat.com>
4620 * mkcheck.in: workaround for bash 2.01 IFS bug.
4622 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
4624 Fixups for -fno-for-scope
4625 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
4626 * src/valarray-inst.cc (__gslice_to_index): Same.
4628 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
4630 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
4631 prior to trapping signal (UnixWare 7 workaround).
4633 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
4635 * include/backward/hashtable.h: Same.
4636 * include/backward/rope.h: Fix include.
4638 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
4640 * include/backward/vector.h: Include std_vector.h.
4642 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
4643 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4646 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4648 * include/ext/stl_hashtable.h: Change type of __n to size_t
4649 * include/backward/bvector.h: Include <ext/stl_bvector.h>
4651 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4653 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
4654 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4655 Use streamsize, not int_type.
4657 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
4659 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
4662 2001-03-08 Andreas Schwab <schwab@suse.de>
4664 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
4666 * aclocal.m4, configure: Regenerated.
4668 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
4670 * include/bits/std_iosfwd.h: Remove string forward decls here.
4671 * include/bits/stringfwd.h: Add forward decls for char_traits
4673 * config/c_io_libio.h (wstreamoff): Delete.
4674 * config/c_io_stdio.h (wstreamoff): Same.
4675 * include/bits/char_traits.h: Use streamoff not wstreamoff for
4676 char_traits<wchar_t>::off_type.
4677 Remove duplicate typedefs.
4678 * include/bits/fpos.h: Define streampos/wstreampos here.
4679 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
4682 Changeup output files.
4683 * testsuite/27_io/istream_unformatted.cc: Change output files.
4684 * testsuite/27_io/istream_seeks-1.txt: Add.
4685 * testsuite/27_io/istream_seeks-2.tst: Add.
4686 * testsuite/27_io/istream_seeks-1.tst: Add.
4687 * testsuite/27_io/istream_unformatted-2.tst: Delete.
4688 * testsuite/27_io/istream_unformatted-3.tst: Delete.
4689 * testsuite/27_io/istream_unformatted-3.txt: Delete.
4691 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
4693 Add Irix 5.2, 6.3 support.
4694 * config/os/irix/bits: Renamed to...
4695 * config/os/irix/irix6.5/bits: this.
4696 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
4697 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
4698 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
4699 * config/os/irix/irix5.2/bits/ctype_noninline.h
4700 (ctype<char>::ctype): Initialize _M_table with __ctype.
4701 * configure.target: Adjust.
4703 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
4706 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
4707 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
4709 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
4710 (*__pf)(__ios_type&)): Same.
4711 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
4712 (*__pf)(ios_base&))): Same.
4713 * testsuite/27_io/istream_extractor_other.cc: Add tests.
4714 * testsuite/27_io/istream_manip.cc (test01): Fix.
4716 2001-03-06 Nathan Myers <ncm@cantrip.org>
4717 Benjamin Kosnik <bkoz@redhat.com>
4719 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
4720 * testsuite/17_intro/header_cerrno.cc (test01): New file.
4721 * testsuite/17_intro/header_cassert.cc (test01): New file.
4722 * testsuite/17_intro/header_cstddef.cc (test01): New file.
4723 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
4724 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
4726 2001-03-05 scott snyder <snyder@fnal.gov>
4729 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
4731 * include/c_std/bits/std_cstdlib.h: ... to here.
4732 * testsuite/17_intro/header_cstdlib.cc: Add test.
4734 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
4736 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
4738 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
4740 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
4741 definition. Replace enum with static const variables.
4743 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
4744 throw specification, fix typos, use <static_cast>.
4745 (ctype<char>::scan_is): remove throw specification.
4746 (ctype<char>::scan_not): likewise.
4748 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
4749 (ctype<char>::do_toupper(char)): use <static_cast>.
4750 (ctype<char>::do_toupper(char *, const char *)): likewise.
4751 (ctype<char>::do_tolower(char)): likewise.
4752 (ctype<char>::do_tolower(char *, const char *)): likewise.
4754 2001-03-04 Phil Edwards <pme@sources.redhat.com>
4756 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
4757 * include/backward/algo.h: Use std not __STD. Remove unneeded
4758 macros and "never happens" code. Adjust to C++STYLE guidelines.
4759 * include/backward/algobase.h: Likewise.
4760 * include/backward/alloc.h: Likewise.
4761 * include/backward/bvector.h: Likewise.
4762 * include/backward/deque.h: Likewise.
4763 * include/backward/function.h: Likewise.
4764 * include/backward/hash_map.h: Likewise.
4765 * include/backward/hash_set.h: Likewise.
4766 * include/backward/hashtable.h: Likewise.
4767 * include/backward/heap.h: Likewise.
4768 * include/backward/iterator.h: Likewise.
4769 * include/backward/list.h: Likewise.
4770 * include/backward/map.h: Likewise.
4771 * include/backward/multimap.h: Likewise.
4772 * include/backward/multiset.h: Likewise.
4773 * include/backward/pair.h: Likewise.
4774 * include/backward/rope.h: Likewise.
4775 * include/backward/set.h: Likewise.
4776 * include/backward/slist.h: Likewise.
4777 * include/backward/stack.h: Likewise.
4778 * include/backward/strstream: Likewise.
4779 * include/backward/tempbuf.h: Likewise.
4780 * include/backward/tree.h: Likewise.
4781 * include/backward/vector.h: Likewise.
4782 * include/bits/basic_ios.h: Likewise.
4783 * include/bits/basic_ios.tcc: Likewise.
4784 * include/bits/basic_string.h: Likewise.
4785 * include/bits/c++config: Likewise.
4786 * include/bits/concept_checks.h: Likewise.
4787 * include/bits/fpos.h: Likewise.
4788 * include/bits/fstream.tcc: Likewise.
4789 * include/bits/functexcept.h: Likewise.
4790 * include/bits/ios_base.h: Likewise.
4791 * include/bits/istream.tcc: Likewise.
4792 * include/bits/mask_array.h: Likewise.
4793 * include/bits/ostream.tcc: Likewise.
4794 * include/bits/pthread_allocimpl.h: Likewise.
4795 * include/bits/sbuf_iter.h: Likewise.
4796 * include/bits/slice.h: Likewise.
4797 * include/bits/slice_array.h: Likewise.
4798 * include/bits/sstream.tcc: Likewise.
4799 * include/bits/std_bitset.h: Likewise.
4800 * include/bits/std_fstream.h: Likewise.
4801 * include/bits/std_iomanip.h: Likewise.
4802 * include/bits/std_ios.h: Likewise.
4803 * include/bits/std_istream.h: Likewise.
4804 * include/bits/std_iterator.h: Likewise.
4805 * include/bits/std_memory.h: Likewise.
4806 * include/bits/std_ostream.h: Likewise.
4807 * include/bits/std_sstream.h: Likewise.
4808 * include/bits/std_streambuf.h: Likewise.
4809 * include/bits/std_string.h: Likewise.
4810 * include/bits/std_valarray.h: Likewise.
4811 * include/bits/stl_algo.h: Likewise.
4812 * include/bits/stl_algobase.h: Likewise.
4813 * include/bits/stl_alloc.h: Likewise.
4814 * include/bits/stl_construct.h: Likewise.
4815 * include/bits/stl_deque.h: Likewise.
4816 * include/bits/stl_function.h: Likewise.
4817 * include/bits/stl_heap.h: Likewise.
4818 * include/bits/stl_iterator.h: Likewise.
4819 * include/bits/stl_iterator_base.h: Likewise.
4820 * include/bits/stl_list.h: Likewise.
4821 * include/bits/stl_map.h: Likewise.
4822 * include/bits/stl_multimap.h: Likewise.
4823 * include/bits/stl_multiset.h: Likewise.
4824 * include/bits/stl_numeric.h: Likewise.
4825 * include/bits/stl_pair.h: Likewise.
4826 * include/bits/stl_pthread_alloc.h: Likewise.
4827 * include/bits/stl_queue.h: Likewise.
4828 * include/bits/stl_raw_storage_iter.h: Likewise.
4829 * include/bits/stl_relops.h: Likewise.
4830 * include/bits/stl_set.h: Likewise.
4831 * include/bits/stl_stack.h: Likewise.
4832 * include/bits/stl_tempbuf.h: Likewise.
4833 * include/bits/stl_threads.h: Likewise.
4834 * include/bits/stl_tree.h: Likewise.
4835 * include/bits/stl_uninitialized.h: Likewise.
4836 * include/bits/stl_vector.h: Likewise.
4837 * include/bits/streambuf.tcc: Likewise.
4838 * include/bits/type_traits.h: Likewise.
4839 * include/bits/valarray_meta.h: Likewise.
4840 * include/ext/bvector: Likewise.
4841 * include/ext/hash_map: Likewise.
4842 * include/ext/hash_set: Likewise.
4843 * include/ext/ropeimpl.h: Likewise.
4844 * include/ext/slist: Likewise.
4845 * include/ext/stl_bvector.h: Likewise.
4846 * include/ext/stl_hash_fun.h: Likewise.
4847 * include/ext/stl_hashtable.h: Likewise.
4848 * include/ext/stl_rope.h: Likewise.
4849 * src/complex_io.cc: Likewise.
4850 * src/ios.cc: Likewise.
4851 * src/locale-inst.cc: Likewise.
4852 * src/locale.cc: Likewise.
4853 * src/localename.cc: Likewise.
4854 * src/misc-inst.cc: Likewise.
4855 * src/stdexcept.cc: Likewise.
4856 * src/stl-inst.cc: Likewise.
4857 * src/strstream.cc: Likewise.
4858 * src/valarray-inst.cc: Likewise.
4860 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
4862 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
4864 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4866 * include/bits/istream.tcc: change type of __extracted to __size_type
4868 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
4870 * src/wstring-inst.cc: New file.
4871 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
4872 (libinst_wstring_la_SOURCES): Remove.
4873 (libstdc___la_LIBADD): Remove libinst_wstring_la.
4874 (sources): Add wstring-inst.cc
4875 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
4878 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4880 * src/locale.cc: initialise __ret with zero
4881 * src/strstream.cc:cast gptr to int_type
4883 2001-03-01 Phil Edwards <pme@sources.redhat.com>
4885 * docs/html/faq/index.html: Update broken links.
4886 * docs/html/faq/index.txt: Regenerated.
4888 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
4891 * configure.target: Change irix* to irix6.5* in target_os table.
4893 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
4896 * include/bits/c++config (__GLIBCPP__): Bump number in
4897 anticipation of 2.92.
4899 * include/bits/codecvt.h: Fix typo.
4900 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
4902 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
4903 instantiations for stdio model.
4905 2001-02-28 Phil Edwards <pme@sources.redhat.com>
4907 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
4908 and GLIBCPP_CXXFLAGS as unused variables.
4909 * configure.host: Likewise.
4910 * configure.target: Likewise.
4911 * aclocal.m4: Regenerated.
4912 * configure: Regenerated.
4913 * Makefile.in: Regenerated.
4914 * libio/Makefile.in: Regenerated.
4915 * libmath/Makefile.in: Regenerated.
4916 * libsupc++/Makefile.in: Regenerated.
4917 * src/Makefile.in: Regenerated.
4919 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4922 * include/bits/basic_file.h: Include basic_file_model.h.
4923 * config/c_io_libio.cc: Move to...
4924 * config/basic_file_libio.cc: Here.
4925 * config/basic_file_libio.h: New file.
4926 * config/c_io_stdio.cc: Move to...
4927 * config/basic_file_stdio.cc: Here.
4928 * config/basic_file_stdio.h: New file.
4929 * config/c_io_libio.h: Tweak.
4930 * config/c_io_stdio.h: Tweak.
4931 * src/Makefile.am (build_headers): Add basic_file_model.h.
4932 (sources): Add basic_file.cc, remove c++io.cc.
4933 * src/Makefile.in: Regenerate.
4934 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
4935 basic_file_model.h and basic_file.cc.
4936 * aclocal.m4: Regenerate.
4937 * configure: Regenerate.
4938 * testsuite/27_io/filebuf.cc (test05): Add regression.
4940 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4943 * config/cpu/alpha/bits/atomicity.h: Change.
4944 * config/cpu/arm/bits/atomicit3y.h
4945 * config/cpu/generic/bits/atomicity.h
4946 * config/cpu/i386/bits/atomicity.h
4947 * config/cpu/i486/bits/atomicity.h
4948 * config/cpu/ia64/bits/atomicity.h
4949 * config/cpu/powerpc/bits/atomicity.h
4950 * config/cpu/sparc/sparc32/bits/atomicity.h
4951 * config/cpu/sparc/sparc64/bits/atomicity.h
4952 * config/os/aix/bits/atomicity.h
4953 * config/os/irix/bits/atomicity.h
4955 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
4957 * include/bits/std_stdexcept.h (runtime_error): Make string
4959 (logic_error): Same.
4960 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
4963 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
4967 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
4968 string object, not reference.
4969 (runtime_error::runtime_error): Same.
4970 * testsuite/19_diagnostics/stdexceptions.cc: New file.
4972 2001-02-26 Phil Edwards <pme@sources.redhat.com>
4974 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
4975 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
4976 diagnostics. Remove WFMT_FLAGS.
4977 * configure.in: Replace WFMT_FLAGS with diagnostics options.
4978 * libsupc++/Makefile.am: Likewise.
4979 * src/Makefile.am: Likewise.
4980 * aclocal.m4: Regenerated.
4981 * configure: Regenerated.
4982 * Makefile.in: Regenerated.
4983 * libio/Makefile.in: Regenerated.
4984 * libmath/Makefile.in: Regenerated.
4985 * libsupc++/Makefile.in: Regenerated.
4986 * src/Makefile.in: Regenerated.
4988 2001-02-26 Phil Edwards <pme@sources.redhat.com>
4990 Fixes libstdc++/2079
4991 * include/backward/iomanip.h: Expose <ios> manipulators to global
4993 * include/backward/iostream.h: Also expose std::ws.
4995 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
4997 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
4999 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
5001 * include/bits/codecvt.h: Use __builtin_alloca.
5002 * include/bits/ostream.tcc: Same.
5003 * include/bits/fstream.tcc: Same.
5005 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
5007 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
5009 2001-02-23 David Edelsohn <dje@watson.ibm.com>
5011 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
5013 2001-02-23 Phil Edwards <pme@sources.redhat.com>
5016 * include/backward/iostream.h: Expose std::flush in old headers.
5018 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5020 * mknumeric_limits: Remove special-casing on target. Use gcc
5021 instead of g++ to build gen-num-limits.cc
5023 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
5025 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
5027 * include/bits/codecvt.h: Use alloca instead of __extension__ for
5029 * include/bits/ostream.tcc: Same.
5030 * include/bits/std_ostream.h: Same.
5031 * include/bits/fstream.tcc: Same.
5032 * include/bits/locale_facets.tcc: Add typename.
5033 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
5035 2001-02-21 Phil Edwards <pme@sources.redhat.com>
5037 * tests_flags.in: Remove -n flag from call to echo.
5039 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
5041 * config/c_locale_gnu.h: Add clocale include.
5043 2001-02-20 Phil Edwards <pme@sources.redhat.com>
5045 * include/bits/stl_config.h: Remove file.
5046 * src/Makefile.am (base_headers): Remove from list.
5047 * configure: Regenerate.
5048 * Makefile.in: Ditto.
5049 * libio/Makefile.in: Ditto.
5050 * libmath/Makefile.in: Ditto.
5051 * libsupc++/Makefile.in: Ditto.
5052 * src/Makefile.in: Ditto.
5054 * include/bits/c++config: Move relevant macros to here.
5055 * include/backward/alloc.h: Include c++config.h instead.
5056 * include/backward/function.h: Ditto.
5057 * include/backward/heap.h: Ditto.
5058 * include/backward/pair.h: Ditto.
5059 * include/bits/pthread_allocimpl.h: Ditto.
5060 * include/bits/std_functional.h: Ditto.
5061 * include/bits/std_iterator.h: Ditto.
5062 * include/bits/std_numeric.h: Ditto.
5063 * include/bits/std_utility.h: Ditto.
5064 * include/bits/stl_algobase.h: Ditto.
5065 * include/bits/type_traits.h: Ditto.
5066 * src/stl-inst.cc: Ditto.
5068 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5070 * include/bits/basic_file.h: Add #pragma system_header
5071 * include/bits/basic_ios.h: Ditto.
5072 * include/bits/basic_string.h: Ditto.
5073 * include/bits/char_traits.h: Ditto.
5074 * include/bits/codecvt.h: Ditto.
5075 * include/bits/cpp_type_traits.h: Ditto.
5076 * include/bits/fpos.h: Ditto.
5077 * include/bits/gslice.h: Ditto.
5078 * include/bits/gslice_array.h: Ditto.
5079 * include/bits/indirect_array.h: Ditto.
5080 * include/bits/ios_base.h: Ditto.
5081 * include/bits/limits_generic.h: Ditto.
5082 * include/bits/locale_facets.h: Ditto.
5083 * include/bits/localefwd.h: Ditto.
5084 * include/bits/mask_array.h: Ditto.
5085 * include/bits/sbuf_iter.h: Ditto.
5086 * include/bits/sequence_concepts.h: Ditto.
5087 * include/bits/slice.h: Ditto.
5088 * include/bits/slice_array.h: Ditto.
5089 * include/bits/std_algorithm.h: Likewise.
5090 * include/bits/std_bitset.h: Likewise.
5091 * include/bits/std_complex.h: Likewise.
5092 * include/bits/std_deque.h: Likewise.
5093 * include/bits/std_fstream.h: Likewise.
5094 * include/bits/std_functional.h: Likewise.
5095 * include/bits/std_iomanip.h: Likewise.
5096 * include/bits/std_ios.h: Likewise.
5097 * include/bits/std_iosfwd.h: Likewise.
5098 * include/bits/std_iostream.h: Likewise.
5099 * include/bits/std_istream.h: Likewise.
5100 * include/bits/std_iterator.h: Likewise.
5101 * include/bits/std_list.h: Likewise.
5102 * include/bits/std_locale.h: Likewise.
5103 * include/bits/std_map.h: Likewise.
5104 * include/bits/std_memory.h: Likewise.
5105 * include/bits/std_numeric.h: Likewise.
5106 * include/bits/std_ostream.h: Likewise.
5107 * include/bits/std_queue.h: Likewise.
5108 * include/bits/std_set.h: Likewise.
5109 * include/bits/std_sstream.h: Likewise.
5110 * include/bits/std_stack.h: Likewise.
5111 * include/bits/std_stdexcept.h: Likewise.
5112 * include/bits/std_streambuf.h: Likewise.
5113 * include/bits/std_string.h: Likewise.
5114 * include/bits/std_utility.h: Likewise.
5115 * include/bits/std_valarray.h: Likewise.
5116 * include/bits/std_vector.h: Likewise.
5117 * include/bits/stringfwd.h: Likewise.
5118 * include/bits/type_traits.h: Likewise.
5119 * include/bits/valarray_array.h: Likewise.
5120 * include/bits/valarray_meta.h: Likewise.
5122 2001-02-19 Andreas Jaeger <aj@suse.de>
5124 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
5127 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
5130 * include/bits/std_ostream.h: Replaced usage of
5131 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
5132 * include/bits/char_traits.h: Removed non-standard
5133 methods that cannot be used elsewhere.
5136 * include/bits/basic_ios.h: Uncommented #include of
5140 * include/bits/codecvt.h: See next...
5141 * include/bits/fstream.tcc: See next...
5142 * include/bits/ostream.tcc: Add __extension__
5143 to variable-length arrays.
5146 * include/bits/localefwd.h: Changed int counter type to size_t.
5149 * include/bits/std_fstream.h: Added typedef for __ctype_type.
5151 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
5153 * testsuite/21_strings/char_traits.cc: Move to ...
5154 * testsuite/21_strings/char_traits_requirements.cc: ..here.
5155 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
5156 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
5158 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
5160 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
5163 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5165 * include/bits/c++config: Revert.
5167 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5169 * include/bits/istream.tcc: Use ios_base::iostate in place of
5170 iostate throughout. Insert `typename' keyword where necessary.
5171 * include/bits/ostream.tcc: Insert `typename' keyword where
5174 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
5176 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
5177 Define so library is compliant.
5179 2001-02-15 Anthony Green <green@redhat.com>
5181 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
5183 * aclocal.m4: Regenerate.
5184 * configure: Regenerate.
5186 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
5188 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
5189 Include ieeefp.h for fpclass on UnixWare{2,7}.
5190 * aclocal.m4: Regenerate.
5191 * configure: Regenerate.
5192 * mkcheck.in (size_command): Do without GNU-grep when using
5195 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5197 Remove old ABI support from libsupc++.
5198 * libsupc++/cxxabi.h: Remove conditionally compiled code.
5199 * libsupc++/exception_support.cc: Likewise.
5200 * libsupc++/pure.cc: Likewise.
5201 * libsupc++/tinfo.cc: Likewise.
5202 * libsupc++/tinfo.h: Likewise.
5203 * libsupc++/tinfo2.cc: Likewise.
5204 * libsupc++/typeinfo: Likewise.
5205 * libsupc++/vec.cc: Likewise.
5207 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5209 Add support for -fno-exceptions.
5210 * include/bits/exception_support.h: Remove.
5211 * include/bits/basic_string.h: Remove exception_support.
5212 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
5214 (string::substr): Same.
5215 * include/bits/basic_string.tcc (string::reserve): Replace
5216 __LENGTHERROR with __throw_length_error.
5217 (string::_S_create): Same.
5218 (string::resize): Same.
5219 (string::_M_replace): Same.
5220 (string::replace): Same.
5221 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
5222 (string::compare): Same.
5223 * include/bits/stl_vector.h: Remove exception_support.
5224 * src/Makefile.am (base_headers): Remove here.
5225 * src/Makefile.in: Regenerate.
5227 * include/bits/stl_range_errors.h: Remove.
5228 * include/bits/stl_deque.h: Use __throw_range_error.
5229 * include/bits/std_deque.h: Include functexcept.h.
5230 * include/bits/std_vector.h: Same.
5231 * src/Makefile.am (base_headers): Remove here.
5232 * src/Makefile.in: Regenerate.
5233 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
5234 * include/ext/bvector: Remove stl_range_errors.h
5236 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
5238 * include/bits/functexcept.h: New file.
5239 * src/functexcept.cc: New file. Definitions for function-based
5241 * src/Makefile.am (sources): Add functexcept.cc.
5242 * src/Makefile.in: Regenerate.
5244 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
5247 * include/bits/localefwd.h: Include functexcept.h.
5248 * include/bits/std_iosfwd.h: Same.
5250 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
5251 throw basic_ios::failure.
5252 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
5253 Use __throw_exception_again.
5254 (filebuf::_M_filebuf_init): Same.
5255 * include/bits/streambuf.tcc (__copy_streambufs): Same.
5256 * include/bits/ostream.tcc (ostream::operator<<): Same.
5257 * include/bits/istream.tcc (istream::operator>>): Same.
5258 * include/bits/basic_string.tcc (string::_M_mutate): Same.
5259 (string::_S_construct): Same.
5260 (string::_M_clone): Same.
5261 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
5263 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
5264 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
5265 __throw_exception_again.
5266 (locale::_Imp::_Imp(string, size_t): Same.
5267 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
5268 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
5269 (locale::locale(const char*)): Use __throw_runtime_error.
5270 (locale::classic): Use __throw_exception_again.
5271 (locale::_S_normalize_category): Use __throw_runtime_error.
5273 * src/stdexcept.cc: Remove cruft.
5275 * libsupc++/exception_defines.h: New file.
5276 * libsupc++/new_opnt.cc: Include exception_defines.h.
5277 * libsupc++/vec.cc: Same.
5278 (__cxa_vec_new2): Use __throw_exception_again.
5279 (__cxa_vec_new3): Same.
5280 (__cxa_vec_ctor): Same.
5281 (__cxa_vec_delete3): Same.
5282 (__cxa_vec_cctor): Same.
5283 (__cxa_vec_delete2): Same.
5284 (__cxa_vec_dtor): Same.
5285 * libsupc++/exception_support.cc: Include exception_defines.h. Only
5286 compile exception-handling bits if __EXCEPTIONS is defined.
5287 Remove old ABI support.
5288 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
5289 std::__throw_bad_alloc() instead of throw bad_alloc.
5290 * libsupc++/Makefile.am: Add exception_defines.h.
5291 * libsupc++/Makefile.in: Reformat.
5292 * libsupc++/*: Format.
5294 2001-02-15 Phil Edwards <pme@sources.redhat.com>
5296 * docs/html/configopts.html: Minor updates and typo fixes.
5297 * docs/html/faq/index.html: Updates of the "not really bugs" list.
5298 * docs/html/faq/index.txt: Regenerated.
5300 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
5302 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
5303 dejagnu/dg.exp. Adapt to log options used to run testcases.
5305 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5307 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
5310 2001-02-13 Dirk Mueller <dmuell@gmx.net>
5311 Phil Edwards <pme@sources.redhat.com>
5313 * include/backward/function.h: Do not use rel_ops for older
5315 * include/backward/pair.h: Likewise.
5317 2001-02-12 Mark Mitchell <mark@codesourcery.com>
5319 * src/locale.cc: Remove bogus locale::id definitions.
5321 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5323 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
5324 not _DEFINE_VALARRAY_OPERATOR which is not existent.
5326 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
5327 thinko in member initialisation.
5329 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5331 * include/bits/std_valarray.h(valarray<>::shift): Avoid
5332 comparaison between signed and unsigned integer types.
5333 (valarray<>::cshift): Reformat.
5335 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
5337 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
5338 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
5339 * configure.in: Test for sigsetjmp.
5340 * configure, config.h.in: Rebuilt.
5342 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5344 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
5345 lengths and strides.
5346 (__gslice_to_index): Document.
5348 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5350 * include/bits/char_traits.h char_traits<char>::int_type: Change
5351 to `int' to match 21.1.3.1/2.
5353 * testsuite/21_strings/char_traits-int_type.C: New test.
5355 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
5357 * testsuite/Makefile.am: New file.
5359 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
5361 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
5363 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
5365 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
5367 2001-02-08 David Edelsohn <edelsohn@gnu.org>
5369 * configure.target (aix4*): Remove extra set of brackets.
5371 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
5374 * include/bits/stringfwd.h: New file.
5375 * include/bits/stl_string_fwd.h: Remove.
5376 * include/bits/localefwd.h: Remove declaration for allocator.
5377 * include/bits/std_iosfwd: Same.
5378 * include/bits/std_string.h: Include it.
5379 * include/bits/std_ios.h: Remove include.
5380 * include/bits/basic_string.h: Tweak.
5381 * libsupc++/new: Format.
5382 * src/Makefile.am (base_headers): Add stringfwd.h, remove
5384 * src/Makefile.in: Regenerate.
5385 * include/bits/std_stdexcept.h: Rewrite.
5386 * src/stdexcept.cc: Same.
5388 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
5390 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
5391 install locations too.
5392 * aclocal.m4: Regenerate.
5393 * configure.in: Remove USE_LIBDIR.
5394 * configure: Regenerate.
5395 * src/Makefile.am (toolexecdir): Simplify, use
5396 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
5397 * src/Makefile.in: Regenerate.
5398 * libsupc++/Makefile.am: Same.
5399 * libsupc++/Makefile.in: Regenerate.
5401 * src/Makefile.am: Just remove special rules for locale-inst.cc and
5402 misc-inst.cc as no longer necessary.
5404 Follow C++STYLE for naming non-static functions.
5405 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
5407 * include/bits/streambuf.tcc: Same.
5408 * include/bits/ostream.tcc: Same.
5409 * include/bits/istream.tcc: Same.
5410 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
5411 (_S_output_float): To __output_float.
5412 * include/bits/std_streambuf.h (_S_copy_streambufs): To
5414 * include/bits/locale_facets.tcc (_S_build_float_format): To
5415 __build_float_format.
5416 (_S_format): To __output_integer.
5417 (_S_fill): To __pad.
5418 * src/locale.cc: Same.
5419 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
5421 * include/bits/locale_facets.tcc (_S_group_digits): To
5423 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
5424 for collate, numpunct.
5426 2001-02-06 Phil Edwards <pme@sources.redhat.com>
5428 * docs/html/configopts.html: Fix HTML markup.
5429 * docs/html/install.html: Bring up to date.
5430 * docs/html/17_intro/C++STYLE: Add global variable conventions.
5431 * docs/html/21_strings/howto.html: More notes.
5432 * docs/html/22_locale/howto.html: Fix HTML markup.
5433 * docs/html/27_io/howto.html: More notes.
5434 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
5435 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
5437 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
5439 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
5440 to match header files.
5441 (_S_output_float): Likewise.
5442 (_S_copy_streambufs): Likewise.
5444 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
5445 Phil Edwards <pme@sources.redhat.com>
5447 * include/bits/std_istream.h (op>> signed,unsigned char): Must
5448 use reinterpret_cast, not static_cast.
5450 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
5452 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
5453 * aclocal.m4: Regenerate.
5454 * configure: Regenerate.
5456 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5458 * include/bits/locale_facets.h (class moneypunct): Fix typos.
5459 * libsupc++/pure.cc: Revert.
5461 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5463 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
5464 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
5465 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
5466 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
5467 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
5468 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
5469 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
5470 * aclocal.m4: Regenerate.
5471 * configure: Regenerate.
5473 2001-02-05 Mark Mitchell <mark@codesourcery.com>
5475 * include/bits/locale_facets.tcc: Remove `static' keyword on
5476 function definitions.
5477 * include/bits/std_streambuf.h: Likewise.
5478 * src/Makefile.am: Remove use of -fimplicit-templates.
5479 * src/Makefile.in: Regenerated.
5480 * src/locale-inst.cc: Explicitly instantiate more functions.
5481 * src/misc-inst.cc: Likewise.
5482 * src/string-inst.cc: Likewise.
5484 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5486 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
5487 macro. Consolidate all the bits to do with where includes might be
5489 * aclocal.m4: Regenerate.
5490 * configure.in: Use it.
5491 * configure: Regenerate.
5492 * src/Makefile.am (targetincludep): Use simplified rules.
5493 (targetincludep): Rename gxx_target_include_dir.
5494 (myincludep): Rename gxx_include_dir.
5495 * src/Makefile.in: Regenerate.
5496 * libsupc++/Makefile.am: Use simplified rules.
5497 * libsupc++/Makefile.in: Regenerate.
5499 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5501 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
5502 * include/c_std/bits/std_cctype.h: Same.
5503 * include/c_std/bits/std_cassert.h: Same.
5504 * include/c_std/bits/std_cstdarg.h: Same.
5505 * include/c_std/bits/std_cstddef.h: Same.
5507 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
5509 * include/c_std/bits/std_ctime.h: Same.
5510 * include/c_std/bits/std_clocale.h: Same.
5511 * include/c_std/bits/std_cmath.h: Same.
5512 * include/c_std/bits/std_csetjmp.h: Same.
5513 * include/c_std/bits/std_csignal.h: Same.
5514 * include/c_std/bits/std_cstring.h: Same.
5515 * include/c_std/bits/std_cstdlib.h: Same.
5516 * include/c_std/bits/std_cwchar.h: Same.
5518 2001-02-05 Phil Edwards <pme@sources.redhat.com>
5520 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
5522 2001-02-05 Mark Mitchell <mark@codesourcery.com>
5524 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
5525 (string::_S_construct): Likewise.
5527 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
5529 * testsuite/config/default.exp: New file.
5530 * testsuite/config: New directory.
5532 2001-02-04 Mark Mitchell <mark@codesourcery.com>
5534 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
5535 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
5536 whenever !__GXX_MERGED_TYPEINFO_NAMES.
5537 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
5539 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
5540 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5542 * Makefile.am (mkinstalldirs): Set.
5543 * src/Makefile.am (mkinstalldirs): Set.
5544 * libmath/Makefile.am (mkinstalldirs): Set.
5545 * libsup++/Makefile.am (mkinstalldirs): Set.
5546 * libio/Makefile.am (mkinstalldirs): Set.
5547 * */Makefile.in: Regenerate.
5549 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
5551 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
5552 * include/bits/localefwd.h: More initialization cleanups.
5554 2001-02-03 Jeffrey A Law <law@cygnus.com>
5556 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
5557 correctly targets with 16bit ints.
5558 (_S_ios_openmode_end): Similarly.
5559 (_S_ios_iostate_end): Similarly.
5560 (_S_ios_Seekdir_end): Similarly.
5562 2001-02-02 Phil Edwards <pme@sources.redhat.com>
5564 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
5566 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
5568 * configure.in (toplevel_srcdir, auxdir): Set.
5569 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
5570 * aclocal.m4, configure, Makefile.in: Rebuilt.
5571 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
5572 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
5573 * libsupc++-v3/Makefile.in: Rebuilt.
5574 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
5575 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
5577 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
5579 * config/c_locale_generic.cc: Remove langinfo include.
5581 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
5583 Preliminary named locales.
5584 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
5585 * aclocal.m4: Regenerate.
5586 * configure.in: Use it.
5587 * configure: Regerate.
5588 * src/Makefile.am (sources): Add c++locale.cc.
5589 (build_headers): Add c++locale.h.
5590 * src/Makefile.in: Regenerate.
5591 * config/c_locale_gnu.h: New file.
5592 * config/c_locale_gnu.cc: New file. Non-inline member functions
5593 for named locales, gnu-specific.
5594 * config/c_locale_generic.h: New file.
5595 * config/c_locale_generic.cc: New file. Non-inline member
5596 functions for named locales, generic version.
5597 * docs/html/configopts.html: Add documentation on new options.
5599 * include/bits/locale_facets.h (class _Messages): Remove.
5600 (class _Moneypunct): Remove.
5601 * src/locale-inst.cc: Remove.
5603 * include/bits/locale_facets.h (class _Collate): Remove.
5604 * src/locale-inst.cc (std): Remove.
5605 * src/locale.cc: And here.
5607 * include/bits/localefwd.h (locale::_M_coalesce): New
5608 function. Correctly put together multi-name locales.
5609 (_Impl(const _Impl&, category, size_t)): Remove.
5611 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
5613 (_M_normalize_category_names): Remove.
5614 (_M_replace_categories): Fix.
5616 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
5617 (locale::_Impl::_M_construct_ctype): Remove.
5618 (locale::_Impl::_M_construct_monetary): Remove.
5619 (locale::_Impl::_M_construct_numeric): Remove.
5620 (locale::_Impl::_M_construct_time): Remove.
5621 (locale::_Impl::_M_construct_messages): Remove.
5623 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
5624 (_Use_facet_failure_handle): Remove.
5625 * src/locale.cc: Remove definitions.
5626 * src/locale-inst.cc: And here.
5628 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
5630 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
5631 create and error-check underlying locale object.
5632 (locale::facet::_S_destroy_c_locale): Add, take care of properly
5633 tearing down underlying locale object.
5634 * include/bits/localefwd.h (locale::facet): Declare.
5635 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
5636 correctness, as glibc apparently has incorrect info in it. Test
5637 with it when it works again.....
5639 * include/bits/localefwd.h (locale::_Impl::__vec_string):
5640 Remove. Number of categories is fixed at six, so just simplify and
5641 make this an array of strings.
5642 (locale::_Impl::_M_has_name): Remove.
5643 (locale::_Impl::_M_name): Remove.
5644 (locale::_Impl::_M_category_names): Turns into...
5645 (locale::_Impl::_M_names): ...this.
5646 (locale::_Impl::_M_has_same_name()): New function.
5647 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
5648 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
5650 * src/locale.cc (locale::name()): Construct mangled name
5651 accurately reflecting combined locale categories.
5653 * src/locale.cc (locale::classic()): Don't initialize here.
5654 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
5655 __refs, bool __has_name, string __str): Do it here.
5657 * include/bits/localefwd.h: _S_categories_num to
5658 _S_num_categories. _S_facets_num to _S_num_facets.
5659 (locale::id::id()): Explicitly set _M_index to zero.
5660 * src/locale.cc: Same.
5662 * src/locale.cc: (locale::locale(const char*)): Construct named
5665 * src/locale.cc: Remove numpunct_byname ctors.
5666 * testsuite/22_locale/numpunct_byname.cc: New file.
5667 * testsuite/22_locale/numpunct.cc: New file.
5669 * include/bits/localefwd.h (class locale): Change data members to
5670 protected, from private.
5671 (_Impl::_M_get_c_locale): Add member function.
5672 (locale::facet::_M_get_global_impl()): Add member function.
5673 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
5674 a __c_locale pointer.
5675 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
5677 * testsuite/22_locale/members.cc: New file, test name and combine.
5679 * include/bits/locale_facets.h (class numpunct): Remove class
5680 _Punct and _Numpunct. Rewrite class numpunct to be correct for
5682 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
5683 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
5684 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
5685 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
5686 * testsuite/22_locale/numpunct_char_members.cc: New file.
5688 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
5690 * testsuite/README: Add more comment.
5691 * testsuite/lib/libstdc++.exp: Tweak comment.
5693 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
5695 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
5697 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
5699 * testsuite/21_strings/inserters_extractors.cc: Remove
5700 explicit reference to 'testsuite/'.
5702 2001-01-25 Richard Henderson <rth@redhat.com>
5704 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
5705 bits. Fixes Tru64 build issues.
5707 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5709 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
5710 (use ${MAKE-make}, not ${MAKE:-make}).
5711 * aclocal.m4, configure: Regenerate.
5713 2001-01-25 Mark Mitchell <mark@codesourcery.com>
5715 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
5718 * src/Makefile.am (sources): Add globals.cc.
5719 * src/Makefile.in: Regenerated.
5720 * src/globals.cc: New file.
5721 * src/ios.cc (cin): Don't define here, just declare extern.
5730 2001-01-25 Phil Edwards <pme@sources.redhat.com>
5732 * include/bits/std_iterator.h: Do not include stl_relops.h.
5733 * include/bits/std_numeric.h: Ditto.
5734 * include/bits/stl_algobase.h: Ditto.
5735 * include/bits/stl_relops.h: Add comment warning about problems.
5737 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
5739 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
5740 in testcases. Prepare for the DejaGnu based framework.
5741 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
5742 directory -- it is now mkcheck working directory.
5743 * tests_flags.in: Remove reference to $(top_srcdir). Use
5745 * Makefile.am (check, check-install): Change mkcheck invocation
5747 * Makefile.in: Regenerate.
5749 2001-01-24 Mark Mitchell <mark@codesourcery.com>
5751 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
5752 (__always_swap): Likewise.
5754 2001-01-23 Chris Demetriou <cgd@broadcom.com>
5756 * libsupc++/exception_support.cc (__terminate_func): Remove
5758 (__terminate_func_ptr): New typedef.
5759 (__terminate, __terminate_set_func): New extern function
5761 (std::terminate): Use __terminate function.
5762 (std::set_terminate): Use __terminate_set_func function.
5764 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
5766 * configure.target: Just use os_include_dir always.
5767 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
5768 Link atomicity files and ctype files here.
5769 * configure: Regenerate.
5770 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
5771 (GLIBCPP_ENABLE_ATOMICITY): Remove.
5772 * aclocal.m4: Regenerate.
5774 2001-01-23 Chris Demetriou <cgd@broadcom.com>
5776 * configure.in: Place definition of MULTISUBDIR in
5777 libsupc++/Makefile as is done for src/Makefile.
5778 * configure: Regenerate.
5780 2001-01-23 Phil Edwards <pme@sources.redhat.com>
5782 * acinclude.m4: Cosmetic changes only.
5783 * aclocal.m4: Regenerated.
5784 * configure: Regenerated.
5785 * configure.target: Update documented list of changed variables.
5786 * docs/html/install.html: Fix typo.
5787 * docs/html/20_util/howto.html: More notes on auto_ptr.
5788 * docs/html/27_io/howto.html: More notes on streabufs.
5789 * docs/html/faq/index.html: Add rel_ops problem and mention the
5790 DEC as(1) .subsection difficulty.
5791 * docs/html/faq/index.txt: Regenerated.
5793 2001-01-23 Mark Mitchell <mark@codesourcery.com>
5795 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
5796 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
5797 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
5798 its already provided in config.target.
5799 * aclocal.m4: Regenerated.
5800 * configure: Likewise.
5801 * configure.target: Set ctype_include_dir for lots of systems.
5802 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
5803 * libsupc++/Makefile.in: Regenerated.
5805 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
5807 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
5810 * testsuite/README: Add comment.
5812 2001-01-21 Phil Edwards <pme@sources.redhat.com>
5814 * docs/html/configopts.html: Update for current status. Fix HTML.
5815 * docs/html/install.html: Update for current status.
5817 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5819 * testsuite/libstdc++.tests/tests.exp: New file.
5820 * testsuite/lib/libstdc++.exp: Itou.
5821 * testsuite/README: Itou.
5823 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
5825 * tests_flags.in: Just output the bare minimum to run tests.
5826 Let's the caller do its own arrangement.
5828 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
5831 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
5833 * testsuite/17_intro: Prepare testcases for new style DejaGnu
5836 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
5838 * testsuite/libstdc++.tests, testsuite/lib: New directories.
5840 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
5842 * mkcheck.in: Construct file names that match $objdir structure.
5843 * testsuite/27_io/filebuf_members-1.txt: New file.
5844 * testsuite/27_io/ifstream_members-1.txt: New file.
5845 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
5847 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
5848 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
5850 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5852 * testsuite/27_io/istream_sentry.cc (test02): Fix.
5854 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
5857 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
5858 * src/ios.cc (ios_base::failure): Make definitions match.
5859 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
5860 (class bad_cast): Same.
5861 * libsupc++/exception (class exception): Add throw specs.
5862 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
5863 (set_unexpected): Same.
5864 (uncaught_exception): Same.
5867 * docs/html/17_intro/C++STYLE (classname): Fix.
5869 2001-01-16 Mark Mitchell <mark@codesourcery.com>
5871 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
5872 Use it do explicitly instantiate predicate<T> and value<T> for
5875 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
5877 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
5878 uninitialized thinko in last change.
5880 2001-01-16 Mark Mitchell <mark@codesourcery.com>
5882 * libsupc++/exception_support.cc (__cp_pop_exception): Change
5885 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
5887 * docs/html/17_intro/C++STYLE (classname): Add more existing
5888 and stylish patterns.
5891 * include/bits/istream.tcc (istream::sentry::sentry()): Set
5892 failbit if the state of the stream is not good.
5893 * testsuite/27_io/istream_sentry.cc (test02): Add test.
5894 * testsuite/27_io/istream_manip.cc (test01): Modify.
5897 reported by Paolo Carlini <pcarlini@unitus.it>
5898 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
5899 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
5902 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
5903 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
5904 (xsgetn): Same. Simplify.
5905 * testsuite/27_io/streambuf.cc (test04): Add testcases.
5907 reported by Larry Evans <jcampbell3@prodigy.net>
5908 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
5909 equality with eof on returned value from overflow.
5911 2001-01-14 Andreas Jaeger <aj@suse.de>
5913 * libio/libio.h: Add test for glibc 2.0.
5915 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
5917 * config/os/djgpp/bits/*: Fix dates.
5919 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
5920 _CharT* __end, _CharT __c): Remove.
5921 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
5922 * include/bits/char_traits.h: Tweak.
5924 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
5926 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
5927 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
5929 * aclocal.m4: regenerated.
5930 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
5931 * configure: regenerated.
5932 * config/os/djgpp, config/os/djgpp/bits: new directories.
5933 * config/os/djgpp/bits/ctype_base.h,
5934 config/os/djgpp/bits/ctype_inline.h,
5935 config/os/djgpp/bits/ctype_noninline.h,
5936 config/os/djgpp/bits/os_defines.h: new files.
5938 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
5940 * include/c_std/bits/std_cstdio.h: Undef printf.
5942 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
5944 * src/ios.cc: Fix typo: change cout->wcout.
5946 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
5947 * src/Makefile.in: Regenerate.
5949 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5951 * include/bits/std_complex.h: Fix a typo.
5953 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
5956 Fixes for libstdc++/1576
5957 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
5958 file, move contents into....
5959 * src/ios.cc: ...Here. Put defines for iostreams objects and
5960 initialization routines into one file to simplify DSO interaction.
5961 * include/bits/std_iostream.h: Touch.
5962 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
5963 * src/Makefile.am (sources): Remove stdstreams.cc.
5964 * src/Makefile.in: Regenerate.
5966 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5968 * tests_flags.in (check_directory): Fix typo.
5970 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5972 * include/bits/std_complex.h: Fix a typo.
5974 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
5976 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
5977 code path:) Remove magic constants and restructure to handle
5978 ctype.h bit mask layout changes more gracefully. (Make fast
5979 code path:) Use __maskrune (), if available.
5980 (is): Remove special case for digit and xdigit masks.
5982 2001-01-09 Robert Lipe <robertlipe@usa.net>
5984 * include/c_std/bits/std_ctime.h: Undefine difftime.
5986 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
5988 * src/gen-num-limits.cc (signal_adapter): New template function.
5989 (signal_handler): Use it, instead of signal.
5990 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
5991 require both tests to trap to set trap_flag.
5993 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
5995 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
5996 initialize mbstate_t member, name offset data members *off, not pos.
5997 * include/bits/fstream.tcc (filebuf::filebuf): Same.
5999 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
6001 reported by Chris G. Demetriou <cgd@sibyte.com>
6002 * configure.in: Change -linux-* to -linux*.
6003 * configure: Regenerate.
6005 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
6007 Fix 27_io/filebuf_members.cc
6008 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
6009 const string& __name, category __cat, size_t __refs): Set
6010 _M_has_name with _M_name.
6011 * include/bits/localefwd.h (locale::operator!=): Protect member
6012 function call with this->.
6013 * src/locale.cc (locale::operator==): Make fast checks first.
6014 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
6016 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
6018 * src/ios.cc (ios_base::Init::Init): Initialize here.
6019 (ios_base::sync_with_stdio): Set here.
6021 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
6023 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
6024 systems that support it, call dup() before fdopen().
6026 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
6028 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
6029 * testsuite/17_intro/header_cwctype.cc (main): New file.
6031 * src/Makefile.am (base_headers): Change.
6032 * include/bits/std_string.h: And here.
6033 * include/bits/string.tcc: Tweaks, move to...
6034 * include/bits/basic_string.tcc: ...Here.
6035 * src/string-inst.cc: Simplify, just instantiate the whole class,
6036 not member-by-member.
6038 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
6040 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
6041 * aclocal.m4: Regenerate.
6042 * configure: Regenerate.
6044 * include/bits/c++config (__GLIBCPP__): Bump version number.
6046 * ChangeLog: Start new log for year 2001
6047 * ChangeLog-2000: New file.
6049 * docs/html/configopts.html: Make sure default values are current,
6052 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
6054 * include/c_std/bits/std_cwchar.h: Same.
6055 * testsuite/17_intro/header_cwchar.cc: Same.
6056 * include/c_std/bits/std_ctime.h: Same.
6057 * testsuite/17_intro/header_ctime.cc: Same.
6058 * include/c_std/bits/std_cstdlib.h: Same.
6059 Clean up undefs, make consistent with cwchar and cmath, etc.
6060 * testsuite/17_intro/header_cstdlib.cc: Same.
6061 * include/c_std/bits/std_cstdio.h: Same here.
6062 * testsuite/17_intro/header_cstring.cc: Same.
6063 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
6064 * testsuite/17_intro/header_cstring.cc: New file. Check for
6065 size_t in namespace std.
6067 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
6068 * acconfig.h (HAVE_MBSTATE_T): Add.
6069 * config.h.in: Regenerate.
6070 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
6072 * aclocal.m4: Regenerate.
6073 * configure: Regenerate.
6074 * testsuite/17_intro/headers_c++.cc: New file.
6075 * testsuite/17_intro/headers_c.cc: Small changes.
6077 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
6079 * tests_flags.in: Fix typo in usage.
6081 * tests_flags.in: Set target specific LIBS for cygwin.