1 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
3 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS
4 testsuite/lib/prune.exp: Delete lines ":In function ..."
6 testsuite/23_containers/map_operators.cc: Remove
7 dg-excess-errors comment
8 testsuite/23_containers/set_operators.cc: Likewise
10 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
12 * include/bits/stl_function.h: Remove two lines of comments;
13 adjust copyright years.
15 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
17 * include/Makefile.am (std_headers): Remove cXXX from list.
18 (c_base_srcdir): No bits subdirectory.
19 (c_base_builddir): Same.
20 (c_base_headers): Adjust names, add ciso646.
21 (bits_headers): Remove std_xxx.h headers.
22 * include/Makefile.in: Regenerate.
24 * include/ext/iterator: Adjust includes.
25 * include/ext/ropeimpl.h: Same.
26 * include/ext/stl_hash_fun.h: Same.
27 * include/ext/algorithm: Same.
29 * include/backward/bvector.h: Adjust includes.
30 * include/backward/vector.h: Same.
31 * include/backward/strstream: Same.
32 * include/backward/streambuf.h: Same.
33 * include/backward/stack.h: Same.
34 * include/backward/set.h: Same.
35 * include/backward/queue.h: Same.
36 * include/backward/multiset.h: Same.
37 * include/backward/multimap.h: Same.
38 * include/backward/map.h: Same.
39 * include/backward/list.h: Same.
40 * include/backward/iterator.h: Same.
41 * include/backward/iostream.h: Same.
42 * include/backward/iomanip.h: Same.
43 * include/backward/fstream.h: Same.
44 * include/backward/deque.h: Same.
45 * include/backward/complex.h: Same.
47 * include/bits/std_algorithm.h: Move to...
48 * include/std/algorithm: ...here.
49 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
50 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
51 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
52 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
53 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
54 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
55 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
58 * include/c_std/bits/std_cassert.h: Move to...
59 * include/c_std/cassert: Here.
60 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
61 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
62 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
63 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
65 * include/c_std/cmath: Adjust cmath.tcc include.
66 * include/c_std/cstdlib: Adjust includes.
67 * include/c_std/cwchar: Same.
68 * include/c_std/ctime: Same.
69 * include/c_std/cstring: Same.
70 * include/c_std/cstdio: Same.
71 * include/c_std/bits: Remove directory.
73 * include/c/bits/std_cassert.h: Move to...
74 * include/c/cassert: Here.
75 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
76 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
77 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
78 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
80 * include/c/bits: Remove directory.
82 * include/std/cwctype: Remove.
83 * include/std/cwchar: Remove.
84 * include/std/ctime: Remove.
85 * include/std/cstring: Remove.
86 * include/std/cstdlib: Remove.
87 * include/std/cstdio: Remove.
88 * include/std/cstddef: Remove.
89 * include/std/cstdarg: Remove.
90 * include/std/csignal: Remove.
91 * include/std/csetjmp: Remove.
92 * include/std/cmath: Remove.
93 * include/std/clocale: Remove.
94 * include/std/climits: Remove.
95 * include/std/ciso646: Remove.
96 * include/std/cfloat: Remove.
97 * include/std/cerrno: Remove.
98 * include/std/cctype: Remove.
99 * include/std/cassert: Remove.
101 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
102 files and subsituting <.xxx>
103 * include/bits/valarray_array.h: Same.
104 * include/bits/stl_uninitialized.h: Same.
105 * include/bits/stl_alloc.h: Same.
106 * include/bits/stl_algobase.h: Same.
107 * include/bits/sstream.tcc: Same.
108 * include/bits/pthread_allocimpl.h: Same.
109 * include/bits/ostream.tcc: Same.
110 * include/bits/localefwd.h: Same.
111 * include/bits/locale_facets.tcc: Same.
112 * include/bits/locale_facets.h: Same.
113 * include/bits/istream.tcc: Same.
114 * include/bits/char_traits.h: Same.
115 * include/bits/boost_concept_check.h: Same.
116 * include/bits/basic_file.h: Same.
117 * include/std/bitset: Same.
118 * include/std/complex: Same.
119 * include/std/fstream: Same.
120 * include/std/functional: Same.
121 * include/std/ios: Same.
122 * include/std/iostream: Same.
123 * include/std/ostream: Same.
124 * include/std/sstream: Same.
125 * include/std/streambuf: Same.
126 * include/std/string: Same.
127 * include/std/iterator: Same.
128 * include/std/valarray: Same.
130 * src/ios.cc: Adjust includes.
131 * src/valarray-inst.cc: Same.
132 * src/string-inst.cc: Same.
133 * src/stl-inst.cc: Same.
134 * src/stdexcept.cc: Same.
135 * src/misc-inst.cc: Same.
136 * src/localename.cc: Same.
137 * src/locale-inst.cc: Same.
138 * src/locale.cc: Same.
139 * src/limits.cc: Same.
140 * src/concept-inst.cc: Same.
141 * src/complex_io.cc: Same.
142 * src/codecvt.cc: Same.
143 * src/bitset.cc: Same.
144 * src/cmath.cc: Same.
146 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
148 * include/bits/stl_tree.h (rb_tree): Move to...
149 * include/ext/rb_tree: ...here, new file.
150 * include/Makefile.am (ext_headers): Add new file.
151 * include/Makefile.in: Regenerate.
152 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
153 return_temporary_buffer, struct temporary_buffer): Move to...
154 * include/ext/memory: ...here.
155 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
156 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
157 * include/backward/tree.h: Include <ext/rb_tree), tweak.
159 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
161 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
162 * include/ext/numeric: ...here, new file.
163 * include/bits/stl_function.h (identity_element, unary_compose,
164 binary_compose, compose1, compose2, identity, select1st,
165 select2nd, project1st + helper, project2nd + helper,
166 constant_void_fun + helper, constant_unary_fun + helper,
167 costant_binary_fun + helper, constant0, constant1, constant2,
168 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
169 * include/ext/functional: ...here, new file.
170 * include/Makefile.am (ext_headers): Add new files.
171 * include/Makefile.in: Regenerate.
172 * testsuite/ext/headers.cc: Include <ext/numeric> and
174 * include/backward/algo.h: Include <ext/numeric>, tweak.
175 * include/backward/function.h: Include <ext/functional>, tweak.
176 * include/ext/ropeimpl.h: Include <ext/numeric>.
178 2002-01-03 Jeffrey A Law <law@redhat.com>
180 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
181 __strtoull declarations with __extension__.
183 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
185 * testsuite/lib/prune.exp: Correct regular expression for
188 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
190 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
191 Change concept checks, as with lower_bound and PR 2054.
192 * testsuite/ext/concept_checks.cc: Expand test to include those.
194 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
196 * include/bits/boost_concept_check.h: Import some changes from
197 upsteam (Boost) version.
199 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
201 * include/bits/stl_algobase.h (copy_n + helpers,
202 lexicographical_compare_3way + helpers): Move to...
203 * include/ext/algorithm: ...here.
204 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
206 * include/ext/memory: ...here, new file.
207 * include/Makefile.am (ext_headers): Add new file.
208 * include/Makefile.in: Regenerate.
209 * testsuite/ext/headers.cc: Include <ext/memory>.
210 * include/backward/algobase.h: Include <ext/memory> and
211 <ext/algorithm>, tweak.
212 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
213 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
215 2002-01-01 Roger Sayle <roger@eyesopen.com>
217 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
218 equivalent ___builtin__ versions.
220 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
221 are available in libstdc++ as the necessary stub implementations
222 are provided by libmath/stubs.c.
224 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
226 * configure.in: Add support for NetBSD cross compiles.
227 * configure: Regenerate.
229 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
231 * include/ext/iterator: Add #include <bits/std_iterator.h>, tweak.
232 * testsuite/ext/headers.cc: Add <ext/iterator>.
234 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
236 * include/backward/algo.h: Add two more using declarations.
237 * include/backward/iterator.h: Include <ext/iterator>,
238 add using declaration.
239 * include/ext/algorithm: Add #pragma GCC system_header.
241 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
243 * include/bits/stl_bvector.h: Change calls to 3-argument distance()
244 into standard 2-argument version.
245 * include/bits/stl_deque.h: Likewise.
246 * include/bits/stl_tempbuf.h: Likewise.
247 * include/bits/stl_tree.h: Likewise.
248 * include/bits/stl_vector.h: Likewise.
249 * include/ext/stl_hashtable.h: Likewise.
250 * include/bits/stl_iterator_base_funcs.h: Move distance() extension...
251 * include/ext/iterator: to here. New file.
252 * include/Makefile.am (ext_headers): Add new file, alphabatize.
253 * include/Makefile.in: Regenerate.
255 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
257 * include/bits/stl_deque.h: Doxygenate with initial/example hooks.
258 Clean up spacing and indentation.
260 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
262 * include/ext/slist: Move into __gnu_cxx,
263 tweak, add using declarations.
265 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
267 * include/ext/hash_map: Move into __gnu_cxx,
268 tweak, add using declarations.
269 * include/ext/hash_set: Ditto.
270 * include/ext/ropeimpl.h: Ditto.
271 * include/ext/stl_hash_fun.h: Ditto.
272 * include/ext/stl_hashtable.h: Ditto.
273 * include/ext/stl_rope.h: Ditto.
274 * src/ext-inst.cc: Tweak.
275 * testsuite/ext/rope.cc: Tweak.
277 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
279 * include/backward/algo.h: Include <ext/algorithm>,
280 tweak using declarations.
282 2001-12-29 Richard Henderson <rth@redhat.com>
284 * config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits.
285 * config/os/hpux/bits/cpu_limits.h: New file.
286 * configure.target (CPULIMITSH): Use it.
288 2001-12-28 Richard Henderson <rth@redhat.com>
290 * config/cpu/ia64/bits/cpu_limits.h: New file.
291 * config/os/osf/osf5.0/bits/cpu_limits.h: New file.
292 * configure.target (CPULIMITSH): Use them.
294 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
296 * include/bits/c++config: Move doxygen hook comment...
297 * docs/doxygen/doxygroups.cc: ...to here.
299 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
302 * include/bits/stl_algo.h (lower_bound): Relax concept checks.
303 * testsuite/ext/concept_checks.cc: New file.
305 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
307 * include/bits/stl_algo.h (count returning void,
308 count_if returning void, __random_sample, random_sample,
309 random_sample_n, __is_heap, is_heap, is_sorted): Move to...
310 * include/ext/algorithm: ...here, new file.
311 * include/Makefile.am (ext_headers): Add new file.
312 * include/Makefile.in: Regenerate.
313 * testsuite/ext/headers.cc: Include <ext/algorithm>.
315 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
316 Nathan Myers <ncm@cantrip.org>
318 * include/bits/basic_string.h (insert(__pos, __s, __n)):
319 Optimize by avoiding temporaries and working in-place when possible.
320 (insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n).
321 (insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n).
322 * testsuite/21_strings/insert.cc (test02): New testcases.
324 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
326 * testsuite/testsuite_hooks.h (gnu_counting_struct): Add.
327 * testsuite/23_containers/deque_ctor.cc: New file.
329 2001-12-27 Paolo Carlini <pcarlini@unitus.it>
331 * include/bits/locale_facets.tcc (collate::do_transform):
332 Adjust implicit typename.
333 * config/locale/messages_members_generic.h (messages::open,
334 messages::do_open, messages::do_get): Adjust implicit typename.
335 * config/locale/messages_members_gnu.h (messages::open,
336 messages::do_open, messages::do_get): Adjust Implicit typename.
337 * config/locale/messages_members_ieee_1003.1-200x.h (messages::open,
338 messages::do_open, messages::do_get): Adjust implicit typename.
340 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
343 * src/misc-inst.cc: Many additional I/O-related instantiations.
344 * testsuite/27_io/instantiations.cc: New file.
346 2001-12-26 Benjamin Kosnik <bkoz@waller.constant.com>
348 * testsuite/24_iterators/insert_iterator.cc (test02): Add.
349 * testsuite/24_iterators/front_insert_iterator.cc (test02): Add.
350 * testsuite/24_iterators/back_insert_iterator.cc (test02): Add.
351 * testsuite/24_iterators/reverse_iterator.cc (test02): Add.
353 * include/bits/stl_iterator.h (reverse_iterator): Uglify member
354 current to _M_current.
355 (back_insert_iterator): Uglify member container to _M_container.
356 (front_insert_iterator): Same.
357 (insert_iterator): Same.
359 2001-12-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
361 * include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New
362 macros for signed types; default value is true.
363 (numeric_limits<>::is_modulo): Get value from corresponding
364 __glibcpp_xxx_is_modulo macro.
366 2001-12-23 Jeffrey A Law <law@redhat.com>
368 * config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>.
369 Twiddle return types for strtoll and strtoull to avoid using
370 intmax_t and uintmax-t.
372 2001-12-22 Richard Henderson <rth@redhat.com>
374 * configure.target (CPULIMITSH): Fix typo in alpha case.
376 2001-12-22 Jeffrey A Law <law@redhat.com>
378 * config/os/hpux/bits/os_defines.h: Update to avoid #defines
379 for strtoll and strtoull.
381 2001-12-21 Jeffrey A Law <law@redhat.com>
383 * config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
384 Define strtoll and strtoull. Provide prototypes for
385 __strtoll and __strtoull. Define _GLIBCPP_USE_LONG_LONG
388 * src/locale-inst.cc: Include <bits/std_cstdlib.h>
390 * configure.target: Fix typo in hpux case.
392 2001-12-21 Paolo Carlini <pcarlini@unitus.it>
394 * include/ext/stl_rope.h (_Rope_iterator):
395 Add local typedef to fix implicit typename problems.
397 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
399 * docs/doxygen/Intro.3: New 'Allocators' module.
400 * docs/doxygen/TODO: Update.
401 * docs/doxygen/doxygroups.cc: Update.
402 * docs/doxygen/run_doxygen: Update.
404 * include/bits/stl_alloc.h: Tweak doxygen hooks in comments.
405 * include/bits/std_memory.h: Doxygenate.
406 * include/bits/stl_iterator_base_types.h: Likewise.
407 * include/bits/stl_raw_storage_iter.h: Likewise.
408 * include/bits/stl_tempbuf.h: Likewise.
409 (get_temporary_buffer): Remove unused nonstandard overload.
410 * include/bits/stl_uninitialized.h: Likewise.
412 * include/bits/stl_iterator_base_types.h (input_iterator,
413 output_iterator, forward_iterator, bidirectional_iterator,
414 random_access_iterator): Move old names...
415 * include/backward/iterator.h: ...to here.
416 * include/bits/stl_bvector.h: Update.
417 * include/ext/stl_rope.h: Update.
419 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
421 * docs/html/configopts.html: Describe recent options.
422 * docs/html/documentation.html: Point to new doxygen tarballs.
423 * docs/html/install.html: Brief updates.
424 * docs/html/17_intro/RELEASE-NOTES: Remove weird control character.
425 * docs/html/ext/howto.html: Fix typos, describe filebuf::fd().
426 * docs/html/faq/index.html: Update for 3.0.95.
427 * docs/html/faq/index.txt: Regenerate.
429 2001-12-19 David Billinghurst <David.Billinghurst@riotinto.com>
432 * testsuite/lib/libstdc++-v3-dg.exp: Append .exe to
435 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
437 * docs/html/17_intro/TODO: Update.
438 * docs/html/17_intro/RELEASE-NOTES: Edits, update.
439 * README: Edit for clarity, update to reflect current directory
442 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
444 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
446 * aclocal.m4: Rebuild.
447 * configure: Rebuild.
449 2001-12-18 Paolo Carlini <pcarlini@unitus.it>
450 Nathan Myers <ncm@cantrip.org>
452 * include/bits/basic_string.h (assign(__str, __pos, __n)):
453 Call assign(__s, __n).
454 (assign(__s, __n)): Terminate the string with _S_terminal.
456 2001-12-17 Benjamin Kosnik <bkoz@redhat.com>
458 * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
459 Set to true, like float and double.
461 2001-12-17 David Billinghurst <David.Billinghurst@riotinto.com>
464 * testsuite/lib/prune.exp: New file
465 * testsuite/lib/libstdc++-v3-dg.exp: Use it
467 2001-12-17 Phil Edwards <pme@gcc.gnu.org>
469 * include/bits/basic_file.h (__basic_file::fd): New function.
470 * config/io/basic_file_stdio.h (__basic_file::fd): Define.
471 * include/bits/std_fstream.h (basic_filebuf::fd): New function.
472 * include/bits/fstream.tcc (basic_filebuf::fd): Define.
473 * testsuite/27_io/filebuf_members.cc (test_02): New test.
475 2001-12-16 Nathan Sidwell <nathan@codesourcery.com>
477 * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
478 * po/Makefile.in: Regenerated.
480 2001-12-16 Paolo Carlini <pcarlini@unitus.it>
482 * testsuite/21_strings/assign.cc (test01): Add tests.
484 2001-12-15 Paolo Carlini <pcarlini@unitus.it>
485 Nathan Myers <ncm@cantrip.org>
487 * include/bits/basic_string.h
488 (assign(__str, __pos, __n), assign(__s, __n)): Optimize
489 by avoiding unnecessary temporaries.
490 (assign(__s)): Call assign(__s, __n).
491 * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
492 * include/bits/std_string.h: include stl_function.h.
493 * testsuite/21_strings/assign.cc (test02, test03): New tests.
495 2001-12-15 Benjamin Kosnik <bkoz@redhat.com>
497 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
499 * aclocal.m4: Regenerate.
500 * configure: Regenerate.
502 2001-12-14 Benjamin Kosnik <bkoz@redhat.com>
504 Clean up initialization and simplfy caching of underlying "C"
505 default locale objects.
506 * src/localename.cc (locale::_Impl::_Impl(string, size_t):
507 Unconditionally create __clocale object for all named locales,
508 including "C" and "POSIX".
509 * config/locale/c_locale_generic.cc
510 (locale::facet::_S_create_c_locale): Always set __cloc to zero.
511 * config/locale/c_locale_gnu.cc: Always delete.
512 * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
513 * src/locale.cc (locale::classic()): Initialize
514 locale::facet::_S_c_locale.
515 (locale::facet::_S_c_locale): Define.
517 * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
519 * src/locale.cc: Add definition here.
520 * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
521 * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
522 * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
524 (ctype<char>::_M_toupper): Remove const&.
525 (ctype<char>::_M_tolower): Remove const&.
526 (ctype<char>::_M_ctable): Remove const&.
528 * include/bits/locale_facets.h (collate): Clean up initialization
529 of _M_c_locale_collate in ctors and dtors.
530 * config/locale/collate_members_gnu.cc: Always use extended
533 * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
534 (messages_byname): Same.
535 * config/locale/messages_members_generic.h (messages::~messages):
537 * config/locale/messages_members_gnu.h: Same.
539 * include/bits/localefwd.h: Clean. Move dtor definitions to
540 * src/locale.cc: Here.
541 * testsuite/22_locale/facet.cc: Fix spelling.
543 Named locale support for ctype<wchar_t>.
544 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
545 ctype_members_* bits.
546 * aclocal.m4: Regenerate.
547 * configure: Regenerate.
548 * src/Makefile.am (sources): Add ctype.cc.
549 * src/Makefile.in: Regenerate.
550 * config/locale/ctype_members_generic.cc: New file.
551 * config/locale/ctype_members_gnu.cc: New file.
552 * src/locale.cc: Remove ctype<wchart_t> definitions.
554 2001-12-13 Roger Sayle <roger@eyesopen.com>
556 * acconfig.h: Test for __builtin_sqrt instead of
558 * acinclude.m4: Same.
559 * include/c_shadow/bits/std_cmath.h: Same.
560 * aclocal.m4: Regenerated.
561 * config.h.in: Regenerated.
562 * configure: Regenerated.
564 2001-12-13 Phil Edwards <pme@gcc.gnu.org>
566 * docs/html/ext/howto.html: Fix typos.
568 2001-12-13 Benjamin Kosnik <bkoz@redhat.com>
571 * src/locale.cc (locale::locale(const char*)): Deal with locales
573 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
575 2001-12-12 Paolo Carlini <pcarlini@unitus.it>
577 * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
578 _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
579 _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
580 : Adjust implicit typename.
581 * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
582 Adjust implicit typename.
583 * testsuite/27_io/streambuf.cc: Adjust implicit typename.
585 2001-12-12 Benjamin Kosnik <bkoz@redhat.com>
587 Named locale support for ctype<char>.
588 * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
589 * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
590 definitions for alternate constructor.
591 * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
592 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
593 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
594 * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
595 * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
596 * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
597 * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
598 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
599 * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
600 * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
601 * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
602 * config/os/aix/bits/ctype_noninline.h (ctype): Same.
603 * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
604 definitions for all virtual functions. These are now explicitly
605 undefined for non-required factets, ie any non-char, non-wchar_t
607 * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
608 locales use alternate constructor for ctype facet.
609 * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
610 mask*, bool, size_t): Add.
611 (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
612 * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
615 * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
616 XFAIL for non-gnu locale models.
618 2001-12-12 Philip Martin <philip@codematters.co.uk>
619 Ross Smith <r-smith@ihug.co.nz>
620 Paolo Carlini <pcarlini@unitus.it>
623 * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
624 Fix digits10 values for integral types.
625 * include/bits/locale_facets.tcc (num_get::do_get for integral types):
626 Tweak _M_extract_int call.
627 * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
628 Tweak overflowing number of digits.
629 * testsuite/18_support/numeric_limits.cc (test03): New testcase.
631 2001-12-11 Benjamin Kosnik <bkoz@redhat.com>
633 * config/os/generic/bits/ctype_inline.h: Remove spaces.
634 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
635 * include/bits/locale_facets.h (__num_base): Move double data
636 members to first in class.
637 * include/bits/locale_facets.tcc: Re-arrange, tweak.
638 * src/locale.cc: Clean.
639 *include/bits/stl_vector.h: Space typedefs.
641 2001-12-11 Phil Edwards <pme@gcc.gnu.org>
643 * testsuite/ext/allocators.cc: New file.
645 2001-12-11 Jason Merrill <jason@redhat.com>
647 * include/bits/locale_facets.tcc (_M_extract_int): Avoid
648 uninitialized warning.
650 2001-12-11 Loren Rittle <ljrittle@acm.org>
652 * config/cpu/sparc/sparc32/bits/atomicity.h
653 (__Atomicity_lock<0>::_S_atomicity_lock): Add.
655 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
657 * include/bits/basic_string.tcc (_M_replace_safe): Fix typos.
658 * include/bits/basic_string.h: Fix typos.
660 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
661 Nathan Myers <ncm@cantrip.org>
663 * include/bits/basic_string.tcc (_M_replace_safe): New function.
664 (_M_replace(input_iterator_tag), append members): Use it.
665 (_M_replace(forward_iterator_tag)): Remove.
666 * include/bits/basic_string.h: Adjust declarations.
667 * src/string-inst.cc: Adjust declarations.
669 2001-12-09 Benjamin Kosnik <bkoz@redhat.com>
670 Philip Martin <pmartin@uklinux.net>
672 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
673 (__num_base::_S_scale_oct): Add.
674 * include/bits/locale_facets.tcc (_M_extract_int): Use them.
675 * src/locale.cc: Add definitions.
676 * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
678 * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
680 2001-12-07 Nathan Myers <ncm@cantrip.org>
681 Loren Rittle <ljrittle@acm.org>
684 * config/cpu/sparc/sparc32/bits/atomicity.h
685 (struct __Atomicity_lock<__inst>): Add.
686 (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
687 (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
688 instead of lock local to static function.
689 (__atomic_add): Likewise.
691 2001-12-07 Phil Edwards <pme@gcc.gnu.org>
693 * src/globals.cc: Remove __GTHREADS guard.
695 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
697 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
698 Extend comment, reduce __cs_size for non-fixed outputs.
700 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
702 * include/bits/basic_string.tcc (_M_mutate): Fix typo
703 in the previous check in.
705 2001-12-06 Paolo Carlini <pcarlini@unitus.it>
706 Loren J. Rittle <ljrittle@acm.org>
708 * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
709 exponential growth policy to meet linear amortized time
710 requirements of the standard.
711 (_S_create): Adjust comment.
713 2001-12-06 Benjamin Kosnik <bkoz@redhat.com>
716 * include/bits/locale_facets.tcc (num_put): Clean.
717 (num_get::_M_extract_float): Change argument to string.
718 (num_get::do_get(float)): Fixup.
719 (num_get::do_get(double)): Same.
720 (num_get::do_get(long double)): Same.
721 (num_get::_M_extract_int): Add maximum length parameter, __max.
722 (num_get::_M_extract_float): Correct zeros, use string.
723 * include/bits/locale_facets.h (num_get::_M_extract_float): Change
725 * src/locale.cc (__num_base::_S_atoms): Remove x, X.
726 * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
728 2001-12-06 Philip Martin <pmartin@uklinux.net>
730 * testsuite/27_io/istream_extractor_arith.cc (test12): Add
731 tests for excess input digits.
733 2001-12-06 Phil Edwards <pme@gcc.gnu.org>
735 * include/bits/std_bitset.h: Use GLIBCPP in multiple-inclusion guard.
736 * include/bits/stl_algo.h: Likewise.
737 * include/bits/stl_algobase.h: Likewise.
738 * include/bits/stl_bvector.h: Likewise.
739 * include/bits/stl_deque.h: Likewise.
740 * include/bits/stl_function.h: Likewise.
741 * include/bits/stl_iterator.h: Likewise.
742 * include/bits/stl_iterator_base_funcs.h: Likewise.
743 * include/bits/stl_iterator_base_types.h: Likewise.
744 * include/bits/stl_list.h: Likewise.
745 * include/bits/stl_multimap.h: Likewise.
746 * include/bits/stl_multiset.h: Likewise.
747 * include/bits/stl_pair.h: Likewise.
748 * include/bits/stl_queue.h: Likewise.
749 * include/bits/stl_set.h: Likewise.
750 * include/bits/stl_stack.h: Likewise.
751 * include/bits/stl_tempbuf.h: Likewise.
752 * include/bits/stl_tree.h: Likewise.
753 * include/bits/stl_vector.h: Likewise.
755 * include/bits/stl_alloc.h: Use our own multiple inclusion guards.
756 Doxygenate more comments. Correct historical artifacts in comments.
757 (alloc, single_alloc): Uglify non-standard names.
758 (__default_alloc_template::_NFREELISTS): Calculate from other
760 (__default_alloc_template::_S_free_list): Remove SunPro workaround.
761 (__default_alloc_template::_Lock): Mark as "unused".
762 * include/backward/alloc.h: Update.
763 * include/bits/stl_bvector.h: Likewise.
764 * include/ext/ropeimpl.h: Likewise.
765 * include/ext/stl_hashtable.h: Likewise.
767 2001-12-05 Benjamin Kosnik <bkoz@redhat.com>
770 * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
771 grouping to floating point types.
772 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
774 2001-12-04 Paolo Carlini <pcarlini@unitus.it>
777 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
779 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
780 Deal properly with long ios_base::fixed floats.
781 (num_put::_M_widen_float): use
782 __len in __builtin_alloca call.
784 2001-12-04 Benjamin Kosnik <bkoz@redhat.com>
786 * src/Makefile.am (sources): Add ext-inst.cc.
787 * src/Makefile.in: Regenerate.
788 * src/ext-inst.cc: New file.
789 * include/bits/stl_threads.h: Format.
790 * src/globals.cc: Add instantiation for _S_swap_lock.
792 * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
795 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
797 * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
798 and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
799 * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
800 for explicit instantiation of class std::basic_string<char,
801 gnu_char_traits, std::allocator<char> >.
803 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
805 * testsuite/22_locale/collate.cc: Compile-only.
806 * testsuite/22_locale/time_get.cc: Same.
807 * testsuite/22_locale/time_put.cc: Same.
808 * testsuite/22_locale/numpunct.cc: Same.
809 * testsuite/22_locale/num_put.cc: Same.
810 * testsuite/22_locale/num_get.cc: Same.
811 * testsuite/22_locale/moneypunct.cc: Same.
812 * testsuite/22_locale/money_get.cc: Same.
813 * testsuite/22_locale/messages.cc: Same.
814 * testsuite/22_locale/ctype.cc: Same.
816 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
818 * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
819 member instantiations.
821 2001-12-03 Steve Ellcey <sje@cup.hp.com>
823 * libstdc++-v3/configure.in: Add support for hpux cross compiles,
824 combine common linux/hpux/generic cross compile support to reduce
826 * libstdc++-v3/configure: Regenerate.
828 2001-12-03 Loren J. Rittle <ljrittle@acm.org>
830 * docs/html/ext/howto.html: Update commentary.
831 * include/bits/c++config: Update threading configuration comment.
832 (__STL_GTHREADS): Remove macro definition.
833 (__STL_THREADS): Likewise.
834 * include/bits/stl_threads.h: Leave only the configuration
835 path which had been guarded by __STL_GTHREADS. Remove all
836 guards related to __STL_GTHREADS, __STL_SGI_THREADS,
837 __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
838 * include/bits/stl_alloc.h: Leave only the configuration path
839 which had been guarded by __STL_THREADS. Remove configuration
840 path and guards for __STL_SGI_THREADS.
841 (__NODE_ALLOCATOR_THREADS): Remove macro definition. Unroll its use.
842 (__NODE_ALLOCATOR_LOCK): Likewise.
843 (__NODE_ALLOCATOR_UNLOCK): Likewise.
844 (_NOTHREADS): Remove guards related to macro.
845 * include/ext/stl_rope.h: Remove configuration path and guards
846 for __STL_SGI_THREADS.
847 * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
849 2001-12-02 Phil Edwards <pme@gcc.gnu.org>
851 * docs/html/ext/howto.html: Update list of implemented DRs.
852 * docs/html/ext/lwg-active.html: Import R20 from upstream.
853 * docs/html/ext/lwg-defects.html: Import R20 from upstream.
855 2001-11-30 Benjamin Kosnik <bkoz@redhat.com>
859 * libsupc++/exception (bad_exception::~bad_exception()): Remove
861 * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
862 * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
863 (bad_typeid::~bad_typeid()): Remove.
864 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
865 (bad_typeid::~bad_typeid()): Same.
866 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
867 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
869 * include/bits/std_iomanip.h: Tweak.
871 2001-11-29 Paolo Carlini <pcarlini@unitus.it>
874 * include/bits/locale_facets.tcc (__pad): Add bool parameter to
875 correctly pad internal-adjusted const char*-type objects.
876 * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
877 * include/bits/ostream.tcc (operator<<(_CharT , char, const
878 _CharT*, const char*, const basic_string&): Update calls.
879 * src/locale-inst.tcc: Update declarations.
880 * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
882 2001-11-29 Phil Edwards <pme@gcc.gnu.org>
884 * docs/html/ext/howto.html: Finish allocator notes (inst and 3.0).
886 2001-11-29 Benjamin Kosnik <bkoz@redhat.com>
888 * include/bits/locale_facets.tcc (num_get::do_get(long double)):
889 Fix __traits_type typo.
891 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
893 * include/bits/locale_facets.tcc (__pad): Correctly pad
894 internal-adjusted hex numbers.
895 * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
897 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
898 Loren J. Rittle <ljrittle@acm.org>
900 * include/bits/basic_string.h
901 (basic_string::_Rep::__default_excess, _S_excess_slop):
903 * include/bits/basic_string.tcc: Remove dead code.
904 * include/bits/c++config: Remove comment.
906 2001-11-28 Benjamin Kosnik <bkoz@redhat.com>
907 Jakub Jelinek <jakub@redhat.com>
909 * config/locale/moneypunct_members_gnu.cc
910 (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
912 * config/locale/numpunct_members_gnu.cc
913 (numpunct<wchar_t>::_M_initialize_numpunct): Same.
915 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
917 * include/bits/locale_facets.tcc: Formatting tweaks.
919 * testsuite/23_containers/map_operators.cc: Don't xfail.
920 * testsuite/23_containers/set_operators.cc: Same.
921 * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
922 * testsuite/backward/header_deque_h.cc: Same.
924 2001-11-27 Loren J. Rittle <ljrittle@acm.org>
925 Paolo Carlini <pcarlini@unitus.it>
927 * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
928 Enforce allocation size blocking policy to reduce
929 fragmentation and enhance performance with common malloc
932 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
934 Numeric facets cleanup.
935 * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
937 (__num_base::_M_zero): Add
938 (__num_base::_M_e): Add.
939 (__num_base::_M_E): Add.
940 * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
941 (num_get::_M_extract_float): New.
942 (num_get::_M_extract_int): New.
943 * src/locale.cc (num_get::_M_extract): Remove.
945 * include/bits/locale_facets.tcc (num_put::_M_insert_float):
946 Simplify, use _M_insert.
947 (num_put::do_put(bool)): Simplify, remove __pad.
949 (__pad_output): Change to __pad.
950 * include/bits/ostream.tcc: And here.
951 * src/locale-inst: Remove instantiations.
953 * include/bits/locale_facets.h: Move helper functions in to class
955 (num_put::_M_insert_float): Same, for __output_integer.
956 (num_put::_M_insert_int): Same, for __output_float.
957 (num_put::_M_insert): New.
959 (__num_base::_S_format_float): Move
960 __build_float_format into class __num_base.
961 (__num_base::_S_format_int): Move __build_int_format into class
963 * include/bits/locale_facets.tcc (__group_digits): Change to
964 (__add_grouping): This.
965 * src/locale-inst.cc: And here. Tweak instantiations.
966 * src/misc-inst.cc: Remove instantiations.
968 * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
969 for new calling conventions, move to...
970 * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
971 signature to make it useful for both ostream and num_put.
972 (__pad_numeric): Remove.
973 * src/misc-inst.cc: Remove instantiations.
974 * src/locale-inst.cc: Same.
976 * include/bits/locale_facets.h (_Numeric_get): Remove.
977 (_Numeric_put): Remove.
978 (num_get::get(short)): Remove.
979 (num_get::get(int)): Remove.
980 (num_get::do_get(short)): Remove.
981 (num_get::do_get(int)): Remove.
982 * include/bits/istream.tcc (istream::operator>>(short)): Fix as
984 (istream::operator>>(int)): Same.
986 * include/bits/locale_facets.h (_Format_cache): Remove.
987 * include/bits/locale_facets.tcc: Same.
988 * src/locale.cc: Same.
989 * src/locale-inst.cc: Same.
990 * include/bits/ostream.tcc: Same.
991 * src/ios.cc (ios_base::imbue): Remove here as well.
993 * testsuite/22_locale/num_get.cc: New file.
994 * testsuite/22_locale/num_get_members_char.cc: New file.
995 * testsuite/22_locale/num_get_members_wchar_t.cc: New.
996 * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
997 * testsuite/22_locale/num_put.cc: New file.
998 * testsuite/22_locale/num_put_members_char.cc: New file.
999 * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
1000 * testsuite/27_io/ostream_inserter_arith.cc: Fix.
1001 * testsuite/27_io/istream_extractor_arith.cc: Fix.
1003 2001-11-27 Phil Edwards <pme@gcc.gnu.org>
1005 * docs/html/explanations.html: New section, empty for now.
1006 * docs/html/17_intro/howto.html: Cleanup. Move unrelated link...
1007 * docs/html/23_containers/howto.html: ...to here. Break up and
1008 rewrap threading discussion to emphasize warning. Move malloc text...
1009 * docs/html/ext/howto.html: ...to here. New section. Describe
1010 allocators and __USE_MALLOC effects.
1011 * docs/html/ext/sgiexts.html: Mention their code.
1013 2001-11-24 Joseph S. Myers <jsm28@cam.ac.uk>
1015 * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1016 docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
1019 2001-11-23 Phil Edwards <pme@gcc.gnu.org>
1021 * Makefile.am (doxygen-maint): The script isn't executable in CVS.
1022 * Makefile.in: Regenerated.
1023 * docs/doxygen/TODO: New file listing doxygen work to be done.
1024 * docs/doxygen/run_doxygen: Fix up man pages.
1025 * docs/doxygen/user.cfg.in: Insert maint-only toggles.
1026 * docs/doxygen/maint.cfg.in: Copy from user.cfg and turn toggles on.
1027 * include/bits/stl_construct.h: Use new hooks for internal functions.
1029 * docs/html/17_intro/TODO: Small updates.
1030 * docs/html/faq/index.html: Likewise.
1031 * docs/html/faq/index.txt: Regenerated.
1033 * include/bits/stl_alloc.h: Doxygenate, reindent comments, remove
1034 SGI-isms and wrappers.
1035 (simple_alloc, debug_alloc): Uglify class names.
1036 (__default_alloc_template): Uglify "threads" template parameter and
1037 update corresponding macros.
1038 * include/backward/alloc.h: Bring up to date.
1040 2001-11-23 Jason Merrill <jason@redhat.com>
1042 * src/vterminate.cc (__verbose_terminate_handler): Add leading
1045 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
1047 * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1048 docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
1049 docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
1050 docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
1051 docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
1052 docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
1053 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
1054 docs/html/21_strings/howto.html,
1055 docs/html/23_containers/howto.html,
1056 docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
1057 docs/html/27_io/binary_iostreams_kuehl.txt,
1058 docs/html/ext/sgiexts.html, docs/html/faq/index.html,
1059 docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
1060 include/bits/basic_file.h, include/bits/locale_facets.h,
1061 include/bits/locale_facets.tcc, include/bits/std_sstream.h,
1062 include/ext/ropeimpl.h, include/ext/stl_rope.h,
1063 libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
1064 libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
1065 configure.target, ChangeLog-2000: Fix spelling errors.
1067 * config/locale/moneypunct_members_gnu.cc,
1068 include/bits/locale_facets.h: Fix spelling errors.
1070 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
1072 * testsuite/23_containers/list_capacity.cc: New file.
1073 * testsuite/23_containers/list_ctor.cc: New file.
1074 * testsuite/23_containers/list_modifiers.cc: New file.
1075 * testsuite/23_containers/list_operators.cc: New file.
1077 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
1079 * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
1080 (size): Replaced nonstandard distance() call with the standard one.
1081 (transfer): Uglified to _M_transfer.
1083 2001-11-21 Paolo Carlini <pcarlini@unitus.it>
1086 * include/bits/basic_string.tcc (basic_string::reserve): Never shrink
1087 below the current size.
1088 * testsuite/21_strings/capacity.cc (test02): Add test.
1090 2001-11-19 Phil Edwards <pme@gcc.gnu.org>
1092 * docs/doxygen/Intro.3: More notes.
1093 * docs/doxygen/style.css: Update to default style from Doxygen 1.2.10.
1094 * include/bits/stl_algobase.h: Add doxygen hooks for functions.
1095 * include/ext/hash_map: Add @file hook.
1096 * include/ext/hash_set: Likewise.
1097 * include/ext/rope: Likewise.
1098 * include/ext/ropeimpl.h: Likewise.
1099 * include/ext/slist: Likewise.
1100 * include/ext/stl_hash_fun.h: Likewise.
1101 * include/ext/stl_hashtable.h: Likewise.
1102 * include/ext/stl_rope.h: Likewise.
1104 * docs/html/17_intro/license.html: Remove "experimental" sentence.
1105 * docs/html/19_diagnostics/howto.html: Document new verbose
1107 * testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
1108 to more visible (closer to description) position.
1110 * libsupc++/eh_type.cc: Formatting tweak.
1111 * libsupc++/exception: Likewise.
1112 * src/vterminate.cc: Likewise.
1114 * docs/html/17_intro/porting.html: Regenerate.
1115 * docs/html/faq/index.txt: Regenerate.
1117 2001-11-18 Jason Merrill <jason@redhat.com>
1119 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
1120 * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
1121 * libsupc++/unwind-cxx.h: Adjust.
1122 * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
1124 * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
1125 * libsupc++/cxxabi.h: Declare it.
1126 * libsupc++/Makefile.am (sources): Add it.
1127 * src/vterminate.cc (verbose_terminate_handler): New file.
1128 * libsupc++/exception: Declare it.
1129 * src/Makefile.am (sources): Add it.
1131 * src/Makefile.am (VPATH): Check the src directory before the top one.
1133 2001-11-16 Paolo Carlini <pcarlini@unitus.it>
1135 * include/bits/stl_deque.h (deque::erase()): Fix memory leak.
1137 2001-11-16 Loren J. Rittle <ljrittle@acm.org>
1139 * docs/html/17_intro/howto.html (Thread-safety): Rename
1140 section to ``The Standard C++ library and multithreading'' and
1141 update information based on recent mailing list traffic. Move
1142 all discussion of __USE_MALLOC to...
1143 * docs/html/23_containers/howto.html (Containers and multithreading):
1144 ...here and rework it based on recent mailing list traffic.
1146 2001-11-15 Loren J. Rittle <ljrittle@acm.org>
1148 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
1151 2001-11-15 <bjornw@planetarion.com>
1152 Loren J. Rittle <ljrittle@acm.org>
1155 * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
1156 (single_client_alloc): Likewise.
1158 2001-11-08 Danny Smith <dannysmith@users.sourceforge.net>
1160 * configure.target: Add os_include_dir for mingw32* target.
1161 * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
1162 from _GLIBCPP_AVOID_FSEEK.
1163 * config/os/mingw32/bits/ctype_base.h: New file.
1164 * config/os/mingw32/bits/ctype_inline.h: New file.
1165 * config/os/mingw32/bits/ctype_noninline.h: New file.
1166 * config/os/mingw32/bits/os_defines.h: New file.
1168 2001-11-07 Nathan Myers <ncm@cantrip.org>
1170 * docs/html/faq/index.html (5.8): New entry on ABIs.
1171 * docs/html/faq/index.txt: Regenerate.
1173 2001-11-07 Phil Edwards <pme@gcc.gnu.org>
1175 * docs/html/faq/index.html: Explain libsupc++, mention 'long long'
1176 bugfixes on Solaris.
1177 * docs/html/faq/index.txt: Regenerate.
1179 2001-11-06 Phil Edwards <pme@gcc.gnu.org>
1181 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
1182 LANG_CPLUSPLUS mode.
1183 * aclocal.m4: Regenerate.
1184 * configure: Regenerate.
1186 2001-11-05 Phil Edwards <pme@gcc.gnu.org>
1188 * porting.texi: Move...
1189 * docs/html/17_intro/porting.texi: ...to here.
1190 * docs/html/Makefile: Add rule to rebuild...
1191 * docs/html/17_intro/porting.html: ...this. New file.
1193 2001-11-05 Felix Natter <fnatter@gmx.net>
1195 * docs/html/17_intro/porting-howto.xml: check in v0.9.4
1196 * docs/html/17_intro/porting-howto.html: regenerate
1198 2001-11-02 Loren J. Rittle <ljrittle@acm.org>
1200 * include/bits/stl_threads.h (_Atomic_swap): Only enable path
1201 when platform supports __GTHREAD_MUTEX_INIT.
1203 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1205 * acconfig.h: Update comments.
1206 * acinclude.m4 (GLIBCPP_ENABLE_C99): Move strtoll, strtoull tests...
1207 (GLIBCPP_ENABLE_LONG_LONG): ...to here. Don't check enable_c99.
1208 * aclocal.m4: Regenerate.
1209 * config.h.in: Regenerate.
1210 * configure: Regenerate.
1212 * include/bits/boost_concept_check.h: Unconditionally compile uses
1213 of 'long long' which require only compiler support, not C lib support.
1214 * include/bits/cpp_type_traits.h: Likewise.
1215 * include/bits/std_limits.h: Likewise.
1216 * include/bits/type_traits.h: Likewise.
1217 * src/concept-inst.cc: Likewise.
1218 * src/limits.cc: Likewise.
1219 * include/c_shadow/stdlib.h: Compile conditionally on _GLIBCPP_USE_C99
1220 instead of _GLIBCPP_USE_LONG_LONG.
1221 * include/c_shadow/bits/std_cstdlib.h: Likewise.
1223 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1225 * config/io/c_io_stdio.h: Correct grammar in comments.
1226 * docs/doxygen/Intro.3: Expand "top-level" man page.
1227 * docs/doxygen/doxygroups.cc: New module definitions (comments).
1228 * docs/doxygen/mainpage.doxy: Tweaks.
1229 * docs/doxygen/run_doxygen: Update Doxygen version, massage man pages.
1231 Add @file hooks so that headers are considered to be documented.
1232 * include/bits/basic_ios.h, include/bits/basic_file.h,
1233 include/bits/basic_string.h, include/bits/boost_concept_check.h,
1234 include/bits/char_traits.h, include/bits/codecvt.h,
1235 include/bits/concept_check.h, include/bits/cpp_type_traits.h,
1236 include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
1237 include/bits/indirect_array.h, include/bits/ios_base.h,
1238 include/bits/locale_facets.h, include/bits/localefwd.h,
1239 include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
1240 include/bits/slice.h, include/bits/slice_array.h,
1241 include/bits/std_algorithm.h, include/bits/std_bitset.h,
1242 include/bits/std_complex.h, include/bits/std_deque.h,
1243 include/bits/std_fstream.h, include/bits/std_functional.h,
1244 include/bits/std_iomanip.h, include/bits/std_ios.h,
1245 include/bits/std_iosfwd.h, include/bits/std_iostream.h,
1246 include/bits/std_istream.h, include/bits/std_iterator.h,
1247 include/bits/std_limits.h, include/bits/std_list.h,
1248 include/bits/std_locale.h, include/bits/std_map.h,
1249 include/bits/std_memory.h, include/bits/std_numeric.h,
1250 include/bits/std_ostream.h, include/bits/std_queue.h,
1251 include/bits/std_set.h, include/bits/std_sstream.h,
1252 include/bits/std_stack.h, include/bits/std_streambuf.h,
1253 include/bits/std_string.h, include/bits/std_utility.h,
1254 include/bits/std_valarray.h, include/bits/std_vector.h,
1255 include/bits/stl_algo.h, include/bits/stl_alloc.h,
1256 include/bits/stl_bvector.h, include/bits/stl_construct.h,
1257 include/bits/stl_deque.h, include/bits/stl_heap.h,
1258 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
1259 include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
1260 include/bits/stl_map.h, include/bits/stl_multimap.h,
1261 include/bits/stl_multiset.h, include/bits/stl_numeric.h,
1262 include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
1263 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
1264 include/bits/stl_relops.h, include/bits/stl_set.h,
1265 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
1266 include/bits/stl_threads.h, include/bits/stl_tree.h,
1267 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
1268 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
1269 include/bits/stringfwd.h, include/bits/type_traits.h,
1270 include/bits/valarray_array.h, include/bits/valarray_meta.h:
1271 Add hooks, tweak comments only.
1273 * include/bits/stl_algobase.h (swap, min, iter_swap): Also
1274 document these functions.
1275 * include/bits/stl_function.h: Tweak link comments.
1277 2001-11-01 Paolo Carlini <pcarlini@unitus.it>
1278 Benjamin Kosnik <bkoz@redhat.com>
1280 * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
1282 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
1284 2001-11-01 Egor Duda <deo@logos-m.ru>
1286 * config/os/newlib/bits/ctype_noninline.h
1287 (ctype<char>::do_toupper(char __c)): Check for proper character class.
1288 (ctype<char>::do_tolower(char __c)): Ditto.
1290 2001-11-01 Phil Edwards <pme@gcc.gnu.org>
1292 * acinclude.m4: Fix spacing.
1293 (GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro.
1294 * configure.in: Call here.
1295 * acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS.
1296 * include/bits/boost_concept_check.h: Fix headers.
1297 (__function_requires): Make inline.
1298 * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove.
1299 * aclocal.m4: Regenerate.
1300 * config.h.in: Regenerate.
1301 * configure: Regenerate.
1303 Move trailing ';' inside macro, PR libstdc++/3666.
1304 * include/bits/concept_check.h: Add semicolon.
1305 * include/bits/stl_algo.h: Remove semicolon.
1306 * include/bits/stl_algobase.h: Likewise.
1307 * include/bits/stl_deque.h: Likewise.
1308 * include/bits/stl_heap.h: Likewise.
1309 * include/bits/stl_iterator_base_funcs.h: Likewise.
1310 * include/bits/stl_list.h: Likewise.
1311 * include/bits/stl_map.h: Likewise.
1312 * include/bits/stl_multimap.h: Likewise.
1313 * include/bits/stl_multiset.h: Likewise.
1314 * include/bits/stl_numeric.h: Likewise.
1315 * include/bits/stl_queue.h: Likewise.
1316 * include/bits/stl_set.h: Likewise.
1317 * include/bits/stl_stack.h: Likewise.
1318 * include/bits/stl_vector.h: Likewise.
1319 * include/ext/hash_map: Likewise.
1320 * include/ext/hash_set: Likewise.
1321 * include/ext/slist: Likewise.
1323 * src/concept-inst.cc: New file with explicit instantiations.
1324 * src/Makefile.am (sources): Add here, with special build rules.
1325 * src/Makefile.in: Regenerate.
1327 2001-11-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1329 * include/bits/std_complex.h (_Norm_helper): New class template.
1331 (abs): Tweak. Fix Thinko.
1333 2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
1336 * include/bits/codecvt.h: Add virtual member function declarations.
1337 * src/codecvt.cc: Tweaks.
1338 * testsuite/22_locale/codecvt.cc: Test compilation only,
1339 non-required facets not required to have linkage.
1341 2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
1344 * include/bits/std_complex.h (complex::operator/=): Correct sign.
1346 2001-10-30 Paolo Carlini <pcarlini@unitus.it>
1347 Benjamin Kosnik <bkoz@redhat.com>
1350 * include/bits/basic_string.h: Tweaks.
1351 * include/bits/basic_string.tcc (string::_M_replace(iterator,
1352 iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
1353 * src/string-inst.cc: Tweaks, add instantiation.
1354 * testsuite/21_strings/replace.cc (test02): Add test.
1355 * testsuite/21_strings/assign.cc (test01): New file.
1357 2001-10-30 Jakub Jelinek <jakub@redhat.com>
1359 * include/bits/stl_deque.h (_M_new_elements_at_front): Use
1360 __throw_exception_again.
1361 (_M_new_elements_at_back): Likewise.
1363 2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
1366 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1367 * testsuite/27_io/filebuf.cc (test07): New test.
1368 (test03): Modify showmanyc test.
1370 2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
1373 * config/locale/codecvt_specializations_ieee_1003.1-200x.h
1374 (__enc_traits::~__enc_traits): Fix.
1375 (__enc_traits::_M_init): Add error checking.
1377 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1380 * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
1382 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1385 * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
1387 * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
1388 consistent, where possible.
1389 * include/bits/streambuf.tcc: Tweak.
1391 2001-10-25 Brendan Kehoe <brendan@zen.org>
1394 * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
1395 * bits/istream.tcc (seekg): Likewise.
1397 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1398 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1399 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1401 * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
1403 * include/bits/std_limits.h: Fix wchar_t issues.
1404 * config/os/aix/bits/os_defines.h: Fix.
1406 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1408 * include/bits/locale_facets.tcc (collate::do_transform): Fix.
1410 2001-10-25 Phil Edwards <pme@gcc.gnu.org>
1412 * docs/html/documentation.html: Fix typo.
1414 2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
1416 Make -fno-exceptions work.
1417 * config/locale/c_locale_gnu.cc: Use functexcept.
1418 * include/bits/c++config (__stl_assert): Remove.
1419 (__STL_USE_EXCEPTIONS): Same.
1421 (__STL_CATCH_ALL): Same.
1422 (__STL_THROW): Same.
1423 (__STL_RETHROW): Same.
1424 (__STL_NOTHROW): Same.
1425 (__STL_UNWIND): Same.
1426 * include/bits/pthread_allocimpl.h: Fix.
1427 * include/bits/std_bitset.h: Same.
1428 * include/bits/std_list.h: Same.
1429 * include/bits/std_memory.h: Same.
1430 * include/bits/std_queue.h: Same.
1431 * include/bits/stl_alloc.h: Same.
1432 * include/bits/stl_deque.h: Same.
1433 * include/bits/stl_list.h: Same.
1434 * include/bits/stl_queue.h: Same.
1435 * include/bits/stl_tempbuf.h: Same.
1436 * include/bits/stl_tree.h: Same.
1437 * include/bits/stl_uninitialized.h: Same.
1438 * include/bits/stl_vector.h: Same.
1439 * include/ext/ropeimpl.h: Same.
1440 * include/ext/slist: Same.
1441 * include/ext/stl_hashtable.h: Same.
1442 * include/ext/stl_rope.h: Same.
1443 * libsupc++/new_op.cc: Include cstdlib.
1444 * libsupc++/eh_personality.cc: Add exception_defines include. Use
1445 __throw_exception_again, tweak.
1446 * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
1447 * libsupc++/vec.cc: Tweak.
1448 * src/functexcept.cc: Remove unused arguments.
1449 * testsuite/23_containers/bitset_members.cc: Tweak.
1451 2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
1453 * config/cpu/i386/bits/limits.h: Move to...
1454 * config/cpu/i386/bits/cpu_limits.h: ...here.
1455 * config/cpu/cris/bits/cpu_limits.h: Same.
1456 * config/cpu/powerpc/bits/cpu_limits.h: Same.
1457 * config/cpu/x86-64/bits/cpu_limits.h: Same.
1458 * config/cpu/alpha/bits/cpu_limits.h: New.
1459 * config/cpu/m68k/bits/cpu_limits.h: New.
1460 * config/cpu/s390/bits/cpu_limits.h: New.
1461 * config/os/aix/bits/os_defines.h: Tweaks.
1462 * config/os/bsd/freebsd/bits/os_defines.h: Same.
1463 * config/os/bsd/netbsd/bits/os_defines.h: Same.
1464 * config/os/djgpp/bits/os_defines.h: Same.
1465 * config/os/generic/bits/os_defines.h: Same.
1466 * config/os/gnu-linux/bits/os_defines.h: Same.
1467 * config/os/hpux/bits/os_defines.h: Same.
1468 * config/os/irix/irix5.2/bits/os_defines.h: Same.
1469 * config/os/irix/irix6.5/bits/os_defines.h: Same.
1470 * config/os/newlib/bits/os_defines.h: Same.
1471 * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
1472 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1473 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1475 * include/bits/c++config: Remove include.
1476 * include/bits/limits_generic.h: Remove.
1477 * include/bits/std_limits.h: Include cpu_limits.h.
1478 * include/Makefile.am: Fixup.
1479 * src/limits.cc: Tweak.
1480 * src/limits_generic.cc: Remove.
1481 * src/gen-num-limits.cc: Remove.
1482 * mknumeric_limits: Remove.
1484 2001-10-20 Brendan Kehoe <brendan@zen.org>
1486 * bits/type_traits.h (_Bool): Removed this type.
1487 (__true_type, __false_type): Change to be plain structs.
1488 * src/string-inst.cc (__destroy_aux): Change third parm to be
1489 __false_type instead of _Bool<false>.
1490 * src/misc-inst.cc (__uninitialized_fill_n_aux,
1491 __uninitialized_copy_aux): Likewise.
1493 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1495 * mkcheck.in (static_fail): Remove older memory limit functionality.
1496 Disable E_TIME due to formatting issues.
1500 2001-10-19 Brendan Kehoe <brendan@zen.org>
1502 * include/bits/std_complex.h: Default initialize second argument
1503 of polar to 0, as specified in Library DR #79
1505 2001-10-19 Brendan Kehoe <brendan@zen.org>
1507 * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
1508 _Construct instead of construct.
1510 2001-10-19 Brendan Kehoe <brendan@zen.org>
1512 * include/bits/basic_string.tcc (find_first_not_of): Take out check for
1513 __n being non-zero, since the standard does not mandate that.
1514 e.g., a search for "" in "" should yield position 0, not npos.
1515 (find_last_not_of): Likewise.
1517 2001-10-19 Brendan Kehoe <brendan@zen.org>
1519 * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
1520 to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
1522 2001-10-19 Brendan Kehoe <brendan@zen.org>
1524 * include/bits/stl_iterator.h (reverse_iterator::current): Rename
1525 member from _M_current, and change all uses; thus sayeth $24.4.1.1.
1527 2001-10-19 Brendan Kehoe <brendan@zen.org>
1529 * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
1530 template parameter _ValueType.
1532 2001-10-19 Brendan Kehoe <brendan@zen.org>
1534 * include/bits/std_limits.h: Clean up extra semicolons.
1535 * include/bits/locale_facets.h: Likewise.
1536 * include/bits/type_traits.h: Likewise.
1538 2001-10-19 Brendan Kehoe <brendan@zen.org>
1540 * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
1541 * include/bits/locale_facets.tcc (locale::combine): Likewise.
1543 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1545 * include/bits/locale_facets.h (__timepunct::_M_put_helper):
1546 Declare specializations for char, wchar_t.
1548 2001-10-19 Andreas Jaeger <aj@suse.de>
1550 * config/cpu/x86-64/bits/limits.h: New file.
1551 * config/cpu/x86-64/bits/atomicity.h: New file.
1552 * configure.target: Add x86-64.
1554 2001-10-17 Phil Edwards <pme@gcc.gnu.org>
1556 * docs/html/17_intro/howto.html: Remove 1999 links (and explain
1557 why). Add link to recent message.
1558 * docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
1560 * docs/html/faq/index.txt: Regenerate.
1562 2001-10-12 Loren J. Rittle <ljrittle@acm.org>
1564 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
1565 based on Nathan's review. Use Nathan's words.
1567 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1569 * docs/html/configopts.html: Quote StyleSheet attribute values.
1570 * docs/html/documentation.html: Likewise.
1571 * docs/html/explanations.html: Likewise.
1572 * docs/html/install.html: Likewise.
1573 * docs/html/17_intro/howto.html: Likewise.
1574 * docs/html/17_intro/license.html: Likewise.
1575 * docs/html/18_support/howto.html: Likewise.
1576 * docs/html/19_diagnostics/howto.html: Likewise.
1577 * docs/html/20_util/howto.html: Likewise.
1578 * docs/html/21_strings/howto.html: Likewise.
1579 * docs/html/22_locale/howto.html: Likewise.
1580 * docs/html/23_containers/howto.html: Likewise.
1581 * docs/html/24_iterators/howto.html: Likewise.
1582 * docs/html/25_algorithms/howto.html: Likewise.
1583 * docs/html/26_numerics/howto.html: Likewise.
1584 * docs/html/27_io/howto.html: Likewise.
1585 * docs/html/ext/howto.html: Likewise.
1586 * docs/html/ext/sgiexts.html: Likewise.
1587 * docs/html/faq/index.html: Likewise.
1589 2001-10-11 Loren J. Rittle <ljrittle@acm.org>
1591 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
1592 * docs/html/23_containers/howto.html (Containers and multithreading):
1595 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1597 * docs/html/17_intro/howto.html: Tweak markup and value type.
1598 * docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
1599 nonzero arguments, add new note on threading.
1600 * docs/html/faq/index.html: Update.
1601 * docs/html/faq/index.txt: Regenerate.
1603 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1605 * docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
1606 * docs/html/documentation.html: Likewise.
1607 * docs/html/explanations.html: Likewise.
1608 * docs/html/install.html: Likewise.
1609 * docs/html/17_intro/howto.html: Likewise.
1610 * docs/html/17_intro/license.html: Likewise. Tighten up language.
1611 * docs/html/18_support/howto.html: Likewise.
1612 * docs/html/19_diagnostics/howto.html: Likewise.
1613 * docs/html/20_util/howto.html: Likewise.
1614 * docs/html/21_strings/howto.html: Likewise.
1615 * docs/html/22_locale/howto.html: Likewise.
1616 * docs/html/23_containers/howto.html: Likewise.
1617 * docs/html/24_iterators/howto.html: Likewise.
1618 * docs/html/25_algorithms/howto.html: Likewise.
1619 * docs/html/26_numerics/howto.html: Likewise.
1620 * docs/html/27_io/howto.html: Likewise.
1621 * docs/html/ext/howto.html: Likewise.
1622 * docs/html/ext/sgiexts.html: Likewise.
1623 * docs/html/faq/index.html: Likewise. Not so many absolute links.
1624 * docs/html/faq/index.txt: Regenerate.
1626 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
1628 * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
1629 spelling errors of "separate" as "seperate", and corresponding
1630 spelling errors of related words.
1631 * docs/html/faq/index.txt: Regenerate.
1633 2001-10-05 Phil Edwards <pme@gcc.gnu.org>
1635 * config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
1637 * config/cpu/arm/bits/atomicity.h: Likewise.
1638 * config/cpu/generic/bits/atomicity.h: Likewise.
1639 * config/cpu/i486/bits/atomicity.h: Likewise.
1640 * config/cpu/ia64/bits/atomicity.h: Likewise.
1641 * config/cpu/mips/bits/atomicity.h: Likewise.
1642 * config/cpu/powerpc/bits/atomicity.h: Likewise.
1643 * config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
1644 * config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
1646 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1648 * docs/html/faq/index.html: Describe DR #22, and a workaround.
1649 * docs/html/faq/index.txt: Regenerate.
1651 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1653 * docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
1654 * docs/html/17_intro/license.html: New file. Explain the licenses
1657 * docs/html/configopts.html: Link to license.html.
1658 * docs/html/documentation.html: Likewise.
1659 * docs/html/explanations.html: Likewise.
1660 * docs/html/install.html: Likewise.
1661 * docs/html/17_intro/howto.html: Likewise.
1662 * docs/html/18_support/howto.html: Likewise.
1663 * docs/html/19_diagnostics/howto.html: Likewise.
1664 * docs/html/20_util/howto.html: Likewise.
1665 * docs/html/21_strings/howto.html: Likewise.
1666 * docs/html/22_locale/howto.html: Likewise.
1667 * docs/html/23_containers/howto.html: Likewise.
1668 * docs/html/24_iterators/howto.html: Likewise.
1669 * docs/html/25_algorithms/howto.html: Likewise.
1670 * docs/html/26_numerics/howto.html: Likewise.
1671 * docs/html/27_io/howto.html: Likewise.
1672 * docs/html/ext/howto.html: Likewise.
1673 * docs/html/ext/sgiexts.html: Likewise.
1674 * docs/html/faq/index.html: Likewise. New question, linking to
1675 the new license.html.
1677 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1679 * docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
1680 * docs/html/18_support/howto.html: Likewise.
1681 * docs/html/19_diagnostics/howto.html: Likewise.
1682 * docs/html/20_util/howto.html: Likewise.
1683 * docs/html/21_strings/howto.html: Likewise.
1684 * docs/html/22_locale/howto.html: Likewise.
1685 * docs/html/23_containers/howto.html: Likewise.
1686 * docs/html/24_iterators/howto.html: Likewise.
1687 * docs/html/25_algorithms/howto.html: Likewise.
1688 * docs/html/26_numerics/howto.html: Likewise.
1689 * docs/html/27_io/howto.html: Likewise.
1690 * docs/html/ext/howto.html: Likewise.
1691 * docs/html/faq/index.html: Likewise. Spacing fix.
1693 2001-10-03 Dimitris Vyzovitis <vyzo@media.mit.edu>
1695 * include/bits/stl_threads.h (_Atomic_swap): New function.
1696 (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
1697 * testsuite/ext/rope.cc: New file.
1699 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
1701 * config/locale/time_members_gnu.h: Remove.
1702 * config/locale/time_members_generic.h: Remove.
1703 * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
1704 * config/locale/time_members_generic.cc: Same.
1705 * include/bits/locale_facets.h: Add data members.
1706 (__timepunct::_M_put_helper): Change signature.
1707 (__timepunct::_M_date_formats): Same.
1708 (__timepunct::_M_time_formats): Same.
1709 (__timepunct::_M_ampm): Add.
1710 (__timepunct::_M_date_time_formats): Add.
1711 (time_get::_M_extract_via_format): Add.
1712 (time_get::_M_extract_time): Change to...
1713 (time_get::_M_extract_num): ... this, modify signature.
1714 * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
1715 (time_get::do_get_time): Fix.
1716 (time_get::do_get_date): Fix.
1718 * acinclude.m4: Remove CTIME_H.
1719 * aclocal.m4: Regenerate.
1720 * include/Makefile.am: Same.
1721 * include/Makefile.in: Regenerate.
1722 * configure: Regenerate.
1724 * testsuite/22_locale/time_get_members_char.cc: Fix.
1725 * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
1726 * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
1728 2001-10-01 Hans-Peter Nilsson <hp@axis.com>
1730 * config/cpu/cris/bits/atomicity.h: Correct file header.
1732 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
1734 * configure.target (LIMITSH): Set for cris.
1735 (cpu_include_dir): Set for cris-*-*.
1736 * config/cpu/cris/bits/atomicity.h: New file.
1737 * config/cpu/cris/bits/limits.h: New file.
1739 2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
1741 * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
1742 (__timepunct::_M_put_helper): Add.
1743 * config/locale/time_members_generic.h: Same.
1744 * include/bits/locale_facets.h (__match_parallel): Remove. Format.
1745 (__timepunct): Add data members.
1746 (__timepunct::_M_days): Add.
1747 (__timepunct::_M_days_abbreviated): Add.
1748 (__timepunct::_M_months): Add.
1749 (__timepunct::_M_months_abbreviated): Add.
1750 (__timepunct::_M_initialize_timepunct): Add.
1751 * include/bits/locale_facets.tcc: Same.
1752 * src/locale-inst.cc: Remove instantiations for __match_parallel.
1753 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
1754 * aclocal.m4: Regenerate.
1755 * configure: Regenerate.
1756 * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
1757 * testsuite/22_locale/time_put_members_char.cc (test01): New file.
1758 * testsuite/22_locale/time_get.cc: New file.
1760 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1762 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
1763 correct multilib builddir.
1764 Properly locate libgcc_s.
1766 2001-09-27 Phil Edwards <pme@gcc.gnu.org>
1768 * include/std/*: Add Doxygen hooks.
1769 * docs/doxygen/Intro.3: New file, general intro to the man pages.
1770 * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
1771 rather than using a generated index.
1772 * docs/doxygen/user.cfg.in: Disable the index, enable man pages.
1773 * docs/doxygen/run_doxygen: Massage the generated man pages, using...
1774 * docs/doxygen/stdheader.cc: ...this new file.
1776 2001-09-26 Stan Shebs <shebs@apple.com>
1778 * include/Makefile.am: Remove RCS Id strings.
1779 * src/Makefile.am: Ditto.
1780 * docs/doxygen/run_doxygen: Ditto.
1781 * docs/html/configopts.html: Ditto.
1782 * docs/html/documentation.html: Ditto.
1783 * docs/html/explanations.html: Ditto.
1784 * docs/html/install.html: Ditto.
1785 * docs/html/17_intro/howto.html: Ditto.
1786 * docs/html/18_support/howto.html: Ditto.
1787 * docs/html/19_diagnostics/howto.html: Ditto.
1788 * docs/html/20_util/howto.html: Ditto.
1789 * docs/html/21_strings/howto.html: Ditto.
1790 * docs/html/22_locale/howto.html: Ditto.
1791 * docs/html/23_containers/howto.html: Ditto.
1792 * docs/html/24_iterators/howto.html: Ditto.
1793 * docs/html/25_algorithms/howto.html: Ditto.
1794 * docs/html/26_numerics/howto.html: Ditto.
1795 * docs/html/27_io/howto.html: Ditto.
1796 * docs/html/ext/howto.html: Ditto.
1797 * docs/html/ext/sgiexts.html: Ditto.
1798 * docs/html/faq/index.html: Ditto.
1799 * docs/html/faq/index.txt: Ditto.
1801 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
1803 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
1806 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
1808 * docs/html/20_util/howto.html: Add anchor name.
1809 * docs/html/23_containers/howto.html: Line wrapping, another link.
1810 * docs/html/25_algorithms/howto.html: Another note.
1812 * docs/html/ext/howto.html: Link to SGI extensions. List DRs and
1814 * docs/html/ext/lwg-active.html: ...in this new file (from R19),
1815 * docs/html/ext/lwg-defects.html: and this new file (from R19).
1816 * docs/html/ext/sgiexts.html: New file. Mention SGI extensions
1817 carried over to libstdc++-v3.
1818 * docs/html/faq/index.html: Link to SGI extensions. Mention the
1819 "missing .." pseudobug.
1820 * docs/html/faq/index.txt: Regenerate.
1822 * include/bits/ios_base.h: DR-related comment cleanup.
1823 * include/bits/istream.tcc: Likewise.
1824 * include/bits/locale_facets.h: Likewise.
1825 * include/bits/locale_facets.tcc: Likewise.
1826 * include/bits/ostream.tcc: Likewise.
1827 * include/bits/std_bitset.h: Likewise.
1828 * include/bits/std_iosfwd.h: Likewise.
1829 * include/bits/std_istream.h: Likewise.
1830 * include/bits/std_ostream.h: Likewise.
1831 * include/bits/std_streambuf.h: Likewise.
1832 * include/bits/stl_pair.h: Likewise.
1833 * include/bits/streambuf_iterator.h: Likewise.
1835 * include/bits/std_map.h: Remove unused header inclusion guard
1836 _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
1837 * include/bits/std_set.h: Likewise.
1839 * include/bits/stl_function.h: Doxygen markup.
1840 * docs/doxygen/doxygroups.cc: New file, specifying module grouping.
1841 * libsupc++/typeinfo: Doxygen markup tweak.
1843 2001-09-20 Scott Johnston <scott@accom.com>
1844 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1846 * include/backward/alloc.h: Conditionally define malloc_alloc
1847 * testsuite/backward/header_deque_h.cc: New file.
1849 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1851 * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
1852 change variable name so that it works with -fno-for-scope.
1854 2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
1856 * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
1857 redundant sanity checks.
1858 * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
1860 * testsuite/22_locale/money_put_members_char.cc (test01): Same.
1862 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
1863 * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
1864 * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
1866 * testsuite/22_locale/money_get_members_char.cc (test01): Same.
1869 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
1871 Implement std::time_put.
1872 * include/bits/locale_facets.h: Include time_members.h.
1874 (time_put): Implement.
1875 * include/bits/locale_facets.tcc (do_put): Put generic versions here.
1876 * include/bits/localefwd.h: Bump number of facets.
1877 * config/locale/time_members_generic.h: New file.
1878 * config/locale/time_members_gnu.h: New file.
1879 * config/locale/c_locale_generic.h: Include clocale.
1880 * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
1881 * src/locale.cc: Add __timepunct initializations.
1882 * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
1883 * include/Makefile.am (stamp-target): Add time_members.h.
1884 * include/Makefile.in: Regenerate.
1885 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
1886 * aclocal.m4: Regenerate.
1887 * configure: Regenerate.
1888 * testsuite/22_locale/time_put.cc: New file.
1889 * testsuite/22_locale/time_put_members_char.cc: New file.
1891 * docs/html/22_locale/locale.html: Add note.
1893 2001-09-17 Phil Edwards <pme@gcc.gnu.org>
1895 * docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
1896 * docs/html/documentation.html: Likewise.
1897 * docs/html/explanations.html: Likewise.
1898 * docs/html/install.html: Likewise.
1899 * docs/html/17_intro/howto.html: Likewise.
1900 * docs/html/18_support/howto.html: Likewise.
1901 * docs/html/19_diagnostics/howto.html: Likewise.
1902 * docs/html/20_util/howto.html: Likewise.
1903 * docs/html/21_strings/howto.html: Likewise.
1904 * docs/html/22_locale/codecvt.html: Likewise.
1905 * docs/html/22_locale/ctype.html: Likewise.
1906 * docs/html/22_locale/howto.html: Likewise.
1907 * docs/html/22_locale/locale.html: Likewise.
1908 * docs/html/22_locale/messages.html: Likewise.
1909 * docs/html/23_containers/howto.html: Likewise.
1910 * docs/html/24_iterators/howto.html: Likewise.
1911 * docs/html/25_algorithms/howto.html: Likewise.
1912 * docs/html/26_numerics/howto.html: Likewise.
1913 * docs/html/27_io/howto.html: Likewise.
1914 * docs/html/ext/howto.html: Likewise.
1915 * docs/html/faq/index.html: Likewise.
1916 * docs/html/faq/index.txt: Regenerated.
1918 2001-09-14 Phil Edwards <pme@sources.redhat.com>
1920 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
1921 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
1922 * docs/html/18_support/howto.html: It won't compile; it's not code.
1923 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
1925 * docs/html/22_locale/howto.html: Comment for future work.
1926 * docs/html/23_containers/howto.html: More comments.
1927 * docs/html/25_algorithms/howto.html: It's a comment, not a
1928 blunt command to the reader. (English grammar.)
1930 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
1932 * config/locale/moneypunct_members_gnu.cc: Fix initialization of
1934 * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
1935 * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
1937 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
1939 * include/bits/locale_facets.tcc: Conditionalize use of strtold.
1941 2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
1943 * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
1944 * testsuite/22_locale/money_put_members_char.cc: Likewise.
1945 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1947 2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
1949 Implement std::money_get.
1950 * include/bits/locale_facets.tcc (money_get::do_get): Implement.
1951 * include/bits/locale_facets.h (money_get): Correct signatures.
1952 * testsuite/22_locale/money_get.cc: New file.
1953 * testsuite/22_locale/money_get_members_char.cc: New file.
1955 * include/bits/locale_facets.tcc (__verify_grouping): New
1956 function. Consolidate num_get and money_get group checking into
1958 (money_get): Use it.
1959 * src/locale.cc (num_get::_M_extract): Use it.
1960 * src/locale-inst.cc: Add instantiation.
1962 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1964 * include/bits/std_limits.h (numeric_limits<float>::radix,
1965 numeric_limits<float>::epsilon: Fix thinko.
1967 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1969 * configure.in: Fix cross compiling math routines. Correct
1970 comments for cross compiling and limits. Add floating point math
1971 routines found in newlib.
1972 * configure: Regenerate.
1973 * acconfig.h: Add macros.
1974 * config.h.in: Regenerate.
1976 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1978 * config/locale/moneypunct_members_generic.cc
1979 (money_base::_S_construct_pattern): Remove unused parameters.
1981 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1983 * include/Makefile.am (stamp-target): Remove link to self.
1984 * inclulde/Makefile.in: Regenerate.
1986 2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
1988 Implement std::money_put.
1989 * include/bits/locale_facets.h
1990 (moneypunct::_M_initialize_moneypunct): Split up specializations
1991 to account for _Intl. More grody hacking to get around the
1992 ill-considered use of const bool as a template parameter.
1993 * config/locale/moneypunct_members_gnu.cc: And here.
1994 * config/locale/moneypunct_members_generic.cc: And here.
1995 * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
1996 * testsuite/22_locale/moneypunct.cc: Add tests.
1997 * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
1998 * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
2000 * src/locale.cc (money_base::_S_construct_pattern): Move into
2002 * config/locale/moneypunct_members_gnu.cc: Add here.
2003 * config/locale/moneypunct_members_generic.cc: Add generic version
2006 * include/bits/locale_facets.tcc (money_put::do_put): Move member
2007 function definitions here.
2008 * include/bits/locale_facets.h (money_put): Implement.
2009 * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
2010 Correct money_get, money_put instantiations.
2011 * src/locale.cc (money_base::_S_construct_pattern): Handle case
2013 * testsuite/22_locale/money_put_members_char.cc: Add tests.
2015 2001-09-05 Phil Edwards <pme@sources.redhat.com>
2017 * testsuite_flags.in: No longer need to search testsuite builddir.
2018 * src/stl-inst.cc (__sink_unused_warning): Unused, remove.
2019 * Makefile.am: The testsuite directory never needs to be made here.
2020 * Makefile.in: Regenerate.
2021 * include/Makefile.in: Regenerate.
2022 * libio/Makefile.in: Regenerate.
2023 * libmath/Makefile.in: Regenerate.
2024 * libsupc++/Makefile.in: Regenerate.
2025 * po/Makefile.in: Regenerate.
2026 * src/Makefile.in: Regenerate.
2027 * testsuite/Makefile.in: Regenerate.
2029 2001-09-04 Scott Johnston <scott@accom.com>
2030 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2032 * include/backward/iterator.h: Include <bits/std_iterator.h>,
2033 remove reverse_bidirectional_iterator.
2034 * testsuite/backward: New directory.
2035 * testsuite/backward/header_iterator_h.cc: New file.
2037 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
2039 * include/c_std/bits/std_c*.h: Don't use include_next.
2041 2001-09-03 Richard Sandiford <rsandifo@redhat.com>
2043 * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
2044 tmp from _Unwind_Ptr to _Unwind_Word.
2046 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
2048 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
2051 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
2053 * include/Makefile.am: Use toplevel_srcdir to refer to src files
2054 outside this component.
2055 * include/Makefile.in: Regenerate.
2057 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
2059 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
2060 * config/locale/c_locale_generic.cc: Same.
2061 * config/locale/moneypunct_members_gnu.cc: New file.
2062 * config/locale/moneypunct_members_generic.cc: New file.
2063 * config/locale/numpunct_members_gnu.cc: New file.
2064 * config/locale/numpunct_members_generic.cc: New file.
2065 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
2067 * aclocal.m4: Regenerate.
2068 * configure: Regenerate.
2069 * src/Makefile.am (sources): And here.
2070 * src/Makefile.in: Regenerate.
2072 Rename for consistency with rest of testsuite.
2073 * testsuite/22_locale/codecvt.cc: New file.
2074 * testsuite/22_locale/money_put.cc: New file.
2075 * testsuite/22_locale/money_put_members_char.cc: New file.
2077 2001-08-27 Phil Edwards <pme@sources.redhat.com>
2080 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
2081 correctly for version-specific-runtime-libs.
2082 * aclocal.m4: Regenerate.
2083 * configure: Regenerate.
2085 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
2087 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
2088 define if not already provided by per-OS file.
2089 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
2092 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
2094 * docs/html/17_intro/C++STYLE: Fix typo.
2096 2001-08-24 Phil Edwards <pme@sources.redhat.com>
2098 * docs/html/23_containers/howto.html: Describe implementation of
2099 insertion with hints.
2101 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
2104 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
2106 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2107 Phil Edwards <pme@sources.redhat.com>
2110 * include/bits/stl_tree.h (insert_unique): Revert last change.
2111 Values inserted at begin() must be less, not greater, than *begin()'s.
2112 * testsuite/23_containers/map_insert.cc: New file.
2114 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
2116 * config/locale/c_locale_gnu.cc: Minor tweaks.
2117 (moneypunct<wchar_t>): Implement.
2118 * include/bits/locale_facets.h: Same.
2119 * testsuite/22_locale/moneypunct.cc: New file.
2120 * testsuite/22_locale/moneypunct_byname.cc: New file.
2121 * testsuite/22_locale/moneypunct_char_members.cc: New file.
2123 2001-08-23 David Edelsohn <edelsohn@gnu.org>
2125 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
2126 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
2128 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
2130 * testsuite_flags.in (build-includes): Re-add backward.
2132 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
2134 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
2135 with _GLIBCPP_USE_WCHAR_T.
2137 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
2139 * testsuite/22_locale/collate_byname.cc (test01): Fix.
2141 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
2143 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
2145 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
2147 * testsuite/22_locale/operators.cc: Add test.
2149 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
2151 Implement std::collate.
2152 * config/locale/collate_specializations_gnu.cc: Add here, implement in
2154 * config/locale/collate_specializations_generic.cc: Add here, but
2155 in a less sophisticated manner.
2156 * include/bits/locale_facets.tcc (collate): Add generic definition.
2157 * include/bits/locale_facets.h (~collate): Mark virtual.
2158 (collate::_M_compare_helper): New.
2159 (collate::_M_transform_helper): New.
2160 * src/locale.cc: Remove unnecessary specializations.
2161 * src/string-inst.cc: Tweak instantiation of ctors.
2163 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
2164 * aclocal.m4: Regenerate.
2165 * configure: Regenerate.
2166 * src/Makefile.am (sources): Add collate.cc.
2167 * src/Makefile.in: Regenerate.
2169 * testsuite/22_locale/collate_byname.cc: New.
2170 * testsuite/22_locale/collate.cc: New file.
2171 * testsuite/22_locale/collate_char_members.cc: New file.
2172 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
2174 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2176 * configure.target: Set LIMITSH for powerpc-*-*.
2177 * config/cpu/powerpc/bits/limits.h: New file.
2179 2001-08-16 Marc Espie <espie@openbsd.org>
2181 * configure.in: Check for <sys/types.h>.
2182 * configure: Rebuild.
2183 * config.h.in: Rebuild.
2184 * libmath/mathconf.h: Include <sys/types.h> prior to
2185 <machine/endian.h> if available.
2187 2001-08-15 Andreas Schwab <schwab@suse.de>
2189 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
2190 m68k and m680[246]0.
2191 * config/cpu/m68k/bits/atomicity.h: New file.
2193 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
2194 Define appropriate long double limits for m68k extended floating
2196 (__glibcpp_f32_digits10): Corrected, off by one.
2197 (__glibcpp_f80_digits10): Likewise.
2198 (__glibcpp_f128_digits10): Likewise.
2199 * config/os/gnu-linux/bits/os_defines.h
2200 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
2202 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2204 * testsuite/18_support/numeric_limits.cc: Add more tests.
2205 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
2208 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
2210 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
2213 * config/cpu/s390/bits/atomicity.h: New.
2215 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
2217 * include/bits/std_limits.h: Fix thinko.
2219 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
2221 * include/Makefile.am: Consolidate target rules. Don't clean stamp
2222 files. Tweak target build directory stamp.
2223 * include/Makefile.in: Regenerate.
2225 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2227 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
2228 _GBLICPP_HAVE_LOGL with HAVE_LOGL
2230 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
2232 * configure.in (libtool_VERSION): Add.
2233 (VERSION): Change to
2234 (release_VERSION): This.
2235 * configure: Regenerate.
2236 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
2238 * src/Makefile.in: Regenerate.
2240 * intl/Makefile.am: Remove.
2241 * intl/Makefile.in: Remove.
2243 * Makefile.am (SUBDIRS): Remove intl.
2244 * po/Makefile.am (DISTFILES): Add string_literals.cc
2246 * po/string_literals.cc: Add.
2247 * po/POTFILES.in: Fix path.
2248 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
2249 * aclocal.m4: Regenerate.
2250 * configure.in: Remove AC_OUTPUT of intl/Makefile.
2252 * include/backward/backward_warning.h: Clarify message.
2254 * testsuite_flags.in (--cxxflags): Use same debug flags for
2255 library and testsuite.
2257 * include/Makefile.am (c_compatibility): Remove.
2258 * include/Makefile.in: Regenerate.
2260 2001-08-13 Mark Mitchell <mark@codesourcery.com>
2262 * configure.in (LIMITS_INC_SRCDIR): New variable.
2263 * configure.target (LIMITSH): New variable.
2264 * porting.texi: Discuss numeric limits.
2265 * config/cpu/generic/bits/limits.h: New file.
2266 * config/cpu/i386/bits/limits.h: New file.
2267 * include/Makefile.am: Install bits/limits.h.
2268 * include/bits/c++config: Include bits/limits.h.
2270 2001-08-13 H.J. Lu (hjl@gnu.org)
2272 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
2274 (libstdc++-v3-init ): Use it.
2276 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2278 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
2279 to '__adjust' to avoid shadowing in nested scope.
2281 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2283 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
2286 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
2288 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
2291 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
2293 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
2294 dummy default argument to the non-limit implementation.
2297 * include/Makefile.am: Use relative file path in rule to allow
2299 * include/Makefile.in: Rebuilt.
2301 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
2303 * include/bits/std_complex.h (complex<long double>::operator*=,
2304 complex<long double>::operator/=): Fix thinko.
2306 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2308 * include/bits/std_limits.h: New file.
2309 * include/Makefile.am (bits_headers): Add std_limits.h
2310 (all-local): std_limits.h is no longer built.
2311 (${target_builddir}/std_limits.h): Remove.
2312 * include/Makefile.in: Regenerate.
2313 * src/limits.cc: New file.
2314 * src/Makefile.am (sources): Add limits.cc in replacement of
2316 * src/Makefile.in: Regenerate.
2318 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2320 * src/gen-num-limits.cc (digits10): Fix thinko.
2322 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2324 * po/Makefile.am (check-no): Add.
2326 * po/Makefile.in: Regenerate.
2328 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2330 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
2331 * config.h.in: Regenerate.
2332 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
2334 * aclocal.m4: Regenerate.
2335 * configure.in: Remove duplicate AM_CONFIG_HEADER.
2336 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
2337 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
2338 * configure: Regenerate.
2339 * testsuite_hooks.h.in: Move to...
2340 * testsuite_hooks.h: Here, include c++config.h. Use it.
2342 * Makefile.am (SUBDIRS): Move testsuite to last directory.
2343 * Makefile.in: Regenerate.
2344 * po/Makefile.am (stamp-po): Add.
2346 2001-08-09 David Edelsohn <edelsohn@gnu.org>
2348 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
2349 * config/os/generic/bits/os_defines.h: Likewise.
2350 * config/os/gnu-linux/bits/os_defines.h: Likewise.
2351 * config/os/hpux/bits/os_defines.h: Likewise.
2352 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
2353 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2355 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
2357 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
2358 -version-info, use substituted VERSION info.
2359 * src/Makefile.in: Regenerate.
2361 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
2363 Implement std::messages.
2364 Make config a fully-nested directory.
2365 * config/locale: New directory.
2366 * config/c_locale_generic.cc: Move into locale subdirectory.
2367 * config/c_locale_generic.h: Same.
2368 * config/c_locale_gnu.cc: Same.
2369 * config/c_locale_gnu.h: Same.
2370 * config/c_locale_ieee_1003.1-200x.cc: Same.
2371 * config/c_locale_ieee_1003.1-200x_.h: Same.
2372 * config/codecvt_specializations_generic.h: Same.
2373 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
2374 * config/messages_members_gnu.h: Same.
2375 * config/messaages_members_gnu.cc: Same.
2376 * config/messages_members_generic.h: Same.
2377 * config/messaages_members_generic.cc: Same.
2378 * config/messages_members_ieee_1003.1-200x.h: Same.
2379 * config/messaages_members_ieee_1003.1-200x.cc: Same.
2380 * config/io: New directory.
2381 * config/basic_file_libio.h: Move into io subdirectory.
2382 * config/basic_file_libio.cc: Same.
2383 * config/c_io_libio.h: Same.
2384 * config/c_io_libio_codecvt.c: Same.
2385 * config/basic_file_stdio.h: Same.
2386 * config/basic_file_stdio.cc: Same.
2387 * config/c_io_stdio.h: Same.
2389 * po: New directory.
2390 * po/POTFILES.in: New file.
2391 * po/Makefile.am: New file.
2392 * po/Makefile.in: New file.
2393 * po/libstdc++.pot: Generic translation file.
2394 * po/fr.po: Preliminary French translation.
2395 * po/de.po: Preliminary German translation.
2396 * intl: New directory.
2397 * intl/Makefile.am: New file.
2398 * intl/Makefile.in: New file.
2399 * intl/string_literals.cc: New file.
2400 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
2401 requisite setup for gettext. Re-arrange.
2402 * aclocal.m4: Regenerate.
2403 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
2404 Output Makefile bits for po and intl.
2405 * configure: Regenerate.
2406 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
2407 * Makefile.in: Regenerate.
2408 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
2409 * config.h.in: Regenerate.
2411 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
2413 * include/Makefile.am (install-data-local): Don't install Makefile.
2414 * include/Makefile.in: Regenerate.
2416 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
2418 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
2419 * config/locale/c_locale_generic.cc: Same.
2420 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
2422 * include/bits/codecvt.h: Excise non-standard, non-required
2423 bits. This includes __enc_traits, and partial specializations of
2424 codecvt for __enc_traits.
2425 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
2426 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
2427 * config/codecvt_partials_generic.h: New file.
2428 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
2429 (stamp-codecvt_model): Add.
2430 * include/Makefile.in: Regenerate.
2431 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
2432 * aclocal.m4: Regenerate.
2433 * configure: Regenerate.
2434 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
2435 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
2436 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
2438 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
2439 as a friend for _S_*_c_locale functions.
2440 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
2441 argument to default constructor so that CODESET information can be
2443 * include/bits/locale_facets.h (messages_byname):
2444 Re-implement. Remove specializations.
2445 * src/locale.cc (messages_byname<char>): Remove specialization.
2446 (messages_byname<wchar_t>): Same.
2447 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
2448 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
2449 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
2450 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
2451 * config/locale/messages_members_gnu.cc: New file.
2452 * config/locale/messages_members_gnu.h: New file.
2453 * config/locale/messages_members_generic.cc: New file.
2454 * config/locale/messages_members_generic.h: New file.
2456 * docs/html/configopts.html: Add documentation for new locale
2457 model, ieee_1003.1. Adjust other flags for current defaults.
2458 * docs/html/22_locale/locale.html: Update.
2459 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
2460 * docs/html/22_locale/messages.html: New.
2462 * src/Makefile.am (sources): Add messages_virtuals.cc.
2463 * src/Makefile.in: Regenerate.
2464 * include/Makefile.am (allstamps): Add stamp-messages_model.
2465 (stamp-messages_model): Add.
2466 * include/Makefile.in: Regenerate.
2467 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
2468 * aclocal.m4: Regenerate.
2469 * configure: Regenerate.
2471 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
2472 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
2474 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
2475 build directories message catalog base directory, and export.
2476 Eventually this should probably be made to deal with build and
2477 install directories. For now, punt on this as the library itself
2478 doesn't use message catalogs (yet).
2479 * testsuite/22_locale/messages.cc: New file.
2480 * testsuite/22_locale/messages_char_members.cc: New file.
2481 * testsuite/22_locale/messages_byname.cc: New file.
2483 2001-08-06 Phil Edwards <pme@sources.redhat.com>
2485 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
2486 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
2487 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
2488 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
2489 Call GLIBCPP_CONFIGURE_TESTSUITE.
2490 * aclocal.m4: Regenerate.
2491 * config.h.in: Regenerate.
2492 * configure: Regenerate.
2494 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
2497 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
2498 * testsuite/debug_assert.h: Removed; contents merged into...
2499 * testsuite/testsuite_hooks.h.in: ...here. New file.
2500 * testsuite/17_intro/header_ciso646.cc: No longer include
2501 debug_assert.h, include testsuite_hooks.h instead.
2502 * testsuite/17_intro/header_fstream.cc: Likewise.
2503 * testsuite/17_intro/header_iomanip.cc: Likewise.
2504 * testsuite/17_intro/header_ios.cc: Likewise.
2505 * testsuite/17_intro/header_iosfwd.cc: Likewise.
2506 * testsuite/17_intro/header_iostream.cc: Likewise.
2507 * testsuite/17_intro/header_istream.cc: Likewise.
2508 * testsuite/17_intro/header_ostream.cc: Likewise.
2509 * testsuite/17_intro/header_sstream.cc: Likewise.
2510 * testsuite/17_intro/header_streambuf.cc: Likewise.
2511 * testsuite/18_support/numeric_limits.cc: Likewise.
2512 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
2513 * testsuite/20_util/allocator_members.cc: Likewise.
2514 * testsuite/20_util/auto_ptr.cc: Likewise.
2515 * testsuite/20_util/pairs.cc: Likewise.
2516 * testsuite/21_strings/append.cc: Likewise.
2517 * testsuite/21_strings/capacity.cc: Likewise.
2518 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
2519 * testsuite/21_strings/compare.cc: Likewise.
2520 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
2521 call to (disabled) __set_testsuite_memlimit() wrapper.
2522 * testsuite/21_strings/element_access.cc: Likewise.
2523 * testsuite/21_strings/find.cc: Likewise.
2524 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
2525 (disabled) __set_testsuite_memlimit() wrapper.
2526 * testsuite/21_strings/inserters_extractors.cc: Likewise.
2527 * testsuite/21_strings/invariants.cc: Likewise.
2528 * testsuite/21_strings/nonmember.cc: Likewise.
2529 * testsuite/21_strings/operations.cc: Likewise.
2530 * testsuite/21_strings/replace.cc: Likewise.
2531 * testsuite/21_strings/rfind.cc: Likewise.
2532 * testsuite/21_strings/substr.cc: Likewise.
2533 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
2534 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
2535 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
2536 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
2537 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
2538 * testsuite/22_locale/ctype_char_members.cc: Likewise.
2539 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
2540 * testsuite/22_locale/facet.cc: Likewise.
2541 * testsuite/22_locale/global_templates.cc: Likewise.
2542 * testsuite/22_locale/members.cc: Likewise.
2543 * testsuite/22_locale/numpunct_byname.cc: Likewise.
2544 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
2545 * testsuite/22_locale/operators.cc: Likewise.
2546 * testsuite/22_locale/static_members.cc: Likewise.
2547 * testsuite/23_containers/bitset_ctor.cc: Likewise.
2548 * testsuite/23_containers/bitset_members.cc: Likewise.
2549 * testsuite/23_containers/bitset_shift.cc: Likewise.
2550 * testsuite/23_containers/vector_capacity.cc: Likewise.
2551 * testsuite/23_containers/vector_ctor.cc: Likewise.
2552 * testsuite/23_containers/vector_element_access.cc: Likewise.
2553 * testsuite/23_containers/vector_modifiers.cc: Likewise.
2554 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
2555 * testsuite/24_iterators/iterator.cc: Likewise.
2556 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
2557 * testsuite/25_algorithms/binary_search.cc: Likewise.
2558 * testsuite/25_algorithms/copy.cc: Likewise.
2559 * testsuite/25_algorithms/heap.cc: Likewise.
2560 * testsuite/25_algorithms/lower_bound.cc: Likewise.
2561 * testsuite/25_algorithms/min_max.cc: Likewise.
2562 * testsuite/25_algorithms/partition.cc: Likewise.
2563 * testsuite/25_algorithms/rotate.cc: Likewise.
2564 * testsuite/25_algorithms/sort.cc: Likewise.
2565 * testsuite/26_numerics/c_math.cc: Likewise.
2566 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
2567 * testsuite/26_numerics/complex_value.cc: Likewise.
2568 * testsuite/27_io/filebuf.cc: Likewise.
2569 * testsuite/27_io/filebuf_members.cc: Likewise.
2570 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
2571 * testsuite/27_io/fpos.cc: Likewise.
2572 * testsuite/27_io/fstream_members.cc: Likewise.
2573 * testsuite/27_io/ifstream_members.cc: Likewise.
2574 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
2575 * testsuite/27_io/ios_base_members_static.cc: Likewise.
2576 * testsuite/27_io/ios_base_storage.cc: Likewise.
2577 * testsuite/27_io/ios_ctor.cc: Likewise.
2578 * testsuite/27_io/ios_init.cc: Likewise.
2579 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
2580 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
2581 * testsuite/27_io/ios_members.cc: Likewise.
2582 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
2583 * testsuite/27_io/istream_extractor_char.cc: Likewise.
2584 * testsuite/27_io/istream_extractor_other.cc: Likewise.
2585 * testsuite/27_io/istream_manip.cc: Likewise.
2586 * testsuite/27_io/istream_seeks.cc: Likewise.
2587 * testsuite/27_io/istream_sentry.cc: Likewise.
2588 * testsuite/27_io/istream_unformatted.cc: Likewise.
2589 * testsuite/27_io/istringstream_members.cc: Likewise.
2590 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
2591 * testsuite/27_io/ofstream_members.cc: Likewise.
2592 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
2593 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
2594 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
2595 * testsuite/27_io/ostream_manip.cc: Likewise.
2596 * testsuite/27_io/ostream_seeks.cc: Likewise.
2597 * testsuite/27_io/ostream_unformatted.cc: Likewise.
2598 * testsuite/27_io/ostringstream_members.cc: Likewise.
2599 * testsuite/27_io/streambuf.cc: Likewise.
2600 * testsuite/27_io/stringbuf.cc: Likewise.
2601 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
2602 * testsuite/27_io/stringstream.cc: Likewise.
2603 * testsuite/27_io/stringstream_members.cc: Likewise.
2604 * testsuite/27_io/wide_stream_objects.cc: Likewise.
2606 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
2608 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
2610 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
2612 * configure.target: Remove mips from cpu table.
2613 * config/cpu/mips/bits/atomicity.h: Remove generic
2614 versions. Comment sgidefs include.
2616 2001-07-25 H.J. Lu <hjl@gnu.org>
2618 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
2621 * config/cpu/mips/bits/atomicity.h: New.
2623 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2625 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
2626 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
2627 * aclocal.m4: Regenerate.
2628 * config.h.in: Likewise.
2629 * configure: Likewise.
2630 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
2631 (EXTRA_DIST): Remove hypot.c hypotf.c.
2632 * libmath/Makefile.am: Regenerate.
2633 * libmath/hypotf.c: Remove.
2634 * libmath/hypot.c: Likewise.
2635 * libmath/hypotl.c: Likewise.
2636 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
2637 _GLIBCPP_HAVE_xxx. Add long double versions.
2639 2001-07-23 David Edelsohn <edelsohn@gnu.org>
2641 * include/bits/limits_generic.h (int): Set digits and digits10
2642 appropriately for word size.
2643 (unsigned int,long,unsigned long): Likewise.
2645 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2647 * include/bits/stl_algo.h : Fix typos.
2648 * testsuite/25_algorithms/unique.cc: New file.
2650 2001-07-19 Phil Edwards <pme@sources.redhat.com>
2651 Mark Mitchell <mark@codesourcery.com>
2653 Merge from cp-parser-branch.
2654 * include/bits/basic_string.h: Qualify symbols with 'template'.
2655 * include/bits/basic_string.tcc: Likewise.
2656 * include/bits/fstream.tcc: Likewise.
2657 * include/bits/istream.tcc: Likewise.
2658 * include/bits/sstream.tcc: Likewise.
2659 * include/bits/std_istream.h: Likewise.
2660 * include/bits/stl_iterator.h: Likewise.
2661 * include/bits/streambuf.tcc: Likewise.
2662 * src/gen-num-limits.cc: Add 'template<>' to specializations.
2663 * src/locale.cc: Likewise.
2665 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2666 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
2668 * src/gen-num-limits.cc (set_signals_handler): New function.
2669 Factor out signals setting. Set signal handler for SIGILL.
2671 2001-07-18 Phil Edwards <pme@sources.redhat.com>
2673 * docs/html/27_io/howto.html: Fix typo.
2674 * docs/html/faq/index.html: Minor updates for 3.0 all around.
2675 * docs/html/faq/index.txt: Regenerated.
2677 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
2678 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
2681 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
2682 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
2684 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
2686 All occurrences of the __value_type() and __distance_type()
2687 functions, which were required to support the HP STL, have been
2688 removed along with all the auxiliary forwarding functions that
2689 were required to support their use.
2691 The __iterator_category() function was pretty much left alone
2692 because there was no benefit to removing it and its use made code
2693 just a little more readable.
2695 Incidences of distance() with nonstandard argument list were
2696 replaced by calls to the standard function (only in the files
2697 affected by the removal of the other HP functions).
2699 The signature of the rotate() algorithm was changed to match the
2702 Headers were reformatted under C++STYLE guidelines (indentation,
2703 linebreaks, typename keyword).
2705 * include/bits/stl_algo.h: replaced __value_type() and
2706 __distance_type() with iterator_traits, eliminated auxiliary
2707 support functions required to support said function usage.
2708 Changed nonstandard distance() call to standard call.
2710 * include/bits/stl_algobase.h: Same.
2711 * include/bits/stl_heap.h: Same.
2712 * include/bits/stl_numeric.h: Same.
2713 * include/bits/stl_uninitialized.h: Same.
2714 * include/bits/stl_iterator_base_types.h (__value_type()):
2716 (__distance_type()): Removed.
2717 (value_type()): Gone.
2718 (distance_type()): Done in.
2719 (iterator_category()): Hasta la vista, baby.
2721 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
2722 Replaced with __iterator_category().
2723 * include/backward/iterator.h: moved definition of value_type(),
2724 distance_type(), and iterator_category() out of std:: and into
2726 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
2727 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
2728 * testsuite/25_algorithms/rotate.cc: New testcase.
2729 * testsuite/25_algorithms/copy.cc: New testcase.
2730 * testsuite/25_algorithms/sort.cc: Same.
2731 * testsuite/25_algorithms/heap.cc: Same.
2732 * testsuite/25_algorithms/partition.cc: Same.
2733 * testsuite/25_algorithms/binary_search.cc: Same.
2734 * testsuite/26_numerics/sum_diff.cc: Ditto.
2736 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
2738 * testsuite/README: Add notes on naming test cases.
2739 * testsuite/22_locale/members.cc: Mark as xfail.
2740 * testsuite/22_locale/numpunct_char_members.cc: Same.
2742 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
2744 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
2745 setting C_INCLUDE_DIR.
2746 * configure.in: Revert yesterday's LN_S change.
2747 * aclocal.m4: Regenerate.
2748 * configure: Regenerate.
2750 2001-07-15 Phil Edwards <pme@sources.redhat.com>
2752 * configure.in: Temporarily force LN_S to copy instead of symlink.
2753 * configure: Regenerate.
2755 2001-07-13 Phil Edwards <pme@sources.redhat.com>
2757 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
2758 Initialize _M_string with pointer-and-size constructor, not just
2759 pointer. Fix some comments.
2760 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
2761 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
2762 (test03): Add embedded-NUL tests.
2764 * mkcheck.in: When printing totals, match the order of the tests.
2765 * include/bits/stringfwd.h: Use same declaration keywords.
2766 * include/bits/std_iosfwd.h: Cosmetic spacing.
2768 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
2769 Loren J. Rittle <ljrittle@acm.org>
2770 Phil Edwards <pme@sources.redhat.com>
2772 * include/Makefile.am: New file encapsulating header generation rules.
2773 * Makefile.am (SUBDIRS): Prepend 'include' directory.
2774 * acinclude.m4: Moved/removed rules for building various headers.
2775 * configure.in (AC_OUTPUT): Add include/Makefile.
2776 * mkc++config: Removed.
2778 * testsuite_flags.in: Changed build-includes to match new scheme.
2779 * mknumeric_limits: Likewise.
2780 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
2781 * libmath/Makefile.am: Likewise.
2782 * libsupc++/Makefile.am: Likewise.
2783 * src/Makefile.am: Likewise; removed rules to build headers.
2784 * libmath/mathconf.h: Changed #include'd header names to match.
2785 * libmath/stubs.c: Likewise.
2786 * src/gen-num-limits.cc: Likewise.
2788 * configure: Regenerated.
2789 * config.h.in: Regenerated.
2790 * aclocal.m4: Regenerated.
2791 * Makefile.in: Regenerated.
2792 * include/Makefile.in: Regenerated.
2793 * libio/Makefile.in: Regenerated.
2794 * libmath/Makefile.in: Regenerated.
2795 * libsupc++/Makefile.in: Regenerated.
2796 * src/Makefile.in: Regenerated.
2797 * testsuite/Makefile.in: Regenerated.
2799 2001-07-11 Felix Natter <fnatter@gmx.net>
2801 * docs/html/17_intro/porting-howto.xml: Initial checkin of
2803 * docs/html/17_intro/porting-howto.html: check in v0.9.3
2805 2001-07-11 Phil Edwards <pme@sources.redhat.com>
2807 * docs/doxygen/run_doxygen: Don't keep output from previous run.
2808 * docs/doxygen/user.cfg.in: Tweaks.
2809 * include/bits/c++config: Documentation comments for Doxygen.
2810 * include/bits/char_traits.h: Likewise.
2811 * include/bits/limits_generic.h: Likewise.
2812 * include/bits/std_stdexcept.h: Likewise.
2813 * include/bits/stl_pair.h: Likewise.
2814 * libsupc++/exception: Likewise.
2815 * libsupc++/new: Likewise.
2816 * libsupc++/typeinfo: Likewise.
2817 * libmath/Makefile.am: Update and correct copyright.
2819 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2821 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
2822 * aclocal.m4: Regenerate.
2825 2001-07-09 Phil Edwards <pme@sources.redhat.com>
2827 * docs/html/configopts.html: Fix thinko.
2828 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
2829 * include/bits/stl_iterator.h: Fix typo.
2831 2001-07-09 Phil Edwards <pme@sources.redhat.com>
2833 * docs/html/explanations.html: New file.
2834 * docs/html/configopts.html: Link to it to provide more notes
2835 on cstdio. Minor markup and spacing fixes.
2836 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
2838 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
2840 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
2841 for _Expr template template argument.
2842 (_Expr::operator-): Likewise.
2843 (_Expr::operator~): Likewise.
2844 (_Expr::operator!): Likewise.
2845 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
2847 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2849 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
2850 * libmath/Makefile.in: Regenerate.
2851 * libmath/expf.c: Remove.
2852 * libmath/atan2f.c: Likewise.
2854 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
2856 * configure.in: Remove NATIVE, NULL_TARGET.
2857 Set CANADIAN only for Canadian crosses. Set xcompiling
2858 for both Canadian crosses and host-x-host crosses.
2859 * configure: Regenerated.
2861 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2863 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
2865 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
2867 * testsuite_flags.in (--build-includes): backward, not backwards.
2869 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
2871 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
2872 Replace destroy by _Destroy.
2873 (_Rope_RopeRep::_S_free_string): Likewise.
2874 (rope::c_str()): Likewise.
2875 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
2876 (_Slist_base::_M_erase_after): Likewise.
2877 (slist::_M_create_node): Replace construct by _Construct.
2878 (slist::pop_front): Replace destroy by _Destroy.
2879 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
2880 construct by _Construct.
2881 (hashtable::_M_delete_node): Replace destroy by _Destroy.
2882 * include/ext/stl_rope.h (rope::rope): Replace construct by
2884 (rope::copy): Replace destroy by _Destroy.
2886 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
2888 * include/bits/localefwd.h: Format.
2889 * include/bits/locale_facts.tcc (locale::combine): Adjust.
2890 * src/locale.cc (locale::locale::(_Impl)): Don't call
2892 (locale::facet::_M_remove_reference): Simplify.
2893 * src/globals.cc (locale_impl_c): New. Format.
2895 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
2897 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2899 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
2900 expansion (thanks to Alexandre Oliva).
2901 * aclocal.m4: Regenerate.
2902 * configure: Regenerate.
2904 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
2906 * src/locale.cc (locale::locale(const char*)): Make sure global
2907 locales are initialized.
2908 * include/bits/locale_facets.tcc (locale::combine): Refcout should
2909 be zero, not one as it's return-by-value.
2910 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
2912 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
2915 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
2917 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2920 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
2921 * aclocal.m4: Regenerate.
2922 * configure: Regenerate.
2924 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2927 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
2928 staged/installed area to support -I-. Document.
2929 * aclocal.m4: Regenerate.
2930 * configure: Regenerate.
2932 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2935 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
2936 __out_bufsize. Add __in_bufsize, document it and use it.
2938 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
2940 * include/bits/stl_construct.h (construct): Remove.
2942 (__destroy): Replaced by use of iterator_traits.
2943 * include/bits/stl_deque.h: replaced HP iterator functions with
2945 (construct): changed to _Construct.
2946 (destroy): changed to _Destroy.
2947 * include/bits/stl_tempbuf.h: Same.
2948 * include/bits/stl_tree.h: Same.
2949 * include/bits/stl_vector.h: Same.
2950 * include/backward/iterator.h (construct): moved definition to here.
2953 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
2955 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
2956 before replacing facet.
2957 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
2959 * src/localename.cc (locale::_Impl): Correct ctor initialization
2960 lists. Initialize ref count with one. Simplify.
2961 * src/locale.cc: Add comment.
2962 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
2963 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
2964 * testsuite/22_locale/members.cc (test02): Fix.
2966 2001-06-27 Phil Edwards <pme@sources.redhat.com>
2968 * include/backward/algo.h: Add "GPL plus runtime exception" comment
2969 block, this time for real.
2970 * include/backward/algobase.h: Likewise.
2971 * include/backward/alloc.h: Likewise.
2972 * include/backward/bvector.h: Likewise.
2973 * include/backward/defalloc.h: Likewise.
2974 * include/backward/deque.h: Likewise.
2975 * include/backward/function.h: Likewise.
2976 * include/backward/hash_map.h: Likewise.
2977 * include/backward/hash_set.h: Likewise.
2978 * include/backward/hashtable.h: Likewise.
2979 * include/backward/heap.h: Likewise.
2980 * include/backward/iterator.h: Likewise.
2981 * include/backward/list.h: Likewise.
2982 * include/backward/map.h: Likewise.
2983 * include/backward/multimap.h: Likewise.
2984 * include/backward/multiset.h: Likewise.
2985 * include/backward/pair.h: Likewise.
2986 * include/backward/rope.h: Likewise.
2987 * include/backward/set.h: Likewise.
2988 * include/backward/slist.h: Likewise.
2989 * include/backward/stack.h: Likewise.
2990 * include/backward/strstream: Likewise.
2991 * include/backward/tempbuf.h: Likewise.
2992 * include/backward/tree.h: Likewise.
2993 * include/backward/vector.h: Likewise.
2994 * include/bits/pthread_allocimpl.h: Likewise.
2995 * include/bits/std_algorithm.h: Likewise.
2996 * include/bits/std_bitset.h: Likewise.
2997 * include/bits/std_deque.h: Likewise.
2998 * include/bits/std_functional.h: Likewise.
2999 * include/bits/std_iterator.h: Likewise.
3000 * include/bits/std_list.h: Likewise.
3001 * include/bits/std_map.h: Likewise.
3002 * include/bits/std_memory.h: Likewise.
3003 * include/bits/std_numeric.h: Likewise.
3004 * include/bits/std_queue.h: Likewise.
3005 * include/bits/std_set.h: Likewise.
3006 * include/bits/std_stack.h: Likewise.
3007 * include/bits/std_utility.h: Likewise.
3008 * include/bits/std_vector.h: Likewise.
3009 * include/bits/stl_algo.h: Likewise.
3010 * include/bits/stl_algobase.h: Likewise.
3011 * include/bits/stl_alloc.h: Likewise.
3012 * include/bits/stl_bvector.h: Likewise.
3013 * include/bits/stl_construct.h: Likewise.
3014 * include/bits/stl_deque.h: Likewise.
3015 * include/bits/stl_function.h: Likewise.
3016 * include/bits/stl_heap.h: Likewise.
3017 * include/bits/stl_iterator.h: Likewise.
3018 * include/bits/stl_iterator_base_funcs.h: Likewise.
3019 * include/bits/stl_iterator_base_types.h: Likewise.
3020 * include/bits/stl_list.h: Likewise.
3021 * include/bits/stl_map.h: Likewise.
3022 * include/bits/stl_multimap.h: Likewise.
3023 * include/bits/stl_multiset.h: Likewise.
3024 * include/bits/stl_numeric.h: Likewise.
3025 * include/bits/stl_pair.h: Likewise.
3026 * include/bits/stl_pthread_alloc.h: Likewise.
3027 * include/bits/stl_queue.h: Likewise.
3028 * include/bits/stl_raw_storage_iter.h: Likewise.
3029 * include/bits/stl_relops.h: Likewise.
3030 * include/bits/stl_set.h: Likewise.
3031 * include/bits/stl_stack.h: Likewise.
3032 * include/bits/stl_tempbuf.h: Likewise.
3033 * include/bits/stl_threads.h: Likewise.
3034 * include/bits/stl_tree.h: Likewise.
3035 * include/bits/stl_uninitialized.h: Likewise.
3036 * include/bits/stl_vector.h: Likewise.
3037 * include/bits/type_traits.h: Likewise.
3038 * include/ext/hash_map: Likewise.
3039 * include/ext/hash_set: Likewise.
3040 * include/ext/rope: Likewise.
3041 * include/ext/ropeimpl.h: Likewise.
3042 * include/ext/slist: Likewise.
3043 * include/ext/stl_hash_fun.h: Likewise.
3044 * include/ext/stl_hashtable.h: Likewise.
3045 * include/ext/stl_rope.h: Likewise.
3046 * src/bitset.cc: Likewise.
3047 * src/strstream.cc: Likewise.
3049 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3050 <vakatov@ncbi.nlm.nih.gov>
3053 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
3054 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
3055 * testsuite/27_io/istream_extractor_other.cc: Fix.
3057 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
3059 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
3060 * aclocal.m4: Regenerate.
3061 * configure: Regenerate.
3063 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3065 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
3066 (ostream_iterator): Same.
3067 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
3068 Change argument to const_reference.
3069 (back_insert_iterator): Same.
3071 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3073 * include/bits/sbuf_iter.h: Change to..
3074 * include/bits/streambuf_iterator.h: This.
3075 * include/bits/stl_iterator.h: Take out of here...
3076 * include/bits/stream_iterator.h: Add.
3077 * src/Makefile.am (base_headers): Add streambuf_iterator,
3079 * src/Makefile.in: Regenerate.
3080 * include/bits/std_string.h: Adjust includes.
3081 * include/bits/basic_ios.h: Same.
3082 * include/bits/locale_facets.tcc: Same.
3083 * include/bits/std_iosfwd.h: Same.
3085 * include/bits/std_iterator.h: Add istream, ostream includes.
3086 * include/bits/stl_iterator.h: Tweak.
3087 * testsuite/24_iterators/ostream_iterator.cc: Add test.
3088 * testsuite/24_iterators/istream_iterator.cc: Same.
3089 * testsuite/23_containers/multiset.cc: Add iterator include.
3091 2001-06-26 Phil Edwards <pme@sources.redhat.com>
3093 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
3094 * aclocal.m4: Regenerate.
3095 * configure: Regenerate.
3097 2001-06-26 Felix Natter <f.natter@ndh.net>
3099 * docs/html/17_intro/porting-howto.html: Fixed some errors.
3101 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3103 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
3105 (istream_iterator::operator*): Same.
3107 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3108 Alexandre Petit-Bianco <apbianco@redhat.com>
3110 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
3111 is on 41st, not 14th.
3113 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3115 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
3117 * include/bits/stl_iterator.h (istream_iterator): Inherit from
3119 (ostream_iterator): Same.
3120 * testsuite/24_iterators/istream_iterator.cc: New file.
3121 * testsuite/24_iterators/ostream_iterator.cc: New file.
3123 * include/bits/sbuf_iter.h: Remove self typedef.
3124 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
3125 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
3127 * include/bits/stl_iterator.h (reverse_iterator): Remove
3128 extraneous typedefs. Add typename.
3129 (__normal_iterator): Remove typedefs referring to self. Add typename.
3130 (reverse_bidiretional_iterator): Remove, not longer required.
3132 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3134 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
3135 dependent names with `typename'. Bring in various required
3136 iterator_traits members. Can't imagine why that used to work.
3138 2001-06-25 Phil Edwards <pme@sources.redhat.com>
3139 Kurt Garloff <garloff@suse.de>
3142 * src/cmath.cc: New [version of an old] file; instantiate
3143 __cmath_power to start with.
3144 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
3145 * Makefile.in: Regenerate.
3146 * libio/Makefile.in: Regenerate.
3147 * libmath/Makefile.in: Regenerate.
3148 * libsupc++/Makefile.in: Regenerate.
3149 * src/Makefile.in: Regenerate.
3150 * testsuite/Makefile.in: Regenerate.
3152 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3154 * libmath/stubs.c: Fix thinko.
3156 2001-06-24 David Edelsohn <dje@watson.ibm.com>
3158 * libmath/stubs.c (sqrtf): Define.
3159 (tanf): Correct typo.
3161 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
3163 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
3165 (back_insert_iterator): Same.
3166 (front_insert_iterator): Same.
3167 (insert_iterator): Same.
3169 * testsuite/20_util/raw_storage_iterator.cc: Modify.
3170 * testsuite/24_iterators/reverse_iterator.cc: New file.
3171 * testsuite/24_iterators/back_insert_iterator.cc: New file.
3172 * testsuite/24_iterators/front_insert_iterator.cc: New file.
3173 * testsuite/24_iterators/insert_iterator.cc: New file.
3175 2001-06-22 Phil Edwards <pme@sources.redhat.com>
3177 * include/*: Revert comment/license change from yesterday for all
3178 except libsupc++/unwind-cxx.h.
3179 * src/bitset.cc: Likewise.
3180 * src/strstream.cc: Likewise.
3182 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3184 * libmath/stubs.c: New file.
3188 * libmath/Makefile.am (libmath_la_SOURCES): Add.
3189 * libmath/Makefile.in. Regenerate.
3191 2001-06-21 Phil Edwards <pme@sources.redhat.com>
3193 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
3194 * include/backward/algobase.h: Likewise.
3195 * include/backward/alloc.h: Likewise.
3196 * include/backward/bvector.h: Likewise.
3197 * include/backward/defalloc.h: Likewise.
3198 * include/backward/deque.h: Likewise.
3199 * include/backward/function.h: Likewise.
3200 * include/backward/hash_map.h: Likewise.
3201 * include/backward/hash_set.h: Likewise.
3202 * include/backward/hashtable.h: Likewise.
3203 * include/backward/heap.h: Likewise.
3204 * include/backward/iterator.h: Likewise.
3205 * include/backward/list.h: Likewise.
3206 * include/backward/map.h: Likewise.
3207 * include/backward/multimap.h: Likewise.
3208 * include/backward/multiset.h: Likewise.
3209 * include/backward/pair.h: Likewise.
3210 * include/backward/rope.h: Likewise.
3211 * include/backward/set.h: Likewise.
3212 * include/backward/slist.h: Likewise.
3213 * include/backward/stack.h: Likewise.
3214 * include/backward/strstream: Likewise.
3215 * include/backward/tempbuf.h: Likewise.
3216 * include/backward/tree.h: Likewise.
3217 * include/backward/vector.h: Likewise.
3218 * include/bits/pthread_allocimpl.h: Likewise.
3219 * include/bits/std_algorithm.h: Likewise.
3220 * include/bits/std_bitset.h: Likewise.
3221 * include/bits/std_deque.h: Likewise.
3222 * include/bits/std_functional.h: Likewise.
3223 * include/bits/std_iterator.h: Likewise.
3224 * include/bits/std_list.h: Likewise.
3225 * include/bits/std_map.h: Likewise.
3226 * include/bits/std_memory.h: Likewise.
3227 * include/bits/std_numeric.h: Likewise.
3228 * include/bits/std_queue.h: Likewise.
3229 * include/bits/std_set.h: Likewise.
3230 * include/bits/std_stack.h: Likewise.
3231 * include/bits/std_utility.h: Likewise.
3232 * include/bits/std_vector.h: Likewise.
3233 * include/bits/stl_algo.h: Likewise.
3234 * include/bits/stl_algobase.h: Likewise.
3235 * include/bits/stl_alloc.h: Likewise.
3236 * include/bits/stl_bvector.h: Likewise.
3237 * include/bits/stl_construct.h: Likewise.
3238 * include/bits/stl_deque.h: Likewise.
3239 * include/bits/stl_function.h: Likewise.
3240 * include/bits/stl_heap.h: Likewise.
3241 * include/bits/stl_iterator.h: Likewise.
3242 * include/bits/stl_iterator_base_funcs.h: Likewise.
3243 * include/bits/stl_iterator_base_types.h: Likewise.
3244 * include/bits/stl_list.h: Likewise.
3245 * include/bits/stl_map.h: Likewise.
3246 * include/bits/stl_multimap.h: Likewise.
3247 * include/bits/stl_multiset.h: Likewise.
3248 * include/bits/stl_numeric.h: Likewise.
3249 * include/bits/stl_pair.h: Likewise.
3250 * include/bits/stl_pthread_alloc.h: Likewise.
3251 * include/bits/stl_queue.h: Likewise.
3252 * include/bits/stl_raw_storage_iter.h: Likewise.
3253 * include/bits/stl_relops.h: Likewise.
3254 * include/bits/stl_set.h: Likewise.
3255 * include/bits/stl_stack.h: Likewise.
3256 * include/bits/stl_tempbuf.h: Likewise.
3257 * include/bits/stl_threads.h: Likewise.
3258 * include/bits/stl_tree.h: Likewise.
3259 * include/bits/stl_uninitialized.h: Likewise.
3260 * include/bits/stl_vector.h: Likewise.
3261 * include/bits/type_traits.h: Likewise.
3262 * include/ext/hash_map: Likewise.
3263 * include/ext/hash_set: Likewise.
3264 * include/ext/rope: Likewise.
3265 * include/ext/ropeimpl.h: Likewise.
3266 * include/ext/slist: Likewise.
3267 * include/ext/stl_hash_fun.h: Likewise.
3268 * include/ext/stl_hashtable.h: Likewise.
3269 * include/ext/stl_rope.h: Likewise.
3270 * libsupc++/unwind-cxx.h: Likewise.
3271 * src/bitset.cc: Likewise.
3272 * src/strstream.cc: Likewise.
3274 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3276 * include/bits/indirect_array.h (indirect_array<>::operator=):
3277 Make copy and assignment operator public. Implement. Format.
3279 * include/bits/valarray_array.h (__valarray_copy): Add overloads
3280 for copy between index arrays. Format.
3282 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
3284 * mknumeric_limits: Add static definitions, format.
3285 * testsuite/18_support/numeric_limits.cc (test02): Add test.
3287 * include/c_std/bits/std_cwchar.h: Include ctime.
3288 * testsuite/17_intro/header_cwchar.cc : Check.
3290 * include/c_std/bits/std_cwctype.h: Inject wctype.
3291 * testsuite/17_intro/header_cwctype.cc: Update.
3293 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
3295 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
3296 * testsuite/20_util/raw_storage_iterator.cc: Same.
3298 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
3300 (__mem_interface): New typedef for switching between malloc and new.
3301 * testsuite/20_util/allocator_members.cc: New file.
3303 * testsuite/20_util/comparisons.cc: New file.
3304 * testsuite/20_util/pairs.cc: New file.
3306 2001-06-15 Phil Edwards <pme@sources.redhat.com>
3308 * docs/html/documentation.html: Point to new doxygen'ed collection.
3310 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
3312 * configure.in (auxdir): Replace by ...
3313 (toprel): ... new variable.
3314 (toplevel_srcdir): Construct from $toprel.
3315 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
3316 rather than .. to locate gcc source directory.
3317 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
3318 * aclocal.m4, configure: Rebuilt.
3320 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3322 (Approved by Mark and Benjamin. Applied by Loren.)
3324 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
3325 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
3326 and _GLIBCPP_mutex_address.
3327 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
3328 once-only runtime initialization of _M_lock mutex when
3329 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
3330 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
3331 for __GTHREAD_MUTEX_INIT_FUNCTION case.
3333 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3335 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
3337 * include/bits/slice_array.h (slice_array<>::operator=): Make
3338 public and implement.
3339 (slice_array<>::slice_array): Make copy-constructor public.
3341 * include/bits/valarray_array.h (__valarray_copy): Add another
3342 overload to copy between strided arrays.
3344 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
3346 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
3347 * aclocal.m4: Regenerate.
3348 * configure: Regenerate.
3349 * include/bits/c++config (__GLIBCPP__): Update date.
3351 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3353 * include/bits/fpos.h (fpos::operator-): Don't return reference,
3354 return original, non-modified version.
3355 (fpos::operator+): Same.
3356 * testsuite/27_io/fpos.cc: Add test.
3358 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
3361 * porting.texi: Add documentation about libstdc++-v3-specific
3362 macros that are currently included in os_defines.h files.
3364 * config/basic_file_stdio.h (sys_getc): New method.
3365 (sys_ungetc): New method.
3366 * include/bits/basic_file.h: (sys_getc): New method signature.
3367 (sys_ungetc): New method signature.
3369 * include/bits/fstream.tcc (underflow): Add conditional code
3370 paths which avoid using short seeks on streams (especially
3371 useful when the stream might be interactive or a pipe). At
3372 the moment, this alternate path only avoids seeking when the
3373 ``buffer size'' of underflow() is 1 since the C standard only
3374 guarantees buffer space for one ungetc (this technique could
3375 be extended since *-*-solaris* supports buffering for 4 calls
3376 to ungetc and *-*-*bsd* supports buffering limited only by
3377 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
3378 in a port's os_defines.h file for this alternate path to even
3379 be considered. As a bonus, the idiom of using getc/ungetc
3380 requires no system calls whereas fseek maps to one or two
3381 system call(s) on many platforms.
3383 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
3385 * config/os/solaris/solaris2.5/bits/os_defines.h
3386 (_GLIBCPP_AVOID_FSEEK): Likewise.
3387 * config/os/solaris/solaris2.6/bits/os_defines.h
3388 (_GLIBCPP_AVOID_FSEEK): Likewise.
3389 * config/os/solaris/solaris2.7/bits/os_defines.h
3390 (_GLIBCPP_AVOID_FSEEK): Likewise.
3392 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3394 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
3395 AC_TRY_COMPILE, so that the built compiler is checked, and
3396 bootstraps or cross compiles with an older compile still work.
3397 * aclocal.m4: Regenerate.
3398 * configure: Regenerate.
3400 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3403 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
3406 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
3409 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
3412 * include/bits/limits_generic.h: Fix as per DR 184.
3414 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3417 * include/bits/basic_string.h (string::compare): Adjust signatures
3419 * include/bits/basic_string.tcc: And here.
3422 * config/c_io_stdio.h: Remove whitespace.
3423 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
3424 (test02): Add regression.
3425 * testsuite/27_io/istream_seeks-3.tst: New file.
3427 2001-06-11 Phil Edwards <pme@sources.redhat.com>
3429 * README: Update to reflect reality.
3430 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
3431 * configure.in: Make certain target_alias is set and subst'd for 2.50.
3432 * aclocal.m4: Regenerate.
3433 * configure: Regenerate (with 2.13).
3435 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3438 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
3440 * include/bits/istream.tcc (istream::seekg): Same.
3441 * testsuite/27_io/istream_seeks.cc: Fix.
3444 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
3446 * include/bits/std_queue.h: Add c++config.h.
3447 * testsuite/20_util/binders.cc: New test.
3449 2001-06-11 Matthias Klose <doko@debian.org>
3450 Phil Edwards <pme@sources.redhat.com>
3452 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
3453 (main script): Echo more information.
3455 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3457 * include/c_std/bits/std_cwchar.h: Alphabetize.
3458 * include/bits/char_traits.h: Tweak.
3459 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
3460 everything used by std_cwchar.h.
3461 * aclocal.m4: Regenerate.
3462 * configure.in: Regenerate.
3463 * config.h.in: Regenerate.
3465 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3467 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
3468 Add checking for strtof, _Exit in stdlib.h
3469 * aclocal.m4: Regenerate.
3470 * configure.in: Regenerate.
3471 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
3472 (snprintf): Put C99 functions into __gnu_cxx namespace.
3477 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
3478 for C99 functions within _GLIBCPP_USE_C99 guard.
3482 * include/bits/locale_facets.tcc: Check if C99 is enabled.
3483 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
3485 * include/c_std/bits/cmath.tcc: Formatting tweak.
3486 * include/c_std/bits/std_cmath.h: Same.
3488 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3490 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
3492 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
3493 Stephen L Moshier <moshier@mediaone.net>
3495 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
3496 nothing, as in autoconf 2.50.
3497 * configure: Rebuilt.
3499 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3501 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
3502 include std_cstddef.
3503 * include/c_std/bits/std_ctime.h: Same.
3504 * include/c_std/bits/std_cstring.h: Same.
3505 * include/c_std/bits/std_cstdlib.h: Same.
3507 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
3508 * include/c_std/bits/std_cctype.h: Remove isblank.
3510 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3512 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
3514 * aclocal.m4: Regenerate.
3515 * configure: Regenerate.
3516 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
3517 injection, guard fgetwc, fgetws.
3518 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
3519 * include/c_std/bits/std_clocale.h: And here.
3520 * include/c_std/bits/std_cctype.h: And here.
3521 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
3523 * config/basic_file_stdio.h: Don't include unistd.h.
3524 * config/c_io_stdio.h: Don't use compatibility headers.
3525 * libsupc++/eh_terminate.cc: Qualify abort.
3526 (__terminate): And here.
3527 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
3529 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
3531 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
3533 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
3538 * include/std/*: Add copyright notice.
3539 * include/c_std/bits/*: Use using statements instead of extern "C".
3540 * include/c_std/bits/std_cmath.h: Don't overload double versions
3541 of math functions with __buitin versions, use global version to
3542 prevent ambiguities. Remove define hacks.
3543 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
3544 functions that have changed signatures and std::
3545 declarations. Remove define hacks.
3546 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
3547 __builtins in std::. Remove define hacks.
3548 * testsuite/17_intro/headers_c.cc: Add tests.
3549 * testsuite/17_intro/headers_c++.cc: Add test.
3551 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3552 John David Anglin <dave@hiauly1.hia.nrc.ca>
3555 * libsupc++/eh_alloc.cc: Ensure that required macros are
3556 defined before including gthr.h. Ensure that we get the
3557 version of gthr.h for which we know how to provide a
3559 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
3560 code path into line with the current EH model. Use std, where
3563 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3564 John David Anglin <dave@hiauly1.hia.nrc.ca>
3566 * config/threads-no.h: Remove file.
3567 * config/threads-posix.h: Remove file.
3569 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
3570 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
3571 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
3572 * config.h.in: Regenerate.
3574 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
3575 setup and use gthr*.h files. In particular, make gthr.h files
3576 namespace-clean in the staging area (they don't have to be for
3578 * aclocal.m4: Regenerate.
3579 * configure: Regenerate.
3581 * src/Makefile.am (build_headers): Remove bits/c++threads.h
3582 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
3583 * src/Makefile.in: Regenerate.
3585 * include/bits/c++config: Cleanup threading configuration macros.
3586 In particular, define __STL_GTHREADS macro which controls...
3587 * include/bits/stl_threads.h: ...a brand new gthr.h-based
3590 * config/c_io_stdio.h: Include staged gthr.h instead of local
3591 thread configuration file. Always use __gthread_mutex_t
3592 instead of __mutext_type (or int).
3593 * include/bits/std_fstream.h: Likewise.
3595 * docs/html/17_intro/howto.html: Remove placeholder comment in
3596 case this configuration patch didn't make it. Add advice that
3597 section only applies if configured with --enable-threads.
3598 * docs/html/23_containers/howto.html: Reword to make clear
3599 that _PTHREADS is no longer required for any port to be
3600 correctly using STL with threads. Add advice that section
3601 only applies if configured with --enable-threads.
3603 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
3605 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
3607 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
3610 * include/bits/basic_ios.tcc: Formatting tweaks.
3611 * include/bits/ios_base.h: Formatting tweaks.
3612 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
3613 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
3614 * src/globals.cc: Allocate filebufs for standard streams here.
3615 (buf_cout, buf_cin, buf_cerr): Like so.
3616 (buf_wcout, buf_wcin, buf_wcerr): And so.
3617 * testsuite/27_io/ios_init.cc: Add.
3619 2001-06-04 Brendan Kehoe <brendan@zen.org>
3620 Benjamin Kosnik <bkoz@redhat.com>
3623 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
3624 for generic ctype virtuals.
3625 * src/locale.cc: Minor tweaks, naming consistency.
3626 * testsuite/22_locale/ctype.cc: Add test.
3628 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
3629 Phil Edwards <pme@sources.redhat.com>
3631 PR libstdc++/3035 and PR libstdc++/3036
3632 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
3633 to LWG DR 181 and 265.
3635 2001-06-04 Phil Edwards <pme@sources.redhat.com>
3638 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
3639 equal_range): Add const overloads as per LWG DR 214.
3640 * include/bits/stl_set.h: Likewise.
3642 2001-06-04 Brendan Kehoe <brendan@zen.org>
3643 Phil Edwards <pme@sources.redhat.com>
3646 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
3647 comparison; all positions must be < _Nb.
3648 * testsuite/23_containers/bitset_members.cc: New file.
3650 2001-06-04 Brendan Kehoe <brendan@zen.org>
3653 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
3654 ctors to match the standard.
3656 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3658 * include/bits/char_traits.h (move): Reverse qualification of
3660 (copy): Reverse qualification of memcpy with std::.
3662 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3664 * include/bits/char_traits.h (move): Qualify memmove with std::.
3665 (copy): Qualify memcpy with std::.
3666 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
3669 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
3671 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
3673 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
3674 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
3675 SUN make VPATH peculiarities.
3676 * libsupc++/Makefile.in: Regenerate.
3678 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
3680 * src/Makefile.am (VPATH): Delimit with ":", not space.
3681 * src/Makefile.in: Regenerate.
3683 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
3685 * configure: Regenerate.
3687 2001-05-31 scott snyder <snyder@fnal.gov>
3690 * include/bits/istream.tcc: Include std_ostream.h.
3692 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
3695 * src/bitset.cc: Qualify size_t with std::.
3697 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
3699 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
3700 (_GLIBCPP_BUGGY_COMPLEX): Remove.
3701 * config.h.in: Regenerate.
3702 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
3703 * aclocal.m4: Regenerate.
3704 * configure.in: Don't call it.
3705 * configure: Regenerate.
3708 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
3709 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
3713 * include/bits/std_complex.h: Include sstream. Put definitions for
3714 complex inserters and extractors here, and remove them from...
3715 * src/complex_io.cc: ...here.
3716 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
3718 (basic_ios::__numget_type): Same.
3719 * include/bits/std_istream.h: Same.
3720 * include/bits/std_ostream.h: Same.
3721 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
3722 class iterator template arguments.
3723 * src/locale-inst.cc: Add explicit has_facet instantiations.
3724 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
3725 (_M_get_fnumput): Remove.
3726 (_M_get_fnumget): Remove.
3727 (basic_ios::_M_check_facet): New function.
3728 (basic_ios::_M_cache_facets): New function.
3729 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
3730 (basic_ios::imbue): Call _M_cache_facets.
3731 (basic_ios::init): Same.
3732 * include/bits/istream.tcc: Format, use _M_check_facet.
3733 * include/bits/ostream.tcc: Same.
3734 * include/bits/locale_facets.tcc (__output_float): Change
3735 signature, add _Traits.
3736 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
3739 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
3741 * include/bits/c++config (__USE_MALLOC): Do not define it.
3742 Document why not and give pointers to more information.
3744 * docs/html/23_containers/howto.html: Update documentation
3745 to reflect recent understanding of problem.
3746 * docs/html/17_intro/howto.html: Likewise.
3748 2001-05-30 Phil Edwards <pme@sources.redhat.com>
3750 * docs/doxygen/user.cfg.in: Minor addition.
3751 * docs/html/documentation.html: Reorganize. Put most-looked-at
3753 * docs/html/install.html: Update for 3.0. HTML fixups.
3754 * docs/html/17_intro/howto.html: Likewise.
3755 * docs/html/18_support/howto.html: Likewise.
3756 * docs/html/19_diagnostics/howto.html: Likewise.
3757 * docs/html/20_util/howto.html: Likewise.
3758 * docs/html/23_containers/howto.html: Likewise.
3759 * docs/html/24_iterators/howto.html: Likewise. More notes.
3760 * docs/html/25_algorithms/howto.html: Likewise.
3761 * docs/html/26_numerics/howto.html: Likewise. More notes.
3762 * docs/html/27_io/howto.html: Likewise.
3763 * docs/html/ext/howto.html: Likewise.
3764 * docs/html/faq/index.html: Likewise.
3765 * docs/html/faq/index.txt: Regenerate.
3766 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
3767 Doxygen-created documentation.
3769 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3771 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
3772 get_multilibs to find gcc.
3774 2001-05-30 Phil Edwards <pme@sources.redhat.com>
3776 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
3777 * aclocal.m4: Regenerate.
3778 * configure: Regenerate.
3780 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3782 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
3783 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
3785 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3787 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
3788 * include/c_std/bits/std_cstdlib.h: Same.
3789 * include/c_std/bits/std_cwchar.h: Same.
3791 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
3793 * docs/html/17_intro/howto.html: Update link.
3794 * docs/html/23_containers/howto.html: Likewise. Add new link.
3796 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
3798 * include/c_std/bits/std_cmath.h (sqrt): #undef.
3800 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3802 * mknumeric_limits: Stop if gen-num-limits dies.
3804 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
3807 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
3808 * aclocal.m4: Regenerate.
3811 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3812 Phil Edwards <pme@sources.redhat.com>
3813 Alexandre Oliva <aoliva@redhat.com>
3815 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3816 in an amd-safe manner. Revert glibcpp_prefixdir.
3818 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
3820 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
3821 fabs, sin, sqrt. They are now implemented in terms of __builtin_
3824 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
3827 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
3828 * include/bits/ostream.tcc: Format to match istream.tcc.
3829 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
3831 2001-05-24 Phil Edwards <pme@sources.redhat.com>
3833 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
3835 (__cxa_free_exception): Likewise with free.
3837 2001-05-24 Mark Mitchell <mark@codesourcery.com>
3839 * include/c_std/bin/std_cstring.h: #define away all global
3840 functions we will redeclare in namespace `std'.
3841 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
3842 std::memset, instead of memset.
3843 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
3845 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
3848 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
3851 * include/bits/basic_ios.tcc: Small tweak.
3852 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
3853 ctors and dtors, and rdbuf settings.
3856 * include/bits/std_sstream.h: Same, but for stringstream classes.
3857 * testsuite/27_io/ostringstream_members.cc: New.
3858 * testsuite/27_io/stringstream_members.cc: New.
3859 * testsuite/27_io/fstream_members.cc: New.
3860 * testsuite/27_io/ifstream_members.cc: Add test.
3861 * testsuite/27_io/istringstream_members.cc: Add test.
3862 * testsuite/27_io/ofstream_members.cc: Add test.
3864 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3866 * include/bits/c++config(__NO_MATH_INLINES): Move to...
3867 * config/os/gnu-linux/bits/os_defines.h: ...here.
3869 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
3871 * include/bits/c++config (__NO_MATH_INLINES): New macro.
3872 * testsuite/26_numerics/fabs_inline.cc (main): New test.
3874 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
3877 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
3879 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
3880 (libstdc++-v3-finish): Remove.
3881 (libstdc++-v3_exit): Remove.
3883 2001-05-22 Phil Edwards <pme@sources.redhat.com>
3885 * docs/html/documentation.html: Point to doxygen output.
3887 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
3889 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
3891 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
3892 arguments to be non-null.
3893 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
3894 try allocations if allocated size is greater than zero.
3895 (filebuf::_M_filebuf_init): Change to
3896 (filebuf::_M_allocate_file): Which is what it does now.
3897 (filebuf::_M_allocate_bufers): Change to
3898 (filebuf::_M_allocate_internal_buffer): This, and create
3899 (filebuf::_M_allocate_pback_buffer): New.
3900 (filebuf::_M_destroy_internal_buffer): New.
3901 (filebuf::_M_buf_allocated): New data member.
3902 (filebuf::setbuf): Use new logic, allow use of external buffer.
3903 * testsuite/27_io/stringbuf_virtuals.cc: New file.
3904 * testsuite/27_io/filebuf_virtuals.cc: New file.
3906 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
3908 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
3910 (strchr): Same, but to __glibcpp_strchr.
3914 * include/c_std/bits/std_cwchar.h (wcschr): Same.
3920 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
3922 * testsuite/21_strings/c_strings.cc (main): Fix.
3924 2001-05-19 Phil Edwards <pme@sources.redhat.com>
3926 * acinclude.m4: Fix --help spacing, correct comments.
3927 * aclocal.m4: Regenerate.
3928 * configure: Regenerate.
3929 * mkcheck.in: Add usage comments.
3930 * docs/html/documentation.html: Point to doxygen'd tarball.
3932 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
3934 * testsuite/README: Add notes.
3936 * src/Makefile.am (libstdc++.INC): Remove.
3937 * src/Makefile.in: Regenerate.
3939 Phil Edwards <pedwards@disaster.jaj.com>
3940 * mkcheck.in: Add missing '#'.
3942 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3944 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
3945 appropriately for remote testing and testing installed files without
3948 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
3950 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3951 amd glibcpp_prefixdir with absolute paths.
3953 * include/bits/c++config (__GLIBCPP__): Bump.
3954 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
3956 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
3958 * include/bits/std_valarray.h (valarray<>::operator[] const):
3959 Return a const reference.
3960 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
3962 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
3964 * configure.target (ATOMICITYH): Actually use AIX-specific code on
3965 earlier versions of AIX 4.*.
3967 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3969 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
3970 output_file based on the name of the testcase.
3972 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3974 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
3975 gluefile and use it if needs_status_wrapper is set.
3977 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
3979 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
3982 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
3984 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
3985 on earlier versions of AIX.
3987 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
3989 * testsuite_flags.in (query): Add backwards, ext directories.
3991 2001-05-15 Mark Mitchell <mark@codesourcery.com>
3993 * porting.texi: Correct documentation about handling
3994 _LARRGEFILE_SOURCE and its ilk.
3995 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
3996 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
3998 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
3999 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
4001 2001-05-15 Zack Weinberg <zackw@stanford.edu>
4003 * testsuite/21_strings/inserters_extractors.cc,
4004 testsuite/27_io/istream_unformatted.cc,
4005 testsuite/27_io/stringstream.cc:
4006 Replace multi-line string constants with C89-style
4007 concatenated string constants.
4009 2001-05-14 Richard Henderson <rth@redhat.com>
4011 * mknumeric_limits: Build with -fno-exceptions.
4013 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
4015 Switch over to new harness.
4016 * testsuite_flags.in: Tweaks via Gaby.
4017 * testsuite/Makefile.am: Change tool to libstdc++-v3.
4018 (EXPECT): Quote directly.
4020 * configure.in: Output testsuite_flags.
4021 * acinclude.m4: Substitute src, bld, and prefix dirs.
4022 Remove glibcpp_expect, glibcpp_runtestflags.
4023 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
4024 * mkcheck.in: Port to new interface.
4026 * aclocal.m4: Regerate.
4027 * configure: Regnerate.
4028 * Makefile.in: Regnerate.
4029 * */Makefile.in: Regenerate.
4031 * tests_flags.in: Remove.
4032 * testsuite/lib/libstdc++.exp: Remove.
4033 * testsuite/libstdc++.tests/tests.exp: Remove.
4035 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
4037 * configure.target: Remove detection of AIX pthread multilib, now
4038 obtained from `gcc -v'.
4040 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
4042 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
4043 size. Add hpux case for HP size.
4045 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
4047 * testsuite_flags.in: New, simplified interface.
4048 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
4049 * testsuite/libstdc++-v3.dg: Add.
4050 * testsuite/libstdc++-v3.dg/dg.exp: Add.
4052 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
4054 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
4055 * testsuite/config/default.exp: Update bugs email address.
4057 2001-05-11 Richard Henderson <rth@redhat.com>
4059 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
4060 all pointer encoding logic.
4061 (struct lsda_header_info): Add ttype_base.
4062 (get_ttype_entry): Use it instead of a context.
4063 (check_exception_spec): Likewise.
4064 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
4065 the c++ exception header for __cxa_call_unexpected.
4066 (__cxa_call_unexpected): Use it.
4068 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
4070 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
4071 libgloss_link_flags to find crt0.o for targets that use libgloss
4073 Change LDFLAGS to LIBS.
4074 Consistently name procedures libstdc++-XXX.
4075 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
4077 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
4079 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
4084 * include/c_std/bits/std_cwchar.h (wcschr): Same.
4089 * testsuite/21_strings/c_strings.cc: Add tests.
4091 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
4094 * include/bits/std_fstream.h (basic_filebuf): Change signature.
4095 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
4096 to int_type, pass in buffer size info.
4097 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
4098 unbuffered situation.
4099 (underflow): Remove codecvt bits for the time being.
4100 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
4101 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
4102 values from iterators, clean.
4103 * src/locale.cc: Ditto.
4104 * include/bits/sbuf_iter.h: Format.
4105 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
4106 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
4107 * testsuite/27_io/filebuf.cc: Tweaks.
4108 * testsuite/27_io/filebuf_members.cc: Tweaks.
4110 2001-05-07 Mark Mitchell <mark@codesourcery.com>
4112 * config/os/solaris/solaris2.7/bits/os_defines.h
4113 (_LARGEFILE_SOURCE): Define it.
4115 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
4117 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
4118 -prefer-non-pic depending on whether libtool has shared libraries
4119 enabled or disabled.
4120 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
4121 $(LIBSUPCXX_PICFLAGS).
4122 * configure, */Makefile.in: Rebuilt.
4124 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
4126 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
4127 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
4129 * include/bits/std_sstream.h (stringbuf): Leak
4131 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
4133 2001-05-01 Tom Browder <tbrowder@home.com>
4135 * docs/html/ext/howto.html: Fix typo.
4137 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
4139 * testsuite/libstdc++.tests/tests.exp: Add comment.
4141 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
4143 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
4145 2001-04-30 Mark Mitchell <mark@codesourcery.com>
4147 * porting.texi: Use the GFDL.
4149 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
4152 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
4153 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
4156 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
4159 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
4161 2001-04-28 Phil Edwards <pme@sources.redhat.com>
4163 * docs/doxygen/run_doxygen: Minor tweaks.
4164 * docs/doxygen/style.css: New file.
4165 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
4166 latest parameters available. Use style.css.
4168 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
4170 * docs/doxygen/mainpage.doxy: New.
4171 * docs/doxygen/user.cfg.in: Change default configuration. Single
4172 frame, other tweaks.
4174 2001-04-26 Mark Mitchell <mark@codesourcery.com>
4176 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
4177 Indicate obsolete nature of thelist for G++ 3.0.
4179 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
4181 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
4182 target_thread_file with `gcc -v'.
4183 * aclocal.m4, configure: Rebuilt.
4185 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
4187 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
4188 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
4189 * include/c_std/bits/std_cwchar.h (std): Same.
4190 * acconfig.h (std): Remove c99 injection into std.
4191 * config.h.in: Regenerate.
4193 * testsuite/README: Fix typo.
4195 * include/bits/codecvt.h: Remove warnings.
4197 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4199 * include/ext/slist: Include required header files.
4201 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
4203 * include/c_std/bits/std_cerrno.h (errno): Define macro from
4204 identifier declared with external linkage, if needed.
4205 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
4206 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
4208 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
4210 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
4211 re-configures find the build compiler.
4212 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
4214 * aclocal.m4: Regenerate.
4215 * configure: Regenerate.
4217 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
4219 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
4220 support is enabled correctly before long long is activated.
4221 * aclocal.m4: Regenerate.
4222 * configure: Regenerate.
4224 * include/backward/backward_warning.h: Format correctly.
4226 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
4227 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
4228 * testsuite/26_numerics/c99_macros.cc: Remove.
4230 2001-04-20 Phil Edwards <pme@sources.redhat.com>
4232 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
4233 __iterator_category.
4235 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
4237 * acconfig.h (_GLIBCPP_USE_C99): Add.
4238 * config.h.in: Regenerate.
4239 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
4241 * aclocal.m4: Regenerate.
4242 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
4243 * configure: Regenerate.
4244 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
4245 * configure: Regenerate.
4246 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
4248 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
4250 * include/c_std/bits/std_cstdlib.h: Same.
4251 * docs/html/configopts.html: Update.
4252 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
4254 (test_c99_classify): Add.
4255 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
4256 (_ISOC99_SOURCE): Remove.
4258 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
4259 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
4260 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
4261 * aclocal.m4: Regenerate.
4262 * configure: Regenerate.
4264 2001-04-19 Phil Edwards <pme@sources.redhat.com>
4266 * Makefile.am (doxygen): Assume script is missing execute perms.
4267 * Makefile.in: Regenerated.
4268 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
4270 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
4272 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
4274 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
4276 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
4277 * testsuite/23_containers/set_operators.cc: Same.
4279 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
4281 (__GLIBCPP__): Bump from value of last release.
4282 * include/bits/concept_check.h: Default to off, edit comments.
4283 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
4284 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
4285 * src/Makefile.in: Regenerate.
4287 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
4289 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
4290 Properly uglify member.
4292 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4294 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
4298 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4300 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
4301 * include/bits/concept_check.h: Uglify.
4302 * include/bits/stl_algo.h: Likewise.
4303 * include/bits/stl_algobase.h: Likewise.
4304 * include/bits/stl_deque.h: Likewise.
4305 * include/bits/stl_heap.h: Likewise.
4306 * include/bits/stl_iterator_base_funcs.h: Likewise.
4307 * include/bits/stl_list.h: Likewise.
4308 * include/bits/stl_map.h: Likewise.
4309 * include/bits/stl_multimap.h: Likewise.
4310 * include/bits/stl_multiset.h: Likewise.
4311 * include/bits/stl_numeric.h: Likewise.
4312 * include/bits/stl_queue.h: Likewise.
4313 * include/bits/stl_set.h: Likewise.
4314 * include/bits/stl_stack.h: Likewise.
4315 * include/bits/stl_vector.h: Likewise.
4316 * include/ext/hash_map: Likewise.
4317 * include/ext/hash_set: Likewise.
4318 * include/ext/slist: Likewise.
4320 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
4322 * testsuite/23_containers/set_operators.cc: Just try to compile.
4324 * testsuite/23_containers/map_operators.cc: Same.
4326 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
4328 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
4330 (dg-test): Revert rth's change.
4332 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
4334 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
4335 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
4337 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
4339 * testsuite/README: Add DejaGnu specific documentation.
4341 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
4343 * acinclude.m4: AC_CHECK_TOOL for expect.
4344 * aclocal.m4: Regenerate.
4345 * configure: Regenerate.
4346 * testsuite/Makefile.am (RUNTEST): Use substituted.
4349 * configure.in: Remove xcompiling substitution.
4350 * tests_flags.in (CROSS_LIB_PATH): Remove.
4351 (xcompiling): Remove.
4352 (CXX): Use substituted CXX.
4354 2001-04-11 Richard Henderson <rth@redhat.com>
4356 * testsuite/lib/libstdc++.exp: Specify path for output_file.
4358 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
4360 * include/bits/std_valarray.h(valarray<>::operator[]): Make
4363 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4365 * testsuite/25_algorithms/equal.cc: New test.
4367 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
4369 * stl_algobase.h (std::equal): avoid use of possibly-undefined
4370 operator != (one line patch).
4372 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4374 * include/backward/backward_warning.h: Re-enable.
4376 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4377 Alexandre Oliva <aoliva@redhat.com>
4379 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
4381 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4383 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
4384 * testsuite/26_numerics/c99_macros.cc: Add test.
4386 2001-04-06 Phil Edwards <pme@sources.redhat.com>
4388 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
4389 * docs/html/faq/index.txt: Regenerated.
4391 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4393 * include/backward/backward_warning.h: Temporarily disable until
4394 g++ testsuite changes go in.
4395 * tests_flags.in (CROSS_LIB_PATH): Add.
4397 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4399 Warn when using backward headers.
4400 * include/backward/algo.h: Include warning file.
4401 * include/backward/vector.h: Same.
4402 * include/backward/tree.h: Same.
4403 * include/backward/tempbuf.h: Same.
4404 * include/backward/strstream: Same.
4405 * include/backward/streambuf.h: Same.
4406 * include/backward/stream.h: Same.
4407 * include/backward/stack.h: Same.
4408 * include/backward/slist.h: Same.
4409 * include/backward/set.h: Same.
4410 * include/backward/rope.h:
4411 * include/backward/queue.h: Same.
4412 * include/backward/pair.h: Same.
4413 * include/backward/ostream.h: Same.
4414 * include/backward/new.h: Same.
4415 * include/backward/multiset.h: Same.
4416 * include/backward/multimap.h: Same.
4417 * include/backward/map.h: Same.
4418 * include/backward/list.h: Same.
4419 * include/backward/iterator.h: Same.
4420 * include/backward/istream.h: Same.
4421 * include/backward/iostream.h:
4422 * include/backward/iomanip.h:
4423 * include/backward/heap.h: Same.
4424 * include/backward/hashtable.h:
4425 * include/backward/hash_set.h:
4426 * include/backward/hash_map.h:
4427 * include/backward/function.h:
4428 * include/backward/fstream.h:
4429 * include/backward/deque.h:
4430 * include/backward/defalloc.h: Same.
4431 * include/backward/complex.h: Same.
4432 * include/backward/bvector.h:
4433 * include/backward/alloc.h:
4434 * include/backward/algobase.h: Same.
4436 * include/backward/backward_warning.h: New file.
4437 * src/Makefile.am (backward_headers): Add backward_warning.h
4438 * src/Makefile.in: Regenerate.
4440 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4442 * src/Makefile.am (myinstalldirs): Make sure backward directory is
4444 (myinstallheaders): Install backward headers in backward directory.
4445 * src/Makefile.in: Regenerate.
4447 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4449 Prepare for libstdc++-2.92.
4450 * docs/html/17_intro/RELEASE-NOTES (New): Update.
4451 * docs/html/configopts.html: Fix formatting.
4452 * README (file): Updates.
4453 * include/bits/c++config (__GLIBCPP__): Update.
4455 2001-04-05 Phil Edwards <pme@sources.redhat.com>
4457 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
4459 2001-04-04 Phil Edwards <pme@sources.redhat.com>
4461 * docs/doxygen/user.cfg.in: Extract all non-private members;
4462 reduce confusing documentation output.
4464 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
4466 * include/backward/fstream.h: Add missing semicolons.
4468 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
4470 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
4471 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
4472 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
4473 (ios_base::Init::_S_ios_create): New.
4474 (ios_base::Init::_S_ios_destroy): New.
4475 * include/bits/std_fstream.h: Change ctor args.
4476 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
4477 (ios_base::Init::~Init): Use _S_ios_destroy.
4478 (ios_base::sync_with_stdio): Use new members.
4479 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
4482 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4484 * include/backward/fstream.h: Expose streampos to global
4487 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4489 * include/bits/stl_iterator_base_types.h: Fix typo
4491 2001-04-03 Andreas Schwab <schwab@suse.de>
4493 * include/backward/fstream.h: Define filebuf and wfilebuf.
4495 2001-04-02 Phil Edwards <pme@sources.redhat.com>
4497 New concept checking implementation.
4498 * docs/html/19_diagnostics/howto.html: Document.
4499 * docs/html/17_intro/concept_check.diff: New file, for reference.
4500 * include/bits/boost_concept_check.h: New file from Boost.
4501 * include/bits/c++config: Update comments.
4503 * include/bits/concept_check.h: New file.
4504 * include/bits/concept_checks.h: Removed.
4505 * include/bits/container_concepts.h: Removed.
4506 * include/bits/sequence_concepts.h: Removed.
4507 * include/bits/stl_iterator_base.h: Removed; split into...
4508 * include/bits/stl_iterator_base_funcs.h: ...this new file...
4509 * include/bits/stl_iterator_base_types.h: ...and this new file.
4511 * include/bits/sbuf_iter.h: Update to use new implementation.
4512 * include/bits/std_iterator.h: Likewise.
4513 * include/bits/std_memory.h: Likewise.
4514 * include/bits/stl_algo.h: Likewise.
4515 * include/bits/stl_algobase.h: Likewise.
4516 * include/bits/stl_construct.h: Likewise.
4517 * include/bits/stl_deque.h: Likewise.
4518 * include/bits/stl_heap.h: Likewise.
4519 * include/bits/stl_list.h: Likewise.
4520 * include/bits/stl_map.h: Likewise.
4521 * include/bits/stl_multimap.h: Likewise.
4522 * include/bits/stl_multiset.h: Likewise.
4523 * include/bits/stl_numeric.h: Likewise.
4524 * include/bits/stl_queue.h: Likewise.
4525 * include/bits/stl_set.h: Likewise.
4526 * include/bits/stl_stack.h: Likewise.
4527 * include/bits/stl_uninitialized.h: Likewise.
4528 * include/bits/stl_vector.h: Likewise.
4529 * include/ext/hash_map: Likewise.
4530 * include/ext/hash_set: Likewise.
4531 * include/ext/slist: Likewise.
4532 * include/ext/stl_hashtable.h: Likewise.
4534 * src/Makefile.am (base_headers): Update list of headers.
4535 * Makefile.in: Regenerated.
4536 * src/Makefile.in: Regenerated.
4537 * libio/Makefile.in: Regenerated.
4538 * libmath/Makefile.in: Regenerated.
4539 * libsupc++/Makefile.in: Regenerated.
4540 * testsuite/Makefile.in: Regenerated.
4542 * docs/html/install.html: Update contact information.
4543 * docs/html/17_intro/howto.html: Ditto.
4544 * docs/html/18_support/howto.html: Ditto.
4545 * docs/html/20_util/howto.html: Ditto.
4546 * docs/html/21_strings/howto.html: Ditto.
4547 * docs/html/22_locale/howto.html: Ditto.
4548 * docs/html/23_containers/howto.html: Ditto.
4549 * docs/html/24_iterators/howto.html: Ditto.
4550 * docs/html/25_algorithms/howto.html: Ditto.
4551 * docs/html/26_numerics/howto.html: Ditto.
4552 * docs/html/27_io/howto.html: Ditto.
4553 * docs/html/faq/index.html: Ditto, plus info on new checking code.
4554 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
4555 * docs/html/faq/index.txt: Regenerated.
4557 2001-04-02 Zack Weinberg <zackw@stanford.edu>
4559 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
4560 messages with $which_library as well as $tool_flags and
4561 ${dg-extra-tool-flags}. Factor out annotation text into
4564 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
4566 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
4567 * include/c_std/bits/std_cwchar.h: Same.
4568 * testsuite/21_strings/c_strings.cc: Add.
4570 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
4572 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
4574 2001-04-01 Zack Weinberg <zackw@stanford.edu>
4576 * tests_flags.in: Use test a = b, not test a == b which is not
4579 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
4581 * configure.target: Remove duplicate aix entry.
4583 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
4585 * include/ext/stl_bvector.h: Move to...
4586 * include/bits/stl_vector.h: ...here.
4587 * include/ext/bvector: Move to...
4588 * include/backward/bvector.h: ...here.
4589 * include/bits/std_vector.h: Change stl_bvector include.
4590 * include/bits/std_queue.h: Remove bvector include.
4591 * include/ext/tree: Insert using rb_tree, move to...
4592 * include/backward/tree.h: ...here.
4593 * include/backward/hash_map.h: Include ext/hash_map.
4594 * include/backward/hash_set.h: Include ext/hash_set.
4595 * include/backward/queue.h: New file.
4596 * include/backward/stack.h: Edit.
4597 * include/backward/algo.h: Same.
4598 * include/backward/algobase.h: Same.
4599 * include/backward/alloc.h: Same.
4600 * include/backward/function.h: Same.
4601 * include/backward/iomanip.h: Same.
4602 * include/backward/istream.h: Same.
4603 * include/backward/iterator.h: Same.
4604 * include/backward/list.h: Same.
4605 * include/backward/map.h: Same.
4606 * include/backward/multimap.h: Same.
4607 * include/backward/multiset.h: Same.
4608 * include/backward/ostream.h: Same.
4609 * include/backward/pair.h: Same
4610 * include/backward/rope.h: Same.
4611 * include/backward/set.h: Same.
4612 * include/backward/stream.h: Same.
4613 * include/backward/strstream.h: Same.
4614 * include/backward/tempbuf.h: Same.
4615 * src/Makefile.am (ext_headers): Edit.
4616 * src/Makefile.in: Regenerate.
4617 * testsuite/ext/headers.cc (main): Fix.
4620 2001-03-30 Phil Edwards <pme@sources.redhat.com>
4622 * tests_flags.in (LIBS): Pass correct path for installed testing.
4624 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
4626 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
4627 * tests_flags.in (CXX): Construct here.
4628 (static_fail): Don't remove compile.out. Format with spaces.
4629 (INCLUDES): Deal with xcompiling.
4630 * configure.in (xcompiling): Substitute.
4631 * testsuite/Makefile.am: Snake libjava configury.
4632 * testsuite/Makefile.in: Regenerate.
4633 * testsuite/23_containers/map_operators.cc: Tweaks.
4634 * testsuite/23_containers/set_operators.cc: Tweaks.
4636 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4638 Enable dejagnu testing framework.
4639 * configure.in: Generate testsuite/Makefile.
4640 * configure: Regenerate.
4641 * Makefile.am (check-install): Change rule from this...
4642 (check-script-install): ...to this.
4643 (check): Change rule from this...
4644 (check-script):...to this.
4645 * Makefile.in: Regenerate.
4647 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
4649 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
4651 (LIBTOOL): Let automake take care of its definition.
4652 * libsupc++/Makefile.in: Rebuilt.
4654 2001-03-28 Richard Henderson <rth@redhat.com>
4656 IA-64 ABI Exception Handling:
4657 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
4658 * configure.in: Use it.
4659 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
4660 * libsupc++/Makefile.am (sources): Update files list.
4661 * libsupc++/Makefile.in: Regenerate.
4662 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
4663 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
4664 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
4665 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
4666 * libsupc++/exception_support.cc: Remove.
4667 * libsupc++/exception_support.h: Remove.
4668 * libsupc++/pure.cc: Use std::terminate.
4669 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
4670 (__is_pointer): Remove.
4671 * libsupc++/unwind-cxx.h: New file.
4672 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
4674 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
4676 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
4678 * src/Makefile.am (CXXLINK): Likewise.
4679 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
4681 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
4683 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
4685 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4687 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
4690 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
4692 * include/bits/basic_file.h (get_fileno): Remove.
4693 (_M_fileno): Remove.
4694 (_M_cfile_created): Add.
4695 (basic_file::basic_file(__c_file_type*, openmode): Add.
4696 (basic_file::basic_file(int, const char*, openmode): Remove.
4697 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
4698 const char*, ios_base::openmode): Don't allocate
4699 internal buffers. Turn off internal buffers.
4700 (basic_filebuf::overflow): Remove test for null buffer.
4701 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
4702 * include/bits/streambuf.cc: Tweak.
4703 * include/bits/std_ostream.h: Tweak.
4704 * config/basic_file_libio.h: Same.
4705 * config/basic_file_stdio.h: Same.
4706 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
4707 * testsuite/27_io/filebuf_members.cc: Tweaks.
4708 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
4710 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4712 * Makefile.am: New targets, doxygen and doxygen-maint.
4713 * Makefile.in: Regenerated.
4714 * docs/doxygen/run_doxygen: Finally implemented.
4715 * docs/doxygen/maint.cfg.in: New file.
4716 * docs/doxygen/user.cfg.in: New file.
4718 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4720 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
4721 * src/Makefile.am: Replace leading spaces with tabs on continuation
4723 * aclocal.m4: Regenerated.
4725 * Makefile.in: Ditto.
4726 * src/Makefile.in: Ditto.
4727 * libio/Makefile.in: Ditto.
4728 * libmath/Makefile.in: Ditto.
4729 * libsupc++/Makefile.in: Ditto.
4731 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4733 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
4734 concept-checking code and current status of same.
4735 * docs/html/ext/howto.html: Ditto.
4736 * docs/html/faq/index.html: Ditto.
4737 * docs/html/faq/index.txt: Regenerated.
4739 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4741 * include/bits/std_bitset.h: Include ostream and istream headers
4742 instead of iostream.
4744 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
4746 * include/bits/ostream.tcc: Use __builtin_alloca.
4748 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
4750 * src/misc-inst.cc (__sink_unused_warning): Move to...
4751 * src/locale-inst.cc (__sink_unused_warning): Move to...
4752 * src/stl-inst.cc: Here.
4753 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
4756 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
4758 * intclude/bits/basic_file.h: Fix typos in comments.
4760 2001-03-20 Richard Henderson <rth@redhat.com>
4762 * src/gen-num-limits.cc: Instantiate for wchar_t.
4763 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
4765 2001-03-20 Jason Merrill <jason@redhat.com>
4767 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
4768 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
4769 * libsupc++/cxxabi.h: Declare it.
4771 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
4773 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
4774 signal_func with an unspecified argument list.
4776 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
4778 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
4780 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4782 * include/bits/basic_string.tcc (operator+): Fix thinko.
4784 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
4787 * include/bits/std_streambuf.h: Remove cached locale facets.
4788 (basic_streambuf::_M_buf_fctype): Remove.
4789 (basic_streambuf::~basic_streambuf): Remove here.
4790 (basic_streambuf::basic_streambuf): Same.
4791 (basic_streambuf::imbue): Same.
4792 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
4793 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
4794 (basic_filebuf::~basic_filebuf()): Remove here.
4795 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
4796 (basic_filebuf::imbue): Same.
4797 * include/bits/localefwd.h (_Count_ones): Remove.
4798 (locale::_S_num_categories): Just use 6, since this doesn't
4799 actually change, ever.
4800 * include/bits/locale_facets.tcc (has_facet): Simplify.
4802 * testsuite/27_io/filebuf.cc (test06): Add tests.
4804 2001-03-13 Steve Ellcey <sje@cup.hp.com>
4806 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
4807 match HP-UX ctype.h header file.
4809 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
4811 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
4812 duplicate definitions of __dj_ctype_*
4814 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
4816 * libsupc++/new: Remove pragma interface.
4817 * libsupc++/typeinfo: Same.
4818 * libsupc++/exception: Same.
4819 * libsupc++/new_handler.cc: Remove pragma implementation.
4820 (bad_alloc::~bad_alloc()): Add.
4821 * libsupc++/exception_support.cc: Same.
4822 (exception::~exception): Add.
4823 (bad_exception::~bad_exception): Add.
4824 * libsupc++/tinfo.cc: Same.
4825 (bad_cast::~bad_cast): Add.
4826 (bad_typeid::~bad_typeid): Add.
4828 2001-03-13 Phil Edwards <pme@sources.redhat.com>
4830 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
4832 2001-03-12 Felix Lee <flee@redhat.com>
4834 * mkcheck.in: workaround for bash 2.01 IFS bug.
4836 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
4838 Fixups for -fno-for-scope
4839 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
4840 * src/valarray-inst.cc (__gslice_to_index): Same.
4842 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
4844 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
4845 prior to trapping signal (UnixWare 7 workaround).
4847 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
4849 * include/backward/hashtable.h: Same.
4850 * include/backward/rope.h: Fix include.
4852 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
4854 * include/backward/vector.h: Include std_vector.h.
4856 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
4857 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4860 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4862 * include/ext/stl_hashtable.h: Change type of __n to size_t
4863 * include/backward/bvector.h: Include <ext/stl_bvector.h>
4865 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4867 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
4868 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4869 Use streamsize, not int_type.
4871 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
4873 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
4876 2001-03-08 Andreas Schwab <schwab@suse.de>
4878 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
4880 * aclocal.m4, configure: Regenerated.
4882 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
4884 * include/bits/std_iosfwd.h: Remove string forward decls here.
4885 * include/bits/stringfwd.h: Add forward decls for char_traits
4887 * config/c_io_libio.h (wstreamoff): Delete.
4888 * config/c_io_stdio.h (wstreamoff): Same.
4889 * include/bits/char_traits.h: Use streamoff not wstreamoff for
4890 char_traits<wchar_t>::off_type.
4891 Remove duplicate typedefs.
4892 * include/bits/fpos.h: Define streampos/wstreampos here.
4893 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
4896 Changeup output files.
4897 * testsuite/27_io/istream_unformatted.cc: Change output files.
4898 * testsuite/27_io/istream_seeks-1.txt: Add.
4899 * testsuite/27_io/istream_seeks-2.tst: Add.
4900 * testsuite/27_io/istream_seeks-1.tst: Add.
4901 * testsuite/27_io/istream_unformatted-2.tst: Delete.
4902 * testsuite/27_io/istream_unformatted-3.tst: Delete.
4903 * testsuite/27_io/istream_unformatted-3.txt: Delete.
4905 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
4907 Add Irix 5.2, 6.3 support.
4908 * config/os/irix/bits: Renamed to...
4909 * config/os/irix/irix6.5/bits: this.
4910 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
4911 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
4912 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
4913 * config/os/irix/irix5.2/bits/ctype_noninline.h
4914 (ctype<char>::ctype): Initialize _M_table with __ctype.
4915 * configure.target: Adjust.
4917 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
4920 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
4921 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
4923 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
4924 (*__pf)(__ios_type&)): Same.
4925 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
4926 (*__pf)(ios_base&))): Same.
4927 * testsuite/27_io/istream_extractor_other.cc: Add tests.
4928 * testsuite/27_io/istream_manip.cc (test01): Fix.
4930 2001-03-06 Nathan Myers <ncm@cantrip.org>
4931 Benjamin Kosnik <bkoz@redhat.com>
4933 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
4934 * testsuite/17_intro/header_cerrno.cc (test01): New file.
4935 * testsuite/17_intro/header_cassert.cc (test01): New file.
4936 * testsuite/17_intro/header_cstddef.cc (test01): New file.
4937 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
4938 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
4940 2001-03-05 scott snyder <snyder@fnal.gov>
4943 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
4945 * include/c_std/bits/std_cstdlib.h: ... to here.
4946 * testsuite/17_intro/header_cstdlib.cc: Add test.
4948 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
4950 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
4952 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
4954 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
4955 definition. Replace enum with static const variables.
4957 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
4958 throw specification, fix typos, use <static_cast>.
4959 (ctype<char>::scan_is): remove throw specification.
4960 (ctype<char>::scan_not): likewise.
4962 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
4963 (ctype<char>::do_toupper(char)): use <static_cast>.
4964 (ctype<char>::do_toupper(char *, const char *)): likewise.
4965 (ctype<char>::do_tolower(char)): likewise.
4966 (ctype<char>::do_tolower(char *, const char *)): likewise.
4968 2001-03-04 Phil Edwards <pme@sources.redhat.com>
4970 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
4971 * include/backward/algo.h: Use std not __STD. Remove unneeded
4972 macros and "never happens" code. Adjust to C++STYLE guidelines.
4973 * include/backward/algobase.h: Likewise.
4974 * include/backward/alloc.h: Likewise.
4975 * include/backward/bvector.h: Likewise.
4976 * include/backward/deque.h: Likewise.
4977 * include/backward/function.h: Likewise.
4978 * include/backward/hash_map.h: Likewise.
4979 * include/backward/hash_set.h: Likewise.
4980 * include/backward/hashtable.h: Likewise.
4981 * include/backward/heap.h: Likewise.
4982 * include/backward/iterator.h: Likewise.
4983 * include/backward/list.h: Likewise.
4984 * include/backward/map.h: Likewise.
4985 * include/backward/multimap.h: Likewise.
4986 * include/backward/multiset.h: Likewise.
4987 * include/backward/pair.h: Likewise.
4988 * include/backward/rope.h: Likewise.
4989 * include/backward/set.h: Likewise.
4990 * include/backward/slist.h: Likewise.
4991 * include/backward/stack.h: Likewise.
4992 * include/backward/strstream: Likewise.
4993 * include/backward/tempbuf.h: Likewise.
4994 * include/backward/tree.h: Likewise.
4995 * include/backward/vector.h: Likewise.
4996 * include/bits/basic_ios.h: Likewise.
4997 * include/bits/basic_ios.tcc: Likewise.
4998 * include/bits/basic_string.h: Likewise.
4999 * include/bits/c++config: Likewise.
5000 * include/bits/concept_checks.h: Likewise.
5001 * include/bits/fpos.h: Likewise.
5002 * include/bits/fstream.tcc: Likewise.
5003 * include/bits/functexcept.h: Likewise.
5004 * include/bits/ios_base.h: Likewise.
5005 * include/bits/istream.tcc: Likewise.
5006 * include/bits/mask_array.h: Likewise.
5007 * include/bits/ostream.tcc: Likewise.
5008 * include/bits/pthread_allocimpl.h: Likewise.
5009 * include/bits/sbuf_iter.h: Likewise.
5010 * include/bits/slice.h: Likewise.
5011 * include/bits/slice_array.h: Likewise.
5012 * include/bits/sstream.tcc: Likewise.
5013 * include/bits/std_bitset.h: Likewise.
5014 * include/bits/std_fstream.h: Likewise.
5015 * include/bits/std_iomanip.h: Likewise.
5016 * include/bits/std_ios.h: Likewise.
5017 * include/bits/std_istream.h: Likewise.
5018 * include/bits/std_iterator.h: Likewise.
5019 * include/bits/std_memory.h: Likewise.
5020 * include/bits/std_ostream.h: Likewise.
5021 * include/bits/std_sstream.h: Likewise.
5022 * include/bits/std_streambuf.h: Likewise.
5023 * include/bits/std_string.h: Likewise.
5024 * include/bits/std_valarray.h: Likewise.
5025 * include/bits/stl_algo.h: Likewise.
5026 * include/bits/stl_algobase.h: Likewise.
5027 * include/bits/stl_alloc.h: Likewise.
5028 * include/bits/stl_construct.h: Likewise.
5029 * include/bits/stl_deque.h: Likewise.
5030 * include/bits/stl_function.h: Likewise.
5031 * include/bits/stl_heap.h: Likewise.
5032 * include/bits/stl_iterator.h: Likewise.
5033 * include/bits/stl_iterator_base.h: Likewise.
5034 * include/bits/stl_list.h: Likewise.
5035 * include/bits/stl_map.h: Likewise.
5036 * include/bits/stl_multimap.h: Likewise.
5037 * include/bits/stl_multiset.h: Likewise.
5038 * include/bits/stl_numeric.h: Likewise.
5039 * include/bits/stl_pair.h: Likewise.
5040 * include/bits/stl_pthread_alloc.h: Likewise.
5041 * include/bits/stl_queue.h: Likewise.
5042 * include/bits/stl_raw_storage_iter.h: Likewise.
5043 * include/bits/stl_relops.h: Likewise.
5044 * include/bits/stl_set.h: Likewise.
5045 * include/bits/stl_stack.h: Likewise.
5046 * include/bits/stl_tempbuf.h: Likewise.
5047 * include/bits/stl_threads.h: Likewise.
5048 * include/bits/stl_tree.h: Likewise.
5049 * include/bits/stl_uninitialized.h: Likewise.
5050 * include/bits/stl_vector.h: Likewise.
5051 * include/bits/streambuf.tcc: Likewise.
5052 * include/bits/type_traits.h: Likewise.
5053 * include/bits/valarray_meta.h: Likewise.
5054 * include/ext/bvector: Likewise.
5055 * include/ext/hash_map: Likewise.
5056 * include/ext/hash_set: Likewise.
5057 * include/ext/ropeimpl.h: Likewise.
5058 * include/ext/slist: Likewise.
5059 * include/ext/stl_bvector.h: Likewise.
5060 * include/ext/stl_hash_fun.h: Likewise.
5061 * include/ext/stl_hashtable.h: Likewise.
5062 * include/ext/stl_rope.h: Likewise.
5063 * src/complex_io.cc: Likewise.
5064 * src/ios.cc: Likewise.
5065 * src/locale-inst.cc: Likewise.
5066 * src/locale.cc: Likewise.
5067 * src/localename.cc: Likewise.
5068 * src/misc-inst.cc: Likewise.
5069 * src/stdexcept.cc: Likewise.
5070 * src/stl-inst.cc: Likewise.
5071 * src/strstream.cc: Likewise.
5072 * src/valarray-inst.cc: Likewise.
5074 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
5076 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
5078 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5080 * include/bits/istream.tcc: change type of __extracted to __size_type
5082 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
5084 * src/wstring-inst.cc: New file.
5085 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
5086 (libinst_wstring_la_SOURCES): Remove.
5087 (libstdc___la_LIBADD): Remove libinst_wstring_la.
5088 (sources): Add wstring-inst.cc
5089 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
5092 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5094 * src/locale.cc: initialise __ret with zero
5095 * src/strstream.cc:cast gptr to int_type
5097 2001-03-01 Phil Edwards <pme@sources.redhat.com>
5099 * docs/html/faq/index.html: Update broken links.
5100 * docs/html/faq/index.txt: Regenerated.
5102 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
5105 * configure.target: Change irix* to irix6.5* in target_os table.
5107 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
5110 * include/bits/c++config (__GLIBCPP__): Bump number in
5111 anticipation of 2.92.
5113 * include/bits/codecvt.h: Fix typo.
5114 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
5116 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
5117 instantiations for stdio model.
5119 2001-02-28 Phil Edwards <pme@sources.redhat.com>
5121 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
5122 and GLIBCPP_CXXFLAGS as unused variables.
5123 * configure.host: Likewise.
5124 * configure.target: Likewise.
5125 * aclocal.m4: Regenerated.
5126 * configure: Regenerated.
5127 * Makefile.in: Regenerated.
5128 * libio/Makefile.in: Regenerated.
5129 * libmath/Makefile.in: Regenerated.
5130 * libsupc++/Makefile.in: Regenerated.
5131 * src/Makefile.in: Regenerated.
5133 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5136 * include/bits/basic_file.h: Include basic_file_model.h.
5137 * config/c_io_libio.cc: Move to...
5138 * config/basic_file_libio.cc: Here.
5139 * config/basic_file_libio.h: New file.
5140 * config/c_io_stdio.cc: Move to...
5141 * config/basic_file_stdio.cc: Here.
5142 * config/basic_file_stdio.h: New file.
5143 * config/c_io_libio.h: Tweak.
5144 * config/c_io_stdio.h: Tweak.
5145 * src/Makefile.am (build_headers): Add basic_file_model.h.
5146 (sources): Add basic_file.cc, remove c++io.cc.
5147 * src/Makefile.in: Regenerate.
5148 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
5149 basic_file_model.h and basic_file.cc.
5150 * aclocal.m4: Regenerate.
5151 * configure: Regenerate.
5152 * testsuite/27_io/filebuf.cc (test05): Add regression.
5154 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5157 * config/cpu/alpha/bits/atomicity.h: Change.
5158 * config/cpu/arm/bits/atomicit3y.h
5159 * config/cpu/generic/bits/atomicity.h
5160 * config/cpu/i386/bits/atomicity.h
5161 * config/cpu/i486/bits/atomicity.h
5162 * config/cpu/ia64/bits/atomicity.h
5163 * config/cpu/powerpc/bits/atomicity.h
5164 * config/cpu/sparc/sparc32/bits/atomicity.h
5165 * config/cpu/sparc/sparc64/bits/atomicity.h
5166 * config/os/aix/bits/atomicity.h
5167 * config/os/irix/bits/atomicity.h
5169 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5171 * include/bits/std_stdexcept.h (runtime_error): Make string
5173 (logic_error): Same.
5174 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
5177 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
5181 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
5182 string object, not reference.
5183 (runtime_error::runtime_error): Same.
5184 * testsuite/19_diagnostics/stdexceptions.cc: New file.
5186 2001-02-26 Phil Edwards <pme@sources.redhat.com>
5188 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
5189 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
5190 diagnostics. Remove WFMT_FLAGS.
5191 * configure.in: Replace WFMT_FLAGS with diagnostics options.
5192 * libsupc++/Makefile.am: Likewise.
5193 * src/Makefile.am: Likewise.
5194 * aclocal.m4: Regenerated.
5195 * configure: Regenerated.
5196 * Makefile.in: Regenerated.
5197 * libio/Makefile.in: Regenerated.
5198 * libmath/Makefile.in: Regenerated.
5199 * libsupc++/Makefile.in: Regenerated.
5200 * src/Makefile.in: Regenerated.
5202 2001-02-26 Phil Edwards <pme@sources.redhat.com>
5204 Fixes libstdc++/2079
5205 * include/backward/iomanip.h: Expose <ios> manipulators to global
5207 * include/backward/iostream.h: Also expose std::ws.
5209 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
5211 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
5213 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
5215 * include/bits/codecvt.h: Use __builtin_alloca.
5216 * include/bits/ostream.tcc: Same.
5217 * include/bits/fstream.tcc: Same.
5219 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
5221 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
5223 2001-02-23 David Edelsohn <dje@watson.ibm.com>
5225 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
5227 2001-02-23 Phil Edwards <pme@sources.redhat.com>
5230 * include/backward/iostream.h: Expose std::flush in old headers.
5232 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5234 * mknumeric_limits: Remove special-casing on target. Use gcc
5235 instead of g++ to build gen-num-limits.cc
5237 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
5239 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
5241 * include/bits/codecvt.h: Use alloca instead of __extension__ for
5243 * include/bits/ostream.tcc: Same.
5244 * include/bits/std_ostream.h: Same.
5245 * include/bits/fstream.tcc: Same.
5246 * include/bits/locale_facets.tcc: Add typename.
5247 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
5249 2001-02-21 Phil Edwards <pme@sources.redhat.com>
5251 * tests_flags.in: Remove -n flag from call to echo.
5253 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
5255 * config/c_locale_gnu.h: Add clocale include.
5257 2001-02-20 Phil Edwards <pme@sources.redhat.com>
5259 * include/bits/stl_config.h: Remove file.
5260 * src/Makefile.am (base_headers): Remove from list.
5261 * configure: Regenerate.
5262 * Makefile.in: Ditto.
5263 * libio/Makefile.in: Ditto.
5264 * libmath/Makefile.in: Ditto.
5265 * libsupc++/Makefile.in: Ditto.
5266 * src/Makefile.in: Ditto.
5268 * include/bits/c++config: Move relevant macros to here.
5269 * include/backward/alloc.h: Include c++config.h instead.
5270 * include/backward/function.h: Ditto.
5271 * include/backward/heap.h: Ditto.
5272 * include/backward/pair.h: Ditto.
5273 * include/bits/pthread_allocimpl.h: Ditto.
5274 * include/bits/std_functional.h: Ditto.
5275 * include/bits/std_iterator.h: Ditto.
5276 * include/bits/std_numeric.h: Ditto.
5277 * include/bits/std_utility.h: Ditto.
5278 * include/bits/stl_algobase.h: Ditto.
5279 * include/bits/type_traits.h: Ditto.
5280 * src/stl-inst.cc: Ditto.
5282 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5284 * include/bits/basic_file.h: Add #pragma system_header
5285 * include/bits/basic_ios.h: Ditto.
5286 * include/bits/basic_string.h: Ditto.
5287 * include/bits/char_traits.h: Ditto.
5288 * include/bits/codecvt.h: Ditto.
5289 * include/bits/cpp_type_traits.h: Ditto.
5290 * include/bits/fpos.h: Ditto.
5291 * include/bits/gslice.h: Ditto.
5292 * include/bits/gslice_array.h: Ditto.
5293 * include/bits/indirect_array.h: Ditto.
5294 * include/bits/ios_base.h: Ditto.
5295 * include/bits/limits_generic.h: Ditto.
5296 * include/bits/locale_facets.h: Ditto.
5297 * include/bits/localefwd.h: Ditto.
5298 * include/bits/mask_array.h: Ditto.
5299 * include/bits/sbuf_iter.h: Ditto.
5300 * include/bits/sequence_concepts.h: Ditto.
5301 * include/bits/slice.h: Ditto.
5302 * include/bits/slice_array.h: Ditto.
5303 * include/bits/std_algorithm.h: Likewise.
5304 * include/bits/std_bitset.h: Likewise.
5305 * include/bits/std_complex.h: Likewise.
5306 * include/bits/std_deque.h: Likewise.
5307 * include/bits/std_fstream.h: Likewise.
5308 * include/bits/std_functional.h: Likewise.
5309 * include/bits/std_iomanip.h: Likewise.
5310 * include/bits/std_ios.h: Likewise.
5311 * include/bits/std_iosfwd.h: Likewise.
5312 * include/bits/std_iostream.h: Likewise.
5313 * include/bits/std_istream.h: Likewise.
5314 * include/bits/std_iterator.h: Likewise.
5315 * include/bits/std_list.h: Likewise.
5316 * include/bits/std_locale.h: Likewise.
5317 * include/bits/std_map.h: Likewise.
5318 * include/bits/std_memory.h: Likewise.
5319 * include/bits/std_numeric.h: Likewise.
5320 * include/bits/std_ostream.h: Likewise.
5321 * include/bits/std_queue.h: Likewise.
5322 * include/bits/std_set.h: Likewise.
5323 * include/bits/std_sstream.h: Likewise.
5324 * include/bits/std_stack.h: Likewise.
5325 * include/bits/std_stdexcept.h: Likewise.
5326 * include/bits/std_streambuf.h: Likewise.
5327 * include/bits/std_string.h: Likewise.
5328 * include/bits/std_utility.h: Likewise.
5329 * include/bits/std_valarray.h: Likewise.
5330 * include/bits/std_vector.h: Likewise.
5331 * include/bits/stringfwd.h: Likewise.
5332 * include/bits/type_traits.h: Likewise.
5333 * include/bits/valarray_array.h: Likewise.
5334 * include/bits/valarray_meta.h: Likewise.
5336 2001-02-19 Andreas Jaeger <aj@suse.de>
5338 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
5341 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
5344 * include/bits/std_ostream.h: Replaced usage of
5345 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
5346 * include/bits/char_traits.h: Removed non-standard
5347 methods that cannot be used elsewhere.
5350 * include/bits/basic_ios.h: Uncommented #include of
5354 * include/bits/codecvt.h: See next...
5355 * include/bits/fstream.tcc: See next...
5356 * include/bits/ostream.tcc: Add __extension__
5357 to variable-length arrays.
5360 * include/bits/localefwd.h: Changed int counter type to size_t.
5363 * include/bits/std_fstream.h: Added typedef for __ctype_type.
5365 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
5367 * testsuite/21_strings/char_traits.cc: Move to ...
5368 * testsuite/21_strings/char_traits_requirements.cc: ..here.
5369 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
5370 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
5372 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
5374 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
5377 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5379 * include/bits/c++config: Revert.
5381 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5383 * include/bits/istream.tcc: Use ios_base::iostate in place of
5384 iostate throughout. Insert `typename' keyword where necessary.
5385 * include/bits/ostream.tcc: Insert `typename' keyword where
5388 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
5390 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
5391 Define so library is compliant.
5393 2001-02-15 Anthony Green <green@redhat.com>
5395 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
5397 * aclocal.m4: Regenerate.
5398 * configure: Regenerate.
5400 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
5402 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
5403 Include ieeefp.h for fpclass on UnixWare{2,7}.
5404 * aclocal.m4: Regenerate.
5405 * configure: Regenerate.
5406 * mkcheck.in (size_command): Do without GNU-grep when using
5409 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5411 Remove old ABI support from libsupc++.
5412 * libsupc++/cxxabi.h: Remove conditionally compiled code.
5413 * libsupc++/exception_support.cc: Likewise.
5414 * libsupc++/pure.cc: Likewise.
5415 * libsupc++/tinfo.cc: Likewise.
5416 * libsupc++/tinfo.h: Likewise.
5417 * libsupc++/tinfo2.cc: Likewise.
5418 * libsupc++/typeinfo: Likewise.
5419 * libsupc++/vec.cc: Likewise.
5421 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5423 Add support for -fno-exceptions.
5424 * include/bits/exception_support.h: Remove.
5425 * include/bits/basic_string.h: Remove exception_support.
5426 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
5428 (string::substr): Same.
5429 * include/bits/basic_string.tcc (string::reserve): Replace
5430 __LENGTHERROR with __throw_length_error.
5431 (string::_S_create): Same.
5432 (string::resize): Same.
5433 (string::_M_replace): Same.
5434 (string::replace): Same.
5435 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
5436 (string::compare): Same.
5437 * include/bits/stl_vector.h: Remove exception_support.
5438 * src/Makefile.am (base_headers): Remove here.
5439 * src/Makefile.in: Regenerate.
5441 * include/bits/stl_range_errors.h: Remove.
5442 * include/bits/stl_deque.h: Use __throw_range_error.
5443 * include/bits/std_deque.h: Include functexcept.h.
5444 * include/bits/std_vector.h: Same.
5445 * src/Makefile.am (base_headers): Remove here.
5446 * src/Makefile.in: Regenerate.
5447 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
5448 * include/ext/bvector: Remove stl_range_errors.h
5450 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
5452 * include/bits/functexcept.h: New file.
5453 * src/functexcept.cc: New file. Definitions for function-based
5455 * src/Makefile.am (sources): Add functexcept.cc.
5456 * src/Makefile.in: Regenerate.
5458 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
5461 * include/bits/localefwd.h: Include functexcept.h.
5462 * include/bits/std_iosfwd.h: Same.
5464 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
5465 throw basic_ios::failure.
5466 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
5467 Use __throw_exception_again.
5468 (filebuf::_M_filebuf_init): Same.
5469 * include/bits/streambuf.tcc (__copy_streambufs): Same.
5470 * include/bits/ostream.tcc (ostream::operator<<): Same.
5471 * include/bits/istream.tcc (istream::operator>>): Same.
5472 * include/bits/basic_string.tcc (string::_M_mutate): Same.
5473 (string::_S_construct): Same.
5474 (string::_M_clone): Same.
5475 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
5477 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
5478 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
5479 __throw_exception_again.
5480 (locale::_Imp::_Imp(string, size_t): Same.
5481 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
5482 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
5483 (locale::locale(const char*)): Use __throw_runtime_error.
5484 (locale::classic): Use __throw_exception_again.
5485 (locale::_S_normalize_category): Use __throw_runtime_error.
5487 * src/stdexcept.cc: Remove cruft.
5489 * libsupc++/exception_defines.h: New file.
5490 * libsupc++/new_opnt.cc: Include exception_defines.h.
5491 * libsupc++/vec.cc: Same.
5492 (__cxa_vec_new2): Use __throw_exception_again.
5493 (__cxa_vec_new3): Same.
5494 (__cxa_vec_ctor): Same.
5495 (__cxa_vec_delete3): Same.
5496 (__cxa_vec_cctor): Same.
5497 (__cxa_vec_delete2): Same.
5498 (__cxa_vec_dtor): Same.
5499 * libsupc++/exception_support.cc: Include exception_defines.h. Only
5500 compile exception-handling bits if __EXCEPTIONS is defined.
5501 Remove old ABI support.
5502 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
5503 std::__throw_bad_alloc() instead of throw bad_alloc.
5504 * libsupc++/Makefile.am: Add exception_defines.h.
5505 * libsupc++/Makefile.in: Reformat.
5506 * libsupc++/*: Format.
5508 2001-02-15 Phil Edwards <pme@sources.redhat.com>
5510 * docs/html/configopts.html: Minor updates and typo fixes.
5511 * docs/html/faq/index.html: Updates of the "not really bugs" list.
5512 * docs/html/faq/index.txt: Regenerated.
5514 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
5516 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
5517 dejagnu/dg.exp. Adapt to log options used to run testcases.
5519 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5521 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
5524 2001-02-13 Dirk Mueller <dmuell@gmx.net>
5525 Phil Edwards <pme@sources.redhat.com>
5527 * include/backward/function.h: Do not use rel_ops for older
5529 * include/backward/pair.h: Likewise.
5531 2001-02-12 Mark Mitchell <mark@codesourcery.com>
5533 * src/locale.cc: Remove bogus locale::id definitions.
5535 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5537 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
5538 not _DEFINE_VALARRAY_OPERATOR which is not existent.
5540 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
5541 thinko in member initialisation.
5543 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5545 * include/bits/std_valarray.h(valarray<>::shift): Avoid
5546 comparaison between signed and unsigned integer types.
5547 (valarray<>::cshift): Reformat.
5549 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
5551 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
5552 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
5553 * configure.in: Test for sigsetjmp.
5554 * configure, config.h.in: Rebuilt.
5556 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5558 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
5559 lengths and strides.
5560 (__gslice_to_index): Document.
5562 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5564 * include/bits/char_traits.h char_traits<char>::int_type: Change
5565 to `int' to match 21.1.3.1/2.
5567 * testsuite/21_strings/char_traits-int_type.C: New test.
5569 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
5571 * testsuite/Makefile.am: New file.
5573 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
5575 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
5577 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
5579 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
5581 2001-02-08 David Edelsohn <edelsohn@gnu.org>
5583 * configure.target (aix4*): Remove extra set of brackets.
5585 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
5588 * include/bits/stringfwd.h: New file.
5589 * include/bits/stl_string_fwd.h: Remove.
5590 * include/bits/localefwd.h: Remove declaration for allocator.
5591 * include/bits/std_iosfwd: Same.
5592 * include/bits/std_string.h: Include it.
5593 * include/bits/std_ios.h: Remove include.
5594 * include/bits/basic_string.h: Tweak.
5595 * libsupc++/new: Format.
5596 * src/Makefile.am (base_headers): Add stringfwd.h, remove
5598 * src/Makefile.in: Regenerate.
5599 * include/bits/std_stdexcept.h: Rewrite.
5600 * src/stdexcept.cc: Same.
5602 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
5604 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
5605 install locations too.
5606 * aclocal.m4: Regenerate.
5607 * configure.in: Remove USE_LIBDIR.
5608 * configure: Regenerate.
5609 * src/Makefile.am (toolexecdir): Simplify, use
5610 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
5611 * src/Makefile.in: Regenerate.
5612 * libsupc++/Makefile.am: Same.
5613 * libsupc++/Makefile.in: Regenerate.
5615 * src/Makefile.am: Just remove special rules for locale-inst.cc and
5616 misc-inst.cc as no longer necessary.
5618 Follow C++STYLE for naming non-static functions.
5619 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
5621 * include/bits/streambuf.tcc: Same.
5622 * include/bits/ostream.tcc: Same.
5623 * include/bits/istream.tcc: Same.
5624 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
5625 (_S_output_float): To __output_float.
5626 * include/bits/std_streambuf.h (_S_copy_streambufs): To
5628 * include/bits/locale_facets.tcc (_S_build_float_format): To
5629 __build_float_format.
5630 (_S_format): To __output_integer.
5631 (_S_fill): To __pad.
5632 * src/locale.cc: Same.
5633 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
5635 * include/bits/locale_facets.tcc (_S_group_digits): To
5637 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
5638 for collate, numpunct.
5640 2001-02-06 Phil Edwards <pme@sources.redhat.com>
5642 * docs/html/configopts.html: Fix HTML markup.
5643 * docs/html/install.html: Bring up to date.
5644 * docs/html/17_intro/C++STYLE: Add global variable conventions.
5645 * docs/html/21_strings/howto.html: More notes.
5646 * docs/html/22_locale/howto.html: Fix HTML markup.
5647 * docs/html/27_io/howto.html: More notes.
5648 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
5649 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
5651 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
5653 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
5654 to match header files.
5655 (_S_output_float): Likewise.
5656 (_S_copy_streambufs): Likewise.
5658 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
5659 Phil Edwards <pme@sources.redhat.com>
5661 * include/bits/std_istream.h (op>> signed,unsigned char): Must
5662 use reinterpret_cast, not static_cast.
5664 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
5666 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
5667 * aclocal.m4: Regenerate.
5668 * configure: Regenerate.
5670 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5672 * include/bits/locale_facets.h (class moneypunct): Fix typos.
5673 * libsupc++/pure.cc: Revert.
5675 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5677 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
5678 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
5679 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
5680 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
5681 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
5682 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
5683 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
5684 * aclocal.m4: Regenerate.
5685 * configure: Regenerate.
5687 2001-02-05 Mark Mitchell <mark@codesourcery.com>
5689 * include/bits/locale_facets.tcc: Remove `static' keyword on
5690 function definitions.
5691 * include/bits/std_streambuf.h: Likewise.
5692 * src/Makefile.am: Remove use of -fimplicit-templates.
5693 * src/Makefile.in: Regenerated.
5694 * src/locale-inst.cc: Explicitly instantiate more functions.
5695 * src/misc-inst.cc: Likewise.
5696 * src/string-inst.cc: Likewise.
5698 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5700 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
5701 macro. Consolidate all the bits to do with where includes might be
5703 * aclocal.m4: Regenerate.
5704 * configure.in: Use it.
5705 * configure: Regenerate.
5706 * src/Makefile.am (targetincludep): Use simplified rules.
5707 (targetincludep): Rename gxx_target_include_dir.
5708 (myincludep): Rename gxx_include_dir.
5709 * src/Makefile.in: Regenerate.
5710 * libsupc++/Makefile.am: Use simplified rules.
5711 * libsupc++/Makefile.in: Regenerate.
5713 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5715 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
5716 * include/c_std/bits/std_cctype.h: Same.
5717 * include/c_std/bits/std_cassert.h: Same.
5718 * include/c_std/bits/std_cstdarg.h: Same.
5719 * include/c_std/bits/std_cstddef.h: Same.
5721 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
5723 * include/c_std/bits/std_ctime.h: Same.
5724 * include/c_std/bits/std_clocale.h: Same.
5725 * include/c_std/bits/std_cmath.h: Same.
5726 * include/c_std/bits/std_csetjmp.h: Same.
5727 * include/c_std/bits/std_csignal.h: Same.
5728 * include/c_std/bits/std_cstring.h: Same.
5729 * include/c_std/bits/std_cstdlib.h: Same.
5730 * include/c_std/bits/std_cwchar.h: Same.
5732 2001-02-05 Phil Edwards <pme@sources.redhat.com>
5734 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
5736 2001-02-05 Mark Mitchell <mark@codesourcery.com>
5738 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
5739 (string::_S_construct): Likewise.
5741 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
5743 * testsuite/config/default.exp: New file.
5744 * testsuite/config: New directory.
5746 2001-02-04 Mark Mitchell <mark@codesourcery.com>
5748 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
5749 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
5750 whenever !__GXX_MERGED_TYPEINFO_NAMES.
5751 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
5753 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
5754 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5756 * Makefile.am (mkinstalldirs): Set.
5757 * src/Makefile.am (mkinstalldirs): Set.
5758 * libmath/Makefile.am (mkinstalldirs): Set.
5759 * libsup++/Makefile.am (mkinstalldirs): Set.
5760 * libio/Makefile.am (mkinstalldirs): Set.
5761 * */Makefile.in: Regenerate.
5763 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
5765 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
5766 * include/bits/localefwd.h: More initialization cleanups.
5768 2001-02-03 Jeffrey A Law <law@cygnus.com>
5770 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
5771 correctly targets with 16bit ints.
5772 (_S_ios_openmode_end): Similarly.
5773 (_S_ios_iostate_end): Similarly.
5774 (_S_ios_Seekdir_end): Similarly.
5776 2001-02-02 Phil Edwards <pme@sources.redhat.com>
5778 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
5780 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
5782 * configure.in (toplevel_srcdir, auxdir): Set.
5783 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
5784 * aclocal.m4, configure, Makefile.in: Rebuilt.
5785 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
5786 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
5787 * libsupc++-v3/Makefile.in: Rebuilt.
5788 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
5789 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
5791 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
5793 * config/c_locale_generic.cc: Remove langinfo include.
5795 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
5797 Preliminary named locales.
5798 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
5799 * aclocal.m4: Regenerate.
5800 * configure.in: Use it.
5801 * configure: Regerate.
5802 * src/Makefile.am (sources): Add c++locale.cc.
5803 (build_headers): Add c++locale.h.
5804 * src/Makefile.in: Regenerate.
5805 * config/c_locale_gnu.h: New file.
5806 * config/c_locale_gnu.cc: New file. Non-inline member functions
5807 for named locales, gnu-specific.
5808 * config/c_locale_generic.h: New file.
5809 * config/c_locale_generic.cc: New file. Non-inline member
5810 functions for named locales, generic version.
5811 * docs/html/configopts.html: Add documentation on new options.
5813 * include/bits/locale_facets.h (class _Messages): Remove.
5814 (class _Moneypunct): Remove.
5815 * src/locale-inst.cc: Remove.
5817 * include/bits/locale_facets.h (class _Collate): Remove.
5818 * src/locale-inst.cc (std): Remove.
5819 * src/locale.cc: And here.
5821 * include/bits/localefwd.h (locale::_M_coalesce): New
5822 function. Correctly put together multi-name locales.
5823 (_Impl(const _Impl&, category, size_t)): Remove.
5825 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
5827 (_M_normalize_category_names): Remove.
5828 (_M_replace_categories): Fix.
5830 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
5831 (locale::_Impl::_M_construct_ctype): Remove.
5832 (locale::_Impl::_M_construct_monetary): Remove.
5833 (locale::_Impl::_M_construct_numeric): Remove.
5834 (locale::_Impl::_M_construct_time): Remove.
5835 (locale::_Impl::_M_construct_messages): Remove.
5837 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
5838 (_Use_facet_failure_handle): Remove.
5839 * src/locale.cc: Remove definitions.
5840 * src/locale-inst.cc: And here.
5842 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
5844 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
5845 create and error-check underlying locale object.
5846 (locale::facet::_S_destroy_c_locale): Add, take care of properly
5847 tearing down underlying locale object.
5848 * include/bits/localefwd.h (locale::facet): Declare.
5849 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
5850 correctness, as glibc apparently has incorrect info in it. Test
5851 with it when it works again.....
5853 * include/bits/localefwd.h (locale::_Impl::__vec_string):
5854 Remove. Number of categories is fixed at six, so just simplify and
5855 make this an array of strings.
5856 (locale::_Impl::_M_has_name): Remove.
5857 (locale::_Impl::_M_name): Remove.
5858 (locale::_Impl::_M_category_names): Turns into...
5859 (locale::_Impl::_M_names): ...this.
5860 (locale::_Impl::_M_has_same_name()): New function.
5861 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
5862 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
5864 * src/locale.cc (locale::name()): Construct mangled name
5865 accurately reflecting combined locale categories.
5867 * src/locale.cc (locale::classic()): Don't initialize here.
5868 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
5869 __refs, bool __has_name, string __str): Do it here.
5871 * include/bits/localefwd.h: _S_categories_num to
5872 _S_num_categories. _S_facets_num to _S_num_facets.
5873 (locale::id::id()): Explicitly set _M_index to zero.
5874 * src/locale.cc: Same.
5876 * src/locale.cc: (locale::locale(const char*)): Construct named
5879 * src/locale.cc: Remove numpunct_byname ctors.
5880 * testsuite/22_locale/numpunct_byname.cc: New file.
5881 * testsuite/22_locale/numpunct.cc: New file.
5883 * include/bits/localefwd.h (class locale): Change data members to
5884 protected, from private.
5885 (_Impl::_M_get_c_locale): Add member function.
5886 (locale::facet::_M_get_global_impl()): Add member function.
5887 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
5888 a __c_locale pointer.
5889 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
5891 * testsuite/22_locale/members.cc: New file, test name and combine.
5893 * include/bits/locale_facets.h (class numpunct): Remove class
5894 _Punct and _Numpunct. Rewrite class numpunct to be correct for
5896 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
5897 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
5898 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
5899 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
5900 * testsuite/22_locale/numpunct_char_members.cc: New file.
5902 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
5904 * testsuite/README: Add more comment.
5905 * testsuite/lib/libstdc++.exp: Tweak comment.
5907 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
5909 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
5911 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
5913 * testsuite/21_strings/inserters_extractors.cc: Remove
5914 explicit reference to 'testsuite/'.
5916 2001-01-25 Richard Henderson <rth@redhat.com>
5918 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
5919 bits. Fixes Tru64 build issues.
5921 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5923 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
5924 (use ${MAKE-make}, not ${MAKE:-make}).
5925 * aclocal.m4, configure: Regenerate.
5927 2001-01-25 Mark Mitchell <mark@codesourcery.com>
5929 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
5932 * src/Makefile.am (sources): Add globals.cc.
5933 * src/Makefile.in: Regenerated.
5934 * src/globals.cc: New file.
5935 * src/ios.cc (cin): Don't define here, just declare extern.
5944 2001-01-25 Phil Edwards <pme@sources.redhat.com>
5946 * include/bits/std_iterator.h: Do not include stl_relops.h.
5947 * include/bits/std_numeric.h: Ditto.
5948 * include/bits/stl_algobase.h: Ditto.
5949 * include/bits/stl_relops.h: Add comment warning about problems.
5951 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
5953 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
5954 in testcases. Prepare for the DejaGnu based framework.
5955 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
5956 directory -- it is now mkcheck working directory.
5957 * tests_flags.in: Remove reference to $(top_srcdir). Use
5959 * Makefile.am (check, check-install): Change mkcheck invocation
5961 * Makefile.in: Regenerate.
5963 2001-01-24 Mark Mitchell <mark@codesourcery.com>
5965 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
5966 (__always_swap): Likewise.
5968 2001-01-23 Chris Demetriou <cgd@broadcom.com>
5970 * libsupc++/exception_support.cc (__terminate_func): Remove
5972 (__terminate_func_ptr): New typedef.
5973 (__terminate, __terminate_set_func): New extern function
5975 (std::terminate): Use __terminate function.
5976 (std::set_terminate): Use __terminate_set_func function.
5978 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
5980 * configure.target: Just use os_include_dir always.
5981 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
5982 Link atomicity files and ctype files here.
5983 * configure: Regenerate.
5984 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
5985 (GLIBCPP_ENABLE_ATOMICITY): Remove.
5986 * aclocal.m4: Regenerate.
5988 2001-01-23 Chris Demetriou <cgd@broadcom.com>
5990 * configure.in: Place definition of MULTISUBDIR in
5991 libsupc++/Makefile as is done for src/Makefile.
5992 * configure: Regenerate.
5994 2001-01-23 Phil Edwards <pme@sources.redhat.com>
5996 * acinclude.m4: Cosmetic changes only.
5997 * aclocal.m4: Regenerated.
5998 * configure: Regenerated.
5999 * configure.target: Update documented list of changed variables.
6000 * docs/html/install.html: Fix typo.
6001 * docs/html/20_util/howto.html: More notes on auto_ptr.
6002 * docs/html/27_io/howto.html: More notes on streabufs.
6003 * docs/html/faq/index.html: Add rel_ops problem and mention the
6004 DEC as(1) .subsection difficulty.
6005 * docs/html/faq/index.txt: Regenerated.
6007 2001-01-23 Mark Mitchell <mark@codesourcery.com>
6009 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
6010 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
6011 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
6012 its already provided in config.target.
6013 * aclocal.m4: Regenerated.
6014 * configure: Likewise.
6015 * configure.target: Set ctype_include_dir for lots of systems.
6016 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
6017 * libsupc++/Makefile.in: Regenerated.
6019 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
6021 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
6024 * testsuite/README: Add comment.
6026 2001-01-21 Phil Edwards <pme@sources.redhat.com>
6028 * docs/html/configopts.html: Update for current status. Fix HTML.
6029 * docs/html/install.html: Update for current status.
6031 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6033 * testsuite/libstdc++.tests/tests.exp: New file.
6034 * testsuite/lib/libstdc++.exp: Itou.
6035 * testsuite/README: Itou.
6037 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
6039 * tests_flags.in: Just output the bare minimum to run tests.
6040 Let's the caller do its own arrangement.
6042 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
6045 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
6047 * testsuite/17_intro: Prepare testcases for new style DejaGnu
6050 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
6052 * testsuite/libstdc++.tests, testsuite/lib: New directories.
6054 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
6056 * mkcheck.in: Construct file names that match $objdir structure.
6057 * testsuite/27_io/filebuf_members-1.txt: New file.
6058 * testsuite/27_io/ifstream_members-1.txt: New file.
6059 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
6061 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
6062 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
6064 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6066 * testsuite/27_io/istream_sentry.cc (test02): Fix.
6068 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
6071 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
6072 * src/ios.cc (ios_base::failure): Make definitions match.
6073 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
6074 (class bad_cast): Same.
6075 * libsupc++/exception (class exception): Add throw specs.
6076 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
6077 (set_unexpected): Same.
6078 (uncaught_exception): Same.
6081 * docs/html/17_intro/C++STYLE (classname): Fix.
6083 2001-01-16 Mark Mitchell <mark@codesourcery.com>
6085 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
6086 Use it do explicitly instantiate predicate<T> and value<T> for
6089 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
6091 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
6092 uninitialized thinko in last change.
6094 2001-01-16 Mark Mitchell <mark@codesourcery.com>
6096 * libsupc++/exception_support.cc (__cp_pop_exception): Change
6099 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
6101 * docs/html/17_intro/C++STYLE (classname): Add more existing
6102 and stylish patterns.
6105 * include/bits/istream.tcc (istream::sentry::sentry()): Set
6106 failbit if the state of the stream is not good.
6107 * testsuite/27_io/istream_sentry.cc (test02): Add test.
6108 * testsuite/27_io/istream_manip.cc (test01): Modify.
6111 reported by Paolo Carlini <pcarlini@unitus.it>
6112 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
6113 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
6116 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
6117 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
6118 (xsgetn): Same. Simplify.
6119 * testsuite/27_io/streambuf.cc (test04): Add testcases.
6121 reported by Larry Evans <jcampbell3@prodigy.net>
6122 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
6123 equality with eof on returned value from overflow.
6125 2001-01-14 Andreas Jaeger <aj@suse.de>
6127 * libio/libio.h: Add test for glibc 2.0.
6129 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
6131 * config/os/djgpp/bits/*: Fix dates.
6133 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
6134 _CharT* __end, _CharT __c): Remove.
6135 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
6136 * include/bits/char_traits.h: Tweak.
6138 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
6140 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
6141 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
6143 * aclocal.m4: regenerated.
6144 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
6145 * configure: regenerated.
6146 * config/os/djgpp, config/os/djgpp/bits: new directories.
6147 * config/os/djgpp/bits/ctype_base.h,
6148 config/os/djgpp/bits/ctype_inline.h,
6149 config/os/djgpp/bits/ctype_noninline.h,
6150 config/os/djgpp/bits/os_defines.h: new files.
6152 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
6154 * include/c_std/bits/std_cstdio.h: Undef printf.
6156 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
6158 * src/ios.cc: Fix typo: change cout->wcout.
6160 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
6161 * src/Makefile.in: Regenerate.
6163 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6165 * include/bits/std_complex.h: Fix a typo.
6167 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
6170 Fixes for libstdc++/1576
6171 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
6172 file, move contents into....
6173 * src/ios.cc: ...Here. Put defines for iostreams objects and
6174 initialization routines into one file to simplify DSO interaction.
6175 * include/bits/std_iostream.h: Touch.
6176 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
6177 * src/Makefile.am (sources): Remove stdstreams.cc.
6178 * src/Makefile.in: Regenerate.
6180 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6182 * tests_flags.in (check_directory): Fix typo.
6184 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6186 * include/bits/std_complex.h: Fix a typo.
6188 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
6190 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
6191 code path:) Remove magic constants and restructure to handle
6192 ctype.h bit mask layout changes more gracefully. (Make fast
6193 code path:) Use __maskrune (), if available.
6194 (is): Remove special case for digit and xdigit masks.
6196 2001-01-09 Robert Lipe <robertlipe@usa.net>
6198 * include/c_std/bits/std_ctime.h: Undefine difftime.
6200 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
6202 * src/gen-num-limits.cc (signal_adapter): New template function.
6203 (signal_handler): Use it, instead of signal.
6204 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
6205 require both tests to trap to set trap_flag.
6207 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
6209 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
6210 initialize mbstate_t member, name offset data members *off, not pos.
6211 * include/bits/fstream.tcc (filebuf::filebuf): Same.
6213 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
6215 reported by Chris G. Demetriou <cgd@sibyte.com>
6216 * configure.in: Change -linux-* to -linux*.
6217 * configure: Regenerate.
6219 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
6221 Fix 27_io/filebuf_members.cc
6222 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
6223 const string& __name, category __cat, size_t __refs): Set
6224 _M_has_name with _M_name.
6225 * include/bits/localefwd.h (locale::operator!=): Protect member
6226 function call with this->.
6227 * src/locale.cc (locale::operator==): Make fast checks first.
6228 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
6230 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
6232 * src/ios.cc (ios_base::Init::Init): Initialize here.
6233 (ios_base::sync_with_stdio): Set here.
6235 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
6237 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
6238 systems that support it, call dup() before fdopen().
6240 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
6242 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
6243 * testsuite/17_intro/header_cwctype.cc (main): New file.
6245 * src/Makefile.am (base_headers): Change.
6246 * include/bits/std_string.h: And here.
6247 * include/bits/string.tcc: Tweaks, move to...
6248 * include/bits/basic_string.tcc: ...Here.
6249 * src/string-inst.cc: Simplify, just instantiate the whole class,
6250 not member-by-member.
6252 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
6254 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
6255 * aclocal.m4: Regenerate.
6256 * configure: Regenerate.
6258 * include/bits/c++config (__GLIBCPP__): Bump version number.
6260 * ChangeLog: Start new log for year 2001
6261 * ChangeLog-2000: New file.
6263 * docs/html/configopts.html: Make sure default values are current,
6266 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
6268 * include/c_std/bits/std_cwchar.h: Same.
6269 * testsuite/17_intro/header_cwchar.cc: Same.
6270 * include/c_std/bits/std_ctime.h: Same.
6271 * testsuite/17_intro/header_ctime.cc: Same.
6272 * include/c_std/bits/std_cstdlib.h: Same.
6273 Clean up undefs, make consistent with cwchar and cmath, etc.
6274 * testsuite/17_intro/header_cstdlib.cc: Same.
6275 * include/c_std/bits/std_cstdio.h: Same here.
6276 * testsuite/17_intro/header_cstring.cc: Same.
6277 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
6278 * testsuite/17_intro/header_cstring.cc: New file. Check for
6279 size_t in namespace std.
6281 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
6282 * acconfig.h (HAVE_MBSTATE_T): Add.
6283 * config.h.in: Regenerate.
6284 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
6286 * aclocal.m4: Regenerate.
6287 * configure: Regenerate.
6288 * testsuite/17_intro/headers_c++.cc: New file.
6289 * testsuite/17_intro/headers_c.cc: Small changes.
6291 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
6293 * tests_flags.in: Fix typo in usage.
6295 * tests_flags.in: Set target specific LIBS for cygwin.