1 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
3 * include/bits/stl_tree.h (rb_tree): Move to...
4 * include/ext/rb_tree: ...here, new file.
5 * include/Makefile.am (ext_headers): Add new file.
6 * include/Makefile.in: Regenerate.
7 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
8 return_temporary_buffer, struct temporary_buffer): Move to...
9 * include/ext/memory: ...here.
10 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
11 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
12 * include/backward/tree.h: Include <ext/rb_tree), tweak.
14 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
16 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
17 * include/ext/numeric: ...here, new file.
18 * include/bits/stl_function.h (identity_element, unary_compose,
19 binary_compose, compose1, compose2, identity, select1st,
20 select2nd, project1st + helper, project2nd + helper,
21 constant_void_fun + helper, constant_unary_fun + helper,
22 costant_binary_fun + helper, constant0, constant1, constant2,
23 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
24 * include/ext/functional: ...here, new file.
25 * include/Makefile.am (ext_headers): Add new files.
26 * include/Makefile.in: Regenerate.
27 * testsuite/ext/headers.cc: Include <ext/numeric> and
29 * include/backward/algo.h: Include <ext/numeric>, tweak.
30 * include/backward/function.h: Include <ext/functional>, tweak.
31 * include/ext/ropeimpl.h: Include <ext/numeric>.
33 Thu Jan 3 11:05:41 2002 Jeffrey A Law (law@redhat.com)
35 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
36 __strtoull declarations with __extension__.
38 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
40 * testsuite/lib/prune.exp: Correct regular expression for
43 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
45 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
46 Change concept checks, as with lower_bound and PR 2054.
47 * testsuite/ext/concept_checks.cc: Expand test to include those.
49 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
51 * include/bits/boost_concept_check.h: Import some changes from
52 upsteam (Boost) version.
54 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
56 * include/bits/stl_algobase.h (copy_n + helpers,
57 lexicographical_compare_3way + helpers): Move to...
58 * include/ext/algorithm: ...here.
59 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
61 * include/ext/memory: ...here, new file.
62 * include/Makefile.am (ext_headers): Add new file.
63 * include/Makefile.in: Regenerate.
64 * testsuite/ext/headers.cc: Include <ext/memory>.
65 * include/backward/algobase.h: Include <ext/memory> and
66 <ext/algorithm>, tweak.
67 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
68 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
70 2002-01-01 Roger Sayle <roger@eyesopen.com>
72 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
73 equivalent ___builtin__ versions.
75 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
76 are available in libstdc++ as the necessary stub implementations
77 are provided by libmath/stubs.c.
79 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
81 * configure.in: Add support for NetBSD cross compiles.
82 * configure: Regenerate.
84 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
86 * include/ext/iterator: Add #include <bits/std_iterator.h>, tweak.
87 * testsuite/ext/headers.cc: Add <ext/iterator>.
89 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
91 * include/backward/algo.h: Add two more using declarations.
92 * include/backward/iterator.h: Include <ext/iterator>,
93 add using declaration.
94 * include/ext/algorithm: Add #pragma GCC system_header.
96 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
98 * include/bits/stl_bvector.h: Change calls to 3-argument distance()
99 into standard 2-argument version.
100 * include/bits/stl_deque.h: Likewise.
101 * include/bits/stl_tempbuf.h: Likewise.
102 * include/bits/stl_tree.h: Likewise.
103 * include/bits/stl_vector.h: Likewise.
104 * include/ext/stl_hashtable.h: Likewise.
105 * include/bits/stl_iterator_base_funcs.h: Move distance() extension...
106 * include/ext/iterator: to here. New file.
107 * include/Makefile.am (ext_headers): Add new file, alphabatize.
108 * include/Makefile.in: Regenerate.
110 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
112 * include/bits/stl_deque.h: Doxygenate with initial/example hooks.
113 Clean up spacing and indentation.
115 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
117 * include/ext/slist: Move into __gnu_cxx,
118 tweak, add using declarations.
120 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
122 * include/ext/hash_map: Move into __gnu_cxx,
123 tweak, add using declarations.
124 * include/ext/hash_set: Ditto.
125 * include/ext/ropeimpl.h: Ditto.
126 * include/ext/stl_hash_fun.h: Ditto.
127 * include/ext/stl_hashtable.h: Ditto.
128 * include/ext/stl_rope.h: Ditto.
129 * src/ext-inst.cc: Tweak.
130 * testsuite/ext/rope.cc: Tweak.
132 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
134 * include/backward/algo.h: Include <ext/algorithm>,
135 tweak using declarations.
137 2001-12-29 Richard Henderson <rth@redhat.com>
139 * config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits.
140 * config/os/hpux/bits/cpu_limits.h: New file.
141 * configure.target (CPULIMITSH): Use it.
143 2001-12-28 Richard Henderson <rth@redhat.com>
145 * config/cpu/ia64/bits/cpu_limits.h: New file.
146 * config/os/osf/osf5.0/bits/cpu_limits.h: New file.
147 * configure.target (CPULIMITSH): Use them.
149 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
151 * include/bits/c++config: Move doxygen hook comment...
152 * docs/doxygen/doxygroups.cc: ...to here.
154 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
157 * include/bits/stl_algo.h (lower_bound): Relax concept checks.
158 * testsuite/ext/concept_checks.cc: New file.
160 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
162 * include/bits/stl_algo.h (count returning void,
163 count_if returning void, __random_sample, random_sample,
164 random_sample_n, __is_heap, is_heap, is_sorted): Move to...
165 * include/ext/algorithm: ...here, new file.
166 * include/Makefile.am (ext_headers): Add new file.
167 * include/Makefile.in: Regenerate.
168 * testsuite/ext/headers.cc: Include <ext/algorithm>.
170 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
171 Nathan Myers <ncm@cantrip.org>
173 * include/bits/basic_string.h (insert(__pos, __s, __n)):
174 Optimize by avoiding temporaries and working in-place when possible.
175 (insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n).
176 (insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n).
177 * testsuite/21_strings/insert.cc (test02): New testcases.
179 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
181 * testsuite/testsuite_hooks.h (gnu_counting_struct): Add.
182 * testsuite/23_containers/deque_ctor.cc: New file.
184 2001-12-27 Paolo Carlini <pcarlini@unitus.it>
186 * include/bits/locale_facets.tcc (collate::do_transform):
187 Adjust implicit typename.
188 * config/locale/messages_members_generic.h (messages::open,
189 messages::do_open, messages::do_get): Adjust implicit typename.
190 * config/locale/messages_members_gnu.h (messages::open,
191 messages::do_open, messages::do_get): Adjust Implicit typename.
192 * config/locale/messages_members_ieee_1003.1-200x.h (messages::open,
193 messages::do_open, messages::do_get): Adjust implicit typename.
195 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
198 * src/misc-inst.cc: Many additional I/O-related instantiations.
199 * testsuite/27_io/instantiations.cc: New file.
201 2001-12-26 Benjamin Kosnik <bkoz@waller.constant.com>
203 * testsuite/24_iterators/insert_iterator.cc (test02): Add.
204 * testsuite/24_iterators/front_insert_iterator.cc (test02): Add.
205 * testsuite/24_iterators/back_insert_iterator.cc (test02): Add.
206 * testsuite/24_iterators/reverse_iterator.cc (test02): Add.
208 * include/bits/stl_iterator.h (reverse_iterator): Uglify member
209 current to _M_current.
210 (back_insert_iterator): Uglify member container to _M_container.
211 (front_insert_iterator): Same.
212 (insert_iterator): Same.
214 2001-12-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
216 * include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New
217 macros for signed types; default value is true.
218 (numeric_limits<>::is_modulo): Get value from corresponding
219 __glibcpp_xxx_is_modulo macro.
221 2001-12-23 Jeffrey A Law <law@redhat.com>
223 * config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>.
224 Twiddle return types for strtoll and strtoull to avoid using
225 intmax_t and uintmax-t.
227 2001-12-22 Richard Henderson <rth@redhat.com>
229 * configure.target (CPULIMITSH): Fix typo in alpha case.
231 2001-12-22 Jeffrey A Law <law@redhat.com>
233 * config/os/hpux/bits/os_defines.h: Update to avoid #defines
234 for strtoll and strtoull.
236 2001-12-21 Jeffrey A Law <law@redhat.com>
238 * config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
239 Define strtoll and strtoull. Provide prototypes for
240 __strtoll and __strtoull. Define _GLIBCPP_USE_LONG_LONG
243 * src/locale-inst.cc: Include <bits/std_cstdlib.h>
245 * configure.target: Fix typo in hpux case.
247 2001-12-21 Paolo Carlini <pcarlini@unitus.it>
249 * include/ext/stl_rope.h (_Rope_iterator):
250 Add local typedef to fix implicit typename problems.
252 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
254 * docs/doxygen/Intro.3: New 'Allocators' module.
255 * docs/doxygen/TODO: Update.
256 * docs/doxygen/doxygroups.cc: Update.
257 * docs/doxygen/run_doxygen: Update.
259 * include/bits/stl_alloc.h: Tweak doxygen hooks in comments.
260 * include/bits/std_memory.h: Doxygenate.
261 * include/bits/stl_iterator_base_types.h: Likewise.
262 * include/bits/stl_raw_storage_iter.h: Likewise.
263 * include/bits/stl_tempbuf.h: Likewise.
264 (get_temporary_buffer): Remove unused nonstandard overload.
265 * include/bits/stl_uninitialized.h: Likewise.
267 * include/bits/stl_iterator_base_types.h (input_iterator,
268 output_iterator, forward_iterator, bidirectional_iterator,
269 random_access_iterator): Move old names...
270 * include/backward/iterator.h: ...to here.
271 * include/bits/stl_bvector.h: Update.
272 * include/ext/stl_rope.h: Update.
274 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
276 * docs/html/configopts.html: Describe recent options.
277 * docs/html/documentation.html: Point to new doxygen tarballs.
278 * docs/html/install.html: Brief updates.
279 * docs/html/17_intro/RELEASE-NOTES: Remove weird control character.
280 * docs/html/ext/howto.html: Fix typos, describe filebuf::fd().
281 * docs/html/faq/index.html: Update for 3.0.95.
282 * docs/html/faq/index.txt: Regenerate.
284 2001-12-19 David Billinghurst <David.Billinghurst@riotinto.com>
287 * testsuite/lib/libstdc++-v3-dg.exp: Append .exe to
290 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
292 * docs/html/17_intro/TODO: Update.
293 * docs/html/17_intro/RELEASE-NOTES: Edits, update.
294 * README: Edit for clarity, update to reflect current directory
297 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
299 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
301 * aclocal.m4: Rebuild.
302 * configure: Rebuild.
304 2001-12-18 Paolo Carlini <pcarlini@unitus.it>
305 Nathan Myers <ncm@cantrip.org>
307 * include/bits/basic_string.h (assign(__str, __pos, __n)):
308 Call assign(__s, __n).
309 (assign(__s, __n)): Terminate the string with _S_terminal.
311 2001-12-17 Benjamin Kosnik <bkoz@redhat.com>
313 * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
314 Set to true, like float and double.
316 2001-12-17 David Billinghurst <David.Billinghurst@riotinto.com>
319 * testsuite/lib/prune.exp: New file
320 * testsuite/lib/libstdc++-v3-dg.exp: Use it
322 2001-12-17 Phil Edwards <pme@gcc.gnu.org>
324 * include/bits/basic_file.h (__basic_file::fd): New function.
325 * config/io/basic_file_stdio.h (__basic_file::fd): Define.
326 * include/bits/std_fstream.h (basic_filebuf::fd): New function.
327 * include/bits/fstream.tcc (basic_filebuf::fd): Define.
328 * testsuite/27_io/filebuf_members.cc (test_02): New test.
330 2001-12-16 Nathan Sidwell <nathan@codesourcery.com>
332 * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
333 * po/Makefile.in: Regenerated.
335 2001-12-16 Paolo Carlini <pcarlini@unitus.it>
337 * testsuite/21_strings/assign.cc (test01): Add tests.
339 2001-12-15 Paolo Carlini <pcarlini@unitus.it>
340 Nathan Myers <ncm@cantrip.org>
342 * include/bits/basic_string.h
343 (assign(__str, __pos, __n), assign(__s, __n)): Optimize
344 by avoiding unnecessary temporaries.
345 (assign(__s)): Call assign(__s, __n).
346 * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
347 * include/bits/std_string.h: include stl_function.h.
348 * testsuite/21_strings/assign.cc (test02, test03): New tests.
350 2001-12-15 Benjamin Kosnik <bkoz@redhat.com>
352 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
354 * aclocal.m4: Regenerate.
355 * configure: Regenerate.
357 2001-12-14 Benjamin Kosnik <bkoz@redhat.com>
359 Clean up initialization and simplfy caching of underlying "C"
360 default locale objects.
361 * src/localename.cc (locale::_Impl::_Impl(string, size_t):
362 Unconditionally create __clocale object for all named locales,
363 including "C" and "POSIX".
364 * config/locale/c_locale_generic.cc
365 (locale::facet::_S_create_c_locale): Always set __cloc to zero.
366 * config/locale/c_locale_gnu.cc: Always delete.
367 * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
368 * src/locale.cc (locale::classic()): Initialize
369 locale::facet::_S_c_locale.
370 (locale::facet::_S_c_locale): Define.
372 * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
374 * src/locale.cc: Add definition here.
375 * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
376 * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
377 * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
379 (ctype<char>::_M_toupper): Remove const&.
380 (ctype<char>::_M_tolower): Remove const&.
381 (ctype<char>::_M_ctable): Remove const&.
383 * include/bits/locale_facets.h (collate): Clean up initialization
384 of _M_c_locale_collate in ctors and dtors.
385 * config/locale/collate_members_gnu.cc: Always use extended
388 * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
389 (messages_byname): Same.
390 * config/locale/messages_members_generic.h (messages::~messages):
392 * config/locale/messages_members_gnu.h: Same.
394 * include/bits/localefwd.h: Clean. Move dtor definitions to
395 * src/locale.cc: Here.
396 * testsuite/22_locale/facet.cc: Fix spelling.
398 Named locale support for ctype<wchar_t>.
399 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
400 ctype_members_* bits.
401 * aclocal.m4: Regenerate.
402 * configure: Regenerate.
403 * src/Makefile.am (sources): Add ctype.cc.
404 * src/Makefile.in: Regenerate.
405 * config/locale/ctype_members_generic.cc: New file.
406 * config/locale/ctype_members_gnu.cc: New file.
407 * src/locale.cc: Remove ctype<wchart_t> definitions.
409 2001-12-13 Roger Sayle <roger@eyesopen.com>
411 * acconfig.h: Test for __builtin_sqrt instead of
413 * acinclude.m4: Same.
414 * include/c_shadow/bits/std_cmath.h: Same.
415 * aclocal.m4: Regenerated.
416 * config.h.in: Regenerated.
417 * configure: Regenerated.
419 2001-12-13 Phil Edwards <pme@gcc.gnu.org>
421 * docs/html/ext/howto.html: Fix typos.
423 2001-12-13 Benjamin Kosnik <bkoz@redhat.com>
426 * src/locale.cc (locale::locale(const char*)): Deal with locales
428 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
430 2001-12-12 Paolo Carlini <pcarlini@unitus.it>
432 * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
433 _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
434 _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
435 : Adjust implicit typename.
436 * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
437 Adjust implicit typename.
438 * testsuite/27_io/streambuf.cc: Adjust implicit typename.
440 2001-12-12 Benjamin Kosnik <bkoz@redhat.com>
442 Named locale support for ctype<char>.
443 * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
444 * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
445 definitions for alternate constructor.
446 * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
447 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
448 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
449 * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
450 * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
451 * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
452 * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
453 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
454 * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
455 * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
456 * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
457 * config/os/aix/bits/ctype_noninline.h (ctype): Same.
458 * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
459 definitions for all virtual functions. These are now explicitly
460 undefined for non-required factets, ie any non-char, non-wchar_t
462 * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
463 locales use alternate constructor for ctype facet.
464 * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
465 mask*, bool, size_t): Add.
466 (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
467 * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
470 * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
471 XFAIL for non-gnu locale models.
473 2001-12-12 Philip Martin <philip@codematters.co.uk>
474 Ross Smith <r-smith@ihug.co.nz>
475 Paolo Carlini <pcarlini@unitus.it>
478 * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
479 Fix digits10 values for integral types.
480 * include/bits/locale_facets.tcc (num_get::do_get for integral types):
481 Tweak _M_extract_int call.
482 * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
483 Tweak overflowing number of digits.
484 * testsuite/18_support/numeric_limits.cc (test03): New testcase.
486 2001-12-11 Benjamin Kosnik <bkoz@redhat.com>
488 * config/os/generic/bits/ctype_inline.h: Remove spaces.
489 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
490 * include/bits/locale_facets.h (__num_base): Move double data
491 members to first in class.
492 * include/bits/locale_facets.tcc: Re-arrange, tweak.
493 * src/locale.cc: Clean.
494 *include/bits/stl_vector.h: Space typedefs.
496 2001-12-11 Phil Edwards <pme@gcc.gnu.org>
498 * testsuite/ext/allocators.cc: New file.
500 2001-12-11 Jason Merrill <jason@redhat.com>
502 * include/bits/locale_facets.tcc (_M_extract_int): Avoid
503 uninitialized warning.
505 2001-12-11 Loren Rittle <ljrittle@acm.org>
507 * config/cpu/sparc/sparc32/bits/atomicity.h
508 (__Atomicity_lock<0>::_S_atomicity_lock): Add.
510 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
512 * include/bits/basic_string.tcc (_M_replace_safe): Fix typos.
513 * include/bits/basic_string.h: Fix typos.
515 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
516 Nathan Myers <ncm@cantrip.org>
518 * include/bits/basic_string.tcc (_M_replace_safe): New function.
519 (_M_replace(input_iterator_tag), append members): Use it.
520 (_M_replace(forward_iterator_tag)): Remove.
521 * include/bits/basic_string.h: Adjust declarations.
522 * src/string-inst.cc: Adjust declarations.
524 2001-12-09 Benjamin Kosnik <bkoz@redhat.com>
525 Philip Martin <pmartin@uklinux.net>
527 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
528 (__num_base::_S_scale_oct): Add.
529 * include/bits/locale_facets.tcc (_M_extract_int): Use them.
530 * src/locale.cc: Add definitions.
531 * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
533 * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
535 2001-12-07 Nathan Myers <ncm@cantrip.org>
536 Loren Rittle <ljrittle@acm.org>
539 * config/cpu/sparc/sparc32/bits/atomicity.h
540 (struct __Atomicity_lock<__inst>): Add.
541 (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
542 (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
543 instead of lock local to static function.
544 (__atomic_add): Likewise.
546 2001-12-07 Phil Edwards <pme@gcc.gnu.org>
548 * src/globals.cc: Remove __GTHREADS guard.
550 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
552 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
553 Extend comment, reduce __cs_size for non-fixed outputs.
555 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
557 * include/bits/basic_string.tcc (_M_mutate): Fix typo
558 in the previous check in.
560 2001-12-06 Paolo Carlini <pcarlini@unitus.it>
561 Loren J. Rittle <ljrittle@acm.org>
563 * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
564 exponential growth policy to meet linear amortized time
565 requirements of the standard.
566 (_S_create): Adjust comment.
568 2001-12-06 Benjamin Kosnik <bkoz@redhat.com>
571 * include/bits/locale_facets.tcc (num_put): Clean.
572 (num_get::_M_extract_float): Change argument to string.
573 (num_get::do_get(float)): Fixup.
574 (num_get::do_get(double)): Same.
575 (num_get::do_get(long double)): Same.
576 (num_get::_M_extract_int): Add maximum length parameter, __max.
577 (num_get::_M_extract_float): Correct zeros, use string.
578 * include/bits/locale_facets.h (num_get::_M_extract_float): Change
580 * src/locale.cc (__num_base::_S_atoms): Remove x, X.
581 * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
583 2001-12-06 Philip Martin <pmartin@uklinux.net>
585 * testsuite/27_io/istream_extractor_arith.cc (test12): Add
586 tests for excess input digits.
588 2001-12-06 Phil Edwards <pme@gcc.gnu.org>
590 * include/bits/std_bitset.h: Use GLIBCPP in multiple-inclusion guard.
591 * include/bits/stl_algo.h: Likewise.
592 * include/bits/stl_algobase.h: Likewise.
593 * include/bits/stl_bvector.h: Likewise.
594 * include/bits/stl_deque.h: Likewise.
595 * include/bits/stl_function.h: Likewise.
596 * include/bits/stl_iterator.h: Likewise.
597 * include/bits/stl_iterator_base_funcs.h: Likewise.
598 * include/bits/stl_iterator_base_types.h: Likewise.
599 * include/bits/stl_list.h: Likewise.
600 * include/bits/stl_multimap.h: Likewise.
601 * include/bits/stl_multiset.h: Likewise.
602 * include/bits/stl_pair.h: Likewise.
603 * include/bits/stl_queue.h: Likewise.
604 * include/bits/stl_set.h: Likewise.
605 * include/bits/stl_stack.h: Likewise.
606 * include/bits/stl_tempbuf.h: Likewise.
607 * include/bits/stl_tree.h: Likewise.
608 * include/bits/stl_vector.h: Likewise.
610 * include/bits/stl_alloc.h: Use our own multiple inclusion guards.
611 Doxygenate more comments. Correct historical artifacts in comments.
612 (alloc, single_alloc): Uglify non-standard names.
613 (__default_alloc_template::_NFREELISTS): Calculate from other
615 (__default_alloc_template::_S_free_list): Remove SunPro workaround.
616 (__default_alloc_template::_Lock): Mark as "unused".
617 * include/backward/alloc.h: Update.
618 * include/bits/stl_bvector.h: Likewise.
619 * include/ext/ropeimpl.h: Likewise.
620 * include/ext/stl_hashtable.h: Likewise.
622 2001-12-05 Benjamin Kosnik <bkoz@redhat.com>
625 * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
626 grouping to floating point types.
627 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
629 2001-12-04 Paolo Carlini <pcarlini@unitus.it>
632 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
634 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
635 Deal properly with long ios_base::fixed floats.
636 (num_put::_M_widen_float): use
637 __len in __builtin_alloca call.
639 2001-12-04 Benjamin Kosnik <bkoz@redhat.com>
641 * src/Makefile.am (sources): Add ext-inst.cc.
642 * src/Makefile.in: Regenerate.
643 * src/ext-inst.cc: New file.
644 * include/bits/stl_threads.h: Format.
645 * src/globals.cc: Add instantiation for _S_swap_lock.
647 * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
650 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
652 * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
653 and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
654 * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
655 for explicit instantiation of class std::basic_string<char,
656 gnu_char_traits, std::allocator<char> >.
658 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
660 * testsuite/22_locale/collate.cc: Compile-only.
661 * testsuite/22_locale/time_get.cc: Same.
662 * testsuite/22_locale/time_put.cc: Same.
663 * testsuite/22_locale/numpunct.cc: Same.
664 * testsuite/22_locale/num_put.cc: Same.
665 * testsuite/22_locale/num_get.cc: Same.
666 * testsuite/22_locale/moneypunct.cc: Same.
667 * testsuite/22_locale/money_get.cc: Same.
668 * testsuite/22_locale/messages.cc: Same.
669 * testsuite/22_locale/ctype.cc: Same.
671 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
673 * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
674 member instantiations.
676 2001-12-03 Steve Ellcey <sje@cup.hp.com>
678 * libstdc++-v3/configure.in: Add support for hpux cross compiles,
679 combine common linux/hpux/generic cross compile support to reduce
681 * libstdc++-v3/configure: Regenerate.
683 2001-12-03 Loren J. Rittle <ljrittle@acm.org>
685 * docs/html/ext/howto.html: Update commentary.
686 * include/bits/c++config: Update threading configuration comment.
687 (__STL_GTHREADS): Remove macro definition.
688 (__STL_THREADS): Likewise.
689 * include/bits/stl_threads.h: Leave only the configuration
690 path which had been guarded by __STL_GTHREADS. Remove all
691 guards related to __STL_GTHREADS, __STL_SGI_THREADS,
692 __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
693 * include/bits/stl_alloc.h: Leave only the configuration path
694 which had been guarded by __STL_THREADS. Remove configuration
695 path and guards for __STL_SGI_THREADS.
696 (__NODE_ALLOCATOR_THREADS): Remove macro definition. Unroll its use.
697 (__NODE_ALLOCATOR_LOCK): Likewise.
698 (__NODE_ALLOCATOR_UNLOCK): Likewise.
699 (_NOTHREADS): Remove guards related to macro.
700 * include/ext/stl_rope.h: Remove configuration path and guards
701 for __STL_SGI_THREADS.
702 * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
704 2001-12-02 Phil Edwards <pme@gcc.gnu.org>
706 * docs/html/ext/howto.html: Update list of implemented DRs.
707 * docs/html/ext/lwg-active.html: Import R20 from upstream.
708 * docs/html/ext/lwg-defects.html: Import R20 from upstream.
710 2001-11-30 Benjamin Kosnik <bkoz@redhat.com>
714 * libsupc++/exception (bad_exception::~bad_exception()): Remove
716 * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
717 * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
718 (bad_typeid::~bad_typeid()): Remove.
719 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
720 (bad_typeid::~bad_typeid()): Same.
721 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
722 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
724 * include/bits/std_iomanip.h: Tweak.
726 2001-11-29 Paolo Carlini <pcarlini@unitus.it>
729 * include/bits/locale_facets.tcc (__pad): Add bool parameter to
730 correctly pad internal-adjusted const char*-type objects.
731 * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
732 * include/bits/ostream.tcc (operator<<(_CharT , char, const
733 _CharT*, const char*, const basic_string&): Update calls.
734 * src/locale-inst.tcc: Update declarations.
735 * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
737 2001-11-29 Phil Edwards <pme@gcc.gnu.org>
739 * docs/html/ext/howto.html: Finish allocator notes (inst and 3.0).
741 2001-11-29 Benjamin Kosnik <bkoz@redhat.com>
743 * include/bits/locale_facets.tcc (num_get::do_get(long double)):
744 Fix __traits_type typo.
746 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
748 * include/bits/locale_facets.tcc (__pad): Correctly pad
749 internal-adjusted hex numbers.
750 * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
752 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
753 Loren J. Rittle <ljrittle@acm.org>
755 * include/bits/basic_string.h
756 (basic_string::_Rep::__default_excess, _S_excess_slop):
758 * include/bits/basic_string.tcc: Remove dead code.
759 * include/bits/c++config: Remove comment.
761 2001-11-28 Benjamin Kosnik <bkoz@redhat.com>
762 Jakub Jelinek <jakub@redhat.com>
764 * config/locale/moneypunct_members_gnu.cc
765 (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
767 * config/locale/numpunct_members_gnu.cc
768 (numpunct<wchar_t>::_M_initialize_numpunct): Same.
770 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
772 * include/bits/locale_facets.tcc: Formatting tweaks.
774 * testsuite/23_containers/map_operators.cc: Don't xfail.
775 * testsuite/23_containers/set_operators.cc: Same.
776 * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
777 * testsuite/backward/header_deque_h.cc: Same.
779 2001-11-27 Loren J. Rittle <ljrittle@acm.org>
780 Paolo Carlini <pcarlini@unitus.it>
782 * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
783 Enforce allocation size blocking policy to reduce
784 fragmentation and enhance performance with common malloc
787 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
789 Numeric facets cleanup.
790 * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
792 (__num_base::_M_zero): Add
793 (__num_base::_M_e): Add.
794 (__num_base::_M_E): Add.
795 * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
796 (num_get::_M_extract_float): New.
797 (num_get::_M_extract_int): New.
798 * src/locale.cc (num_get::_M_extract): Remove.
800 * include/bits/locale_facets.tcc (num_put::_M_insert_float):
801 Simplify, use _M_insert.
802 (num_put::do_put(bool)): Simplify, remove __pad.
804 (__pad_output): Change to __pad.
805 * include/bits/ostream.tcc: And here.
806 * src/locale-inst: Remove instantiations.
808 * include/bits/locale_facets.h: Move helper functions in to class
810 (num_put::_M_insert_float): Same, for __output_integer.
811 (num_put::_M_insert_int): Same, for __output_float.
812 (num_put::_M_insert): New.
814 (__num_base::_S_format_float): Move
815 __build_float_format into class __num_base.
816 (__num_base::_S_format_int): Move __build_int_format into class
818 * include/bits/locale_facets.tcc (__group_digits): Change to
819 (__add_grouping): This.
820 * src/locale-inst.cc: And here. Tweak instantiations.
821 * src/misc-inst.cc: Remove instantiations.
823 * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
824 for new calling conventions, move to...
825 * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
826 signature to make it useful for both ostream and num_put.
827 (__pad_numeric): Remove.
828 * src/misc-inst.cc: Remove instantiations.
829 * src/locale-inst.cc: Same.
831 * include/bits/locale_facets.h (_Numeric_get): Remove.
832 (_Numeric_put): Remove.
833 (num_get::get(short)): Remove.
834 (num_get::get(int)): Remove.
835 (num_get::do_get(short)): Remove.
836 (num_get::do_get(int)): Remove.
837 * include/bits/istream.tcc (istream::operator>>(short)): Fix as
839 (istream::operator>>(int)): Same.
841 * include/bits/locale_facets.h (_Format_cache): Remove.
842 * include/bits/locale_facets.tcc: Same.
843 * src/locale.cc: Same.
844 * src/locale-inst.cc: Same.
845 * include/bits/ostream.tcc: Same.
846 * src/ios.cc (ios_base::imbue): Remove here as well.
848 * testsuite/22_locale/num_get.cc: New file.
849 * testsuite/22_locale/num_get_members_char.cc: New file.
850 * testsuite/22_locale/num_get_members_wchar_t.cc: New.
851 * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
852 * testsuite/22_locale/num_put.cc: New file.
853 * testsuite/22_locale/num_put_members_char.cc: New file.
854 * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
855 * testsuite/27_io/ostream_inserter_arith.cc: Fix.
856 * testsuite/27_io/istream_extractor_arith.cc: Fix.
858 2001-11-27 Phil Edwards <pme@gcc.gnu.org>
860 * docs/html/explanations.html: New section, empty for now.
861 * docs/html/17_intro/howto.html: Cleanup. Move unrelated link...
862 * docs/html/23_containers/howto.html: ...to here. Break up and
863 rewrap threading discussion to emphasize warning. Move malloc text...
864 * docs/html/ext/howto.html: ...to here. New section. Describe
865 allocators and __USE_MALLOC effects.
866 * docs/html/ext/sgiexts.html: Mention their code.
868 2001-11-24 Joseph S. Myers <jsm28@cam.ac.uk>
870 * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
871 docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
874 2001-11-23 Phil Edwards <pme@gcc.gnu.org>
876 * Makefile.am (doxygen-maint): The script isn't executable in CVS.
877 * Makefile.in: Regenerated.
878 * docs/doxygen/TODO: New file listing doxygen work to be done.
879 * docs/doxygen/run_doxygen: Fix up man pages.
880 * docs/doxygen/user.cfg.in: Insert maint-only toggles.
881 * docs/doxygen/maint.cfg.in: Copy from user.cfg and turn toggles on.
882 * include/bits/stl_construct.h: Use new hooks for internal functions.
884 * docs/html/17_intro/TODO: Small updates.
885 * docs/html/faq/index.html: Likewise.
886 * docs/html/faq/index.txt: Regenerated.
888 * include/bits/stl_alloc.h: Doxygenate, reindent comments, remove
889 SGI-isms and wrappers.
890 (simple_alloc, debug_alloc): Uglify class names.
891 (__default_alloc_template): Uglify "threads" template parameter and
892 update corresponding macros.
893 * include/backward/alloc.h: Bring up to date.
895 2001-11-23 Jason Merrill <jason@redhat.com>
897 * src/vterminate.cc (__verbose_terminate_handler): Add leading
900 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
902 * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
903 docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
904 docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
905 docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
906 docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
907 docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
908 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
909 docs/html/21_strings/howto.html,
910 docs/html/23_containers/howto.html,
911 docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
912 docs/html/27_io/binary_iostreams_kuehl.txt,
913 docs/html/ext/sgiexts.html, docs/html/faq/index.html,
914 docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
915 include/bits/basic_file.h, include/bits/locale_facets.h,
916 include/bits/locale_facets.tcc, include/bits/std_sstream.h,
917 include/ext/ropeimpl.h, include/ext/stl_rope.h,
918 libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
919 libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
920 configure.target, ChangeLog-2000: Fix spelling errors.
922 * config/locale/moneypunct_members_gnu.cc,
923 include/bits/locale_facets.h: Fix spelling errors.
925 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
927 * testsuite/23_containers/list_capacity.cc: New file.
928 * testsuite/23_containers/list_ctor.cc: New file.
929 * testsuite/23_containers/list_modifiers.cc: New file.
930 * testsuite/23_containers/list_operators.cc: New file.
932 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
934 * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
935 (size): Replaced nonstandard distance() call with the standard one.
936 (transfer): Uglified to _M_transfer.
938 2001-11-21 Paolo Carlini <pcarlini@unitus.it>
941 * include/bits/basic_string.tcc (basic_string::reserve): Never shrink
942 below the current size.
943 * testsuite/21_strings/capacity.cc (test02): Add test.
945 2001-11-19 Phil Edwards <pme@gcc.gnu.org>
947 * docs/doxygen/Intro.3: More notes.
948 * docs/doxygen/style.css: Update to default style from Doxygen 1.2.10.
949 * include/bits/stl_algobase.h: Add doxygen hooks for functions.
950 * include/ext/hash_map: Add @file hook.
951 * include/ext/hash_set: Likewise.
952 * include/ext/rope: Likewise.
953 * include/ext/ropeimpl.h: Likewise.
954 * include/ext/slist: Likewise.
955 * include/ext/stl_hash_fun.h: Likewise.
956 * include/ext/stl_hashtable.h: Likewise.
957 * include/ext/stl_rope.h: Likewise.
959 * docs/html/17_intro/license.html: Remove "experimental" sentence.
960 * docs/html/19_diagnostics/howto.html: Document new verbose
962 * testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
963 to more visible (closer to description) position.
965 * libsupc++/eh_type.cc: Formatting tweak.
966 * libsupc++/exception: Likewise.
967 * src/vterminate.cc: Likewise.
969 * docs/html/17_intro/porting.html: Regenerate.
970 * docs/html/faq/index.txt: Regenerate.
972 2001-11-18 Jason Merrill <jason@redhat.com>
974 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
975 * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
976 * libsupc++/unwind-cxx.h: Adjust.
977 * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
979 * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
980 * libsupc++/cxxabi.h: Declare it.
981 * libsupc++/Makefile.am (sources): Add it.
982 * src/vterminate.cc (verbose_terminate_handler): New file.
983 * libsupc++/exception: Declare it.
984 * src/Makefile.am (sources): Add it.
986 * src/Makefile.am (VPATH): Check the src directory before the top one.
988 2001-11-16 Paolo Carlini <pcarlini@unitus.it>
990 * include/bits/stl_deque.h (deque::erase()): Fix memory leak.
992 2001-11-16 Loren J. Rittle <ljrittle@acm.org>
994 * docs/html/17_intro/howto.html (Thread-safety): Rename
995 section to ``The Standard C++ library and multithreading'' and
996 update information based on recent mailing list traffic. Move
997 all discussion of __USE_MALLOC to...
998 * docs/html/23_containers/howto.html (Containers and multithreading):
999 ...here and rework it based on recent mailing list traffic.
1001 2001-11-15 Loren J. Rittle <ljrittle@acm.org>
1003 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
1006 2001-11-15 <bjornw@planetarion.com>
1007 Loren J. Rittle <ljrittle@acm.org>
1010 * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
1011 (single_client_alloc): Likewise.
1013 2001-11-08 Danny Smith <dannysmith@users.sourceforge.net>
1015 * configure.target: Add os_include_dir for mingw32* target.
1016 * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
1017 from _GLIBCPP_AVOID_FSEEK.
1018 * config/os/mingw32/bits/ctype_base.h: New file.
1019 * config/os/mingw32/bits/ctype_inline.h: New file.
1020 * config/os/mingw32/bits/ctype_noninline.h: New file.
1021 * config/os/mingw32/bits/os_defines.h: New file.
1023 2001-11-07 Nathan Myers <ncm@cantrip.org>
1025 * docs/html/faq/index.html (5.8): New entry on ABIs.
1026 * docs/html/faq/index.txt: Regenerate.
1028 2001-11-07 Phil Edwards <pme@gcc.gnu.org>
1030 * docs/html/faq/index.html: Explain libsupc++, mention 'long long'
1031 bugfixes on Solaris.
1032 * docs/html/faq/index.txt: Regenerate.
1034 2001-11-06 Phil Edwards <pme@gcc.gnu.org>
1036 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
1037 LANG_CPLUSPLUS mode.
1038 * aclocal.m4: Regenerate.
1039 * configure: Regenerate.
1041 2001-11-05 Phil Edwards <pme@gcc.gnu.org>
1043 * porting.texi: Move...
1044 * docs/html/17_intro/porting.texi: ...to here.
1045 * docs/html/Makefile: Add rule to rebuild...
1046 * docs/html/17_intro/porting.html: ...this. New file.
1048 2001-11-05 Felix Natter <fnatter@gmx.net>
1050 * docs/html/17_intro/porting-howto.xml: check in v0.9.4
1051 * docs/html/17_intro/porting-howto.html: regenerate
1053 2001-11-02 Loren J. Rittle <ljrittle@acm.org>
1055 * include/bits/stl_threads.h (_Atomic_swap): Only enable path
1056 when platform supports __GTHREAD_MUTEX_INIT.
1058 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1060 * acconfig.h: Update comments.
1061 * acinclude.m4 (GLIBCPP_ENABLE_C99): Move strtoll, strtoull tests...
1062 (GLIBCPP_ENABLE_LONG_LONG): ...to here. Don't check enable_c99.
1063 * aclocal.m4: Regenerate.
1064 * config.h.in: Regenerate.
1065 * configure: Regenerate.
1067 * include/bits/boost_concept_check.h: Unconditionally compile uses
1068 of 'long long' which require only compiler support, not C lib support.
1069 * include/bits/cpp_type_traits.h: Likewise.
1070 * include/bits/std_limits.h: Likewise.
1071 * include/bits/type_traits.h: Likewise.
1072 * src/concept-inst.cc: Likewise.
1073 * src/limits.cc: Likewise.
1074 * include/c_shadow/stdlib.h: Compile conditionally on _GLIBCPP_USE_C99
1075 instead of _GLIBCPP_USE_LONG_LONG.
1076 * include/c_shadow/bits/std_cstdlib.h: Likewise.
1078 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1080 * config/io/c_io_stdio.h: Correct grammar in comments.
1081 * docs/doxygen/Intro.3: Expand "top-level" man page.
1082 * docs/doxygen/doxygroups.cc: New module definitions (comments).
1083 * docs/doxygen/mainpage.doxy: Tweaks.
1084 * docs/doxygen/run_doxygen: Update Doxygen version, massage man pages.
1086 Add @file hooks so that headers are considered to be documented.
1087 * include/bits/basic_ios.h, include/bits/basic_file.h,
1088 include/bits/basic_string.h, include/bits/boost_concept_check.h,
1089 include/bits/char_traits.h, include/bits/codecvt.h,
1090 include/bits/concept_check.h, include/bits/cpp_type_traits.h,
1091 include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
1092 include/bits/indirect_array.h, include/bits/ios_base.h,
1093 include/bits/locale_facets.h, include/bits/localefwd.h,
1094 include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
1095 include/bits/slice.h, include/bits/slice_array.h,
1096 include/bits/std_algorithm.h, include/bits/std_bitset.h,
1097 include/bits/std_complex.h, include/bits/std_deque.h,
1098 include/bits/std_fstream.h, include/bits/std_functional.h,
1099 include/bits/std_iomanip.h, include/bits/std_ios.h,
1100 include/bits/std_iosfwd.h, include/bits/std_iostream.h,
1101 include/bits/std_istream.h, include/bits/std_iterator.h,
1102 include/bits/std_limits.h, include/bits/std_list.h,
1103 include/bits/std_locale.h, include/bits/std_map.h,
1104 include/bits/std_memory.h, include/bits/std_numeric.h,
1105 include/bits/std_ostream.h, include/bits/std_queue.h,
1106 include/bits/std_set.h, include/bits/std_sstream.h,
1107 include/bits/std_stack.h, include/bits/std_streambuf.h,
1108 include/bits/std_string.h, include/bits/std_utility.h,
1109 include/bits/std_valarray.h, include/bits/std_vector.h,
1110 include/bits/stl_algo.h, include/bits/stl_alloc.h,
1111 include/bits/stl_bvector.h, include/bits/stl_construct.h,
1112 include/bits/stl_deque.h, include/bits/stl_heap.h,
1113 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
1114 include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
1115 include/bits/stl_map.h, include/bits/stl_multimap.h,
1116 include/bits/stl_multiset.h, include/bits/stl_numeric.h,
1117 include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
1118 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
1119 include/bits/stl_relops.h, include/bits/stl_set.h,
1120 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
1121 include/bits/stl_threads.h, include/bits/stl_tree.h,
1122 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
1123 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
1124 include/bits/stringfwd.h, include/bits/type_traits.h,
1125 include/bits/valarray_array.h, include/bits/valarray_meta.h:
1126 Add hooks, tweak comments only.
1128 * include/bits/stl_algobase.h (swap, min, iter_swap): Also
1129 document these functions.
1130 * include/bits/stl_function.h: Tweak link comments.
1132 2001-11-01 Paolo Carlini <pcarlini@unitus.it>
1133 Benjamin Kosnik <bkoz@redhat.com>
1135 * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
1137 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
1139 2001-11-01 Egor Duda <deo@logos-m.ru>
1141 * config/os/newlib/bits/ctype_noninline.h
1142 (ctype<char>::do_toupper(char __c)): Check for proper character class.
1143 (ctype<char>::do_tolower(char __c)): Ditto.
1145 2001-11-01 Phil Edwards <pme@gcc.gnu.org>
1147 * acinclude.m4: Fix spacing.
1148 (GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro.
1149 * configure.in: Call here.
1150 * acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS.
1151 * include/bits/boost_concept_check.h: Fix headers.
1152 (__function_requires): Make inline.
1153 * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove.
1154 * aclocal.m4: Regenerate.
1155 * config.h.in: Regenerate.
1156 * configure: Regenerate.
1158 Move trailing ';' inside macro, PR libstdc++/3666.
1159 * include/bits/concept_check.h: Add semicolon.
1160 * include/bits/stl_algo.h: Remove semicolon.
1161 * include/bits/stl_algobase.h: Likewise.
1162 * include/bits/stl_deque.h: Likewise.
1163 * include/bits/stl_heap.h: Likewise.
1164 * include/bits/stl_iterator_base_funcs.h: Likewise.
1165 * include/bits/stl_list.h: Likewise.
1166 * include/bits/stl_map.h: Likewise.
1167 * include/bits/stl_multimap.h: Likewise.
1168 * include/bits/stl_multiset.h: Likewise.
1169 * include/bits/stl_numeric.h: Likewise.
1170 * include/bits/stl_queue.h: Likewise.
1171 * include/bits/stl_set.h: Likewise.
1172 * include/bits/stl_stack.h: Likewise.
1173 * include/bits/stl_vector.h: Likewise.
1174 * include/ext/hash_map: Likewise.
1175 * include/ext/hash_set: Likewise.
1176 * include/ext/slist: Likewise.
1178 * src/concept-inst.cc: New file with explicit instantiations.
1179 * src/Makefile.am (sources): Add here, with special build rules.
1180 * src/Makefile.in: Regenerate.
1182 2001-11-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1184 * include/bits/std_complex.h (_Norm_helper): New class template.
1186 (abs): Tweak. Fix Thinko.
1188 2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
1191 * include/bits/codecvt.h: Add virtual member function declarations.
1192 * src/codecvt.cc: Tweaks.
1193 * testsuite/22_locale/codecvt.cc: Test compilation only,
1194 non-required facets not required to have linkage.
1196 2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
1199 * include/bits/std_complex.h (complex::operator/=): Correct sign.
1201 2001-10-30 Paolo Carlini <pcarlini@unitus.it>
1202 Benjamin Kosnik <bkoz@redhat.com>
1205 * include/bits/basic_string.h: Tweaks.
1206 * include/bits/basic_string.tcc (string::_M_replace(iterator,
1207 iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
1208 * src/string-inst.cc: Tweaks, add instantiation.
1209 * testsuite/21_strings/replace.cc (test02): Add test.
1210 * testsuite/21_strings/assign.cc (test01): New file.
1212 2001-10-30 Jakub Jelinek <jakub@redhat.com>
1214 * include/bits/stl_deque.h (_M_new_elements_at_front): Use
1215 __throw_exception_again.
1216 (_M_new_elements_at_back): Likewise.
1218 2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
1221 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1222 * testsuite/27_io/filebuf.cc (test07): New test.
1223 (test03): Modify showmanyc test.
1225 2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
1228 * config/locale/codecvt_specializations_ieee_1003.1-200x.h
1229 (__enc_traits::~__enc_traits): Fix.
1230 (__enc_traits::_M_init): Add error checking.
1232 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1235 * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
1237 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1240 * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
1242 * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
1243 consistent, where possible.
1244 * include/bits/streambuf.tcc: Tweak.
1246 2001-10-25 Brendan Kehoe <brendan@zen.org>
1249 * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
1250 * bits/istream.tcc (seekg): Likewise.
1252 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1253 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1254 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1256 * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
1258 * include/bits/std_limits.h: Fix wchar_t issues.
1259 * config/os/aix/bits/os_defines.h: Fix.
1261 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1263 * include/bits/locale_facets.tcc (collate::do_transform): Fix.
1265 2001-10-25 Phil Edwards <pme@gcc.gnu.org>
1267 * docs/html/documentation.html: Fix typo.
1269 2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
1271 Make -fno-exceptions work.
1272 * config/locale/c_locale_gnu.cc: Use functexcept.
1273 * include/bits/c++config (__stl_assert): Remove.
1274 (__STL_USE_EXCEPTIONS): Same.
1276 (__STL_CATCH_ALL): Same.
1277 (__STL_THROW): Same.
1278 (__STL_RETHROW): Same.
1279 (__STL_NOTHROW): Same.
1280 (__STL_UNWIND): Same.
1281 * include/bits/pthread_allocimpl.h: Fix.
1282 * include/bits/std_bitset.h: Same.
1283 * include/bits/std_list.h: Same.
1284 * include/bits/std_memory.h: Same.
1285 * include/bits/std_queue.h: Same.
1286 * include/bits/stl_alloc.h: Same.
1287 * include/bits/stl_deque.h: Same.
1288 * include/bits/stl_list.h: Same.
1289 * include/bits/stl_queue.h: Same.
1290 * include/bits/stl_tempbuf.h: Same.
1291 * include/bits/stl_tree.h: Same.
1292 * include/bits/stl_uninitialized.h: Same.
1293 * include/bits/stl_vector.h: Same.
1294 * include/ext/ropeimpl.h: Same.
1295 * include/ext/slist: Same.
1296 * include/ext/stl_hashtable.h: Same.
1297 * include/ext/stl_rope.h: Same.
1298 * libsupc++/new_op.cc: Include cstdlib.
1299 * libsupc++/eh_personality.cc: Add exception_defines include. Use
1300 __throw_exception_again, tweak.
1301 * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
1302 * libsupc++/vec.cc: Tweak.
1303 * src/functexcept.cc: Remove unused arguments.
1304 * testsuite/23_containers/bitset_members.cc: Tweak.
1306 2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
1308 * config/cpu/i386/bits/limits.h: Move to...
1309 * config/cpu/i386/bits/cpu_limits.h: ...here.
1310 * config/cpu/cris/bits/cpu_limits.h: Same.
1311 * config/cpu/powerpc/bits/cpu_limits.h: Same.
1312 * config/cpu/x86-64/bits/cpu_limits.h: Same.
1313 * config/cpu/alpha/bits/cpu_limits.h: New.
1314 * config/cpu/m68k/bits/cpu_limits.h: New.
1315 * config/cpu/s390/bits/cpu_limits.h: New.
1316 * config/os/aix/bits/os_defines.h: Tweaks.
1317 * config/os/bsd/freebsd/bits/os_defines.h: Same.
1318 * config/os/bsd/netbsd/bits/os_defines.h: Same.
1319 * config/os/djgpp/bits/os_defines.h: Same.
1320 * config/os/generic/bits/os_defines.h: Same.
1321 * config/os/gnu-linux/bits/os_defines.h: Same.
1322 * config/os/hpux/bits/os_defines.h: Same.
1323 * config/os/irix/irix5.2/bits/os_defines.h: Same.
1324 * config/os/irix/irix6.5/bits/os_defines.h: Same.
1325 * config/os/newlib/bits/os_defines.h: Same.
1326 * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
1327 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1328 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1330 * include/bits/c++config: Remove include.
1331 * include/bits/limits_generic.h: Remove.
1332 * include/bits/std_limits.h: Include cpu_limits.h.
1333 * include/Makefile.am: Fixup.
1334 * src/limits.cc: Tweak.
1335 * src/limits_generic.cc: Remove.
1336 * src/gen-num-limits.cc: Remove.
1337 * mknumeric_limits: Remove.
1339 2001-10-20 Brendan Kehoe <brendan@zen.org>
1341 * bits/type_traits.h (_Bool): Removed this type.
1342 (__true_type, __false_type): Change to be plain structs.
1343 * src/string-inst.cc (__destroy_aux): Change third parm to be
1344 __false_type instead of _Bool<false>.
1345 * src/misc-inst.cc (__uninitialized_fill_n_aux,
1346 __uninitialized_copy_aux): Likewise.
1348 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1350 * mkcheck.in (static_fail): Remove older memory limit functionality.
1351 Disable E_TIME due to formatting issues.
1355 2001-10-19 Brendan Kehoe <brendan@zen.org>
1357 * include/bits/std_complex.h: Default initialize second argument
1358 of polar to 0, as specified in Library DR #79
1360 2001-10-19 Brendan Kehoe <brendan@zen.org>
1362 * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
1363 _Construct instead of construct.
1365 2001-10-19 Brendan Kehoe <brendan@zen.org>
1367 * include/bits/basic_string.tcc (find_first_not_of): Take out check for
1368 __n being non-zero, since the standard does not mandate that.
1369 e.g., a search for "" in "" should yield position 0, not npos.
1370 (find_last_not_of): Likewise.
1372 2001-10-19 Brendan Kehoe <brendan@zen.org>
1374 * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
1375 to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
1377 2001-10-19 Brendan Kehoe <brendan@zen.org>
1379 * include/bits/stl_iterator.h (reverse_iterator::current): Rename
1380 member from _M_current, and change all uses; thus sayeth $24.4.1.1.
1382 2001-10-19 Brendan Kehoe <brendan@zen.org>
1384 * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
1385 template parameter _ValueType.
1387 2001-10-19 Brendan Kehoe <brendan@zen.org>
1389 * include/bits/std_limits.h: Clean up extra semicolons.
1390 * include/bits/locale_facets.h: Likewise.
1391 * include/bits/type_traits.h: Likewise.
1393 2001-10-19 Brendan Kehoe <brendan@zen.org>
1395 * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
1396 * include/bits/locale_facets.tcc (locale::combine): Likewise.
1398 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1400 * include/bits/locale_facets.h (__timepunct::_M_put_helper):
1401 Declare specializations for char, wchar_t.
1403 2001-10-19 Andreas Jaeger <aj@suse.de>
1405 * config/cpu/x86-64/bits/limits.h: New file.
1406 * config/cpu/x86-64/bits/atomicity.h: New file.
1407 * configure.target: Add x86-64.
1409 2001-10-17 Phil Edwards <pme@gcc.gnu.org>
1411 * docs/html/17_intro/howto.html: Remove 1999 links (and explain
1412 why). Add link to recent message.
1413 * docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
1415 * docs/html/faq/index.txt: Regenerate.
1417 2001-10-12 Loren J. Rittle <ljrittle@acm.org>
1419 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
1420 based on Nathan's review. Use Nathan's words.
1422 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1424 * docs/html/configopts.html: Quote StyleSheet attribute values.
1425 * docs/html/documentation.html: Likewise.
1426 * docs/html/explanations.html: Likewise.
1427 * docs/html/install.html: Likewise.
1428 * docs/html/17_intro/howto.html: Likewise.
1429 * docs/html/17_intro/license.html: Likewise.
1430 * docs/html/18_support/howto.html: Likewise.
1431 * docs/html/19_diagnostics/howto.html: Likewise.
1432 * docs/html/20_util/howto.html: Likewise.
1433 * docs/html/21_strings/howto.html: Likewise.
1434 * docs/html/22_locale/howto.html: Likewise.
1435 * docs/html/23_containers/howto.html: Likewise.
1436 * docs/html/24_iterators/howto.html: Likewise.
1437 * docs/html/25_algorithms/howto.html: Likewise.
1438 * docs/html/26_numerics/howto.html: Likewise.
1439 * docs/html/27_io/howto.html: Likewise.
1440 * docs/html/ext/howto.html: Likewise.
1441 * docs/html/ext/sgiexts.html: Likewise.
1442 * docs/html/faq/index.html: Likewise.
1444 2001-10-11 Loren J. Rittle <ljrittle@acm.org>
1446 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
1447 * docs/html/23_containers/howto.html (Containers and multithreading):
1450 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1452 * docs/html/17_intro/howto.html: Tweak markup and value type.
1453 * docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
1454 nonzero arguments, add new note on threading.
1455 * docs/html/faq/index.html: Update.
1456 * docs/html/faq/index.txt: Regenerate.
1458 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1460 * docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
1461 * docs/html/documentation.html: Likewise.
1462 * docs/html/explanations.html: Likewise.
1463 * docs/html/install.html: Likewise.
1464 * docs/html/17_intro/howto.html: Likewise.
1465 * docs/html/17_intro/license.html: Likewise. Tighten up language.
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/ext/sgiexts.html: Likewise.
1478 * docs/html/faq/index.html: Likewise. Not so many absolute links.
1479 * docs/html/faq/index.txt: Regenerate.
1481 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
1483 * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
1484 spelling errors of "separate" as "seperate", and corresponding
1485 spelling errors of related words.
1486 * docs/html/faq/index.txt: Regenerate.
1488 2001-10-05 Phil Edwards <pme@gcc.gnu.org>
1490 * config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
1492 * config/cpu/arm/bits/atomicity.h: Likewise.
1493 * config/cpu/generic/bits/atomicity.h: Likewise.
1494 * config/cpu/i486/bits/atomicity.h: Likewise.
1495 * config/cpu/ia64/bits/atomicity.h: Likewise.
1496 * config/cpu/mips/bits/atomicity.h: Likewise.
1497 * config/cpu/powerpc/bits/atomicity.h: Likewise.
1498 * config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
1499 * config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
1501 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1503 * docs/html/faq/index.html: Describe DR #22, and a workaround.
1504 * docs/html/faq/index.txt: Regenerate.
1506 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1508 * docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
1509 * docs/html/17_intro/license.html: New file. Explain the licenses
1512 * docs/html/configopts.html: Link to license.html.
1513 * docs/html/documentation.html: Likewise.
1514 * docs/html/explanations.html: Likewise.
1515 * docs/html/install.html: Likewise.
1516 * docs/html/17_intro/howto.html: Likewise.
1517 * docs/html/18_support/howto.html: Likewise.
1518 * docs/html/19_diagnostics/howto.html: Likewise.
1519 * docs/html/20_util/howto.html: Likewise.
1520 * docs/html/21_strings/howto.html: Likewise.
1521 * docs/html/22_locale/howto.html: Likewise.
1522 * docs/html/23_containers/howto.html: Likewise.
1523 * docs/html/24_iterators/howto.html: Likewise.
1524 * docs/html/25_algorithms/howto.html: Likewise.
1525 * docs/html/26_numerics/howto.html: Likewise.
1526 * docs/html/27_io/howto.html: Likewise.
1527 * docs/html/ext/howto.html: Likewise.
1528 * docs/html/ext/sgiexts.html: Likewise.
1529 * docs/html/faq/index.html: Likewise. New question, linking to
1530 the new license.html.
1532 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1534 * docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
1535 * docs/html/18_support/howto.html: Likewise.
1536 * docs/html/19_diagnostics/howto.html: Likewise.
1537 * docs/html/20_util/howto.html: Likewise.
1538 * docs/html/21_strings/howto.html: Likewise.
1539 * docs/html/22_locale/howto.html: Likewise.
1540 * docs/html/23_containers/howto.html: Likewise.
1541 * docs/html/24_iterators/howto.html: Likewise.
1542 * docs/html/25_algorithms/howto.html: Likewise.
1543 * docs/html/26_numerics/howto.html: Likewise.
1544 * docs/html/27_io/howto.html: Likewise.
1545 * docs/html/ext/howto.html: Likewise.
1546 * docs/html/faq/index.html: Likewise. Spacing fix.
1548 2001-10-03 Dimitris Vyzovitis <vyzo@media.mit.edu>
1550 * include/bits/stl_threads.h (_Atomic_swap): New function.
1551 (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
1552 * testsuite/ext/rope.cc: New file.
1554 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
1556 * config/locale/time_members_gnu.h: Remove.
1557 * config/locale/time_members_generic.h: Remove.
1558 * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
1559 * config/locale/time_members_generic.cc: Same.
1560 * include/bits/locale_facets.h: Add data members.
1561 (__timepunct::_M_put_helper): Change signature.
1562 (__timepunct::_M_date_formats): Same.
1563 (__timepunct::_M_time_formats): Same.
1564 (__timepunct::_M_ampm): Add.
1565 (__timepunct::_M_date_time_formats): Add.
1566 (time_get::_M_extract_via_format): Add.
1567 (time_get::_M_extract_time): Change to...
1568 (time_get::_M_extract_num): ... this, modify signature.
1569 * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
1570 (time_get::do_get_time): Fix.
1571 (time_get::do_get_date): Fix.
1573 * acinclude.m4: Remove CTIME_H.
1574 * aclocal.m4: Regenerate.
1575 * include/Makefile.am: Same.
1576 * include/Makefile.in: Regenerate.
1577 * configure: Regenerate.
1579 * testsuite/22_locale/time_get_members_char.cc: Fix.
1580 * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
1581 * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
1583 2001-10-01 Hans-Peter Nilsson <hp@axis.com>
1585 * config/cpu/cris/bits/atomicity.h: Correct file header.
1587 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
1589 * configure.target (LIMITSH): Set for cris.
1590 (cpu_include_dir): Set for cris-*-*.
1591 * config/cpu/cris/bits/atomicity.h: New file.
1592 * config/cpu/cris/bits/limits.h: New file.
1594 2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
1596 * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
1597 (__timepunct::_M_put_helper): Add.
1598 * config/locale/time_members_generic.h: Same.
1599 * include/bits/locale_facets.h (__match_parallel): Remove. Format.
1600 (__timepunct): Add data members.
1601 (__timepunct::_M_days): Add.
1602 (__timepunct::_M_days_abbreviated): Add.
1603 (__timepunct::_M_months): Add.
1604 (__timepunct::_M_months_abbreviated): Add.
1605 (__timepunct::_M_initialize_timepunct): Add.
1606 * include/bits/locale_facets.tcc: Same.
1607 * src/locale-inst.cc: Remove instantiations for __match_parallel.
1608 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
1609 * aclocal.m4: Regenerate.
1610 * configure: Regenerate.
1611 * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
1612 * testsuite/22_locale/time_put_members_char.cc (test01): New file.
1613 * testsuite/22_locale/time_get.cc: New file.
1615 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1617 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
1618 correct multilib builddir.
1619 Properly locate libgcc_s.
1621 2001-09-27 Phil Edwards <pme@gcc.gnu.org>
1623 * include/std/*: Add Doxygen hooks.
1624 * docs/doxygen/Intro.3: New file, general intro to the man pages.
1625 * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
1626 rather than using a generated index.
1627 * docs/doxygen/user.cfg.in: Disable the index, enable man pages.
1628 * docs/doxygen/run_doxygen: Massage the generated man pages, using...
1629 * docs/doxygen/stdheader.cc: ...this new file.
1631 2001-09-26 Stan Shebs <shebs@apple.com>
1633 * include/Makefile.am: Remove RCS Id strings.
1634 * src/Makefile.am: Ditto.
1635 * docs/doxygen/run_doxygen: Ditto.
1636 * docs/html/configopts.html: Ditto.
1637 * docs/html/documentation.html: Ditto.
1638 * docs/html/explanations.html: Ditto.
1639 * docs/html/install.html: Ditto.
1640 * docs/html/17_intro/howto.html: Ditto.
1641 * docs/html/18_support/howto.html: Ditto.
1642 * docs/html/19_diagnostics/howto.html: Ditto.
1643 * docs/html/20_util/howto.html: Ditto.
1644 * docs/html/21_strings/howto.html: Ditto.
1645 * docs/html/22_locale/howto.html: Ditto.
1646 * docs/html/23_containers/howto.html: Ditto.
1647 * docs/html/24_iterators/howto.html: Ditto.
1648 * docs/html/25_algorithms/howto.html: Ditto.
1649 * docs/html/26_numerics/howto.html: Ditto.
1650 * docs/html/27_io/howto.html: Ditto.
1651 * docs/html/ext/howto.html: Ditto.
1652 * docs/html/ext/sgiexts.html: Ditto.
1653 * docs/html/faq/index.html: Ditto.
1654 * docs/html/faq/index.txt: Ditto.
1656 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
1658 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
1661 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
1663 * docs/html/20_util/howto.html: Add anchor name.
1664 * docs/html/23_containers/howto.html: Line wrapping, another link.
1665 * docs/html/25_algorithms/howto.html: Another note.
1667 * docs/html/ext/howto.html: Link to SGI extensions. List DRs and
1669 * docs/html/ext/lwg-active.html: ...in this new file (from R19),
1670 * docs/html/ext/lwg-defects.html: and this new file (from R19).
1671 * docs/html/ext/sgiexts.html: New file. Mention SGI extensions
1672 carried over to libstdc++-v3.
1673 * docs/html/faq/index.html: Link to SGI extensions. Mention the
1674 "missing .." pseudobug.
1675 * docs/html/faq/index.txt: Regenerate.
1677 * include/bits/ios_base.h: DR-related comment cleanup.
1678 * include/bits/istream.tcc: Likewise.
1679 * include/bits/locale_facets.h: Likewise.
1680 * include/bits/locale_facets.tcc: Likewise.
1681 * include/bits/ostream.tcc: Likewise.
1682 * include/bits/std_bitset.h: Likewise.
1683 * include/bits/std_iosfwd.h: Likewise.
1684 * include/bits/std_istream.h: Likewise.
1685 * include/bits/std_ostream.h: Likewise.
1686 * include/bits/std_streambuf.h: Likewise.
1687 * include/bits/stl_pair.h: Likewise.
1688 * include/bits/streambuf_iterator.h: Likewise.
1690 * include/bits/std_map.h: Remove unused header inclusion guard
1691 _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
1692 * include/bits/std_set.h: Likewise.
1694 * include/bits/stl_function.h: Doxygen markup.
1695 * docs/doxygen/doxygroups.cc: New file, specifying module grouping.
1696 * libsupc++/typeinfo: Doxygen markup tweak.
1698 2001-09-20 Scott Johnston <scott@accom.com>
1699 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1701 * include/backward/alloc.h: Conditionally define malloc_alloc
1702 * testsuite/backward/header_deque_h.cc: New file.
1704 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1706 * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
1707 change variable name so that it works with -fno-for-scope.
1709 2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
1711 * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
1712 redundant sanity checks.
1713 * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
1715 * testsuite/22_locale/money_put_members_char.cc (test01): Same.
1717 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
1718 * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
1719 * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
1721 * testsuite/22_locale/money_get_members_char.cc (test01): Same.
1724 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
1726 Implement std::time_put.
1727 * include/bits/locale_facets.h: Include time_members.h.
1729 (time_put): Implement.
1730 * include/bits/locale_facets.tcc (do_put): Put generic versions here.
1731 * include/bits/localefwd.h: Bump number of facets.
1732 * config/locale/time_members_generic.h: New file.
1733 * config/locale/time_members_gnu.h: New file.
1734 * config/locale/c_locale_generic.h: Include clocale.
1735 * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
1736 * src/locale.cc: Add __timepunct initializations.
1737 * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
1738 * include/Makefile.am (stamp-target): Add time_members.h.
1739 * include/Makefile.in: Regenerate.
1740 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
1741 * aclocal.m4: Regenerate.
1742 * configure: Regenerate.
1743 * testsuite/22_locale/time_put.cc: New file.
1744 * testsuite/22_locale/time_put_members_char.cc: New file.
1746 * docs/html/22_locale/locale.html: Add note.
1748 2001-09-17 Phil Edwards <pme@gcc.gnu.org>
1750 * docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
1751 * docs/html/documentation.html: Likewise.
1752 * docs/html/explanations.html: Likewise.
1753 * docs/html/install.html: Likewise.
1754 * docs/html/17_intro/howto.html: Likewise.
1755 * docs/html/18_support/howto.html: Likewise.
1756 * docs/html/19_diagnostics/howto.html: Likewise.
1757 * docs/html/20_util/howto.html: Likewise.
1758 * docs/html/21_strings/howto.html: Likewise.
1759 * docs/html/22_locale/codecvt.html: Likewise.
1760 * docs/html/22_locale/ctype.html: Likewise.
1761 * docs/html/22_locale/howto.html: Likewise.
1762 * docs/html/22_locale/locale.html: Likewise.
1763 * docs/html/22_locale/messages.html: Likewise.
1764 * docs/html/23_containers/howto.html: Likewise.
1765 * docs/html/24_iterators/howto.html: Likewise.
1766 * docs/html/25_algorithms/howto.html: Likewise.
1767 * docs/html/26_numerics/howto.html: Likewise.
1768 * docs/html/27_io/howto.html: Likewise.
1769 * docs/html/ext/howto.html: Likewise.
1770 * docs/html/faq/index.html: Likewise.
1771 * docs/html/faq/index.txt: Regenerated.
1773 2001-09-14 Phil Edwards <pme@sources.redhat.com>
1775 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
1776 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
1777 * docs/html/18_support/howto.html: It won't compile; it's not code.
1778 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
1780 * docs/html/22_locale/howto.html: Comment for future work.
1781 * docs/html/23_containers/howto.html: More comments.
1782 * docs/html/25_algorithms/howto.html: It's a comment, not a
1783 blunt command to the reader. (English grammar.)
1785 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
1787 * config/locale/moneypunct_members_gnu.cc: Fix initialization of
1789 * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
1790 * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
1792 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
1794 * include/bits/locale_facets.tcc: Conditionalize use of strtold.
1796 2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
1798 * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
1799 * testsuite/22_locale/money_put_members_char.cc: Likewise.
1800 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1802 2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
1804 Implement std::money_get.
1805 * include/bits/locale_facets.tcc (money_get::do_get): Implement.
1806 * include/bits/locale_facets.h (money_get): Correct signatures.
1807 * testsuite/22_locale/money_get.cc: New file.
1808 * testsuite/22_locale/money_get_members_char.cc: New file.
1810 * include/bits/locale_facets.tcc (__verify_grouping): New
1811 function. Consolidate num_get and money_get group checking into
1813 (money_get): Use it.
1814 * src/locale.cc (num_get::_M_extract): Use it.
1815 * src/locale-inst.cc: Add instantiation.
1817 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1819 * include/bits/std_limits.h (numeric_limits<float>::radix,
1820 numeric_limits<float>::epsilon: Fix thinko.
1822 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1824 * configure.in: Fix cross compiling math routines. Correct
1825 comments for cross compiling and limits. Add floating point math
1826 routines found in newlib.
1827 * configure: Regenerate.
1828 * acconfig.h: Add macros.
1829 * config.h.in: Regenerate.
1831 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1833 * config/locale/moneypunct_members_generic.cc
1834 (money_base::_S_construct_pattern): Remove unused parameters.
1836 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1838 * include/Makefile.am (stamp-target): Remove link to self.
1839 * inclulde/Makefile.in: Regenerate.
1841 2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
1843 Implement std::money_put.
1844 * include/bits/locale_facets.h
1845 (moneypunct::_M_initialize_moneypunct): Split up specializations
1846 to account for _Intl. More grody hacking to get around the
1847 ill-considered use of const bool as a template parameter.
1848 * config/locale/moneypunct_members_gnu.cc: And here.
1849 * config/locale/moneypunct_members_generic.cc: And here.
1850 * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
1851 * testsuite/22_locale/moneypunct.cc: Add tests.
1852 * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
1853 * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
1855 * src/locale.cc (money_base::_S_construct_pattern): Move into
1857 * config/locale/moneypunct_members_gnu.cc: Add here.
1858 * config/locale/moneypunct_members_generic.cc: Add generic version
1861 * include/bits/locale_facets.tcc (money_put::do_put): Move member
1862 function definitions here.
1863 * include/bits/locale_facets.h (money_put): Implement.
1864 * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
1865 Correct money_get, money_put instantiations.
1866 * src/locale.cc (money_base::_S_construct_pattern): Handle case
1868 * testsuite/22_locale/money_put_members_char.cc: Add tests.
1870 2001-09-05 Phil Edwards <pme@sources.redhat.com>
1872 * testsuite_flags.in: No longer need to search testsuite builddir.
1873 * src/stl-inst.cc (__sink_unused_warning): Unused, remove.
1874 * Makefile.am: The testsuite directory never needs to be made here.
1875 * Makefile.in: Regenerate.
1876 * include/Makefile.in: Regenerate.
1877 * libio/Makefile.in: Regenerate.
1878 * libmath/Makefile.in: Regenerate.
1879 * libsupc++/Makefile.in: Regenerate.
1880 * po/Makefile.in: Regenerate.
1881 * src/Makefile.in: Regenerate.
1882 * testsuite/Makefile.in: Regenerate.
1884 2001-09-04 Scott Johnston <scott@accom.com>
1885 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1887 * include/backward/iterator.h: Include <bits/std_iterator.h>,
1888 remove reverse_bidirectional_iterator.
1889 * testsuite/backward: New directory.
1890 * testsuite/backward/header_iterator_h.cc: New file.
1892 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
1894 * include/c_std/bits/std_c*.h: Don't use include_next.
1896 2001-09-03 Richard Sandiford <rsandifo@redhat.com>
1898 * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
1899 tmp from _Unwind_Ptr to _Unwind_Word.
1901 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
1903 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
1906 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
1908 * include/Makefile.am: Use toplevel_srcdir to refer to src files
1909 outside this component.
1910 * include/Makefile.in: Regenerate.
1912 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
1914 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
1915 * config/locale/c_locale_generic.cc: Same.
1916 * config/locale/moneypunct_members_gnu.cc: New file.
1917 * config/locale/moneypunct_members_generic.cc: New file.
1918 * config/locale/numpunct_members_gnu.cc: New file.
1919 * config/locale/numpunct_members_generic.cc: New file.
1920 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
1922 * aclocal.m4: Regenerate.
1923 * configure: Regenerate.
1924 * src/Makefile.am (sources): And here.
1925 * src/Makefile.in: Regenerate.
1927 Rename for consistency with rest of testsuite.
1928 * testsuite/22_locale/codecvt.cc: New file.
1929 * testsuite/22_locale/money_put.cc: New file.
1930 * testsuite/22_locale/money_put_members_char.cc: New file.
1932 2001-08-27 Phil Edwards <pme@sources.redhat.com>
1935 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
1936 correctly for version-specific-runtime-libs.
1937 * aclocal.m4: Regenerate.
1938 * configure: Regenerate.
1940 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
1942 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
1943 define if not already provided by per-OS file.
1944 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
1947 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
1949 * docs/html/17_intro/C++STYLE: Fix typo.
1951 2001-08-24 Phil Edwards <pme@sources.redhat.com>
1953 * docs/html/23_containers/howto.html: Describe implementation of
1954 insertion with hints.
1956 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
1959 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
1961 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1962 Phil Edwards <pme@sources.redhat.com>
1965 * include/bits/stl_tree.h (insert_unique): Revert last change.
1966 Values inserted at begin() must be less, not greater, than *begin()'s.
1967 * testsuite/23_containers/map_insert.cc: New file.
1969 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
1971 * config/locale/c_locale_gnu.cc: Minor tweaks.
1972 (moneypunct<wchar_t>): Implement.
1973 * include/bits/locale_facets.h: Same.
1974 * testsuite/22_locale/moneypunct.cc: New file.
1975 * testsuite/22_locale/moneypunct_byname.cc: New file.
1976 * testsuite/22_locale/moneypunct_char_members.cc: New file.
1978 2001-08-23 David Edelsohn <edelsohn@gnu.org>
1980 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
1981 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
1983 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
1985 * testsuite_flags.in (build-includes): Re-add backward.
1987 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
1989 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
1990 with _GLIBCPP_USE_WCHAR_T.
1992 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
1994 * testsuite/22_locale/collate_byname.cc (test01): Fix.
1996 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
1998 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
2000 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
2002 * testsuite/22_locale/operators.cc: Add test.
2004 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
2006 Implement std::collate.
2007 * config/locale/collate_specializations_gnu.cc: Add here, implement in
2009 * config/locale/collate_specializations_generic.cc: Add here, but
2010 in a less sophisticated manner.
2011 * include/bits/locale_facets.tcc (collate): Add generic definition.
2012 * include/bits/locale_facets.h (~collate): Mark virtual.
2013 (collate::_M_compare_helper): New.
2014 (collate::_M_transform_helper): New.
2015 * src/locale.cc: Remove unnecessary specializations.
2016 * src/string-inst.cc: Tweak instantiation of ctors.
2018 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
2019 * aclocal.m4: Regenerate.
2020 * configure: Regenerate.
2021 * src/Makefile.am (sources): Add collate.cc.
2022 * src/Makefile.in: Regenerate.
2024 * testsuite/22_locale/collate_byname.cc: New.
2025 * testsuite/22_locale/collate.cc: New file.
2026 * testsuite/22_locale/collate_char_members.cc: New file.
2027 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
2029 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2031 * configure.target: Set LIMITSH for powerpc-*-*.
2032 * config/cpu/powerpc/bits/limits.h: New file.
2034 2001-08-16 Marc Espie <espie@openbsd.org>
2036 * configure.in: Check for <sys/types.h>.
2037 * configure: Rebuild.
2038 * config.h.in: Rebuild.
2039 * libmath/mathconf.h: Include <sys/types.h> prior to
2040 <machine/endian.h> if available.
2042 2001-08-15 Andreas Schwab <schwab@suse.de>
2044 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
2045 m68k and m680[246]0.
2046 * config/cpu/m68k/bits/atomicity.h: New file.
2048 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
2049 Define appropriate long double limits for m68k extended floating
2051 (__glibcpp_f32_digits10): Corrected, off by one.
2052 (__glibcpp_f80_digits10): Likewise.
2053 (__glibcpp_f128_digits10): Likewise.
2054 * config/os/gnu-linux/bits/os_defines.h
2055 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
2057 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2059 * testsuite/18_support/numeric_limits.cc: Add more tests.
2060 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
2063 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
2065 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
2068 * config/cpu/s390/bits/atomicity.h: New.
2070 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
2072 * include/bits/std_limits.h: Fix thinko.
2074 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
2076 * include/Makefile.am: Consolidate target rules. Don't clean stamp
2077 files. Tweak target build directory stamp.
2078 * include/Makefile.in: Regenerate.
2080 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2082 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
2083 _GBLICPP_HAVE_LOGL with HAVE_LOGL
2085 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
2087 * configure.in (libtool_VERSION): Add.
2088 (VERSION): Change to
2089 (release_VERSION): This.
2090 * configure: Regenerate.
2091 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
2093 * src/Makefile.in: Regenerate.
2095 * intl/Makefile.am: Remove.
2096 * intl/Makefile.in: Remove.
2098 * Makefile.am (SUBDIRS): Remove intl.
2099 * po/Makefile.am (DISTFILES): Add string_literals.cc
2101 * po/string_literals.cc: Add.
2102 * po/POTFILES.in: Fix path.
2103 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
2104 * aclocal.m4: Regenerate.
2105 * configure.in: Remove AC_OUTPUT of intl/Makefile.
2107 * include/backward/backward_warning.h: Clarify message.
2109 * testsuite_flags.in (--cxxflags): Use same debug flags for
2110 library and testsuite.
2112 * include/Makefile.am (c_compatibility): Remove.
2113 * include/Makefile.in: Regenerate.
2115 2001-08-13 Mark Mitchell <mark@codesourcery.com>
2117 * configure.in (LIMITS_INC_SRCDIR): New variable.
2118 * configure.target (LIMITSH): New variable.
2119 * porting.texi: Discuss numeric limits.
2120 * config/cpu/generic/bits/limits.h: New file.
2121 * config/cpu/i386/bits/limits.h: New file.
2122 * include/Makefile.am: Install bits/limits.h.
2123 * include/bits/c++config: Include bits/limits.h.
2125 2001-08-13 H.J. Lu (hjl@gnu.org)
2127 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
2129 (libstdc++-v3-init ): Use it.
2131 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2133 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
2134 to '__adjust' to avoid shadowing in nested scope.
2136 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2138 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
2141 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
2143 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
2146 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
2148 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
2149 dummy default argument to the non-limit implementation.
2152 * include/Makefile.am: Use relative file path in rule to allow
2154 * include/Makefile.in: Rebuilt.
2156 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
2158 * include/bits/std_complex.h (complex<long double>::operator*=,
2159 complex<long double>::operator/=): Fix thinko.
2161 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2163 * include/bits/std_limits.h: New file.
2164 * include/Makefile.am (bits_headers): Add std_limits.h
2165 (all-local): std_limits.h is no longer built.
2166 (${target_builddir}/std_limits.h): Remove.
2167 * include/Makefile.in: Regenerate.
2168 * src/limits.cc: New file.
2169 * src/Makefile.am (sources): Add limits.cc in replacement of
2171 * src/Makefile.in: Regenerate.
2173 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2175 * src/gen-num-limits.cc (digits10): Fix thinko.
2177 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2179 * po/Makefile.am (check-no): Add.
2181 * po/Makefile.in: Regenerate.
2183 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2185 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
2186 * config.h.in: Regenerate.
2187 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
2189 * aclocal.m4: Regenerate.
2190 * configure.in: Remove duplicate AM_CONFIG_HEADER.
2191 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
2192 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
2193 * configure: Regenerate.
2194 * testsuite_hooks.h.in: Move to...
2195 * testsuite_hooks.h: Here, include c++config.h. Use it.
2197 * Makefile.am (SUBDIRS): Move testsuite to last directory.
2198 * Makefile.in: Regenerate.
2199 * po/Makefile.am (stamp-po): Add.
2201 2001-08-09 David Edelsohn <edelsohn@gnu.org>
2203 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
2204 * config/os/generic/bits/os_defines.h: Likewise.
2205 * config/os/gnu-linux/bits/os_defines.h: Likewise.
2206 * config/os/hpux/bits/os_defines.h: Likewise.
2207 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
2208 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2210 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
2212 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
2213 -version-info, use substituted VERSION info.
2214 * src/Makefile.in: Regenerate.
2216 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
2218 Implement std::messages.
2219 Make config a fully-nested directory.
2220 * config/locale: New directory.
2221 * config/c_locale_generic.cc: Move into locale subdirectory.
2222 * config/c_locale_generic.h: Same.
2223 * config/c_locale_gnu.cc: Same.
2224 * config/c_locale_gnu.h: Same.
2225 * config/c_locale_ieee_1003.1-200x.cc: Same.
2226 * config/c_locale_ieee_1003.1-200x_.h: Same.
2227 * config/codecvt_specializations_generic.h: Same.
2228 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
2229 * config/messages_members_gnu.h: Same.
2230 * config/messaages_members_gnu.cc: Same.
2231 * config/messages_members_generic.h: Same.
2232 * config/messaages_members_generic.cc: Same.
2233 * config/messages_members_ieee_1003.1-200x.h: Same.
2234 * config/messaages_members_ieee_1003.1-200x.cc: Same.
2235 * config/io: New directory.
2236 * config/basic_file_libio.h: Move into io subdirectory.
2237 * config/basic_file_libio.cc: Same.
2238 * config/c_io_libio.h: Same.
2239 * config/c_io_libio_codecvt.c: Same.
2240 * config/basic_file_stdio.h: Same.
2241 * config/basic_file_stdio.cc: Same.
2242 * config/c_io_stdio.h: Same.
2244 * po: New directory.
2245 * po/POTFILES.in: New file.
2246 * po/Makefile.am: New file.
2247 * po/Makefile.in: New file.
2248 * po/libstdc++.pot: Generic translation file.
2249 * po/fr.po: Preliminary French translation.
2250 * po/de.po: Preliminary German translation.
2251 * intl: New directory.
2252 * intl/Makefile.am: New file.
2253 * intl/Makefile.in: New file.
2254 * intl/string_literals.cc: New file.
2255 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
2256 requisite setup for gettext. Re-arrange.
2257 * aclocal.m4: Regenerate.
2258 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
2259 Output Makefile bits for po and intl.
2260 * configure: Regenerate.
2261 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
2262 * Makefile.in: Regenerate.
2263 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
2264 * config.h.in: Regenerate.
2266 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
2268 * include/Makefile.am (install-data-local): Don't install Makefile.
2269 * include/Makefile.in: Regenerate.
2271 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
2273 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
2274 * config/locale/c_locale_generic.cc: Same.
2275 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
2277 * include/bits/codecvt.h: Excise non-standard, non-required
2278 bits. This includes __enc_traits, and partial specializations of
2279 codecvt for __enc_traits.
2280 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
2281 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
2282 * config/codecvt_partials_generic.h: New file.
2283 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
2284 (stamp-codecvt_model): Add.
2285 * include/Makefile.in: Regenerate.
2286 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
2287 * aclocal.m4: Regenerate.
2288 * configure: Regenerate.
2289 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
2290 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
2291 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
2293 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
2294 as a friend for _S_*_c_locale functions.
2295 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
2296 argument to default constructor so that CODESET information can be
2298 * include/bits/locale_facets.h (messages_byname):
2299 Re-implement. Remove specializations.
2300 * src/locale.cc (messages_byname<char>): Remove specialization.
2301 (messages_byname<wchar_t>): Same.
2302 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
2303 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
2304 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
2305 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
2306 * config/locale/messages_members_gnu.cc: New file.
2307 * config/locale/messages_members_gnu.h: New file.
2308 * config/locale/messages_members_generic.cc: New file.
2309 * config/locale/messages_members_generic.h: New file.
2311 * docs/html/configopts.html: Add documentation for new locale
2312 model, ieee_1003.1. Adjust other flags for current defaults.
2313 * docs/html/22_locale/locale.html: Update.
2314 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
2315 * docs/html/22_locale/messages.html: New.
2317 * src/Makefile.am (sources): Add messages_virtuals.cc.
2318 * src/Makefile.in: Regenerate.
2319 * include/Makefile.am (allstamps): Add stamp-messages_model.
2320 (stamp-messages_model): Add.
2321 * include/Makefile.in: Regenerate.
2322 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
2323 * aclocal.m4: Regenerate.
2324 * configure: Regenerate.
2326 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
2327 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
2329 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
2330 build directories message catalog base directory, and export.
2331 Eventually this should probably be made to deal with build and
2332 install directories. For now, punt on this as the library itself
2333 doesn't use message catalogs (yet).
2334 * testsuite/22_locale/messages.cc: New file.
2335 * testsuite/22_locale/messages_char_members.cc: New file.
2336 * testsuite/22_locale/messages_byname.cc: New file.
2338 2001-08-06 Phil Edwards <pme@sources.redhat.com>
2340 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
2341 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
2342 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
2343 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
2344 Call GLIBCPP_CONFIGURE_TESTSUITE.
2345 * aclocal.m4: Regenerate.
2346 * config.h.in: Regenerate.
2347 * configure: Regenerate.
2349 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
2352 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
2353 * testsuite/debug_assert.h: Removed; contents merged into...
2354 * testsuite/testsuite_hooks.h.in: ...here. New file.
2355 * testsuite/17_intro/header_ciso646.cc: No longer include
2356 debug_assert.h, include testsuite_hooks.h instead.
2357 * testsuite/17_intro/header_fstream.cc: Likewise.
2358 * testsuite/17_intro/header_iomanip.cc: Likewise.
2359 * testsuite/17_intro/header_ios.cc: Likewise.
2360 * testsuite/17_intro/header_iosfwd.cc: Likewise.
2361 * testsuite/17_intro/header_iostream.cc: Likewise.
2362 * testsuite/17_intro/header_istream.cc: Likewise.
2363 * testsuite/17_intro/header_ostream.cc: Likewise.
2364 * testsuite/17_intro/header_sstream.cc: Likewise.
2365 * testsuite/17_intro/header_streambuf.cc: Likewise.
2366 * testsuite/18_support/numeric_limits.cc: Likewise.
2367 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
2368 * testsuite/20_util/allocator_members.cc: Likewise.
2369 * testsuite/20_util/auto_ptr.cc: Likewise.
2370 * testsuite/20_util/pairs.cc: Likewise.
2371 * testsuite/21_strings/append.cc: Likewise.
2372 * testsuite/21_strings/capacity.cc: Likewise.
2373 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
2374 * testsuite/21_strings/compare.cc: Likewise.
2375 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
2376 call to (disabled) __set_testsuite_memlimit() wrapper.
2377 * testsuite/21_strings/element_access.cc: Likewise.
2378 * testsuite/21_strings/find.cc: Likewise.
2379 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
2380 (disabled) __set_testsuite_memlimit() wrapper.
2381 * testsuite/21_strings/inserters_extractors.cc: Likewise.
2382 * testsuite/21_strings/invariants.cc: Likewise.
2383 * testsuite/21_strings/nonmember.cc: Likewise.
2384 * testsuite/21_strings/operations.cc: Likewise.
2385 * testsuite/21_strings/replace.cc: Likewise.
2386 * testsuite/21_strings/rfind.cc: Likewise.
2387 * testsuite/21_strings/substr.cc: Likewise.
2388 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
2389 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
2390 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
2391 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
2392 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
2393 * testsuite/22_locale/ctype_char_members.cc: Likewise.
2394 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
2395 * testsuite/22_locale/facet.cc: Likewise.
2396 * testsuite/22_locale/global_templates.cc: Likewise.
2397 * testsuite/22_locale/members.cc: Likewise.
2398 * testsuite/22_locale/numpunct_byname.cc: Likewise.
2399 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
2400 * testsuite/22_locale/operators.cc: Likewise.
2401 * testsuite/22_locale/static_members.cc: Likewise.
2402 * testsuite/23_containers/bitset_ctor.cc: Likewise.
2403 * testsuite/23_containers/bitset_members.cc: Likewise.
2404 * testsuite/23_containers/bitset_shift.cc: Likewise.
2405 * testsuite/23_containers/vector_capacity.cc: Likewise.
2406 * testsuite/23_containers/vector_ctor.cc: Likewise.
2407 * testsuite/23_containers/vector_element_access.cc: Likewise.
2408 * testsuite/23_containers/vector_modifiers.cc: Likewise.
2409 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
2410 * testsuite/24_iterators/iterator.cc: Likewise.
2411 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
2412 * testsuite/25_algorithms/binary_search.cc: Likewise.
2413 * testsuite/25_algorithms/copy.cc: Likewise.
2414 * testsuite/25_algorithms/heap.cc: Likewise.
2415 * testsuite/25_algorithms/lower_bound.cc: Likewise.
2416 * testsuite/25_algorithms/min_max.cc: Likewise.
2417 * testsuite/25_algorithms/partition.cc: Likewise.
2418 * testsuite/25_algorithms/rotate.cc: Likewise.
2419 * testsuite/25_algorithms/sort.cc: Likewise.
2420 * testsuite/26_numerics/c_math.cc: Likewise.
2421 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
2422 * testsuite/26_numerics/complex_value.cc: Likewise.
2423 * testsuite/27_io/filebuf.cc: Likewise.
2424 * testsuite/27_io/filebuf_members.cc: Likewise.
2425 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
2426 * testsuite/27_io/fpos.cc: Likewise.
2427 * testsuite/27_io/fstream_members.cc: Likewise.
2428 * testsuite/27_io/ifstream_members.cc: Likewise.
2429 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
2430 * testsuite/27_io/ios_base_members_static.cc: Likewise.
2431 * testsuite/27_io/ios_base_storage.cc: Likewise.
2432 * testsuite/27_io/ios_ctor.cc: Likewise.
2433 * testsuite/27_io/ios_init.cc: Likewise.
2434 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
2435 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
2436 * testsuite/27_io/ios_members.cc: Likewise.
2437 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
2438 * testsuite/27_io/istream_extractor_char.cc: Likewise.
2439 * testsuite/27_io/istream_extractor_other.cc: Likewise.
2440 * testsuite/27_io/istream_manip.cc: Likewise.
2441 * testsuite/27_io/istream_seeks.cc: Likewise.
2442 * testsuite/27_io/istream_sentry.cc: Likewise.
2443 * testsuite/27_io/istream_unformatted.cc: Likewise.
2444 * testsuite/27_io/istringstream_members.cc: Likewise.
2445 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
2446 * testsuite/27_io/ofstream_members.cc: Likewise.
2447 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
2448 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
2449 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
2450 * testsuite/27_io/ostream_manip.cc: Likewise.
2451 * testsuite/27_io/ostream_seeks.cc: Likewise.
2452 * testsuite/27_io/ostream_unformatted.cc: Likewise.
2453 * testsuite/27_io/ostringstream_members.cc: Likewise.
2454 * testsuite/27_io/streambuf.cc: Likewise.
2455 * testsuite/27_io/stringbuf.cc: Likewise.
2456 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
2457 * testsuite/27_io/stringstream.cc: Likewise.
2458 * testsuite/27_io/stringstream_members.cc: Likewise.
2459 * testsuite/27_io/wide_stream_objects.cc: Likewise.
2461 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
2463 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
2465 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
2467 * configure.target: Remove mips from cpu table.
2468 * config/cpu/mips/bits/atomicity.h: Remove generic
2469 versions. Comment sgidefs include.
2471 2001-07-25 H.J. Lu <hjl@gnu.org>
2473 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
2476 * config/cpu/mips/bits/atomicity.h: New.
2478 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2480 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
2481 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
2482 * aclocal.m4: Regenerate.
2483 * config.h.in: Likewise.
2484 * configure: Likewise.
2485 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
2486 (EXTRA_DIST): Remove hypot.c hypotf.c.
2487 * libmath/Makefile.am: Regenerate.
2488 * libmath/hypotf.c: Remove.
2489 * libmath/hypot.c: Likewise.
2490 * libmath/hypotl.c: Likewise.
2491 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
2492 _GLIBCPP_HAVE_xxx. Add long double versions.
2494 2001-07-23 David Edelsohn <edelsohn@gnu.org>
2496 * include/bits/limits_generic.h (int): Set digits and digits10
2497 appropriately for word size.
2498 (unsigned int,long,unsigned long): Likewise.
2500 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2502 * include/bits/stl_algo.h : Fix typos.
2503 * testsuite/25_algorithms/unique.cc: New file.
2505 2001-07-19 Phil Edwards <pme@sources.redhat.com>
2506 Mark Mitchell <mark@codesourcery.com>
2508 Merge from cp-parser-branch.
2509 * include/bits/basic_string.h: Qualify symbols with 'template'.
2510 * include/bits/basic_string.tcc: Likewise.
2511 * include/bits/fstream.tcc: Likewise.
2512 * include/bits/istream.tcc: Likewise.
2513 * include/bits/sstream.tcc: Likewise.
2514 * include/bits/std_istream.h: Likewise.
2515 * include/bits/stl_iterator.h: Likewise.
2516 * include/bits/streambuf.tcc: Likewise.
2517 * src/gen-num-limits.cc: Add 'template<>' to specializations.
2518 * src/locale.cc: Likewise.
2520 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2521 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
2523 * src/gen-num-limits.cc (set_signals_handler): New function.
2524 Factor out signals setting. Set signal handler for SIGILL.
2526 2001-07-18 Phil Edwards <pme@sources.redhat.com>
2528 * docs/html/27_io/howto.html: Fix typo.
2529 * docs/html/faq/index.html: Minor updates for 3.0 all around.
2530 * docs/html/faq/index.txt: Regenerated.
2532 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
2533 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
2536 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
2537 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
2539 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
2541 All occurrences of the __value_type() and __distance_type()
2542 functions, which were required to support the HP STL, have been
2543 removed along with all the auxiliary forwarding functions that
2544 were required to support their use.
2546 The __iterator_category() function was pretty much left alone
2547 because there was no benefit to removing it and its use made code
2548 just a little more readable.
2550 Incidences of distance() with nonstandard argument list were
2551 replaced by calls to the standard function (only in the files
2552 affected by the removal of the other HP functions).
2554 The signature of the rotate() algorithm was changed to match the
2557 Headers were reformatted under C++STYLE guidelines (indentation,
2558 linebreaks, typename keyword).
2560 * include/bits/stl_algo.h: replaced __value_type() and
2561 __distance_type() with iterator_traits, eliminated auxiliary
2562 support functions required to support said function usage.
2563 Changed nonstandard distance() call to standard call.
2565 * include/bits/stl_algobase.h: Same.
2566 * include/bits/stl_heap.h: Same.
2567 * include/bits/stl_numeric.h: Same.
2568 * include/bits/stl_uninitialized.h: Same.
2569 * include/bits/stl_iterator_base_types.h (__value_type()):
2571 (__distance_type()): Removed.
2572 (value_type()): Gone.
2573 (distance_type()): Done in.
2574 (iterator_category()): Hasta la vista, baby.
2576 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
2577 Replaced with __iterator_category().
2578 * include/backward/iterator.h: moved definition of value_type(),
2579 distance_type(), and iterator_category() out of std:: and into
2581 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
2582 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
2583 * testsuite/25_algorithms/rotate.cc: New testcase.
2584 * testsuite/25_algorithms/copy.cc: New testcase.
2585 * testsuite/25_algorithms/sort.cc: Same.
2586 * testsuite/25_algorithms/heap.cc: Same.
2587 * testsuite/25_algorithms/partition.cc: Same.
2588 * testsuite/25_algorithms/binary_search.cc: Same.
2589 * testsuite/26_numerics/sum_diff.cc: Ditto.
2591 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
2593 * testsuite/README: Add notes on naming test cases.
2594 * testsuite/22_locale/members.cc: Mark as xfail.
2595 * testsuite/22_locale/numpunct_char_members.cc: Same.
2597 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
2599 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
2600 setting C_INCLUDE_DIR.
2601 * configure.in: Revert yesterday's LN_S change.
2602 * aclocal.m4: Regenerate.
2603 * configure: Regenerate.
2605 2001-07-15 Phil Edwards <pme@sources.redhat.com>
2607 * configure.in: Temporarily force LN_S to copy instead of symlink.
2608 * configure: Regenerate.
2610 2001-07-13 Phil Edwards <pme@sources.redhat.com>
2612 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
2613 Initialize _M_string with pointer-and-size constructor, not just
2614 pointer. Fix some comments.
2615 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
2616 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
2617 (test03): Add embedded-NUL tests.
2619 * mkcheck.in: When printing totals, match the order of the tests.
2620 * include/bits/stringfwd.h: Use same declaration keywords.
2621 * include/bits/std_iosfwd.h: Cosmetic spacing.
2623 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
2624 Loren J. Rittle <ljrittle@acm.org>
2625 Phil Edwards <pme@sources.redhat.com>
2627 * include/Makefile.am: New file encapsulating header generation rules.
2628 * Makefile.am (SUBDIRS): Prepend 'include' directory.
2629 * acinclude.m4: Moved/removed rules for building various headers.
2630 * configure.in (AC_OUTPUT): Add include/Makefile.
2631 * mkc++config: Removed.
2633 * testsuite_flags.in: Changed build-includes to match new scheme.
2634 * mknumeric_limits: Likewise.
2635 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
2636 * libmath/Makefile.am: Likewise.
2637 * libsupc++/Makefile.am: Likewise.
2638 * src/Makefile.am: Likewise; removed rules to build headers.
2639 * libmath/mathconf.h: Changed #include'd header names to match.
2640 * libmath/stubs.c: Likewise.
2641 * src/gen-num-limits.cc: Likewise.
2643 * configure: Regenerated.
2644 * config.h.in: Regenerated.
2645 * aclocal.m4: Regenerated.
2646 * Makefile.in: Regenerated.
2647 * include/Makefile.in: Regenerated.
2648 * libio/Makefile.in: Regenerated.
2649 * libmath/Makefile.in: Regenerated.
2650 * libsupc++/Makefile.in: Regenerated.
2651 * src/Makefile.in: Regenerated.
2652 * testsuite/Makefile.in: Regenerated.
2654 2001-07-11 Felix Natter <fnatter@gmx.net>
2656 * docs/html/17_intro/porting-howto.xml: Initial checkin of
2658 * docs/html/17_intro/porting-howto.html: check in v0.9.3
2660 2001-07-11 Phil Edwards <pme@sources.redhat.com>
2662 * docs/doxygen/run_doxygen: Don't keep output from previous run.
2663 * docs/doxygen/user.cfg.in: Tweaks.
2664 * include/bits/c++config: Documentation comments for Doxygen.
2665 * include/bits/char_traits.h: Likewise.
2666 * include/bits/limits_generic.h: Likewise.
2667 * include/bits/std_stdexcept.h: Likewise.
2668 * include/bits/stl_pair.h: Likewise.
2669 * libsupc++/exception: Likewise.
2670 * libsupc++/new: Likewise.
2671 * libsupc++/typeinfo: Likewise.
2672 * libmath/Makefile.am: Update and correct copyright.
2674 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2676 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
2677 * aclocal.m4: Regenerate.
2680 2001-07-09 Phil Edwards <pme@sources.redhat.com>
2682 * docs/html/configopts.html: Fix thinko.
2683 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
2684 * include/bits/stl_iterator.h: Fix typo.
2686 2001-07-09 Phil Edwards <pme@sources.redhat.com>
2688 * docs/html/explanations.html: New file.
2689 * docs/html/configopts.html: Link to it to provide more notes
2690 on cstdio. Minor markup and spacing fixes.
2691 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
2693 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
2695 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
2696 for _Expr template template argument.
2697 (_Expr::operator-): Likewise.
2698 (_Expr::operator~): Likewise.
2699 (_Expr::operator!): Likewise.
2700 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
2702 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2704 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
2705 * libmath/Makefile.in: Regenerate.
2706 * libmath/expf.c: Remove.
2707 * libmath/atan2f.c: Likewise.
2709 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
2711 * configure.in: Remove NATIVE, NULL_TARGET.
2712 Set CANADIAN only for Canadian crosses. Set xcompiling
2713 for both Canadian crosses and host-x-host crosses.
2714 * configure: Regenerated.
2716 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2718 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
2720 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
2722 * testsuite_flags.in (--build-includes): backward, not backwards.
2724 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
2726 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
2727 Replace destroy by _Destroy.
2728 (_Rope_RopeRep::_S_free_string): Likewise.
2729 (rope::c_str()): Likewise.
2730 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
2731 (_Slist_base::_M_erase_after): Likewise.
2732 (slist::_M_create_node): Replace construct by _Construct.
2733 (slist::pop_front): Replace destroy by _Destroy.
2734 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
2735 construct by _Construct.
2736 (hashtable::_M_delete_node): Replace destroy by _Destroy.
2737 * include/ext/stl_rope.h (rope::rope): Replace construct by
2739 (rope::copy): Replace destroy by _Destroy.
2741 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
2743 * include/bits/localefwd.h: Format.
2744 * include/bits/locale_facts.tcc (locale::combine): Adjust.
2745 * src/locale.cc (locale::locale::(_Impl)): Don't call
2747 (locale::facet::_M_remove_reference): Simplify.
2748 * src/globals.cc (locale_impl_c): New. Format.
2750 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
2752 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2754 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
2755 expansion (thanks to Alexandre Oliva).
2756 * aclocal.m4: Regenerate.
2757 * configure: Regenerate.
2759 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
2761 * src/locale.cc (locale::locale(const char*)): Make sure global
2762 locales are initialized.
2763 * include/bits/locale_facets.tcc (locale::combine): Refcout should
2764 be zero, not one as it's return-by-value.
2765 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
2767 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
2770 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
2772 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2775 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
2776 * aclocal.m4: Regenerate.
2777 * configure: Regenerate.
2779 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2782 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
2783 staged/installed area to support -I-. Document.
2784 * aclocal.m4: Regenerate.
2785 * configure: Regenerate.
2787 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2790 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
2791 __out_bufsize. Add __in_bufsize, document it and use it.
2793 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
2795 * include/bits/stl_construct.h (construct): Remove.
2797 (__destroy): Replaced by use of iterator_traits.
2798 * include/bits/stl_deque.h: replaced HP iterator functions with
2800 (construct): changed to _Construct.
2801 (destroy): changed to _Destroy.
2802 * include/bits/stl_tempbuf.h: Same.
2803 * include/bits/stl_tree.h: Same.
2804 * include/bits/stl_vector.h: Same.
2805 * include/backward/iterator.h (construct): moved definition to here.
2808 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
2810 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
2811 before replacing facet.
2812 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
2814 * src/localename.cc (locale::_Impl): Correct ctor initialization
2815 lists. Initialize ref count with one. Simplify.
2816 * src/locale.cc: Add comment.
2817 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
2818 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
2819 * testsuite/22_locale/members.cc (test02): Fix.
2821 2001-06-27 Phil Edwards <pme@sources.redhat.com>
2823 * include/backward/algo.h: Add "GPL plus runtime exception" comment
2824 block, this time for real.
2825 * include/backward/algobase.h: Likewise.
2826 * include/backward/alloc.h: Likewise.
2827 * include/backward/bvector.h: Likewise.
2828 * include/backward/defalloc.h: Likewise.
2829 * include/backward/deque.h: Likewise.
2830 * include/backward/function.h: Likewise.
2831 * include/backward/hash_map.h: Likewise.
2832 * include/backward/hash_set.h: Likewise.
2833 * include/backward/hashtable.h: Likewise.
2834 * include/backward/heap.h: Likewise.
2835 * include/backward/iterator.h: Likewise.
2836 * include/backward/list.h: Likewise.
2837 * include/backward/map.h: Likewise.
2838 * include/backward/multimap.h: Likewise.
2839 * include/backward/multiset.h: Likewise.
2840 * include/backward/pair.h: Likewise.
2841 * include/backward/rope.h: Likewise.
2842 * include/backward/set.h: Likewise.
2843 * include/backward/slist.h: Likewise.
2844 * include/backward/stack.h: Likewise.
2845 * include/backward/strstream: Likewise.
2846 * include/backward/tempbuf.h: Likewise.
2847 * include/backward/tree.h: Likewise.
2848 * include/backward/vector.h: Likewise.
2849 * include/bits/pthread_allocimpl.h: Likewise.
2850 * include/bits/std_algorithm.h: Likewise.
2851 * include/bits/std_bitset.h: Likewise.
2852 * include/bits/std_deque.h: Likewise.
2853 * include/bits/std_functional.h: Likewise.
2854 * include/bits/std_iterator.h: Likewise.
2855 * include/bits/std_list.h: Likewise.
2856 * include/bits/std_map.h: Likewise.
2857 * include/bits/std_memory.h: Likewise.
2858 * include/bits/std_numeric.h: Likewise.
2859 * include/bits/std_queue.h: Likewise.
2860 * include/bits/std_set.h: Likewise.
2861 * include/bits/std_stack.h: Likewise.
2862 * include/bits/std_utility.h: Likewise.
2863 * include/bits/std_vector.h: Likewise.
2864 * include/bits/stl_algo.h: Likewise.
2865 * include/bits/stl_algobase.h: Likewise.
2866 * include/bits/stl_alloc.h: Likewise.
2867 * include/bits/stl_bvector.h: Likewise.
2868 * include/bits/stl_construct.h: Likewise.
2869 * include/bits/stl_deque.h: Likewise.
2870 * include/bits/stl_function.h: Likewise.
2871 * include/bits/stl_heap.h: Likewise.
2872 * include/bits/stl_iterator.h: Likewise.
2873 * include/bits/stl_iterator_base_funcs.h: Likewise.
2874 * include/bits/stl_iterator_base_types.h: Likewise.
2875 * include/bits/stl_list.h: Likewise.
2876 * include/bits/stl_map.h: Likewise.
2877 * include/bits/stl_multimap.h: Likewise.
2878 * include/bits/stl_multiset.h: Likewise.
2879 * include/bits/stl_numeric.h: Likewise.
2880 * include/bits/stl_pair.h: Likewise.
2881 * include/bits/stl_pthread_alloc.h: Likewise.
2882 * include/bits/stl_queue.h: Likewise.
2883 * include/bits/stl_raw_storage_iter.h: Likewise.
2884 * include/bits/stl_relops.h: Likewise.
2885 * include/bits/stl_set.h: Likewise.
2886 * include/bits/stl_stack.h: Likewise.
2887 * include/bits/stl_tempbuf.h: Likewise.
2888 * include/bits/stl_threads.h: Likewise.
2889 * include/bits/stl_tree.h: Likewise.
2890 * include/bits/stl_uninitialized.h: Likewise.
2891 * include/bits/stl_vector.h: Likewise.
2892 * include/bits/type_traits.h: Likewise.
2893 * include/ext/hash_map: Likewise.
2894 * include/ext/hash_set: Likewise.
2895 * include/ext/rope: Likewise.
2896 * include/ext/ropeimpl.h: Likewise.
2897 * include/ext/slist: Likewise.
2898 * include/ext/stl_hash_fun.h: Likewise.
2899 * include/ext/stl_hashtable.h: Likewise.
2900 * include/ext/stl_rope.h: Likewise.
2901 * src/bitset.cc: Likewise.
2902 * src/strstream.cc: Likewise.
2904 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2905 <vakatov@ncbi.nlm.nih.gov>
2908 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
2909 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
2910 * testsuite/27_io/istream_extractor_other.cc: Fix.
2912 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
2914 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
2915 * aclocal.m4: Regenerate.
2916 * configure: Regenerate.
2918 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2920 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
2921 (ostream_iterator): Same.
2922 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
2923 Change argument to const_reference.
2924 (back_insert_iterator): Same.
2926 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2928 * include/bits/sbuf_iter.h: Change to..
2929 * include/bits/streambuf_iterator.h: This.
2930 * include/bits/stl_iterator.h: Take out of here...
2931 * include/bits/stream_iterator.h: Add.
2932 * src/Makefile.am (base_headers): Add streambuf_iterator,
2934 * src/Makefile.in: Regenerate.
2935 * include/bits/std_string.h: Adjust includes.
2936 * include/bits/basic_ios.h: Same.
2937 * include/bits/locale_facets.tcc: Same.
2938 * include/bits/std_iosfwd.h: Same.
2940 * include/bits/std_iterator.h: Add istream, ostream includes.
2941 * include/bits/stl_iterator.h: Tweak.
2942 * testsuite/24_iterators/ostream_iterator.cc: Add test.
2943 * testsuite/24_iterators/istream_iterator.cc: Same.
2944 * testsuite/23_containers/multiset.cc: Add iterator include.
2946 2001-06-26 Phil Edwards <pme@sources.redhat.com>
2948 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
2949 * aclocal.m4: Regenerate.
2950 * configure: Regenerate.
2952 2001-06-26 Felix Natter <f.natter@ndh.net>
2954 * docs/html/17_intro/porting-howto.html: Fixed some errors.
2956 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2958 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
2960 (istream_iterator::operator*): Same.
2962 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2963 Alexandre Petit-Bianco <apbianco@redhat.com>
2965 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
2966 is on 41st, not 14th.
2968 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
2970 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
2972 * include/bits/stl_iterator.h (istream_iterator): Inherit from
2974 (ostream_iterator): Same.
2975 * testsuite/24_iterators/istream_iterator.cc: New file.
2976 * testsuite/24_iterators/ostream_iterator.cc: New file.
2978 * include/bits/sbuf_iter.h: Remove self typedef.
2979 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
2980 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
2982 * include/bits/stl_iterator.h (reverse_iterator): Remove
2983 extraneous typedefs. Add typename.
2984 (__normal_iterator): Remove typedefs referring to self. Add typename.
2985 (reverse_bidiretional_iterator): Remove, not longer required.
2987 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2989 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
2990 dependent names with `typename'. Bring in various required
2991 iterator_traits members. Can't imagine why that used to work.
2993 2001-06-25 Phil Edwards <pme@sources.redhat.com>
2994 Kurt Garloff <garloff@suse.de>
2997 * src/cmath.cc: New [version of an old] file; instantiate
2998 __cmath_power to start with.
2999 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
3000 * Makefile.in: Regenerate.
3001 * libio/Makefile.in: Regenerate.
3002 * libmath/Makefile.in: Regenerate.
3003 * libsupc++/Makefile.in: Regenerate.
3004 * src/Makefile.in: Regenerate.
3005 * testsuite/Makefile.in: Regenerate.
3007 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3009 * libmath/stubs.c: Fix thinko.
3011 2001-06-24 David Edelsohn <dje@watson.ibm.com>
3013 * libmath/stubs.c (sqrtf): Define.
3014 (tanf): Correct typo.
3016 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
3018 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
3020 (back_insert_iterator): Same.
3021 (front_insert_iterator): Same.
3022 (insert_iterator): Same.
3024 * testsuite/20_util/raw_storage_iterator.cc: Modify.
3025 * testsuite/24_iterators/reverse_iterator.cc: New file.
3026 * testsuite/24_iterators/back_insert_iterator.cc: New file.
3027 * testsuite/24_iterators/front_insert_iterator.cc: New file.
3028 * testsuite/24_iterators/insert_iterator.cc: New file.
3030 2001-06-22 Phil Edwards <pme@sources.redhat.com>
3032 * include/*: Revert comment/license change from yesterday for all
3033 except libsupc++/unwind-cxx.h.
3034 * src/bitset.cc: Likewise.
3035 * src/strstream.cc: Likewise.
3037 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3039 * libmath/stubs.c: New file.
3043 * libmath/Makefile.am (libmath_la_SOURCES): Add.
3044 * libmath/Makefile.in. Regenerate.
3046 2001-06-21 Phil Edwards <pme@sources.redhat.com>
3048 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
3049 * include/backward/algobase.h: Likewise.
3050 * include/backward/alloc.h: Likewise.
3051 * include/backward/bvector.h: Likewise.
3052 * include/backward/defalloc.h: Likewise.
3053 * include/backward/deque.h: Likewise.
3054 * include/backward/function.h: Likewise.
3055 * include/backward/hash_map.h: Likewise.
3056 * include/backward/hash_set.h: Likewise.
3057 * include/backward/hashtable.h: Likewise.
3058 * include/backward/heap.h: Likewise.
3059 * include/backward/iterator.h: Likewise.
3060 * include/backward/list.h: Likewise.
3061 * include/backward/map.h: Likewise.
3062 * include/backward/multimap.h: Likewise.
3063 * include/backward/multiset.h: Likewise.
3064 * include/backward/pair.h: Likewise.
3065 * include/backward/rope.h: Likewise.
3066 * include/backward/set.h: Likewise.
3067 * include/backward/slist.h: Likewise.
3068 * include/backward/stack.h: Likewise.
3069 * include/backward/strstream: Likewise.
3070 * include/backward/tempbuf.h: Likewise.
3071 * include/backward/tree.h: Likewise.
3072 * include/backward/vector.h: Likewise.
3073 * include/bits/pthread_allocimpl.h: Likewise.
3074 * include/bits/std_algorithm.h: Likewise.
3075 * include/bits/std_bitset.h: Likewise.
3076 * include/bits/std_deque.h: Likewise.
3077 * include/bits/std_functional.h: Likewise.
3078 * include/bits/std_iterator.h: Likewise.
3079 * include/bits/std_list.h: Likewise.
3080 * include/bits/std_map.h: Likewise.
3081 * include/bits/std_memory.h: Likewise.
3082 * include/bits/std_numeric.h: Likewise.
3083 * include/bits/std_queue.h: Likewise.
3084 * include/bits/std_set.h: Likewise.
3085 * include/bits/std_stack.h: Likewise.
3086 * include/bits/std_utility.h: Likewise.
3087 * include/bits/std_vector.h: Likewise.
3088 * include/bits/stl_algo.h: Likewise.
3089 * include/bits/stl_algobase.h: Likewise.
3090 * include/bits/stl_alloc.h: Likewise.
3091 * include/bits/stl_bvector.h: Likewise.
3092 * include/bits/stl_construct.h: Likewise.
3093 * include/bits/stl_deque.h: Likewise.
3094 * include/bits/stl_function.h: Likewise.
3095 * include/bits/stl_heap.h: Likewise.
3096 * include/bits/stl_iterator.h: Likewise.
3097 * include/bits/stl_iterator_base_funcs.h: Likewise.
3098 * include/bits/stl_iterator_base_types.h: Likewise.
3099 * include/bits/stl_list.h: Likewise.
3100 * include/bits/stl_map.h: Likewise.
3101 * include/bits/stl_multimap.h: Likewise.
3102 * include/bits/stl_multiset.h: Likewise.
3103 * include/bits/stl_numeric.h: Likewise.
3104 * include/bits/stl_pair.h: Likewise.
3105 * include/bits/stl_pthread_alloc.h: Likewise.
3106 * include/bits/stl_queue.h: Likewise.
3107 * include/bits/stl_raw_storage_iter.h: Likewise.
3108 * include/bits/stl_relops.h: Likewise.
3109 * include/bits/stl_set.h: Likewise.
3110 * include/bits/stl_stack.h: Likewise.
3111 * include/bits/stl_tempbuf.h: Likewise.
3112 * include/bits/stl_threads.h: Likewise.
3113 * include/bits/stl_tree.h: Likewise.
3114 * include/bits/stl_uninitialized.h: Likewise.
3115 * include/bits/stl_vector.h: Likewise.
3116 * include/bits/type_traits.h: Likewise.
3117 * include/ext/hash_map: Likewise.
3118 * include/ext/hash_set: Likewise.
3119 * include/ext/rope: Likewise.
3120 * include/ext/ropeimpl.h: Likewise.
3121 * include/ext/slist: Likewise.
3122 * include/ext/stl_hash_fun.h: Likewise.
3123 * include/ext/stl_hashtable.h: Likewise.
3124 * include/ext/stl_rope.h: Likewise.
3125 * libsupc++/unwind-cxx.h: Likewise.
3126 * src/bitset.cc: Likewise.
3127 * src/strstream.cc: Likewise.
3129 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3131 * include/bits/indirect_array.h (indirect_array<>::operator=):
3132 Make copy and assignment operator public. Implement. Format.
3134 * include/bits/valarray_array.h (__valarray_copy): Add overloads
3135 for copy between index arrays. Format.
3137 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
3139 * mknumeric_limits: Add static definitions, format.
3140 * testsuite/18_support/numeric_limits.cc (test02): Add test.
3142 * include/c_std/bits/std_cwchar.h: Include ctime.
3143 * testsuite/17_intro/header_cwchar.cc : Check.
3145 * include/c_std/bits/std_cwctype.h: Inject wctype.
3146 * testsuite/17_intro/header_cwctype.cc: Update.
3148 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
3150 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
3151 * testsuite/20_util/raw_storage_iterator.cc: Same.
3153 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
3155 (__mem_interface): New typedef for switching between malloc and new.
3156 * testsuite/20_util/allocator_members.cc: New file.
3158 * testsuite/20_util/comparisons.cc: New file.
3159 * testsuite/20_util/pairs.cc: New file.
3161 2001-06-15 Phil Edwards <pme@sources.redhat.com>
3163 * docs/html/documentation.html: Point to new doxygen'ed collection.
3165 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
3167 * configure.in (auxdir): Replace by ...
3168 (toprel): ... new variable.
3169 (toplevel_srcdir): Construct from $toprel.
3170 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
3171 rather than .. to locate gcc source directory.
3172 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
3173 * aclocal.m4, configure: Rebuilt.
3175 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3177 (Approved by Mark and Benjamin. Applied by Loren.)
3179 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
3180 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
3181 and _GLIBCPP_mutex_address.
3182 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
3183 once-only runtime initialization of _M_lock mutex when
3184 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
3185 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
3186 for __GTHREAD_MUTEX_INIT_FUNCTION case.
3188 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3190 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
3192 * include/bits/slice_array.h (slice_array<>::operator=): Make
3193 public and implement.
3194 (slice_array<>::slice_array): Make copy-constructor public.
3196 * include/bits/valarray_array.h (__valarray_copy): Add another
3197 overload to copy between strided arrays.
3199 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
3201 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
3202 * aclocal.m4: Regenerate.
3203 * configure: Regenerate.
3204 * include/bits/c++config (__GLIBCPP__): Update date.
3206 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3208 * include/bits/fpos.h (fpos::operator-): Don't return reference,
3209 return original, non-modified version.
3210 (fpos::operator+): Same.
3211 * testsuite/27_io/fpos.cc: Add test.
3213 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
3216 * porting.texi: Add documentation about libstdc++-v3-specific
3217 macros that are currently included in os_defines.h files.
3219 * config/basic_file_stdio.h (sys_getc): New method.
3220 (sys_ungetc): New method.
3221 * include/bits/basic_file.h: (sys_getc): New method signature.
3222 (sys_ungetc): New method signature.
3224 * include/bits/fstream.tcc (underflow): Add conditional code
3225 paths which avoid using short seeks on streams (especially
3226 useful when the stream might be interactive or a pipe). At
3227 the moment, this alternate path only avoids seeking when the
3228 ``buffer size'' of underflow() is 1 since the C standard only
3229 guarantees buffer space for one ungetc (this technique could
3230 be extended since *-*-solaris* supports buffering for 4 calls
3231 to ungetc and *-*-*bsd* supports buffering limited only by
3232 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
3233 in a port's os_defines.h file for this alternate path to even
3234 be considered. As a bonus, the idiom of using getc/ungetc
3235 requires no system calls whereas fseek maps to one or two
3236 system call(s) on many platforms.
3238 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
3240 * config/os/solaris/solaris2.5/bits/os_defines.h
3241 (_GLIBCPP_AVOID_FSEEK): Likewise.
3242 * config/os/solaris/solaris2.6/bits/os_defines.h
3243 (_GLIBCPP_AVOID_FSEEK): Likewise.
3244 * config/os/solaris/solaris2.7/bits/os_defines.h
3245 (_GLIBCPP_AVOID_FSEEK): Likewise.
3247 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3249 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
3250 AC_TRY_COMPILE, so that the built compiler is checked, and
3251 bootstraps or cross compiles with an older compile still work.
3252 * aclocal.m4: Regenerate.
3253 * configure: Regenerate.
3255 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3258 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
3261 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
3264 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
3267 * include/bits/limits_generic.h: Fix as per DR 184.
3269 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3272 * include/bits/basic_string.h (string::compare): Adjust signatures
3274 * include/bits/basic_string.tcc: And here.
3277 * config/c_io_stdio.h: Remove whitespace.
3278 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
3279 (test02): Add regression.
3280 * testsuite/27_io/istream_seeks-3.tst: New file.
3282 2001-06-11 Phil Edwards <pme@sources.redhat.com>
3284 * README: Update to reflect reality.
3285 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
3286 * configure.in: Make certain target_alias is set and subst'd for 2.50.
3287 * aclocal.m4: Regenerate.
3288 * configure: Regenerate (with 2.13).
3290 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3293 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
3295 * include/bits/istream.tcc (istream::seekg): Same.
3296 * testsuite/27_io/istream_seeks.cc: Fix.
3299 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
3301 * include/bits/std_queue.h: Add c++config.h.
3302 * testsuite/20_util/binders.cc: New test.
3304 2001-06-11 Matthias Klose <doko@debian.org>
3305 Phil Edwards <pme@sources.redhat.com>
3307 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
3308 (main script): Echo more information.
3310 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3312 * include/c_std/bits/std_cwchar.h: Alphabetize.
3313 * include/bits/char_traits.h: Tweak.
3314 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
3315 everything used by std_cwchar.h.
3316 * aclocal.m4: Regenerate.
3317 * configure.in: Regenerate.
3318 * config.h.in: Regenerate.
3320 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3322 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
3323 Add checking for strtof, _Exit in stdlib.h
3324 * aclocal.m4: Regenerate.
3325 * configure.in: Regenerate.
3326 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
3327 (snprintf): Put C99 functions into __gnu_cxx namespace.
3332 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
3333 for C99 functions within _GLIBCPP_USE_C99 guard.
3337 * include/bits/locale_facets.tcc: Check if C99 is enabled.
3338 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
3340 * include/c_std/bits/cmath.tcc: Formatting tweak.
3341 * include/c_std/bits/std_cmath.h: Same.
3343 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3345 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
3347 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
3348 Stephen L Moshier <moshier@mediaone.net>
3350 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
3351 nothing, as in autoconf 2.50.
3352 * configure: Rebuilt.
3354 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3356 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
3357 include std_cstddef.
3358 * include/c_std/bits/std_ctime.h: Same.
3359 * include/c_std/bits/std_cstring.h: Same.
3360 * include/c_std/bits/std_cstdlib.h: Same.
3362 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
3363 * include/c_std/bits/std_cctype.h: Remove isblank.
3365 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3367 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
3369 * aclocal.m4: Regenerate.
3370 * configure: Regenerate.
3371 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
3372 injection, guard fgetwc, fgetws.
3373 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
3374 * include/c_std/bits/std_clocale.h: And here.
3375 * include/c_std/bits/std_cctype.h: And here.
3376 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
3378 * config/basic_file_stdio.h: Don't include unistd.h.
3379 * config/c_io_stdio.h: Don't use compatibility headers.
3380 * libsupc++/eh_terminate.cc: Qualify abort.
3381 (__terminate): And here.
3382 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
3384 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
3386 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
3388 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
3393 * include/std/*: Add copyright notice.
3394 * include/c_std/bits/*: Use using statements instead of extern "C".
3395 * include/c_std/bits/std_cmath.h: Don't overload double versions
3396 of math functions with __buitin versions, use global version to
3397 prevent ambiguities. Remove define hacks.
3398 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
3399 functions that have changed signatures and std::
3400 declarations. Remove define hacks.
3401 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
3402 __builtins in std::. Remove define hacks.
3403 * testsuite/17_intro/headers_c.cc: Add tests.
3404 * testsuite/17_intro/headers_c++.cc: Add test.
3406 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3407 John David Anglin <dave@hiauly1.hia.nrc.ca>
3410 * libsupc++/eh_alloc.cc: Ensure that required macros are
3411 defined before including gthr.h. Ensure that we get the
3412 version of gthr.h for which we know how to provide a
3414 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
3415 code path into line with the current EH model. Use std, where
3418 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3419 John David Anglin <dave@hiauly1.hia.nrc.ca>
3421 * config/threads-no.h: Remove file.
3422 * config/threads-posix.h: Remove file.
3424 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
3425 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
3426 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
3427 * config.h.in: Regenerate.
3429 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
3430 setup and use gthr*.h files. In particular, make gthr.h files
3431 namespace-clean in the staging area (they don't have to be for
3433 * aclocal.m4: Regenerate.
3434 * configure: Regenerate.
3436 * src/Makefile.am (build_headers): Remove bits/c++threads.h
3437 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
3438 * src/Makefile.in: Regenerate.
3440 * include/bits/c++config: Cleanup threading configuration macros.
3441 In particular, define __STL_GTHREADS macro which controls...
3442 * include/bits/stl_threads.h: ...a brand new gthr.h-based
3445 * config/c_io_stdio.h: Include staged gthr.h instead of local
3446 thread configuration file. Always use __gthread_mutex_t
3447 instead of __mutext_type (or int).
3448 * include/bits/std_fstream.h: Likewise.
3450 * docs/html/17_intro/howto.html: Remove placeholder comment in
3451 case this configuration patch didn't make it. Add advice that
3452 section only applies if configured with --enable-threads.
3453 * docs/html/23_containers/howto.html: Reword to make clear
3454 that _PTHREADS is no longer required for any port to be
3455 correctly using STL with threads. Add advice that section
3456 only applies if configured with --enable-threads.
3458 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
3460 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
3462 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
3465 * include/bits/basic_ios.tcc: Formatting tweaks.
3466 * include/bits/ios_base.h: Formatting tweaks.
3467 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
3468 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
3469 * src/globals.cc: Allocate filebufs for standard streams here.
3470 (buf_cout, buf_cin, buf_cerr): Like so.
3471 (buf_wcout, buf_wcin, buf_wcerr): And so.
3472 * testsuite/27_io/ios_init.cc: Add.
3474 2001-06-04 Brendan Kehoe <brendan@zen.org>
3475 Benjamin Kosnik <bkoz@redhat.com>
3478 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
3479 for generic ctype virtuals.
3480 * src/locale.cc: Minor tweaks, naming consistency.
3481 * testsuite/22_locale/ctype.cc: Add test.
3483 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
3484 Phil Edwards <pme@sources.redhat.com>
3486 PR libstdc++/3035 and PR libstdc++/3036
3487 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
3488 to LWG DR 181 and 265.
3490 2001-06-04 Phil Edwards <pme@sources.redhat.com>
3493 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
3494 equal_range): Add const overloads as per LWG DR 214.
3495 * include/bits/stl_set.h: Likewise.
3497 2001-06-04 Brendan Kehoe <brendan@zen.org>
3498 Phil Edwards <pme@sources.redhat.com>
3501 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
3502 comparison; all positions must be < _Nb.
3503 * testsuite/23_containers/bitset_members.cc: New file.
3505 2001-06-04 Brendan Kehoe <brendan@zen.org>
3508 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
3509 ctors to match the standard.
3511 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3513 * include/bits/char_traits.h (move): Reverse qualification of
3515 (copy): Reverse qualification of memcpy with std::.
3517 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3519 * include/bits/char_traits.h (move): Qualify memmove with std::.
3520 (copy): Qualify memcpy with std::.
3521 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
3524 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
3526 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
3528 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
3529 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
3530 SUN make VPATH peculiarities.
3531 * libsupc++/Makefile.in: Regenerate.
3533 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
3535 * src/Makefile.am (VPATH): Delimit with ":", not space.
3536 * src/Makefile.in: Regenerate.
3538 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
3540 * configure: Regenerate.
3542 2001-05-31 scott snyder <snyder@fnal.gov>
3545 * include/bits/istream.tcc: Include std_ostream.h.
3547 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
3550 * src/bitset.cc: Qualify size_t with std::.
3552 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
3554 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
3555 (_GLIBCPP_BUGGY_COMPLEX): Remove.
3556 * config.h.in: Regenerate.
3557 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
3558 * aclocal.m4: Regenerate.
3559 * configure.in: Don't call it.
3560 * configure: Regenerate.
3563 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
3564 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
3568 * include/bits/std_complex.h: Include sstream. Put definitions for
3569 complex inserters and extractors here, and remove them from...
3570 * src/complex_io.cc: ...here.
3571 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
3573 (basic_ios::__numget_type): Same.
3574 * include/bits/std_istream.h: Same.
3575 * include/bits/std_ostream.h: Same.
3576 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
3577 class iterator template arguments.
3578 * src/locale-inst.cc: Add explicit has_facet instantiations.
3579 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
3580 (_M_get_fnumput): Remove.
3581 (_M_get_fnumget): Remove.
3582 (basic_ios::_M_check_facet): New function.
3583 (basic_ios::_M_cache_facets): New function.
3584 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
3585 (basic_ios::imbue): Call _M_cache_facets.
3586 (basic_ios::init): Same.
3587 * include/bits/istream.tcc: Format, use _M_check_facet.
3588 * include/bits/ostream.tcc: Same.
3589 * include/bits/locale_facets.tcc (__output_float): Change
3590 signature, add _Traits.
3591 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
3594 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
3596 * include/bits/c++config (__USE_MALLOC): Do not define it.
3597 Document why not and give pointers to more information.
3599 * docs/html/23_containers/howto.html: Update documentation
3600 to reflect recent understanding of problem.
3601 * docs/html/17_intro/howto.html: Likewise.
3603 2001-05-30 Phil Edwards <pme@sources.redhat.com>
3605 * docs/doxygen/user.cfg.in: Minor addition.
3606 * docs/html/documentation.html: Reorganize. Put most-looked-at
3608 * docs/html/install.html: Update for 3.0. HTML fixups.
3609 * docs/html/17_intro/howto.html: Likewise.
3610 * docs/html/18_support/howto.html: Likewise.
3611 * docs/html/19_diagnostics/howto.html: Likewise.
3612 * docs/html/20_util/howto.html: Likewise.
3613 * docs/html/23_containers/howto.html: Likewise.
3614 * docs/html/24_iterators/howto.html: Likewise. More notes.
3615 * docs/html/25_algorithms/howto.html: Likewise.
3616 * docs/html/26_numerics/howto.html: Likewise. More notes.
3617 * docs/html/27_io/howto.html: Likewise.
3618 * docs/html/ext/howto.html: Likewise.
3619 * docs/html/faq/index.html: Likewise.
3620 * docs/html/faq/index.txt: Regenerate.
3621 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
3622 Doxygen-created documentation.
3624 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3626 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
3627 get_multilibs to find gcc.
3629 2001-05-30 Phil Edwards <pme@sources.redhat.com>
3631 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
3632 * aclocal.m4: Regenerate.
3633 * configure: Regenerate.
3635 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3637 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
3638 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
3640 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3642 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
3643 * include/c_std/bits/std_cstdlib.h: Same.
3644 * include/c_std/bits/std_cwchar.h: Same.
3646 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
3648 * docs/html/17_intro/howto.html: Update link.
3649 * docs/html/23_containers/howto.html: Likewise. Add new link.
3651 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
3653 * include/c_std/bits/std_cmath.h (sqrt): #undef.
3655 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3657 * mknumeric_limits: Stop if gen-num-limits dies.
3659 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
3662 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
3663 * aclocal.m4: Regenerate.
3666 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3667 Phil Edwards <pme@sources.redhat.com>
3668 Alexandre Oliva <aoliva@redhat.com>
3670 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3671 in an amd-safe manner. Revert glibcpp_prefixdir.
3673 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
3675 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
3676 fabs, sin, sqrt. They are now implemented in terms of __builtin_
3679 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
3682 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
3683 * include/bits/ostream.tcc: Format to match istream.tcc.
3684 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
3686 2001-05-24 Phil Edwards <pme@sources.redhat.com>
3688 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
3690 (__cxa_free_exception): Likewise with free.
3692 2001-05-24 Mark Mitchell <mark@codesourcery.com>
3694 * include/c_std/bin/std_cstring.h: #define away all global
3695 functions we will redeclare in namespace `std'.
3696 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
3697 std::memset, instead of memset.
3698 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
3700 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
3703 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
3706 * include/bits/basic_ios.tcc: Small tweak.
3707 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
3708 ctors and dtors, and rdbuf settings.
3711 * include/bits/std_sstream.h: Same, but for stringstream classes.
3712 * testsuite/27_io/ostringstream_members.cc: New.
3713 * testsuite/27_io/stringstream_members.cc: New.
3714 * testsuite/27_io/fstream_members.cc: New.
3715 * testsuite/27_io/ifstream_members.cc: Add test.
3716 * testsuite/27_io/istringstream_members.cc: Add test.
3717 * testsuite/27_io/ofstream_members.cc: Add test.
3719 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3721 * include/bits/c++config(__NO_MATH_INLINES): Move to...
3722 * config/os/gnu-linux/bits/os_defines.h: ...here.
3724 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
3726 * include/bits/c++config (__NO_MATH_INLINES): New macro.
3727 * testsuite/26_numerics/fabs_inline.cc (main): New test.
3729 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
3732 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
3734 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
3735 (libstdc++-v3-finish): Remove.
3736 (libstdc++-v3_exit): Remove.
3738 2001-05-22 Phil Edwards <pme@sources.redhat.com>
3740 * docs/html/documentation.html: Point to doxygen output.
3742 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
3744 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
3746 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
3747 arguments to be non-null.
3748 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
3749 try allocations if allocated size is greater than zero.
3750 (filebuf::_M_filebuf_init): Change to
3751 (filebuf::_M_allocate_file): Which is what it does now.
3752 (filebuf::_M_allocate_bufers): Change to
3753 (filebuf::_M_allocate_internal_buffer): This, and create
3754 (filebuf::_M_allocate_pback_buffer): New.
3755 (filebuf::_M_destroy_internal_buffer): New.
3756 (filebuf::_M_buf_allocated): New data member.
3757 (filebuf::setbuf): Use new logic, allow use of external buffer.
3758 * testsuite/27_io/stringbuf_virtuals.cc: New file.
3759 * testsuite/27_io/filebuf_virtuals.cc: New file.
3761 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
3763 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
3765 (strchr): Same, but to __glibcpp_strchr.
3769 * include/c_std/bits/std_cwchar.h (wcschr): Same.
3775 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
3777 * testsuite/21_strings/c_strings.cc (main): Fix.
3779 2001-05-19 Phil Edwards <pme@sources.redhat.com>
3781 * acinclude.m4: Fix --help spacing, correct comments.
3782 * aclocal.m4: Regenerate.
3783 * configure: Regenerate.
3784 * mkcheck.in: Add usage comments.
3785 * docs/html/documentation.html: Point to doxygen'd tarball.
3787 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
3789 * testsuite/README: Add notes.
3791 * src/Makefile.am (libstdc++.INC): Remove.
3792 * src/Makefile.in: Regenerate.
3794 Phil Edwards <pedwards@disaster.jaj.com>
3795 * mkcheck.in: Add missing '#'.
3797 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3799 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
3800 appropriately for remote testing and testing installed files without
3803 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
3805 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3806 amd glibcpp_prefixdir with absolute paths.
3808 * include/bits/c++config (__GLIBCPP__): Bump.
3809 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
3811 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
3813 * include/bits/std_valarray.h (valarray<>::operator[] const):
3814 Return a const reference.
3815 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
3817 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
3819 * configure.target (ATOMICITYH): Actually use AIX-specific code on
3820 earlier versions of AIX 4.*.
3822 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3824 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
3825 output_file based on the name of the testcase.
3827 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3829 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
3830 gluefile and use it if needs_status_wrapper is set.
3832 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
3834 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
3837 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
3839 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
3840 on earlier versions of AIX.
3842 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
3844 * testsuite_flags.in (query): Add backwards, ext directories.
3846 2001-05-15 Mark Mitchell <mark@codesourcery.com>
3848 * porting.texi: Correct documentation about handling
3849 _LARRGEFILE_SOURCE and its ilk.
3850 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
3851 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
3853 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
3854 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
3856 2001-05-15 Zack Weinberg <zackw@stanford.edu>
3858 * testsuite/21_strings/inserters_extractors.cc,
3859 testsuite/27_io/istream_unformatted.cc,
3860 testsuite/27_io/stringstream.cc:
3861 Replace multi-line string constants with C89-style
3862 concatenated string constants.
3864 2001-05-14 Richard Henderson <rth@redhat.com>
3866 * mknumeric_limits: Build with -fno-exceptions.
3868 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
3870 Switch over to new harness.
3871 * testsuite_flags.in: Tweaks via Gaby.
3872 * testsuite/Makefile.am: Change tool to libstdc++-v3.
3873 (EXPECT): Quote directly.
3875 * configure.in: Output testsuite_flags.
3876 * acinclude.m4: Substitute src, bld, and prefix dirs.
3877 Remove glibcpp_expect, glibcpp_runtestflags.
3878 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
3879 * mkcheck.in: Port to new interface.
3881 * aclocal.m4: Regerate.
3882 * configure: Regnerate.
3883 * Makefile.in: Regnerate.
3884 * */Makefile.in: Regenerate.
3886 * tests_flags.in: Remove.
3887 * testsuite/lib/libstdc++.exp: Remove.
3888 * testsuite/libstdc++.tests/tests.exp: Remove.
3890 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
3892 * configure.target: Remove detection of AIX pthread multilib, now
3893 obtained from `gcc -v'.
3895 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3897 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
3898 size. Add hpux case for HP size.
3900 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
3902 * testsuite_flags.in: New, simplified interface.
3903 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
3904 * testsuite/libstdc++-v3.dg: Add.
3905 * testsuite/libstdc++-v3.dg/dg.exp: Add.
3907 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
3909 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
3910 * testsuite/config/default.exp: Update bugs email address.
3912 2001-05-11 Richard Henderson <rth@redhat.com>
3914 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
3915 all pointer encoding logic.
3916 (struct lsda_header_info): Add ttype_base.
3917 (get_ttype_entry): Use it instead of a context.
3918 (check_exception_spec): Likewise.
3919 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
3920 the c++ exception header for __cxa_call_unexpected.
3921 (__cxa_call_unexpected): Use it.
3923 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
3925 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
3926 libgloss_link_flags to find crt0.o for targets that use libgloss
3928 Change LDFLAGS to LIBS.
3929 Consistently name procedures libstdc++-XXX.
3930 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
3932 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
3934 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
3939 * include/c_std/bits/std_cwchar.h (wcschr): Same.
3944 * testsuite/21_strings/c_strings.cc: Add tests.
3946 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
3949 * include/bits/std_fstream.h (basic_filebuf): Change signature.
3950 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
3951 to int_type, pass in buffer size info.
3952 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
3953 unbuffered situation.
3954 (underflow): Remove codecvt bits for the time being.
3955 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
3956 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
3957 values from iterators, clean.
3958 * src/locale.cc: Ditto.
3959 * include/bits/sbuf_iter.h: Format.
3960 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
3961 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
3962 * testsuite/27_io/filebuf.cc: Tweaks.
3963 * testsuite/27_io/filebuf_members.cc: Tweaks.
3965 2001-05-07 Mark Mitchell <mark@codesourcery.com>
3967 * config/os/solaris/solaris2.7/bits/os_defines.h
3968 (_LARGEFILE_SOURCE): Define it.
3970 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
3972 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
3973 -prefer-non-pic depending on whether libtool has shared libraries
3974 enabled or disabled.
3975 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
3976 $(LIBSUPCXX_PICFLAGS).
3977 * configure, */Makefile.in: Rebuilt.
3979 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
3981 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
3982 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
3984 * include/bits/std_sstream.h (stringbuf): Leak
3986 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
3988 2001-05-01 Tom Browder <tbrowder@home.com>
3990 * docs/html/ext/howto.html: Fix typo.
3992 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
3994 * testsuite/libstdc++.tests/tests.exp: Add comment.
3996 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
3998 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
4000 2001-04-30 Mark Mitchell <mark@codesourcery.com>
4002 * porting.texi: Use the GFDL.
4004 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
4007 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
4008 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
4011 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
4014 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
4016 2001-04-28 Phil Edwards <pme@sources.redhat.com>
4018 * docs/doxygen/run_doxygen: Minor tweaks.
4019 * docs/doxygen/style.css: New file.
4020 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
4021 latest parameters available. Use style.css.
4023 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
4025 * docs/doxygen/mainpage.doxy: New.
4026 * docs/doxygen/user.cfg.in: Change default configuration. Single
4027 frame, other tweaks.
4029 2001-04-26 Mark Mitchell <mark@codesourcery.com>
4031 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
4032 Indicate obsolete nature of thelist for G++ 3.0.
4034 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
4036 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
4037 target_thread_file with `gcc -v'.
4038 * aclocal.m4, configure: Rebuilt.
4040 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
4042 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
4043 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
4044 * include/c_std/bits/std_cwchar.h (std): Same.
4045 * acconfig.h (std): Remove c99 injection into std.
4046 * config.h.in: Regenerate.
4048 * testsuite/README: Fix typo.
4050 * include/bits/codecvt.h: Remove warnings.
4052 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4054 * include/ext/slist: Include required header files.
4056 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
4058 * include/c_std/bits/std_cerrno.h (errno): Define macro from
4059 identifier declared with external linkage, if needed.
4060 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
4061 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
4063 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
4065 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
4066 re-configures find the build compiler.
4067 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
4069 * aclocal.m4: Regenerate.
4070 * configure: Regenerate.
4072 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
4074 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
4075 support is enabled correctly before long long is activated.
4076 * aclocal.m4: Regenerate.
4077 * configure: Regenerate.
4079 * include/backward/backward_warning.h: Format correctly.
4081 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
4082 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
4083 * testsuite/26_numerics/c99_macros.cc: Remove.
4085 2001-04-20 Phil Edwards <pme@sources.redhat.com>
4087 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
4088 __iterator_category.
4090 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
4092 * acconfig.h (_GLIBCPP_USE_C99): Add.
4093 * config.h.in: Regenerate.
4094 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
4096 * aclocal.m4: Regenerate.
4097 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
4098 * configure: Regenerate.
4099 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
4100 * configure: Regenerate.
4101 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
4103 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
4105 * include/c_std/bits/std_cstdlib.h: Same.
4106 * docs/html/configopts.html: Update.
4107 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
4109 (test_c99_classify): Add.
4110 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
4111 (_ISOC99_SOURCE): Remove.
4113 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
4114 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
4115 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
4116 * aclocal.m4: Regenerate.
4117 * configure: Regenerate.
4119 2001-04-19 Phil Edwards <pme@sources.redhat.com>
4121 * Makefile.am (doxygen): Assume script is missing execute perms.
4122 * Makefile.in: Regenerated.
4123 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
4125 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
4127 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
4129 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
4131 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
4132 * testsuite/23_containers/set_operators.cc: Same.
4134 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
4136 (__GLIBCPP__): Bump from value of last release.
4137 * include/bits/concept_check.h: Default to off, edit comments.
4138 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
4139 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
4140 * src/Makefile.in: Regenerate.
4142 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
4144 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
4145 Properly uglify member.
4147 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4149 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
4153 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4155 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
4156 * include/bits/concept_check.h: Uglify.
4157 * include/bits/stl_algo.h: Likewise.
4158 * include/bits/stl_algobase.h: Likewise.
4159 * include/bits/stl_deque.h: Likewise.
4160 * include/bits/stl_heap.h: Likewise.
4161 * include/bits/stl_iterator_base_funcs.h: Likewise.
4162 * include/bits/stl_list.h: Likewise.
4163 * include/bits/stl_map.h: Likewise.
4164 * include/bits/stl_multimap.h: Likewise.
4165 * include/bits/stl_multiset.h: Likewise.
4166 * include/bits/stl_numeric.h: Likewise.
4167 * include/bits/stl_queue.h: Likewise.
4168 * include/bits/stl_set.h: Likewise.
4169 * include/bits/stl_stack.h: Likewise.
4170 * include/bits/stl_vector.h: Likewise.
4171 * include/ext/hash_map: Likewise.
4172 * include/ext/hash_set: Likewise.
4173 * include/ext/slist: Likewise.
4175 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
4177 * testsuite/23_containers/set_operators.cc: Just try to compile.
4179 * testsuite/23_containers/map_operators.cc: Same.
4181 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
4183 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
4185 (dg-test): Revert rth's change.
4187 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
4189 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
4190 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
4192 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
4194 * testsuite/README: Add DejaGnu specific documentation.
4196 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
4198 * acinclude.m4: AC_CHECK_TOOL for expect.
4199 * aclocal.m4: Regenerate.
4200 * configure: Regenerate.
4201 * testsuite/Makefile.am (RUNTEST): Use substituted.
4204 * configure.in: Remove xcompiling substitution.
4205 * tests_flags.in (CROSS_LIB_PATH): Remove.
4206 (xcompiling): Remove.
4207 (CXX): Use substituted CXX.
4209 2001-04-11 Richard Henderson <rth@redhat.com>
4211 * testsuite/lib/libstdc++.exp: Specify path for output_file.
4213 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
4215 * include/bits/std_valarray.h(valarray<>::operator[]): Make
4218 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4220 * testsuite/25_algorithms/equal.cc: New test.
4222 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
4224 * stl_algobase.h (std::equal): avoid use of possibly-undefined
4225 operator != (one line patch).
4227 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4229 * include/backward/backward_warning.h: Re-enable.
4231 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4232 Alexandre Oliva <aoliva@redhat.com>
4234 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
4236 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4238 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
4239 * testsuite/26_numerics/c99_macros.cc: Add test.
4241 2001-04-06 Phil Edwards <pme@sources.redhat.com>
4243 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
4244 * docs/html/faq/index.txt: Regenerated.
4246 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4248 * include/backward/backward_warning.h: Temporarily disable until
4249 g++ testsuite changes go in.
4250 * tests_flags.in (CROSS_LIB_PATH): Add.
4252 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4254 Warn when using backward headers.
4255 * include/backward/algo.h: Include warning file.
4256 * include/backward/vector.h: Same.
4257 * include/backward/tree.h: Same.
4258 * include/backward/tempbuf.h: Same.
4259 * include/backward/strstream: Same.
4260 * include/backward/streambuf.h: Same.
4261 * include/backward/stream.h: Same.
4262 * include/backward/stack.h: Same.
4263 * include/backward/slist.h: Same.
4264 * include/backward/set.h: Same.
4265 * include/backward/rope.h:
4266 * include/backward/queue.h: Same.
4267 * include/backward/pair.h: Same.
4268 * include/backward/ostream.h: Same.
4269 * include/backward/new.h: Same.
4270 * include/backward/multiset.h: Same.
4271 * include/backward/multimap.h: Same.
4272 * include/backward/map.h: Same.
4273 * include/backward/list.h: Same.
4274 * include/backward/iterator.h: Same.
4275 * include/backward/istream.h: Same.
4276 * include/backward/iostream.h:
4277 * include/backward/iomanip.h:
4278 * include/backward/heap.h: Same.
4279 * include/backward/hashtable.h:
4280 * include/backward/hash_set.h:
4281 * include/backward/hash_map.h:
4282 * include/backward/function.h:
4283 * include/backward/fstream.h:
4284 * include/backward/deque.h:
4285 * include/backward/defalloc.h: Same.
4286 * include/backward/complex.h: Same.
4287 * include/backward/bvector.h:
4288 * include/backward/alloc.h:
4289 * include/backward/algobase.h: Same.
4291 * include/backward/backward_warning.h: New file.
4292 * src/Makefile.am (backward_headers): Add backward_warning.h
4293 * src/Makefile.in: Regenerate.
4295 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4297 * src/Makefile.am (myinstalldirs): Make sure backward directory is
4299 (myinstallheaders): Install backward headers in backward directory.
4300 * src/Makefile.in: Regenerate.
4302 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4304 Prepare for libstdc++-2.92.
4305 * docs/html/17_intro/RELEASE-NOTES (New): Update.
4306 * docs/html/configopts.html: Fix formatting.
4307 * README (file): Updates.
4308 * include/bits/c++config (__GLIBCPP__): Update.
4310 2001-04-05 Phil Edwards <pme@sources.redhat.com>
4312 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
4314 2001-04-04 Phil Edwards <pme@sources.redhat.com>
4316 * docs/doxygen/user.cfg.in: Extract all non-private members;
4317 reduce confusing documentation output.
4319 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
4321 * include/backward/fstream.h: Add missing semicolons.
4323 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
4325 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
4326 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
4327 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
4328 (ios_base::Init::_S_ios_create): New.
4329 (ios_base::Init::_S_ios_destroy): New.
4330 * include/bits/std_fstream.h: Change ctor args.
4331 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
4332 (ios_base::Init::~Init): Use _S_ios_destroy.
4333 (ios_base::sync_with_stdio): Use new members.
4334 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
4337 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4339 * include/backward/fstream.h: Expose streampos to global
4342 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4344 * include/bits/stl_iterator_base_types.h: Fix typo
4346 2001-04-03 Andreas Schwab <schwab@suse.de>
4348 * include/backward/fstream.h: Define filebuf and wfilebuf.
4350 2001-04-02 Phil Edwards <pme@sources.redhat.com>
4352 New concept checking implementation.
4353 * docs/html/19_diagnostics/howto.html: Document.
4354 * docs/html/17_intro/concept_check.diff: New file, for reference.
4355 * include/bits/boost_concept_check.h: New file from Boost.
4356 * include/bits/c++config: Update comments.
4358 * include/bits/concept_check.h: New file.
4359 * include/bits/concept_checks.h: Removed.
4360 * include/bits/container_concepts.h: Removed.
4361 * include/bits/sequence_concepts.h: Removed.
4362 * include/bits/stl_iterator_base.h: Removed; split into...
4363 * include/bits/stl_iterator_base_funcs.h: ...this new file...
4364 * include/bits/stl_iterator_base_types.h: ...and this new file.
4366 * include/bits/sbuf_iter.h: Update to use new implementation.
4367 * include/bits/std_iterator.h: Likewise.
4368 * include/bits/std_memory.h: Likewise.
4369 * include/bits/stl_algo.h: Likewise.
4370 * include/bits/stl_algobase.h: Likewise.
4371 * include/bits/stl_construct.h: Likewise.
4372 * include/bits/stl_deque.h: Likewise.
4373 * include/bits/stl_heap.h: Likewise.
4374 * include/bits/stl_list.h: Likewise.
4375 * include/bits/stl_map.h: Likewise.
4376 * include/bits/stl_multimap.h: Likewise.
4377 * include/bits/stl_multiset.h: Likewise.
4378 * include/bits/stl_numeric.h: Likewise.
4379 * include/bits/stl_queue.h: Likewise.
4380 * include/bits/stl_set.h: Likewise.
4381 * include/bits/stl_stack.h: Likewise.
4382 * include/bits/stl_uninitialized.h: Likewise.
4383 * include/bits/stl_vector.h: Likewise.
4384 * include/ext/hash_map: Likewise.
4385 * include/ext/hash_set: Likewise.
4386 * include/ext/slist: Likewise.
4387 * include/ext/stl_hashtable.h: Likewise.
4389 * src/Makefile.am (base_headers): Update list of headers.
4390 * Makefile.in: Regenerated.
4391 * src/Makefile.in: Regenerated.
4392 * libio/Makefile.in: Regenerated.
4393 * libmath/Makefile.in: Regenerated.
4394 * libsupc++/Makefile.in: Regenerated.
4395 * testsuite/Makefile.in: Regenerated.
4397 * docs/html/install.html: Update contact information.
4398 * docs/html/17_intro/howto.html: Ditto.
4399 * docs/html/18_support/howto.html: Ditto.
4400 * docs/html/20_util/howto.html: Ditto.
4401 * docs/html/21_strings/howto.html: Ditto.
4402 * docs/html/22_locale/howto.html: Ditto.
4403 * docs/html/23_containers/howto.html: Ditto.
4404 * docs/html/24_iterators/howto.html: Ditto.
4405 * docs/html/25_algorithms/howto.html: Ditto.
4406 * docs/html/26_numerics/howto.html: Ditto.
4407 * docs/html/27_io/howto.html: Ditto.
4408 * docs/html/faq/index.html: Ditto, plus info on new checking code.
4409 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
4410 * docs/html/faq/index.txt: Regenerated.
4412 2001-04-02 Zack Weinberg <zackw@stanford.edu>
4414 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
4415 messages with $which_library as well as $tool_flags and
4416 ${dg-extra-tool-flags}. Factor out annotation text into
4419 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
4421 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
4422 * include/c_std/bits/std_cwchar.h: Same.
4423 * testsuite/21_strings/c_strings.cc: Add.
4425 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
4427 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
4429 2001-04-01 Zack Weinberg <zackw@stanford.edu>
4431 * tests_flags.in: Use test a = b, not test a == b which is not
4434 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
4436 * configure.target: Remove duplicate aix entry.
4438 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
4440 * include/ext/stl_bvector.h: Move to...
4441 * include/bits/stl_vector.h: ...here.
4442 * include/ext/bvector: Move to...
4443 * include/backward/bvector.h: ...here.
4444 * include/bits/std_vector.h: Change stl_bvector include.
4445 * include/bits/std_queue.h: Remove bvector include.
4446 * include/ext/tree: Insert using rb_tree, move to...
4447 * include/backward/tree.h: ...here.
4448 * include/backward/hash_map.h: Include ext/hash_map.
4449 * include/backward/hash_set.h: Include ext/hash_set.
4450 * include/backward/queue.h: New file.
4451 * include/backward/stack.h: Edit.
4452 * include/backward/algo.h: Same.
4453 * include/backward/algobase.h: Same.
4454 * include/backward/alloc.h: Same.
4455 * include/backward/function.h: Same.
4456 * include/backward/iomanip.h: Same.
4457 * include/backward/istream.h: Same.
4458 * include/backward/iterator.h: Same.
4459 * include/backward/list.h: Same.
4460 * include/backward/map.h: Same.
4461 * include/backward/multimap.h: Same.
4462 * include/backward/multiset.h: Same.
4463 * include/backward/ostream.h: Same.
4464 * include/backward/pair.h: Same
4465 * include/backward/rope.h: Same.
4466 * include/backward/set.h: Same.
4467 * include/backward/stream.h: Same.
4468 * include/backward/strstream.h: Same.
4469 * include/backward/tempbuf.h: Same.
4470 * src/Makefile.am (ext_headers): Edit.
4471 * src/Makefile.in: Regenerate.
4472 * testsuite/ext/headers.cc (main): Fix.
4475 2001-03-30 Phil Edwards <pme@sources.redhat.com>
4477 * tests_flags.in (LIBS): Pass correct path for installed testing.
4479 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
4481 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
4482 * tests_flags.in (CXX): Construct here.
4483 (static_fail): Don't remove compile.out. Format with spaces.
4484 (INCLUDES): Deal with xcompiling.
4485 * configure.in (xcompiling): Substitute.
4486 * testsuite/Makefile.am: Snake libjava configury.
4487 * testsuite/Makefile.in: Regenerate.
4488 * testsuite/23_containers/map_operators.cc: Tweaks.
4489 * testsuite/23_containers/set_operators.cc: Tweaks.
4491 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4493 Enable dejagnu testing framework.
4494 * configure.in: Generate testsuite/Makefile.
4495 * configure: Regenerate.
4496 * Makefile.am (check-install): Change rule from this...
4497 (check-script-install): ...to this.
4498 (check): Change rule from this...
4499 (check-script):...to this.
4500 * Makefile.in: Regenerate.
4502 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
4504 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
4506 (LIBTOOL): Let automake take care of its definition.
4507 * libsupc++/Makefile.in: Rebuilt.
4509 2001-03-28 Richard Henderson <rth@redhat.com>
4511 IA-64 ABI Exception Handling:
4512 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
4513 * configure.in: Use it.
4514 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
4515 * libsupc++/Makefile.am (sources): Update files list.
4516 * libsupc++/Makefile.in: Regenerate.
4517 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
4518 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
4519 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
4520 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
4521 * libsupc++/exception_support.cc: Remove.
4522 * libsupc++/exception_support.h: Remove.
4523 * libsupc++/pure.cc: Use std::terminate.
4524 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
4525 (__is_pointer): Remove.
4526 * libsupc++/unwind-cxx.h: New file.
4527 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
4529 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
4531 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
4533 * src/Makefile.am (CXXLINK): Likewise.
4534 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
4536 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
4538 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
4540 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4542 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
4545 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
4547 * include/bits/basic_file.h (get_fileno): Remove.
4548 (_M_fileno): Remove.
4549 (_M_cfile_created): Add.
4550 (basic_file::basic_file(__c_file_type*, openmode): Add.
4551 (basic_file::basic_file(int, const char*, openmode): Remove.
4552 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
4553 const char*, ios_base::openmode): Don't allocate
4554 internal buffers. Turn off internal buffers.
4555 (basic_filebuf::overflow): Remove test for null buffer.
4556 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
4557 * include/bits/streambuf.cc: Tweak.
4558 * include/bits/std_ostream.h: Tweak.
4559 * config/basic_file_libio.h: Same.
4560 * config/basic_file_stdio.h: Same.
4561 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
4562 * testsuite/27_io/filebuf_members.cc: Tweaks.
4563 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
4565 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4567 * Makefile.am: New targets, doxygen and doxygen-maint.
4568 * Makefile.in: Regenerated.
4569 * docs/doxygen/run_doxygen: Finally implemented.
4570 * docs/doxygen/maint.cfg.in: New file.
4571 * docs/doxygen/user.cfg.in: New file.
4573 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4575 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
4576 * src/Makefile.am: Replace leading spaces with tabs on continuation
4578 * aclocal.m4: Regenerated.
4580 * Makefile.in: Ditto.
4581 * src/Makefile.in: Ditto.
4582 * libio/Makefile.in: Ditto.
4583 * libmath/Makefile.in: Ditto.
4584 * libsupc++/Makefile.in: Ditto.
4586 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4588 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
4589 concept-checking code and current status of same.
4590 * docs/html/ext/howto.html: Ditto.
4591 * docs/html/faq/index.html: Ditto.
4592 * docs/html/faq/index.txt: Regenerated.
4594 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4596 * include/bits/std_bitset.h: Include ostream and istream headers
4597 instead of iostream.
4599 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
4601 * include/bits/ostream.tcc: Use __builtin_alloca.
4603 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
4605 * src/misc-inst.cc (__sink_unused_warning): Move to...
4606 * src/locale-inst.cc (__sink_unused_warning): Move to...
4607 * src/stl-inst.cc: Here.
4608 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
4611 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
4613 * intclude/bits/basic_file.h: Fix typos in comments.
4615 2001-03-20 Richard Henderson <rth@redhat.com>
4617 * src/gen-num-limits.cc: Instantiate for wchar_t.
4618 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
4620 2001-03-20 Jason Merrill <jason@redhat.com>
4622 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
4623 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
4624 * libsupc++/cxxabi.h: Declare it.
4626 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
4628 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
4629 signal_func with an unspecified argument list.
4631 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
4633 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
4635 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4637 * include/bits/basic_string.tcc (operator+): Fix thinko.
4639 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
4642 * include/bits/std_streambuf.h: Remove cached locale facets.
4643 (basic_streambuf::_M_buf_fctype): Remove.
4644 (basic_streambuf::~basic_streambuf): Remove here.
4645 (basic_streambuf::basic_streambuf): Same.
4646 (basic_streambuf::imbue): Same.
4647 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
4648 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
4649 (basic_filebuf::~basic_filebuf()): Remove here.
4650 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
4651 (basic_filebuf::imbue): Same.
4652 * include/bits/localefwd.h (_Count_ones): Remove.
4653 (locale::_S_num_categories): Just use 6, since this doesn't
4654 actually change, ever.
4655 * include/bits/locale_facets.tcc (has_facet): Simplify.
4657 * testsuite/27_io/filebuf.cc (test06): Add tests.
4659 2001-03-13 Steve Ellcey <sje@cup.hp.com>
4661 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
4662 match HP-UX ctype.h header file.
4664 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
4666 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
4667 duplicate definitions of __dj_ctype_*
4669 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
4671 * libsupc++/new: Remove pragma interface.
4672 * libsupc++/typeinfo: Same.
4673 * libsupc++/exception: Same.
4674 * libsupc++/new_handler.cc: Remove pragma implementation.
4675 (bad_alloc::~bad_alloc()): Add.
4676 * libsupc++/exception_support.cc: Same.
4677 (exception::~exception): Add.
4678 (bad_exception::~bad_exception): Add.
4679 * libsupc++/tinfo.cc: Same.
4680 (bad_cast::~bad_cast): Add.
4681 (bad_typeid::~bad_typeid): Add.
4683 2001-03-13 Phil Edwards <pme@sources.redhat.com>
4685 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
4687 2001-03-12 Felix Lee <flee@redhat.com>
4689 * mkcheck.in: workaround for bash 2.01 IFS bug.
4691 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
4693 Fixups for -fno-for-scope
4694 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
4695 * src/valarray-inst.cc (__gslice_to_index): Same.
4697 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
4699 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
4700 prior to trapping signal (UnixWare 7 workaround).
4702 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
4704 * include/backward/hashtable.h: Same.
4705 * include/backward/rope.h: Fix include.
4707 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
4709 * include/backward/vector.h: Include std_vector.h.
4711 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
4712 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4715 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4717 * include/ext/stl_hashtable.h: Change type of __n to size_t
4718 * include/backward/bvector.h: Include <ext/stl_bvector.h>
4720 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4722 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
4723 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4724 Use streamsize, not int_type.
4726 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
4728 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
4731 2001-03-08 Andreas Schwab <schwab@suse.de>
4733 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
4735 * aclocal.m4, configure: Regenerated.
4737 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
4739 * include/bits/std_iosfwd.h: Remove string forward decls here.
4740 * include/bits/stringfwd.h: Add forward decls for char_traits
4742 * config/c_io_libio.h (wstreamoff): Delete.
4743 * config/c_io_stdio.h (wstreamoff): Same.
4744 * include/bits/char_traits.h: Use streamoff not wstreamoff for
4745 char_traits<wchar_t>::off_type.
4746 Remove duplicate typedefs.
4747 * include/bits/fpos.h: Define streampos/wstreampos here.
4748 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
4751 Changeup output files.
4752 * testsuite/27_io/istream_unformatted.cc: Change output files.
4753 * testsuite/27_io/istream_seeks-1.txt: Add.
4754 * testsuite/27_io/istream_seeks-2.tst: Add.
4755 * testsuite/27_io/istream_seeks-1.tst: Add.
4756 * testsuite/27_io/istream_unformatted-2.tst: Delete.
4757 * testsuite/27_io/istream_unformatted-3.tst: Delete.
4758 * testsuite/27_io/istream_unformatted-3.txt: Delete.
4760 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
4762 Add Irix 5.2, 6.3 support.
4763 * config/os/irix/bits: Renamed to...
4764 * config/os/irix/irix6.5/bits: this.
4765 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
4766 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
4767 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
4768 * config/os/irix/irix5.2/bits/ctype_noninline.h
4769 (ctype<char>::ctype): Initialize _M_table with __ctype.
4770 * configure.target: Adjust.
4772 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
4775 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
4776 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
4778 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
4779 (*__pf)(__ios_type&)): Same.
4780 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
4781 (*__pf)(ios_base&))): Same.
4782 * testsuite/27_io/istream_extractor_other.cc: Add tests.
4783 * testsuite/27_io/istream_manip.cc (test01): Fix.
4785 2001-03-06 Nathan Myers <ncm@cantrip.org>
4786 Benjamin Kosnik <bkoz@redhat.com>
4788 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
4789 * testsuite/17_intro/header_cerrno.cc (test01): New file.
4790 * testsuite/17_intro/header_cassert.cc (test01): New file.
4791 * testsuite/17_intro/header_cstddef.cc (test01): New file.
4792 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
4793 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
4795 2001-03-05 scott snyder <snyder@fnal.gov>
4798 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
4800 * include/c_std/bits/std_cstdlib.h: ... to here.
4801 * testsuite/17_intro/header_cstdlib.cc: Add test.
4803 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
4805 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
4807 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
4809 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
4810 definition. Replace enum with static const variables.
4812 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
4813 throw specification, fix typos, use <static_cast>.
4814 (ctype<char>::scan_is): remove throw specification.
4815 (ctype<char>::scan_not): likewise.
4817 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
4818 (ctype<char>::do_toupper(char)): use <static_cast>.
4819 (ctype<char>::do_toupper(char *, const char *)): likewise.
4820 (ctype<char>::do_tolower(char)): likewise.
4821 (ctype<char>::do_tolower(char *, const char *)): likewise.
4823 2001-03-04 Phil Edwards <pme@sources.redhat.com>
4825 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
4826 * include/backward/algo.h: Use std not __STD. Remove unneeded
4827 macros and "never happens" code. Adjust to C++STYLE guidelines.
4828 * include/backward/algobase.h: Likewise.
4829 * include/backward/alloc.h: Likewise.
4830 * include/backward/bvector.h: Likewise.
4831 * include/backward/deque.h: Likewise.
4832 * include/backward/function.h: Likewise.
4833 * include/backward/hash_map.h: Likewise.
4834 * include/backward/hash_set.h: Likewise.
4835 * include/backward/hashtable.h: Likewise.
4836 * include/backward/heap.h: Likewise.
4837 * include/backward/iterator.h: Likewise.
4838 * include/backward/list.h: Likewise.
4839 * include/backward/map.h: Likewise.
4840 * include/backward/multimap.h: Likewise.
4841 * include/backward/multiset.h: Likewise.
4842 * include/backward/pair.h: Likewise.
4843 * include/backward/rope.h: Likewise.
4844 * include/backward/set.h: Likewise.
4845 * include/backward/slist.h: Likewise.
4846 * include/backward/stack.h: Likewise.
4847 * include/backward/strstream: Likewise.
4848 * include/backward/tempbuf.h: Likewise.
4849 * include/backward/tree.h: Likewise.
4850 * include/backward/vector.h: Likewise.
4851 * include/bits/basic_ios.h: Likewise.
4852 * include/bits/basic_ios.tcc: Likewise.
4853 * include/bits/basic_string.h: Likewise.
4854 * include/bits/c++config: Likewise.
4855 * include/bits/concept_checks.h: Likewise.
4856 * include/bits/fpos.h: Likewise.
4857 * include/bits/fstream.tcc: Likewise.
4858 * include/bits/functexcept.h: Likewise.
4859 * include/bits/ios_base.h: Likewise.
4860 * include/bits/istream.tcc: Likewise.
4861 * include/bits/mask_array.h: Likewise.
4862 * include/bits/ostream.tcc: Likewise.
4863 * include/bits/pthread_allocimpl.h: Likewise.
4864 * include/bits/sbuf_iter.h: Likewise.
4865 * include/bits/slice.h: Likewise.
4866 * include/bits/slice_array.h: Likewise.
4867 * include/bits/sstream.tcc: Likewise.
4868 * include/bits/std_bitset.h: Likewise.
4869 * include/bits/std_fstream.h: Likewise.
4870 * include/bits/std_iomanip.h: Likewise.
4871 * include/bits/std_ios.h: Likewise.
4872 * include/bits/std_istream.h: Likewise.
4873 * include/bits/std_iterator.h: Likewise.
4874 * include/bits/std_memory.h: Likewise.
4875 * include/bits/std_ostream.h: Likewise.
4876 * include/bits/std_sstream.h: Likewise.
4877 * include/bits/std_streambuf.h: Likewise.
4878 * include/bits/std_string.h: Likewise.
4879 * include/bits/std_valarray.h: Likewise.
4880 * include/bits/stl_algo.h: Likewise.
4881 * include/bits/stl_algobase.h: Likewise.
4882 * include/bits/stl_alloc.h: Likewise.
4883 * include/bits/stl_construct.h: Likewise.
4884 * include/bits/stl_deque.h: Likewise.
4885 * include/bits/stl_function.h: Likewise.
4886 * include/bits/stl_heap.h: Likewise.
4887 * include/bits/stl_iterator.h: Likewise.
4888 * include/bits/stl_iterator_base.h: Likewise.
4889 * include/bits/stl_list.h: Likewise.
4890 * include/bits/stl_map.h: Likewise.
4891 * include/bits/stl_multimap.h: Likewise.
4892 * include/bits/stl_multiset.h: Likewise.
4893 * include/bits/stl_numeric.h: Likewise.
4894 * include/bits/stl_pair.h: Likewise.
4895 * include/bits/stl_pthread_alloc.h: Likewise.
4896 * include/bits/stl_queue.h: Likewise.
4897 * include/bits/stl_raw_storage_iter.h: Likewise.
4898 * include/bits/stl_relops.h: Likewise.
4899 * include/bits/stl_set.h: Likewise.
4900 * include/bits/stl_stack.h: Likewise.
4901 * include/bits/stl_tempbuf.h: Likewise.
4902 * include/bits/stl_threads.h: Likewise.
4903 * include/bits/stl_tree.h: Likewise.
4904 * include/bits/stl_uninitialized.h: Likewise.
4905 * include/bits/stl_vector.h: Likewise.
4906 * include/bits/streambuf.tcc: Likewise.
4907 * include/bits/type_traits.h: Likewise.
4908 * include/bits/valarray_meta.h: Likewise.
4909 * include/ext/bvector: Likewise.
4910 * include/ext/hash_map: Likewise.
4911 * include/ext/hash_set: Likewise.
4912 * include/ext/ropeimpl.h: Likewise.
4913 * include/ext/slist: Likewise.
4914 * include/ext/stl_bvector.h: Likewise.
4915 * include/ext/stl_hash_fun.h: Likewise.
4916 * include/ext/stl_hashtable.h: Likewise.
4917 * include/ext/stl_rope.h: Likewise.
4918 * src/complex_io.cc: Likewise.
4919 * src/ios.cc: Likewise.
4920 * src/locale-inst.cc: Likewise.
4921 * src/locale.cc: Likewise.
4922 * src/localename.cc: Likewise.
4923 * src/misc-inst.cc: Likewise.
4924 * src/stdexcept.cc: Likewise.
4925 * src/stl-inst.cc: Likewise.
4926 * src/strstream.cc: Likewise.
4927 * src/valarray-inst.cc: Likewise.
4929 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
4931 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
4933 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4935 * include/bits/istream.tcc: change type of __extracted to __size_type
4937 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
4939 * src/wstring-inst.cc: New file.
4940 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
4941 (libinst_wstring_la_SOURCES): Remove.
4942 (libstdc___la_LIBADD): Remove libinst_wstring_la.
4943 (sources): Add wstring-inst.cc
4944 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
4947 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4949 * src/locale.cc: initialise __ret with zero
4950 * src/strstream.cc:cast gptr to int_type
4952 2001-03-01 Phil Edwards <pme@sources.redhat.com>
4954 * docs/html/faq/index.html: Update broken links.
4955 * docs/html/faq/index.txt: Regenerated.
4957 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
4960 * configure.target: Change irix* to irix6.5* in target_os table.
4962 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
4965 * include/bits/c++config (__GLIBCPP__): Bump number in
4966 anticipation of 2.92.
4968 * include/bits/codecvt.h: Fix typo.
4969 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
4971 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
4972 instantiations for stdio model.
4974 2001-02-28 Phil Edwards <pme@sources.redhat.com>
4976 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
4977 and GLIBCPP_CXXFLAGS as unused variables.
4978 * configure.host: Likewise.
4979 * configure.target: 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-27 Benjamin Kosnik <bkoz@redhat.com>
4991 * include/bits/basic_file.h: Include basic_file_model.h.
4992 * config/c_io_libio.cc: Move to...
4993 * config/basic_file_libio.cc: Here.
4994 * config/basic_file_libio.h: New file.
4995 * config/c_io_stdio.cc: Move to...
4996 * config/basic_file_stdio.cc: Here.
4997 * config/basic_file_stdio.h: New file.
4998 * config/c_io_libio.h: Tweak.
4999 * config/c_io_stdio.h: Tweak.
5000 * src/Makefile.am (build_headers): Add basic_file_model.h.
5001 (sources): Add basic_file.cc, remove c++io.cc.
5002 * src/Makefile.in: Regenerate.
5003 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
5004 basic_file_model.h and basic_file.cc.
5005 * aclocal.m4: Regenerate.
5006 * configure: Regenerate.
5007 * testsuite/27_io/filebuf.cc (test05): Add regression.
5009 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5012 * config/cpu/alpha/bits/atomicity.h: Change.
5013 * config/cpu/arm/bits/atomicit3y.h
5014 * config/cpu/generic/bits/atomicity.h
5015 * config/cpu/i386/bits/atomicity.h
5016 * config/cpu/i486/bits/atomicity.h
5017 * config/cpu/ia64/bits/atomicity.h
5018 * config/cpu/powerpc/bits/atomicity.h
5019 * config/cpu/sparc/sparc32/bits/atomicity.h
5020 * config/cpu/sparc/sparc64/bits/atomicity.h
5021 * config/os/aix/bits/atomicity.h
5022 * config/os/irix/bits/atomicity.h
5024 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5026 * include/bits/std_stdexcept.h (runtime_error): Make string
5028 (logic_error): Same.
5029 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
5032 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
5036 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
5037 string object, not reference.
5038 (runtime_error::runtime_error): Same.
5039 * testsuite/19_diagnostics/stdexceptions.cc: New file.
5041 2001-02-26 Phil Edwards <pme@sources.redhat.com>
5043 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
5044 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
5045 diagnostics. Remove WFMT_FLAGS.
5046 * configure.in: Replace WFMT_FLAGS with diagnostics options.
5047 * libsupc++/Makefile.am: Likewise.
5048 * src/Makefile.am: Likewise.
5049 * aclocal.m4: Regenerated.
5050 * configure: Regenerated.
5051 * Makefile.in: Regenerated.
5052 * libio/Makefile.in: Regenerated.
5053 * libmath/Makefile.in: Regenerated.
5054 * libsupc++/Makefile.in: Regenerated.
5055 * src/Makefile.in: Regenerated.
5057 2001-02-26 Phil Edwards <pme@sources.redhat.com>
5059 Fixes libstdc++/2079
5060 * include/backward/iomanip.h: Expose <ios> manipulators to global
5062 * include/backward/iostream.h: Also expose std::ws.
5064 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
5066 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
5068 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
5070 * include/bits/codecvt.h: Use __builtin_alloca.
5071 * include/bits/ostream.tcc: Same.
5072 * include/bits/fstream.tcc: Same.
5074 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
5076 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
5078 2001-02-23 David Edelsohn <dje@watson.ibm.com>
5080 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
5082 2001-02-23 Phil Edwards <pme@sources.redhat.com>
5085 * include/backward/iostream.h: Expose std::flush in old headers.
5087 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5089 * mknumeric_limits: Remove special-casing on target. Use gcc
5090 instead of g++ to build gen-num-limits.cc
5092 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
5094 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
5096 * include/bits/codecvt.h: Use alloca instead of __extension__ for
5098 * include/bits/ostream.tcc: Same.
5099 * include/bits/std_ostream.h: Same.
5100 * include/bits/fstream.tcc: Same.
5101 * include/bits/locale_facets.tcc: Add typename.
5102 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
5104 2001-02-21 Phil Edwards <pme@sources.redhat.com>
5106 * tests_flags.in: Remove -n flag from call to echo.
5108 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
5110 * config/c_locale_gnu.h: Add clocale include.
5112 2001-02-20 Phil Edwards <pme@sources.redhat.com>
5114 * include/bits/stl_config.h: Remove file.
5115 * src/Makefile.am (base_headers): Remove from list.
5116 * configure: Regenerate.
5117 * Makefile.in: Ditto.
5118 * libio/Makefile.in: Ditto.
5119 * libmath/Makefile.in: Ditto.
5120 * libsupc++/Makefile.in: Ditto.
5121 * src/Makefile.in: Ditto.
5123 * include/bits/c++config: Move relevant macros to here.
5124 * include/backward/alloc.h: Include c++config.h instead.
5125 * include/backward/function.h: Ditto.
5126 * include/backward/heap.h: Ditto.
5127 * include/backward/pair.h: Ditto.
5128 * include/bits/pthread_allocimpl.h: Ditto.
5129 * include/bits/std_functional.h: Ditto.
5130 * include/bits/std_iterator.h: Ditto.
5131 * include/bits/std_numeric.h: Ditto.
5132 * include/bits/std_utility.h: Ditto.
5133 * include/bits/stl_algobase.h: Ditto.
5134 * include/bits/type_traits.h: Ditto.
5135 * src/stl-inst.cc: Ditto.
5137 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5139 * include/bits/basic_file.h: Add #pragma system_header
5140 * include/bits/basic_ios.h: Ditto.
5141 * include/bits/basic_string.h: Ditto.
5142 * include/bits/char_traits.h: Ditto.
5143 * include/bits/codecvt.h: Ditto.
5144 * include/bits/cpp_type_traits.h: Ditto.
5145 * include/bits/fpos.h: Ditto.
5146 * include/bits/gslice.h: Ditto.
5147 * include/bits/gslice_array.h: Ditto.
5148 * include/bits/indirect_array.h: Ditto.
5149 * include/bits/ios_base.h: Ditto.
5150 * include/bits/limits_generic.h: Ditto.
5151 * include/bits/locale_facets.h: Ditto.
5152 * include/bits/localefwd.h: Ditto.
5153 * include/bits/mask_array.h: Ditto.
5154 * include/bits/sbuf_iter.h: Ditto.
5155 * include/bits/sequence_concepts.h: Ditto.
5156 * include/bits/slice.h: Ditto.
5157 * include/bits/slice_array.h: Ditto.
5158 * include/bits/std_algorithm.h: Likewise.
5159 * include/bits/std_bitset.h: Likewise.
5160 * include/bits/std_complex.h: Likewise.
5161 * include/bits/std_deque.h: Likewise.
5162 * include/bits/std_fstream.h: Likewise.
5163 * include/bits/std_functional.h: Likewise.
5164 * include/bits/std_iomanip.h: Likewise.
5165 * include/bits/std_ios.h: Likewise.
5166 * include/bits/std_iosfwd.h: Likewise.
5167 * include/bits/std_iostream.h: Likewise.
5168 * include/bits/std_istream.h: Likewise.
5169 * include/bits/std_iterator.h: Likewise.
5170 * include/bits/std_list.h: Likewise.
5171 * include/bits/std_locale.h: Likewise.
5172 * include/bits/std_map.h: Likewise.
5173 * include/bits/std_memory.h: Likewise.
5174 * include/bits/std_numeric.h: Likewise.
5175 * include/bits/std_ostream.h: Likewise.
5176 * include/bits/std_queue.h: Likewise.
5177 * include/bits/std_set.h: Likewise.
5178 * include/bits/std_sstream.h: Likewise.
5179 * include/bits/std_stack.h: Likewise.
5180 * include/bits/std_stdexcept.h: Likewise.
5181 * include/bits/std_streambuf.h: Likewise.
5182 * include/bits/std_string.h: Likewise.
5183 * include/bits/std_utility.h: Likewise.
5184 * include/bits/std_valarray.h: Likewise.
5185 * include/bits/std_vector.h: Likewise.
5186 * include/bits/stringfwd.h: Likewise.
5187 * include/bits/type_traits.h: Likewise.
5188 * include/bits/valarray_array.h: Likewise.
5189 * include/bits/valarray_meta.h: Likewise.
5191 2001-02-19 Andreas Jaeger <aj@suse.de>
5193 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
5196 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
5199 * include/bits/std_ostream.h: Replaced usage of
5200 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
5201 * include/bits/char_traits.h: Removed non-standard
5202 methods that cannot be used elsewhere.
5205 * include/bits/basic_ios.h: Uncommented #include of
5209 * include/bits/codecvt.h: See next...
5210 * include/bits/fstream.tcc: See next...
5211 * include/bits/ostream.tcc: Add __extension__
5212 to variable-length arrays.
5215 * include/bits/localefwd.h: Changed int counter type to size_t.
5218 * include/bits/std_fstream.h: Added typedef for __ctype_type.
5220 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
5222 * testsuite/21_strings/char_traits.cc: Move to ...
5223 * testsuite/21_strings/char_traits_requirements.cc: ..here.
5224 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
5225 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
5227 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
5229 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
5232 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5234 * include/bits/c++config: Revert.
5236 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5238 * include/bits/istream.tcc: Use ios_base::iostate in place of
5239 iostate throughout. Insert `typename' keyword where necessary.
5240 * include/bits/ostream.tcc: Insert `typename' keyword where
5243 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
5245 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
5246 Define so library is compliant.
5248 2001-02-15 Anthony Green <green@redhat.com>
5250 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
5252 * aclocal.m4: Regenerate.
5253 * configure: Regenerate.
5255 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
5257 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
5258 Include ieeefp.h for fpclass on UnixWare{2,7}.
5259 * aclocal.m4: Regenerate.
5260 * configure: Regenerate.
5261 * mkcheck.in (size_command): Do without GNU-grep when using
5264 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5266 Remove old ABI support from libsupc++.
5267 * libsupc++/cxxabi.h: Remove conditionally compiled code.
5268 * libsupc++/exception_support.cc: Likewise.
5269 * libsupc++/pure.cc: Likewise.
5270 * libsupc++/tinfo.cc: Likewise.
5271 * libsupc++/tinfo.h: Likewise.
5272 * libsupc++/tinfo2.cc: Likewise.
5273 * libsupc++/typeinfo: Likewise.
5274 * libsupc++/vec.cc: Likewise.
5276 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5278 Add support for -fno-exceptions.
5279 * include/bits/exception_support.h: Remove.
5280 * include/bits/basic_string.h: Remove exception_support.
5281 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
5283 (string::substr): Same.
5284 * include/bits/basic_string.tcc (string::reserve): Replace
5285 __LENGTHERROR with __throw_length_error.
5286 (string::_S_create): Same.
5287 (string::resize): Same.
5288 (string::_M_replace): Same.
5289 (string::replace): Same.
5290 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
5291 (string::compare): Same.
5292 * include/bits/stl_vector.h: Remove exception_support.
5293 * src/Makefile.am (base_headers): Remove here.
5294 * src/Makefile.in: Regenerate.
5296 * include/bits/stl_range_errors.h: Remove.
5297 * include/bits/stl_deque.h: Use __throw_range_error.
5298 * include/bits/std_deque.h: Include functexcept.h.
5299 * include/bits/std_vector.h: Same.
5300 * src/Makefile.am (base_headers): Remove here.
5301 * src/Makefile.in: Regenerate.
5302 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
5303 * include/ext/bvector: Remove stl_range_errors.h
5305 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
5307 * include/bits/functexcept.h: New file.
5308 * src/functexcept.cc: New file. Definitions for function-based
5310 * src/Makefile.am (sources): Add functexcept.cc.
5311 * src/Makefile.in: Regenerate.
5313 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
5316 * include/bits/localefwd.h: Include functexcept.h.
5317 * include/bits/std_iosfwd.h: Same.
5319 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
5320 throw basic_ios::failure.
5321 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
5322 Use __throw_exception_again.
5323 (filebuf::_M_filebuf_init): Same.
5324 * include/bits/streambuf.tcc (__copy_streambufs): Same.
5325 * include/bits/ostream.tcc (ostream::operator<<): Same.
5326 * include/bits/istream.tcc (istream::operator>>): Same.
5327 * include/bits/basic_string.tcc (string::_M_mutate): Same.
5328 (string::_S_construct): Same.
5329 (string::_M_clone): Same.
5330 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
5332 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
5333 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
5334 __throw_exception_again.
5335 (locale::_Imp::_Imp(string, size_t): Same.
5336 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
5337 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
5338 (locale::locale(const char*)): Use __throw_runtime_error.
5339 (locale::classic): Use __throw_exception_again.
5340 (locale::_S_normalize_category): Use __throw_runtime_error.
5342 * src/stdexcept.cc: Remove cruft.
5344 * libsupc++/exception_defines.h: New file.
5345 * libsupc++/new_opnt.cc: Include exception_defines.h.
5346 * libsupc++/vec.cc: Same.
5347 (__cxa_vec_new2): Use __throw_exception_again.
5348 (__cxa_vec_new3): Same.
5349 (__cxa_vec_ctor): Same.
5350 (__cxa_vec_delete3): Same.
5351 (__cxa_vec_cctor): Same.
5352 (__cxa_vec_delete2): Same.
5353 (__cxa_vec_dtor): Same.
5354 * libsupc++/exception_support.cc: Include exception_defines.h. Only
5355 compile exception-handling bits if __EXCEPTIONS is defined.
5356 Remove old ABI support.
5357 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
5358 std::__throw_bad_alloc() instead of throw bad_alloc.
5359 * libsupc++/Makefile.am: Add exception_defines.h.
5360 * libsupc++/Makefile.in: Reformat.
5361 * libsupc++/*: Format.
5363 2001-02-15 Phil Edwards <pme@sources.redhat.com>
5365 * docs/html/configopts.html: Minor updates and typo fixes.
5366 * docs/html/faq/index.html: Updates of the "not really bugs" list.
5367 * docs/html/faq/index.txt: Regenerated.
5369 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
5371 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
5372 dejagnu/dg.exp. Adapt to log options used to run testcases.
5374 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5376 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
5379 2001-02-13 Dirk Mueller <dmuell@gmx.net>
5380 Phil Edwards <pme@sources.redhat.com>
5382 * include/backward/function.h: Do not use rel_ops for older
5384 * include/backward/pair.h: Likewise.
5386 2001-02-12 Mark Mitchell <mark@codesourcery.com>
5388 * src/locale.cc: Remove bogus locale::id definitions.
5390 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5392 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
5393 not _DEFINE_VALARRAY_OPERATOR which is not existent.
5395 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
5396 thinko in member initialisation.
5398 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5400 * include/bits/std_valarray.h(valarray<>::shift): Avoid
5401 comparaison between signed and unsigned integer types.
5402 (valarray<>::cshift): Reformat.
5404 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
5406 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
5407 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
5408 * configure.in: Test for sigsetjmp.
5409 * configure, config.h.in: Rebuilt.
5411 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5413 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
5414 lengths and strides.
5415 (__gslice_to_index): Document.
5417 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5419 * include/bits/char_traits.h char_traits<char>::int_type: Change
5420 to `int' to match 21.1.3.1/2.
5422 * testsuite/21_strings/char_traits-int_type.C: New test.
5424 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
5426 * testsuite/Makefile.am: New file.
5428 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
5430 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
5432 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
5434 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
5436 2001-02-08 David Edelsohn <edelsohn@gnu.org>
5438 * configure.target (aix4*): Remove extra set of brackets.
5440 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
5443 * include/bits/stringfwd.h: New file.
5444 * include/bits/stl_string_fwd.h: Remove.
5445 * include/bits/localefwd.h: Remove declaration for allocator.
5446 * include/bits/std_iosfwd: Same.
5447 * include/bits/std_string.h: Include it.
5448 * include/bits/std_ios.h: Remove include.
5449 * include/bits/basic_string.h: Tweak.
5450 * libsupc++/new: Format.
5451 * src/Makefile.am (base_headers): Add stringfwd.h, remove
5453 * src/Makefile.in: Regenerate.
5454 * include/bits/std_stdexcept.h: Rewrite.
5455 * src/stdexcept.cc: Same.
5457 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
5459 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
5460 install locations too.
5461 * aclocal.m4: Regenerate.
5462 * configure.in: Remove USE_LIBDIR.
5463 * configure: Regenerate.
5464 * src/Makefile.am (toolexecdir): Simplify, use
5465 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
5466 * src/Makefile.in: Regenerate.
5467 * libsupc++/Makefile.am: Same.
5468 * libsupc++/Makefile.in: Regenerate.
5470 * src/Makefile.am: Just remove special rules for locale-inst.cc and
5471 misc-inst.cc as no longer necessary.
5473 Follow C++STYLE for naming non-static functions.
5474 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
5476 * include/bits/streambuf.tcc: Same.
5477 * include/bits/ostream.tcc: Same.
5478 * include/bits/istream.tcc: Same.
5479 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
5480 (_S_output_float): To __output_float.
5481 * include/bits/std_streambuf.h (_S_copy_streambufs): To
5483 * include/bits/locale_facets.tcc (_S_build_float_format): To
5484 __build_float_format.
5485 (_S_format): To __output_integer.
5486 (_S_fill): To __pad.
5487 * src/locale.cc: Same.
5488 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
5490 * include/bits/locale_facets.tcc (_S_group_digits): To
5492 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
5493 for collate, numpunct.
5495 2001-02-06 Phil Edwards <pme@sources.redhat.com>
5497 * docs/html/configopts.html: Fix HTML markup.
5498 * docs/html/install.html: Bring up to date.
5499 * docs/html/17_intro/C++STYLE: Add global variable conventions.
5500 * docs/html/21_strings/howto.html: More notes.
5501 * docs/html/22_locale/howto.html: Fix HTML markup.
5502 * docs/html/27_io/howto.html: More notes.
5503 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
5504 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
5506 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
5508 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
5509 to match header files.
5510 (_S_output_float): Likewise.
5511 (_S_copy_streambufs): Likewise.
5513 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
5514 Phil Edwards <pme@sources.redhat.com>
5516 * include/bits/std_istream.h (op>> signed,unsigned char): Must
5517 use reinterpret_cast, not static_cast.
5519 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
5521 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
5522 * aclocal.m4: Regenerate.
5523 * configure: Regenerate.
5525 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5527 * include/bits/locale_facets.h (class moneypunct): Fix typos.
5528 * libsupc++/pure.cc: Revert.
5530 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5532 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
5533 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
5534 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
5535 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
5536 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
5537 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
5538 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
5539 * aclocal.m4: Regenerate.
5540 * configure: Regenerate.
5542 2001-02-05 Mark Mitchell <mark@codesourcery.com>
5544 * include/bits/locale_facets.tcc: Remove `static' keyword on
5545 function definitions.
5546 * include/bits/std_streambuf.h: Likewise.
5547 * src/Makefile.am: Remove use of -fimplicit-templates.
5548 * src/Makefile.in: Regenerated.
5549 * src/locale-inst.cc: Explicitly instantiate more functions.
5550 * src/misc-inst.cc: Likewise.
5551 * src/string-inst.cc: Likewise.
5553 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5555 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
5556 macro. Consolidate all the bits to do with where includes might be
5558 * aclocal.m4: Regenerate.
5559 * configure.in: Use it.
5560 * configure: Regenerate.
5561 * src/Makefile.am (targetincludep): Use simplified rules.
5562 (targetincludep): Rename gxx_target_include_dir.
5563 (myincludep): Rename gxx_include_dir.
5564 * src/Makefile.in: Regenerate.
5565 * libsupc++/Makefile.am: Use simplified rules.
5566 * libsupc++/Makefile.in: Regenerate.
5568 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5570 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
5571 * include/c_std/bits/std_cctype.h: Same.
5572 * include/c_std/bits/std_cassert.h: Same.
5573 * include/c_std/bits/std_cstdarg.h: Same.
5574 * include/c_std/bits/std_cstddef.h: Same.
5576 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
5578 * include/c_std/bits/std_ctime.h: Same.
5579 * include/c_std/bits/std_clocale.h: Same.
5580 * include/c_std/bits/std_cmath.h: Same.
5581 * include/c_std/bits/std_csetjmp.h: Same.
5582 * include/c_std/bits/std_csignal.h: Same.
5583 * include/c_std/bits/std_cstring.h: Same.
5584 * include/c_std/bits/std_cstdlib.h: Same.
5585 * include/c_std/bits/std_cwchar.h: Same.
5587 2001-02-05 Phil Edwards <pme@sources.redhat.com>
5589 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
5591 2001-02-05 Mark Mitchell <mark@codesourcery.com>
5593 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
5594 (string::_S_construct): Likewise.
5596 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
5598 * testsuite/config/default.exp: New file.
5599 * testsuite/config: New directory.
5601 2001-02-04 Mark Mitchell <mark@codesourcery.com>
5603 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
5604 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
5605 whenever !__GXX_MERGED_TYPEINFO_NAMES.
5606 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
5608 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
5609 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5611 * Makefile.am (mkinstalldirs): Set.
5612 * src/Makefile.am (mkinstalldirs): Set.
5613 * libmath/Makefile.am (mkinstalldirs): Set.
5614 * libsup++/Makefile.am (mkinstalldirs): Set.
5615 * libio/Makefile.am (mkinstalldirs): Set.
5616 * */Makefile.in: Regenerate.
5618 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
5620 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
5621 * include/bits/localefwd.h: More initialization cleanups.
5623 2001-02-03 Jeffrey A Law <law@cygnus.com>
5625 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
5626 correctly targets with 16bit ints.
5627 (_S_ios_openmode_end): Similarly.
5628 (_S_ios_iostate_end): Similarly.
5629 (_S_ios_Seekdir_end): Similarly.
5631 2001-02-02 Phil Edwards <pme@sources.redhat.com>
5633 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
5635 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
5637 * configure.in (toplevel_srcdir, auxdir): Set.
5638 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
5639 * aclocal.m4, configure, Makefile.in: Rebuilt.
5640 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
5641 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
5642 * libsupc++-v3/Makefile.in: Rebuilt.
5643 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
5644 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
5646 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
5648 * config/c_locale_generic.cc: Remove langinfo include.
5650 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
5652 Preliminary named locales.
5653 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
5654 * aclocal.m4: Regenerate.
5655 * configure.in: Use it.
5656 * configure: Regerate.
5657 * src/Makefile.am (sources): Add c++locale.cc.
5658 (build_headers): Add c++locale.h.
5659 * src/Makefile.in: Regenerate.
5660 * config/c_locale_gnu.h: New file.
5661 * config/c_locale_gnu.cc: New file. Non-inline member functions
5662 for named locales, gnu-specific.
5663 * config/c_locale_generic.h: New file.
5664 * config/c_locale_generic.cc: New file. Non-inline member
5665 functions for named locales, generic version.
5666 * docs/html/configopts.html: Add documentation on new options.
5668 * include/bits/locale_facets.h (class _Messages): Remove.
5669 (class _Moneypunct): Remove.
5670 * src/locale-inst.cc: Remove.
5672 * include/bits/locale_facets.h (class _Collate): Remove.
5673 * src/locale-inst.cc (std): Remove.
5674 * src/locale.cc: And here.
5676 * include/bits/localefwd.h (locale::_M_coalesce): New
5677 function. Correctly put together multi-name locales.
5678 (_Impl(const _Impl&, category, size_t)): Remove.
5680 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
5682 (_M_normalize_category_names): Remove.
5683 (_M_replace_categories): Fix.
5685 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
5686 (locale::_Impl::_M_construct_ctype): Remove.
5687 (locale::_Impl::_M_construct_monetary): Remove.
5688 (locale::_Impl::_M_construct_numeric): Remove.
5689 (locale::_Impl::_M_construct_time): Remove.
5690 (locale::_Impl::_M_construct_messages): Remove.
5692 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
5693 (_Use_facet_failure_handle): Remove.
5694 * src/locale.cc: Remove definitions.
5695 * src/locale-inst.cc: And here.
5697 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
5699 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
5700 create and error-check underlying locale object.
5701 (locale::facet::_S_destroy_c_locale): Add, take care of properly
5702 tearing down underlying locale object.
5703 * include/bits/localefwd.h (locale::facet): Declare.
5704 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
5705 correctness, as glibc apparently has incorrect info in it. Test
5706 with it when it works again.....
5708 * include/bits/localefwd.h (locale::_Impl::__vec_string):
5709 Remove. Number of categories is fixed at six, so just simplify and
5710 make this an array of strings.
5711 (locale::_Impl::_M_has_name): Remove.
5712 (locale::_Impl::_M_name): Remove.
5713 (locale::_Impl::_M_category_names): Turns into...
5714 (locale::_Impl::_M_names): ...this.
5715 (locale::_Impl::_M_has_same_name()): New function.
5716 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
5717 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
5719 * src/locale.cc (locale::name()): Construct mangled name
5720 accurately reflecting combined locale categories.
5722 * src/locale.cc (locale::classic()): Don't initialize here.
5723 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
5724 __refs, bool __has_name, string __str): Do it here.
5726 * include/bits/localefwd.h: _S_categories_num to
5727 _S_num_categories. _S_facets_num to _S_num_facets.
5728 (locale::id::id()): Explicitly set _M_index to zero.
5729 * src/locale.cc: Same.
5731 * src/locale.cc: (locale::locale(const char*)): Construct named
5734 * src/locale.cc: Remove numpunct_byname ctors.
5735 * testsuite/22_locale/numpunct_byname.cc: New file.
5736 * testsuite/22_locale/numpunct.cc: New file.
5738 * include/bits/localefwd.h (class locale): Change data members to
5739 protected, from private.
5740 (_Impl::_M_get_c_locale): Add member function.
5741 (locale::facet::_M_get_global_impl()): Add member function.
5742 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
5743 a __c_locale pointer.
5744 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
5746 * testsuite/22_locale/members.cc: New file, test name and combine.
5748 * include/bits/locale_facets.h (class numpunct): Remove class
5749 _Punct and _Numpunct. Rewrite class numpunct to be correct for
5751 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
5752 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
5753 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
5754 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
5755 * testsuite/22_locale/numpunct_char_members.cc: New file.
5757 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
5759 * testsuite/README: Add more comment.
5760 * testsuite/lib/libstdc++.exp: Tweak comment.
5762 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
5764 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
5766 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
5768 * testsuite/21_strings/inserters_extractors.cc: Remove
5769 explicit reference to 'testsuite/'.
5771 2001-01-25 Richard Henderson <rth@redhat.com>
5773 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
5774 bits. Fixes Tru64 build issues.
5776 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5778 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
5779 (use ${MAKE-make}, not ${MAKE:-make}).
5780 * aclocal.m4, configure: Regenerate.
5782 2001-01-25 Mark Mitchell <mark@codesourcery.com>
5784 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
5787 * src/Makefile.am (sources): Add globals.cc.
5788 * src/Makefile.in: Regenerated.
5789 * src/globals.cc: New file.
5790 * src/ios.cc (cin): Don't define here, just declare extern.
5799 2001-01-25 Phil Edwards <pme@sources.redhat.com>
5801 * include/bits/std_iterator.h: Do not include stl_relops.h.
5802 * include/bits/std_numeric.h: Ditto.
5803 * include/bits/stl_algobase.h: Ditto.
5804 * include/bits/stl_relops.h: Add comment warning about problems.
5806 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
5808 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
5809 in testcases. Prepare for the DejaGnu based framework.
5810 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
5811 directory -- it is now mkcheck working directory.
5812 * tests_flags.in: Remove reference to $(top_srcdir). Use
5814 * Makefile.am (check, check-install): Change mkcheck invocation
5816 * Makefile.in: Regenerate.
5818 2001-01-24 Mark Mitchell <mark@codesourcery.com>
5820 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
5821 (__always_swap): Likewise.
5823 2001-01-23 Chris Demetriou <cgd@broadcom.com>
5825 * libsupc++/exception_support.cc (__terminate_func): Remove
5827 (__terminate_func_ptr): New typedef.
5828 (__terminate, __terminate_set_func): New extern function
5830 (std::terminate): Use __terminate function.
5831 (std::set_terminate): Use __terminate_set_func function.
5833 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
5835 * configure.target: Just use os_include_dir always.
5836 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
5837 Link atomicity files and ctype files here.
5838 * configure: Regenerate.
5839 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
5840 (GLIBCPP_ENABLE_ATOMICITY): Remove.
5841 * aclocal.m4: Regenerate.
5843 2001-01-23 Chris Demetriou <cgd@broadcom.com>
5845 * configure.in: Place definition of MULTISUBDIR in
5846 libsupc++/Makefile as is done for src/Makefile.
5847 * configure: Regenerate.
5849 2001-01-23 Phil Edwards <pme@sources.redhat.com>
5851 * acinclude.m4: Cosmetic changes only.
5852 * aclocal.m4: Regenerated.
5853 * configure: Regenerated.
5854 * configure.target: Update documented list of changed variables.
5855 * docs/html/install.html: Fix typo.
5856 * docs/html/20_util/howto.html: More notes on auto_ptr.
5857 * docs/html/27_io/howto.html: More notes on streabufs.
5858 * docs/html/faq/index.html: Add rel_ops problem and mention the
5859 DEC as(1) .subsection difficulty.
5860 * docs/html/faq/index.txt: Regenerated.
5862 2001-01-23 Mark Mitchell <mark@codesourcery.com>
5864 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
5865 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
5866 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
5867 its already provided in config.target.
5868 * aclocal.m4: Regenerated.
5869 * configure: Likewise.
5870 * configure.target: Set ctype_include_dir for lots of systems.
5871 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
5872 * libsupc++/Makefile.in: Regenerated.
5874 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
5876 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
5879 * testsuite/README: Add comment.
5881 2001-01-21 Phil Edwards <pme@sources.redhat.com>
5883 * docs/html/configopts.html: Update for current status. Fix HTML.
5884 * docs/html/install.html: Update for current status.
5886 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5888 * testsuite/libstdc++.tests/tests.exp: New file.
5889 * testsuite/lib/libstdc++.exp: Itou.
5890 * testsuite/README: Itou.
5892 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
5894 * tests_flags.in: Just output the bare minimum to run tests.
5895 Let's the caller do its own arrangement.
5897 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
5900 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
5902 * testsuite/17_intro: Prepare testcases for new style DejaGnu
5905 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
5907 * testsuite/libstdc++.tests, testsuite/lib: New directories.
5909 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
5911 * mkcheck.in: Construct file names that match $objdir structure.
5912 * testsuite/27_io/filebuf_members-1.txt: New file.
5913 * testsuite/27_io/ifstream_members-1.txt: New file.
5914 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
5916 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
5917 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
5919 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5921 * testsuite/27_io/istream_sentry.cc (test02): Fix.
5923 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
5926 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
5927 * src/ios.cc (ios_base::failure): Make definitions match.
5928 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
5929 (class bad_cast): Same.
5930 * libsupc++/exception (class exception): Add throw specs.
5931 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
5932 (set_unexpected): Same.
5933 (uncaught_exception): Same.
5936 * docs/html/17_intro/C++STYLE (classname): Fix.
5938 2001-01-16 Mark Mitchell <mark@codesourcery.com>
5940 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
5941 Use it do explicitly instantiate predicate<T> and value<T> for
5944 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
5946 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
5947 uninitialized thinko in last change.
5949 2001-01-16 Mark Mitchell <mark@codesourcery.com>
5951 * libsupc++/exception_support.cc (__cp_pop_exception): Change
5954 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
5956 * docs/html/17_intro/C++STYLE (classname): Add more existing
5957 and stylish patterns.
5960 * include/bits/istream.tcc (istream::sentry::sentry()): Set
5961 failbit if the state of the stream is not good.
5962 * testsuite/27_io/istream_sentry.cc (test02): Add test.
5963 * testsuite/27_io/istream_manip.cc (test01): Modify.
5966 reported by Paolo Carlini <pcarlini@unitus.it>
5967 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
5968 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
5971 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
5972 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
5973 (xsgetn): Same. Simplify.
5974 * testsuite/27_io/streambuf.cc (test04): Add testcases.
5976 reported by Larry Evans <jcampbell3@prodigy.net>
5977 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
5978 equality with eof on returned value from overflow.
5980 2001-01-14 Andreas Jaeger <aj@suse.de>
5982 * libio/libio.h: Add test for glibc 2.0.
5984 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
5986 * config/os/djgpp/bits/*: Fix dates.
5988 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
5989 _CharT* __end, _CharT __c): Remove.
5990 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
5991 * include/bits/char_traits.h: Tweak.
5993 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
5995 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
5996 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
5998 * aclocal.m4: regenerated.
5999 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
6000 * configure: regenerated.
6001 * config/os/djgpp, config/os/djgpp/bits: new directories.
6002 * config/os/djgpp/bits/ctype_base.h,
6003 config/os/djgpp/bits/ctype_inline.h,
6004 config/os/djgpp/bits/ctype_noninline.h,
6005 config/os/djgpp/bits/os_defines.h: new files.
6007 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
6009 * include/c_std/bits/std_cstdio.h: Undef printf.
6011 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
6013 * src/ios.cc: Fix typo: change cout->wcout.
6015 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
6016 * src/Makefile.in: Regenerate.
6018 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6020 * include/bits/std_complex.h: Fix a typo.
6022 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
6025 Fixes for libstdc++/1576
6026 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
6027 file, move contents into....
6028 * src/ios.cc: ...Here. Put defines for iostreams objects and
6029 initialization routines into one file to simplify DSO interaction.
6030 * include/bits/std_iostream.h: Touch.
6031 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
6032 * src/Makefile.am (sources): Remove stdstreams.cc.
6033 * src/Makefile.in: Regenerate.
6035 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6037 * tests_flags.in (check_directory): Fix typo.
6039 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6041 * include/bits/std_complex.h: Fix a typo.
6043 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
6045 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
6046 code path:) Remove magic constants and restructure to handle
6047 ctype.h bit mask layout changes more gracefully. (Make fast
6048 code path:) Use __maskrune (), if available.
6049 (is): Remove special case for digit and xdigit masks.
6051 2001-01-09 Robert Lipe <robertlipe@usa.net>
6053 * include/c_std/bits/std_ctime.h: Undefine difftime.
6055 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
6057 * src/gen-num-limits.cc (signal_adapter): New template function.
6058 (signal_handler): Use it, instead of signal.
6059 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
6060 require both tests to trap to set trap_flag.
6062 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
6064 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
6065 initialize mbstate_t member, name offset data members *off, not pos.
6066 * include/bits/fstream.tcc (filebuf::filebuf): Same.
6068 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
6070 reported by Chris G. Demetriou <cgd@sibyte.com>
6071 * configure.in: Change -linux-* to -linux*.
6072 * configure: Regenerate.
6074 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
6076 Fix 27_io/filebuf_members.cc
6077 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
6078 const string& __name, category __cat, size_t __refs): Set
6079 _M_has_name with _M_name.
6080 * include/bits/localefwd.h (locale::operator!=): Protect member
6081 function call with this->.
6082 * src/locale.cc (locale::operator==): Make fast checks first.
6083 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
6085 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
6087 * src/ios.cc (ios_base::Init::Init): Initialize here.
6088 (ios_base::sync_with_stdio): Set here.
6090 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
6092 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
6093 systems that support it, call dup() before fdopen().
6095 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
6097 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
6098 * testsuite/17_intro/header_cwctype.cc (main): New file.
6100 * src/Makefile.am (base_headers): Change.
6101 * include/bits/std_string.h: And here.
6102 * include/bits/string.tcc: Tweaks, move to...
6103 * include/bits/basic_string.tcc: ...Here.
6104 * src/string-inst.cc: Simplify, just instantiate the whole class,
6105 not member-by-member.
6107 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
6109 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
6110 * aclocal.m4: Regenerate.
6111 * configure: Regenerate.
6113 * include/bits/c++config (__GLIBCPP__): Bump version number.
6115 * ChangeLog: Start new log for year 2001
6116 * ChangeLog-2000: New file.
6118 * docs/html/configopts.html: Make sure default values are current,
6121 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
6123 * include/c_std/bits/std_cwchar.h: Same.
6124 * testsuite/17_intro/header_cwchar.cc: Same.
6125 * include/c_std/bits/std_ctime.h: Same.
6126 * testsuite/17_intro/header_ctime.cc: Same.
6127 * include/c_std/bits/std_cstdlib.h: Same.
6128 Clean up undefs, make consistent with cwchar and cmath, etc.
6129 * testsuite/17_intro/header_cstdlib.cc: Same.
6130 * include/c_std/bits/std_cstdio.h: Same here.
6131 * testsuite/17_intro/header_cstring.cc: Same.
6132 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
6133 * testsuite/17_intro/header_cstring.cc: New file. Check for
6134 size_t in namespace std.
6136 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
6137 * acconfig.h (HAVE_MBSTATE_T): Add.
6138 * config.h.in: Regenerate.
6139 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
6141 * aclocal.m4: Regenerate.
6142 * configure: Regenerate.
6143 * testsuite/17_intro/headers_c++.cc: New file.
6144 * testsuite/17_intro/headers_c.cc: Small changes.
6146 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
6148 * tests_flags.in: Fix typo in usage.
6150 * tests_flags.in: Set target specific LIBS for cygwin.