1 2002-01-10 David Seymour <seymour_dj@yahoo.com>
3 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
4 for _M_extract_float and _M_extract_int
5 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
6 (num_get<>::_M_extract_int): Likewise, all callers changed
7 * testsuite/22_locale/num_get_members_char.cc: Testcase
9 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
11 * libsupc++/exception (bad_exception): Add comment.
12 * libsupc++/new (bad_alloc): Same.
13 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
15 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
17 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
18 that the destructors should be removed from the descriptions
19 in the standard: writing them explicitly allows the vtable
20 heuristic to work. For additional information see:
21 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
22 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
23 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
24 * libsupc++/exception (bad_exception::~bad_exception()):
25 Reintroduce declaration.
26 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
27 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
28 (bad_typeid::~bad_typeid()): Same.
29 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
30 Reintroduce definition.
31 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
32 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
33 (bad_typeid::~bad_typeid()): Same.
35 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
37 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
38 * include/Makefile.in: Regenerate.
40 2002-01-09 Bo Thorsen <bo@suse.co.uk>
42 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
45 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
49 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
50 return value of _M_file->sync().
51 (filebuf::showmanyc): Check for is_open.
52 * include/std/fstream (filebuf::sync): Tweak.
53 * testsuite/27_io/filebuf.cc: Tweak.
55 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
56 Brad Garcia <garsh@attbi.com>
58 * testsuite/27_io/filebuf_members.cc: Add test.
60 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
61 Craig Rodrigues <rodrigc@mediaone.net>
64 * po/Makefile.am (mkinstalldirs): Add.
65 * po/Makefile.in: Regenerate.
67 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
69 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
70 testsuite/lib/prune.exp: Delete lines ":In function ..." from
72 * testsuite/23_containers/map_operators.cc: Remove
73 dg-excess-errors comment.
74 * testsuite/23_containers/set_operators.cc: Likewise.
76 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
78 * include/bits/stl_function.h: Remove two lines of comments;
79 adjust copyright years.
81 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
83 * include/Makefile.am (std_headers): Remove cXXX from list.
84 (c_base_srcdir): No bits subdirectory.
85 (c_base_builddir): Same.
86 (c_base_headers): Adjust names, add ciso646.
87 (bits_headers): Remove std_xxx.h headers.
88 * include/Makefile.in: Regenerate.
90 * include/ext/iterator: Adjust includes.
91 * include/ext/ropeimpl.h: Same.
92 * include/ext/stl_hash_fun.h: Same.
93 * include/ext/algorithm: Same.
95 * include/backward/bvector.h: Adjust includes.
96 * include/backward/vector.h: Same.
97 * include/backward/strstream: Same.
98 * include/backward/streambuf.h: Same.
99 * include/backward/stack.h: Same.
100 * include/backward/set.h: Same.
101 * include/backward/queue.h: Same.
102 * include/backward/multiset.h: Same.
103 * include/backward/multimap.h: Same.
104 * include/backward/map.h: Same.
105 * include/backward/list.h: Same.
106 * include/backward/iterator.h: Same.
107 * include/backward/iostream.h: Same.
108 * include/backward/iomanip.h: Same.
109 * include/backward/fstream.h: Same.
110 * include/backward/deque.h: Same.
111 * include/backward/complex.h: Same.
113 * include/bits/std_algorithm.h: Move to...
114 * include/std/algorithm: ...here.
115 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
116 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
117 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
118 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
119 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
120 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
121 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
124 * include/c_std/bits/std_cassert.h: Move to...
125 * include/c_std/cassert: Here.
126 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
127 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
128 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
129 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
131 * include/c_std/cmath: Adjust cmath.tcc include.
132 * include/c_std/cstdlib: Adjust includes.
133 * include/c_std/cwchar: Same.
134 * include/c_std/ctime: Same.
135 * include/c_std/cstring: Same.
136 * include/c_std/cstdio: Same.
137 * include/c_std/bits: Remove directory.
139 * include/c/bits/std_cassert.h: Move to...
140 * include/c/cassert: Here.
141 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
142 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
143 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
144 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
146 * include/c/bits: Remove directory.
148 * include/std/cwctype: Remove.
149 * include/std/cwchar: Remove.
150 * include/std/ctime: Remove.
151 * include/std/cstring: Remove.
152 * include/std/cstdlib: Remove.
153 * include/std/cstdio: Remove.
154 * include/std/cstddef: Remove.
155 * include/std/cstdarg: Remove.
156 * include/std/csignal: Remove.
157 * include/std/csetjmp: Remove.
158 * include/std/cmath: Remove.
159 * include/std/clocale: Remove.
160 * include/std/climits: Remove.
161 * include/std/ciso646: Remove.
162 * include/std/cfloat: Remove.
163 * include/std/cerrno: Remove.
164 * include/std/cctype: Remove.
165 * include/std/cassert: Remove.
167 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
168 files and subsituting <.xxx>
169 * include/bits/valarray_array.h: Same.
170 * include/bits/stl_uninitialized.h: Same.
171 * include/bits/stl_alloc.h: Same.
172 * include/bits/stl_algobase.h: Same.
173 * include/bits/sstream.tcc: Same.
174 * include/bits/pthread_allocimpl.h: Same.
175 * include/bits/ostream.tcc: Same.
176 * include/bits/localefwd.h: Same.
177 * include/bits/locale_facets.tcc: Same.
178 * include/bits/locale_facets.h: Same.
179 * include/bits/istream.tcc: Same.
180 * include/bits/char_traits.h: Same.
181 * include/bits/boost_concept_check.h: Same.
182 * include/bits/basic_file.h: Same.
183 * include/std/bitset: Same.
184 * include/std/complex: Same.
185 * include/std/fstream: Same.
186 * include/std/functional: Same.
187 * include/std/ios: Same.
188 * include/std/iostream: Same.
189 * include/std/ostream: Same.
190 * include/std/sstream: Same.
191 * include/std/streambuf: Same.
192 * include/std/string: Same.
193 * include/std/iterator: Same.
194 * include/std/valarray: Same.
196 * src/ios.cc: Adjust includes.
197 * src/valarray-inst.cc: Same.
198 * src/string-inst.cc: Same.
199 * src/stl-inst.cc: Same.
200 * src/stdexcept.cc: Same.
201 * src/misc-inst.cc: Same.
202 * src/localename.cc: Same.
203 * src/locale-inst.cc: Same.
204 * src/locale.cc: Same.
205 * src/limits.cc: Same.
206 * src/concept-inst.cc: Same.
207 * src/complex_io.cc: Same.
208 * src/codecvt.cc: Same.
209 * src/bitset.cc: Same.
210 * src/cmath.cc: Same.
212 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
214 * include/bits/stl_tree.h (rb_tree): Move to...
215 * include/ext/rb_tree: ...here, new file.
216 * include/Makefile.am (ext_headers): Add new file.
217 * include/Makefile.in: Regenerate.
218 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
219 return_temporary_buffer, struct temporary_buffer): Move to...
220 * include/ext/memory: ...here.
221 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
222 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
223 * include/backward/tree.h: Include <ext/rb_tree), tweak.
225 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
227 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
228 * include/ext/numeric: ...here, new file.
229 * include/bits/stl_function.h (identity_element, unary_compose,
230 binary_compose, compose1, compose2, identity, select1st,
231 select2nd, project1st + helper, project2nd + helper,
232 constant_void_fun + helper, constant_unary_fun + helper,
233 costant_binary_fun + helper, constant0, constant1, constant2,
234 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
235 * include/ext/functional: ...here, new file.
236 * include/Makefile.am (ext_headers): Add new files.
237 * include/Makefile.in: Regenerate.
238 * testsuite/ext/headers.cc: Include <ext/numeric> and
240 * include/backward/algo.h: Include <ext/numeric>, tweak.
241 * include/backward/function.h: Include <ext/functional>, tweak.
242 * include/ext/ropeimpl.h: Include <ext/numeric>.
244 2002-01-03 Jeffrey A Law <law@redhat.com>
246 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
247 __strtoull declarations with __extension__.
249 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
251 * testsuite/lib/prune.exp: Correct regular expression for
254 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
256 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
257 Change concept checks, as with lower_bound and PR 2054.
258 * testsuite/ext/concept_checks.cc: Expand test to include those.
260 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
262 * include/bits/boost_concept_check.h: Import some changes from
263 upsteam (Boost) version.
265 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
267 * include/bits/stl_algobase.h (copy_n + helpers,
268 lexicographical_compare_3way + helpers): Move to...
269 * include/ext/algorithm: ...here.
270 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
272 * include/ext/memory: ...here, new file.
273 * include/Makefile.am (ext_headers): Add new file.
274 * include/Makefile.in: Regenerate.
275 * testsuite/ext/headers.cc: Include <ext/memory>.
276 * include/backward/algobase.h: Include <ext/memory> and
277 <ext/algorithm>, tweak.
278 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
279 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
281 2002-01-01 Roger Sayle <roger@eyesopen.com>
283 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
284 equivalent ___builtin__ versions.
286 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
287 are available in libstdc++ as the necessary stub implementations
288 are provided by libmath/stubs.c.
290 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
292 * configure.in: Add support for NetBSD cross compiles.
293 * configure: Regenerate.
295 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
297 * include/ext/iterator: Add #include <bits/std_iterator.h>, tweak.
298 * testsuite/ext/headers.cc: Add <ext/iterator>.
300 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
302 * include/backward/algo.h: Add two more using declarations.
303 * include/backward/iterator.h: Include <ext/iterator>,
304 add using declaration.
305 * include/ext/algorithm: Add #pragma GCC system_header.
307 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
309 * include/bits/stl_bvector.h: Change calls to 3-argument distance()
310 into standard 2-argument version.
311 * include/bits/stl_deque.h: Likewise.
312 * include/bits/stl_tempbuf.h: Likewise.
313 * include/bits/stl_tree.h: Likewise.
314 * include/bits/stl_vector.h: Likewise.
315 * include/ext/stl_hashtable.h: Likewise.
316 * include/bits/stl_iterator_base_funcs.h: Move distance() extension...
317 * include/ext/iterator: to here. New file.
318 * include/Makefile.am (ext_headers): Add new file, alphabatize.
319 * include/Makefile.in: Regenerate.
321 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
323 * include/bits/stl_deque.h: Doxygenate with initial/example hooks.
324 Clean up spacing and indentation.
326 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
328 * include/ext/slist: Move into __gnu_cxx,
329 tweak, add using declarations.
331 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
333 * include/ext/hash_map: Move into __gnu_cxx,
334 tweak, add using declarations.
335 * include/ext/hash_set: Ditto.
336 * include/ext/ropeimpl.h: Ditto.
337 * include/ext/stl_hash_fun.h: Ditto.
338 * include/ext/stl_hashtable.h: Ditto.
339 * include/ext/stl_rope.h: Ditto.
340 * src/ext-inst.cc: Tweak.
341 * testsuite/ext/rope.cc: Tweak.
343 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
345 * include/backward/algo.h: Include <ext/algorithm>,
346 tweak using declarations.
348 2001-12-29 Richard Henderson <rth@redhat.com>
350 * config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits.
351 * config/os/hpux/bits/cpu_limits.h: New file.
352 * configure.target (CPULIMITSH): Use it.
354 2001-12-28 Richard Henderson <rth@redhat.com>
356 * config/cpu/ia64/bits/cpu_limits.h: New file.
357 * config/os/osf/osf5.0/bits/cpu_limits.h: New file.
358 * configure.target (CPULIMITSH): Use them.
360 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
362 * include/bits/c++config: Move doxygen hook comment...
363 * docs/doxygen/doxygroups.cc: ...to here.
365 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
368 * include/bits/stl_algo.h (lower_bound): Relax concept checks.
369 * testsuite/ext/concept_checks.cc: New file.
371 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
373 * include/bits/stl_algo.h (count returning void,
374 count_if returning void, __random_sample, random_sample,
375 random_sample_n, __is_heap, is_heap, is_sorted): Move to...
376 * include/ext/algorithm: ...here, new file.
377 * include/Makefile.am (ext_headers): Add new file.
378 * include/Makefile.in: Regenerate.
379 * testsuite/ext/headers.cc: Include <ext/algorithm>.
381 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
382 Nathan Myers <ncm@cantrip.org>
384 * include/bits/basic_string.h (insert(__pos, __s, __n)):
385 Optimize by avoiding temporaries and working in-place when possible.
386 (insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n).
387 (insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n).
388 * testsuite/21_strings/insert.cc (test02): New testcases.
390 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
392 * testsuite/testsuite_hooks.h (gnu_counting_struct): Add.
393 * testsuite/23_containers/deque_ctor.cc: New file.
395 2001-12-27 Paolo Carlini <pcarlini@unitus.it>
397 * include/bits/locale_facets.tcc (collate::do_transform):
398 Adjust implicit typename.
399 * config/locale/messages_members_generic.h (messages::open,
400 messages::do_open, messages::do_get): Adjust implicit typename.
401 * config/locale/messages_members_gnu.h (messages::open,
402 messages::do_open, messages::do_get): Adjust Implicit typename.
403 * config/locale/messages_members_ieee_1003.1-200x.h (messages::open,
404 messages::do_open, messages::do_get): Adjust implicit typename.
406 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
409 * src/misc-inst.cc: Many additional I/O-related instantiations.
410 * testsuite/27_io/instantiations.cc: New file.
412 2001-12-26 Benjamin Kosnik <bkoz@waller.constant.com>
414 * testsuite/24_iterators/insert_iterator.cc (test02): Add.
415 * testsuite/24_iterators/front_insert_iterator.cc (test02): Add.
416 * testsuite/24_iterators/back_insert_iterator.cc (test02): Add.
417 * testsuite/24_iterators/reverse_iterator.cc (test02): Add.
419 * include/bits/stl_iterator.h (reverse_iterator): Uglify member
420 current to _M_current.
421 (back_insert_iterator): Uglify member container to _M_container.
422 (front_insert_iterator): Same.
423 (insert_iterator): Same.
425 2001-12-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
427 * include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New
428 macros for signed types; default value is true.
429 (numeric_limits<>::is_modulo): Get value from corresponding
430 __glibcpp_xxx_is_modulo macro.
432 2001-12-23 Jeffrey A Law <law@redhat.com>
434 * config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>.
435 Twiddle return types for strtoll and strtoull to avoid using
436 intmax_t and uintmax-t.
438 2001-12-22 Richard Henderson <rth@redhat.com>
440 * configure.target (CPULIMITSH): Fix typo in alpha case.
442 2001-12-22 Jeffrey A Law <law@redhat.com>
444 * config/os/hpux/bits/os_defines.h: Update to avoid #defines
445 for strtoll and strtoull.
447 2001-12-21 Jeffrey A Law <law@redhat.com>
449 * config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
450 Define strtoll and strtoull. Provide prototypes for
451 __strtoll and __strtoull. Define _GLIBCPP_USE_LONG_LONG
454 * src/locale-inst.cc: Include <bits/std_cstdlib.h>
456 * configure.target: Fix typo in hpux case.
458 2001-12-21 Paolo Carlini <pcarlini@unitus.it>
460 * include/ext/stl_rope.h (_Rope_iterator):
461 Add local typedef to fix implicit typename problems.
463 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
465 * docs/doxygen/Intro.3: New 'Allocators' module.
466 * docs/doxygen/TODO: Update.
467 * docs/doxygen/doxygroups.cc: Update.
468 * docs/doxygen/run_doxygen: Update.
470 * include/bits/stl_alloc.h: Tweak doxygen hooks in comments.
471 * include/bits/std_memory.h: Doxygenate.
472 * include/bits/stl_iterator_base_types.h: Likewise.
473 * include/bits/stl_raw_storage_iter.h: Likewise.
474 * include/bits/stl_tempbuf.h: Likewise.
475 (get_temporary_buffer): Remove unused nonstandard overload.
476 * include/bits/stl_uninitialized.h: Likewise.
478 * include/bits/stl_iterator_base_types.h (input_iterator,
479 output_iterator, forward_iterator, bidirectional_iterator,
480 random_access_iterator): Move old names...
481 * include/backward/iterator.h: ...to here.
482 * include/bits/stl_bvector.h: Update.
483 * include/ext/stl_rope.h: Update.
485 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
487 * docs/html/configopts.html: Describe recent options.
488 * docs/html/documentation.html: Point to new doxygen tarballs.
489 * docs/html/install.html: Brief updates.
490 * docs/html/17_intro/RELEASE-NOTES: Remove weird control character.
491 * docs/html/ext/howto.html: Fix typos, describe filebuf::fd().
492 * docs/html/faq/index.html: Update for 3.0.95.
493 * docs/html/faq/index.txt: Regenerate.
495 2001-12-19 David Billinghurst <David.Billinghurst@riotinto.com>
498 * testsuite/lib/libstdc++-v3-dg.exp: Append .exe to
501 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
503 * docs/html/17_intro/TODO: Update.
504 * docs/html/17_intro/RELEASE-NOTES: Edits, update.
505 * README: Edit for clarity, update to reflect current directory
508 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
510 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
512 * aclocal.m4: Rebuild.
513 * configure: Rebuild.
515 2001-12-18 Paolo Carlini <pcarlini@unitus.it>
516 Nathan Myers <ncm@cantrip.org>
518 * include/bits/basic_string.h (assign(__str, __pos, __n)):
519 Call assign(__s, __n).
520 (assign(__s, __n)): Terminate the string with _S_terminal.
522 2001-12-17 Benjamin Kosnik <bkoz@redhat.com>
524 * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
525 Set to true, like float and double.
527 2001-12-17 David Billinghurst <David.Billinghurst@riotinto.com>
530 * testsuite/lib/prune.exp: New file
531 * testsuite/lib/libstdc++-v3-dg.exp: Use it
533 2001-12-17 Phil Edwards <pme@gcc.gnu.org>
535 * include/bits/basic_file.h (__basic_file::fd): New function.
536 * config/io/basic_file_stdio.h (__basic_file::fd): Define.
537 * include/bits/std_fstream.h (basic_filebuf::fd): New function.
538 * include/bits/fstream.tcc (basic_filebuf::fd): Define.
539 * testsuite/27_io/filebuf_members.cc (test_02): New test.
541 2001-12-16 Nathan Sidwell <nathan@codesourcery.com>
543 * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
544 * po/Makefile.in: Regenerated.
546 2001-12-16 Paolo Carlini <pcarlini@unitus.it>
548 * testsuite/21_strings/assign.cc (test01): Add tests.
550 2001-12-15 Paolo Carlini <pcarlini@unitus.it>
551 Nathan Myers <ncm@cantrip.org>
553 * include/bits/basic_string.h
554 (assign(__str, __pos, __n), assign(__s, __n)): Optimize
555 by avoiding unnecessary temporaries.
556 (assign(__s)): Call assign(__s, __n).
557 * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
558 * include/bits/std_string.h: include stl_function.h.
559 * testsuite/21_strings/assign.cc (test02, test03): New tests.
561 2001-12-15 Benjamin Kosnik <bkoz@redhat.com>
563 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
565 * aclocal.m4: Regenerate.
566 * configure: Regenerate.
568 2001-12-14 Benjamin Kosnik <bkoz@redhat.com>
570 Clean up initialization and simplfy caching of underlying "C"
571 default locale objects.
572 * src/localename.cc (locale::_Impl::_Impl(string, size_t):
573 Unconditionally create __clocale object for all named locales,
574 including "C" and "POSIX".
575 * config/locale/c_locale_generic.cc
576 (locale::facet::_S_create_c_locale): Always set __cloc to zero.
577 * config/locale/c_locale_gnu.cc: Always delete.
578 * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
579 * src/locale.cc (locale::classic()): Initialize
580 locale::facet::_S_c_locale.
581 (locale::facet::_S_c_locale): Define.
583 * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
585 * src/locale.cc: Add definition here.
586 * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
587 * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
588 * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
590 (ctype<char>::_M_toupper): Remove const&.
591 (ctype<char>::_M_tolower): Remove const&.
592 (ctype<char>::_M_ctable): Remove const&.
594 * include/bits/locale_facets.h (collate): Clean up initialization
595 of _M_c_locale_collate in ctors and dtors.
596 * config/locale/collate_members_gnu.cc: Always use extended
599 * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
600 (messages_byname): Same.
601 * config/locale/messages_members_generic.h (messages::~messages):
603 * config/locale/messages_members_gnu.h: Same.
605 * include/bits/localefwd.h: Clean. Move dtor definitions to
606 * src/locale.cc: Here.
607 * testsuite/22_locale/facet.cc: Fix spelling.
609 Named locale support for ctype<wchar_t>.
610 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
611 ctype_members_* bits.
612 * aclocal.m4: Regenerate.
613 * configure: Regenerate.
614 * src/Makefile.am (sources): Add ctype.cc.
615 * src/Makefile.in: Regenerate.
616 * config/locale/ctype_members_generic.cc: New file.
617 * config/locale/ctype_members_gnu.cc: New file.
618 * src/locale.cc: Remove ctype<wchart_t> definitions.
620 2001-12-13 Roger Sayle <roger@eyesopen.com>
622 * acconfig.h: Test for __builtin_sqrt instead of
624 * acinclude.m4: Same.
625 * include/c_shadow/bits/std_cmath.h: Same.
626 * aclocal.m4: Regenerated.
627 * config.h.in: Regenerated.
628 * configure: Regenerated.
630 2001-12-13 Phil Edwards <pme@gcc.gnu.org>
632 * docs/html/ext/howto.html: Fix typos.
634 2001-12-13 Benjamin Kosnik <bkoz@redhat.com>
637 * src/locale.cc (locale::locale(const char*)): Deal with locales
639 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
641 2001-12-12 Paolo Carlini <pcarlini@unitus.it>
643 * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
644 _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
645 _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
646 : Adjust implicit typename.
647 * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
648 Adjust implicit typename.
649 * testsuite/27_io/streambuf.cc: Adjust implicit typename.
651 2001-12-12 Benjamin Kosnik <bkoz@redhat.com>
653 Named locale support for ctype<char>.
654 * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
655 * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
656 definitions for alternate constructor.
657 * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
658 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
659 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
660 * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
661 * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
662 * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
663 * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
664 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
665 * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
666 * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
667 * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
668 * config/os/aix/bits/ctype_noninline.h (ctype): Same.
669 * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
670 definitions for all virtual functions. These are now explicitly
671 undefined for non-required factets, ie any non-char, non-wchar_t
673 * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
674 locales use alternate constructor for ctype facet.
675 * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
676 mask*, bool, size_t): Add.
677 (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
678 * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
681 * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
682 XFAIL for non-gnu locale models.
684 2001-12-12 Philip Martin <philip@codematters.co.uk>
685 Ross Smith <r-smith@ihug.co.nz>
686 Paolo Carlini <pcarlini@unitus.it>
689 * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
690 Fix digits10 values for integral types.
691 * include/bits/locale_facets.tcc (num_get::do_get for integral types):
692 Tweak _M_extract_int call.
693 * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
694 Tweak overflowing number of digits.
695 * testsuite/18_support/numeric_limits.cc (test03): New testcase.
697 2001-12-11 Benjamin Kosnik <bkoz@redhat.com>
699 * config/os/generic/bits/ctype_inline.h: Remove spaces.
700 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
701 * include/bits/locale_facets.h (__num_base): Move double data
702 members to first in class.
703 * include/bits/locale_facets.tcc: Re-arrange, tweak.
704 * src/locale.cc: Clean.
705 *include/bits/stl_vector.h: Space typedefs.
707 2001-12-11 Phil Edwards <pme@gcc.gnu.org>
709 * testsuite/ext/allocators.cc: New file.
711 2001-12-11 Jason Merrill <jason@redhat.com>
713 * include/bits/locale_facets.tcc (_M_extract_int): Avoid
714 uninitialized warning.
716 2001-12-11 Loren Rittle <ljrittle@acm.org>
718 * config/cpu/sparc/sparc32/bits/atomicity.h
719 (__Atomicity_lock<0>::_S_atomicity_lock): Add.
721 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
723 * include/bits/basic_string.tcc (_M_replace_safe): Fix typos.
724 * include/bits/basic_string.h: Fix typos.
726 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
727 Nathan Myers <ncm@cantrip.org>
729 * include/bits/basic_string.tcc (_M_replace_safe): New function.
730 (_M_replace(input_iterator_tag), append members): Use it.
731 (_M_replace(forward_iterator_tag)): Remove.
732 * include/bits/basic_string.h: Adjust declarations.
733 * src/string-inst.cc: Adjust declarations.
735 2001-12-09 Benjamin Kosnik <bkoz@redhat.com>
736 Philip Martin <pmartin@uklinux.net>
738 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
739 (__num_base::_S_scale_oct): Add.
740 * include/bits/locale_facets.tcc (_M_extract_int): Use them.
741 * src/locale.cc: Add definitions.
742 * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
744 * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
746 2001-12-07 Nathan Myers <ncm@cantrip.org>
747 Loren Rittle <ljrittle@acm.org>
750 * config/cpu/sparc/sparc32/bits/atomicity.h
751 (struct __Atomicity_lock<__inst>): Add.
752 (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
753 (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
754 instead of lock local to static function.
755 (__atomic_add): Likewise.
757 2001-12-07 Phil Edwards <pme@gcc.gnu.org>
759 * src/globals.cc: Remove __GTHREADS guard.
761 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
763 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
764 Extend comment, reduce __cs_size for non-fixed outputs.
766 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
768 * include/bits/basic_string.tcc (_M_mutate): Fix typo
769 in the previous check in.
771 2001-12-06 Paolo Carlini <pcarlini@unitus.it>
772 Loren J. Rittle <ljrittle@acm.org>
774 * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
775 exponential growth policy to meet linear amortized time
776 requirements of the standard.
777 (_S_create): Adjust comment.
779 2001-12-06 Benjamin Kosnik <bkoz@redhat.com>
782 * include/bits/locale_facets.tcc (num_put): Clean.
783 (num_get::_M_extract_float): Change argument to string.
784 (num_get::do_get(float)): Fixup.
785 (num_get::do_get(double)): Same.
786 (num_get::do_get(long double)): Same.
787 (num_get::_M_extract_int): Add maximum length parameter, __max.
788 (num_get::_M_extract_float): Correct zeros, use string.
789 * include/bits/locale_facets.h (num_get::_M_extract_float): Change
791 * src/locale.cc (__num_base::_S_atoms): Remove x, X.
792 * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
794 2001-12-06 Philip Martin <pmartin@uklinux.net>
796 * testsuite/27_io/istream_extractor_arith.cc (test12): Add
797 tests for excess input digits.
799 2001-12-06 Phil Edwards <pme@gcc.gnu.org>
801 * include/bits/std_bitset.h: Use GLIBCPP in multiple-inclusion guard.
802 * include/bits/stl_algo.h: Likewise.
803 * include/bits/stl_algobase.h: Likewise.
804 * include/bits/stl_bvector.h: Likewise.
805 * include/bits/stl_deque.h: Likewise.
806 * include/bits/stl_function.h: Likewise.
807 * include/bits/stl_iterator.h: Likewise.
808 * include/bits/stl_iterator_base_funcs.h: Likewise.
809 * include/bits/stl_iterator_base_types.h: Likewise.
810 * include/bits/stl_list.h: Likewise.
811 * include/bits/stl_multimap.h: Likewise.
812 * include/bits/stl_multiset.h: Likewise.
813 * include/bits/stl_pair.h: Likewise.
814 * include/bits/stl_queue.h: Likewise.
815 * include/bits/stl_set.h: Likewise.
816 * include/bits/stl_stack.h: Likewise.
817 * include/bits/stl_tempbuf.h: Likewise.
818 * include/bits/stl_tree.h: Likewise.
819 * include/bits/stl_vector.h: Likewise.
821 * include/bits/stl_alloc.h: Use our own multiple inclusion guards.
822 Doxygenate more comments. Correct historical artifacts in comments.
823 (alloc, single_alloc): Uglify non-standard names.
824 (__default_alloc_template::_NFREELISTS): Calculate from other
826 (__default_alloc_template::_S_free_list): Remove SunPro workaround.
827 (__default_alloc_template::_Lock): Mark as "unused".
828 * include/backward/alloc.h: Update.
829 * include/bits/stl_bvector.h: Likewise.
830 * include/ext/ropeimpl.h: Likewise.
831 * include/ext/stl_hashtable.h: Likewise.
833 2001-12-05 Benjamin Kosnik <bkoz@redhat.com>
836 * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
837 grouping to floating point types.
838 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
840 2001-12-04 Paolo Carlini <pcarlini@unitus.it>
843 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
845 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
846 Deal properly with long ios_base::fixed floats.
847 (num_put::_M_widen_float): use
848 __len in __builtin_alloca call.
850 2001-12-04 Benjamin Kosnik <bkoz@redhat.com>
852 * src/Makefile.am (sources): Add ext-inst.cc.
853 * src/Makefile.in: Regenerate.
854 * src/ext-inst.cc: New file.
855 * include/bits/stl_threads.h: Format.
856 * src/globals.cc: Add instantiation for _S_swap_lock.
858 * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
861 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
863 * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
864 and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
865 * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
866 for explicit instantiation of class std::basic_string<char,
867 gnu_char_traits, std::allocator<char> >.
869 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
871 * testsuite/22_locale/collate.cc: Compile-only.
872 * testsuite/22_locale/time_get.cc: Same.
873 * testsuite/22_locale/time_put.cc: Same.
874 * testsuite/22_locale/numpunct.cc: Same.
875 * testsuite/22_locale/num_put.cc: Same.
876 * testsuite/22_locale/num_get.cc: Same.
877 * testsuite/22_locale/moneypunct.cc: Same.
878 * testsuite/22_locale/money_get.cc: Same.
879 * testsuite/22_locale/messages.cc: Same.
880 * testsuite/22_locale/ctype.cc: Same.
882 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
884 * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
885 member instantiations.
887 2001-12-03 Steve Ellcey <sje@cup.hp.com>
889 * libstdc++-v3/configure.in: Add support for hpux cross compiles,
890 combine common linux/hpux/generic cross compile support to reduce
892 * libstdc++-v3/configure: Regenerate.
894 2001-12-03 Loren J. Rittle <ljrittle@acm.org>
896 * docs/html/ext/howto.html: Update commentary.
897 * include/bits/c++config: Update threading configuration comment.
898 (__STL_GTHREADS): Remove macro definition.
899 (__STL_THREADS): Likewise.
900 * include/bits/stl_threads.h: Leave only the configuration
901 path which had been guarded by __STL_GTHREADS. Remove all
902 guards related to __STL_GTHREADS, __STL_SGI_THREADS,
903 __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
904 * include/bits/stl_alloc.h: Leave only the configuration path
905 which had been guarded by __STL_THREADS. Remove configuration
906 path and guards for __STL_SGI_THREADS.
907 (__NODE_ALLOCATOR_THREADS): Remove macro definition. Unroll its use.
908 (__NODE_ALLOCATOR_LOCK): Likewise.
909 (__NODE_ALLOCATOR_UNLOCK): Likewise.
910 (_NOTHREADS): Remove guards related to macro.
911 * include/ext/stl_rope.h: Remove configuration path and guards
912 for __STL_SGI_THREADS.
913 * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
915 2001-12-02 Phil Edwards <pme@gcc.gnu.org>
917 * docs/html/ext/howto.html: Update list of implemented DRs.
918 * docs/html/ext/lwg-active.html: Import R20 from upstream.
919 * docs/html/ext/lwg-defects.html: Import R20 from upstream.
921 2001-11-30 Benjamin Kosnik <bkoz@redhat.com>
925 * libsupc++/exception (bad_exception::~bad_exception()): Remove
927 * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
928 * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
929 (bad_typeid::~bad_typeid()): Remove.
930 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
931 (bad_typeid::~bad_typeid()): Same.
932 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
933 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
935 * include/bits/std_iomanip.h: Tweak.
937 2001-11-29 Paolo Carlini <pcarlini@unitus.it>
940 * include/bits/locale_facets.tcc (__pad): Add bool parameter to
941 correctly pad internal-adjusted const char*-type objects.
942 * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
943 * include/bits/ostream.tcc (operator<<(_CharT , char, const
944 _CharT*, const char*, const basic_string&): Update calls.
945 * src/locale-inst.tcc: Update declarations.
946 * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
948 2001-11-29 Phil Edwards <pme@gcc.gnu.org>
950 * docs/html/ext/howto.html: Finish allocator notes (inst and 3.0).
952 2001-11-29 Benjamin Kosnik <bkoz@redhat.com>
954 * include/bits/locale_facets.tcc (num_get::do_get(long double)):
955 Fix __traits_type typo.
957 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
959 * include/bits/locale_facets.tcc (__pad): Correctly pad
960 internal-adjusted hex numbers.
961 * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
963 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
964 Loren J. Rittle <ljrittle@acm.org>
966 * include/bits/basic_string.h
967 (basic_string::_Rep::__default_excess, _S_excess_slop):
969 * include/bits/basic_string.tcc: Remove dead code.
970 * include/bits/c++config: Remove comment.
972 2001-11-28 Benjamin Kosnik <bkoz@redhat.com>
973 Jakub Jelinek <jakub@redhat.com>
975 * config/locale/moneypunct_members_gnu.cc
976 (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
978 * config/locale/numpunct_members_gnu.cc
979 (numpunct<wchar_t>::_M_initialize_numpunct): Same.
981 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
983 * include/bits/locale_facets.tcc: Formatting tweaks.
985 * testsuite/23_containers/map_operators.cc: Don't xfail.
986 * testsuite/23_containers/set_operators.cc: Same.
987 * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
988 * testsuite/backward/header_deque_h.cc: Same.
990 2001-11-27 Loren J. Rittle <ljrittle@acm.org>
991 Paolo Carlini <pcarlini@unitus.it>
993 * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
994 Enforce allocation size blocking policy to reduce
995 fragmentation and enhance performance with common malloc
998 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
1000 Numeric facets cleanup.
1001 * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
1003 (__num_base::_M_zero): Add
1004 (__num_base::_M_e): Add.
1005 (__num_base::_M_E): Add.
1006 * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
1007 (num_get::_M_extract_float): New.
1008 (num_get::_M_extract_int): New.
1009 * src/locale.cc (num_get::_M_extract): Remove.
1011 * include/bits/locale_facets.tcc (num_put::_M_insert_float):
1012 Simplify, use _M_insert.
1013 (num_put::do_put(bool)): Simplify, remove __pad.
1015 (__pad_output): Change to __pad.
1016 * include/bits/ostream.tcc: And here.
1017 * src/locale-inst: Remove instantiations.
1019 * include/bits/locale_facets.h: Move helper functions in to class
1021 (num_put::_M_insert_float): Same, for __output_integer.
1022 (num_put::_M_insert_int): Same, for __output_float.
1023 (num_put::_M_insert): New.
1025 (__num_base::_S_format_float): Move
1026 __build_float_format into class __num_base.
1027 (__num_base::_S_format_int): Move __build_int_format into class
1029 * include/bits/locale_facets.tcc (__group_digits): Change to
1030 (__add_grouping): This.
1031 * src/locale-inst.cc: And here. Tweak instantiations.
1032 * src/misc-inst.cc: Remove instantiations.
1034 * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
1035 for new calling conventions, move to...
1036 * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
1037 signature to make it useful for both ostream and num_put.
1038 (__pad_numeric): Remove.
1039 * src/misc-inst.cc: Remove instantiations.
1040 * src/locale-inst.cc: Same.
1042 * include/bits/locale_facets.h (_Numeric_get): Remove.
1043 (_Numeric_put): Remove.
1044 (num_get::get(short)): Remove.
1045 (num_get::get(int)): Remove.
1046 (num_get::do_get(short)): Remove.
1047 (num_get::do_get(int)): Remove.
1048 * include/bits/istream.tcc (istream::operator>>(short)): Fix as
1050 (istream::operator>>(int)): Same.
1052 * include/bits/locale_facets.h (_Format_cache): Remove.
1053 * include/bits/locale_facets.tcc: Same.
1054 * src/locale.cc: Same.
1055 * src/locale-inst.cc: Same.
1056 * include/bits/ostream.tcc: Same.
1057 * src/ios.cc (ios_base::imbue): Remove here as well.
1059 * testsuite/22_locale/num_get.cc: New file.
1060 * testsuite/22_locale/num_get_members_char.cc: New file.
1061 * testsuite/22_locale/num_get_members_wchar_t.cc: New.
1062 * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
1063 * testsuite/22_locale/num_put.cc: New file.
1064 * testsuite/22_locale/num_put_members_char.cc: New file.
1065 * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
1066 * testsuite/27_io/ostream_inserter_arith.cc: Fix.
1067 * testsuite/27_io/istream_extractor_arith.cc: Fix.
1069 2001-11-27 Phil Edwards <pme@gcc.gnu.org>
1071 * docs/html/explanations.html: New section, empty for now.
1072 * docs/html/17_intro/howto.html: Cleanup. Move unrelated link...
1073 * docs/html/23_containers/howto.html: ...to here. Break up and
1074 rewrap threading discussion to emphasize warning. Move malloc text...
1075 * docs/html/ext/howto.html: ...to here. New section. Describe
1076 allocators and __USE_MALLOC effects.
1077 * docs/html/ext/sgiexts.html: Mention their code.
1079 2001-11-24 Joseph S. Myers <jsm28@cam.ac.uk>
1081 * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1082 docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
1085 2001-11-23 Phil Edwards <pme@gcc.gnu.org>
1087 * Makefile.am (doxygen-maint): The script isn't executable in CVS.
1088 * Makefile.in: Regenerated.
1089 * docs/doxygen/TODO: New file listing doxygen work to be done.
1090 * docs/doxygen/run_doxygen: Fix up man pages.
1091 * docs/doxygen/user.cfg.in: Insert maint-only toggles.
1092 * docs/doxygen/maint.cfg.in: Copy from user.cfg and turn toggles on.
1093 * include/bits/stl_construct.h: Use new hooks for internal functions.
1095 * docs/html/17_intro/TODO: Small updates.
1096 * docs/html/faq/index.html: Likewise.
1097 * docs/html/faq/index.txt: Regenerated.
1099 * include/bits/stl_alloc.h: Doxygenate, reindent comments, remove
1100 SGI-isms and wrappers.
1101 (simple_alloc, debug_alloc): Uglify class names.
1102 (__default_alloc_template): Uglify "threads" template parameter and
1103 update corresponding macros.
1104 * include/backward/alloc.h: Bring up to date.
1106 2001-11-23 Jason Merrill <jason@redhat.com>
1108 * src/vterminate.cc (__verbose_terminate_handler): Add leading
1111 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
1113 * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1114 docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
1115 docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
1116 docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
1117 docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
1118 docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
1119 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
1120 docs/html/21_strings/howto.html,
1121 docs/html/23_containers/howto.html,
1122 docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
1123 docs/html/27_io/binary_iostreams_kuehl.txt,
1124 docs/html/ext/sgiexts.html, docs/html/faq/index.html,
1125 docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
1126 include/bits/basic_file.h, include/bits/locale_facets.h,
1127 include/bits/locale_facets.tcc, include/bits/std_sstream.h,
1128 include/ext/ropeimpl.h, include/ext/stl_rope.h,
1129 libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
1130 libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
1131 configure.target, ChangeLog-2000: Fix spelling errors.
1133 * config/locale/moneypunct_members_gnu.cc,
1134 include/bits/locale_facets.h: Fix spelling errors.
1136 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
1138 * testsuite/23_containers/list_capacity.cc: New file.
1139 * testsuite/23_containers/list_ctor.cc: New file.
1140 * testsuite/23_containers/list_modifiers.cc: New file.
1141 * testsuite/23_containers/list_operators.cc: New file.
1143 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
1145 * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
1146 (size): Replaced nonstandard distance() call with the standard one.
1147 (transfer): Uglified to _M_transfer.
1149 2001-11-21 Paolo Carlini <pcarlini@unitus.it>
1152 * include/bits/basic_string.tcc (basic_string::reserve): Never shrink
1153 below the current size.
1154 * testsuite/21_strings/capacity.cc (test02): Add test.
1156 2001-11-19 Phil Edwards <pme@gcc.gnu.org>
1158 * docs/doxygen/Intro.3: More notes.
1159 * docs/doxygen/style.css: Update to default style from Doxygen 1.2.10.
1160 * include/bits/stl_algobase.h: Add doxygen hooks for functions.
1161 * include/ext/hash_map: Add @file hook.
1162 * include/ext/hash_set: Likewise.
1163 * include/ext/rope: Likewise.
1164 * include/ext/ropeimpl.h: Likewise.
1165 * include/ext/slist: Likewise.
1166 * include/ext/stl_hash_fun.h: Likewise.
1167 * include/ext/stl_hashtable.h: Likewise.
1168 * include/ext/stl_rope.h: Likewise.
1170 * docs/html/17_intro/license.html: Remove "experimental" sentence.
1171 * docs/html/19_diagnostics/howto.html: Document new verbose
1173 * testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
1174 to more visible (closer to description) position.
1176 * libsupc++/eh_type.cc: Formatting tweak.
1177 * libsupc++/exception: Likewise.
1178 * src/vterminate.cc: Likewise.
1180 * docs/html/17_intro/porting.html: Regenerate.
1181 * docs/html/faq/index.txt: Regenerate.
1183 2001-11-18 Jason Merrill <jason@redhat.com>
1185 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
1186 * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
1187 * libsupc++/unwind-cxx.h: Adjust.
1188 * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
1190 * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
1191 * libsupc++/cxxabi.h: Declare it.
1192 * libsupc++/Makefile.am (sources): Add it.
1193 * src/vterminate.cc (verbose_terminate_handler): New file.
1194 * libsupc++/exception: Declare it.
1195 * src/Makefile.am (sources): Add it.
1197 * src/Makefile.am (VPATH): Check the src directory before the top one.
1199 2001-11-16 Paolo Carlini <pcarlini@unitus.it>
1201 * include/bits/stl_deque.h (deque::erase()): Fix memory leak.
1203 2001-11-16 Loren J. Rittle <ljrittle@acm.org>
1205 * docs/html/17_intro/howto.html (Thread-safety): Rename
1206 section to ``The Standard C++ library and multithreading'' and
1207 update information based on recent mailing list traffic. Move
1208 all discussion of __USE_MALLOC to...
1209 * docs/html/23_containers/howto.html (Containers and multithreading):
1210 ...here and rework it based on recent mailing list traffic.
1212 2001-11-15 Loren J. Rittle <ljrittle@acm.org>
1214 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
1217 2001-11-15 <bjornw@planetarion.com>
1218 Loren J. Rittle <ljrittle@acm.org>
1221 * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
1222 (single_client_alloc): Likewise.
1224 2001-11-08 Danny Smith <dannysmith@users.sourceforge.net>
1226 * configure.target: Add os_include_dir for mingw32* target.
1227 * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
1228 from _GLIBCPP_AVOID_FSEEK.
1229 * config/os/mingw32/bits/ctype_base.h: New file.
1230 * config/os/mingw32/bits/ctype_inline.h: New file.
1231 * config/os/mingw32/bits/ctype_noninline.h: New file.
1232 * config/os/mingw32/bits/os_defines.h: New file.
1234 2001-11-07 Nathan Myers <ncm@cantrip.org>
1236 * docs/html/faq/index.html (5.8): New entry on ABIs.
1237 * docs/html/faq/index.txt: Regenerate.
1239 2001-11-07 Phil Edwards <pme@gcc.gnu.org>
1241 * docs/html/faq/index.html: Explain libsupc++, mention 'long long'
1242 bugfixes on Solaris.
1243 * docs/html/faq/index.txt: Regenerate.
1245 2001-11-06 Phil Edwards <pme@gcc.gnu.org>
1247 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
1248 LANG_CPLUSPLUS mode.
1249 * aclocal.m4: Regenerate.
1250 * configure: Regenerate.
1252 2001-11-05 Phil Edwards <pme@gcc.gnu.org>
1254 * porting.texi: Move...
1255 * docs/html/17_intro/porting.texi: ...to here.
1256 * docs/html/Makefile: Add rule to rebuild...
1257 * docs/html/17_intro/porting.html: ...this. New file.
1259 2001-11-05 Felix Natter <fnatter@gmx.net>
1261 * docs/html/17_intro/porting-howto.xml: check in v0.9.4
1262 * docs/html/17_intro/porting-howto.html: regenerate
1264 2001-11-02 Loren J. Rittle <ljrittle@acm.org>
1266 * include/bits/stl_threads.h (_Atomic_swap): Only enable path
1267 when platform supports __GTHREAD_MUTEX_INIT.
1269 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1271 * acconfig.h: Update comments.
1272 * acinclude.m4 (GLIBCPP_ENABLE_C99): Move strtoll, strtoull tests...
1273 (GLIBCPP_ENABLE_LONG_LONG): ...to here. Don't check enable_c99.
1274 * aclocal.m4: Regenerate.
1275 * config.h.in: Regenerate.
1276 * configure: Regenerate.
1278 * include/bits/boost_concept_check.h: Unconditionally compile uses
1279 of 'long long' which require only compiler support, not C lib support.
1280 * include/bits/cpp_type_traits.h: Likewise.
1281 * include/bits/std_limits.h: Likewise.
1282 * include/bits/type_traits.h: Likewise.
1283 * src/concept-inst.cc: Likewise.
1284 * src/limits.cc: Likewise.
1285 * include/c_shadow/stdlib.h: Compile conditionally on _GLIBCPP_USE_C99
1286 instead of _GLIBCPP_USE_LONG_LONG.
1287 * include/c_shadow/bits/std_cstdlib.h: Likewise.
1289 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1291 * config/io/c_io_stdio.h: Correct grammar in comments.
1292 * docs/doxygen/Intro.3: Expand "top-level" man page.
1293 * docs/doxygen/doxygroups.cc: New module definitions (comments).
1294 * docs/doxygen/mainpage.doxy: Tweaks.
1295 * docs/doxygen/run_doxygen: Update Doxygen version, massage man pages.
1297 Add @file hooks so that headers are considered to be documented.
1298 * include/bits/basic_ios.h, include/bits/basic_file.h,
1299 include/bits/basic_string.h, include/bits/boost_concept_check.h,
1300 include/bits/char_traits.h, include/bits/codecvt.h,
1301 include/bits/concept_check.h, include/bits/cpp_type_traits.h,
1302 include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
1303 include/bits/indirect_array.h, include/bits/ios_base.h,
1304 include/bits/locale_facets.h, include/bits/localefwd.h,
1305 include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
1306 include/bits/slice.h, include/bits/slice_array.h,
1307 include/bits/std_algorithm.h, include/bits/std_bitset.h,
1308 include/bits/std_complex.h, include/bits/std_deque.h,
1309 include/bits/std_fstream.h, include/bits/std_functional.h,
1310 include/bits/std_iomanip.h, include/bits/std_ios.h,
1311 include/bits/std_iosfwd.h, include/bits/std_iostream.h,
1312 include/bits/std_istream.h, include/bits/std_iterator.h,
1313 include/bits/std_limits.h, include/bits/std_list.h,
1314 include/bits/std_locale.h, include/bits/std_map.h,
1315 include/bits/std_memory.h, include/bits/std_numeric.h,
1316 include/bits/std_ostream.h, include/bits/std_queue.h,
1317 include/bits/std_set.h, include/bits/std_sstream.h,
1318 include/bits/std_stack.h, include/bits/std_streambuf.h,
1319 include/bits/std_string.h, include/bits/std_utility.h,
1320 include/bits/std_valarray.h, include/bits/std_vector.h,
1321 include/bits/stl_algo.h, include/bits/stl_alloc.h,
1322 include/bits/stl_bvector.h, include/bits/stl_construct.h,
1323 include/bits/stl_deque.h, include/bits/stl_heap.h,
1324 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
1325 include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
1326 include/bits/stl_map.h, include/bits/stl_multimap.h,
1327 include/bits/stl_multiset.h, include/bits/stl_numeric.h,
1328 include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
1329 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
1330 include/bits/stl_relops.h, include/bits/stl_set.h,
1331 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
1332 include/bits/stl_threads.h, include/bits/stl_tree.h,
1333 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
1334 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
1335 include/bits/stringfwd.h, include/bits/type_traits.h,
1336 include/bits/valarray_array.h, include/bits/valarray_meta.h:
1337 Add hooks, tweak comments only.
1339 * include/bits/stl_algobase.h (swap, min, iter_swap): Also
1340 document these functions.
1341 * include/bits/stl_function.h: Tweak link comments.
1343 2001-11-01 Paolo Carlini <pcarlini@unitus.it>
1344 Benjamin Kosnik <bkoz@redhat.com>
1346 * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
1348 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
1350 2001-11-01 Egor Duda <deo@logos-m.ru>
1352 * config/os/newlib/bits/ctype_noninline.h
1353 (ctype<char>::do_toupper(char __c)): Check for proper character class.
1354 (ctype<char>::do_tolower(char __c)): Ditto.
1356 2001-11-01 Phil Edwards <pme@gcc.gnu.org>
1358 * acinclude.m4: Fix spacing.
1359 (GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro.
1360 * configure.in: Call here.
1361 * acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS.
1362 * include/bits/boost_concept_check.h: Fix headers.
1363 (__function_requires): Make inline.
1364 * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove.
1365 * aclocal.m4: Regenerate.
1366 * config.h.in: Regenerate.
1367 * configure: Regenerate.
1369 Move trailing ';' inside macro, PR libstdc++/3666.
1370 * include/bits/concept_check.h: Add semicolon.
1371 * include/bits/stl_algo.h: Remove semicolon.
1372 * include/bits/stl_algobase.h: Likewise.
1373 * include/bits/stl_deque.h: Likewise.
1374 * include/bits/stl_heap.h: Likewise.
1375 * include/bits/stl_iterator_base_funcs.h: Likewise.
1376 * include/bits/stl_list.h: Likewise.
1377 * include/bits/stl_map.h: Likewise.
1378 * include/bits/stl_multimap.h: Likewise.
1379 * include/bits/stl_multiset.h: Likewise.
1380 * include/bits/stl_numeric.h: Likewise.
1381 * include/bits/stl_queue.h: Likewise.
1382 * include/bits/stl_set.h: Likewise.
1383 * include/bits/stl_stack.h: Likewise.
1384 * include/bits/stl_vector.h: Likewise.
1385 * include/ext/hash_map: Likewise.
1386 * include/ext/hash_set: Likewise.
1387 * include/ext/slist: Likewise.
1389 * src/concept-inst.cc: New file with explicit instantiations.
1390 * src/Makefile.am (sources): Add here, with special build rules.
1391 * src/Makefile.in: Regenerate.
1393 2001-11-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1395 * include/bits/std_complex.h (_Norm_helper): New class template.
1397 (abs): Tweak. Fix Thinko.
1399 2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
1402 * include/bits/codecvt.h: Add virtual member function declarations.
1403 * src/codecvt.cc: Tweaks.
1404 * testsuite/22_locale/codecvt.cc: Test compilation only,
1405 non-required facets not required to have linkage.
1407 2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
1410 * include/bits/std_complex.h (complex::operator/=): Correct sign.
1412 2001-10-30 Paolo Carlini <pcarlini@unitus.it>
1413 Benjamin Kosnik <bkoz@redhat.com>
1416 * include/bits/basic_string.h: Tweaks.
1417 * include/bits/basic_string.tcc (string::_M_replace(iterator,
1418 iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
1419 * src/string-inst.cc: Tweaks, add instantiation.
1420 * testsuite/21_strings/replace.cc (test02): Add test.
1421 * testsuite/21_strings/assign.cc (test01): New file.
1423 2001-10-30 Jakub Jelinek <jakub@redhat.com>
1425 * include/bits/stl_deque.h (_M_new_elements_at_front): Use
1426 __throw_exception_again.
1427 (_M_new_elements_at_back): Likewise.
1429 2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
1432 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1433 * testsuite/27_io/filebuf.cc (test07): New test.
1434 (test03): Modify showmanyc test.
1436 2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
1439 * config/locale/codecvt_specializations_ieee_1003.1-200x.h
1440 (__enc_traits::~__enc_traits): Fix.
1441 (__enc_traits::_M_init): Add error checking.
1443 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1446 * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
1448 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1451 * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
1453 * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
1454 consistent, where possible.
1455 * include/bits/streambuf.tcc: Tweak.
1457 2001-10-25 Brendan Kehoe <brendan@zen.org>
1460 * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
1461 * bits/istream.tcc (seekg): Likewise.
1463 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1464 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1465 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1467 * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
1469 * include/bits/std_limits.h: Fix wchar_t issues.
1470 * config/os/aix/bits/os_defines.h: Fix.
1472 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1474 * include/bits/locale_facets.tcc (collate::do_transform): Fix.
1476 2001-10-25 Phil Edwards <pme@gcc.gnu.org>
1478 * docs/html/documentation.html: Fix typo.
1480 2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
1482 Make -fno-exceptions work.
1483 * config/locale/c_locale_gnu.cc: Use functexcept.
1484 * include/bits/c++config (__stl_assert): Remove.
1485 (__STL_USE_EXCEPTIONS): Same.
1487 (__STL_CATCH_ALL): Same.
1488 (__STL_THROW): Same.
1489 (__STL_RETHROW): Same.
1490 (__STL_NOTHROW): Same.
1491 (__STL_UNWIND): Same.
1492 * include/bits/pthread_allocimpl.h: Fix.
1493 * include/bits/std_bitset.h: Same.
1494 * include/bits/std_list.h: Same.
1495 * include/bits/std_memory.h: Same.
1496 * include/bits/std_queue.h: Same.
1497 * include/bits/stl_alloc.h: Same.
1498 * include/bits/stl_deque.h: Same.
1499 * include/bits/stl_list.h: Same.
1500 * include/bits/stl_queue.h: Same.
1501 * include/bits/stl_tempbuf.h: Same.
1502 * include/bits/stl_tree.h: Same.
1503 * include/bits/stl_uninitialized.h: Same.
1504 * include/bits/stl_vector.h: Same.
1505 * include/ext/ropeimpl.h: Same.
1506 * include/ext/slist: Same.
1507 * include/ext/stl_hashtable.h: Same.
1508 * include/ext/stl_rope.h: Same.
1509 * libsupc++/new_op.cc: Include cstdlib.
1510 * libsupc++/eh_personality.cc: Add exception_defines include. Use
1511 __throw_exception_again, tweak.
1512 * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
1513 * libsupc++/vec.cc: Tweak.
1514 * src/functexcept.cc: Remove unused arguments.
1515 * testsuite/23_containers/bitset_members.cc: Tweak.
1517 2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
1519 * config/cpu/i386/bits/limits.h: Move to...
1520 * config/cpu/i386/bits/cpu_limits.h: ...here.
1521 * config/cpu/cris/bits/cpu_limits.h: Same.
1522 * config/cpu/powerpc/bits/cpu_limits.h: Same.
1523 * config/cpu/x86-64/bits/cpu_limits.h: Same.
1524 * config/cpu/alpha/bits/cpu_limits.h: New.
1525 * config/cpu/m68k/bits/cpu_limits.h: New.
1526 * config/cpu/s390/bits/cpu_limits.h: New.
1527 * config/os/aix/bits/os_defines.h: Tweaks.
1528 * config/os/bsd/freebsd/bits/os_defines.h: Same.
1529 * config/os/bsd/netbsd/bits/os_defines.h: Same.
1530 * config/os/djgpp/bits/os_defines.h: Same.
1531 * config/os/generic/bits/os_defines.h: Same.
1532 * config/os/gnu-linux/bits/os_defines.h: Same.
1533 * config/os/hpux/bits/os_defines.h: Same.
1534 * config/os/irix/irix5.2/bits/os_defines.h: Same.
1535 * config/os/irix/irix6.5/bits/os_defines.h: Same.
1536 * config/os/newlib/bits/os_defines.h: Same.
1537 * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
1538 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1539 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1541 * include/bits/c++config: Remove include.
1542 * include/bits/limits_generic.h: Remove.
1543 * include/bits/std_limits.h: Include cpu_limits.h.
1544 * include/Makefile.am: Fixup.
1545 * src/limits.cc: Tweak.
1546 * src/limits_generic.cc: Remove.
1547 * src/gen-num-limits.cc: Remove.
1548 * mknumeric_limits: Remove.
1550 2001-10-20 Brendan Kehoe <brendan@zen.org>
1552 * bits/type_traits.h (_Bool): Removed this type.
1553 (__true_type, __false_type): Change to be plain structs.
1554 * src/string-inst.cc (__destroy_aux): Change third parm to be
1555 __false_type instead of _Bool<false>.
1556 * src/misc-inst.cc (__uninitialized_fill_n_aux,
1557 __uninitialized_copy_aux): Likewise.
1559 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1561 * mkcheck.in (static_fail): Remove older memory limit functionality.
1562 Disable E_TIME due to formatting issues.
1566 2001-10-19 Brendan Kehoe <brendan@zen.org>
1568 * include/bits/std_complex.h: Default initialize second argument
1569 of polar to 0, as specified in Library DR #79
1571 2001-10-19 Brendan Kehoe <brendan@zen.org>
1573 * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
1574 _Construct instead of construct.
1576 2001-10-19 Brendan Kehoe <brendan@zen.org>
1578 * include/bits/basic_string.tcc (find_first_not_of): Take out check for
1579 __n being non-zero, since the standard does not mandate that.
1580 e.g., a search for "" in "" should yield position 0, not npos.
1581 (find_last_not_of): Likewise.
1583 2001-10-19 Brendan Kehoe <brendan@zen.org>
1585 * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
1586 to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
1588 2001-10-19 Brendan Kehoe <brendan@zen.org>
1590 * include/bits/stl_iterator.h (reverse_iterator::current): Rename
1591 member from _M_current, and change all uses; thus sayeth $24.4.1.1.
1593 2001-10-19 Brendan Kehoe <brendan@zen.org>
1595 * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
1596 template parameter _ValueType.
1598 2001-10-19 Brendan Kehoe <brendan@zen.org>
1600 * include/bits/std_limits.h: Clean up extra semicolons.
1601 * include/bits/locale_facets.h: Likewise.
1602 * include/bits/type_traits.h: Likewise.
1604 2001-10-19 Brendan Kehoe <brendan@zen.org>
1606 * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
1607 * include/bits/locale_facets.tcc (locale::combine): Likewise.
1609 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1611 * include/bits/locale_facets.h (__timepunct::_M_put_helper):
1612 Declare specializations for char, wchar_t.
1614 2001-10-19 Andreas Jaeger <aj@suse.de>
1616 * config/cpu/x86-64/bits/limits.h: New file.
1617 * config/cpu/x86-64/bits/atomicity.h: New file.
1618 * configure.target: Add x86-64.
1620 2001-10-17 Phil Edwards <pme@gcc.gnu.org>
1622 * docs/html/17_intro/howto.html: Remove 1999 links (and explain
1623 why). Add link to recent message.
1624 * docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
1626 * docs/html/faq/index.txt: Regenerate.
1628 2001-10-12 Loren J. Rittle <ljrittle@acm.org>
1630 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
1631 based on Nathan's review. Use Nathan's words.
1633 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1635 * docs/html/configopts.html: Quote StyleSheet attribute values.
1636 * docs/html/documentation.html: Likewise.
1637 * docs/html/explanations.html: Likewise.
1638 * docs/html/install.html: Likewise.
1639 * docs/html/17_intro/howto.html: Likewise.
1640 * docs/html/17_intro/license.html: Likewise.
1641 * docs/html/18_support/howto.html: Likewise.
1642 * docs/html/19_diagnostics/howto.html: Likewise.
1643 * docs/html/20_util/howto.html: Likewise.
1644 * docs/html/21_strings/howto.html: Likewise.
1645 * docs/html/22_locale/howto.html: Likewise.
1646 * docs/html/23_containers/howto.html: Likewise.
1647 * docs/html/24_iterators/howto.html: Likewise.
1648 * docs/html/25_algorithms/howto.html: Likewise.
1649 * docs/html/26_numerics/howto.html: Likewise.
1650 * docs/html/27_io/howto.html: Likewise.
1651 * docs/html/ext/howto.html: Likewise.
1652 * docs/html/ext/sgiexts.html: Likewise.
1653 * docs/html/faq/index.html: Likewise.
1655 2001-10-11 Loren J. Rittle <ljrittle@acm.org>
1657 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
1658 * docs/html/23_containers/howto.html (Containers and multithreading):
1661 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1663 * docs/html/17_intro/howto.html: Tweak markup and value type.
1664 * docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
1665 nonzero arguments, add new note on threading.
1666 * docs/html/faq/index.html: Update.
1667 * docs/html/faq/index.txt: Regenerate.
1669 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1671 * docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
1672 * docs/html/documentation.html: Likewise.
1673 * docs/html/explanations.html: Likewise.
1674 * docs/html/install.html: Likewise.
1675 * docs/html/17_intro/howto.html: Likewise.
1676 * docs/html/17_intro/license.html: Likewise. Tighten up language.
1677 * docs/html/18_support/howto.html: Likewise.
1678 * docs/html/19_diagnostics/howto.html: Likewise.
1679 * docs/html/20_util/howto.html: Likewise.
1680 * docs/html/21_strings/howto.html: Likewise.
1681 * docs/html/22_locale/howto.html: Likewise.
1682 * docs/html/23_containers/howto.html: Likewise.
1683 * docs/html/24_iterators/howto.html: Likewise.
1684 * docs/html/25_algorithms/howto.html: Likewise.
1685 * docs/html/26_numerics/howto.html: Likewise.
1686 * docs/html/27_io/howto.html: Likewise.
1687 * docs/html/ext/howto.html: Likewise.
1688 * docs/html/ext/sgiexts.html: Likewise.
1689 * docs/html/faq/index.html: Likewise. Not so many absolute links.
1690 * docs/html/faq/index.txt: Regenerate.
1692 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
1694 * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
1695 spelling errors of "separate" as "seperate", and corresponding
1696 spelling errors of related words.
1697 * docs/html/faq/index.txt: Regenerate.
1699 2001-10-05 Phil Edwards <pme@gcc.gnu.org>
1701 * config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
1703 * config/cpu/arm/bits/atomicity.h: Likewise.
1704 * config/cpu/generic/bits/atomicity.h: Likewise.
1705 * config/cpu/i486/bits/atomicity.h: Likewise.
1706 * config/cpu/ia64/bits/atomicity.h: Likewise.
1707 * config/cpu/mips/bits/atomicity.h: Likewise.
1708 * config/cpu/powerpc/bits/atomicity.h: Likewise.
1709 * config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
1710 * config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
1712 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1714 * docs/html/faq/index.html: Describe DR #22, and a workaround.
1715 * docs/html/faq/index.txt: Regenerate.
1717 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1719 * docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
1720 * docs/html/17_intro/license.html: New file. Explain the licenses
1723 * docs/html/configopts.html: Link to license.html.
1724 * docs/html/documentation.html: Likewise.
1725 * docs/html/explanations.html: Likewise.
1726 * docs/html/install.html: Likewise.
1727 * docs/html/17_intro/howto.html: Likewise.
1728 * docs/html/18_support/howto.html: Likewise.
1729 * docs/html/19_diagnostics/howto.html: Likewise.
1730 * docs/html/20_util/howto.html: Likewise.
1731 * docs/html/21_strings/howto.html: Likewise.
1732 * docs/html/22_locale/howto.html: Likewise.
1733 * docs/html/23_containers/howto.html: Likewise.
1734 * docs/html/24_iterators/howto.html: Likewise.
1735 * docs/html/25_algorithms/howto.html: Likewise.
1736 * docs/html/26_numerics/howto.html: Likewise.
1737 * docs/html/27_io/howto.html: Likewise.
1738 * docs/html/ext/howto.html: Likewise.
1739 * docs/html/ext/sgiexts.html: Likewise.
1740 * docs/html/faq/index.html: Likewise. New question, linking to
1741 the new license.html.
1743 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1745 * docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
1746 * docs/html/18_support/howto.html: Likewise.
1747 * docs/html/19_diagnostics/howto.html: Likewise.
1748 * docs/html/20_util/howto.html: Likewise.
1749 * docs/html/21_strings/howto.html: Likewise.
1750 * docs/html/22_locale/howto.html: Likewise.
1751 * docs/html/23_containers/howto.html: Likewise.
1752 * docs/html/24_iterators/howto.html: Likewise.
1753 * docs/html/25_algorithms/howto.html: Likewise.
1754 * docs/html/26_numerics/howto.html: Likewise.
1755 * docs/html/27_io/howto.html: Likewise.
1756 * docs/html/ext/howto.html: Likewise.
1757 * docs/html/faq/index.html: Likewise. Spacing fix.
1759 2001-10-03 Dimitris Vyzovitis <vyzo@media.mit.edu>
1761 * include/bits/stl_threads.h (_Atomic_swap): New function.
1762 (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
1763 * testsuite/ext/rope.cc: New file.
1765 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
1767 * config/locale/time_members_gnu.h: Remove.
1768 * config/locale/time_members_generic.h: Remove.
1769 * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
1770 * config/locale/time_members_generic.cc: Same.
1771 * include/bits/locale_facets.h: Add data members.
1772 (__timepunct::_M_put_helper): Change signature.
1773 (__timepunct::_M_date_formats): Same.
1774 (__timepunct::_M_time_formats): Same.
1775 (__timepunct::_M_ampm): Add.
1776 (__timepunct::_M_date_time_formats): Add.
1777 (time_get::_M_extract_via_format): Add.
1778 (time_get::_M_extract_time): Change to...
1779 (time_get::_M_extract_num): ... this, modify signature.
1780 * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
1781 (time_get::do_get_time): Fix.
1782 (time_get::do_get_date): Fix.
1784 * acinclude.m4: Remove CTIME_H.
1785 * aclocal.m4: Regenerate.
1786 * include/Makefile.am: Same.
1787 * include/Makefile.in: Regenerate.
1788 * configure: Regenerate.
1790 * testsuite/22_locale/time_get_members_char.cc: Fix.
1791 * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
1792 * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
1794 2001-10-01 Hans-Peter Nilsson <hp@axis.com>
1796 * config/cpu/cris/bits/atomicity.h: Correct file header.
1798 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
1800 * configure.target (LIMITSH): Set for cris.
1801 (cpu_include_dir): Set for cris-*-*.
1802 * config/cpu/cris/bits/atomicity.h: New file.
1803 * config/cpu/cris/bits/limits.h: New file.
1805 2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
1807 * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
1808 (__timepunct::_M_put_helper): Add.
1809 * config/locale/time_members_generic.h: Same.
1810 * include/bits/locale_facets.h (__match_parallel): Remove. Format.
1811 (__timepunct): Add data members.
1812 (__timepunct::_M_days): Add.
1813 (__timepunct::_M_days_abbreviated): Add.
1814 (__timepunct::_M_months): Add.
1815 (__timepunct::_M_months_abbreviated): Add.
1816 (__timepunct::_M_initialize_timepunct): Add.
1817 * include/bits/locale_facets.tcc: Same.
1818 * src/locale-inst.cc: Remove instantiations for __match_parallel.
1819 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
1820 * aclocal.m4: Regenerate.
1821 * configure: Regenerate.
1822 * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
1823 * testsuite/22_locale/time_put_members_char.cc (test01): New file.
1824 * testsuite/22_locale/time_get.cc: New file.
1826 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1828 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
1829 correct multilib builddir.
1830 Properly locate libgcc_s.
1832 2001-09-27 Phil Edwards <pme@gcc.gnu.org>
1834 * include/std/*: Add Doxygen hooks.
1835 * docs/doxygen/Intro.3: New file, general intro to the man pages.
1836 * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
1837 rather than using a generated index.
1838 * docs/doxygen/user.cfg.in: Disable the index, enable man pages.
1839 * docs/doxygen/run_doxygen: Massage the generated man pages, using...
1840 * docs/doxygen/stdheader.cc: ...this new file.
1842 2001-09-26 Stan Shebs <shebs@apple.com>
1844 * include/Makefile.am: Remove RCS Id strings.
1845 * src/Makefile.am: Ditto.
1846 * docs/doxygen/run_doxygen: Ditto.
1847 * docs/html/configopts.html: Ditto.
1848 * docs/html/documentation.html: Ditto.
1849 * docs/html/explanations.html: Ditto.
1850 * docs/html/install.html: Ditto.
1851 * docs/html/17_intro/howto.html: Ditto.
1852 * docs/html/18_support/howto.html: Ditto.
1853 * docs/html/19_diagnostics/howto.html: Ditto.
1854 * docs/html/20_util/howto.html: Ditto.
1855 * docs/html/21_strings/howto.html: Ditto.
1856 * docs/html/22_locale/howto.html: Ditto.
1857 * docs/html/23_containers/howto.html: Ditto.
1858 * docs/html/24_iterators/howto.html: Ditto.
1859 * docs/html/25_algorithms/howto.html: Ditto.
1860 * docs/html/26_numerics/howto.html: Ditto.
1861 * docs/html/27_io/howto.html: Ditto.
1862 * docs/html/ext/howto.html: Ditto.
1863 * docs/html/ext/sgiexts.html: Ditto.
1864 * docs/html/faq/index.html: Ditto.
1865 * docs/html/faq/index.txt: Ditto.
1867 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
1869 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
1872 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
1874 * docs/html/20_util/howto.html: Add anchor name.
1875 * docs/html/23_containers/howto.html: Line wrapping, another link.
1876 * docs/html/25_algorithms/howto.html: Another note.
1878 * docs/html/ext/howto.html: Link to SGI extensions. List DRs and
1880 * docs/html/ext/lwg-active.html: ...in this new file (from R19),
1881 * docs/html/ext/lwg-defects.html: and this new file (from R19).
1882 * docs/html/ext/sgiexts.html: New file. Mention SGI extensions
1883 carried over to libstdc++-v3.
1884 * docs/html/faq/index.html: Link to SGI extensions. Mention the
1885 "missing .." pseudobug.
1886 * docs/html/faq/index.txt: Regenerate.
1888 * include/bits/ios_base.h: DR-related comment cleanup.
1889 * include/bits/istream.tcc: Likewise.
1890 * include/bits/locale_facets.h: Likewise.
1891 * include/bits/locale_facets.tcc: Likewise.
1892 * include/bits/ostream.tcc: Likewise.
1893 * include/bits/std_bitset.h: Likewise.
1894 * include/bits/std_iosfwd.h: Likewise.
1895 * include/bits/std_istream.h: Likewise.
1896 * include/bits/std_ostream.h: Likewise.
1897 * include/bits/std_streambuf.h: Likewise.
1898 * include/bits/stl_pair.h: Likewise.
1899 * include/bits/streambuf_iterator.h: Likewise.
1901 * include/bits/std_map.h: Remove unused header inclusion guard
1902 _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
1903 * include/bits/std_set.h: Likewise.
1905 * include/bits/stl_function.h: Doxygen markup.
1906 * docs/doxygen/doxygroups.cc: New file, specifying module grouping.
1907 * libsupc++/typeinfo: Doxygen markup tweak.
1909 2001-09-20 Scott Johnston <scott@accom.com>
1910 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1912 * include/backward/alloc.h: Conditionally define malloc_alloc
1913 * testsuite/backward/header_deque_h.cc: New file.
1915 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1917 * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
1918 change variable name so that it works with -fno-for-scope.
1920 2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
1922 * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
1923 redundant sanity checks.
1924 * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
1926 * testsuite/22_locale/money_put_members_char.cc (test01): Same.
1928 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
1929 * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
1930 * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
1932 * testsuite/22_locale/money_get_members_char.cc (test01): Same.
1935 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
1937 Implement std::time_put.
1938 * include/bits/locale_facets.h: Include time_members.h.
1940 (time_put): Implement.
1941 * include/bits/locale_facets.tcc (do_put): Put generic versions here.
1942 * include/bits/localefwd.h: Bump number of facets.
1943 * config/locale/time_members_generic.h: New file.
1944 * config/locale/time_members_gnu.h: New file.
1945 * config/locale/c_locale_generic.h: Include clocale.
1946 * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
1947 * src/locale.cc: Add __timepunct initializations.
1948 * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
1949 * include/Makefile.am (stamp-target): Add time_members.h.
1950 * include/Makefile.in: Regenerate.
1951 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
1952 * aclocal.m4: Regenerate.
1953 * configure: Regenerate.
1954 * testsuite/22_locale/time_put.cc: New file.
1955 * testsuite/22_locale/time_put_members_char.cc: New file.
1957 * docs/html/22_locale/locale.html: Add note.
1959 2001-09-17 Phil Edwards <pme@gcc.gnu.org>
1961 * docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
1962 * docs/html/documentation.html: Likewise.
1963 * docs/html/explanations.html: Likewise.
1964 * docs/html/install.html: Likewise.
1965 * docs/html/17_intro/howto.html: Likewise.
1966 * docs/html/18_support/howto.html: Likewise.
1967 * docs/html/19_diagnostics/howto.html: Likewise.
1968 * docs/html/20_util/howto.html: Likewise.
1969 * docs/html/21_strings/howto.html: Likewise.
1970 * docs/html/22_locale/codecvt.html: Likewise.
1971 * docs/html/22_locale/ctype.html: Likewise.
1972 * docs/html/22_locale/howto.html: Likewise.
1973 * docs/html/22_locale/locale.html: Likewise.
1974 * docs/html/22_locale/messages.html: Likewise.
1975 * docs/html/23_containers/howto.html: Likewise.
1976 * docs/html/24_iterators/howto.html: Likewise.
1977 * docs/html/25_algorithms/howto.html: Likewise.
1978 * docs/html/26_numerics/howto.html: Likewise.
1979 * docs/html/27_io/howto.html: Likewise.
1980 * docs/html/ext/howto.html: Likewise.
1981 * docs/html/faq/index.html: Likewise.
1982 * docs/html/faq/index.txt: Regenerated.
1984 2001-09-14 Phil Edwards <pme@sources.redhat.com>
1986 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
1987 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
1988 * docs/html/18_support/howto.html: It won't compile; it's not code.
1989 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
1991 * docs/html/22_locale/howto.html: Comment for future work.
1992 * docs/html/23_containers/howto.html: More comments.
1993 * docs/html/25_algorithms/howto.html: It's a comment, not a
1994 blunt command to the reader. (English grammar.)
1996 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
1998 * config/locale/moneypunct_members_gnu.cc: Fix initialization of
2000 * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
2001 * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
2003 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
2005 * include/bits/locale_facets.tcc: Conditionalize use of strtold.
2007 2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
2009 * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
2010 * testsuite/22_locale/money_put_members_char.cc: Likewise.
2011 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2013 2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
2015 Implement std::money_get.
2016 * include/bits/locale_facets.tcc (money_get::do_get): Implement.
2017 * include/bits/locale_facets.h (money_get): Correct signatures.
2018 * testsuite/22_locale/money_get.cc: New file.
2019 * testsuite/22_locale/money_get_members_char.cc: New file.
2021 * include/bits/locale_facets.tcc (__verify_grouping): New
2022 function. Consolidate num_get and money_get group checking into
2024 (money_get): Use it.
2025 * src/locale.cc (num_get::_M_extract): Use it.
2026 * src/locale-inst.cc: Add instantiation.
2028 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2030 * include/bits/std_limits.h (numeric_limits<float>::radix,
2031 numeric_limits<float>::epsilon: Fix thinko.
2033 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2035 * configure.in: Fix cross compiling math routines. Correct
2036 comments for cross compiling and limits. Add floating point math
2037 routines found in newlib.
2038 * configure: Regenerate.
2039 * acconfig.h: Add macros.
2040 * config.h.in: Regenerate.
2042 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2044 * config/locale/moneypunct_members_generic.cc
2045 (money_base::_S_construct_pattern): Remove unused parameters.
2047 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2049 * include/Makefile.am (stamp-target): Remove link to self.
2050 * inclulde/Makefile.in: Regenerate.
2052 2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
2054 Implement std::money_put.
2055 * include/bits/locale_facets.h
2056 (moneypunct::_M_initialize_moneypunct): Split up specializations
2057 to account for _Intl. More grody hacking to get around the
2058 ill-considered use of const bool as a template parameter.
2059 * config/locale/moneypunct_members_gnu.cc: And here.
2060 * config/locale/moneypunct_members_generic.cc: And here.
2061 * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
2062 * testsuite/22_locale/moneypunct.cc: Add tests.
2063 * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
2064 * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
2066 * src/locale.cc (money_base::_S_construct_pattern): Move into
2068 * config/locale/moneypunct_members_gnu.cc: Add here.
2069 * config/locale/moneypunct_members_generic.cc: Add generic version
2072 * include/bits/locale_facets.tcc (money_put::do_put): Move member
2073 function definitions here.
2074 * include/bits/locale_facets.h (money_put): Implement.
2075 * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
2076 Correct money_get, money_put instantiations.
2077 * src/locale.cc (money_base::_S_construct_pattern): Handle case
2079 * testsuite/22_locale/money_put_members_char.cc: Add tests.
2081 2001-09-05 Phil Edwards <pme@sources.redhat.com>
2083 * testsuite_flags.in: No longer need to search testsuite builddir.
2084 * src/stl-inst.cc (__sink_unused_warning): Unused, remove.
2085 * Makefile.am: The testsuite directory never needs to be made here.
2086 * Makefile.in: Regenerate.
2087 * include/Makefile.in: Regenerate.
2088 * libio/Makefile.in: Regenerate.
2089 * libmath/Makefile.in: Regenerate.
2090 * libsupc++/Makefile.in: Regenerate.
2091 * po/Makefile.in: Regenerate.
2092 * src/Makefile.in: Regenerate.
2093 * testsuite/Makefile.in: Regenerate.
2095 2001-09-04 Scott Johnston <scott@accom.com>
2096 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2098 * include/backward/iterator.h: Include <bits/std_iterator.h>,
2099 remove reverse_bidirectional_iterator.
2100 * testsuite/backward: New directory.
2101 * testsuite/backward/header_iterator_h.cc: New file.
2103 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
2105 * include/c_std/bits/std_c*.h: Don't use include_next.
2107 2001-09-03 Richard Sandiford <rsandifo@redhat.com>
2109 * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
2110 tmp from _Unwind_Ptr to _Unwind_Word.
2112 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
2114 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
2117 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
2119 * include/Makefile.am: Use toplevel_srcdir to refer to src files
2120 outside this component.
2121 * include/Makefile.in: Regenerate.
2123 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
2125 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
2126 * config/locale/c_locale_generic.cc: Same.
2127 * config/locale/moneypunct_members_gnu.cc: New file.
2128 * config/locale/moneypunct_members_generic.cc: New file.
2129 * config/locale/numpunct_members_gnu.cc: New file.
2130 * config/locale/numpunct_members_generic.cc: New file.
2131 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
2133 * aclocal.m4: Regenerate.
2134 * configure: Regenerate.
2135 * src/Makefile.am (sources): And here.
2136 * src/Makefile.in: Regenerate.
2138 Rename for consistency with rest of testsuite.
2139 * testsuite/22_locale/codecvt.cc: New file.
2140 * testsuite/22_locale/money_put.cc: New file.
2141 * testsuite/22_locale/money_put_members_char.cc: New file.
2143 2001-08-27 Phil Edwards <pme@sources.redhat.com>
2146 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
2147 correctly for version-specific-runtime-libs.
2148 * aclocal.m4: Regenerate.
2149 * configure: Regenerate.
2151 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
2153 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
2154 define if not already provided by per-OS file.
2155 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
2158 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
2160 * docs/html/17_intro/C++STYLE: Fix typo.
2162 2001-08-24 Phil Edwards <pme@sources.redhat.com>
2164 * docs/html/23_containers/howto.html: Describe implementation of
2165 insertion with hints.
2167 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
2170 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
2172 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2173 Phil Edwards <pme@sources.redhat.com>
2176 * include/bits/stl_tree.h (insert_unique): Revert last change.
2177 Values inserted at begin() must be less, not greater, than *begin()'s.
2178 * testsuite/23_containers/map_insert.cc: New file.
2180 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
2182 * config/locale/c_locale_gnu.cc: Minor tweaks.
2183 (moneypunct<wchar_t>): Implement.
2184 * include/bits/locale_facets.h: Same.
2185 * testsuite/22_locale/moneypunct.cc: New file.
2186 * testsuite/22_locale/moneypunct_byname.cc: New file.
2187 * testsuite/22_locale/moneypunct_char_members.cc: New file.
2189 2001-08-23 David Edelsohn <edelsohn@gnu.org>
2191 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
2192 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
2194 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
2196 * testsuite_flags.in (build-includes): Re-add backward.
2198 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
2200 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
2201 with _GLIBCPP_USE_WCHAR_T.
2203 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
2205 * testsuite/22_locale/collate_byname.cc (test01): Fix.
2207 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
2209 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
2211 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
2213 * testsuite/22_locale/operators.cc: Add test.
2215 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
2217 Implement std::collate.
2218 * config/locale/collate_specializations_gnu.cc: Add here, implement in
2220 * config/locale/collate_specializations_generic.cc: Add here, but
2221 in a less sophisticated manner.
2222 * include/bits/locale_facets.tcc (collate): Add generic definition.
2223 * include/bits/locale_facets.h (~collate): Mark virtual.
2224 (collate::_M_compare_helper): New.
2225 (collate::_M_transform_helper): New.
2226 * src/locale.cc: Remove unnecessary specializations.
2227 * src/string-inst.cc: Tweak instantiation of ctors.
2229 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
2230 * aclocal.m4: Regenerate.
2231 * configure: Regenerate.
2232 * src/Makefile.am (sources): Add collate.cc.
2233 * src/Makefile.in: Regenerate.
2235 * testsuite/22_locale/collate_byname.cc: New.
2236 * testsuite/22_locale/collate.cc: New file.
2237 * testsuite/22_locale/collate_char_members.cc: New file.
2238 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
2240 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2242 * configure.target: Set LIMITSH for powerpc-*-*.
2243 * config/cpu/powerpc/bits/limits.h: New file.
2245 2001-08-16 Marc Espie <espie@openbsd.org>
2247 * configure.in: Check for <sys/types.h>.
2248 * configure: Rebuild.
2249 * config.h.in: Rebuild.
2250 * libmath/mathconf.h: Include <sys/types.h> prior to
2251 <machine/endian.h> if available.
2253 2001-08-15 Andreas Schwab <schwab@suse.de>
2255 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
2256 m68k and m680[246]0.
2257 * config/cpu/m68k/bits/atomicity.h: New file.
2259 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
2260 Define appropriate long double limits for m68k extended floating
2262 (__glibcpp_f32_digits10): Corrected, off by one.
2263 (__glibcpp_f80_digits10): Likewise.
2264 (__glibcpp_f128_digits10): Likewise.
2265 * config/os/gnu-linux/bits/os_defines.h
2266 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
2268 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2270 * testsuite/18_support/numeric_limits.cc: Add more tests.
2271 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
2274 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
2276 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
2279 * config/cpu/s390/bits/atomicity.h: New.
2281 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
2283 * include/bits/std_limits.h: Fix thinko.
2285 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
2287 * include/Makefile.am: Consolidate target rules. Don't clean stamp
2288 files. Tweak target build directory stamp.
2289 * include/Makefile.in: Regenerate.
2291 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2293 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
2294 _GBLICPP_HAVE_LOGL with HAVE_LOGL
2296 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
2298 * configure.in (libtool_VERSION): Add.
2299 (VERSION): Change to
2300 (release_VERSION): This.
2301 * configure: Regenerate.
2302 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
2304 * src/Makefile.in: Regenerate.
2306 * intl/Makefile.am: Remove.
2307 * intl/Makefile.in: Remove.
2309 * Makefile.am (SUBDIRS): Remove intl.
2310 * po/Makefile.am (DISTFILES): Add string_literals.cc
2312 * po/string_literals.cc: Add.
2313 * po/POTFILES.in: Fix path.
2314 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
2315 * aclocal.m4: Regenerate.
2316 * configure.in: Remove AC_OUTPUT of intl/Makefile.
2318 * include/backward/backward_warning.h: Clarify message.
2320 * testsuite_flags.in (--cxxflags): Use same debug flags for
2321 library and testsuite.
2323 * include/Makefile.am (c_compatibility): Remove.
2324 * include/Makefile.in: Regenerate.
2326 2001-08-13 Mark Mitchell <mark@codesourcery.com>
2328 * configure.in (LIMITS_INC_SRCDIR): New variable.
2329 * configure.target (LIMITSH): New variable.
2330 * porting.texi: Discuss numeric limits.
2331 * config/cpu/generic/bits/limits.h: New file.
2332 * config/cpu/i386/bits/limits.h: New file.
2333 * include/Makefile.am: Install bits/limits.h.
2334 * include/bits/c++config: Include bits/limits.h.
2336 2001-08-13 H.J. Lu (hjl@gnu.org)
2338 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
2340 (libstdc++-v3-init ): Use it.
2342 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2344 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
2345 to '__adjust' to avoid shadowing in nested scope.
2347 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2349 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
2352 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
2354 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
2357 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
2359 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
2360 dummy default argument to the non-limit implementation.
2363 * include/Makefile.am: Use relative file path in rule to allow
2365 * include/Makefile.in: Rebuilt.
2367 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
2369 * include/bits/std_complex.h (complex<long double>::operator*=,
2370 complex<long double>::operator/=): Fix thinko.
2372 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2374 * include/bits/std_limits.h: New file.
2375 * include/Makefile.am (bits_headers): Add std_limits.h
2376 (all-local): std_limits.h is no longer built.
2377 (${target_builddir}/std_limits.h): Remove.
2378 * include/Makefile.in: Regenerate.
2379 * src/limits.cc: New file.
2380 * src/Makefile.am (sources): Add limits.cc in replacement of
2382 * src/Makefile.in: Regenerate.
2384 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2386 * src/gen-num-limits.cc (digits10): Fix thinko.
2388 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2390 * po/Makefile.am (check-no): Add.
2392 * po/Makefile.in: Regenerate.
2394 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2396 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
2397 * config.h.in: Regenerate.
2398 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
2400 * aclocal.m4: Regenerate.
2401 * configure.in: Remove duplicate AM_CONFIG_HEADER.
2402 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
2403 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
2404 * configure: Regenerate.
2405 * testsuite_hooks.h.in: Move to...
2406 * testsuite_hooks.h: Here, include c++config.h. Use it.
2408 * Makefile.am (SUBDIRS): Move testsuite to last directory.
2409 * Makefile.in: Regenerate.
2410 * po/Makefile.am (stamp-po): Add.
2412 2001-08-09 David Edelsohn <edelsohn@gnu.org>
2414 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
2415 * config/os/generic/bits/os_defines.h: Likewise.
2416 * config/os/gnu-linux/bits/os_defines.h: Likewise.
2417 * config/os/hpux/bits/os_defines.h: Likewise.
2418 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
2419 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2421 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
2423 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
2424 -version-info, use substituted VERSION info.
2425 * src/Makefile.in: Regenerate.
2427 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
2429 Implement std::messages.
2430 Make config a fully-nested directory.
2431 * config/locale: New directory.
2432 * config/c_locale_generic.cc: Move into locale subdirectory.
2433 * config/c_locale_generic.h: Same.
2434 * config/c_locale_gnu.cc: Same.
2435 * config/c_locale_gnu.h: Same.
2436 * config/c_locale_ieee_1003.1-200x.cc: Same.
2437 * config/c_locale_ieee_1003.1-200x_.h: Same.
2438 * config/codecvt_specializations_generic.h: Same.
2439 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
2440 * config/messages_members_gnu.h: Same.
2441 * config/messaages_members_gnu.cc: Same.
2442 * config/messages_members_generic.h: Same.
2443 * config/messaages_members_generic.cc: Same.
2444 * config/messages_members_ieee_1003.1-200x.h: Same.
2445 * config/messaages_members_ieee_1003.1-200x.cc: Same.
2446 * config/io: New directory.
2447 * config/basic_file_libio.h: Move into io subdirectory.
2448 * config/basic_file_libio.cc: Same.
2449 * config/c_io_libio.h: Same.
2450 * config/c_io_libio_codecvt.c: Same.
2451 * config/basic_file_stdio.h: Same.
2452 * config/basic_file_stdio.cc: Same.
2453 * config/c_io_stdio.h: Same.
2455 * po: New directory.
2456 * po/POTFILES.in: New file.
2457 * po/Makefile.am: New file.
2458 * po/Makefile.in: New file.
2459 * po/libstdc++.pot: Generic translation file.
2460 * po/fr.po: Preliminary French translation.
2461 * po/de.po: Preliminary German translation.
2462 * intl: New directory.
2463 * intl/Makefile.am: New file.
2464 * intl/Makefile.in: New file.
2465 * intl/string_literals.cc: New file.
2466 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
2467 requisite setup for gettext. Re-arrange.
2468 * aclocal.m4: Regenerate.
2469 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
2470 Output Makefile bits for po and intl.
2471 * configure: Regenerate.
2472 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
2473 * Makefile.in: Regenerate.
2474 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
2475 * config.h.in: Regenerate.
2477 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
2479 * include/Makefile.am (install-data-local): Don't install Makefile.
2480 * include/Makefile.in: Regenerate.
2482 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
2484 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
2485 * config/locale/c_locale_generic.cc: Same.
2486 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
2488 * include/bits/codecvt.h: Excise non-standard, non-required
2489 bits. This includes __enc_traits, and partial specializations of
2490 codecvt for __enc_traits.
2491 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
2492 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
2493 * config/codecvt_partials_generic.h: New file.
2494 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
2495 (stamp-codecvt_model): Add.
2496 * include/Makefile.in: Regenerate.
2497 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
2498 * aclocal.m4: Regenerate.
2499 * configure: Regenerate.
2500 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
2501 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
2502 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
2504 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
2505 as a friend for _S_*_c_locale functions.
2506 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
2507 argument to default constructor so that CODESET information can be
2509 * include/bits/locale_facets.h (messages_byname):
2510 Re-implement. Remove specializations.
2511 * src/locale.cc (messages_byname<char>): Remove specialization.
2512 (messages_byname<wchar_t>): Same.
2513 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
2514 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
2515 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
2516 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
2517 * config/locale/messages_members_gnu.cc: New file.
2518 * config/locale/messages_members_gnu.h: New file.
2519 * config/locale/messages_members_generic.cc: New file.
2520 * config/locale/messages_members_generic.h: New file.
2522 * docs/html/configopts.html: Add documentation for new locale
2523 model, ieee_1003.1. Adjust other flags for current defaults.
2524 * docs/html/22_locale/locale.html: Update.
2525 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
2526 * docs/html/22_locale/messages.html: New.
2528 * src/Makefile.am (sources): Add messages_virtuals.cc.
2529 * src/Makefile.in: Regenerate.
2530 * include/Makefile.am (allstamps): Add stamp-messages_model.
2531 (stamp-messages_model): Add.
2532 * include/Makefile.in: Regenerate.
2533 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
2534 * aclocal.m4: Regenerate.
2535 * configure: Regenerate.
2537 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
2538 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
2540 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
2541 build directories message catalog base directory, and export.
2542 Eventually this should probably be made to deal with build and
2543 install directories. For now, punt on this as the library itself
2544 doesn't use message catalogs (yet).
2545 * testsuite/22_locale/messages.cc: New file.
2546 * testsuite/22_locale/messages_char_members.cc: New file.
2547 * testsuite/22_locale/messages_byname.cc: New file.
2549 2001-08-06 Phil Edwards <pme@sources.redhat.com>
2551 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
2552 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
2553 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
2554 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
2555 Call GLIBCPP_CONFIGURE_TESTSUITE.
2556 * aclocal.m4: Regenerate.
2557 * config.h.in: Regenerate.
2558 * configure: Regenerate.
2560 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
2563 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
2564 * testsuite/debug_assert.h: Removed; contents merged into...
2565 * testsuite/testsuite_hooks.h.in: ...here. New file.
2566 * testsuite/17_intro/header_ciso646.cc: No longer include
2567 debug_assert.h, include testsuite_hooks.h instead.
2568 * testsuite/17_intro/header_fstream.cc: Likewise.
2569 * testsuite/17_intro/header_iomanip.cc: Likewise.
2570 * testsuite/17_intro/header_ios.cc: Likewise.
2571 * testsuite/17_intro/header_iosfwd.cc: Likewise.
2572 * testsuite/17_intro/header_iostream.cc: Likewise.
2573 * testsuite/17_intro/header_istream.cc: Likewise.
2574 * testsuite/17_intro/header_ostream.cc: Likewise.
2575 * testsuite/17_intro/header_sstream.cc: Likewise.
2576 * testsuite/17_intro/header_streambuf.cc: Likewise.
2577 * testsuite/18_support/numeric_limits.cc: Likewise.
2578 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
2579 * testsuite/20_util/allocator_members.cc: Likewise.
2580 * testsuite/20_util/auto_ptr.cc: Likewise.
2581 * testsuite/20_util/pairs.cc: Likewise.
2582 * testsuite/21_strings/append.cc: Likewise.
2583 * testsuite/21_strings/capacity.cc: Likewise.
2584 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
2585 * testsuite/21_strings/compare.cc: Likewise.
2586 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
2587 call to (disabled) __set_testsuite_memlimit() wrapper.
2588 * testsuite/21_strings/element_access.cc: Likewise.
2589 * testsuite/21_strings/find.cc: Likewise.
2590 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
2591 (disabled) __set_testsuite_memlimit() wrapper.
2592 * testsuite/21_strings/inserters_extractors.cc: Likewise.
2593 * testsuite/21_strings/invariants.cc: Likewise.
2594 * testsuite/21_strings/nonmember.cc: Likewise.
2595 * testsuite/21_strings/operations.cc: Likewise.
2596 * testsuite/21_strings/replace.cc: Likewise.
2597 * testsuite/21_strings/rfind.cc: Likewise.
2598 * testsuite/21_strings/substr.cc: Likewise.
2599 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
2600 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
2601 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
2602 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
2603 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
2604 * testsuite/22_locale/ctype_char_members.cc: Likewise.
2605 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
2606 * testsuite/22_locale/facet.cc: Likewise.
2607 * testsuite/22_locale/global_templates.cc: Likewise.
2608 * testsuite/22_locale/members.cc: Likewise.
2609 * testsuite/22_locale/numpunct_byname.cc: Likewise.
2610 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
2611 * testsuite/22_locale/operators.cc: Likewise.
2612 * testsuite/22_locale/static_members.cc: Likewise.
2613 * testsuite/23_containers/bitset_ctor.cc: Likewise.
2614 * testsuite/23_containers/bitset_members.cc: Likewise.
2615 * testsuite/23_containers/bitset_shift.cc: Likewise.
2616 * testsuite/23_containers/vector_capacity.cc: Likewise.
2617 * testsuite/23_containers/vector_ctor.cc: Likewise.
2618 * testsuite/23_containers/vector_element_access.cc: Likewise.
2619 * testsuite/23_containers/vector_modifiers.cc: Likewise.
2620 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
2621 * testsuite/24_iterators/iterator.cc: Likewise.
2622 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
2623 * testsuite/25_algorithms/binary_search.cc: Likewise.
2624 * testsuite/25_algorithms/copy.cc: Likewise.
2625 * testsuite/25_algorithms/heap.cc: Likewise.
2626 * testsuite/25_algorithms/lower_bound.cc: Likewise.
2627 * testsuite/25_algorithms/min_max.cc: Likewise.
2628 * testsuite/25_algorithms/partition.cc: Likewise.
2629 * testsuite/25_algorithms/rotate.cc: Likewise.
2630 * testsuite/25_algorithms/sort.cc: Likewise.
2631 * testsuite/26_numerics/c_math.cc: Likewise.
2632 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
2633 * testsuite/26_numerics/complex_value.cc: Likewise.
2634 * testsuite/27_io/filebuf.cc: Likewise.
2635 * testsuite/27_io/filebuf_members.cc: Likewise.
2636 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
2637 * testsuite/27_io/fpos.cc: Likewise.
2638 * testsuite/27_io/fstream_members.cc: Likewise.
2639 * testsuite/27_io/ifstream_members.cc: Likewise.
2640 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
2641 * testsuite/27_io/ios_base_members_static.cc: Likewise.
2642 * testsuite/27_io/ios_base_storage.cc: Likewise.
2643 * testsuite/27_io/ios_ctor.cc: Likewise.
2644 * testsuite/27_io/ios_init.cc: Likewise.
2645 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
2646 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
2647 * testsuite/27_io/ios_members.cc: Likewise.
2648 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
2649 * testsuite/27_io/istream_extractor_char.cc: Likewise.
2650 * testsuite/27_io/istream_extractor_other.cc: Likewise.
2651 * testsuite/27_io/istream_manip.cc: Likewise.
2652 * testsuite/27_io/istream_seeks.cc: Likewise.
2653 * testsuite/27_io/istream_sentry.cc: Likewise.
2654 * testsuite/27_io/istream_unformatted.cc: Likewise.
2655 * testsuite/27_io/istringstream_members.cc: Likewise.
2656 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
2657 * testsuite/27_io/ofstream_members.cc: Likewise.
2658 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
2659 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
2660 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
2661 * testsuite/27_io/ostream_manip.cc: Likewise.
2662 * testsuite/27_io/ostream_seeks.cc: Likewise.
2663 * testsuite/27_io/ostream_unformatted.cc: Likewise.
2664 * testsuite/27_io/ostringstream_members.cc: Likewise.
2665 * testsuite/27_io/streambuf.cc: Likewise.
2666 * testsuite/27_io/stringbuf.cc: Likewise.
2667 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
2668 * testsuite/27_io/stringstream.cc: Likewise.
2669 * testsuite/27_io/stringstream_members.cc: Likewise.
2670 * testsuite/27_io/wide_stream_objects.cc: Likewise.
2672 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
2674 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
2676 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
2678 * configure.target: Remove mips from cpu table.
2679 * config/cpu/mips/bits/atomicity.h: Remove generic
2680 versions. Comment sgidefs include.
2682 2001-07-25 H.J. Lu <hjl@gnu.org>
2684 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
2687 * config/cpu/mips/bits/atomicity.h: New.
2689 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2691 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
2692 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
2693 * aclocal.m4: Regenerate.
2694 * config.h.in: Likewise.
2695 * configure: Likewise.
2696 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
2697 (EXTRA_DIST): Remove hypot.c hypotf.c.
2698 * libmath/Makefile.am: Regenerate.
2699 * libmath/hypotf.c: Remove.
2700 * libmath/hypot.c: Likewise.
2701 * libmath/hypotl.c: Likewise.
2702 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
2703 _GLIBCPP_HAVE_xxx. Add long double versions.
2705 2001-07-23 David Edelsohn <edelsohn@gnu.org>
2707 * include/bits/limits_generic.h (int): Set digits and digits10
2708 appropriately for word size.
2709 (unsigned int,long,unsigned long): Likewise.
2711 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2713 * include/bits/stl_algo.h : Fix typos.
2714 * testsuite/25_algorithms/unique.cc: New file.
2716 2001-07-19 Phil Edwards <pme@sources.redhat.com>
2717 Mark Mitchell <mark@codesourcery.com>
2719 Merge from cp-parser-branch.
2720 * include/bits/basic_string.h: Qualify symbols with 'template'.
2721 * include/bits/basic_string.tcc: Likewise.
2722 * include/bits/fstream.tcc: Likewise.
2723 * include/bits/istream.tcc: Likewise.
2724 * include/bits/sstream.tcc: Likewise.
2725 * include/bits/std_istream.h: Likewise.
2726 * include/bits/stl_iterator.h: Likewise.
2727 * include/bits/streambuf.tcc: Likewise.
2728 * src/gen-num-limits.cc: Add 'template<>' to specializations.
2729 * src/locale.cc: Likewise.
2731 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2732 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
2734 * src/gen-num-limits.cc (set_signals_handler): New function.
2735 Factor out signals setting. Set signal handler for SIGILL.
2737 2001-07-18 Phil Edwards <pme@sources.redhat.com>
2739 * docs/html/27_io/howto.html: Fix typo.
2740 * docs/html/faq/index.html: Minor updates for 3.0 all around.
2741 * docs/html/faq/index.txt: Regenerated.
2743 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
2744 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
2747 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
2748 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
2750 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
2752 All occurrences of the __value_type() and __distance_type()
2753 functions, which were required to support the HP STL, have been
2754 removed along with all the auxiliary forwarding functions that
2755 were required to support their use.
2757 The __iterator_category() function was pretty much left alone
2758 because there was no benefit to removing it and its use made code
2759 just a little more readable.
2761 Incidences of distance() with nonstandard argument list were
2762 replaced by calls to the standard function (only in the files
2763 affected by the removal of the other HP functions).
2765 The signature of the rotate() algorithm was changed to match the
2768 Headers were reformatted under C++STYLE guidelines (indentation,
2769 linebreaks, typename keyword).
2771 * include/bits/stl_algo.h: replaced __value_type() and
2772 __distance_type() with iterator_traits, eliminated auxiliary
2773 support functions required to support said function usage.
2774 Changed nonstandard distance() call to standard call.
2776 * include/bits/stl_algobase.h: Same.
2777 * include/bits/stl_heap.h: Same.
2778 * include/bits/stl_numeric.h: Same.
2779 * include/bits/stl_uninitialized.h: Same.
2780 * include/bits/stl_iterator_base_types.h (__value_type()):
2782 (__distance_type()): Removed.
2783 (value_type()): Gone.
2784 (distance_type()): Done in.
2785 (iterator_category()): Hasta la vista, baby.
2787 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
2788 Replaced with __iterator_category().
2789 * include/backward/iterator.h: moved definition of value_type(),
2790 distance_type(), and iterator_category() out of std:: and into
2792 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
2793 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
2794 * testsuite/25_algorithms/rotate.cc: New testcase.
2795 * testsuite/25_algorithms/copy.cc: New testcase.
2796 * testsuite/25_algorithms/sort.cc: Same.
2797 * testsuite/25_algorithms/heap.cc: Same.
2798 * testsuite/25_algorithms/partition.cc: Same.
2799 * testsuite/25_algorithms/binary_search.cc: Same.
2800 * testsuite/26_numerics/sum_diff.cc: Ditto.
2802 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
2804 * testsuite/README: Add notes on naming test cases.
2805 * testsuite/22_locale/members.cc: Mark as xfail.
2806 * testsuite/22_locale/numpunct_char_members.cc: Same.
2808 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
2810 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
2811 setting C_INCLUDE_DIR.
2812 * configure.in: Revert yesterday's LN_S change.
2813 * aclocal.m4: Regenerate.
2814 * configure: Regenerate.
2816 2001-07-15 Phil Edwards <pme@sources.redhat.com>
2818 * configure.in: Temporarily force LN_S to copy instead of symlink.
2819 * configure: Regenerate.
2821 2001-07-13 Phil Edwards <pme@sources.redhat.com>
2823 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
2824 Initialize _M_string with pointer-and-size constructor, not just
2825 pointer. Fix some comments.
2826 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
2827 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
2828 (test03): Add embedded-NUL tests.
2830 * mkcheck.in: When printing totals, match the order of the tests.
2831 * include/bits/stringfwd.h: Use same declaration keywords.
2832 * include/bits/std_iosfwd.h: Cosmetic spacing.
2834 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
2835 Loren J. Rittle <ljrittle@acm.org>
2836 Phil Edwards <pme@sources.redhat.com>
2838 * include/Makefile.am: New file encapsulating header generation rules.
2839 * Makefile.am (SUBDIRS): Prepend 'include' directory.
2840 * acinclude.m4: Moved/removed rules for building various headers.
2841 * configure.in (AC_OUTPUT): Add include/Makefile.
2842 * mkc++config: Removed.
2844 * testsuite_flags.in: Changed build-includes to match new scheme.
2845 * mknumeric_limits: Likewise.
2846 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
2847 * libmath/Makefile.am: Likewise.
2848 * libsupc++/Makefile.am: Likewise.
2849 * src/Makefile.am: Likewise; removed rules to build headers.
2850 * libmath/mathconf.h: Changed #include'd header names to match.
2851 * libmath/stubs.c: Likewise.
2852 * src/gen-num-limits.cc: Likewise.
2854 * configure: Regenerated.
2855 * config.h.in: Regenerated.
2856 * aclocal.m4: Regenerated.
2857 * Makefile.in: Regenerated.
2858 * include/Makefile.in: Regenerated.
2859 * libio/Makefile.in: Regenerated.
2860 * libmath/Makefile.in: Regenerated.
2861 * libsupc++/Makefile.in: Regenerated.
2862 * src/Makefile.in: Regenerated.
2863 * testsuite/Makefile.in: Regenerated.
2865 2001-07-11 Felix Natter <fnatter@gmx.net>
2867 * docs/html/17_intro/porting-howto.xml: Initial checkin of
2869 * docs/html/17_intro/porting-howto.html: check in v0.9.3
2871 2001-07-11 Phil Edwards <pme@sources.redhat.com>
2873 * docs/doxygen/run_doxygen: Don't keep output from previous run.
2874 * docs/doxygen/user.cfg.in: Tweaks.
2875 * include/bits/c++config: Documentation comments for Doxygen.
2876 * include/bits/char_traits.h: Likewise.
2877 * include/bits/limits_generic.h: Likewise.
2878 * include/bits/std_stdexcept.h: Likewise.
2879 * include/bits/stl_pair.h: Likewise.
2880 * libsupc++/exception: Likewise.
2881 * libsupc++/new: Likewise.
2882 * libsupc++/typeinfo: Likewise.
2883 * libmath/Makefile.am: Update and correct copyright.
2885 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2887 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
2888 * aclocal.m4: Regenerate.
2891 2001-07-09 Phil Edwards <pme@sources.redhat.com>
2893 * docs/html/configopts.html: Fix thinko.
2894 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
2895 * include/bits/stl_iterator.h: Fix typo.
2897 2001-07-09 Phil Edwards <pme@sources.redhat.com>
2899 * docs/html/explanations.html: New file.
2900 * docs/html/configopts.html: Link to it to provide more notes
2901 on cstdio. Minor markup and spacing fixes.
2902 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
2904 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
2906 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
2907 for _Expr template template argument.
2908 (_Expr::operator-): Likewise.
2909 (_Expr::operator~): Likewise.
2910 (_Expr::operator!): Likewise.
2911 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
2913 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2915 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
2916 * libmath/Makefile.in: Regenerate.
2917 * libmath/expf.c: Remove.
2918 * libmath/atan2f.c: Likewise.
2920 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
2922 * configure.in: Remove NATIVE, NULL_TARGET.
2923 Set CANADIAN only for Canadian crosses. Set xcompiling
2924 for both Canadian crosses and host-x-host crosses.
2925 * configure: Regenerated.
2927 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2929 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
2931 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
2933 * testsuite_flags.in (--build-includes): backward, not backwards.
2935 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
2937 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
2938 Replace destroy by _Destroy.
2939 (_Rope_RopeRep::_S_free_string): Likewise.
2940 (rope::c_str()): Likewise.
2941 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
2942 (_Slist_base::_M_erase_after): Likewise.
2943 (slist::_M_create_node): Replace construct by _Construct.
2944 (slist::pop_front): Replace destroy by _Destroy.
2945 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
2946 construct by _Construct.
2947 (hashtable::_M_delete_node): Replace destroy by _Destroy.
2948 * include/ext/stl_rope.h (rope::rope): Replace construct by
2950 (rope::copy): Replace destroy by _Destroy.
2952 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
2954 * include/bits/localefwd.h: Format.
2955 * include/bits/locale_facts.tcc (locale::combine): Adjust.
2956 * src/locale.cc (locale::locale::(_Impl)): Don't call
2958 (locale::facet::_M_remove_reference): Simplify.
2959 * src/globals.cc (locale_impl_c): New. Format.
2961 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
2963 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2965 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
2966 expansion (thanks to Alexandre Oliva).
2967 * aclocal.m4: Regenerate.
2968 * configure: Regenerate.
2970 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
2972 * src/locale.cc (locale::locale(const char*)): Make sure global
2973 locales are initialized.
2974 * include/bits/locale_facets.tcc (locale::combine): Refcout should
2975 be zero, not one as it's return-by-value.
2976 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
2978 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
2981 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
2983 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2986 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
2987 * aclocal.m4: Regenerate.
2988 * configure: Regenerate.
2990 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2993 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
2994 staged/installed area to support -I-. Document.
2995 * aclocal.m4: Regenerate.
2996 * configure: Regenerate.
2998 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3001 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
3002 __out_bufsize. Add __in_bufsize, document it and use it.
3004 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
3006 * include/bits/stl_construct.h (construct): Remove.
3008 (__destroy): Replaced by use of iterator_traits.
3009 * include/bits/stl_deque.h: replaced HP iterator functions with
3011 (construct): changed to _Construct.
3012 (destroy): changed to _Destroy.
3013 * include/bits/stl_tempbuf.h: Same.
3014 * include/bits/stl_tree.h: Same.
3015 * include/bits/stl_vector.h: Same.
3016 * include/backward/iterator.h (construct): moved definition to here.
3019 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
3021 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
3022 before replacing facet.
3023 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
3025 * src/localename.cc (locale::_Impl): Correct ctor initialization
3026 lists. Initialize ref count with one. Simplify.
3027 * src/locale.cc: Add comment.
3028 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
3029 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
3030 * testsuite/22_locale/members.cc (test02): Fix.
3032 2001-06-27 Phil Edwards <pme@sources.redhat.com>
3034 * include/backward/algo.h: Add "GPL plus runtime exception" comment
3035 block, this time for real.
3036 * include/backward/algobase.h: Likewise.
3037 * include/backward/alloc.h: Likewise.
3038 * include/backward/bvector.h: Likewise.
3039 * include/backward/defalloc.h: Likewise.
3040 * include/backward/deque.h: Likewise.
3041 * include/backward/function.h: Likewise.
3042 * include/backward/hash_map.h: Likewise.
3043 * include/backward/hash_set.h: Likewise.
3044 * include/backward/hashtable.h: Likewise.
3045 * include/backward/heap.h: Likewise.
3046 * include/backward/iterator.h: Likewise.
3047 * include/backward/list.h: Likewise.
3048 * include/backward/map.h: Likewise.
3049 * include/backward/multimap.h: Likewise.
3050 * include/backward/multiset.h: Likewise.
3051 * include/backward/pair.h: Likewise.
3052 * include/backward/rope.h: Likewise.
3053 * include/backward/set.h: Likewise.
3054 * include/backward/slist.h: Likewise.
3055 * include/backward/stack.h: Likewise.
3056 * include/backward/strstream: Likewise.
3057 * include/backward/tempbuf.h: Likewise.
3058 * include/backward/tree.h: Likewise.
3059 * include/backward/vector.h: Likewise.
3060 * include/bits/pthread_allocimpl.h: Likewise.
3061 * include/bits/std_algorithm.h: Likewise.
3062 * include/bits/std_bitset.h: Likewise.
3063 * include/bits/std_deque.h: Likewise.
3064 * include/bits/std_functional.h: Likewise.
3065 * include/bits/std_iterator.h: Likewise.
3066 * include/bits/std_list.h: Likewise.
3067 * include/bits/std_map.h: Likewise.
3068 * include/bits/std_memory.h: Likewise.
3069 * include/bits/std_numeric.h: Likewise.
3070 * include/bits/std_queue.h: Likewise.
3071 * include/bits/std_set.h: Likewise.
3072 * include/bits/std_stack.h: Likewise.
3073 * include/bits/std_utility.h: Likewise.
3074 * include/bits/std_vector.h: Likewise.
3075 * include/bits/stl_algo.h: Likewise.
3076 * include/bits/stl_algobase.h: Likewise.
3077 * include/bits/stl_alloc.h: Likewise.
3078 * include/bits/stl_bvector.h: Likewise.
3079 * include/bits/stl_construct.h: Likewise.
3080 * include/bits/stl_deque.h: Likewise.
3081 * include/bits/stl_function.h: Likewise.
3082 * include/bits/stl_heap.h: Likewise.
3083 * include/bits/stl_iterator.h: Likewise.
3084 * include/bits/stl_iterator_base_funcs.h: Likewise.
3085 * include/bits/stl_iterator_base_types.h: Likewise.
3086 * include/bits/stl_list.h: Likewise.
3087 * include/bits/stl_map.h: Likewise.
3088 * include/bits/stl_multimap.h: Likewise.
3089 * include/bits/stl_multiset.h: Likewise.
3090 * include/bits/stl_numeric.h: Likewise.
3091 * include/bits/stl_pair.h: Likewise.
3092 * include/bits/stl_pthread_alloc.h: Likewise.
3093 * include/bits/stl_queue.h: Likewise.
3094 * include/bits/stl_raw_storage_iter.h: Likewise.
3095 * include/bits/stl_relops.h: Likewise.
3096 * include/bits/stl_set.h: Likewise.
3097 * include/bits/stl_stack.h: Likewise.
3098 * include/bits/stl_tempbuf.h: Likewise.
3099 * include/bits/stl_threads.h: Likewise.
3100 * include/bits/stl_tree.h: Likewise.
3101 * include/bits/stl_uninitialized.h: Likewise.
3102 * include/bits/stl_vector.h: Likewise.
3103 * include/bits/type_traits.h: Likewise.
3104 * include/ext/hash_map: Likewise.
3105 * include/ext/hash_set: Likewise.
3106 * include/ext/rope: Likewise.
3107 * include/ext/ropeimpl.h: Likewise.
3108 * include/ext/slist: Likewise.
3109 * include/ext/stl_hash_fun.h: Likewise.
3110 * include/ext/stl_hashtable.h: Likewise.
3111 * include/ext/stl_rope.h: Likewise.
3112 * src/bitset.cc: Likewise.
3113 * src/strstream.cc: Likewise.
3115 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3116 <vakatov@ncbi.nlm.nih.gov>
3119 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
3120 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
3121 * testsuite/27_io/istream_extractor_other.cc: Fix.
3123 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
3125 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
3126 * aclocal.m4: Regenerate.
3127 * configure: Regenerate.
3129 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3131 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
3132 (ostream_iterator): Same.
3133 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
3134 Change argument to const_reference.
3135 (back_insert_iterator): Same.
3137 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3139 * include/bits/sbuf_iter.h: Change to..
3140 * include/bits/streambuf_iterator.h: This.
3141 * include/bits/stl_iterator.h: Take out of here...
3142 * include/bits/stream_iterator.h: Add.
3143 * src/Makefile.am (base_headers): Add streambuf_iterator,
3145 * src/Makefile.in: Regenerate.
3146 * include/bits/std_string.h: Adjust includes.
3147 * include/bits/basic_ios.h: Same.
3148 * include/bits/locale_facets.tcc: Same.
3149 * include/bits/std_iosfwd.h: Same.
3151 * include/bits/std_iterator.h: Add istream, ostream includes.
3152 * include/bits/stl_iterator.h: Tweak.
3153 * testsuite/24_iterators/ostream_iterator.cc: Add test.
3154 * testsuite/24_iterators/istream_iterator.cc: Same.
3155 * testsuite/23_containers/multiset.cc: Add iterator include.
3157 2001-06-26 Phil Edwards <pme@sources.redhat.com>
3159 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
3160 * aclocal.m4: Regenerate.
3161 * configure: Regenerate.
3163 2001-06-26 Felix Natter <f.natter@ndh.net>
3165 * docs/html/17_intro/porting-howto.html: Fixed some errors.
3167 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3169 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
3171 (istream_iterator::operator*): Same.
3173 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3174 Alexandre Petit-Bianco <apbianco@redhat.com>
3176 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
3177 is on 41st, not 14th.
3179 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3181 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
3183 * include/bits/stl_iterator.h (istream_iterator): Inherit from
3185 (ostream_iterator): Same.
3186 * testsuite/24_iterators/istream_iterator.cc: New file.
3187 * testsuite/24_iterators/ostream_iterator.cc: New file.
3189 * include/bits/sbuf_iter.h: Remove self typedef.
3190 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
3191 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
3193 * include/bits/stl_iterator.h (reverse_iterator): Remove
3194 extraneous typedefs. Add typename.
3195 (__normal_iterator): Remove typedefs referring to self. Add typename.
3196 (reverse_bidiretional_iterator): Remove, not longer required.
3198 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3200 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
3201 dependent names with `typename'. Bring in various required
3202 iterator_traits members. Can't imagine why that used to work.
3204 2001-06-25 Phil Edwards <pme@sources.redhat.com>
3205 Kurt Garloff <garloff@suse.de>
3208 * src/cmath.cc: New [version of an old] file; instantiate
3209 __cmath_power to start with.
3210 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
3211 * Makefile.in: Regenerate.
3212 * libio/Makefile.in: Regenerate.
3213 * libmath/Makefile.in: Regenerate.
3214 * libsupc++/Makefile.in: Regenerate.
3215 * src/Makefile.in: Regenerate.
3216 * testsuite/Makefile.in: Regenerate.
3218 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3220 * libmath/stubs.c: Fix thinko.
3222 2001-06-24 David Edelsohn <dje@watson.ibm.com>
3224 * libmath/stubs.c (sqrtf): Define.
3225 (tanf): Correct typo.
3227 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
3229 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
3231 (back_insert_iterator): Same.
3232 (front_insert_iterator): Same.
3233 (insert_iterator): Same.
3235 * testsuite/20_util/raw_storage_iterator.cc: Modify.
3236 * testsuite/24_iterators/reverse_iterator.cc: New file.
3237 * testsuite/24_iterators/back_insert_iterator.cc: New file.
3238 * testsuite/24_iterators/front_insert_iterator.cc: New file.
3239 * testsuite/24_iterators/insert_iterator.cc: New file.
3241 2001-06-22 Phil Edwards <pme@sources.redhat.com>
3243 * include/*: Revert comment/license change from yesterday for all
3244 except libsupc++/unwind-cxx.h.
3245 * src/bitset.cc: Likewise.
3246 * src/strstream.cc: Likewise.
3248 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3250 * libmath/stubs.c: New file.
3254 * libmath/Makefile.am (libmath_la_SOURCES): Add.
3255 * libmath/Makefile.in. Regenerate.
3257 2001-06-21 Phil Edwards <pme@sources.redhat.com>
3259 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
3260 * include/backward/algobase.h: Likewise.
3261 * include/backward/alloc.h: Likewise.
3262 * include/backward/bvector.h: Likewise.
3263 * include/backward/defalloc.h: Likewise.
3264 * include/backward/deque.h: Likewise.
3265 * include/backward/function.h: Likewise.
3266 * include/backward/hash_map.h: Likewise.
3267 * include/backward/hash_set.h: Likewise.
3268 * include/backward/hashtable.h: Likewise.
3269 * include/backward/heap.h: Likewise.
3270 * include/backward/iterator.h: Likewise.
3271 * include/backward/list.h: Likewise.
3272 * include/backward/map.h: Likewise.
3273 * include/backward/multimap.h: Likewise.
3274 * include/backward/multiset.h: Likewise.
3275 * include/backward/pair.h: Likewise.
3276 * include/backward/rope.h: Likewise.
3277 * include/backward/set.h: Likewise.
3278 * include/backward/slist.h: Likewise.
3279 * include/backward/stack.h: Likewise.
3280 * include/backward/strstream: Likewise.
3281 * include/backward/tempbuf.h: Likewise.
3282 * include/backward/tree.h: Likewise.
3283 * include/backward/vector.h: Likewise.
3284 * include/bits/pthread_allocimpl.h: Likewise.
3285 * include/bits/std_algorithm.h: Likewise.
3286 * include/bits/std_bitset.h: Likewise.
3287 * include/bits/std_deque.h: Likewise.
3288 * include/bits/std_functional.h: Likewise.
3289 * include/bits/std_iterator.h: Likewise.
3290 * include/bits/std_list.h: Likewise.
3291 * include/bits/std_map.h: Likewise.
3292 * include/bits/std_memory.h: Likewise.
3293 * include/bits/std_numeric.h: Likewise.
3294 * include/bits/std_queue.h: Likewise.
3295 * include/bits/std_set.h: Likewise.
3296 * include/bits/std_stack.h: Likewise.
3297 * include/bits/std_utility.h: Likewise.
3298 * include/bits/std_vector.h: Likewise.
3299 * include/bits/stl_algo.h: Likewise.
3300 * include/bits/stl_algobase.h: Likewise.
3301 * include/bits/stl_alloc.h: Likewise.
3302 * include/bits/stl_bvector.h: Likewise.
3303 * include/bits/stl_construct.h: Likewise.
3304 * include/bits/stl_deque.h: Likewise.
3305 * include/bits/stl_function.h: Likewise.
3306 * include/bits/stl_heap.h: Likewise.
3307 * include/bits/stl_iterator.h: Likewise.
3308 * include/bits/stl_iterator_base_funcs.h: Likewise.
3309 * include/bits/stl_iterator_base_types.h: Likewise.
3310 * include/bits/stl_list.h: Likewise.
3311 * include/bits/stl_map.h: Likewise.
3312 * include/bits/stl_multimap.h: Likewise.
3313 * include/bits/stl_multiset.h: Likewise.
3314 * include/bits/stl_numeric.h: Likewise.
3315 * include/bits/stl_pair.h: Likewise.
3316 * include/bits/stl_pthread_alloc.h: Likewise.
3317 * include/bits/stl_queue.h: Likewise.
3318 * include/bits/stl_raw_storage_iter.h: Likewise.
3319 * include/bits/stl_relops.h: Likewise.
3320 * include/bits/stl_set.h: Likewise.
3321 * include/bits/stl_stack.h: Likewise.
3322 * include/bits/stl_tempbuf.h: Likewise.
3323 * include/bits/stl_threads.h: Likewise.
3324 * include/bits/stl_tree.h: Likewise.
3325 * include/bits/stl_uninitialized.h: Likewise.
3326 * include/bits/stl_vector.h: Likewise.
3327 * include/bits/type_traits.h: Likewise.
3328 * include/ext/hash_map: Likewise.
3329 * include/ext/hash_set: Likewise.
3330 * include/ext/rope: Likewise.
3331 * include/ext/ropeimpl.h: Likewise.
3332 * include/ext/slist: Likewise.
3333 * include/ext/stl_hash_fun.h: Likewise.
3334 * include/ext/stl_hashtable.h: Likewise.
3335 * include/ext/stl_rope.h: Likewise.
3336 * libsupc++/unwind-cxx.h: Likewise.
3337 * src/bitset.cc: Likewise.
3338 * src/strstream.cc: Likewise.
3340 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3342 * include/bits/indirect_array.h (indirect_array<>::operator=):
3343 Make copy and assignment operator public. Implement. Format.
3345 * include/bits/valarray_array.h (__valarray_copy): Add overloads
3346 for copy between index arrays. Format.
3348 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
3350 * mknumeric_limits: Add static definitions, format.
3351 * testsuite/18_support/numeric_limits.cc (test02): Add test.
3353 * include/c_std/bits/std_cwchar.h: Include ctime.
3354 * testsuite/17_intro/header_cwchar.cc : Check.
3356 * include/c_std/bits/std_cwctype.h: Inject wctype.
3357 * testsuite/17_intro/header_cwctype.cc: Update.
3359 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
3361 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
3362 * testsuite/20_util/raw_storage_iterator.cc: Same.
3364 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
3366 (__mem_interface): New typedef for switching between malloc and new.
3367 * testsuite/20_util/allocator_members.cc: New file.
3369 * testsuite/20_util/comparisons.cc: New file.
3370 * testsuite/20_util/pairs.cc: New file.
3372 2001-06-15 Phil Edwards <pme@sources.redhat.com>
3374 * docs/html/documentation.html: Point to new doxygen'ed collection.
3376 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
3378 * configure.in (auxdir): Replace by ...
3379 (toprel): ... new variable.
3380 (toplevel_srcdir): Construct from $toprel.
3381 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
3382 rather than .. to locate gcc source directory.
3383 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
3384 * aclocal.m4, configure: Rebuilt.
3386 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3388 (Approved by Mark and Benjamin. Applied by Loren.)
3390 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
3391 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
3392 and _GLIBCPP_mutex_address.
3393 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
3394 once-only runtime initialization of _M_lock mutex when
3395 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
3396 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
3397 for __GTHREAD_MUTEX_INIT_FUNCTION case.
3399 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3401 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
3403 * include/bits/slice_array.h (slice_array<>::operator=): Make
3404 public and implement.
3405 (slice_array<>::slice_array): Make copy-constructor public.
3407 * include/bits/valarray_array.h (__valarray_copy): Add another
3408 overload to copy between strided arrays.
3410 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
3412 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
3413 * aclocal.m4: Regenerate.
3414 * configure: Regenerate.
3415 * include/bits/c++config (__GLIBCPP__): Update date.
3417 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3419 * include/bits/fpos.h (fpos::operator-): Don't return reference,
3420 return original, non-modified version.
3421 (fpos::operator+): Same.
3422 * testsuite/27_io/fpos.cc: Add test.
3424 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
3427 * porting.texi: Add documentation about libstdc++-v3-specific
3428 macros that are currently included in os_defines.h files.
3430 * config/basic_file_stdio.h (sys_getc): New method.
3431 (sys_ungetc): New method.
3432 * include/bits/basic_file.h: (sys_getc): New method signature.
3433 (sys_ungetc): New method signature.
3435 * include/bits/fstream.tcc (underflow): Add conditional code
3436 paths which avoid using short seeks on streams (especially
3437 useful when the stream might be interactive or a pipe). At
3438 the moment, this alternate path only avoids seeking when the
3439 ``buffer size'' of underflow() is 1 since the C standard only
3440 guarantees buffer space for one ungetc (this technique could
3441 be extended since *-*-solaris* supports buffering for 4 calls
3442 to ungetc and *-*-*bsd* supports buffering limited only by
3443 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
3444 in a port's os_defines.h file for this alternate path to even
3445 be considered. As a bonus, the idiom of using getc/ungetc
3446 requires no system calls whereas fseek maps to one or two
3447 system call(s) on many platforms.
3449 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
3451 * config/os/solaris/solaris2.5/bits/os_defines.h
3452 (_GLIBCPP_AVOID_FSEEK): Likewise.
3453 * config/os/solaris/solaris2.6/bits/os_defines.h
3454 (_GLIBCPP_AVOID_FSEEK): Likewise.
3455 * config/os/solaris/solaris2.7/bits/os_defines.h
3456 (_GLIBCPP_AVOID_FSEEK): Likewise.
3458 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3460 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
3461 AC_TRY_COMPILE, so that the built compiler is checked, and
3462 bootstraps or cross compiles with an older compile still work.
3463 * aclocal.m4: Regenerate.
3464 * configure: Regenerate.
3466 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3469 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
3472 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
3475 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
3478 * include/bits/limits_generic.h: Fix as per DR 184.
3480 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3483 * include/bits/basic_string.h (string::compare): Adjust signatures
3485 * include/bits/basic_string.tcc: And here.
3488 * config/c_io_stdio.h: Remove whitespace.
3489 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
3490 (test02): Add regression.
3491 * testsuite/27_io/istream_seeks-3.tst: New file.
3493 2001-06-11 Phil Edwards <pme@sources.redhat.com>
3495 * README: Update to reflect reality.
3496 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
3497 * configure.in: Make certain target_alias is set and subst'd for 2.50.
3498 * aclocal.m4: Regenerate.
3499 * configure: Regenerate (with 2.13).
3501 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3504 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
3506 * include/bits/istream.tcc (istream::seekg): Same.
3507 * testsuite/27_io/istream_seeks.cc: Fix.
3510 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
3512 * include/bits/std_queue.h: Add c++config.h.
3513 * testsuite/20_util/binders.cc: New test.
3515 2001-06-11 Matthias Klose <doko@debian.org>
3516 Phil Edwards <pme@sources.redhat.com>
3518 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
3519 (main script): Echo more information.
3521 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3523 * include/c_std/bits/std_cwchar.h: Alphabetize.
3524 * include/bits/char_traits.h: Tweak.
3525 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
3526 everything used by std_cwchar.h.
3527 * aclocal.m4: Regenerate.
3528 * configure.in: Regenerate.
3529 * config.h.in: Regenerate.
3531 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3533 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
3534 Add checking for strtof, _Exit in stdlib.h
3535 * aclocal.m4: Regenerate.
3536 * configure.in: Regenerate.
3537 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
3538 (snprintf): Put C99 functions into __gnu_cxx namespace.
3543 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
3544 for C99 functions within _GLIBCPP_USE_C99 guard.
3548 * include/bits/locale_facets.tcc: Check if C99 is enabled.
3549 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
3551 * include/c_std/bits/cmath.tcc: Formatting tweak.
3552 * include/c_std/bits/std_cmath.h: Same.
3554 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3556 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
3558 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
3559 Stephen L Moshier <moshier@mediaone.net>
3561 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
3562 nothing, as in autoconf 2.50.
3563 * configure: Rebuilt.
3565 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3567 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
3568 include std_cstddef.
3569 * include/c_std/bits/std_ctime.h: Same.
3570 * include/c_std/bits/std_cstring.h: Same.
3571 * include/c_std/bits/std_cstdlib.h: Same.
3573 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
3574 * include/c_std/bits/std_cctype.h: Remove isblank.
3576 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3578 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
3580 * aclocal.m4: Regenerate.
3581 * configure: Regenerate.
3582 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
3583 injection, guard fgetwc, fgetws.
3584 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
3585 * include/c_std/bits/std_clocale.h: And here.
3586 * include/c_std/bits/std_cctype.h: And here.
3587 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
3589 * config/basic_file_stdio.h: Don't include unistd.h.
3590 * config/c_io_stdio.h: Don't use compatibility headers.
3591 * libsupc++/eh_terminate.cc: Qualify abort.
3592 (__terminate): And here.
3593 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
3595 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
3597 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
3599 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
3604 * include/std/*: Add copyright notice.
3605 * include/c_std/bits/*: Use using statements instead of extern "C".
3606 * include/c_std/bits/std_cmath.h: Don't overload double versions
3607 of math functions with __buitin versions, use global version to
3608 prevent ambiguities. Remove define hacks.
3609 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
3610 functions that have changed signatures and std::
3611 declarations. Remove define hacks.
3612 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
3613 __builtins in std::. Remove define hacks.
3614 * testsuite/17_intro/headers_c.cc: Add tests.
3615 * testsuite/17_intro/headers_c++.cc: Add test.
3617 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3618 John David Anglin <dave@hiauly1.hia.nrc.ca>
3621 * libsupc++/eh_alloc.cc: Ensure that required macros are
3622 defined before including gthr.h. Ensure that we get the
3623 version of gthr.h for which we know how to provide a
3625 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
3626 code path into line with the current EH model. Use std, where
3629 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3630 John David Anglin <dave@hiauly1.hia.nrc.ca>
3632 * config/threads-no.h: Remove file.
3633 * config/threads-posix.h: Remove file.
3635 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
3636 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
3637 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
3638 * config.h.in: Regenerate.
3640 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
3641 setup and use gthr*.h files. In particular, make gthr.h files
3642 namespace-clean in the staging area (they don't have to be for
3644 * aclocal.m4: Regenerate.
3645 * configure: Regenerate.
3647 * src/Makefile.am (build_headers): Remove bits/c++threads.h
3648 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
3649 * src/Makefile.in: Regenerate.
3651 * include/bits/c++config: Cleanup threading configuration macros.
3652 In particular, define __STL_GTHREADS macro which controls...
3653 * include/bits/stl_threads.h: ...a brand new gthr.h-based
3656 * config/c_io_stdio.h: Include staged gthr.h instead of local
3657 thread configuration file. Always use __gthread_mutex_t
3658 instead of __mutext_type (or int).
3659 * include/bits/std_fstream.h: Likewise.
3661 * docs/html/17_intro/howto.html: Remove placeholder comment in
3662 case this configuration patch didn't make it. Add advice that
3663 section only applies if configured with --enable-threads.
3664 * docs/html/23_containers/howto.html: Reword to make clear
3665 that _PTHREADS is no longer required for any port to be
3666 correctly using STL with threads. Add advice that section
3667 only applies if configured with --enable-threads.
3669 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
3671 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
3673 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
3676 * include/bits/basic_ios.tcc: Formatting tweaks.
3677 * include/bits/ios_base.h: Formatting tweaks.
3678 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
3679 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
3680 * src/globals.cc: Allocate filebufs for standard streams here.
3681 (buf_cout, buf_cin, buf_cerr): Like so.
3682 (buf_wcout, buf_wcin, buf_wcerr): And so.
3683 * testsuite/27_io/ios_init.cc: Add.
3685 2001-06-04 Brendan Kehoe <brendan@zen.org>
3686 Benjamin Kosnik <bkoz@redhat.com>
3689 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
3690 for generic ctype virtuals.
3691 * src/locale.cc: Minor tweaks, naming consistency.
3692 * testsuite/22_locale/ctype.cc: Add test.
3694 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
3695 Phil Edwards <pme@sources.redhat.com>
3697 PR libstdc++/3035 and PR libstdc++/3036
3698 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
3699 to LWG DR 181 and 265.
3701 2001-06-04 Phil Edwards <pme@sources.redhat.com>
3704 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
3705 equal_range): Add const overloads as per LWG DR 214.
3706 * include/bits/stl_set.h: Likewise.
3708 2001-06-04 Brendan Kehoe <brendan@zen.org>
3709 Phil Edwards <pme@sources.redhat.com>
3712 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
3713 comparison; all positions must be < _Nb.
3714 * testsuite/23_containers/bitset_members.cc: New file.
3716 2001-06-04 Brendan Kehoe <brendan@zen.org>
3719 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
3720 ctors to match the standard.
3722 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3724 * include/bits/char_traits.h (move): Reverse qualification of
3726 (copy): Reverse qualification of memcpy with std::.
3728 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3730 * include/bits/char_traits.h (move): Qualify memmove with std::.
3731 (copy): Qualify memcpy with std::.
3732 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
3735 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
3737 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
3739 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
3740 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
3741 SUN make VPATH peculiarities.
3742 * libsupc++/Makefile.in: Regenerate.
3744 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
3746 * src/Makefile.am (VPATH): Delimit with ":", not space.
3747 * src/Makefile.in: Regenerate.
3749 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
3751 * configure: Regenerate.
3753 2001-05-31 scott snyder <snyder@fnal.gov>
3756 * include/bits/istream.tcc: Include std_ostream.h.
3758 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
3761 * src/bitset.cc: Qualify size_t with std::.
3763 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
3765 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
3766 (_GLIBCPP_BUGGY_COMPLEX): Remove.
3767 * config.h.in: Regenerate.
3768 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
3769 * aclocal.m4: Regenerate.
3770 * configure.in: Don't call it.
3771 * configure: Regenerate.
3774 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
3775 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
3779 * include/bits/std_complex.h: Include sstream. Put definitions for
3780 complex inserters and extractors here, and remove them from...
3781 * src/complex_io.cc: ...here.
3782 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
3784 (basic_ios::__numget_type): Same.
3785 * include/bits/std_istream.h: Same.
3786 * include/bits/std_ostream.h: Same.
3787 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
3788 class iterator template arguments.
3789 * src/locale-inst.cc: Add explicit has_facet instantiations.
3790 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
3791 (_M_get_fnumput): Remove.
3792 (_M_get_fnumget): Remove.
3793 (basic_ios::_M_check_facet): New function.
3794 (basic_ios::_M_cache_facets): New function.
3795 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
3796 (basic_ios::imbue): Call _M_cache_facets.
3797 (basic_ios::init): Same.
3798 * include/bits/istream.tcc: Format, use _M_check_facet.
3799 * include/bits/ostream.tcc: Same.
3800 * include/bits/locale_facets.tcc (__output_float): Change
3801 signature, add _Traits.
3802 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
3805 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
3807 * include/bits/c++config (__USE_MALLOC): Do not define it.
3808 Document why not and give pointers to more information.
3810 * docs/html/23_containers/howto.html: Update documentation
3811 to reflect recent understanding of problem.
3812 * docs/html/17_intro/howto.html: Likewise.
3814 2001-05-30 Phil Edwards <pme@sources.redhat.com>
3816 * docs/doxygen/user.cfg.in: Minor addition.
3817 * docs/html/documentation.html: Reorganize. Put most-looked-at
3819 * docs/html/install.html: Update for 3.0. HTML fixups.
3820 * docs/html/17_intro/howto.html: Likewise.
3821 * docs/html/18_support/howto.html: Likewise.
3822 * docs/html/19_diagnostics/howto.html: Likewise.
3823 * docs/html/20_util/howto.html: Likewise.
3824 * docs/html/23_containers/howto.html: Likewise.
3825 * docs/html/24_iterators/howto.html: Likewise. More notes.
3826 * docs/html/25_algorithms/howto.html: Likewise.
3827 * docs/html/26_numerics/howto.html: Likewise. More notes.
3828 * docs/html/27_io/howto.html: Likewise.
3829 * docs/html/ext/howto.html: Likewise.
3830 * docs/html/faq/index.html: Likewise.
3831 * docs/html/faq/index.txt: Regenerate.
3832 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
3833 Doxygen-created documentation.
3835 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3837 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
3838 get_multilibs to find gcc.
3840 2001-05-30 Phil Edwards <pme@sources.redhat.com>
3842 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
3843 * aclocal.m4: Regenerate.
3844 * configure: Regenerate.
3846 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3848 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
3849 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
3851 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3853 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
3854 * include/c_std/bits/std_cstdlib.h: Same.
3855 * include/c_std/bits/std_cwchar.h: Same.
3857 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
3859 * docs/html/17_intro/howto.html: Update link.
3860 * docs/html/23_containers/howto.html: Likewise. Add new link.
3862 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
3864 * include/c_std/bits/std_cmath.h (sqrt): #undef.
3866 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3868 * mknumeric_limits: Stop if gen-num-limits dies.
3870 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
3873 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
3874 * aclocal.m4: Regenerate.
3877 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3878 Phil Edwards <pme@sources.redhat.com>
3879 Alexandre Oliva <aoliva@redhat.com>
3881 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3882 in an amd-safe manner. Revert glibcpp_prefixdir.
3884 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
3886 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
3887 fabs, sin, sqrt. They are now implemented in terms of __builtin_
3890 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
3893 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
3894 * include/bits/ostream.tcc: Format to match istream.tcc.
3895 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
3897 2001-05-24 Phil Edwards <pme@sources.redhat.com>
3899 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
3901 (__cxa_free_exception): Likewise with free.
3903 2001-05-24 Mark Mitchell <mark@codesourcery.com>
3905 * include/c_std/bin/std_cstring.h: #define away all global
3906 functions we will redeclare in namespace `std'.
3907 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
3908 std::memset, instead of memset.
3909 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
3911 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
3914 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
3917 * include/bits/basic_ios.tcc: Small tweak.
3918 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
3919 ctors and dtors, and rdbuf settings.
3922 * include/bits/std_sstream.h: Same, but for stringstream classes.
3923 * testsuite/27_io/ostringstream_members.cc: New.
3924 * testsuite/27_io/stringstream_members.cc: New.
3925 * testsuite/27_io/fstream_members.cc: New.
3926 * testsuite/27_io/ifstream_members.cc: Add test.
3927 * testsuite/27_io/istringstream_members.cc: Add test.
3928 * testsuite/27_io/ofstream_members.cc: Add test.
3930 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3932 * include/bits/c++config(__NO_MATH_INLINES): Move to...
3933 * config/os/gnu-linux/bits/os_defines.h: ...here.
3935 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
3937 * include/bits/c++config (__NO_MATH_INLINES): New macro.
3938 * testsuite/26_numerics/fabs_inline.cc (main): New test.
3940 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
3943 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
3945 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
3946 (libstdc++-v3-finish): Remove.
3947 (libstdc++-v3_exit): Remove.
3949 2001-05-22 Phil Edwards <pme@sources.redhat.com>
3951 * docs/html/documentation.html: Point to doxygen output.
3953 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
3955 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
3957 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
3958 arguments to be non-null.
3959 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
3960 try allocations if allocated size is greater than zero.
3961 (filebuf::_M_filebuf_init): Change to
3962 (filebuf::_M_allocate_file): Which is what it does now.
3963 (filebuf::_M_allocate_bufers): Change to
3964 (filebuf::_M_allocate_internal_buffer): This, and create
3965 (filebuf::_M_allocate_pback_buffer): New.
3966 (filebuf::_M_destroy_internal_buffer): New.
3967 (filebuf::_M_buf_allocated): New data member.
3968 (filebuf::setbuf): Use new logic, allow use of external buffer.
3969 * testsuite/27_io/stringbuf_virtuals.cc: New file.
3970 * testsuite/27_io/filebuf_virtuals.cc: New file.
3972 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
3974 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
3976 (strchr): Same, but to __glibcpp_strchr.
3980 * include/c_std/bits/std_cwchar.h (wcschr): Same.
3986 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
3988 * testsuite/21_strings/c_strings.cc (main): Fix.
3990 2001-05-19 Phil Edwards <pme@sources.redhat.com>
3992 * acinclude.m4: Fix --help spacing, correct comments.
3993 * aclocal.m4: Regenerate.
3994 * configure: Regenerate.
3995 * mkcheck.in: Add usage comments.
3996 * docs/html/documentation.html: Point to doxygen'd tarball.
3998 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
4000 * testsuite/README: Add notes.
4002 * src/Makefile.am (libstdc++.INC): Remove.
4003 * src/Makefile.in: Regenerate.
4005 Phil Edwards <pedwards@disaster.jaj.com>
4006 * mkcheck.in: Add missing '#'.
4008 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4010 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
4011 appropriately for remote testing and testing installed files without
4014 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
4016 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
4017 amd glibcpp_prefixdir with absolute paths.
4019 * include/bits/c++config (__GLIBCPP__): Bump.
4020 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
4022 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
4024 * include/bits/std_valarray.h (valarray<>::operator[] const):
4025 Return a const reference.
4026 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
4028 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
4030 * configure.target (ATOMICITYH): Actually use AIX-specific code on
4031 earlier versions of AIX 4.*.
4033 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4035 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
4036 output_file based on the name of the testcase.
4038 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4040 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
4041 gluefile and use it if needs_status_wrapper is set.
4043 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
4045 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
4048 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
4050 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
4051 on earlier versions of AIX.
4053 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
4055 * testsuite_flags.in (query): Add backwards, ext directories.
4057 2001-05-15 Mark Mitchell <mark@codesourcery.com>
4059 * porting.texi: Correct documentation about handling
4060 _LARRGEFILE_SOURCE and its ilk.
4061 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
4062 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
4064 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
4065 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
4067 2001-05-15 Zack Weinberg <zackw@stanford.edu>
4069 * testsuite/21_strings/inserters_extractors.cc,
4070 testsuite/27_io/istream_unformatted.cc,
4071 testsuite/27_io/stringstream.cc:
4072 Replace multi-line string constants with C89-style
4073 concatenated string constants.
4075 2001-05-14 Richard Henderson <rth@redhat.com>
4077 * mknumeric_limits: Build with -fno-exceptions.
4079 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
4081 Switch over to new harness.
4082 * testsuite_flags.in: Tweaks via Gaby.
4083 * testsuite/Makefile.am: Change tool to libstdc++-v3.
4084 (EXPECT): Quote directly.
4086 * configure.in: Output testsuite_flags.
4087 * acinclude.m4: Substitute src, bld, and prefix dirs.
4088 Remove glibcpp_expect, glibcpp_runtestflags.
4089 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
4090 * mkcheck.in: Port to new interface.
4092 * aclocal.m4: Regerate.
4093 * configure: Regnerate.
4094 * Makefile.in: Regnerate.
4095 * */Makefile.in: Regenerate.
4097 * tests_flags.in: Remove.
4098 * testsuite/lib/libstdc++.exp: Remove.
4099 * testsuite/libstdc++.tests/tests.exp: Remove.
4101 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
4103 * configure.target: Remove detection of AIX pthread multilib, now
4104 obtained from `gcc -v'.
4106 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
4108 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
4109 size. Add hpux case for HP size.
4111 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
4113 * testsuite_flags.in: New, simplified interface.
4114 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
4115 * testsuite/libstdc++-v3.dg: Add.
4116 * testsuite/libstdc++-v3.dg/dg.exp: Add.
4118 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
4120 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
4121 * testsuite/config/default.exp: Update bugs email address.
4123 2001-05-11 Richard Henderson <rth@redhat.com>
4125 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
4126 all pointer encoding logic.
4127 (struct lsda_header_info): Add ttype_base.
4128 (get_ttype_entry): Use it instead of a context.
4129 (check_exception_spec): Likewise.
4130 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
4131 the c++ exception header for __cxa_call_unexpected.
4132 (__cxa_call_unexpected): Use it.
4134 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
4136 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
4137 libgloss_link_flags to find crt0.o for targets that use libgloss
4139 Change LDFLAGS to LIBS.
4140 Consistently name procedures libstdc++-XXX.
4141 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
4143 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
4145 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
4150 * include/c_std/bits/std_cwchar.h (wcschr): Same.
4155 * testsuite/21_strings/c_strings.cc: Add tests.
4157 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
4160 * include/bits/std_fstream.h (basic_filebuf): Change signature.
4161 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
4162 to int_type, pass in buffer size info.
4163 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
4164 unbuffered situation.
4165 (underflow): Remove codecvt bits for the time being.
4166 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
4167 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
4168 values from iterators, clean.
4169 * src/locale.cc: Ditto.
4170 * include/bits/sbuf_iter.h: Format.
4171 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
4172 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
4173 * testsuite/27_io/filebuf.cc: Tweaks.
4174 * testsuite/27_io/filebuf_members.cc: Tweaks.
4176 2001-05-07 Mark Mitchell <mark@codesourcery.com>
4178 * config/os/solaris/solaris2.7/bits/os_defines.h
4179 (_LARGEFILE_SOURCE): Define it.
4181 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
4183 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
4184 -prefer-non-pic depending on whether libtool has shared libraries
4185 enabled or disabled.
4186 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
4187 $(LIBSUPCXX_PICFLAGS).
4188 * configure, */Makefile.in: Rebuilt.
4190 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
4192 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
4193 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
4195 * include/bits/std_sstream.h (stringbuf): Leak
4197 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
4199 2001-05-01 Tom Browder <tbrowder@home.com>
4201 * docs/html/ext/howto.html: Fix typo.
4203 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
4205 * testsuite/libstdc++.tests/tests.exp: Add comment.
4207 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
4209 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
4211 2001-04-30 Mark Mitchell <mark@codesourcery.com>
4213 * porting.texi: Use the GFDL.
4215 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
4218 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
4219 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
4222 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
4225 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
4227 2001-04-28 Phil Edwards <pme@sources.redhat.com>
4229 * docs/doxygen/run_doxygen: Minor tweaks.
4230 * docs/doxygen/style.css: New file.
4231 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
4232 latest parameters available. Use style.css.
4234 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
4236 * docs/doxygen/mainpage.doxy: New.
4237 * docs/doxygen/user.cfg.in: Change default configuration. Single
4238 frame, other tweaks.
4240 2001-04-26 Mark Mitchell <mark@codesourcery.com>
4242 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
4243 Indicate obsolete nature of thelist for G++ 3.0.
4245 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
4247 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
4248 target_thread_file with `gcc -v'.
4249 * aclocal.m4, configure: Rebuilt.
4251 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
4253 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
4254 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
4255 * include/c_std/bits/std_cwchar.h (std): Same.
4256 * acconfig.h (std): Remove c99 injection into std.
4257 * config.h.in: Regenerate.
4259 * testsuite/README: Fix typo.
4261 * include/bits/codecvt.h: Remove warnings.
4263 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4265 * include/ext/slist: Include required header files.
4267 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
4269 * include/c_std/bits/std_cerrno.h (errno): Define macro from
4270 identifier declared with external linkage, if needed.
4271 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
4272 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
4274 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
4276 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
4277 re-configures find the build compiler.
4278 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
4280 * aclocal.m4: Regenerate.
4281 * configure: Regenerate.
4283 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
4285 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
4286 support is enabled correctly before long long is activated.
4287 * aclocal.m4: Regenerate.
4288 * configure: Regenerate.
4290 * include/backward/backward_warning.h: Format correctly.
4292 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
4293 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
4294 * testsuite/26_numerics/c99_macros.cc: Remove.
4296 2001-04-20 Phil Edwards <pme@sources.redhat.com>
4298 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
4299 __iterator_category.
4301 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
4303 * acconfig.h (_GLIBCPP_USE_C99): Add.
4304 * config.h.in: Regenerate.
4305 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
4307 * aclocal.m4: Regenerate.
4308 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
4309 * configure: Regenerate.
4310 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
4311 * configure: Regenerate.
4312 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
4314 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
4316 * include/c_std/bits/std_cstdlib.h: Same.
4317 * docs/html/configopts.html: Update.
4318 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
4320 (test_c99_classify): Add.
4321 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
4322 (_ISOC99_SOURCE): Remove.
4324 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
4325 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
4326 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
4327 * aclocal.m4: Regenerate.
4328 * configure: Regenerate.
4330 2001-04-19 Phil Edwards <pme@sources.redhat.com>
4332 * Makefile.am (doxygen): Assume script is missing execute perms.
4333 * Makefile.in: Regenerated.
4334 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
4336 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
4338 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
4340 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
4342 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
4343 * testsuite/23_containers/set_operators.cc: Same.
4345 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
4347 (__GLIBCPP__): Bump from value of last release.
4348 * include/bits/concept_check.h: Default to off, edit comments.
4349 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
4350 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
4351 * src/Makefile.in: Regenerate.
4353 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
4355 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
4356 Properly uglify member.
4358 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4360 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
4364 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4366 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
4367 * include/bits/concept_check.h: Uglify.
4368 * include/bits/stl_algo.h: Likewise.
4369 * include/bits/stl_algobase.h: Likewise.
4370 * include/bits/stl_deque.h: Likewise.
4371 * include/bits/stl_heap.h: Likewise.
4372 * include/bits/stl_iterator_base_funcs.h: Likewise.
4373 * include/bits/stl_list.h: Likewise.
4374 * include/bits/stl_map.h: Likewise.
4375 * include/bits/stl_multimap.h: Likewise.
4376 * include/bits/stl_multiset.h: Likewise.
4377 * include/bits/stl_numeric.h: Likewise.
4378 * include/bits/stl_queue.h: Likewise.
4379 * include/bits/stl_set.h: Likewise.
4380 * include/bits/stl_stack.h: Likewise.
4381 * include/bits/stl_vector.h: Likewise.
4382 * include/ext/hash_map: Likewise.
4383 * include/ext/hash_set: Likewise.
4384 * include/ext/slist: Likewise.
4386 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
4388 * testsuite/23_containers/set_operators.cc: Just try to compile.
4390 * testsuite/23_containers/map_operators.cc: Same.
4392 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
4394 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
4396 (dg-test): Revert rth's change.
4398 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
4400 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
4401 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
4403 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
4405 * testsuite/README: Add DejaGnu specific documentation.
4407 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
4409 * acinclude.m4: AC_CHECK_TOOL for expect.
4410 * aclocal.m4: Regenerate.
4411 * configure: Regenerate.
4412 * testsuite/Makefile.am (RUNTEST): Use substituted.
4415 * configure.in: Remove xcompiling substitution.
4416 * tests_flags.in (CROSS_LIB_PATH): Remove.
4417 (xcompiling): Remove.
4418 (CXX): Use substituted CXX.
4420 2001-04-11 Richard Henderson <rth@redhat.com>
4422 * testsuite/lib/libstdc++.exp: Specify path for output_file.
4424 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
4426 * include/bits/std_valarray.h(valarray<>::operator[]): Make
4429 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4431 * testsuite/25_algorithms/equal.cc: New test.
4433 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
4435 * stl_algobase.h (std::equal): avoid use of possibly-undefined
4436 operator != (one line patch).
4438 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4440 * include/backward/backward_warning.h: Re-enable.
4442 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4443 Alexandre Oliva <aoliva@redhat.com>
4445 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
4447 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4449 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
4450 * testsuite/26_numerics/c99_macros.cc: Add test.
4452 2001-04-06 Phil Edwards <pme@sources.redhat.com>
4454 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
4455 * docs/html/faq/index.txt: Regenerated.
4457 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4459 * include/backward/backward_warning.h: Temporarily disable until
4460 g++ testsuite changes go in.
4461 * tests_flags.in (CROSS_LIB_PATH): Add.
4463 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4465 Warn when using backward headers.
4466 * include/backward/algo.h: Include warning file.
4467 * include/backward/vector.h: Same.
4468 * include/backward/tree.h: Same.
4469 * include/backward/tempbuf.h: Same.
4470 * include/backward/strstream: Same.
4471 * include/backward/streambuf.h: Same.
4472 * include/backward/stream.h: Same.
4473 * include/backward/stack.h: Same.
4474 * include/backward/slist.h: Same.
4475 * include/backward/set.h: Same.
4476 * include/backward/rope.h:
4477 * include/backward/queue.h: Same.
4478 * include/backward/pair.h: Same.
4479 * include/backward/ostream.h: Same.
4480 * include/backward/new.h: Same.
4481 * include/backward/multiset.h: Same.
4482 * include/backward/multimap.h: Same.
4483 * include/backward/map.h: Same.
4484 * include/backward/list.h: Same.
4485 * include/backward/iterator.h: Same.
4486 * include/backward/istream.h: Same.
4487 * include/backward/iostream.h:
4488 * include/backward/iomanip.h:
4489 * include/backward/heap.h: Same.
4490 * include/backward/hashtable.h:
4491 * include/backward/hash_set.h:
4492 * include/backward/hash_map.h:
4493 * include/backward/function.h:
4494 * include/backward/fstream.h:
4495 * include/backward/deque.h:
4496 * include/backward/defalloc.h: Same.
4497 * include/backward/complex.h: Same.
4498 * include/backward/bvector.h:
4499 * include/backward/alloc.h:
4500 * include/backward/algobase.h: Same.
4502 * include/backward/backward_warning.h: New file.
4503 * src/Makefile.am (backward_headers): Add backward_warning.h
4504 * src/Makefile.in: Regenerate.
4506 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4508 * src/Makefile.am (myinstalldirs): Make sure backward directory is
4510 (myinstallheaders): Install backward headers in backward directory.
4511 * src/Makefile.in: Regenerate.
4513 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4515 Prepare for libstdc++-2.92.
4516 * docs/html/17_intro/RELEASE-NOTES (New): Update.
4517 * docs/html/configopts.html: Fix formatting.
4518 * README (file): Updates.
4519 * include/bits/c++config (__GLIBCPP__): Update.
4521 2001-04-05 Phil Edwards <pme@sources.redhat.com>
4523 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
4525 2001-04-04 Phil Edwards <pme@sources.redhat.com>
4527 * docs/doxygen/user.cfg.in: Extract all non-private members;
4528 reduce confusing documentation output.
4530 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
4532 * include/backward/fstream.h: Add missing semicolons.
4534 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
4536 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
4537 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
4538 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
4539 (ios_base::Init::_S_ios_create): New.
4540 (ios_base::Init::_S_ios_destroy): New.
4541 * include/bits/std_fstream.h: Change ctor args.
4542 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
4543 (ios_base::Init::~Init): Use _S_ios_destroy.
4544 (ios_base::sync_with_stdio): Use new members.
4545 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
4548 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4550 * include/backward/fstream.h: Expose streampos to global
4553 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4555 * include/bits/stl_iterator_base_types.h: Fix typo
4557 2001-04-03 Andreas Schwab <schwab@suse.de>
4559 * include/backward/fstream.h: Define filebuf and wfilebuf.
4561 2001-04-02 Phil Edwards <pme@sources.redhat.com>
4563 New concept checking implementation.
4564 * docs/html/19_diagnostics/howto.html: Document.
4565 * docs/html/17_intro/concept_check.diff: New file, for reference.
4566 * include/bits/boost_concept_check.h: New file from Boost.
4567 * include/bits/c++config: Update comments.
4569 * include/bits/concept_check.h: New file.
4570 * include/bits/concept_checks.h: Removed.
4571 * include/bits/container_concepts.h: Removed.
4572 * include/bits/sequence_concepts.h: Removed.
4573 * include/bits/stl_iterator_base.h: Removed; split into...
4574 * include/bits/stl_iterator_base_funcs.h: ...this new file...
4575 * include/bits/stl_iterator_base_types.h: ...and this new file.
4577 * include/bits/sbuf_iter.h: Update to use new implementation.
4578 * include/bits/std_iterator.h: Likewise.
4579 * include/bits/std_memory.h: Likewise.
4580 * include/bits/stl_algo.h: Likewise.
4581 * include/bits/stl_algobase.h: Likewise.
4582 * include/bits/stl_construct.h: Likewise.
4583 * include/bits/stl_deque.h: Likewise.
4584 * include/bits/stl_heap.h: Likewise.
4585 * include/bits/stl_list.h: Likewise.
4586 * include/bits/stl_map.h: Likewise.
4587 * include/bits/stl_multimap.h: Likewise.
4588 * include/bits/stl_multiset.h: Likewise.
4589 * include/bits/stl_numeric.h: Likewise.
4590 * include/bits/stl_queue.h: Likewise.
4591 * include/bits/stl_set.h: Likewise.
4592 * include/bits/stl_stack.h: Likewise.
4593 * include/bits/stl_uninitialized.h: Likewise.
4594 * include/bits/stl_vector.h: Likewise.
4595 * include/ext/hash_map: Likewise.
4596 * include/ext/hash_set: Likewise.
4597 * include/ext/slist: Likewise.
4598 * include/ext/stl_hashtable.h: Likewise.
4600 * src/Makefile.am (base_headers): Update list of headers.
4601 * Makefile.in: Regenerated.
4602 * src/Makefile.in: Regenerated.
4603 * libio/Makefile.in: Regenerated.
4604 * libmath/Makefile.in: Regenerated.
4605 * libsupc++/Makefile.in: Regenerated.
4606 * testsuite/Makefile.in: Regenerated.
4608 * docs/html/install.html: Update contact information.
4609 * docs/html/17_intro/howto.html: Ditto.
4610 * docs/html/18_support/howto.html: Ditto.
4611 * docs/html/20_util/howto.html: Ditto.
4612 * docs/html/21_strings/howto.html: Ditto.
4613 * docs/html/22_locale/howto.html: Ditto.
4614 * docs/html/23_containers/howto.html: Ditto.
4615 * docs/html/24_iterators/howto.html: Ditto.
4616 * docs/html/25_algorithms/howto.html: Ditto.
4617 * docs/html/26_numerics/howto.html: Ditto.
4618 * docs/html/27_io/howto.html: Ditto.
4619 * docs/html/faq/index.html: Ditto, plus info on new checking code.
4620 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
4621 * docs/html/faq/index.txt: Regenerated.
4623 2001-04-02 Zack Weinberg <zackw@stanford.edu>
4625 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
4626 messages with $which_library as well as $tool_flags and
4627 ${dg-extra-tool-flags}. Factor out annotation text into
4630 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
4632 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
4633 * include/c_std/bits/std_cwchar.h: Same.
4634 * testsuite/21_strings/c_strings.cc: Add.
4636 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
4638 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
4640 2001-04-01 Zack Weinberg <zackw@stanford.edu>
4642 * tests_flags.in: Use test a = b, not test a == b which is not
4645 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
4647 * configure.target: Remove duplicate aix entry.
4649 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
4651 * include/ext/stl_bvector.h: Move to...
4652 * include/bits/stl_vector.h: ...here.
4653 * include/ext/bvector: Move to...
4654 * include/backward/bvector.h: ...here.
4655 * include/bits/std_vector.h: Change stl_bvector include.
4656 * include/bits/std_queue.h: Remove bvector include.
4657 * include/ext/tree: Insert using rb_tree, move to...
4658 * include/backward/tree.h: ...here.
4659 * include/backward/hash_map.h: Include ext/hash_map.
4660 * include/backward/hash_set.h: Include ext/hash_set.
4661 * include/backward/queue.h: New file.
4662 * include/backward/stack.h: Edit.
4663 * include/backward/algo.h: Same.
4664 * include/backward/algobase.h: Same.
4665 * include/backward/alloc.h: Same.
4666 * include/backward/function.h: Same.
4667 * include/backward/iomanip.h: Same.
4668 * include/backward/istream.h: Same.
4669 * include/backward/iterator.h: Same.
4670 * include/backward/list.h: Same.
4671 * include/backward/map.h: Same.
4672 * include/backward/multimap.h: Same.
4673 * include/backward/multiset.h: Same.
4674 * include/backward/ostream.h: Same.
4675 * include/backward/pair.h: Same
4676 * include/backward/rope.h: Same.
4677 * include/backward/set.h: Same.
4678 * include/backward/stream.h: Same.
4679 * include/backward/strstream.h: Same.
4680 * include/backward/tempbuf.h: Same.
4681 * src/Makefile.am (ext_headers): Edit.
4682 * src/Makefile.in: Regenerate.
4683 * testsuite/ext/headers.cc (main): Fix.
4686 2001-03-30 Phil Edwards <pme@sources.redhat.com>
4688 * tests_flags.in (LIBS): Pass correct path for installed testing.
4690 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
4692 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
4693 * tests_flags.in (CXX): Construct here.
4694 (static_fail): Don't remove compile.out. Format with spaces.
4695 (INCLUDES): Deal with xcompiling.
4696 * configure.in (xcompiling): Substitute.
4697 * testsuite/Makefile.am: Snake libjava configury.
4698 * testsuite/Makefile.in: Regenerate.
4699 * testsuite/23_containers/map_operators.cc: Tweaks.
4700 * testsuite/23_containers/set_operators.cc: Tweaks.
4702 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4704 Enable dejagnu testing framework.
4705 * configure.in: Generate testsuite/Makefile.
4706 * configure: Regenerate.
4707 * Makefile.am (check-install): Change rule from this...
4708 (check-script-install): ...to this.
4709 (check): Change rule from this...
4710 (check-script):...to this.
4711 * Makefile.in: Regenerate.
4713 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
4715 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
4717 (LIBTOOL): Let automake take care of its definition.
4718 * libsupc++/Makefile.in: Rebuilt.
4720 2001-03-28 Richard Henderson <rth@redhat.com>
4722 IA-64 ABI Exception Handling:
4723 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
4724 * configure.in: Use it.
4725 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
4726 * libsupc++/Makefile.am (sources): Update files list.
4727 * libsupc++/Makefile.in: Regenerate.
4728 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
4729 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
4730 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
4731 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
4732 * libsupc++/exception_support.cc: Remove.
4733 * libsupc++/exception_support.h: Remove.
4734 * libsupc++/pure.cc: Use std::terminate.
4735 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
4736 (__is_pointer): Remove.
4737 * libsupc++/unwind-cxx.h: New file.
4738 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
4740 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
4742 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
4744 * src/Makefile.am (CXXLINK): Likewise.
4745 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
4747 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
4749 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
4751 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4753 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
4756 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
4758 * include/bits/basic_file.h (get_fileno): Remove.
4759 (_M_fileno): Remove.
4760 (_M_cfile_created): Add.
4761 (basic_file::basic_file(__c_file_type*, openmode): Add.
4762 (basic_file::basic_file(int, const char*, openmode): Remove.
4763 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
4764 const char*, ios_base::openmode): Don't allocate
4765 internal buffers. Turn off internal buffers.
4766 (basic_filebuf::overflow): Remove test for null buffer.
4767 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
4768 * include/bits/streambuf.cc: Tweak.
4769 * include/bits/std_ostream.h: Tweak.
4770 * config/basic_file_libio.h: Same.
4771 * config/basic_file_stdio.h: Same.
4772 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
4773 * testsuite/27_io/filebuf_members.cc: Tweaks.
4774 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
4776 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4778 * Makefile.am: New targets, doxygen and doxygen-maint.
4779 * Makefile.in: Regenerated.
4780 * docs/doxygen/run_doxygen: Finally implemented.
4781 * docs/doxygen/maint.cfg.in: New file.
4782 * docs/doxygen/user.cfg.in: New file.
4784 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4786 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
4787 * src/Makefile.am: Replace leading spaces with tabs on continuation
4789 * aclocal.m4: Regenerated.
4791 * Makefile.in: Ditto.
4792 * src/Makefile.in: Ditto.
4793 * libio/Makefile.in: Ditto.
4794 * libmath/Makefile.in: Ditto.
4795 * libsupc++/Makefile.in: Ditto.
4797 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4799 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
4800 concept-checking code and current status of same.
4801 * docs/html/ext/howto.html: Ditto.
4802 * docs/html/faq/index.html: Ditto.
4803 * docs/html/faq/index.txt: Regenerated.
4805 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4807 * include/bits/std_bitset.h: Include ostream and istream headers
4808 instead of iostream.
4810 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
4812 * include/bits/ostream.tcc: Use __builtin_alloca.
4814 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
4816 * src/misc-inst.cc (__sink_unused_warning): Move to...
4817 * src/locale-inst.cc (__sink_unused_warning): Move to...
4818 * src/stl-inst.cc: Here.
4819 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
4822 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
4824 * intclude/bits/basic_file.h: Fix typos in comments.
4826 2001-03-20 Richard Henderson <rth@redhat.com>
4828 * src/gen-num-limits.cc: Instantiate for wchar_t.
4829 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
4831 2001-03-20 Jason Merrill <jason@redhat.com>
4833 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
4834 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
4835 * libsupc++/cxxabi.h: Declare it.
4837 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
4839 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
4840 signal_func with an unspecified argument list.
4842 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
4844 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
4846 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4848 * include/bits/basic_string.tcc (operator+): Fix thinko.
4850 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
4853 * include/bits/std_streambuf.h: Remove cached locale facets.
4854 (basic_streambuf::_M_buf_fctype): Remove.
4855 (basic_streambuf::~basic_streambuf): Remove here.
4856 (basic_streambuf::basic_streambuf): Same.
4857 (basic_streambuf::imbue): Same.
4858 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
4859 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
4860 (basic_filebuf::~basic_filebuf()): Remove here.
4861 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
4862 (basic_filebuf::imbue): Same.
4863 * include/bits/localefwd.h (_Count_ones): Remove.
4864 (locale::_S_num_categories): Just use 6, since this doesn't
4865 actually change, ever.
4866 * include/bits/locale_facets.tcc (has_facet): Simplify.
4868 * testsuite/27_io/filebuf.cc (test06): Add tests.
4870 2001-03-13 Steve Ellcey <sje@cup.hp.com>
4872 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
4873 match HP-UX ctype.h header file.
4875 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
4877 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
4878 duplicate definitions of __dj_ctype_*
4880 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
4882 * libsupc++/new: Remove pragma interface.
4883 * libsupc++/typeinfo: Same.
4884 * libsupc++/exception: Same.
4885 * libsupc++/new_handler.cc: Remove pragma implementation.
4886 (bad_alloc::~bad_alloc()): Add.
4887 * libsupc++/exception_support.cc: Same.
4888 (exception::~exception): Add.
4889 (bad_exception::~bad_exception): Add.
4890 * libsupc++/tinfo.cc: Same.
4891 (bad_cast::~bad_cast): Add.
4892 (bad_typeid::~bad_typeid): Add.
4894 2001-03-13 Phil Edwards <pme@sources.redhat.com>
4896 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
4898 2001-03-12 Felix Lee <flee@redhat.com>
4900 * mkcheck.in: workaround for bash 2.01 IFS bug.
4902 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
4904 Fixups for -fno-for-scope
4905 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
4906 * src/valarray-inst.cc (__gslice_to_index): Same.
4908 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
4910 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
4911 prior to trapping signal (UnixWare 7 workaround).
4913 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
4915 * include/backward/hashtable.h: Same.
4916 * include/backward/rope.h: Fix include.
4918 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
4920 * include/backward/vector.h: Include std_vector.h.
4922 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
4923 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4926 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4928 * include/ext/stl_hashtable.h: Change type of __n to size_t
4929 * include/backward/bvector.h: Include <ext/stl_bvector.h>
4931 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4933 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
4934 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4935 Use streamsize, not int_type.
4937 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
4939 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
4942 2001-03-08 Andreas Schwab <schwab@suse.de>
4944 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
4946 * aclocal.m4, configure: Regenerated.
4948 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
4950 * include/bits/std_iosfwd.h: Remove string forward decls here.
4951 * include/bits/stringfwd.h: Add forward decls for char_traits
4953 * config/c_io_libio.h (wstreamoff): Delete.
4954 * config/c_io_stdio.h (wstreamoff): Same.
4955 * include/bits/char_traits.h: Use streamoff not wstreamoff for
4956 char_traits<wchar_t>::off_type.
4957 Remove duplicate typedefs.
4958 * include/bits/fpos.h: Define streampos/wstreampos here.
4959 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
4962 Changeup output files.
4963 * testsuite/27_io/istream_unformatted.cc: Change output files.
4964 * testsuite/27_io/istream_seeks-1.txt: Add.
4965 * testsuite/27_io/istream_seeks-2.tst: Add.
4966 * testsuite/27_io/istream_seeks-1.tst: Add.
4967 * testsuite/27_io/istream_unformatted-2.tst: Delete.
4968 * testsuite/27_io/istream_unformatted-3.tst: Delete.
4969 * testsuite/27_io/istream_unformatted-3.txt: Delete.
4971 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
4973 Add Irix 5.2, 6.3 support.
4974 * config/os/irix/bits: Renamed to...
4975 * config/os/irix/irix6.5/bits: this.
4976 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
4977 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
4978 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
4979 * config/os/irix/irix5.2/bits/ctype_noninline.h
4980 (ctype<char>::ctype): Initialize _M_table with __ctype.
4981 * configure.target: Adjust.
4983 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
4986 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
4987 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
4989 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
4990 (*__pf)(__ios_type&)): Same.
4991 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
4992 (*__pf)(ios_base&))): Same.
4993 * testsuite/27_io/istream_extractor_other.cc: Add tests.
4994 * testsuite/27_io/istream_manip.cc (test01): Fix.
4996 2001-03-06 Nathan Myers <ncm@cantrip.org>
4997 Benjamin Kosnik <bkoz@redhat.com>
4999 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
5000 * testsuite/17_intro/header_cerrno.cc (test01): New file.
5001 * testsuite/17_intro/header_cassert.cc (test01): New file.
5002 * testsuite/17_intro/header_cstddef.cc (test01): New file.
5003 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
5004 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
5006 2001-03-05 scott snyder <snyder@fnal.gov>
5009 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
5011 * include/c_std/bits/std_cstdlib.h: ... to here.
5012 * testsuite/17_intro/header_cstdlib.cc: Add test.
5014 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
5016 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
5018 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
5020 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
5021 definition. Replace enum with static const variables.
5023 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
5024 throw specification, fix typos, use <static_cast>.
5025 (ctype<char>::scan_is): remove throw specification.
5026 (ctype<char>::scan_not): likewise.
5028 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
5029 (ctype<char>::do_toupper(char)): use <static_cast>.
5030 (ctype<char>::do_toupper(char *, const char *)): likewise.
5031 (ctype<char>::do_tolower(char)): likewise.
5032 (ctype<char>::do_tolower(char *, const char *)): likewise.
5034 2001-03-04 Phil Edwards <pme@sources.redhat.com>
5036 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
5037 * include/backward/algo.h: Use std not __STD. Remove unneeded
5038 macros and "never happens" code. Adjust to C++STYLE guidelines.
5039 * include/backward/algobase.h: Likewise.
5040 * include/backward/alloc.h: Likewise.
5041 * include/backward/bvector.h: Likewise.
5042 * include/backward/deque.h: Likewise.
5043 * include/backward/function.h: Likewise.
5044 * include/backward/hash_map.h: Likewise.
5045 * include/backward/hash_set.h: Likewise.
5046 * include/backward/hashtable.h: Likewise.
5047 * include/backward/heap.h: Likewise.
5048 * include/backward/iterator.h: Likewise.
5049 * include/backward/list.h: Likewise.
5050 * include/backward/map.h: Likewise.
5051 * include/backward/multimap.h: Likewise.
5052 * include/backward/multiset.h: Likewise.
5053 * include/backward/pair.h: Likewise.
5054 * include/backward/rope.h: Likewise.
5055 * include/backward/set.h: Likewise.
5056 * include/backward/slist.h: Likewise.
5057 * include/backward/stack.h: Likewise.
5058 * include/backward/strstream: Likewise.
5059 * include/backward/tempbuf.h: Likewise.
5060 * include/backward/tree.h: Likewise.
5061 * include/backward/vector.h: Likewise.
5062 * include/bits/basic_ios.h: Likewise.
5063 * include/bits/basic_ios.tcc: Likewise.
5064 * include/bits/basic_string.h: Likewise.
5065 * include/bits/c++config: Likewise.
5066 * include/bits/concept_checks.h: Likewise.
5067 * include/bits/fpos.h: Likewise.
5068 * include/bits/fstream.tcc: Likewise.
5069 * include/bits/functexcept.h: Likewise.
5070 * include/bits/ios_base.h: Likewise.
5071 * include/bits/istream.tcc: Likewise.
5072 * include/bits/mask_array.h: Likewise.
5073 * include/bits/ostream.tcc: Likewise.
5074 * include/bits/pthread_allocimpl.h: Likewise.
5075 * include/bits/sbuf_iter.h: Likewise.
5076 * include/bits/slice.h: Likewise.
5077 * include/bits/slice_array.h: Likewise.
5078 * include/bits/sstream.tcc: Likewise.
5079 * include/bits/std_bitset.h: Likewise.
5080 * include/bits/std_fstream.h: Likewise.
5081 * include/bits/std_iomanip.h: Likewise.
5082 * include/bits/std_ios.h: Likewise.
5083 * include/bits/std_istream.h: Likewise.
5084 * include/bits/std_iterator.h: Likewise.
5085 * include/bits/std_memory.h: Likewise.
5086 * include/bits/std_ostream.h: Likewise.
5087 * include/bits/std_sstream.h: Likewise.
5088 * include/bits/std_streambuf.h: Likewise.
5089 * include/bits/std_string.h: Likewise.
5090 * include/bits/std_valarray.h: Likewise.
5091 * include/bits/stl_algo.h: Likewise.
5092 * include/bits/stl_algobase.h: Likewise.
5093 * include/bits/stl_alloc.h: Likewise.
5094 * include/bits/stl_construct.h: Likewise.
5095 * include/bits/stl_deque.h: Likewise.
5096 * include/bits/stl_function.h: Likewise.
5097 * include/bits/stl_heap.h: Likewise.
5098 * include/bits/stl_iterator.h: Likewise.
5099 * include/bits/stl_iterator_base.h: Likewise.
5100 * include/bits/stl_list.h: Likewise.
5101 * include/bits/stl_map.h: Likewise.
5102 * include/bits/stl_multimap.h: Likewise.
5103 * include/bits/stl_multiset.h: Likewise.
5104 * include/bits/stl_numeric.h: Likewise.
5105 * include/bits/stl_pair.h: Likewise.
5106 * include/bits/stl_pthread_alloc.h: Likewise.
5107 * include/bits/stl_queue.h: Likewise.
5108 * include/bits/stl_raw_storage_iter.h: Likewise.
5109 * include/bits/stl_relops.h: Likewise.
5110 * include/bits/stl_set.h: Likewise.
5111 * include/bits/stl_stack.h: Likewise.
5112 * include/bits/stl_tempbuf.h: Likewise.
5113 * include/bits/stl_threads.h: Likewise.
5114 * include/bits/stl_tree.h: Likewise.
5115 * include/bits/stl_uninitialized.h: Likewise.
5116 * include/bits/stl_vector.h: Likewise.
5117 * include/bits/streambuf.tcc: Likewise.
5118 * include/bits/type_traits.h: Likewise.
5119 * include/bits/valarray_meta.h: Likewise.
5120 * include/ext/bvector: Likewise.
5121 * include/ext/hash_map: Likewise.
5122 * include/ext/hash_set: Likewise.
5123 * include/ext/ropeimpl.h: Likewise.
5124 * include/ext/slist: Likewise.
5125 * include/ext/stl_bvector.h: Likewise.
5126 * include/ext/stl_hash_fun.h: Likewise.
5127 * include/ext/stl_hashtable.h: Likewise.
5128 * include/ext/stl_rope.h: Likewise.
5129 * src/complex_io.cc: Likewise.
5130 * src/ios.cc: Likewise.
5131 * src/locale-inst.cc: Likewise.
5132 * src/locale.cc: Likewise.
5133 * src/localename.cc: Likewise.
5134 * src/misc-inst.cc: Likewise.
5135 * src/stdexcept.cc: Likewise.
5136 * src/stl-inst.cc: Likewise.
5137 * src/strstream.cc: Likewise.
5138 * src/valarray-inst.cc: Likewise.
5140 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
5142 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
5144 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5146 * include/bits/istream.tcc: change type of __extracted to __size_type
5148 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
5150 * src/wstring-inst.cc: New file.
5151 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
5152 (libinst_wstring_la_SOURCES): Remove.
5153 (libstdc___la_LIBADD): Remove libinst_wstring_la.
5154 (sources): Add wstring-inst.cc
5155 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
5158 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5160 * src/locale.cc: initialise __ret with zero
5161 * src/strstream.cc:cast gptr to int_type
5163 2001-03-01 Phil Edwards <pme@sources.redhat.com>
5165 * docs/html/faq/index.html: Update broken links.
5166 * docs/html/faq/index.txt: Regenerated.
5168 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
5171 * configure.target: Change irix* to irix6.5* in target_os table.
5173 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
5176 * include/bits/c++config (__GLIBCPP__): Bump number in
5177 anticipation of 2.92.
5179 * include/bits/codecvt.h: Fix typo.
5180 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
5182 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
5183 instantiations for stdio model.
5185 2001-02-28 Phil Edwards <pme@sources.redhat.com>
5187 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
5188 and GLIBCPP_CXXFLAGS as unused variables.
5189 * configure.host: Likewise.
5190 * configure.target: Likewise.
5191 * aclocal.m4: Regenerated.
5192 * configure: Regenerated.
5193 * Makefile.in: Regenerated.
5194 * libio/Makefile.in: Regenerated.
5195 * libmath/Makefile.in: Regenerated.
5196 * libsupc++/Makefile.in: Regenerated.
5197 * src/Makefile.in: Regenerated.
5199 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5202 * include/bits/basic_file.h: Include basic_file_model.h.
5203 * config/c_io_libio.cc: Move to...
5204 * config/basic_file_libio.cc: Here.
5205 * config/basic_file_libio.h: New file.
5206 * config/c_io_stdio.cc: Move to...
5207 * config/basic_file_stdio.cc: Here.
5208 * config/basic_file_stdio.h: New file.
5209 * config/c_io_libio.h: Tweak.
5210 * config/c_io_stdio.h: Tweak.
5211 * src/Makefile.am (build_headers): Add basic_file_model.h.
5212 (sources): Add basic_file.cc, remove c++io.cc.
5213 * src/Makefile.in: Regenerate.
5214 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
5215 basic_file_model.h and basic_file.cc.
5216 * aclocal.m4: Regenerate.
5217 * configure: Regenerate.
5218 * testsuite/27_io/filebuf.cc (test05): Add regression.
5220 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5223 * config/cpu/alpha/bits/atomicity.h: Change.
5224 * config/cpu/arm/bits/atomicit3y.h
5225 * config/cpu/generic/bits/atomicity.h
5226 * config/cpu/i386/bits/atomicity.h
5227 * config/cpu/i486/bits/atomicity.h
5228 * config/cpu/ia64/bits/atomicity.h
5229 * config/cpu/powerpc/bits/atomicity.h
5230 * config/cpu/sparc/sparc32/bits/atomicity.h
5231 * config/cpu/sparc/sparc64/bits/atomicity.h
5232 * config/os/aix/bits/atomicity.h
5233 * config/os/irix/bits/atomicity.h
5235 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5237 * include/bits/std_stdexcept.h (runtime_error): Make string
5239 (logic_error): Same.
5240 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
5243 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
5247 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
5248 string object, not reference.
5249 (runtime_error::runtime_error): Same.
5250 * testsuite/19_diagnostics/stdexceptions.cc: New file.
5252 2001-02-26 Phil Edwards <pme@sources.redhat.com>
5254 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
5255 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
5256 diagnostics. Remove WFMT_FLAGS.
5257 * configure.in: Replace WFMT_FLAGS with diagnostics options.
5258 * libsupc++/Makefile.am: Likewise.
5259 * src/Makefile.am: Likewise.
5260 * aclocal.m4: Regenerated.
5261 * configure: Regenerated.
5262 * Makefile.in: Regenerated.
5263 * libio/Makefile.in: Regenerated.
5264 * libmath/Makefile.in: Regenerated.
5265 * libsupc++/Makefile.in: Regenerated.
5266 * src/Makefile.in: Regenerated.
5268 2001-02-26 Phil Edwards <pme@sources.redhat.com>
5270 Fixes libstdc++/2079
5271 * include/backward/iomanip.h: Expose <ios> manipulators to global
5273 * include/backward/iostream.h: Also expose std::ws.
5275 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
5277 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
5279 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
5281 * include/bits/codecvt.h: Use __builtin_alloca.
5282 * include/bits/ostream.tcc: Same.
5283 * include/bits/fstream.tcc: Same.
5285 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
5287 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
5289 2001-02-23 David Edelsohn <dje@watson.ibm.com>
5291 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
5293 2001-02-23 Phil Edwards <pme@sources.redhat.com>
5296 * include/backward/iostream.h: Expose std::flush in old headers.
5298 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5300 * mknumeric_limits: Remove special-casing on target. Use gcc
5301 instead of g++ to build gen-num-limits.cc
5303 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
5305 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
5307 * include/bits/codecvt.h: Use alloca instead of __extension__ for
5309 * include/bits/ostream.tcc: Same.
5310 * include/bits/std_ostream.h: Same.
5311 * include/bits/fstream.tcc: Same.
5312 * include/bits/locale_facets.tcc: Add typename.
5313 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
5315 2001-02-21 Phil Edwards <pme@sources.redhat.com>
5317 * tests_flags.in: Remove -n flag from call to echo.
5319 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
5321 * config/c_locale_gnu.h: Add clocale include.
5323 2001-02-20 Phil Edwards <pme@sources.redhat.com>
5325 * include/bits/stl_config.h: Remove file.
5326 * src/Makefile.am (base_headers): Remove from list.
5327 * configure: Regenerate.
5328 * Makefile.in: Ditto.
5329 * libio/Makefile.in: Ditto.
5330 * libmath/Makefile.in: Ditto.
5331 * libsupc++/Makefile.in: Ditto.
5332 * src/Makefile.in: Ditto.
5334 * include/bits/c++config: Move relevant macros to here.
5335 * include/backward/alloc.h: Include c++config.h instead.
5336 * include/backward/function.h: Ditto.
5337 * include/backward/heap.h: Ditto.
5338 * include/backward/pair.h: Ditto.
5339 * include/bits/pthread_allocimpl.h: Ditto.
5340 * include/bits/std_functional.h: Ditto.
5341 * include/bits/std_iterator.h: Ditto.
5342 * include/bits/std_numeric.h: Ditto.
5343 * include/bits/std_utility.h: Ditto.
5344 * include/bits/stl_algobase.h: Ditto.
5345 * include/bits/type_traits.h: Ditto.
5346 * src/stl-inst.cc: Ditto.
5348 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5350 * include/bits/basic_file.h: Add #pragma system_header
5351 * include/bits/basic_ios.h: Ditto.
5352 * include/bits/basic_string.h: Ditto.
5353 * include/bits/char_traits.h: Ditto.
5354 * include/bits/codecvt.h: Ditto.
5355 * include/bits/cpp_type_traits.h: Ditto.
5356 * include/bits/fpos.h: Ditto.
5357 * include/bits/gslice.h: Ditto.
5358 * include/bits/gslice_array.h: Ditto.
5359 * include/bits/indirect_array.h: Ditto.
5360 * include/bits/ios_base.h: Ditto.
5361 * include/bits/limits_generic.h: Ditto.
5362 * include/bits/locale_facets.h: Ditto.
5363 * include/bits/localefwd.h: Ditto.
5364 * include/bits/mask_array.h: Ditto.
5365 * include/bits/sbuf_iter.h: Ditto.
5366 * include/bits/sequence_concepts.h: Ditto.
5367 * include/bits/slice.h: Ditto.
5368 * include/bits/slice_array.h: Ditto.
5369 * include/bits/std_algorithm.h: Likewise.
5370 * include/bits/std_bitset.h: Likewise.
5371 * include/bits/std_complex.h: Likewise.
5372 * include/bits/std_deque.h: Likewise.
5373 * include/bits/std_fstream.h: Likewise.
5374 * include/bits/std_functional.h: Likewise.
5375 * include/bits/std_iomanip.h: Likewise.
5376 * include/bits/std_ios.h: Likewise.
5377 * include/bits/std_iosfwd.h: Likewise.
5378 * include/bits/std_iostream.h: Likewise.
5379 * include/bits/std_istream.h: Likewise.
5380 * include/bits/std_iterator.h: Likewise.
5381 * include/bits/std_list.h: Likewise.
5382 * include/bits/std_locale.h: Likewise.
5383 * include/bits/std_map.h: Likewise.
5384 * include/bits/std_memory.h: Likewise.
5385 * include/bits/std_numeric.h: Likewise.
5386 * include/bits/std_ostream.h: Likewise.
5387 * include/bits/std_queue.h: Likewise.
5388 * include/bits/std_set.h: Likewise.
5389 * include/bits/std_sstream.h: Likewise.
5390 * include/bits/std_stack.h: Likewise.
5391 * include/bits/std_stdexcept.h: Likewise.
5392 * include/bits/std_streambuf.h: Likewise.
5393 * include/bits/std_string.h: Likewise.
5394 * include/bits/std_utility.h: Likewise.
5395 * include/bits/std_valarray.h: Likewise.
5396 * include/bits/std_vector.h: Likewise.
5397 * include/bits/stringfwd.h: Likewise.
5398 * include/bits/type_traits.h: Likewise.
5399 * include/bits/valarray_array.h: Likewise.
5400 * include/bits/valarray_meta.h: Likewise.
5402 2001-02-19 Andreas Jaeger <aj@suse.de>
5404 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
5407 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
5410 * include/bits/std_ostream.h: Replaced usage of
5411 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
5412 * include/bits/char_traits.h: Removed non-standard
5413 methods that cannot be used elsewhere.
5416 * include/bits/basic_ios.h: Uncommented #include of
5420 * include/bits/codecvt.h: See next...
5421 * include/bits/fstream.tcc: See next...
5422 * include/bits/ostream.tcc: Add __extension__
5423 to variable-length arrays.
5426 * include/bits/localefwd.h: Changed int counter type to size_t.
5429 * include/bits/std_fstream.h: Added typedef for __ctype_type.
5431 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
5433 * testsuite/21_strings/char_traits.cc: Move to ...
5434 * testsuite/21_strings/char_traits_requirements.cc: ..here.
5435 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
5436 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
5438 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
5440 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
5443 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5445 * include/bits/c++config: Revert.
5447 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5449 * include/bits/istream.tcc: Use ios_base::iostate in place of
5450 iostate throughout. Insert `typename' keyword where necessary.
5451 * include/bits/ostream.tcc: Insert `typename' keyword where
5454 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
5456 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
5457 Define so library is compliant.
5459 2001-02-15 Anthony Green <green@redhat.com>
5461 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
5463 * aclocal.m4: Regenerate.
5464 * configure: Regenerate.
5466 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
5468 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
5469 Include ieeefp.h for fpclass on UnixWare{2,7}.
5470 * aclocal.m4: Regenerate.
5471 * configure: Regenerate.
5472 * mkcheck.in (size_command): Do without GNU-grep when using
5475 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5477 Remove old ABI support from libsupc++.
5478 * libsupc++/cxxabi.h: Remove conditionally compiled code.
5479 * libsupc++/exception_support.cc: Likewise.
5480 * libsupc++/pure.cc: Likewise.
5481 * libsupc++/tinfo.cc: Likewise.
5482 * libsupc++/tinfo.h: Likewise.
5483 * libsupc++/tinfo2.cc: Likewise.
5484 * libsupc++/typeinfo: Likewise.
5485 * libsupc++/vec.cc: Likewise.
5487 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5489 Add support for -fno-exceptions.
5490 * include/bits/exception_support.h: Remove.
5491 * include/bits/basic_string.h: Remove exception_support.
5492 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
5494 (string::substr): Same.
5495 * include/bits/basic_string.tcc (string::reserve): Replace
5496 __LENGTHERROR with __throw_length_error.
5497 (string::_S_create): Same.
5498 (string::resize): Same.
5499 (string::_M_replace): Same.
5500 (string::replace): Same.
5501 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
5502 (string::compare): Same.
5503 * include/bits/stl_vector.h: Remove exception_support.
5504 * src/Makefile.am (base_headers): Remove here.
5505 * src/Makefile.in: Regenerate.
5507 * include/bits/stl_range_errors.h: Remove.
5508 * include/bits/stl_deque.h: Use __throw_range_error.
5509 * include/bits/std_deque.h: Include functexcept.h.
5510 * include/bits/std_vector.h: Same.
5511 * src/Makefile.am (base_headers): Remove here.
5512 * src/Makefile.in: Regenerate.
5513 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
5514 * include/ext/bvector: Remove stl_range_errors.h
5516 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
5518 * include/bits/functexcept.h: New file.
5519 * src/functexcept.cc: New file. Definitions for function-based
5521 * src/Makefile.am (sources): Add functexcept.cc.
5522 * src/Makefile.in: Regenerate.
5524 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
5527 * include/bits/localefwd.h: Include functexcept.h.
5528 * include/bits/std_iosfwd.h: Same.
5530 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
5531 throw basic_ios::failure.
5532 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
5533 Use __throw_exception_again.
5534 (filebuf::_M_filebuf_init): Same.
5535 * include/bits/streambuf.tcc (__copy_streambufs): Same.
5536 * include/bits/ostream.tcc (ostream::operator<<): Same.
5537 * include/bits/istream.tcc (istream::operator>>): Same.
5538 * include/bits/basic_string.tcc (string::_M_mutate): Same.
5539 (string::_S_construct): Same.
5540 (string::_M_clone): Same.
5541 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
5543 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
5544 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
5545 __throw_exception_again.
5546 (locale::_Imp::_Imp(string, size_t): Same.
5547 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
5548 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
5549 (locale::locale(const char*)): Use __throw_runtime_error.
5550 (locale::classic): Use __throw_exception_again.
5551 (locale::_S_normalize_category): Use __throw_runtime_error.
5553 * src/stdexcept.cc: Remove cruft.
5555 * libsupc++/exception_defines.h: New file.
5556 * libsupc++/new_opnt.cc: Include exception_defines.h.
5557 * libsupc++/vec.cc: Same.
5558 (__cxa_vec_new2): Use __throw_exception_again.
5559 (__cxa_vec_new3): Same.
5560 (__cxa_vec_ctor): Same.
5561 (__cxa_vec_delete3): Same.
5562 (__cxa_vec_cctor): Same.
5563 (__cxa_vec_delete2): Same.
5564 (__cxa_vec_dtor): Same.
5565 * libsupc++/exception_support.cc: Include exception_defines.h. Only
5566 compile exception-handling bits if __EXCEPTIONS is defined.
5567 Remove old ABI support.
5568 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
5569 std::__throw_bad_alloc() instead of throw bad_alloc.
5570 * libsupc++/Makefile.am: Add exception_defines.h.
5571 * libsupc++/Makefile.in: Reformat.
5572 * libsupc++/*: Format.
5574 2001-02-15 Phil Edwards <pme@sources.redhat.com>
5576 * docs/html/configopts.html: Minor updates and typo fixes.
5577 * docs/html/faq/index.html: Updates of the "not really bugs" list.
5578 * docs/html/faq/index.txt: Regenerated.
5580 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
5582 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
5583 dejagnu/dg.exp. Adapt to log options used to run testcases.
5585 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5587 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
5590 2001-02-13 Dirk Mueller <dmuell@gmx.net>
5591 Phil Edwards <pme@sources.redhat.com>
5593 * include/backward/function.h: Do not use rel_ops for older
5595 * include/backward/pair.h: Likewise.
5597 2001-02-12 Mark Mitchell <mark@codesourcery.com>
5599 * src/locale.cc: Remove bogus locale::id definitions.
5601 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5603 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
5604 not _DEFINE_VALARRAY_OPERATOR which is not existent.
5606 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
5607 thinko in member initialisation.
5609 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5611 * include/bits/std_valarray.h(valarray<>::shift): Avoid
5612 comparaison between signed and unsigned integer types.
5613 (valarray<>::cshift): Reformat.
5615 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
5617 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
5618 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
5619 * configure.in: Test for sigsetjmp.
5620 * configure, config.h.in: Rebuilt.
5622 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5624 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
5625 lengths and strides.
5626 (__gslice_to_index): Document.
5628 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5630 * include/bits/char_traits.h char_traits<char>::int_type: Change
5631 to `int' to match 21.1.3.1/2.
5633 * testsuite/21_strings/char_traits-int_type.C: New test.
5635 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
5637 * testsuite/Makefile.am: New file.
5639 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
5641 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
5643 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
5645 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
5647 2001-02-08 David Edelsohn <edelsohn@gnu.org>
5649 * configure.target (aix4*): Remove extra set of brackets.
5651 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
5654 * include/bits/stringfwd.h: New file.
5655 * include/bits/stl_string_fwd.h: Remove.
5656 * include/bits/localefwd.h: Remove declaration for allocator.
5657 * include/bits/std_iosfwd: Same.
5658 * include/bits/std_string.h: Include it.
5659 * include/bits/std_ios.h: Remove include.
5660 * include/bits/basic_string.h: Tweak.
5661 * libsupc++/new: Format.
5662 * src/Makefile.am (base_headers): Add stringfwd.h, remove
5664 * src/Makefile.in: Regenerate.
5665 * include/bits/std_stdexcept.h: Rewrite.
5666 * src/stdexcept.cc: Same.
5668 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
5670 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
5671 install locations too.
5672 * aclocal.m4: Regenerate.
5673 * configure.in: Remove USE_LIBDIR.
5674 * configure: Regenerate.
5675 * src/Makefile.am (toolexecdir): Simplify, use
5676 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
5677 * src/Makefile.in: Regenerate.
5678 * libsupc++/Makefile.am: Same.
5679 * libsupc++/Makefile.in: Regenerate.
5681 * src/Makefile.am: Just remove special rules for locale-inst.cc and
5682 misc-inst.cc as no longer necessary.
5684 Follow C++STYLE for naming non-static functions.
5685 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
5687 * include/bits/streambuf.tcc: Same.
5688 * include/bits/ostream.tcc: Same.
5689 * include/bits/istream.tcc: Same.
5690 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
5691 (_S_output_float): To __output_float.
5692 * include/bits/std_streambuf.h (_S_copy_streambufs): To
5694 * include/bits/locale_facets.tcc (_S_build_float_format): To
5695 __build_float_format.
5696 (_S_format): To __output_integer.
5697 (_S_fill): To __pad.
5698 * src/locale.cc: Same.
5699 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
5701 * include/bits/locale_facets.tcc (_S_group_digits): To
5703 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
5704 for collate, numpunct.
5706 2001-02-06 Phil Edwards <pme@sources.redhat.com>
5708 * docs/html/configopts.html: Fix HTML markup.
5709 * docs/html/install.html: Bring up to date.
5710 * docs/html/17_intro/C++STYLE: Add global variable conventions.
5711 * docs/html/21_strings/howto.html: More notes.
5712 * docs/html/22_locale/howto.html: Fix HTML markup.
5713 * docs/html/27_io/howto.html: More notes.
5714 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
5715 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
5717 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
5719 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
5720 to match header files.
5721 (_S_output_float): Likewise.
5722 (_S_copy_streambufs): Likewise.
5724 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
5725 Phil Edwards <pme@sources.redhat.com>
5727 * include/bits/std_istream.h (op>> signed,unsigned char): Must
5728 use reinterpret_cast, not static_cast.
5730 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
5732 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
5733 * aclocal.m4: Regenerate.
5734 * configure: Regenerate.
5736 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5738 * include/bits/locale_facets.h (class moneypunct): Fix typos.
5739 * libsupc++/pure.cc: Revert.
5741 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5743 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
5744 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
5745 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
5746 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
5747 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
5748 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
5749 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
5750 * aclocal.m4: Regenerate.
5751 * configure: Regenerate.
5753 2001-02-05 Mark Mitchell <mark@codesourcery.com>
5755 * include/bits/locale_facets.tcc: Remove `static' keyword on
5756 function definitions.
5757 * include/bits/std_streambuf.h: Likewise.
5758 * src/Makefile.am: Remove use of -fimplicit-templates.
5759 * src/Makefile.in: Regenerated.
5760 * src/locale-inst.cc: Explicitly instantiate more functions.
5761 * src/misc-inst.cc: Likewise.
5762 * src/string-inst.cc: Likewise.
5764 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5766 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
5767 macro. Consolidate all the bits to do with where includes might be
5769 * aclocal.m4: Regenerate.
5770 * configure.in: Use it.
5771 * configure: Regenerate.
5772 * src/Makefile.am (targetincludep): Use simplified rules.
5773 (targetincludep): Rename gxx_target_include_dir.
5774 (myincludep): Rename gxx_include_dir.
5775 * src/Makefile.in: Regenerate.
5776 * libsupc++/Makefile.am: Use simplified rules.
5777 * libsupc++/Makefile.in: Regenerate.
5779 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5781 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
5782 * include/c_std/bits/std_cctype.h: Same.
5783 * include/c_std/bits/std_cassert.h: Same.
5784 * include/c_std/bits/std_cstdarg.h: Same.
5785 * include/c_std/bits/std_cstddef.h: Same.
5787 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
5789 * include/c_std/bits/std_ctime.h: Same.
5790 * include/c_std/bits/std_clocale.h: Same.
5791 * include/c_std/bits/std_cmath.h: Same.
5792 * include/c_std/bits/std_csetjmp.h: Same.
5793 * include/c_std/bits/std_csignal.h: Same.
5794 * include/c_std/bits/std_cstring.h: Same.
5795 * include/c_std/bits/std_cstdlib.h: Same.
5796 * include/c_std/bits/std_cwchar.h: Same.
5798 2001-02-05 Phil Edwards <pme@sources.redhat.com>
5800 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
5802 2001-02-05 Mark Mitchell <mark@codesourcery.com>
5804 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
5805 (string::_S_construct): Likewise.
5807 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
5809 * testsuite/config/default.exp: New file.
5810 * testsuite/config: New directory.
5812 2001-02-04 Mark Mitchell <mark@codesourcery.com>
5814 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
5815 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
5816 whenever !__GXX_MERGED_TYPEINFO_NAMES.
5817 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
5819 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
5820 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5822 * Makefile.am (mkinstalldirs): Set.
5823 * src/Makefile.am (mkinstalldirs): Set.
5824 * libmath/Makefile.am (mkinstalldirs): Set.
5825 * libsup++/Makefile.am (mkinstalldirs): Set.
5826 * libio/Makefile.am (mkinstalldirs): Set.
5827 * */Makefile.in: Regenerate.
5829 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
5831 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
5832 * include/bits/localefwd.h: More initialization cleanups.
5834 2001-02-03 Jeffrey A Law <law@cygnus.com>
5836 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
5837 correctly targets with 16bit ints.
5838 (_S_ios_openmode_end): Similarly.
5839 (_S_ios_iostate_end): Similarly.
5840 (_S_ios_Seekdir_end): Similarly.
5842 2001-02-02 Phil Edwards <pme@sources.redhat.com>
5844 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
5846 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
5848 * configure.in (toplevel_srcdir, auxdir): Set.
5849 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
5850 * aclocal.m4, configure, Makefile.in: Rebuilt.
5851 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
5852 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
5853 * libsupc++-v3/Makefile.in: Rebuilt.
5854 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
5855 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
5857 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
5859 * config/c_locale_generic.cc: Remove langinfo include.
5861 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
5863 Preliminary named locales.
5864 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
5865 * aclocal.m4: Regenerate.
5866 * configure.in: Use it.
5867 * configure: Regerate.
5868 * src/Makefile.am (sources): Add c++locale.cc.
5869 (build_headers): Add c++locale.h.
5870 * src/Makefile.in: Regenerate.
5871 * config/c_locale_gnu.h: New file.
5872 * config/c_locale_gnu.cc: New file. Non-inline member functions
5873 for named locales, gnu-specific.
5874 * config/c_locale_generic.h: New file.
5875 * config/c_locale_generic.cc: New file. Non-inline member
5876 functions for named locales, generic version.
5877 * docs/html/configopts.html: Add documentation on new options.
5879 * include/bits/locale_facets.h (class _Messages): Remove.
5880 (class _Moneypunct): Remove.
5881 * src/locale-inst.cc: Remove.
5883 * include/bits/locale_facets.h (class _Collate): Remove.
5884 * src/locale-inst.cc (std): Remove.
5885 * src/locale.cc: And here.
5887 * include/bits/localefwd.h (locale::_M_coalesce): New
5888 function. Correctly put together multi-name locales.
5889 (_Impl(const _Impl&, category, size_t)): Remove.
5891 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
5893 (_M_normalize_category_names): Remove.
5894 (_M_replace_categories): Fix.
5896 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
5897 (locale::_Impl::_M_construct_ctype): Remove.
5898 (locale::_Impl::_M_construct_monetary): Remove.
5899 (locale::_Impl::_M_construct_numeric): Remove.
5900 (locale::_Impl::_M_construct_time): Remove.
5901 (locale::_Impl::_M_construct_messages): Remove.
5903 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
5904 (_Use_facet_failure_handle): Remove.
5905 * src/locale.cc: Remove definitions.
5906 * src/locale-inst.cc: And here.
5908 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
5910 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
5911 create and error-check underlying locale object.
5912 (locale::facet::_S_destroy_c_locale): Add, take care of properly
5913 tearing down underlying locale object.
5914 * include/bits/localefwd.h (locale::facet): Declare.
5915 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
5916 correctness, as glibc apparently has incorrect info in it. Test
5917 with it when it works again.....
5919 * include/bits/localefwd.h (locale::_Impl::__vec_string):
5920 Remove. Number of categories is fixed at six, so just simplify and
5921 make this an array of strings.
5922 (locale::_Impl::_M_has_name): Remove.
5923 (locale::_Impl::_M_name): Remove.
5924 (locale::_Impl::_M_category_names): Turns into...
5925 (locale::_Impl::_M_names): ...this.
5926 (locale::_Impl::_M_has_same_name()): New function.
5927 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
5928 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
5930 * src/locale.cc (locale::name()): Construct mangled name
5931 accurately reflecting combined locale categories.
5933 * src/locale.cc (locale::classic()): Don't initialize here.
5934 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
5935 __refs, bool __has_name, string __str): Do it here.
5937 * include/bits/localefwd.h: _S_categories_num to
5938 _S_num_categories. _S_facets_num to _S_num_facets.
5939 (locale::id::id()): Explicitly set _M_index to zero.
5940 * src/locale.cc: Same.
5942 * src/locale.cc: (locale::locale(const char*)): Construct named
5945 * src/locale.cc: Remove numpunct_byname ctors.
5946 * testsuite/22_locale/numpunct_byname.cc: New file.
5947 * testsuite/22_locale/numpunct.cc: New file.
5949 * include/bits/localefwd.h (class locale): Change data members to
5950 protected, from private.
5951 (_Impl::_M_get_c_locale): Add member function.
5952 (locale::facet::_M_get_global_impl()): Add member function.
5953 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
5954 a __c_locale pointer.
5955 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
5957 * testsuite/22_locale/members.cc: New file, test name and combine.
5959 * include/bits/locale_facets.h (class numpunct): Remove class
5960 _Punct and _Numpunct. Rewrite class numpunct to be correct for
5962 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
5963 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
5964 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
5965 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
5966 * testsuite/22_locale/numpunct_char_members.cc: New file.
5968 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
5970 * testsuite/README: Add more comment.
5971 * testsuite/lib/libstdc++.exp: Tweak comment.
5973 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
5975 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
5977 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
5979 * testsuite/21_strings/inserters_extractors.cc: Remove
5980 explicit reference to 'testsuite/'.
5982 2001-01-25 Richard Henderson <rth@redhat.com>
5984 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
5985 bits. Fixes Tru64 build issues.
5987 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5989 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
5990 (use ${MAKE-make}, not ${MAKE:-make}).
5991 * aclocal.m4, configure: Regenerate.
5993 2001-01-25 Mark Mitchell <mark@codesourcery.com>
5995 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
5998 * src/Makefile.am (sources): Add globals.cc.
5999 * src/Makefile.in: Regenerated.
6000 * src/globals.cc: New file.
6001 * src/ios.cc (cin): Don't define here, just declare extern.
6010 2001-01-25 Phil Edwards <pme@sources.redhat.com>
6012 * include/bits/std_iterator.h: Do not include stl_relops.h.
6013 * include/bits/std_numeric.h: Ditto.
6014 * include/bits/stl_algobase.h: Ditto.
6015 * include/bits/stl_relops.h: Add comment warning about problems.
6017 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
6019 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
6020 in testcases. Prepare for the DejaGnu based framework.
6021 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
6022 directory -- it is now mkcheck working directory.
6023 * tests_flags.in: Remove reference to $(top_srcdir). Use
6025 * Makefile.am (check, check-install): Change mkcheck invocation
6027 * Makefile.in: Regenerate.
6029 2001-01-24 Mark Mitchell <mark@codesourcery.com>
6031 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
6032 (__always_swap): Likewise.
6034 2001-01-23 Chris Demetriou <cgd@broadcom.com>
6036 * libsupc++/exception_support.cc (__terminate_func): Remove
6038 (__terminate_func_ptr): New typedef.
6039 (__terminate, __terminate_set_func): New extern function
6041 (std::terminate): Use __terminate function.
6042 (std::set_terminate): Use __terminate_set_func function.
6044 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
6046 * configure.target: Just use os_include_dir always.
6047 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
6048 Link atomicity files and ctype files here.
6049 * configure: Regenerate.
6050 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
6051 (GLIBCPP_ENABLE_ATOMICITY): Remove.
6052 * aclocal.m4: Regenerate.
6054 2001-01-23 Chris Demetriou <cgd@broadcom.com>
6056 * configure.in: Place definition of MULTISUBDIR in
6057 libsupc++/Makefile as is done for src/Makefile.
6058 * configure: Regenerate.
6060 2001-01-23 Phil Edwards <pme@sources.redhat.com>
6062 * acinclude.m4: Cosmetic changes only.
6063 * aclocal.m4: Regenerated.
6064 * configure: Regenerated.
6065 * configure.target: Update documented list of changed variables.
6066 * docs/html/install.html: Fix typo.
6067 * docs/html/20_util/howto.html: More notes on auto_ptr.
6068 * docs/html/27_io/howto.html: More notes on streabufs.
6069 * docs/html/faq/index.html: Add rel_ops problem and mention the
6070 DEC as(1) .subsection difficulty.
6071 * docs/html/faq/index.txt: Regenerated.
6073 2001-01-23 Mark Mitchell <mark@codesourcery.com>
6075 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
6076 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
6077 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
6078 its already provided in config.target.
6079 * aclocal.m4: Regenerated.
6080 * configure: Likewise.
6081 * configure.target: Set ctype_include_dir for lots of systems.
6082 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
6083 * libsupc++/Makefile.in: Regenerated.
6085 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
6087 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
6090 * testsuite/README: Add comment.
6092 2001-01-21 Phil Edwards <pme@sources.redhat.com>
6094 * docs/html/configopts.html: Update for current status. Fix HTML.
6095 * docs/html/install.html: Update for current status.
6097 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6099 * testsuite/libstdc++.tests/tests.exp: New file.
6100 * testsuite/lib/libstdc++.exp: Itou.
6101 * testsuite/README: Itou.
6103 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
6105 * tests_flags.in: Just output the bare minimum to run tests.
6106 Let's the caller do its own arrangement.
6108 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
6111 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
6113 * testsuite/17_intro: Prepare testcases for new style DejaGnu
6116 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
6118 * testsuite/libstdc++.tests, testsuite/lib: New directories.
6120 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
6122 * mkcheck.in: Construct file names that match $objdir structure.
6123 * testsuite/27_io/filebuf_members-1.txt: New file.
6124 * testsuite/27_io/ifstream_members-1.txt: New file.
6125 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
6127 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
6128 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
6130 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6132 * testsuite/27_io/istream_sentry.cc (test02): Fix.
6134 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
6137 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
6138 * src/ios.cc (ios_base::failure): Make definitions match.
6139 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
6140 (class bad_cast): Same.
6141 * libsupc++/exception (class exception): Add throw specs.
6142 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
6143 (set_unexpected): Same.
6144 (uncaught_exception): Same.
6147 * docs/html/17_intro/C++STYLE (classname): Fix.
6149 2001-01-16 Mark Mitchell <mark@codesourcery.com>
6151 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
6152 Use it do explicitly instantiate predicate<T> and value<T> for
6155 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
6157 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
6158 uninitialized thinko in last change.
6160 2001-01-16 Mark Mitchell <mark@codesourcery.com>
6162 * libsupc++/exception_support.cc (__cp_pop_exception): Change
6165 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
6167 * docs/html/17_intro/C++STYLE (classname): Add more existing
6168 and stylish patterns.
6171 * include/bits/istream.tcc (istream::sentry::sentry()): Set
6172 failbit if the state of the stream is not good.
6173 * testsuite/27_io/istream_sentry.cc (test02): Add test.
6174 * testsuite/27_io/istream_manip.cc (test01): Modify.
6177 reported by Paolo Carlini <pcarlini@unitus.it>
6178 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
6179 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
6182 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
6183 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
6184 (xsgetn): Same. Simplify.
6185 * testsuite/27_io/streambuf.cc (test04): Add testcases.
6187 reported by Larry Evans <jcampbell3@prodigy.net>
6188 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
6189 equality with eof on returned value from overflow.
6191 2001-01-14 Andreas Jaeger <aj@suse.de>
6193 * libio/libio.h: Add test for glibc 2.0.
6195 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
6197 * config/os/djgpp/bits/*: Fix dates.
6199 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
6200 _CharT* __end, _CharT __c): Remove.
6201 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
6202 * include/bits/char_traits.h: Tweak.
6204 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
6206 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
6207 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
6209 * aclocal.m4: regenerated.
6210 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
6211 * configure: regenerated.
6212 * config/os/djgpp, config/os/djgpp/bits: new directories.
6213 * config/os/djgpp/bits/ctype_base.h,
6214 config/os/djgpp/bits/ctype_inline.h,
6215 config/os/djgpp/bits/ctype_noninline.h,
6216 config/os/djgpp/bits/os_defines.h: new files.
6218 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
6220 * include/c_std/bits/std_cstdio.h: Undef printf.
6222 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
6224 * src/ios.cc: Fix typo: change cout->wcout.
6226 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
6227 * src/Makefile.in: Regenerate.
6229 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6231 * include/bits/std_complex.h: Fix a typo.
6233 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
6236 Fixes for libstdc++/1576
6237 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
6238 file, move contents into....
6239 * src/ios.cc: ...Here. Put defines for iostreams objects and
6240 initialization routines into one file to simplify DSO interaction.
6241 * include/bits/std_iostream.h: Touch.
6242 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
6243 * src/Makefile.am (sources): Remove stdstreams.cc.
6244 * src/Makefile.in: Regenerate.
6246 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6248 * tests_flags.in (check_directory): Fix typo.
6250 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6252 * include/bits/std_complex.h: Fix a typo.
6254 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
6256 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
6257 code path:) Remove magic constants and restructure to handle
6258 ctype.h bit mask layout changes more gracefully. (Make fast
6259 code path:) Use __maskrune (), if available.
6260 (is): Remove special case for digit and xdigit masks.
6262 2001-01-09 Robert Lipe <robertlipe@usa.net>
6264 * include/c_std/bits/std_ctime.h: Undefine difftime.
6266 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
6268 * src/gen-num-limits.cc (signal_adapter): New template function.
6269 (signal_handler): Use it, instead of signal.
6270 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
6271 require both tests to trap to set trap_flag.
6273 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
6275 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
6276 initialize mbstate_t member, name offset data members *off, not pos.
6277 * include/bits/fstream.tcc (filebuf::filebuf): Same.
6279 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
6281 reported by Chris G. Demetriou <cgd@sibyte.com>
6282 * configure.in: Change -linux-* to -linux*.
6283 * configure: Regenerate.
6285 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
6287 Fix 27_io/filebuf_members.cc
6288 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
6289 const string& __name, category __cat, size_t __refs): Set
6290 _M_has_name with _M_name.
6291 * include/bits/localefwd.h (locale::operator!=): Protect member
6292 function call with this->.
6293 * src/locale.cc (locale::operator==): Make fast checks first.
6294 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
6296 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
6298 * src/ios.cc (ios_base::Init::Init): Initialize here.
6299 (ios_base::sync_with_stdio): Set here.
6301 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
6303 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
6304 systems that support it, call dup() before fdopen().
6306 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
6308 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
6309 * testsuite/17_intro/header_cwctype.cc (main): New file.
6311 * src/Makefile.am (base_headers): Change.
6312 * include/bits/std_string.h: And here.
6313 * include/bits/string.tcc: Tweaks, move to...
6314 * include/bits/basic_string.tcc: ...Here.
6315 * src/string-inst.cc: Simplify, just instantiate the whole class,
6316 not member-by-member.
6318 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
6320 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
6321 * aclocal.m4: Regenerate.
6322 * configure: Regenerate.
6324 * include/bits/c++config (__GLIBCPP__): Bump version number.
6326 * ChangeLog: Start new log for year 2001
6327 * ChangeLog-2000: New file.
6329 * docs/html/configopts.html: Make sure default values are current,
6332 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
6334 * include/c_std/bits/std_cwchar.h: Same.
6335 * testsuite/17_intro/header_cwchar.cc: Same.
6336 * include/c_std/bits/std_ctime.h: Same.
6337 * testsuite/17_intro/header_ctime.cc: Same.
6338 * include/c_std/bits/std_cstdlib.h: Same.
6339 Clean up undefs, make consistent with cwchar and cmath, etc.
6340 * testsuite/17_intro/header_cstdlib.cc: Same.
6341 * include/c_std/bits/std_cstdio.h: Same here.
6342 * testsuite/17_intro/header_cstring.cc: Same.
6343 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
6344 * testsuite/17_intro/header_cstring.cc: New file. Check for
6345 size_t in namespace std.
6347 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
6348 * acconfig.h (HAVE_MBSTATE_T): Add.
6349 * config.h.in: Regenerate.
6350 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
6352 * aclocal.m4: Regenerate.
6353 * configure: Regenerate.
6354 * testsuite/17_intro/headers_c++.cc: New file.
6355 * testsuite/17_intro/headers_c.cc: Small changes.
6357 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
6359 * tests_flags.in: Fix typo in usage.
6361 * tests_flags.in: Set target specific LIBS for cygwin.