1 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
3 * include/Makefile.am (std_headers): Remove cXXX from list.
4 (c_base_srcdir): No bits subdirectory.
5 (c_base_builddir): Same.
6 (c_base_headers): Adjust names, add ciso646.
7 (bits_headers): Remove std_xxx.h headers.
8 * include/Makefile.in: Regenerate.
10 * include/ext/iterator: Adjust includes.
11 * include/ext/ropeimpl.h: Same.
12 * include/ext/stl_hash_fun.h: Same.
13 * include/ext/algorithm: Same.
15 * include/backward/bvector.h: Adjust includes.
16 * include/backward/vector.h: Same.
17 * include/backward/strstream: Same.
18 * include/backward/streambuf.h: Same.
19 * include/backward/stack.h: Same.
20 * include/backward/set.h: Same.
21 * include/backward/queue.h: Same.
22 * include/backward/multiset.h: Same.
23 * include/backward/multimap.h: Same.
24 * include/backward/map.h: Same.
25 * include/backward/list.h: Same.
26 * include/backward/iterator.h: Same.
27 * include/backward/iostream.h: Same.
28 * include/backward/iomanip.h: Same.
29 * include/backward/fstream.h: Same.
30 * include/backward/deque.h: Same.
31 * include/backward/complex.h: Same.
33 * include/bits/std_algorithm.h: Move to...
34 * include/std/algorithm: ...here.
35 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
36 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
37 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
38 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
39 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
40 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
41 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
44 * include/c_std/bits/std_cassert.h: Move to...
45 * include/c_std/cassert: Here.
46 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
47 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
48 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
49 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
51 * include/c_std/cmath: Adjust cmath.tcc include.
52 * include/c_std/cstdlib: Adjust includes.
53 * include/c_std/cwchar: Same.
54 * include/c_std/ctime: Same.
55 * include/c_std/cstring: Same.
56 * include/c_std/cstdio: Same.
57 * include/c_std/bits: Remove directory.
59 * include/c/bits/std_cassert.h: Move to...
60 * include/c/cassert: Here.
61 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
62 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
63 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
64 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
66 * include/c/bits: Remove directory.
68 * include/std/cwctype: Remove.
69 * include/std/cwchar: Remove.
70 * include/std/ctime: Remove.
71 * include/std/cstring: Remove.
72 * include/std/cstdlib: Remove.
73 * include/std/cstdio: Remove.
74 * include/std/cstddef: Remove.
75 * include/std/cstdarg: Remove.
76 * include/std/csignal: Remove.
77 * include/std/csetjmp: Remove.
78 * include/std/cmath: Remove.
79 * include/std/clocale: Remove.
80 * include/std/climits: Remove.
81 * include/std/ciso646: Remove.
82 * include/std/cfloat: Remove.
83 * include/std/cerrno: Remove.
84 * include/std/cctype: Remove.
85 * include/std/cassert: Remove.
87 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
88 files and subsituting <.xxx>
89 * include/bits/valarray_array.h: Same.
90 * include/bits/stl_uninitialized.h: Same.
91 * include/bits/stl_alloc.h: Same.
92 * include/bits/stl_algobase.h: Same.
93 * include/bits/sstream.tcc: Same.
94 * include/bits/pthread_allocimpl.h: Same.
95 * include/bits/ostream.tcc: Same.
96 * include/bits/localefwd.h: Same.
97 * include/bits/locale_facets.tcc: Same.
98 * include/bits/locale_facets.h: Same.
99 * include/bits/istream.tcc: Same.
100 * include/bits/char_traits.h: Same.
101 * include/bits/boost_concept_check.h: Same.
102 * include/bits/basic_file.h: Same.
103 * include/std/bitset: Same.
104 * include/std/complex: Same.
105 * include/std/fstream: Same.
106 * include/std/functional: Same.
107 * include/std/ios: Same.
108 * include/std/iostream: Same.
109 * include/std/ostream: Same.
110 * include/std/sstream: Same.
111 * include/std/streambuf: Same.
112 * include/std/string: Same.
113 * include/std/iterator: Same.
114 * include/std/valarray: Same.
116 * src/ios.cc: Adjust includes.
117 * src/valarray-inst.cc: Same.
118 * src/string-inst.cc: Same.
119 * src/stl-inst.cc: Same.
120 * src/stdexcept.cc: Same.
121 * src/misc-inst.cc: Same.
122 * src/localename.cc: Same.
123 * src/locale-inst.cc: Same.
124 * src/locale.cc: Same.
125 * src/limits.cc: Same.
126 * src/concept-inst.cc: Same.
127 * src/complex_io.cc: Same.
128 * src/codecvt.cc: Same.
129 * src/bitset.cc: Same.
130 * src/cmath.cc: Same.
132 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
134 * include/bits/stl_tree.h (rb_tree): Move to...
135 * include/ext/rb_tree: ...here, new file.
136 * include/Makefile.am (ext_headers): Add new file.
137 * include/Makefile.in: Regenerate.
138 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
139 return_temporary_buffer, struct temporary_buffer): Move to...
140 * include/ext/memory: ...here.
141 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
142 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
143 * include/backward/tree.h: Include <ext/rb_tree), tweak.
145 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
147 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
148 * include/ext/numeric: ...here, new file.
149 * include/bits/stl_function.h (identity_element, unary_compose,
150 binary_compose, compose1, compose2, identity, select1st,
151 select2nd, project1st + helper, project2nd + helper,
152 constant_void_fun + helper, constant_unary_fun + helper,
153 costant_binary_fun + helper, constant0, constant1, constant2,
154 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
155 * include/ext/functional: ...here, new file.
156 * include/Makefile.am (ext_headers): Add new files.
157 * include/Makefile.in: Regenerate.
158 * testsuite/ext/headers.cc: Include <ext/numeric> and
160 * include/backward/algo.h: Include <ext/numeric>, tweak.
161 * include/backward/function.h: Include <ext/functional>, tweak.
162 * include/ext/ropeimpl.h: Include <ext/numeric>.
164 2002-01-03 Jeffrey A Law <law@redhat.com>
166 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
167 __strtoull declarations with __extension__.
169 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
171 * testsuite/lib/prune.exp: Correct regular expression for
174 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
176 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
177 Change concept checks, as with lower_bound and PR 2054.
178 * testsuite/ext/concept_checks.cc: Expand test to include those.
180 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
182 * include/bits/boost_concept_check.h: Import some changes from
183 upsteam (Boost) version.
185 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
187 * include/bits/stl_algobase.h (copy_n + helpers,
188 lexicographical_compare_3way + helpers): Move to...
189 * include/ext/algorithm: ...here.
190 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
192 * include/ext/memory: ...here, new file.
193 * include/Makefile.am (ext_headers): Add new file.
194 * include/Makefile.in: Regenerate.
195 * testsuite/ext/headers.cc: Include <ext/memory>.
196 * include/backward/algobase.h: Include <ext/memory> and
197 <ext/algorithm>, tweak.
198 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
199 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
201 2002-01-01 Roger Sayle <roger@eyesopen.com>
203 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
204 equivalent ___builtin__ versions.
206 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
207 are available in libstdc++ as the necessary stub implementations
208 are provided by libmath/stubs.c.
210 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
212 * configure.in: Add support for NetBSD cross compiles.
213 * configure: Regenerate.
215 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
217 * include/ext/iterator: Add #include <bits/std_iterator.h>, tweak.
218 * testsuite/ext/headers.cc: Add <ext/iterator>.
220 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
222 * include/backward/algo.h: Add two more using declarations.
223 * include/backward/iterator.h: Include <ext/iterator>,
224 add using declaration.
225 * include/ext/algorithm: Add #pragma GCC system_header.
227 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
229 * include/bits/stl_bvector.h: Change calls to 3-argument distance()
230 into standard 2-argument version.
231 * include/bits/stl_deque.h: Likewise.
232 * include/bits/stl_tempbuf.h: Likewise.
233 * include/bits/stl_tree.h: Likewise.
234 * include/bits/stl_vector.h: Likewise.
235 * include/ext/stl_hashtable.h: Likewise.
236 * include/bits/stl_iterator_base_funcs.h: Move distance() extension...
237 * include/ext/iterator: to here. New file.
238 * include/Makefile.am (ext_headers): Add new file, alphabatize.
239 * include/Makefile.in: Regenerate.
241 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
243 * include/bits/stl_deque.h: Doxygenate with initial/example hooks.
244 Clean up spacing and indentation.
246 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
248 * include/ext/slist: Move into __gnu_cxx,
249 tweak, add using declarations.
251 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
253 * include/ext/hash_map: Move into __gnu_cxx,
254 tweak, add using declarations.
255 * include/ext/hash_set: Ditto.
256 * include/ext/ropeimpl.h: Ditto.
257 * include/ext/stl_hash_fun.h: Ditto.
258 * include/ext/stl_hashtable.h: Ditto.
259 * include/ext/stl_rope.h: Ditto.
260 * src/ext-inst.cc: Tweak.
261 * testsuite/ext/rope.cc: Tweak.
263 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
265 * include/backward/algo.h: Include <ext/algorithm>,
266 tweak using declarations.
268 2001-12-29 Richard Henderson <rth@redhat.com>
270 * config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits.
271 * config/os/hpux/bits/cpu_limits.h: New file.
272 * configure.target (CPULIMITSH): Use it.
274 2001-12-28 Richard Henderson <rth@redhat.com>
276 * config/cpu/ia64/bits/cpu_limits.h: New file.
277 * config/os/osf/osf5.0/bits/cpu_limits.h: New file.
278 * configure.target (CPULIMITSH): Use them.
280 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
282 * include/bits/c++config: Move doxygen hook comment...
283 * docs/doxygen/doxygroups.cc: ...to here.
285 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
288 * include/bits/stl_algo.h (lower_bound): Relax concept checks.
289 * testsuite/ext/concept_checks.cc: New file.
291 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
293 * include/bits/stl_algo.h (count returning void,
294 count_if returning void, __random_sample, random_sample,
295 random_sample_n, __is_heap, is_heap, is_sorted): Move to...
296 * include/ext/algorithm: ...here, new file.
297 * include/Makefile.am (ext_headers): Add new file.
298 * include/Makefile.in: Regenerate.
299 * testsuite/ext/headers.cc: Include <ext/algorithm>.
301 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
302 Nathan Myers <ncm@cantrip.org>
304 * include/bits/basic_string.h (insert(__pos, __s, __n)):
305 Optimize by avoiding temporaries and working in-place when possible.
306 (insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n).
307 (insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n).
308 * testsuite/21_strings/insert.cc (test02): New testcases.
310 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
312 * testsuite/testsuite_hooks.h (gnu_counting_struct): Add.
313 * testsuite/23_containers/deque_ctor.cc: New file.
315 2001-12-27 Paolo Carlini <pcarlini@unitus.it>
317 * include/bits/locale_facets.tcc (collate::do_transform):
318 Adjust implicit typename.
319 * config/locale/messages_members_generic.h (messages::open,
320 messages::do_open, messages::do_get): Adjust implicit typename.
321 * config/locale/messages_members_gnu.h (messages::open,
322 messages::do_open, messages::do_get): Adjust Implicit typename.
323 * config/locale/messages_members_ieee_1003.1-200x.h (messages::open,
324 messages::do_open, messages::do_get): Adjust implicit typename.
326 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
329 * src/misc-inst.cc: Many additional I/O-related instantiations.
330 * testsuite/27_io/instantiations.cc: New file.
332 2001-12-26 Benjamin Kosnik <bkoz@waller.constant.com>
334 * testsuite/24_iterators/insert_iterator.cc (test02): Add.
335 * testsuite/24_iterators/front_insert_iterator.cc (test02): Add.
336 * testsuite/24_iterators/back_insert_iterator.cc (test02): Add.
337 * testsuite/24_iterators/reverse_iterator.cc (test02): Add.
339 * include/bits/stl_iterator.h (reverse_iterator): Uglify member
340 current to _M_current.
341 (back_insert_iterator): Uglify member container to _M_container.
342 (front_insert_iterator): Same.
343 (insert_iterator): Same.
345 2001-12-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
347 * include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New
348 macros for signed types; default value is true.
349 (numeric_limits<>::is_modulo): Get value from corresponding
350 __glibcpp_xxx_is_modulo macro.
352 2001-12-23 Jeffrey A Law <law@redhat.com>
354 * config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>.
355 Twiddle return types for strtoll and strtoull to avoid using
356 intmax_t and uintmax-t.
358 2001-12-22 Richard Henderson <rth@redhat.com>
360 * configure.target (CPULIMITSH): Fix typo in alpha case.
362 2001-12-22 Jeffrey A Law <law@redhat.com>
364 * config/os/hpux/bits/os_defines.h: Update to avoid #defines
365 for strtoll and strtoull.
367 2001-12-21 Jeffrey A Law <law@redhat.com>
369 * config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
370 Define strtoll and strtoull. Provide prototypes for
371 __strtoll and __strtoull. Define _GLIBCPP_USE_LONG_LONG
374 * src/locale-inst.cc: Include <bits/std_cstdlib.h>
376 * configure.target: Fix typo in hpux case.
378 2001-12-21 Paolo Carlini <pcarlini@unitus.it>
380 * include/ext/stl_rope.h (_Rope_iterator):
381 Add local typedef to fix implicit typename problems.
383 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
385 * docs/doxygen/Intro.3: New 'Allocators' module.
386 * docs/doxygen/TODO: Update.
387 * docs/doxygen/doxygroups.cc: Update.
388 * docs/doxygen/run_doxygen: Update.
390 * include/bits/stl_alloc.h: Tweak doxygen hooks in comments.
391 * include/bits/std_memory.h: Doxygenate.
392 * include/bits/stl_iterator_base_types.h: Likewise.
393 * include/bits/stl_raw_storage_iter.h: Likewise.
394 * include/bits/stl_tempbuf.h: Likewise.
395 (get_temporary_buffer): Remove unused nonstandard overload.
396 * include/bits/stl_uninitialized.h: Likewise.
398 * include/bits/stl_iterator_base_types.h (input_iterator,
399 output_iterator, forward_iterator, bidirectional_iterator,
400 random_access_iterator): Move old names...
401 * include/backward/iterator.h: ...to here.
402 * include/bits/stl_bvector.h: Update.
403 * include/ext/stl_rope.h: Update.
405 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
407 * docs/html/configopts.html: Describe recent options.
408 * docs/html/documentation.html: Point to new doxygen tarballs.
409 * docs/html/install.html: Brief updates.
410 * docs/html/17_intro/RELEASE-NOTES: Remove weird control character.
411 * docs/html/ext/howto.html: Fix typos, describe filebuf::fd().
412 * docs/html/faq/index.html: Update for 3.0.95.
413 * docs/html/faq/index.txt: Regenerate.
415 2001-12-19 David Billinghurst <David.Billinghurst@riotinto.com>
418 * testsuite/lib/libstdc++-v3-dg.exp: Append .exe to
421 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
423 * docs/html/17_intro/TODO: Update.
424 * docs/html/17_intro/RELEASE-NOTES: Edits, update.
425 * README: Edit for clarity, update to reflect current directory
428 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
430 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
432 * aclocal.m4: Rebuild.
433 * configure: Rebuild.
435 2001-12-18 Paolo Carlini <pcarlini@unitus.it>
436 Nathan Myers <ncm@cantrip.org>
438 * include/bits/basic_string.h (assign(__str, __pos, __n)):
439 Call assign(__s, __n).
440 (assign(__s, __n)): Terminate the string with _S_terminal.
442 2001-12-17 Benjamin Kosnik <bkoz@redhat.com>
444 * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
445 Set to true, like float and double.
447 2001-12-17 David Billinghurst <David.Billinghurst@riotinto.com>
450 * testsuite/lib/prune.exp: New file
451 * testsuite/lib/libstdc++-v3-dg.exp: Use it
453 2001-12-17 Phil Edwards <pme@gcc.gnu.org>
455 * include/bits/basic_file.h (__basic_file::fd): New function.
456 * config/io/basic_file_stdio.h (__basic_file::fd): Define.
457 * include/bits/std_fstream.h (basic_filebuf::fd): New function.
458 * include/bits/fstream.tcc (basic_filebuf::fd): Define.
459 * testsuite/27_io/filebuf_members.cc (test_02): New test.
461 2001-12-16 Nathan Sidwell <nathan@codesourcery.com>
463 * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
464 * po/Makefile.in: Regenerated.
466 2001-12-16 Paolo Carlini <pcarlini@unitus.it>
468 * testsuite/21_strings/assign.cc (test01): Add tests.
470 2001-12-15 Paolo Carlini <pcarlini@unitus.it>
471 Nathan Myers <ncm@cantrip.org>
473 * include/bits/basic_string.h
474 (assign(__str, __pos, __n), assign(__s, __n)): Optimize
475 by avoiding unnecessary temporaries.
476 (assign(__s)): Call assign(__s, __n).
477 * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
478 * include/bits/std_string.h: include stl_function.h.
479 * testsuite/21_strings/assign.cc (test02, test03): New tests.
481 2001-12-15 Benjamin Kosnik <bkoz@redhat.com>
483 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
485 * aclocal.m4: Regenerate.
486 * configure: Regenerate.
488 2001-12-14 Benjamin Kosnik <bkoz@redhat.com>
490 Clean up initialization and simplfy caching of underlying "C"
491 default locale objects.
492 * src/localename.cc (locale::_Impl::_Impl(string, size_t):
493 Unconditionally create __clocale object for all named locales,
494 including "C" and "POSIX".
495 * config/locale/c_locale_generic.cc
496 (locale::facet::_S_create_c_locale): Always set __cloc to zero.
497 * config/locale/c_locale_gnu.cc: Always delete.
498 * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
499 * src/locale.cc (locale::classic()): Initialize
500 locale::facet::_S_c_locale.
501 (locale::facet::_S_c_locale): Define.
503 * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
505 * src/locale.cc: Add definition here.
506 * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
507 * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
508 * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
510 (ctype<char>::_M_toupper): Remove const&.
511 (ctype<char>::_M_tolower): Remove const&.
512 (ctype<char>::_M_ctable): Remove const&.
514 * include/bits/locale_facets.h (collate): Clean up initialization
515 of _M_c_locale_collate in ctors and dtors.
516 * config/locale/collate_members_gnu.cc: Always use extended
519 * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
520 (messages_byname): Same.
521 * config/locale/messages_members_generic.h (messages::~messages):
523 * config/locale/messages_members_gnu.h: Same.
525 * include/bits/localefwd.h: Clean. Move dtor definitions to
526 * src/locale.cc: Here.
527 * testsuite/22_locale/facet.cc: Fix spelling.
529 Named locale support for ctype<wchar_t>.
530 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
531 ctype_members_* bits.
532 * aclocal.m4: Regenerate.
533 * configure: Regenerate.
534 * src/Makefile.am (sources): Add ctype.cc.
535 * src/Makefile.in: Regenerate.
536 * config/locale/ctype_members_generic.cc: New file.
537 * config/locale/ctype_members_gnu.cc: New file.
538 * src/locale.cc: Remove ctype<wchart_t> definitions.
540 2001-12-13 Roger Sayle <roger@eyesopen.com>
542 * acconfig.h: Test for __builtin_sqrt instead of
544 * acinclude.m4: Same.
545 * include/c_shadow/bits/std_cmath.h: Same.
546 * aclocal.m4: Regenerated.
547 * config.h.in: Regenerated.
548 * configure: Regenerated.
550 2001-12-13 Phil Edwards <pme@gcc.gnu.org>
552 * docs/html/ext/howto.html: Fix typos.
554 2001-12-13 Benjamin Kosnik <bkoz@redhat.com>
557 * src/locale.cc (locale::locale(const char*)): Deal with locales
559 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
561 2001-12-12 Paolo Carlini <pcarlini@unitus.it>
563 * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
564 _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
565 _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
566 : Adjust implicit typename.
567 * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
568 Adjust implicit typename.
569 * testsuite/27_io/streambuf.cc: Adjust implicit typename.
571 2001-12-12 Benjamin Kosnik <bkoz@redhat.com>
573 Named locale support for ctype<char>.
574 * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
575 * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
576 definitions for alternate constructor.
577 * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
578 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
579 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
580 * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
581 * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
582 * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
583 * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
584 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
585 * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
586 * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
587 * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
588 * config/os/aix/bits/ctype_noninline.h (ctype): Same.
589 * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
590 definitions for all virtual functions. These are now explicitly
591 undefined for non-required factets, ie any non-char, non-wchar_t
593 * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
594 locales use alternate constructor for ctype facet.
595 * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
596 mask*, bool, size_t): Add.
597 (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
598 * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
601 * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
602 XFAIL for non-gnu locale models.
604 2001-12-12 Philip Martin <philip@codematters.co.uk>
605 Ross Smith <r-smith@ihug.co.nz>
606 Paolo Carlini <pcarlini@unitus.it>
609 * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
610 Fix digits10 values for integral types.
611 * include/bits/locale_facets.tcc (num_get::do_get for integral types):
612 Tweak _M_extract_int call.
613 * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
614 Tweak overflowing number of digits.
615 * testsuite/18_support/numeric_limits.cc (test03): New testcase.
617 2001-12-11 Benjamin Kosnik <bkoz@redhat.com>
619 * config/os/generic/bits/ctype_inline.h: Remove spaces.
620 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
621 * include/bits/locale_facets.h (__num_base): Move double data
622 members to first in class.
623 * include/bits/locale_facets.tcc: Re-arrange, tweak.
624 * src/locale.cc: Clean.
625 *include/bits/stl_vector.h: Space typedefs.
627 2001-12-11 Phil Edwards <pme@gcc.gnu.org>
629 * testsuite/ext/allocators.cc: New file.
631 2001-12-11 Jason Merrill <jason@redhat.com>
633 * include/bits/locale_facets.tcc (_M_extract_int): Avoid
634 uninitialized warning.
636 2001-12-11 Loren Rittle <ljrittle@acm.org>
638 * config/cpu/sparc/sparc32/bits/atomicity.h
639 (__Atomicity_lock<0>::_S_atomicity_lock): Add.
641 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
643 * include/bits/basic_string.tcc (_M_replace_safe): Fix typos.
644 * include/bits/basic_string.h: Fix typos.
646 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
647 Nathan Myers <ncm@cantrip.org>
649 * include/bits/basic_string.tcc (_M_replace_safe): New function.
650 (_M_replace(input_iterator_tag), append members): Use it.
651 (_M_replace(forward_iterator_tag)): Remove.
652 * include/bits/basic_string.h: Adjust declarations.
653 * src/string-inst.cc: Adjust declarations.
655 2001-12-09 Benjamin Kosnik <bkoz@redhat.com>
656 Philip Martin <pmartin@uklinux.net>
658 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
659 (__num_base::_S_scale_oct): Add.
660 * include/bits/locale_facets.tcc (_M_extract_int): Use them.
661 * src/locale.cc: Add definitions.
662 * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
664 * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
666 2001-12-07 Nathan Myers <ncm@cantrip.org>
667 Loren Rittle <ljrittle@acm.org>
670 * config/cpu/sparc/sparc32/bits/atomicity.h
671 (struct __Atomicity_lock<__inst>): Add.
672 (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
673 (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
674 instead of lock local to static function.
675 (__atomic_add): Likewise.
677 2001-12-07 Phil Edwards <pme@gcc.gnu.org>
679 * src/globals.cc: Remove __GTHREADS guard.
681 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
683 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
684 Extend comment, reduce __cs_size for non-fixed outputs.
686 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
688 * include/bits/basic_string.tcc (_M_mutate): Fix typo
689 in the previous check in.
691 2001-12-06 Paolo Carlini <pcarlini@unitus.it>
692 Loren J. Rittle <ljrittle@acm.org>
694 * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
695 exponential growth policy to meet linear amortized time
696 requirements of the standard.
697 (_S_create): Adjust comment.
699 2001-12-06 Benjamin Kosnik <bkoz@redhat.com>
702 * include/bits/locale_facets.tcc (num_put): Clean.
703 (num_get::_M_extract_float): Change argument to string.
704 (num_get::do_get(float)): Fixup.
705 (num_get::do_get(double)): Same.
706 (num_get::do_get(long double)): Same.
707 (num_get::_M_extract_int): Add maximum length parameter, __max.
708 (num_get::_M_extract_float): Correct zeros, use string.
709 * include/bits/locale_facets.h (num_get::_M_extract_float): Change
711 * src/locale.cc (__num_base::_S_atoms): Remove x, X.
712 * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
714 2001-12-06 Philip Martin <pmartin@uklinux.net>
716 * testsuite/27_io/istream_extractor_arith.cc (test12): Add
717 tests for excess input digits.
719 2001-12-06 Phil Edwards <pme@gcc.gnu.org>
721 * include/bits/std_bitset.h: Use GLIBCPP in multiple-inclusion guard.
722 * include/bits/stl_algo.h: Likewise.
723 * include/bits/stl_algobase.h: Likewise.
724 * include/bits/stl_bvector.h: Likewise.
725 * include/bits/stl_deque.h: Likewise.
726 * include/bits/stl_function.h: Likewise.
727 * include/bits/stl_iterator.h: Likewise.
728 * include/bits/stl_iterator_base_funcs.h: Likewise.
729 * include/bits/stl_iterator_base_types.h: Likewise.
730 * include/bits/stl_list.h: Likewise.
731 * include/bits/stl_multimap.h: Likewise.
732 * include/bits/stl_multiset.h: Likewise.
733 * include/bits/stl_pair.h: Likewise.
734 * include/bits/stl_queue.h: Likewise.
735 * include/bits/stl_set.h: Likewise.
736 * include/bits/stl_stack.h: Likewise.
737 * include/bits/stl_tempbuf.h: Likewise.
738 * include/bits/stl_tree.h: Likewise.
739 * include/bits/stl_vector.h: Likewise.
741 * include/bits/stl_alloc.h: Use our own multiple inclusion guards.
742 Doxygenate more comments. Correct historical artifacts in comments.
743 (alloc, single_alloc): Uglify non-standard names.
744 (__default_alloc_template::_NFREELISTS): Calculate from other
746 (__default_alloc_template::_S_free_list): Remove SunPro workaround.
747 (__default_alloc_template::_Lock): Mark as "unused".
748 * include/backward/alloc.h: Update.
749 * include/bits/stl_bvector.h: Likewise.
750 * include/ext/ropeimpl.h: Likewise.
751 * include/ext/stl_hashtable.h: Likewise.
753 2001-12-05 Benjamin Kosnik <bkoz@redhat.com>
756 * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
757 grouping to floating point types.
758 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
760 2001-12-04 Paolo Carlini <pcarlini@unitus.it>
763 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
765 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
766 Deal properly with long ios_base::fixed floats.
767 (num_put::_M_widen_float): use
768 __len in __builtin_alloca call.
770 2001-12-04 Benjamin Kosnik <bkoz@redhat.com>
772 * src/Makefile.am (sources): Add ext-inst.cc.
773 * src/Makefile.in: Regenerate.
774 * src/ext-inst.cc: New file.
775 * include/bits/stl_threads.h: Format.
776 * src/globals.cc: Add instantiation for _S_swap_lock.
778 * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
781 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
783 * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
784 and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
785 * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
786 for explicit instantiation of class std::basic_string<char,
787 gnu_char_traits, std::allocator<char> >.
789 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
791 * testsuite/22_locale/collate.cc: Compile-only.
792 * testsuite/22_locale/time_get.cc: Same.
793 * testsuite/22_locale/time_put.cc: Same.
794 * testsuite/22_locale/numpunct.cc: Same.
795 * testsuite/22_locale/num_put.cc: Same.
796 * testsuite/22_locale/num_get.cc: Same.
797 * testsuite/22_locale/moneypunct.cc: Same.
798 * testsuite/22_locale/money_get.cc: Same.
799 * testsuite/22_locale/messages.cc: Same.
800 * testsuite/22_locale/ctype.cc: Same.
802 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
804 * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
805 member instantiations.
807 2001-12-03 Steve Ellcey <sje@cup.hp.com>
809 * libstdc++-v3/configure.in: Add support for hpux cross compiles,
810 combine common linux/hpux/generic cross compile support to reduce
812 * libstdc++-v3/configure: Regenerate.
814 2001-12-03 Loren J. Rittle <ljrittle@acm.org>
816 * docs/html/ext/howto.html: Update commentary.
817 * include/bits/c++config: Update threading configuration comment.
818 (__STL_GTHREADS): Remove macro definition.
819 (__STL_THREADS): Likewise.
820 * include/bits/stl_threads.h: Leave only the configuration
821 path which had been guarded by __STL_GTHREADS. Remove all
822 guards related to __STL_GTHREADS, __STL_SGI_THREADS,
823 __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
824 * include/bits/stl_alloc.h: Leave only the configuration path
825 which had been guarded by __STL_THREADS. Remove configuration
826 path and guards for __STL_SGI_THREADS.
827 (__NODE_ALLOCATOR_THREADS): Remove macro definition. Unroll its use.
828 (__NODE_ALLOCATOR_LOCK): Likewise.
829 (__NODE_ALLOCATOR_UNLOCK): Likewise.
830 (_NOTHREADS): Remove guards related to macro.
831 * include/ext/stl_rope.h: Remove configuration path and guards
832 for __STL_SGI_THREADS.
833 * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
835 2001-12-02 Phil Edwards <pme@gcc.gnu.org>
837 * docs/html/ext/howto.html: Update list of implemented DRs.
838 * docs/html/ext/lwg-active.html: Import R20 from upstream.
839 * docs/html/ext/lwg-defects.html: Import R20 from upstream.
841 2001-11-30 Benjamin Kosnik <bkoz@redhat.com>
845 * libsupc++/exception (bad_exception::~bad_exception()): Remove
847 * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
848 * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
849 (bad_typeid::~bad_typeid()): Remove.
850 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
851 (bad_typeid::~bad_typeid()): Same.
852 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
853 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
855 * include/bits/std_iomanip.h: Tweak.
857 2001-11-29 Paolo Carlini <pcarlini@unitus.it>
860 * include/bits/locale_facets.tcc (__pad): Add bool parameter to
861 correctly pad internal-adjusted const char*-type objects.
862 * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
863 * include/bits/ostream.tcc (operator<<(_CharT , char, const
864 _CharT*, const char*, const basic_string&): Update calls.
865 * src/locale-inst.tcc: Update declarations.
866 * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
868 2001-11-29 Phil Edwards <pme@gcc.gnu.org>
870 * docs/html/ext/howto.html: Finish allocator notes (inst and 3.0).
872 2001-11-29 Benjamin Kosnik <bkoz@redhat.com>
874 * include/bits/locale_facets.tcc (num_get::do_get(long double)):
875 Fix __traits_type typo.
877 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
879 * include/bits/locale_facets.tcc (__pad): Correctly pad
880 internal-adjusted hex numbers.
881 * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
883 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
884 Loren J. Rittle <ljrittle@acm.org>
886 * include/bits/basic_string.h
887 (basic_string::_Rep::__default_excess, _S_excess_slop):
889 * include/bits/basic_string.tcc: Remove dead code.
890 * include/bits/c++config: Remove comment.
892 2001-11-28 Benjamin Kosnik <bkoz@redhat.com>
893 Jakub Jelinek <jakub@redhat.com>
895 * config/locale/moneypunct_members_gnu.cc
896 (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
898 * config/locale/numpunct_members_gnu.cc
899 (numpunct<wchar_t>::_M_initialize_numpunct): Same.
901 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
903 * include/bits/locale_facets.tcc: Formatting tweaks.
905 * testsuite/23_containers/map_operators.cc: Don't xfail.
906 * testsuite/23_containers/set_operators.cc: Same.
907 * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
908 * testsuite/backward/header_deque_h.cc: Same.
910 2001-11-27 Loren J. Rittle <ljrittle@acm.org>
911 Paolo Carlini <pcarlini@unitus.it>
913 * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
914 Enforce allocation size blocking policy to reduce
915 fragmentation and enhance performance with common malloc
918 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
920 Numeric facets cleanup.
921 * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
923 (__num_base::_M_zero): Add
924 (__num_base::_M_e): Add.
925 (__num_base::_M_E): Add.
926 * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
927 (num_get::_M_extract_float): New.
928 (num_get::_M_extract_int): New.
929 * src/locale.cc (num_get::_M_extract): Remove.
931 * include/bits/locale_facets.tcc (num_put::_M_insert_float):
932 Simplify, use _M_insert.
933 (num_put::do_put(bool)): Simplify, remove __pad.
935 (__pad_output): Change to __pad.
936 * include/bits/ostream.tcc: And here.
937 * src/locale-inst: Remove instantiations.
939 * include/bits/locale_facets.h: Move helper functions in to class
941 (num_put::_M_insert_float): Same, for __output_integer.
942 (num_put::_M_insert_int): Same, for __output_float.
943 (num_put::_M_insert): New.
945 (__num_base::_S_format_float): Move
946 __build_float_format into class __num_base.
947 (__num_base::_S_format_int): Move __build_int_format into class
949 * include/bits/locale_facets.tcc (__group_digits): Change to
950 (__add_grouping): This.
951 * src/locale-inst.cc: And here. Tweak instantiations.
952 * src/misc-inst.cc: Remove instantiations.
954 * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
955 for new calling conventions, move to...
956 * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
957 signature to make it useful for both ostream and num_put.
958 (__pad_numeric): Remove.
959 * src/misc-inst.cc: Remove instantiations.
960 * src/locale-inst.cc: Same.
962 * include/bits/locale_facets.h (_Numeric_get): Remove.
963 (_Numeric_put): Remove.
964 (num_get::get(short)): Remove.
965 (num_get::get(int)): Remove.
966 (num_get::do_get(short)): Remove.
967 (num_get::do_get(int)): Remove.
968 * include/bits/istream.tcc (istream::operator>>(short)): Fix as
970 (istream::operator>>(int)): Same.
972 * include/bits/locale_facets.h (_Format_cache): Remove.
973 * include/bits/locale_facets.tcc: Same.
974 * src/locale.cc: Same.
975 * src/locale-inst.cc: Same.
976 * include/bits/ostream.tcc: Same.
977 * src/ios.cc (ios_base::imbue): Remove here as well.
979 * testsuite/22_locale/num_get.cc: New file.
980 * testsuite/22_locale/num_get_members_char.cc: New file.
981 * testsuite/22_locale/num_get_members_wchar_t.cc: New.
982 * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
983 * testsuite/22_locale/num_put.cc: New file.
984 * testsuite/22_locale/num_put_members_char.cc: New file.
985 * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
986 * testsuite/27_io/ostream_inserter_arith.cc: Fix.
987 * testsuite/27_io/istream_extractor_arith.cc: Fix.
989 2001-11-27 Phil Edwards <pme@gcc.gnu.org>
991 * docs/html/explanations.html: New section, empty for now.
992 * docs/html/17_intro/howto.html: Cleanup. Move unrelated link...
993 * docs/html/23_containers/howto.html: ...to here. Break up and
994 rewrap threading discussion to emphasize warning. Move malloc text...
995 * docs/html/ext/howto.html: ...to here. New section. Describe
996 allocators and __USE_MALLOC effects.
997 * docs/html/ext/sgiexts.html: Mention their code.
999 2001-11-24 Joseph S. Myers <jsm28@cam.ac.uk>
1001 * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1002 docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
1005 2001-11-23 Phil Edwards <pme@gcc.gnu.org>
1007 * Makefile.am (doxygen-maint): The script isn't executable in CVS.
1008 * Makefile.in: Regenerated.
1009 * docs/doxygen/TODO: New file listing doxygen work to be done.
1010 * docs/doxygen/run_doxygen: Fix up man pages.
1011 * docs/doxygen/user.cfg.in: Insert maint-only toggles.
1012 * docs/doxygen/maint.cfg.in: Copy from user.cfg and turn toggles on.
1013 * include/bits/stl_construct.h: Use new hooks for internal functions.
1015 * docs/html/17_intro/TODO: Small updates.
1016 * docs/html/faq/index.html: Likewise.
1017 * docs/html/faq/index.txt: Regenerated.
1019 * include/bits/stl_alloc.h: Doxygenate, reindent comments, remove
1020 SGI-isms and wrappers.
1021 (simple_alloc, debug_alloc): Uglify class names.
1022 (__default_alloc_template): Uglify "threads" template parameter and
1023 update corresponding macros.
1024 * include/backward/alloc.h: Bring up to date.
1026 2001-11-23 Jason Merrill <jason@redhat.com>
1028 * src/vterminate.cc (__verbose_terminate_handler): Add leading
1031 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
1033 * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1034 docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
1035 docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
1036 docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
1037 docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
1038 docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
1039 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
1040 docs/html/21_strings/howto.html,
1041 docs/html/23_containers/howto.html,
1042 docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
1043 docs/html/27_io/binary_iostreams_kuehl.txt,
1044 docs/html/ext/sgiexts.html, docs/html/faq/index.html,
1045 docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
1046 include/bits/basic_file.h, include/bits/locale_facets.h,
1047 include/bits/locale_facets.tcc, include/bits/std_sstream.h,
1048 include/ext/ropeimpl.h, include/ext/stl_rope.h,
1049 libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
1050 libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
1051 configure.target, ChangeLog-2000: Fix spelling errors.
1053 * config/locale/moneypunct_members_gnu.cc,
1054 include/bits/locale_facets.h: Fix spelling errors.
1056 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
1058 * testsuite/23_containers/list_capacity.cc: New file.
1059 * testsuite/23_containers/list_ctor.cc: New file.
1060 * testsuite/23_containers/list_modifiers.cc: New file.
1061 * testsuite/23_containers/list_operators.cc: New file.
1063 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
1065 * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
1066 (size): Replaced nonstandard distance() call with the standard one.
1067 (transfer): Uglified to _M_transfer.
1069 2001-11-21 Paolo Carlini <pcarlini@unitus.it>
1072 * include/bits/basic_string.tcc (basic_string::reserve): Never shrink
1073 below the current size.
1074 * testsuite/21_strings/capacity.cc (test02): Add test.
1076 2001-11-19 Phil Edwards <pme@gcc.gnu.org>
1078 * docs/doxygen/Intro.3: More notes.
1079 * docs/doxygen/style.css: Update to default style from Doxygen 1.2.10.
1080 * include/bits/stl_algobase.h: Add doxygen hooks for functions.
1081 * include/ext/hash_map: Add @file hook.
1082 * include/ext/hash_set: Likewise.
1083 * include/ext/rope: Likewise.
1084 * include/ext/ropeimpl.h: Likewise.
1085 * include/ext/slist: Likewise.
1086 * include/ext/stl_hash_fun.h: Likewise.
1087 * include/ext/stl_hashtable.h: Likewise.
1088 * include/ext/stl_rope.h: Likewise.
1090 * docs/html/17_intro/license.html: Remove "experimental" sentence.
1091 * docs/html/19_diagnostics/howto.html: Document new verbose
1093 * testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
1094 to more visible (closer to description) position.
1096 * libsupc++/eh_type.cc: Formatting tweak.
1097 * libsupc++/exception: Likewise.
1098 * src/vterminate.cc: Likewise.
1100 * docs/html/17_intro/porting.html: Regenerate.
1101 * docs/html/faq/index.txt: Regenerate.
1103 2001-11-18 Jason Merrill <jason@redhat.com>
1105 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
1106 * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
1107 * libsupc++/unwind-cxx.h: Adjust.
1108 * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
1110 * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
1111 * libsupc++/cxxabi.h: Declare it.
1112 * libsupc++/Makefile.am (sources): Add it.
1113 * src/vterminate.cc (verbose_terminate_handler): New file.
1114 * libsupc++/exception: Declare it.
1115 * src/Makefile.am (sources): Add it.
1117 * src/Makefile.am (VPATH): Check the src directory before the top one.
1119 2001-11-16 Paolo Carlini <pcarlini@unitus.it>
1121 * include/bits/stl_deque.h (deque::erase()): Fix memory leak.
1123 2001-11-16 Loren J. Rittle <ljrittle@acm.org>
1125 * docs/html/17_intro/howto.html (Thread-safety): Rename
1126 section to ``The Standard C++ library and multithreading'' and
1127 update information based on recent mailing list traffic. Move
1128 all discussion of __USE_MALLOC to...
1129 * docs/html/23_containers/howto.html (Containers and multithreading):
1130 ...here and rework it based on recent mailing list traffic.
1132 2001-11-15 Loren J. Rittle <ljrittle@acm.org>
1134 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
1137 2001-11-15 <bjornw@planetarion.com>
1138 Loren J. Rittle <ljrittle@acm.org>
1141 * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
1142 (single_client_alloc): Likewise.
1144 2001-11-08 Danny Smith <dannysmith@users.sourceforge.net>
1146 * configure.target: Add os_include_dir for mingw32* target.
1147 * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
1148 from _GLIBCPP_AVOID_FSEEK.
1149 * config/os/mingw32/bits/ctype_base.h: New file.
1150 * config/os/mingw32/bits/ctype_inline.h: New file.
1151 * config/os/mingw32/bits/ctype_noninline.h: New file.
1152 * config/os/mingw32/bits/os_defines.h: New file.
1154 2001-11-07 Nathan Myers <ncm@cantrip.org>
1156 * docs/html/faq/index.html (5.8): New entry on ABIs.
1157 * docs/html/faq/index.txt: Regenerate.
1159 2001-11-07 Phil Edwards <pme@gcc.gnu.org>
1161 * docs/html/faq/index.html: Explain libsupc++, mention 'long long'
1162 bugfixes on Solaris.
1163 * docs/html/faq/index.txt: Regenerate.
1165 2001-11-06 Phil Edwards <pme@gcc.gnu.org>
1167 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
1168 LANG_CPLUSPLUS mode.
1169 * aclocal.m4: Regenerate.
1170 * configure: Regenerate.
1172 2001-11-05 Phil Edwards <pme@gcc.gnu.org>
1174 * porting.texi: Move...
1175 * docs/html/17_intro/porting.texi: ...to here.
1176 * docs/html/Makefile: Add rule to rebuild...
1177 * docs/html/17_intro/porting.html: ...this. New file.
1179 2001-11-05 Felix Natter <fnatter@gmx.net>
1181 * docs/html/17_intro/porting-howto.xml: check in v0.9.4
1182 * docs/html/17_intro/porting-howto.html: regenerate
1184 2001-11-02 Loren J. Rittle <ljrittle@acm.org>
1186 * include/bits/stl_threads.h (_Atomic_swap): Only enable path
1187 when platform supports __GTHREAD_MUTEX_INIT.
1189 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1191 * acconfig.h: Update comments.
1192 * acinclude.m4 (GLIBCPP_ENABLE_C99): Move strtoll, strtoull tests...
1193 (GLIBCPP_ENABLE_LONG_LONG): ...to here. Don't check enable_c99.
1194 * aclocal.m4: Regenerate.
1195 * config.h.in: Regenerate.
1196 * configure: Regenerate.
1198 * include/bits/boost_concept_check.h: Unconditionally compile uses
1199 of 'long long' which require only compiler support, not C lib support.
1200 * include/bits/cpp_type_traits.h: Likewise.
1201 * include/bits/std_limits.h: Likewise.
1202 * include/bits/type_traits.h: Likewise.
1203 * src/concept-inst.cc: Likewise.
1204 * src/limits.cc: Likewise.
1205 * include/c_shadow/stdlib.h: Compile conditionally on _GLIBCPP_USE_C99
1206 instead of _GLIBCPP_USE_LONG_LONG.
1207 * include/c_shadow/bits/std_cstdlib.h: Likewise.
1209 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1211 * config/io/c_io_stdio.h: Correct grammar in comments.
1212 * docs/doxygen/Intro.3: Expand "top-level" man page.
1213 * docs/doxygen/doxygroups.cc: New module definitions (comments).
1214 * docs/doxygen/mainpage.doxy: Tweaks.
1215 * docs/doxygen/run_doxygen: Update Doxygen version, massage man pages.
1217 Add @file hooks so that headers are considered to be documented.
1218 * include/bits/basic_ios.h, include/bits/basic_file.h,
1219 include/bits/basic_string.h, include/bits/boost_concept_check.h,
1220 include/bits/char_traits.h, include/bits/codecvt.h,
1221 include/bits/concept_check.h, include/bits/cpp_type_traits.h,
1222 include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
1223 include/bits/indirect_array.h, include/bits/ios_base.h,
1224 include/bits/locale_facets.h, include/bits/localefwd.h,
1225 include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
1226 include/bits/slice.h, include/bits/slice_array.h,
1227 include/bits/std_algorithm.h, include/bits/std_bitset.h,
1228 include/bits/std_complex.h, include/bits/std_deque.h,
1229 include/bits/std_fstream.h, include/bits/std_functional.h,
1230 include/bits/std_iomanip.h, include/bits/std_ios.h,
1231 include/bits/std_iosfwd.h, include/bits/std_iostream.h,
1232 include/bits/std_istream.h, include/bits/std_iterator.h,
1233 include/bits/std_limits.h, include/bits/std_list.h,
1234 include/bits/std_locale.h, include/bits/std_map.h,
1235 include/bits/std_memory.h, include/bits/std_numeric.h,
1236 include/bits/std_ostream.h, include/bits/std_queue.h,
1237 include/bits/std_set.h, include/bits/std_sstream.h,
1238 include/bits/std_stack.h, include/bits/std_streambuf.h,
1239 include/bits/std_string.h, include/bits/std_utility.h,
1240 include/bits/std_valarray.h, include/bits/std_vector.h,
1241 include/bits/stl_algo.h, include/bits/stl_alloc.h,
1242 include/bits/stl_bvector.h, include/bits/stl_construct.h,
1243 include/bits/stl_deque.h, include/bits/stl_heap.h,
1244 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
1245 include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
1246 include/bits/stl_map.h, include/bits/stl_multimap.h,
1247 include/bits/stl_multiset.h, include/bits/stl_numeric.h,
1248 include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
1249 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
1250 include/bits/stl_relops.h, include/bits/stl_set.h,
1251 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
1252 include/bits/stl_threads.h, include/bits/stl_tree.h,
1253 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
1254 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
1255 include/bits/stringfwd.h, include/bits/type_traits.h,
1256 include/bits/valarray_array.h, include/bits/valarray_meta.h:
1257 Add hooks, tweak comments only.
1259 * include/bits/stl_algobase.h (swap, min, iter_swap): Also
1260 document these functions.
1261 * include/bits/stl_function.h: Tweak link comments.
1263 2001-11-01 Paolo Carlini <pcarlini@unitus.it>
1264 Benjamin Kosnik <bkoz@redhat.com>
1266 * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
1268 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
1270 2001-11-01 Egor Duda <deo@logos-m.ru>
1272 * config/os/newlib/bits/ctype_noninline.h
1273 (ctype<char>::do_toupper(char __c)): Check for proper character class.
1274 (ctype<char>::do_tolower(char __c)): Ditto.
1276 2001-11-01 Phil Edwards <pme@gcc.gnu.org>
1278 * acinclude.m4: Fix spacing.
1279 (GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro.
1280 * configure.in: Call here.
1281 * acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS.
1282 * include/bits/boost_concept_check.h: Fix headers.
1283 (__function_requires): Make inline.
1284 * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove.
1285 * aclocal.m4: Regenerate.
1286 * config.h.in: Regenerate.
1287 * configure: Regenerate.
1289 Move trailing ';' inside macro, PR libstdc++/3666.
1290 * include/bits/concept_check.h: Add semicolon.
1291 * include/bits/stl_algo.h: Remove semicolon.
1292 * include/bits/stl_algobase.h: Likewise.
1293 * include/bits/stl_deque.h: Likewise.
1294 * include/bits/stl_heap.h: Likewise.
1295 * include/bits/stl_iterator_base_funcs.h: Likewise.
1296 * include/bits/stl_list.h: Likewise.
1297 * include/bits/stl_map.h: Likewise.
1298 * include/bits/stl_multimap.h: Likewise.
1299 * include/bits/stl_multiset.h: Likewise.
1300 * include/bits/stl_numeric.h: Likewise.
1301 * include/bits/stl_queue.h: Likewise.
1302 * include/bits/stl_set.h: Likewise.
1303 * include/bits/stl_stack.h: Likewise.
1304 * include/bits/stl_vector.h: Likewise.
1305 * include/ext/hash_map: Likewise.
1306 * include/ext/hash_set: Likewise.
1307 * include/ext/slist: Likewise.
1309 * src/concept-inst.cc: New file with explicit instantiations.
1310 * src/Makefile.am (sources): Add here, with special build rules.
1311 * src/Makefile.in: Regenerate.
1313 2001-11-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1315 * include/bits/std_complex.h (_Norm_helper): New class template.
1317 (abs): Tweak. Fix Thinko.
1319 2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
1322 * include/bits/codecvt.h: Add virtual member function declarations.
1323 * src/codecvt.cc: Tweaks.
1324 * testsuite/22_locale/codecvt.cc: Test compilation only,
1325 non-required facets not required to have linkage.
1327 2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
1330 * include/bits/std_complex.h (complex::operator/=): Correct sign.
1332 2001-10-30 Paolo Carlini <pcarlini@unitus.it>
1333 Benjamin Kosnik <bkoz@redhat.com>
1336 * include/bits/basic_string.h: Tweaks.
1337 * include/bits/basic_string.tcc (string::_M_replace(iterator,
1338 iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
1339 * src/string-inst.cc: Tweaks, add instantiation.
1340 * testsuite/21_strings/replace.cc (test02): Add test.
1341 * testsuite/21_strings/assign.cc (test01): New file.
1343 2001-10-30 Jakub Jelinek <jakub@redhat.com>
1345 * include/bits/stl_deque.h (_M_new_elements_at_front): Use
1346 __throw_exception_again.
1347 (_M_new_elements_at_back): Likewise.
1349 2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
1352 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1353 * testsuite/27_io/filebuf.cc (test07): New test.
1354 (test03): Modify showmanyc test.
1356 2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
1359 * config/locale/codecvt_specializations_ieee_1003.1-200x.h
1360 (__enc_traits::~__enc_traits): Fix.
1361 (__enc_traits::_M_init): Add error checking.
1363 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1366 * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
1368 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1371 * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
1373 * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
1374 consistent, where possible.
1375 * include/bits/streambuf.tcc: Tweak.
1377 2001-10-25 Brendan Kehoe <brendan@zen.org>
1380 * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
1381 * bits/istream.tcc (seekg): Likewise.
1383 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1384 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1385 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1387 * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
1389 * include/bits/std_limits.h: Fix wchar_t issues.
1390 * config/os/aix/bits/os_defines.h: Fix.
1392 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1394 * include/bits/locale_facets.tcc (collate::do_transform): Fix.
1396 2001-10-25 Phil Edwards <pme@gcc.gnu.org>
1398 * docs/html/documentation.html: Fix typo.
1400 2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
1402 Make -fno-exceptions work.
1403 * config/locale/c_locale_gnu.cc: Use functexcept.
1404 * include/bits/c++config (__stl_assert): Remove.
1405 (__STL_USE_EXCEPTIONS): Same.
1407 (__STL_CATCH_ALL): Same.
1408 (__STL_THROW): Same.
1409 (__STL_RETHROW): Same.
1410 (__STL_NOTHROW): Same.
1411 (__STL_UNWIND): Same.
1412 * include/bits/pthread_allocimpl.h: Fix.
1413 * include/bits/std_bitset.h: Same.
1414 * include/bits/std_list.h: Same.
1415 * include/bits/std_memory.h: Same.
1416 * include/bits/std_queue.h: Same.
1417 * include/bits/stl_alloc.h: Same.
1418 * include/bits/stl_deque.h: Same.
1419 * include/bits/stl_list.h: Same.
1420 * include/bits/stl_queue.h: Same.
1421 * include/bits/stl_tempbuf.h: Same.
1422 * include/bits/stl_tree.h: Same.
1423 * include/bits/stl_uninitialized.h: Same.
1424 * include/bits/stl_vector.h: Same.
1425 * include/ext/ropeimpl.h: Same.
1426 * include/ext/slist: Same.
1427 * include/ext/stl_hashtable.h: Same.
1428 * include/ext/stl_rope.h: Same.
1429 * libsupc++/new_op.cc: Include cstdlib.
1430 * libsupc++/eh_personality.cc: Add exception_defines include. Use
1431 __throw_exception_again, tweak.
1432 * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
1433 * libsupc++/vec.cc: Tweak.
1434 * src/functexcept.cc: Remove unused arguments.
1435 * testsuite/23_containers/bitset_members.cc: Tweak.
1437 2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
1439 * config/cpu/i386/bits/limits.h: Move to...
1440 * config/cpu/i386/bits/cpu_limits.h: ...here.
1441 * config/cpu/cris/bits/cpu_limits.h: Same.
1442 * config/cpu/powerpc/bits/cpu_limits.h: Same.
1443 * config/cpu/x86-64/bits/cpu_limits.h: Same.
1444 * config/cpu/alpha/bits/cpu_limits.h: New.
1445 * config/cpu/m68k/bits/cpu_limits.h: New.
1446 * config/cpu/s390/bits/cpu_limits.h: New.
1447 * config/os/aix/bits/os_defines.h: Tweaks.
1448 * config/os/bsd/freebsd/bits/os_defines.h: Same.
1449 * config/os/bsd/netbsd/bits/os_defines.h: Same.
1450 * config/os/djgpp/bits/os_defines.h: Same.
1451 * config/os/generic/bits/os_defines.h: Same.
1452 * config/os/gnu-linux/bits/os_defines.h: Same.
1453 * config/os/hpux/bits/os_defines.h: Same.
1454 * config/os/irix/irix5.2/bits/os_defines.h: Same.
1455 * config/os/irix/irix6.5/bits/os_defines.h: Same.
1456 * config/os/newlib/bits/os_defines.h: Same.
1457 * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
1458 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1459 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1461 * include/bits/c++config: Remove include.
1462 * include/bits/limits_generic.h: Remove.
1463 * include/bits/std_limits.h: Include cpu_limits.h.
1464 * include/Makefile.am: Fixup.
1465 * src/limits.cc: Tweak.
1466 * src/limits_generic.cc: Remove.
1467 * src/gen-num-limits.cc: Remove.
1468 * mknumeric_limits: Remove.
1470 2001-10-20 Brendan Kehoe <brendan@zen.org>
1472 * bits/type_traits.h (_Bool): Removed this type.
1473 (__true_type, __false_type): Change to be plain structs.
1474 * src/string-inst.cc (__destroy_aux): Change third parm to be
1475 __false_type instead of _Bool<false>.
1476 * src/misc-inst.cc (__uninitialized_fill_n_aux,
1477 __uninitialized_copy_aux): Likewise.
1479 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1481 * mkcheck.in (static_fail): Remove older memory limit functionality.
1482 Disable E_TIME due to formatting issues.
1486 2001-10-19 Brendan Kehoe <brendan@zen.org>
1488 * include/bits/std_complex.h: Default initialize second argument
1489 of polar to 0, as specified in Library DR #79
1491 2001-10-19 Brendan Kehoe <brendan@zen.org>
1493 * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
1494 _Construct instead of construct.
1496 2001-10-19 Brendan Kehoe <brendan@zen.org>
1498 * include/bits/basic_string.tcc (find_first_not_of): Take out check for
1499 __n being non-zero, since the standard does not mandate that.
1500 e.g., a search for "" in "" should yield position 0, not npos.
1501 (find_last_not_of): Likewise.
1503 2001-10-19 Brendan Kehoe <brendan@zen.org>
1505 * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
1506 to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
1508 2001-10-19 Brendan Kehoe <brendan@zen.org>
1510 * include/bits/stl_iterator.h (reverse_iterator::current): Rename
1511 member from _M_current, and change all uses; thus sayeth $24.4.1.1.
1513 2001-10-19 Brendan Kehoe <brendan@zen.org>
1515 * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
1516 template parameter _ValueType.
1518 2001-10-19 Brendan Kehoe <brendan@zen.org>
1520 * include/bits/std_limits.h: Clean up extra semicolons.
1521 * include/bits/locale_facets.h: Likewise.
1522 * include/bits/type_traits.h: Likewise.
1524 2001-10-19 Brendan Kehoe <brendan@zen.org>
1526 * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
1527 * include/bits/locale_facets.tcc (locale::combine): Likewise.
1529 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1531 * include/bits/locale_facets.h (__timepunct::_M_put_helper):
1532 Declare specializations for char, wchar_t.
1534 2001-10-19 Andreas Jaeger <aj@suse.de>
1536 * config/cpu/x86-64/bits/limits.h: New file.
1537 * config/cpu/x86-64/bits/atomicity.h: New file.
1538 * configure.target: Add x86-64.
1540 2001-10-17 Phil Edwards <pme@gcc.gnu.org>
1542 * docs/html/17_intro/howto.html: Remove 1999 links (and explain
1543 why). Add link to recent message.
1544 * docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
1546 * docs/html/faq/index.txt: Regenerate.
1548 2001-10-12 Loren J. Rittle <ljrittle@acm.org>
1550 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
1551 based on Nathan's review. Use Nathan's words.
1553 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1555 * docs/html/configopts.html: Quote StyleSheet attribute values.
1556 * docs/html/documentation.html: Likewise.
1557 * docs/html/explanations.html: Likewise.
1558 * docs/html/install.html: Likewise.
1559 * docs/html/17_intro/howto.html: Likewise.
1560 * docs/html/17_intro/license.html: Likewise.
1561 * docs/html/18_support/howto.html: Likewise.
1562 * docs/html/19_diagnostics/howto.html: Likewise.
1563 * docs/html/20_util/howto.html: Likewise.
1564 * docs/html/21_strings/howto.html: Likewise.
1565 * docs/html/22_locale/howto.html: Likewise.
1566 * docs/html/23_containers/howto.html: Likewise.
1567 * docs/html/24_iterators/howto.html: Likewise.
1568 * docs/html/25_algorithms/howto.html: Likewise.
1569 * docs/html/26_numerics/howto.html: Likewise.
1570 * docs/html/27_io/howto.html: Likewise.
1571 * docs/html/ext/howto.html: Likewise.
1572 * docs/html/ext/sgiexts.html: Likewise.
1573 * docs/html/faq/index.html: Likewise.
1575 2001-10-11 Loren J. Rittle <ljrittle@acm.org>
1577 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
1578 * docs/html/23_containers/howto.html (Containers and multithreading):
1581 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1583 * docs/html/17_intro/howto.html: Tweak markup and value type.
1584 * docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
1585 nonzero arguments, add new note on threading.
1586 * docs/html/faq/index.html: Update.
1587 * docs/html/faq/index.txt: Regenerate.
1589 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1591 * docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
1592 * docs/html/documentation.html: Likewise.
1593 * docs/html/explanations.html: Likewise.
1594 * docs/html/install.html: Likewise.
1595 * docs/html/17_intro/howto.html: Likewise.
1596 * docs/html/17_intro/license.html: Likewise. Tighten up language.
1597 * docs/html/18_support/howto.html: Likewise.
1598 * docs/html/19_diagnostics/howto.html: Likewise.
1599 * docs/html/20_util/howto.html: Likewise.
1600 * docs/html/21_strings/howto.html: Likewise.
1601 * docs/html/22_locale/howto.html: Likewise.
1602 * docs/html/23_containers/howto.html: Likewise.
1603 * docs/html/24_iterators/howto.html: Likewise.
1604 * docs/html/25_algorithms/howto.html: Likewise.
1605 * docs/html/26_numerics/howto.html: Likewise.
1606 * docs/html/27_io/howto.html: Likewise.
1607 * docs/html/ext/howto.html: Likewise.
1608 * docs/html/ext/sgiexts.html: Likewise.
1609 * docs/html/faq/index.html: Likewise. Not so many absolute links.
1610 * docs/html/faq/index.txt: Regenerate.
1612 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
1614 * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
1615 spelling errors of "separate" as "seperate", and corresponding
1616 spelling errors of related words.
1617 * docs/html/faq/index.txt: Regenerate.
1619 2001-10-05 Phil Edwards <pme@gcc.gnu.org>
1621 * config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
1623 * config/cpu/arm/bits/atomicity.h: Likewise.
1624 * config/cpu/generic/bits/atomicity.h: Likewise.
1625 * config/cpu/i486/bits/atomicity.h: Likewise.
1626 * config/cpu/ia64/bits/atomicity.h: Likewise.
1627 * config/cpu/mips/bits/atomicity.h: Likewise.
1628 * config/cpu/powerpc/bits/atomicity.h: Likewise.
1629 * config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
1630 * config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
1632 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1634 * docs/html/faq/index.html: Describe DR #22, and a workaround.
1635 * docs/html/faq/index.txt: Regenerate.
1637 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1639 * docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
1640 * docs/html/17_intro/license.html: New file. Explain the licenses
1643 * docs/html/configopts.html: Link to license.html.
1644 * docs/html/documentation.html: Likewise.
1645 * docs/html/explanations.html: Likewise.
1646 * docs/html/install.html: Likewise.
1647 * docs/html/17_intro/howto.html: Likewise.
1648 * docs/html/18_support/howto.html: Likewise.
1649 * docs/html/19_diagnostics/howto.html: Likewise.
1650 * docs/html/20_util/howto.html: Likewise.
1651 * docs/html/21_strings/howto.html: Likewise.
1652 * docs/html/22_locale/howto.html: Likewise.
1653 * docs/html/23_containers/howto.html: Likewise.
1654 * docs/html/24_iterators/howto.html: Likewise.
1655 * docs/html/25_algorithms/howto.html: Likewise.
1656 * docs/html/26_numerics/howto.html: Likewise.
1657 * docs/html/27_io/howto.html: Likewise.
1658 * docs/html/ext/howto.html: Likewise.
1659 * docs/html/ext/sgiexts.html: Likewise.
1660 * docs/html/faq/index.html: Likewise. New question, linking to
1661 the new license.html.
1663 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1665 * docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
1666 * docs/html/18_support/howto.html: Likewise.
1667 * docs/html/19_diagnostics/howto.html: Likewise.
1668 * docs/html/20_util/howto.html: Likewise.
1669 * docs/html/21_strings/howto.html: Likewise.
1670 * docs/html/22_locale/howto.html: Likewise.
1671 * docs/html/23_containers/howto.html: Likewise.
1672 * docs/html/24_iterators/howto.html: Likewise.
1673 * docs/html/25_algorithms/howto.html: Likewise.
1674 * docs/html/26_numerics/howto.html: Likewise.
1675 * docs/html/27_io/howto.html: Likewise.
1676 * docs/html/ext/howto.html: Likewise.
1677 * docs/html/faq/index.html: Likewise. Spacing fix.
1679 2001-10-03 Dimitris Vyzovitis <vyzo@media.mit.edu>
1681 * include/bits/stl_threads.h (_Atomic_swap): New function.
1682 (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
1683 * testsuite/ext/rope.cc: New file.
1685 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
1687 * config/locale/time_members_gnu.h: Remove.
1688 * config/locale/time_members_generic.h: Remove.
1689 * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
1690 * config/locale/time_members_generic.cc: Same.
1691 * include/bits/locale_facets.h: Add data members.
1692 (__timepunct::_M_put_helper): Change signature.
1693 (__timepunct::_M_date_formats): Same.
1694 (__timepunct::_M_time_formats): Same.
1695 (__timepunct::_M_ampm): Add.
1696 (__timepunct::_M_date_time_formats): Add.
1697 (time_get::_M_extract_via_format): Add.
1698 (time_get::_M_extract_time): Change to...
1699 (time_get::_M_extract_num): ... this, modify signature.
1700 * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
1701 (time_get::do_get_time): Fix.
1702 (time_get::do_get_date): Fix.
1704 * acinclude.m4: Remove CTIME_H.
1705 * aclocal.m4: Regenerate.
1706 * include/Makefile.am: Same.
1707 * include/Makefile.in: Regenerate.
1708 * configure: Regenerate.
1710 * testsuite/22_locale/time_get_members_char.cc: Fix.
1711 * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
1712 * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
1714 2001-10-01 Hans-Peter Nilsson <hp@axis.com>
1716 * config/cpu/cris/bits/atomicity.h: Correct file header.
1718 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
1720 * configure.target (LIMITSH): Set for cris.
1721 (cpu_include_dir): Set for cris-*-*.
1722 * config/cpu/cris/bits/atomicity.h: New file.
1723 * config/cpu/cris/bits/limits.h: New file.
1725 2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
1727 * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
1728 (__timepunct::_M_put_helper): Add.
1729 * config/locale/time_members_generic.h: Same.
1730 * include/bits/locale_facets.h (__match_parallel): Remove. Format.
1731 (__timepunct): Add data members.
1732 (__timepunct::_M_days): Add.
1733 (__timepunct::_M_days_abbreviated): Add.
1734 (__timepunct::_M_months): Add.
1735 (__timepunct::_M_months_abbreviated): Add.
1736 (__timepunct::_M_initialize_timepunct): Add.
1737 * include/bits/locale_facets.tcc: Same.
1738 * src/locale-inst.cc: Remove instantiations for __match_parallel.
1739 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
1740 * aclocal.m4: Regenerate.
1741 * configure: Regenerate.
1742 * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
1743 * testsuite/22_locale/time_put_members_char.cc (test01): New file.
1744 * testsuite/22_locale/time_get.cc: New file.
1746 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1748 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
1749 correct multilib builddir.
1750 Properly locate libgcc_s.
1752 2001-09-27 Phil Edwards <pme@gcc.gnu.org>
1754 * include/std/*: Add Doxygen hooks.
1755 * docs/doxygen/Intro.3: New file, general intro to the man pages.
1756 * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
1757 rather than using a generated index.
1758 * docs/doxygen/user.cfg.in: Disable the index, enable man pages.
1759 * docs/doxygen/run_doxygen: Massage the generated man pages, using...
1760 * docs/doxygen/stdheader.cc: ...this new file.
1762 2001-09-26 Stan Shebs <shebs@apple.com>
1764 * include/Makefile.am: Remove RCS Id strings.
1765 * src/Makefile.am: Ditto.
1766 * docs/doxygen/run_doxygen: Ditto.
1767 * docs/html/configopts.html: Ditto.
1768 * docs/html/documentation.html: Ditto.
1769 * docs/html/explanations.html: Ditto.
1770 * docs/html/install.html: Ditto.
1771 * docs/html/17_intro/howto.html: Ditto.
1772 * docs/html/18_support/howto.html: Ditto.
1773 * docs/html/19_diagnostics/howto.html: Ditto.
1774 * docs/html/20_util/howto.html: Ditto.
1775 * docs/html/21_strings/howto.html: Ditto.
1776 * docs/html/22_locale/howto.html: Ditto.
1777 * docs/html/23_containers/howto.html: Ditto.
1778 * docs/html/24_iterators/howto.html: Ditto.
1779 * docs/html/25_algorithms/howto.html: Ditto.
1780 * docs/html/26_numerics/howto.html: Ditto.
1781 * docs/html/27_io/howto.html: Ditto.
1782 * docs/html/ext/howto.html: Ditto.
1783 * docs/html/ext/sgiexts.html: Ditto.
1784 * docs/html/faq/index.html: Ditto.
1785 * docs/html/faq/index.txt: Ditto.
1787 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
1789 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
1792 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
1794 * docs/html/20_util/howto.html: Add anchor name.
1795 * docs/html/23_containers/howto.html: Line wrapping, another link.
1796 * docs/html/25_algorithms/howto.html: Another note.
1798 * docs/html/ext/howto.html: Link to SGI extensions. List DRs and
1800 * docs/html/ext/lwg-active.html: ...in this new file (from R19),
1801 * docs/html/ext/lwg-defects.html: and this new file (from R19).
1802 * docs/html/ext/sgiexts.html: New file. Mention SGI extensions
1803 carried over to libstdc++-v3.
1804 * docs/html/faq/index.html: Link to SGI extensions. Mention the
1805 "missing .." pseudobug.
1806 * docs/html/faq/index.txt: Regenerate.
1808 * include/bits/ios_base.h: DR-related comment cleanup.
1809 * include/bits/istream.tcc: Likewise.
1810 * include/bits/locale_facets.h: Likewise.
1811 * include/bits/locale_facets.tcc: Likewise.
1812 * include/bits/ostream.tcc: Likewise.
1813 * include/bits/std_bitset.h: Likewise.
1814 * include/bits/std_iosfwd.h: Likewise.
1815 * include/bits/std_istream.h: Likewise.
1816 * include/bits/std_ostream.h: Likewise.
1817 * include/bits/std_streambuf.h: Likewise.
1818 * include/bits/stl_pair.h: Likewise.
1819 * include/bits/streambuf_iterator.h: Likewise.
1821 * include/bits/std_map.h: Remove unused header inclusion guard
1822 _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
1823 * include/bits/std_set.h: Likewise.
1825 * include/bits/stl_function.h: Doxygen markup.
1826 * docs/doxygen/doxygroups.cc: New file, specifying module grouping.
1827 * libsupc++/typeinfo: Doxygen markup tweak.
1829 2001-09-20 Scott Johnston <scott@accom.com>
1830 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1832 * include/backward/alloc.h: Conditionally define malloc_alloc
1833 * testsuite/backward/header_deque_h.cc: New file.
1835 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1837 * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
1838 change variable name so that it works with -fno-for-scope.
1840 2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
1842 * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
1843 redundant sanity checks.
1844 * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
1846 * testsuite/22_locale/money_put_members_char.cc (test01): Same.
1848 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
1849 * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
1850 * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
1852 * testsuite/22_locale/money_get_members_char.cc (test01): Same.
1855 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
1857 Implement std::time_put.
1858 * include/bits/locale_facets.h: Include time_members.h.
1860 (time_put): Implement.
1861 * include/bits/locale_facets.tcc (do_put): Put generic versions here.
1862 * include/bits/localefwd.h: Bump number of facets.
1863 * config/locale/time_members_generic.h: New file.
1864 * config/locale/time_members_gnu.h: New file.
1865 * config/locale/c_locale_generic.h: Include clocale.
1866 * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
1867 * src/locale.cc: Add __timepunct initializations.
1868 * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
1869 * include/Makefile.am (stamp-target): Add time_members.h.
1870 * include/Makefile.in: Regenerate.
1871 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
1872 * aclocal.m4: Regenerate.
1873 * configure: Regenerate.
1874 * testsuite/22_locale/time_put.cc: New file.
1875 * testsuite/22_locale/time_put_members_char.cc: New file.
1877 * docs/html/22_locale/locale.html: Add note.
1879 2001-09-17 Phil Edwards <pme@gcc.gnu.org>
1881 * docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
1882 * docs/html/documentation.html: Likewise.
1883 * docs/html/explanations.html: Likewise.
1884 * docs/html/install.html: Likewise.
1885 * docs/html/17_intro/howto.html: Likewise.
1886 * docs/html/18_support/howto.html: Likewise.
1887 * docs/html/19_diagnostics/howto.html: Likewise.
1888 * docs/html/20_util/howto.html: Likewise.
1889 * docs/html/21_strings/howto.html: Likewise.
1890 * docs/html/22_locale/codecvt.html: Likewise.
1891 * docs/html/22_locale/ctype.html: Likewise.
1892 * docs/html/22_locale/howto.html: Likewise.
1893 * docs/html/22_locale/locale.html: Likewise.
1894 * docs/html/22_locale/messages.html: Likewise.
1895 * docs/html/23_containers/howto.html: Likewise.
1896 * docs/html/24_iterators/howto.html: Likewise.
1897 * docs/html/25_algorithms/howto.html: Likewise.
1898 * docs/html/26_numerics/howto.html: Likewise.
1899 * docs/html/27_io/howto.html: Likewise.
1900 * docs/html/ext/howto.html: Likewise.
1901 * docs/html/faq/index.html: Likewise.
1902 * docs/html/faq/index.txt: Regenerated.
1904 2001-09-14 Phil Edwards <pme@sources.redhat.com>
1906 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
1907 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
1908 * docs/html/18_support/howto.html: It won't compile; it's not code.
1909 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
1911 * docs/html/22_locale/howto.html: Comment for future work.
1912 * docs/html/23_containers/howto.html: More comments.
1913 * docs/html/25_algorithms/howto.html: It's a comment, not a
1914 blunt command to the reader. (English grammar.)
1916 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
1918 * config/locale/moneypunct_members_gnu.cc: Fix initialization of
1920 * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
1921 * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
1923 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
1925 * include/bits/locale_facets.tcc: Conditionalize use of strtold.
1927 2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
1929 * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
1930 * testsuite/22_locale/money_put_members_char.cc: Likewise.
1931 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1933 2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
1935 Implement std::money_get.
1936 * include/bits/locale_facets.tcc (money_get::do_get): Implement.
1937 * include/bits/locale_facets.h (money_get): Correct signatures.
1938 * testsuite/22_locale/money_get.cc: New file.
1939 * testsuite/22_locale/money_get_members_char.cc: New file.
1941 * include/bits/locale_facets.tcc (__verify_grouping): New
1942 function. Consolidate num_get and money_get group checking into
1944 (money_get): Use it.
1945 * src/locale.cc (num_get::_M_extract): Use it.
1946 * src/locale-inst.cc: Add instantiation.
1948 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1950 * include/bits/std_limits.h (numeric_limits<float>::radix,
1951 numeric_limits<float>::epsilon: Fix thinko.
1953 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1955 * configure.in: Fix cross compiling math routines. Correct
1956 comments for cross compiling and limits. Add floating point math
1957 routines found in newlib.
1958 * configure: Regenerate.
1959 * acconfig.h: Add macros.
1960 * config.h.in: Regenerate.
1962 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1964 * config/locale/moneypunct_members_generic.cc
1965 (money_base::_S_construct_pattern): Remove unused parameters.
1967 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
1969 * include/Makefile.am (stamp-target): Remove link to self.
1970 * inclulde/Makefile.in: Regenerate.
1972 2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
1974 Implement std::money_put.
1975 * include/bits/locale_facets.h
1976 (moneypunct::_M_initialize_moneypunct): Split up specializations
1977 to account for _Intl. More grody hacking to get around the
1978 ill-considered use of const bool as a template parameter.
1979 * config/locale/moneypunct_members_gnu.cc: And here.
1980 * config/locale/moneypunct_members_generic.cc: And here.
1981 * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
1982 * testsuite/22_locale/moneypunct.cc: Add tests.
1983 * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
1984 * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
1986 * src/locale.cc (money_base::_S_construct_pattern): Move into
1988 * config/locale/moneypunct_members_gnu.cc: Add here.
1989 * config/locale/moneypunct_members_generic.cc: Add generic version
1992 * include/bits/locale_facets.tcc (money_put::do_put): Move member
1993 function definitions here.
1994 * include/bits/locale_facets.h (money_put): Implement.
1995 * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
1996 Correct money_get, money_put instantiations.
1997 * src/locale.cc (money_base::_S_construct_pattern): Handle case
1999 * testsuite/22_locale/money_put_members_char.cc: Add tests.
2001 2001-09-05 Phil Edwards <pme@sources.redhat.com>
2003 * testsuite_flags.in: No longer need to search testsuite builddir.
2004 * src/stl-inst.cc (__sink_unused_warning): Unused, remove.
2005 * Makefile.am: The testsuite directory never needs to be made here.
2006 * Makefile.in: Regenerate.
2007 * include/Makefile.in: Regenerate.
2008 * libio/Makefile.in: Regenerate.
2009 * libmath/Makefile.in: Regenerate.
2010 * libsupc++/Makefile.in: Regenerate.
2011 * po/Makefile.in: Regenerate.
2012 * src/Makefile.in: Regenerate.
2013 * testsuite/Makefile.in: Regenerate.
2015 2001-09-04 Scott Johnston <scott@accom.com>
2016 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2018 * include/backward/iterator.h: Include <bits/std_iterator.h>,
2019 remove reverse_bidirectional_iterator.
2020 * testsuite/backward: New directory.
2021 * testsuite/backward/header_iterator_h.cc: New file.
2023 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
2025 * include/c_std/bits/std_c*.h: Don't use include_next.
2027 2001-09-03 Richard Sandiford <rsandifo@redhat.com>
2029 * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
2030 tmp from _Unwind_Ptr to _Unwind_Word.
2032 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
2034 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
2037 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
2039 * include/Makefile.am: Use toplevel_srcdir to refer to src files
2040 outside this component.
2041 * include/Makefile.in: Regenerate.
2043 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
2045 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
2046 * config/locale/c_locale_generic.cc: Same.
2047 * config/locale/moneypunct_members_gnu.cc: New file.
2048 * config/locale/moneypunct_members_generic.cc: New file.
2049 * config/locale/numpunct_members_gnu.cc: New file.
2050 * config/locale/numpunct_members_generic.cc: New file.
2051 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
2053 * aclocal.m4: Regenerate.
2054 * configure: Regenerate.
2055 * src/Makefile.am (sources): And here.
2056 * src/Makefile.in: Regenerate.
2058 Rename for consistency with rest of testsuite.
2059 * testsuite/22_locale/codecvt.cc: New file.
2060 * testsuite/22_locale/money_put.cc: New file.
2061 * testsuite/22_locale/money_put_members_char.cc: New file.
2063 2001-08-27 Phil Edwards <pme@sources.redhat.com>
2066 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
2067 correctly for version-specific-runtime-libs.
2068 * aclocal.m4: Regenerate.
2069 * configure: Regenerate.
2071 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
2073 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
2074 define if not already provided by per-OS file.
2075 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
2078 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
2080 * docs/html/17_intro/C++STYLE: Fix typo.
2082 2001-08-24 Phil Edwards <pme@sources.redhat.com>
2084 * docs/html/23_containers/howto.html: Describe implementation of
2085 insertion with hints.
2087 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
2090 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
2092 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2093 Phil Edwards <pme@sources.redhat.com>
2096 * include/bits/stl_tree.h (insert_unique): Revert last change.
2097 Values inserted at begin() must be less, not greater, than *begin()'s.
2098 * testsuite/23_containers/map_insert.cc: New file.
2100 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
2102 * config/locale/c_locale_gnu.cc: Minor tweaks.
2103 (moneypunct<wchar_t>): Implement.
2104 * include/bits/locale_facets.h: Same.
2105 * testsuite/22_locale/moneypunct.cc: New file.
2106 * testsuite/22_locale/moneypunct_byname.cc: New file.
2107 * testsuite/22_locale/moneypunct_char_members.cc: New file.
2109 2001-08-23 David Edelsohn <edelsohn@gnu.org>
2111 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
2112 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
2114 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
2116 * testsuite_flags.in (build-includes): Re-add backward.
2118 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
2120 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
2121 with _GLIBCPP_USE_WCHAR_T.
2123 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
2125 * testsuite/22_locale/collate_byname.cc (test01): Fix.
2127 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
2129 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
2131 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
2133 * testsuite/22_locale/operators.cc: Add test.
2135 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
2137 Implement std::collate.
2138 * config/locale/collate_specializations_gnu.cc: Add here, implement in
2140 * config/locale/collate_specializations_generic.cc: Add here, but
2141 in a less sophisticated manner.
2142 * include/bits/locale_facets.tcc (collate): Add generic definition.
2143 * include/bits/locale_facets.h (~collate): Mark virtual.
2144 (collate::_M_compare_helper): New.
2145 (collate::_M_transform_helper): New.
2146 * src/locale.cc: Remove unnecessary specializations.
2147 * src/string-inst.cc: Tweak instantiation of ctors.
2149 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
2150 * aclocal.m4: Regenerate.
2151 * configure: Regenerate.
2152 * src/Makefile.am (sources): Add collate.cc.
2153 * src/Makefile.in: Regenerate.
2155 * testsuite/22_locale/collate_byname.cc: New.
2156 * testsuite/22_locale/collate.cc: New file.
2157 * testsuite/22_locale/collate_char_members.cc: New file.
2158 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
2160 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2162 * configure.target: Set LIMITSH for powerpc-*-*.
2163 * config/cpu/powerpc/bits/limits.h: New file.
2165 2001-08-16 Marc Espie <espie@openbsd.org>
2167 * configure.in: Check for <sys/types.h>.
2168 * configure: Rebuild.
2169 * config.h.in: Rebuild.
2170 * libmath/mathconf.h: Include <sys/types.h> prior to
2171 <machine/endian.h> if available.
2173 2001-08-15 Andreas Schwab <schwab@suse.de>
2175 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
2176 m68k and m680[246]0.
2177 * config/cpu/m68k/bits/atomicity.h: New file.
2179 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
2180 Define appropriate long double limits for m68k extended floating
2182 (__glibcpp_f32_digits10): Corrected, off by one.
2183 (__glibcpp_f80_digits10): Likewise.
2184 (__glibcpp_f128_digits10): Likewise.
2185 * config/os/gnu-linux/bits/os_defines.h
2186 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
2188 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2190 * testsuite/18_support/numeric_limits.cc: Add more tests.
2191 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
2194 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
2196 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
2199 * config/cpu/s390/bits/atomicity.h: New.
2201 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
2203 * include/bits/std_limits.h: Fix thinko.
2205 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
2207 * include/Makefile.am: Consolidate target rules. Don't clean stamp
2208 files. Tweak target build directory stamp.
2209 * include/Makefile.in: Regenerate.
2211 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2213 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
2214 _GBLICPP_HAVE_LOGL with HAVE_LOGL
2216 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
2218 * configure.in (libtool_VERSION): Add.
2219 (VERSION): Change to
2220 (release_VERSION): This.
2221 * configure: Regenerate.
2222 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
2224 * src/Makefile.in: Regenerate.
2226 * intl/Makefile.am: Remove.
2227 * intl/Makefile.in: Remove.
2229 * Makefile.am (SUBDIRS): Remove intl.
2230 * po/Makefile.am (DISTFILES): Add string_literals.cc
2232 * po/string_literals.cc: Add.
2233 * po/POTFILES.in: Fix path.
2234 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
2235 * aclocal.m4: Regenerate.
2236 * configure.in: Remove AC_OUTPUT of intl/Makefile.
2238 * include/backward/backward_warning.h: Clarify message.
2240 * testsuite_flags.in (--cxxflags): Use same debug flags for
2241 library and testsuite.
2243 * include/Makefile.am (c_compatibility): Remove.
2244 * include/Makefile.in: Regenerate.
2246 2001-08-13 Mark Mitchell <mark@codesourcery.com>
2248 * configure.in (LIMITS_INC_SRCDIR): New variable.
2249 * configure.target (LIMITSH): New variable.
2250 * porting.texi: Discuss numeric limits.
2251 * config/cpu/generic/bits/limits.h: New file.
2252 * config/cpu/i386/bits/limits.h: New file.
2253 * include/Makefile.am: Install bits/limits.h.
2254 * include/bits/c++config: Include bits/limits.h.
2256 2001-08-13 H.J. Lu (hjl@gnu.org)
2258 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
2260 (libstdc++-v3-init ): Use it.
2262 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2264 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
2265 to '__adjust' to avoid shadowing in nested scope.
2267 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2269 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
2272 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
2274 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
2277 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
2279 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
2280 dummy default argument to the non-limit implementation.
2283 * include/Makefile.am: Use relative file path in rule to allow
2285 * include/Makefile.in: Rebuilt.
2287 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
2289 * include/bits/std_complex.h (complex<long double>::operator*=,
2290 complex<long double>::operator/=): Fix thinko.
2292 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2294 * include/bits/std_limits.h: New file.
2295 * include/Makefile.am (bits_headers): Add std_limits.h
2296 (all-local): std_limits.h is no longer built.
2297 (${target_builddir}/std_limits.h): Remove.
2298 * include/Makefile.in: Regenerate.
2299 * src/limits.cc: New file.
2300 * src/Makefile.am (sources): Add limits.cc in replacement of
2302 * src/Makefile.in: Regenerate.
2304 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2306 * src/gen-num-limits.cc (digits10): Fix thinko.
2308 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2310 * po/Makefile.am (check-no): Add.
2312 * po/Makefile.in: Regenerate.
2314 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2316 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
2317 * config.h.in: Regenerate.
2318 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
2320 * aclocal.m4: Regenerate.
2321 * configure.in: Remove duplicate AM_CONFIG_HEADER.
2322 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
2323 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
2324 * configure: Regenerate.
2325 * testsuite_hooks.h.in: Move to...
2326 * testsuite_hooks.h: Here, include c++config.h. Use it.
2328 * Makefile.am (SUBDIRS): Move testsuite to last directory.
2329 * Makefile.in: Regenerate.
2330 * po/Makefile.am (stamp-po): Add.
2332 2001-08-09 David Edelsohn <edelsohn@gnu.org>
2334 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
2335 * config/os/generic/bits/os_defines.h: Likewise.
2336 * config/os/gnu-linux/bits/os_defines.h: Likewise.
2337 * config/os/hpux/bits/os_defines.h: Likewise.
2338 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
2339 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2341 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
2343 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
2344 -version-info, use substituted VERSION info.
2345 * src/Makefile.in: Regenerate.
2347 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
2349 Implement std::messages.
2350 Make config a fully-nested directory.
2351 * config/locale: New directory.
2352 * config/c_locale_generic.cc: Move into locale subdirectory.
2353 * config/c_locale_generic.h: Same.
2354 * config/c_locale_gnu.cc: Same.
2355 * config/c_locale_gnu.h: Same.
2356 * config/c_locale_ieee_1003.1-200x.cc: Same.
2357 * config/c_locale_ieee_1003.1-200x_.h: Same.
2358 * config/codecvt_specializations_generic.h: Same.
2359 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
2360 * config/messages_members_gnu.h: Same.
2361 * config/messaages_members_gnu.cc: Same.
2362 * config/messages_members_generic.h: Same.
2363 * config/messaages_members_generic.cc: Same.
2364 * config/messages_members_ieee_1003.1-200x.h: Same.
2365 * config/messaages_members_ieee_1003.1-200x.cc: Same.
2366 * config/io: New directory.
2367 * config/basic_file_libio.h: Move into io subdirectory.
2368 * config/basic_file_libio.cc: Same.
2369 * config/c_io_libio.h: Same.
2370 * config/c_io_libio_codecvt.c: Same.
2371 * config/basic_file_stdio.h: Same.
2372 * config/basic_file_stdio.cc: Same.
2373 * config/c_io_stdio.h: Same.
2375 * po: New directory.
2376 * po/POTFILES.in: New file.
2377 * po/Makefile.am: New file.
2378 * po/Makefile.in: New file.
2379 * po/libstdc++.pot: Generic translation file.
2380 * po/fr.po: Preliminary French translation.
2381 * po/de.po: Preliminary German translation.
2382 * intl: New directory.
2383 * intl/Makefile.am: New file.
2384 * intl/Makefile.in: New file.
2385 * intl/string_literals.cc: New file.
2386 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
2387 requisite setup for gettext. Re-arrange.
2388 * aclocal.m4: Regenerate.
2389 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
2390 Output Makefile bits for po and intl.
2391 * configure: Regenerate.
2392 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
2393 * Makefile.in: Regenerate.
2394 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
2395 * config.h.in: Regenerate.
2397 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
2399 * include/Makefile.am (install-data-local): Don't install Makefile.
2400 * include/Makefile.in: Regenerate.
2402 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
2404 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
2405 * config/locale/c_locale_generic.cc: Same.
2406 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
2408 * include/bits/codecvt.h: Excise non-standard, non-required
2409 bits. This includes __enc_traits, and partial specializations of
2410 codecvt for __enc_traits.
2411 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
2412 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
2413 * config/codecvt_partials_generic.h: New file.
2414 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
2415 (stamp-codecvt_model): Add.
2416 * include/Makefile.in: Regenerate.
2417 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
2418 * aclocal.m4: Regenerate.
2419 * configure: Regenerate.
2420 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
2421 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
2422 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
2424 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
2425 as a friend for _S_*_c_locale functions.
2426 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
2427 argument to default constructor so that CODESET information can be
2429 * include/bits/locale_facets.h (messages_byname):
2430 Re-implement. Remove specializations.
2431 * src/locale.cc (messages_byname<char>): Remove specialization.
2432 (messages_byname<wchar_t>): Same.
2433 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
2434 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
2435 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
2436 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
2437 * config/locale/messages_members_gnu.cc: New file.
2438 * config/locale/messages_members_gnu.h: New file.
2439 * config/locale/messages_members_generic.cc: New file.
2440 * config/locale/messages_members_generic.h: New file.
2442 * docs/html/configopts.html: Add documentation for new locale
2443 model, ieee_1003.1. Adjust other flags for current defaults.
2444 * docs/html/22_locale/locale.html: Update.
2445 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
2446 * docs/html/22_locale/messages.html: New.
2448 * src/Makefile.am (sources): Add messages_virtuals.cc.
2449 * src/Makefile.in: Regenerate.
2450 * include/Makefile.am (allstamps): Add stamp-messages_model.
2451 (stamp-messages_model): Add.
2452 * include/Makefile.in: Regenerate.
2453 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
2454 * aclocal.m4: Regenerate.
2455 * configure: Regenerate.
2457 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
2458 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
2460 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
2461 build directories message catalog base directory, and export.
2462 Eventually this should probably be made to deal with build and
2463 install directories. For now, punt on this as the library itself
2464 doesn't use message catalogs (yet).
2465 * testsuite/22_locale/messages.cc: New file.
2466 * testsuite/22_locale/messages_char_members.cc: New file.
2467 * testsuite/22_locale/messages_byname.cc: New file.
2469 2001-08-06 Phil Edwards <pme@sources.redhat.com>
2471 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
2472 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
2473 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
2474 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
2475 Call GLIBCPP_CONFIGURE_TESTSUITE.
2476 * aclocal.m4: Regenerate.
2477 * config.h.in: Regenerate.
2478 * configure: Regenerate.
2480 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
2483 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
2484 * testsuite/debug_assert.h: Removed; contents merged into...
2485 * testsuite/testsuite_hooks.h.in: ...here. New file.
2486 * testsuite/17_intro/header_ciso646.cc: No longer include
2487 debug_assert.h, include testsuite_hooks.h instead.
2488 * testsuite/17_intro/header_fstream.cc: Likewise.
2489 * testsuite/17_intro/header_iomanip.cc: Likewise.
2490 * testsuite/17_intro/header_ios.cc: Likewise.
2491 * testsuite/17_intro/header_iosfwd.cc: Likewise.
2492 * testsuite/17_intro/header_iostream.cc: Likewise.
2493 * testsuite/17_intro/header_istream.cc: Likewise.
2494 * testsuite/17_intro/header_ostream.cc: Likewise.
2495 * testsuite/17_intro/header_sstream.cc: Likewise.
2496 * testsuite/17_intro/header_streambuf.cc: Likewise.
2497 * testsuite/18_support/numeric_limits.cc: Likewise.
2498 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
2499 * testsuite/20_util/allocator_members.cc: Likewise.
2500 * testsuite/20_util/auto_ptr.cc: Likewise.
2501 * testsuite/20_util/pairs.cc: Likewise.
2502 * testsuite/21_strings/append.cc: Likewise.
2503 * testsuite/21_strings/capacity.cc: Likewise.
2504 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
2505 * testsuite/21_strings/compare.cc: Likewise.
2506 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
2507 call to (disabled) __set_testsuite_memlimit() wrapper.
2508 * testsuite/21_strings/element_access.cc: Likewise.
2509 * testsuite/21_strings/find.cc: Likewise.
2510 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
2511 (disabled) __set_testsuite_memlimit() wrapper.
2512 * testsuite/21_strings/inserters_extractors.cc: Likewise.
2513 * testsuite/21_strings/invariants.cc: Likewise.
2514 * testsuite/21_strings/nonmember.cc: Likewise.
2515 * testsuite/21_strings/operations.cc: Likewise.
2516 * testsuite/21_strings/replace.cc: Likewise.
2517 * testsuite/21_strings/rfind.cc: Likewise.
2518 * testsuite/21_strings/substr.cc: Likewise.
2519 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
2520 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
2521 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
2522 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
2523 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
2524 * testsuite/22_locale/ctype_char_members.cc: Likewise.
2525 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
2526 * testsuite/22_locale/facet.cc: Likewise.
2527 * testsuite/22_locale/global_templates.cc: Likewise.
2528 * testsuite/22_locale/members.cc: Likewise.
2529 * testsuite/22_locale/numpunct_byname.cc: Likewise.
2530 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
2531 * testsuite/22_locale/operators.cc: Likewise.
2532 * testsuite/22_locale/static_members.cc: Likewise.
2533 * testsuite/23_containers/bitset_ctor.cc: Likewise.
2534 * testsuite/23_containers/bitset_members.cc: Likewise.
2535 * testsuite/23_containers/bitset_shift.cc: Likewise.
2536 * testsuite/23_containers/vector_capacity.cc: Likewise.
2537 * testsuite/23_containers/vector_ctor.cc: Likewise.
2538 * testsuite/23_containers/vector_element_access.cc: Likewise.
2539 * testsuite/23_containers/vector_modifiers.cc: Likewise.
2540 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
2541 * testsuite/24_iterators/iterator.cc: Likewise.
2542 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
2543 * testsuite/25_algorithms/binary_search.cc: Likewise.
2544 * testsuite/25_algorithms/copy.cc: Likewise.
2545 * testsuite/25_algorithms/heap.cc: Likewise.
2546 * testsuite/25_algorithms/lower_bound.cc: Likewise.
2547 * testsuite/25_algorithms/min_max.cc: Likewise.
2548 * testsuite/25_algorithms/partition.cc: Likewise.
2549 * testsuite/25_algorithms/rotate.cc: Likewise.
2550 * testsuite/25_algorithms/sort.cc: Likewise.
2551 * testsuite/26_numerics/c_math.cc: Likewise.
2552 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
2553 * testsuite/26_numerics/complex_value.cc: Likewise.
2554 * testsuite/27_io/filebuf.cc: Likewise.
2555 * testsuite/27_io/filebuf_members.cc: Likewise.
2556 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
2557 * testsuite/27_io/fpos.cc: Likewise.
2558 * testsuite/27_io/fstream_members.cc: Likewise.
2559 * testsuite/27_io/ifstream_members.cc: Likewise.
2560 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
2561 * testsuite/27_io/ios_base_members_static.cc: Likewise.
2562 * testsuite/27_io/ios_base_storage.cc: Likewise.
2563 * testsuite/27_io/ios_ctor.cc: Likewise.
2564 * testsuite/27_io/ios_init.cc: Likewise.
2565 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
2566 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
2567 * testsuite/27_io/ios_members.cc: Likewise.
2568 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
2569 * testsuite/27_io/istream_extractor_char.cc: Likewise.
2570 * testsuite/27_io/istream_extractor_other.cc: Likewise.
2571 * testsuite/27_io/istream_manip.cc: Likewise.
2572 * testsuite/27_io/istream_seeks.cc: Likewise.
2573 * testsuite/27_io/istream_sentry.cc: Likewise.
2574 * testsuite/27_io/istream_unformatted.cc: Likewise.
2575 * testsuite/27_io/istringstream_members.cc: Likewise.
2576 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
2577 * testsuite/27_io/ofstream_members.cc: Likewise.
2578 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
2579 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
2580 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
2581 * testsuite/27_io/ostream_manip.cc: Likewise.
2582 * testsuite/27_io/ostream_seeks.cc: Likewise.
2583 * testsuite/27_io/ostream_unformatted.cc: Likewise.
2584 * testsuite/27_io/ostringstream_members.cc: Likewise.
2585 * testsuite/27_io/streambuf.cc: Likewise.
2586 * testsuite/27_io/stringbuf.cc: Likewise.
2587 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
2588 * testsuite/27_io/stringstream.cc: Likewise.
2589 * testsuite/27_io/stringstream_members.cc: Likewise.
2590 * testsuite/27_io/wide_stream_objects.cc: Likewise.
2592 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
2594 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
2596 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
2598 * configure.target: Remove mips from cpu table.
2599 * config/cpu/mips/bits/atomicity.h: Remove generic
2600 versions. Comment sgidefs include.
2602 2001-07-25 H.J. Lu <hjl@gnu.org>
2604 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
2607 * config/cpu/mips/bits/atomicity.h: New.
2609 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2611 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
2612 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
2613 * aclocal.m4: Regenerate.
2614 * config.h.in: Likewise.
2615 * configure: Likewise.
2616 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
2617 (EXTRA_DIST): Remove hypot.c hypotf.c.
2618 * libmath/Makefile.am: Regenerate.
2619 * libmath/hypotf.c: Remove.
2620 * libmath/hypot.c: Likewise.
2621 * libmath/hypotl.c: Likewise.
2622 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
2623 _GLIBCPP_HAVE_xxx. Add long double versions.
2625 2001-07-23 David Edelsohn <edelsohn@gnu.org>
2627 * include/bits/limits_generic.h (int): Set digits and digits10
2628 appropriately for word size.
2629 (unsigned int,long,unsigned long): Likewise.
2631 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2633 * include/bits/stl_algo.h : Fix typos.
2634 * testsuite/25_algorithms/unique.cc: New file.
2636 2001-07-19 Phil Edwards <pme@sources.redhat.com>
2637 Mark Mitchell <mark@codesourcery.com>
2639 Merge from cp-parser-branch.
2640 * include/bits/basic_string.h: Qualify symbols with 'template'.
2641 * include/bits/basic_string.tcc: Likewise.
2642 * include/bits/fstream.tcc: Likewise.
2643 * include/bits/istream.tcc: Likewise.
2644 * include/bits/sstream.tcc: Likewise.
2645 * include/bits/std_istream.h: Likewise.
2646 * include/bits/stl_iterator.h: Likewise.
2647 * include/bits/streambuf.tcc: Likewise.
2648 * src/gen-num-limits.cc: Add 'template<>' to specializations.
2649 * src/locale.cc: Likewise.
2651 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2652 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
2654 * src/gen-num-limits.cc (set_signals_handler): New function.
2655 Factor out signals setting. Set signal handler for SIGILL.
2657 2001-07-18 Phil Edwards <pme@sources.redhat.com>
2659 * docs/html/27_io/howto.html: Fix typo.
2660 * docs/html/faq/index.html: Minor updates for 3.0 all around.
2661 * docs/html/faq/index.txt: Regenerated.
2663 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
2664 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
2667 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
2668 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
2670 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
2672 All occurrences of the __value_type() and __distance_type()
2673 functions, which were required to support the HP STL, have been
2674 removed along with all the auxiliary forwarding functions that
2675 were required to support their use.
2677 The __iterator_category() function was pretty much left alone
2678 because there was no benefit to removing it and its use made code
2679 just a little more readable.
2681 Incidences of distance() with nonstandard argument list were
2682 replaced by calls to the standard function (only in the files
2683 affected by the removal of the other HP functions).
2685 The signature of the rotate() algorithm was changed to match the
2688 Headers were reformatted under C++STYLE guidelines (indentation,
2689 linebreaks, typename keyword).
2691 * include/bits/stl_algo.h: replaced __value_type() and
2692 __distance_type() with iterator_traits, eliminated auxiliary
2693 support functions required to support said function usage.
2694 Changed nonstandard distance() call to standard call.
2696 * include/bits/stl_algobase.h: Same.
2697 * include/bits/stl_heap.h: Same.
2698 * include/bits/stl_numeric.h: Same.
2699 * include/bits/stl_uninitialized.h: Same.
2700 * include/bits/stl_iterator_base_types.h (__value_type()):
2702 (__distance_type()): Removed.
2703 (value_type()): Gone.
2704 (distance_type()): Done in.
2705 (iterator_category()): Hasta la vista, baby.
2707 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
2708 Replaced with __iterator_category().
2709 * include/backward/iterator.h: moved definition of value_type(),
2710 distance_type(), and iterator_category() out of std:: and into
2712 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
2713 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
2714 * testsuite/25_algorithms/rotate.cc: New testcase.
2715 * testsuite/25_algorithms/copy.cc: New testcase.
2716 * testsuite/25_algorithms/sort.cc: Same.
2717 * testsuite/25_algorithms/heap.cc: Same.
2718 * testsuite/25_algorithms/partition.cc: Same.
2719 * testsuite/25_algorithms/binary_search.cc: Same.
2720 * testsuite/26_numerics/sum_diff.cc: Ditto.
2722 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
2724 * testsuite/README: Add notes on naming test cases.
2725 * testsuite/22_locale/members.cc: Mark as xfail.
2726 * testsuite/22_locale/numpunct_char_members.cc: Same.
2728 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
2730 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
2731 setting C_INCLUDE_DIR.
2732 * configure.in: Revert yesterday's LN_S change.
2733 * aclocal.m4: Regenerate.
2734 * configure: Regenerate.
2736 2001-07-15 Phil Edwards <pme@sources.redhat.com>
2738 * configure.in: Temporarily force LN_S to copy instead of symlink.
2739 * configure: Regenerate.
2741 2001-07-13 Phil Edwards <pme@sources.redhat.com>
2743 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
2744 Initialize _M_string with pointer-and-size constructor, not just
2745 pointer. Fix some comments.
2746 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
2747 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
2748 (test03): Add embedded-NUL tests.
2750 * mkcheck.in: When printing totals, match the order of the tests.
2751 * include/bits/stringfwd.h: Use same declaration keywords.
2752 * include/bits/std_iosfwd.h: Cosmetic spacing.
2754 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
2755 Loren J. Rittle <ljrittle@acm.org>
2756 Phil Edwards <pme@sources.redhat.com>
2758 * include/Makefile.am: New file encapsulating header generation rules.
2759 * Makefile.am (SUBDIRS): Prepend 'include' directory.
2760 * acinclude.m4: Moved/removed rules for building various headers.
2761 * configure.in (AC_OUTPUT): Add include/Makefile.
2762 * mkc++config: Removed.
2764 * testsuite_flags.in: Changed build-includes to match new scheme.
2765 * mknumeric_limits: Likewise.
2766 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
2767 * libmath/Makefile.am: Likewise.
2768 * libsupc++/Makefile.am: Likewise.
2769 * src/Makefile.am: Likewise; removed rules to build headers.
2770 * libmath/mathconf.h: Changed #include'd header names to match.
2771 * libmath/stubs.c: Likewise.
2772 * src/gen-num-limits.cc: Likewise.
2774 * configure: Regenerated.
2775 * config.h.in: Regenerated.
2776 * aclocal.m4: Regenerated.
2777 * Makefile.in: Regenerated.
2778 * include/Makefile.in: Regenerated.
2779 * libio/Makefile.in: Regenerated.
2780 * libmath/Makefile.in: Regenerated.
2781 * libsupc++/Makefile.in: Regenerated.
2782 * src/Makefile.in: Regenerated.
2783 * testsuite/Makefile.in: Regenerated.
2785 2001-07-11 Felix Natter <fnatter@gmx.net>
2787 * docs/html/17_intro/porting-howto.xml: Initial checkin of
2789 * docs/html/17_intro/porting-howto.html: check in v0.9.3
2791 2001-07-11 Phil Edwards <pme@sources.redhat.com>
2793 * docs/doxygen/run_doxygen: Don't keep output from previous run.
2794 * docs/doxygen/user.cfg.in: Tweaks.
2795 * include/bits/c++config: Documentation comments for Doxygen.
2796 * include/bits/char_traits.h: Likewise.
2797 * include/bits/limits_generic.h: Likewise.
2798 * include/bits/std_stdexcept.h: Likewise.
2799 * include/bits/stl_pair.h: Likewise.
2800 * libsupc++/exception: Likewise.
2801 * libsupc++/new: Likewise.
2802 * libsupc++/typeinfo: Likewise.
2803 * libmath/Makefile.am: Update and correct copyright.
2805 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2807 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
2808 * aclocal.m4: Regenerate.
2811 2001-07-09 Phil Edwards <pme@sources.redhat.com>
2813 * docs/html/configopts.html: Fix thinko.
2814 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
2815 * include/bits/stl_iterator.h: Fix typo.
2817 2001-07-09 Phil Edwards <pme@sources.redhat.com>
2819 * docs/html/explanations.html: New file.
2820 * docs/html/configopts.html: Link to it to provide more notes
2821 on cstdio. Minor markup and spacing fixes.
2822 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
2824 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
2826 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
2827 for _Expr template template argument.
2828 (_Expr::operator-): Likewise.
2829 (_Expr::operator~): Likewise.
2830 (_Expr::operator!): Likewise.
2831 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
2833 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2835 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
2836 * libmath/Makefile.in: Regenerate.
2837 * libmath/expf.c: Remove.
2838 * libmath/atan2f.c: Likewise.
2840 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
2842 * configure.in: Remove NATIVE, NULL_TARGET.
2843 Set CANADIAN only for Canadian crosses. Set xcompiling
2844 for both Canadian crosses and host-x-host crosses.
2845 * configure: Regenerated.
2847 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2849 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
2851 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
2853 * testsuite_flags.in (--build-includes): backward, not backwards.
2855 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
2857 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
2858 Replace destroy by _Destroy.
2859 (_Rope_RopeRep::_S_free_string): Likewise.
2860 (rope::c_str()): Likewise.
2861 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
2862 (_Slist_base::_M_erase_after): Likewise.
2863 (slist::_M_create_node): Replace construct by _Construct.
2864 (slist::pop_front): Replace destroy by _Destroy.
2865 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
2866 construct by _Construct.
2867 (hashtable::_M_delete_node): Replace destroy by _Destroy.
2868 * include/ext/stl_rope.h (rope::rope): Replace construct by
2870 (rope::copy): Replace destroy by _Destroy.
2872 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
2874 * include/bits/localefwd.h: Format.
2875 * include/bits/locale_facts.tcc (locale::combine): Adjust.
2876 * src/locale.cc (locale::locale::(_Impl)): Don't call
2878 (locale::facet::_M_remove_reference): Simplify.
2879 * src/globals.cc (locale_impl_c): New. Format.
2881 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
2883 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2885 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
2886 expansion (thanks to Alexandre Oliva).
2887 * aclocal.m4: Regenerate.
2888 * configure: Regenerate.
2890 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
2892 * src/locale.cc (locale::locale(const char*)): Make sure global
2893 locales are initialized.
2894 * include/bits/locale_facets.tcc (locale::combine): Refcout should
2895 be zero, not one as it's return-by-value.
2896 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
2898 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
2901 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
2903 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2906 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
2907 * aclocal.m4: Regenerate.
2908 * configure: Regenerate.
2910 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2913 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
2914 staged/installed area to support -I-. Document.
2915 * aclocal.m4: Regenerate.
2916 * configure: Regenerate.
2918 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
2921 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
2922 __out_bufsize. Add __in_bufsize, document it and use it.
2924 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
2926 * include/bits/stl_construct.h (construct): Remove.
2928 (__destroy): Replaced by use of iterator_traits.
2929 * include/bits/stl_deque.h: replaced HP iterator functions with
2931 (construct): changed to _Construct.
2932 (destroy): changed to _Destroy.
2933 * include/bits/stl_tempbuf.h: Same.
2934 * include/bits/stl_tree.h: Same.
2935 * include/bits/stl_vector.h: Same.
2936 * include/backward/iterator.h (construct): moved definition to here.
2939 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
2941 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
2942 before replacing facet.
2943 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
2945 * src/localename.cc (locale::_Impl): Correct ctor initialization
2946 lists. Initialize ref count with one. Simplify.
2947 * src/locale.cc: Add comment.
2948 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
2949 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
2950 * testsuite/22_locale/members.cc (test02): Fix.
2952 2001-06-27 Phil Edwards <pme@sources.redhat.com>
2954 * include/backward/algo.h: Add "GPL plus runtime exception" comment
2955 block, this time for real.
2956 * include/backward/algobase.h: Likewise.
2957 * include/backward/alloc.h: Likewise.
2958 * include/backward/bvector.h: Likewise.
2959 * include/backward/defalloc.h: Likewise.
2960 * include/backward/deque.h: Likewise.
2961 * include/backward/function.h: Likewise.
2962 * include/backward/hash_map.h: Likewise.
2963 * include/backward/hash_set.h: Likewise.
2964 * include/backward/hashtable.h: Likewise.
2965 * include/backward/heap.h: Likewise.
2966 * include/backward/iterator.h: Likewise.
2967 * include/backward/list.h: Likewise.
2968 * include/backward/map.h: Likewise.
2969 * include/backward/multimap.h: Likewise.
2970 * include/backward/multiset.h: Likewise.
2971 * include/backward/pair.h: Likewise.
2972 * include/backward/rope.h: Likewise.
2973 * include/backward/set.h: Likewise.
2974 * include/backward/slist.h: Likewise.
2975 * include/backward/stack.h: Likewise.
2976 * include/backward/strstream: Likewise.
2977 * include/backward/tempbuf.h: Likewise.
2978 * include/backward/tree.h: Likewise.
2979 * include/backward/vector.h: Likewise.
2980 * include/bits/pthread_allocimpl.h: Likewise.
2981 * include/bits/std_algorithm.h: Likewise.
2982 * include/bits/std_bitset.h: Likewise.
2983 * include/bits/std_deque.h: Likewise.
2984 * include/bits/std_functional.h: Likewise.
2985 * include/bits/std_iterator.h: Likewise.
2986 * include/bits/std_list.h: Likewise.
2987 * include/bits/std_map.h: Likewise.
2988 * include/bits/std_memory.h: Likewise.
2989 * include/bits/std_numeric.h: Likewise.
2990 * include/bits/std_queue.h: Likewise.
2991 * include/bits/std_set.h: Likewise.
2992 * include/bits/std_stack.h: Likewise.
2993 * include/bits/std_utility.h: Likewise.
2994 * include/bits/std_vector.h: Likewise.
2995 * include/bits/stl_algo.h: Likewise.
2996 * include/bits/stl_algobase.h: Likewise.
2997 * include/bits/stl_alloc.h: Likewise.
2998 * include/bits/stl_bvector.h: Likewise.
2999 * include/bits/stl_construct.h: Likewise.
3000 * include/bits/stl_deque.h: Likewise.
3001 * include/bits/stl_function.h: Likewise.
3002 * include/bits/stl_heap.h: Likewise.
3003 * include/bits/stl_iterator.h: Likewise.
3004 * include/bits/stl_iterator_base_funcs.h: Likewise.
3005 * include/bits/stl_iterator_base_types.h: Likewise.
3006 * include/bits/stl_list.h: Likewise.
3007 * include/bits/stl_map.h: Likewise.
3008 * include/bits/stl_multimap.h: Likewise.
3009 * include/bits/stl_multiset.h: Likewise.
3010 * include/bits/stl_numeric.h: Likewise.
3011 * include/bits/stl_pair.h: Likewise.
3012 * include/bits/stl_pthread_alloc.h: Likewise.
3013 * include/bits/stl_queue.h: Likewise.
3014 * include/bits/stl_raw_storage_iter.h: Likewise.
3015 * include/bits/stl_relops.h: Likewise.
3016 * include/bits/stl_set.h: Likewise.
3017 * include/bits/stl_stack.h: Likewise.
3018 * include/bits/stl_tempbuf.h: Likewise.
3019 * include/bits/stl_threads.h: Likewise.
3020 * include/bits/stl_tree.h: Likewise.
3021 * include/bits/stl_uninitialized.h: Likewise.
3022 * include/bits/stl_vector.h: Likewise.
3023 * include/bits/type_traits.h: Likewise.
3024 * include/ext/hash_map: Likewise.
3025 * include/ext/hash_set: Likewise.
3026 * include/ext/rope: Likewise.
3027 * include/ext/ropeimpl.h: Likewise.
3028 * include/ext/slist: Likewise.
3029 * include/ext/stl_hash_fun.h: Likewise.
3030 * include/ext/stl_hashtable.h: Likewise.
3031 * include/ext/stl_rope.h: Likewise.
3032 * src/bitset.cc: Likewise.
3033 * src/strstream.cc: Likewise.
3035 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3036 <vakatov@ncbi.nlm.nih.gov>
3039 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
3040 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
3041 * testsuite/27_io/istream_extractor_other.cc: Fix.
3043 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
3045 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
3046 * aclocal.m4: Regenerate.
3047 * configure: Regenerate.
3049 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3051 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
3052 (ostream_iterator): Same.
3053 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
3054 Change argument to const_reference.
3055 (back_insert_iterator): Same.
3057 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3059 * include/bits/sbuf_iter.h: Change to..
3060 * include/bits/streambuf_iterator.h: This.
3061 * include/bits/stl_iterator.h: Take out of here...
3062 * include/bits/stream_iterator.h: Add.
3063 * src/Makefile.am (base_headers): Add streambuf_iterator,
3065 * src/Makefile.in: Regenerate.
3066 * include/bits/std_string.h: Adjust includes.
3067 * include/bits/basic_ios.h: Same.
3068 * include/bits/locale_facets.tcc: Same.
3069 * include/bits/std_iosfwd.h: Same.
3071 * include/bits/std_iterator.h: Add istream, ostream includes.
3072 * include/bits/stl_iterator.h: Tweak.
3073 * testsuite/24_iterators/ostream_iterator.cc: Add test.
3074 * testsuite/24_iterators/istream_iterator.cc: Same.
3075 * testsuite/23_containers/multiset.cc: Add iterator include.
3077 2001-06-26 Phil Edwards <pme@sources.redhat.com>
3079 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
3080 * aclocal.m4: Regenerate.
3081 * configure: Regenerate.
3083 2001-06-26 Felix Natter <f.natter@ndh.net>
3085 * docs/html/17_intro/porting-howto.html: Fixed some errors.
3087 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3089 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
3091 (istream_iterator::operator*): Same.
3093 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3094 Alexandre Petit-Bianco <apbianco@redhat.com>
3096 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
3097 is on 41st, not 14th.
3099 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3101 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
3103 * include/bits/stl_iterator.h (istream_iterator): Inherit from
3105 (ostream_iterator): Same.
3106 * testsuite/24_iterators/istream_iterator.cc: New file.
3107 * testsuite/24_iterators/ostream_iterator.cc: New file.
3109 * include/bits/sbuf_iter.h: Remove self typedef.
3110 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
3111 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
3113 * include/bits/stl_iterator.h (reverse_iterator): Remove
3114 extraneous typedefs. Add typename.
3115 (__normal_iterator): Remove typedefs referring to self. Add typename.
3116 (reverse_bidiretional_iterator): Remove, not longer required.
3118 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3120 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
3121 dependent names with `typename'. Bring in various required
3122 iterator_traits members. Can't imagine why that used to work.
3124 2001-06-25 Phil Edwards <pme@sources.redhat.com>
3125 Kurt Garloff <garloff@suse.de>
3128 * src/cmath.cc: New [version of an old] file; instantiate
3129 __cmath_power to start with.
3130 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
3131 * Makefile.in: Regenerate.
3132 * libio/Makefile.in: Regenerate.
3133 * libmath/Makefile.in: Regenerate.
3134 * libsupc++/Makefile.in: Regenerate.
3135 * src/Makefile.in: Regenerate.
3136 * testsuite/Makefile.in: Regenerate.
3138 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3140 * libmath/stubs.c: Fix thinko.
3142 2001-06-24 David Edelsohn <dje@watson.ibm.com>
3144 * libmath/stubs.c (sqrtf): Define.
3145 (tanf): Correct typo.
3147 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
3149 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
3151 (back_insert_iterator): Same.
3152 (front_insert_iterator): Same.
3153 (insert_iterator): Same.
3155 * testsuite/20_util/raw_storage_iterator.cc: Modify.
3156 * testsuite/24_iterators/reverse_iterator.cc: New file.
3157 * testsuite/24_iterators/back_insert_iterator.cc: New file.
3158 * testsuite/24_iterators/front_insert_iterator.cc: New file.
3159 * testsuite/24_iterators/insert_iterator.cc: New file.
3161 2001-06-22 Phil Edwards <pme@sources.redhat.com>
3163 * include/*: Revert comment/license change from yesterday for all
3164 except libsupc++/unwind-cxx.h.
3165 * src/bitset.cc: Likewise.
3166 * src/strstream.cc: Likewise.
3168 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3170 * libmath/stubs.c: New file.
3174 * libmath/Makefile.am (libmath_la_SOURCES): Add.
3175 * libmath/Makefile.in. Regenerate.
3177 2001-06-21 Phil Edwards <pme@sources.redhat.com>
3179 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
3180 * include/backward/algobase.h: Likewise.
3181 * include/backward/alloc.h: Likewise.
3182 * include/backward/bvector.h: Likewise.
3183 * include/backward/defalloc.h: Likewise.
3184 * include/backward/deque.h: Likewise.
3185 * include/backward/function.h: Likewise.
3186 * include/backward/hash_map.h: Likewise.
3187 * include/backward/hash_set.h: Likewise.
3188 * include/backward/hashtable.h: Likewise.
3189 * include/backward/heap.h: Likewise.
3190 * include/backward/iterator.h: Likewise.
3191 * include/backward/list.h: Likewise.
3192 * include/backward/map.h: Likewise.
3193 * include/backward/multimap.h: Likewise.
3194 * include/backward/multiset.h: Likewise.
3195 * include/backward/pair.h: Likewise.
3196 * include/backward/rope.h: Likewise.
3197 * include/backward/set.h: Likewise.
3198 * include/backward/slist.h: Likewise.
3199 * include/backward/stack.h: Likewise.
3200 * include/backward/strstream: Likewise.
3201 * include/backward/tempbuf.h: Likewise.
3202 * include/backward/tree.h: Likewise.
3203 * include/backward/vector.h: Likewise.
3204 * include/bits/pthread_allocimpl.h: Likewise.
3205 * include/bits/std_algorithm.h: Likewise.
3206 * include/bits/std_bitset.h: Likewise.
3207 * include/bits/std_deque.h: Likewise.
3208 * include/bits/std_functional.h: Likewise.
3209 * include/bits/std_iterator.h: Likewise.
3210 * include/bits/std_list.h: Likewise.
3211 * include/bits/std_map.h: Likewise.
3212 * include/bits/std_memory.h: Likewise.
3213 * include/bits/std_numeric.h: Likewise.
3214 * include/bits/std_queue.h: Likewise.
3215 * include/bits/std_set.h: Likewise.
3216 * include/bits/std_stack.h: Likewise.
3217 * include/bits/std_utility.h: Likewise.
3218 * include/bits/std_vector.h: Likewise.
3219 * include/bits/stl_algo.h: Likewise.
3220 * include/bits/stl_algobase.h: Likewise.
3221 * include/bits/stl_alloc.h: Likewise.
3222 * include/bits/stl_bvector.h: Likewise.
3223 * include/bits/stl_construct.h: Likewise.
3224 * include/bits/stl_deque.h: Likewise.
3225 * include/bits/stl_function.h: Likewise.
3226 * include/bits/stl_heap.h: Likewise.
3227 * include/bits/stl_iterator.h: Likewise.
3228 * include/bits/stl_iterator_base_funcs.h: Likewise.
3229 * include/bits/stl_iterator_base_types.h: Likewise.
3230 * include/bits/stl_list.h: Likewise.
3231 * include/bits/stl_map.h: Likewise.
3232 * include/bits/stl_multimap.h: Likewise.
3233 * include/bits/stl_multiset.h: Likewise.
3234 * include/bits/stl_numeric.h: Likewise.
3235 * include/bits/stl_pair.h: Likewise.
3236 * include/bits/stl_pthread_alloc.h: Likewise.
3237 * include/bits/stl_queue.h: Likewise.
3238 * include/bits/stl_raw_storage_iter.h: Likewise.
3239 * include/bits/stl_relops.h: Likewise.
3240 * include/bits/stl_set.h: Likewise.
3241 * include/bits/stl_stack.h: Likewise.
3242 * include/bits/stl_tempbuf.h: Likewise.
3243 * include/bits/stl_threads.h: Likewise.
3244 * include/bits/stl_tree.h: Likewise.
3245 * include/bits/stl_uninitialized.h: Likewise.
3246 * include/bits/stl_vector.h: Likewise.
3247 * include/bits/type_traits.h: Likewise.
3248 * include/ext/hash_map: Likewise.
3249 * include/ext/hash_set: Likewise.
3250 * include/ext/rope: Likewise.
3251 * include/ext/ropeimpl.h: Likewise.
3252 * include/ext/slist: Likewise.
3253 * include/ext/stl_hash_fun.h: Likewise.
3254 * include/ext/stl_hashtable.h: Likewise.
3255 * include/ext/stl_rope.h: Likewise.
3256 * libsupc++/unwind-cxx.h: Likewise.
3257 * src/bitset.cc: Likewise.
3258 * src/strstream.cc: Likewise.
3260 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3262 * include/bits/indirect_array.h (indirect_array<>::operator=):
3263 Make copy and assignment operator public. Implement. Format.
3265 * include/bits/valarray_array.h (__valarray_copy): Add overloads
3266 for copy between index arrays. Format.
3268 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
3270 * mknumeric_limits: Add static definitions, format.
3271 * testsuite/18_support/numeric_limits.cc (test02): Add test.
3273 * include/c_std/bits/std_cwchar.h: Include ctime.
3274 * testsuite/17_intro/header_cwchar.cc : Check.
3276 * include/c_std/bits/std_cwctype.h: Inject wctype.
3277 * testsuite/17_intro/header_cwctype.cc: Update.
3279 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
3281 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
3282 * testsuite/20_util/raw_storage_iterator.cc: Same.
3284 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
3286 (__mem_interface): New typedef for switching between malloc and new.
3287 * testsuite/20_util/allocator_members.cc: New file.
3289 * testsuite/20_util/comparisons.cc: New file.
3290 * testsuite/20_util/pairs.cc: New file.
3292 2001-06-15 Phil Edwards <pme@sources.redhat.com>
3294 * docs/html/documentation.html: Point to new doxygen'ed collection.
3296 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
3298 * configure.in (auxdir): Replace by ...
3299 (toprel): ... new variable.
3300 (toplevel_srcdir): Construct from $toprel.
3301 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
3302 rather than .. to locate gcc source directory.
3303 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
3304 * aclocal.m4, configure: Rebuilt.
3306 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3308 (Approved by Mark and Benjamin. Applied by Loren.)
3310 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
3311 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
3312 and _GLIBCPP_mutex_address.
3313 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
3314 once-only runtime initialization of _M_lock mutex when
3315 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
3316 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
3317 for __GTHREAD_MUTEX_INIT_FUNCTION case.
3319 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3321 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
3323 * include/bits/slice_array.h (slice_array<>::operator=): Make
3324 public and implement.
3325 (slice_array<>::slice_array): Make copy-constructor public.
3327 * include/bits/valarray_array.h (__valarray_copy): Add another
3328 overload to copy between strided arrays.
3330 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
3332 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
3333 * aclocal.m4: Regenerate.
3334 * configure: Regenerate.
3335 * include/bits/c++config (__GLIBCPP__): Update date.
3337 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3339 * include/bits/fpos.h (fpos::operator-): Don't return reference,
3340 return original, non-modified version.
3341 (fpos::operator+): Same.
3342 * testsuite/27_io/fpos.cc: Add test.
3344 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
3347 * porting.texi: Add documentation about libstdc++-v3-specific
3348 macros that are currently included in os_defines.h files.
3350 * config/basic_file_stdio.h (sys_getc): New method.
3351 (sys_ungetc): New method.
3352 * include/bits/basic_file.h: (sys_getc): New method signature.
3353 (sys_ungetc): New method signature.
3355 * include/bits/fstream.tcc (underflow): Add conditional code
3356 paths which avoid using short seeks on streams (especially
3357 useful when the stream might be interactive or a pipe). At
3358 the moment, this alternate path only avoids seeking when the
3359 ``buffer size'' of underflow() is 1 since the C standard only
3360 guarantees buffer space for one ungetc (this technique could
3361 be extended since *-*-solaris* supports buffering for 4 calls
3362 to ungetc and *-*-*bsd* supports buffering limited only by
3363 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
3364 in a port's os_defines.h file for this alternate path to even
3365 be considered. As a bonus, the idiom of using getc/ungetc
3366 requires no system calls whereas fseek maps to one or two
3367 system call(s) on many platforms.
3369 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
3371 * config/os/solaris/solaris2.5/bits/os_defines.h
3372 (_GLIBCPP_AVOID_FSEEK): Likewise.
3373 * config/os/solaris/solaris2.6/bits/os_defines.h
3374 (_GLIBCPP_AVOID_FSEEK): Likewise.
3375 * config/os/solaris/solaris2.7/bits/os_defines.h
3376 (_GLIBCPP_AVOID_FSEEK): Likewise.
3378 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3380 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
3381 AC_TRY_COMPILE, so that the built compiler is checked, and
3382 bootstraps or cross compiles with an older compile still work.
3383 * aclocal.m4: Regenerate.
3384 * configure: Regenerate.
3386 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3389 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
3392 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
3395 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
3398 * include/bits/limits_generic.h: Fix as per DR 184.
3400 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3403 * include/bits/basic_string.h (string::compare): Adjust signatures
3405 * include/bits/basic_string.tcc: And here.
3408 * config/c_io_stdio.h: Remove whitespace.
3409 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
3410 (test02): Add regression.
3411 * testsuite/27_io/istream_seeks-3.tst: New file.
3413 2001-06-11 Phil Edwards <pme@sources.redhat.com>
3415 * README: Update to reflect reality.
3416 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
3417 * configure.in: Make certain target_alias is set and subst'd for 2.50.
3418 * aclocal.m4: Regenerate.
3419 * configure: Regenerate (with 2.13).
3421 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3424 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
3426 * include/bits/istream.tcc (istream::seekg): Same.
3427 * testsuite/27_io/istream_seeks.cc: Fix.
3430 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
3432 * include/bits/std_queue.h: Add c++config.h.
3433 * testsuite/20_util/binders.cc: New test.
3435 2001-06-11 Matthias Klose <doko@debian.org>
3436 Phil Edwards <pme@sources.redhat.com>
3438 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
3439 (main script): Echo more information.
3441 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3443 * include/c_std/bits/std_cwchar.h: Alphabetize.
3444 * include/bits/char_traits.h: Tweak.
3445 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
3446 everything used by std_cwchar.h.
3447 * aclocal.m4: Regenerate.
3448 * configure.in: Regenerate.
3449 * config.h.in: Regenerate.
3451 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3453 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
3454 Add checking for strtof, _Exit in stdlib.h
3455 * aclocal.m4: Regenerate.
3456 * configure.in: Regenerate.
3457 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
3458 (snprintf): Put C99 functions into __gnu_cxx namespace.
3463 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
3464 for C99 functions within _GLIBCPP_USE_C99 guard.
3468 * include/bits/locale_facets.tcc: Check if C99 is enabled.
3469 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
3471 * include/c_std/bits/cmath.tcc: Formatting tweak.
3472 * include/c_std/bits/std_cmath.h: Same.
3474 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3476 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
3478 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
3479 Stephen L Moshier <moshier@mediaone.net>
3481 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
3482 nothing, as in autoconf 2.50.
3483 * configure: Rebuilt.
3485 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3487 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
3488 include std_cstddef.
3489 * include/c_std/bits/std_ctime.h: Same.
3490 * include/c_std/bits/std_cstring.h: Same.
3491 * include/c_std/bits/std_cstdlib.h: Same.
3493 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
3494 * include/c_std/bits/std_cctype.h: Remove isblank.
3496 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3498 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
3500 * aclocal.m4: Regenerate.
3501 * configure: Regenerate.
3502 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
3503 injection, guard fgetwc, fgetws.
3504 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
3505 * include/c_std/bits/std_clocale.h: And here.
3506 * include/c_std/bits/std_cctype.h: And here.
3507 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
3509 * config/basic_file_stdio.h: Don't include unistd.h.
3510 * config/c_io_stdio.h: Don't use compatibility headers.
3511 * libsupc++/eh_terminate.cc: Qualify abort.
3512 (__terminate): And here.
3513 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
3515 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
3517 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
3519 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
3524 * include/std/*: Add copyright notice.
3525 * include/c_std/bits/*: Use using statements instead of extern "C".
3526 * include/c_std/bits/std_cmath.h: Don't overload double versions
3527 of math functions with __buitin versions, use global version to
3528 prevent ambiguities. Remove define hacks.
3529 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
3530 functions that have changed signatures and std::
3531 declarations. Remove define hacks.
3532 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
3533 __builtins in std::. Remove define hacks.
3534 * testsuite/17_intro/headers_c.cc: Add tests.
3535 * testsuite/17_intro/headers_c++.cc: Add test.
3537 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3538 John David Anglin <dave@hiauly1.hia.nrc.ca>
3541 * libsupc++/eh_alloc.cc: Ensure that required macros are
3542 defined before including gthr.h. Ensure that we get the
3543 version of gthr.h for which we know how to provide a
3545 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
3546 code path into line with the current EH model. Use std, where
3549 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3550 John David Anglin <dave@hiauly1.hia.nrc.ca>
3552 * config/threads-no.h: Remove file.
3553 * config/threads-posix.h: Remove file.
3555 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
3556 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
3557 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
3558 * config.h.in: Regenerate.
3560 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
3561 setup and use gthr*.h files. In particular, make gthr.h files
3562 namespace-clean in the staging area (they don't have to be for
3564 * aclocal.m4: Regenerate.
3565 * configure: Regenerate.
3567 * src/Makefile.am (build_headers): Remove bits/c++threads.h
3568 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
3569 * src/Makefile.in: Regenerate.
3571 * include/bits/c++config: Cleanup threading configuration macros.
3572 In particular, define __STL_GTHREADS macro which controls...
3573 * include/bits/stl_threads.h: ...a brand new gthr.h-based
3576 * config/c_io_stdio.h: Include staged gthr.h instead of local
3577 thread configuration file. Always use __gthread_mutex_t
3578 instead of __mutext_type (or int).
3579 * include/bits/std_fstream.h: Likewise.
3581 * docs/html/17_intro/howto.html: Remove placeholder comment in
3582 case this configuration patch didn't make it. Add advice that
3583 section only applies if configured with --enable-threads.
3584 * docs/html/23_containers/howto.html: Reword to make clear
3585 that _PTHREADS is no longer required for any port to be
3586 correctly using STL with threads. Add advice that section
3587 only applies if configured with --enable-threads.
3589 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
3591 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
3593 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
3596 * include/bits/basic_ios.tcc: Formatting tweaks.
3597 * include/bits/ios_base.h: Formatting tweaks.
3598 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
3599 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
3600 * src/globals.cc: Allocate filebufs for standard streams here.
3601 (buf_cout, buf_cin, buf_cerr): Like so.
3602 (buf_wcout, buf_wcin, buf_wcerr): And so.
3603 * testsuite/27_io/ios_init.cc: Add.
3605 2001-06-04 Brendan Kehoe <brendan@zen.org>
3606 Benjamin Kosnik <bkoz@redhat.com>
3609 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
3610 for generic ctype virtuals.
3611 * src/locale.cc: Minor tweaks, naming consistency.
3612 * testsuite/22_locale/ctype.cc: Add test.
3614 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
3615 Phil Edwards <pme@sources.redhat.com>
3617 PR libstdc++/3035 and PR libstdc++/3036
3618 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
3619 to LWG DR 181 and 265.
3621 2001-06-04 Phil Edwards <pme@sources.redhat.com>
3624 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
3625 equal_range): Add const overloads as per LWG DR 214.
3626 * include/bits/stl_set.h: Likewise.
3628 2001-06-04 Brendan Kehoe <brendan@zen.org>
3629 Phil Edwards <pme@sources.redhat.com>
3632 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
3633 comparison; all positions must be < _Nb.
3634 * testsuite/23_containers/bitset_members.cc: New file.
3636 2001-06-04 Brendan Kehoe <brendan@zen.org>
3639 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
3640 ctors to match the standard.
3642 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3644 * include/bits/char_traits.h (move): Reverse qualification of
3646 (copy): Reverse qualification of memcpy with std::.
3648 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3650 * include/bits/char_traits.h (move): Qualify memmove with std::.
3651 (copy): Qualify memcpy with std::.
3652 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
3655 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
3657 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
3659 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
3660 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
3661 SUN make VPATH peculiarities.
3662 * libsupc++/Makefile.in: Regenerate.
3664 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
3666 * src/Makefile.am (VPATH): Delimit with ":", not space.
3667 * src/Makefile.in: Regenerate.
3669 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
3671 * configure: Regenerate.
3673 2001-05-31 scott snyder <snyder@fnal.gov>
3676 * include/bits/istream.tcc: Include std_ostream.h.
3678 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
3681 * src/bitset.cc: Qualify size_t with std::.
3683 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
3685 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
3686 (_GLIBCPP_BUGGY_COMPLEX): Remove.
3687 * config.h.in: Regenerate.
3688 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
3689 * aclocal.m4: Regenerate.
3690 * configure.in: Don't call it.
3691 * configure: Regenerate.
3694 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
3695 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
3699 * include/bits/std_complex.h: Include sstream. Put definitions for
3700 complex inserters and extractors here, and remove them from...
3701 * src/complex_io.cc: ...here.
3702 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
3704 (basic_ios::__numget_type): Same.
3705 * include/bits/std_istream.h: Same.
3706 * include/bits/std_ostream.h: Same.
3707 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
3708 class iterator template arguments.
3709 * src/locale-inst.cc: Add explicit has_facet instantiations.
3710 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
3711 (_M_get_fnumput): Remove.
3712 (_M_get_fnumget): Remove.
3713 (basic_ios::_M_check_facet): New function.
3714 (basic_ios::_M_cache_facets): New function.
3715 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
3716 (basic_ios::imbue): Call _M_cache_facets.
3717 (basic_ios::init): Same.
3718 * include/bits/istream.tcc: Format, use _M_check_facet.
3719 * include/bits/ostream.tcc: Same.
3720 * include/bits/locale_facets.tcc (__output_float): Change
3721 signature, add _Traits.
3722 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
3725 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
3727 * include/bits/c++config (__USE_MALLOC): Do not define it.
3728 Document why not and give pointers to more information.
3730 * docs/html/23_containers/howto.html: Update documentation
3731 to reflect recent understanding of problem.
3732 * docs/html/17_intro/howto.html: Likewise.
3734 2001-05-30 Phil Edwards <pme@sources.redhat.com>
3736 * docs/doxygen/user.cfg.in: Minor addition.
3737 * docs/html/documentation.html: Reorganize. Put most-looked-at
3739 * docs/html/install.html: Update for 3.0. HTML fixups.
3740 * docs/html/17_intro/howto.html: Likewise.
3741 * docs/html/18_support/howto.html: Likewise.
3742 * docs/html/19_diagnostics/howto.html: Likewise.
3743 * docs/html/20_util/howto.html: Likewise.
3744 * docs/html/23_containers/howto.html: Likewise.
3745 * docs/html/24_iterators/howto.html: Likewise. More notes.
3746 * docs/html/25_algorithms/howto.html: Likewise.
3747 * docs/html/26_numerics/howto.html: Likewise. More notes.
3748 * docs/html/27_io/howto.html: Likewise.
3749 * docs/html/ext/howto.html: Likewise.
3750 * docs/html/faq/index.html: Likewise.
3751 * docs/html/faq/index.txt: Regenerate.
3752 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
3753 Doxygen-created documentation.
3755 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3757 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
3758 get_multilibs to find gcc.
3760 2001-05-30 Phil Edwards <pme@sources.redhat.com>
3762 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
3763 * aclocal.m4: Regenerate.
3764 * configure: Regenerate.
3766 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3768 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
3769 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
3771 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3773 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
3774 * include/c_std/bits/std_cstdlib.h: Same.
3775 * include/c_std/bits/std_cwchar.h: Same.
3777 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
3779 * docs/html/17_intro/howto.html: Update link.
3780 * docs/html/23_containers/howto.html: Likewise. Add new link.
3782 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
3784 * include/c_std/bits/std_cmath.h (sqrt): #undef.
3786 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3788 * mknumeric_limits: Stop if gen-num-limits dies.
3790 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
3793 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
3794 * aclocal.m4: Regenerate.
3797 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3798 Phil Edwards <pme@sources.redhat.com>
3799 Alexandre Oliva <aoliva@redhat.com>
3801 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3802 in an amd-safe manner. Revert glibcpp_prefixdir.
3804 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
3806 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
3807 fabs, sin, sqrt. They are now implemented in terms of __builtin_
3810 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
3813 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
3814 * include/bits/ostream.tcc: Format to match istream.tcc.
3815 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
3817 2001-05-24 Phil Edwards <pme@sources.redhat.com>
3819 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
3821 (__cxa_free_exception): Likewise with free.
3823 2001-05-24 Mark Mitchell <mark@codesourcery.com>
3825 * include/c_std/bin/std_cstring.h: #define away all global
3826 functions we will redeclare in namespace `std'.
3827 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
3828 std::memset, instead of memset.
3829 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
3831 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
3834 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
3837 * include/bits/basic_ios.tcc: Small tweak.
3838 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
3839 ctors and dtors, and rdbuf settings.
3842 * include/bits/std_sstream.h: Same, but for stringstream classes.
3843 * testsuite/27_io/ostringstream_members.cc: New.
3844 * testsuite/27_io/stringstream_members.cc: New.
3845 * testsuite/27_io/fstream_members.cc: New.
3846 * testsuite/27_io/ifstream_members.cc: Add test.
3847 * testsuite/27_io/istringstream_members.cc: Add test.
3848 * testsuite/27_io/ofstream_members.cc: Add test.
3850 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3852 * include/bits/c++config(__NO_MATH_INLINES): Move to...
3853 * config/os/gnu-linux/bits/os_defines.h: ...here.
3855 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
3857 * include/bits/c++config (__NO_MATH_INLINES): New macro.
3858 * testsuite/26_numerics/fabs_inline.cc (main): New test.
3860 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
3863 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
3865 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
3866 (libstdc++-v3-finish): Remove.
3867 (libstdc++-v3_exit): Remove.
3869 2001-05-22 Phil Edwards <pme@sources.redhat.com>
3871 * docs/html/documentation.html: Point to doxygen output.
3873 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
3875 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
3877 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
3878 arguments to be non-null.
3879 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
3880 try allocations if allocated size is greater than zero.
3881 (filebuf::_M_filebuf_init): Change to
3882 (filebuf::_M_allocate_file): Which is what it does now.
3883 (filebuf::_M_allocate_bufers): Change to
3884 (filebuf::_M_allocate_internal_buffer): This, and create
3885 (filebuf::_M_allocate_pback_buffer): New.
3886 (filebuf::_M_destroy_internal_buffer): New.
3887 (filebuf::_M_buf_allocated): New data member.
3888 (filebuf::setbuf): Use new logic, allow use of external buffer.
3889 * testsuite/27_io/stringbuf_virtuals.cc: New file.
3890 * testsuite/27_io/filebuf_virtuals.cc: New file.
3892 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
3894 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
3896 (strchr): Same, but to __glibcpp_strchr.
3900 * include/c_std/bits/std_cwchar.h (wcschr): Same.
3906 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
3908 * testsuite/21_strings/c_strings.cc (main): Fix.
3910 2001-05-19 Phil Edwards <pme@sources.redhat.com>
3912 * acinclude.m4: Fix --help spacing, correct comments.
3913 * aclocal.m4: Regenerate.
3914 * configure: Regenerate.
3915 * mkcheck.in: Add usage comments.
3916 * docs/html/documentation.html: Point to doxygen'd tarball.
3918 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
3920 * testsuite/README: Add notes.
3922 * src/Makefile.am (libstdc++.INC): Remove.
3923 * src/Makefile.in: Regenerate.
3925 Phil Edwards <pedwards@disaster.jaj.com>
3926 * mkcheck.in: Add missing '#'.
3928 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3930 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
3931 appropriately for remote testing and testing installed files without
3934 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
3936 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
3937 amd glibcpp_prefixdir with absolute paths.
3939 * include/bits/c++config (__GLIBCPP__): Bump.
3940 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
3942 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
3944 * include/bits/std_valarray.h (valarray<>::operator[] const):
3945 Return a const reference.
3946 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
3948 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
3950 * configure.target (ATOMICITYH): Actually use AIX-specific code on
3951 earlier versions of AIX 4.*.
3953 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3955 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
3956 output_file based on the name of the testcase.
3958 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
3960 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
3961 gluefile and use it if needs_status_wrapper is set.
3963 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
3965 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
3968 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
3970 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
3971 on earlier versions of AIX.
3973 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
3975 * testsuite_flags.in (query): Add backwards, ext directories.
3977 2001-05-15 Mark Mitchell <mark@codesourcery.com>
3979 * porting.texi: Correct documentation about handling
3980 _LARRGEFILE_SOURCE and its ilk.
3981 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
3982 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
3984 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
3985 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
3987 2001-05-15 Zack Weinberg <zackw@stanford.edu>
3989 * testsuite/21_strings/inserters_extractors.cc,
3990 testsuite/27_io/istream_unformatted.cc,
3991 testsuite/27_io/stringstream.cc:
3992 Replace multi-line string constants with C89-style
3993 concatenated string constants.
3995 2001-05-14 Richard Henderson <rth@redhat.com>
3997 * mknumeric_limits: Build with -fno-exceptions.
3999 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
4001 Switch over to new harness.
4002 * testsuite_flags.in: Tweaks via Gaby.
4003 * testsuite/Makefile.am: Change tool to libstdc++-v3.
4004 (EXPECT): Quote directly.
4006 * configure.in: Output testsuite_flags.
4007 * acinclude.m4: Substitute src, bld, and prefix dirs.
4008 Remove glibcpp_expect, glibcpp_runtestflags.
4009 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
4010 * mkcheck.in: Port to new interface.
4012 * aclocal.m4: Regerate.
4013 * configure: Regnerate.
4014 * Makefile.in: Regnerate.
4015 * */Makefile.in: Regenerate.
4017 * tests_flags.in: Remove.
4018 * testsuite/lib/libstdc++.exp: Remove.
4019 * testsuite/libstdc++.tests/tests.exp: Remove.
4021 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
4023 * configure.target: Remove detection of AIX pthread multilib, now
4024 obtained from `gcc -v'.
4026 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
4028 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
4029 size. Add hpux case for HP size.
4031 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
4033 * testsuite_flags.in: New, simplified interface.
4034 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
4035 * testsuite/libstdc++-v3.dg: Add.
4036 * testsuite/libstdc++-v3.dg/dg.exp: Add.
4038 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
4040 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
4041 * testsuite/config/default.exp: Update bugs email address.
4043 2001-05-11 Richard Henderson <rth@redhat.com>
4045 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
4046 all pointer encoding logic.
4047 (struct lsda_header_info): Add ttype_base.
4048 (get_ttype_entry): Use it instead of a context.
4049 (check_exception_spec): Likewise.
4050 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
4051 the c++ exception header for __cxa_call_unexpected.
4052 (__cxa_call_unexpected): Use it.
4054 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
4056 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
4057 libgloss_link_flags to find crt0.o for targets that use libgloss
4059 Change LDFLAGS to LIBS.
4060 Consistently name procedures libstdc++-XXX.
4061 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
4063 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
4065 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
4070 * include/c_std/bits/std_cwchar.h (wcschr): Same.
4075 * testsuite/21_strings/c_strings.cc: Add tests.
4077 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
4080 * include/bits/std_fstream.h (basic_filebuf): Change signature.
4081 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
4082 to int_type, pass in buffer size info.
4083 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
4084 unbuffered situation.
4085 (underflow): Remove codecvt bits for the time being.
4086 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
4087 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
4088 values from iterators, clean.
4089 * src/locale.cc: Ditto.
4090 * include/bits/sbuf_iter.h: Format.
4091 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
4092 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
4093 * testsuite/27_io/filebuf.cc: Tweaks.
4094 * testsuite/27_io/filebuf_members.cc: Tweaks.
4096 2001-05-07 Mark Mitchell <mark@codesourcery.com>
4098 * config/os/solaris/solaris2.7/bits/os_defines.h
4099 (_LARGEFILE_SOURCE): Define it.
4101 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
4103 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
4104 -prefer-non-pic depending on whether libtool has shared libraries
4105 enabled or disabled.
4106 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
4107 $(LIBSUPCXX_PICFLAGS).
4108 * configure, */Makefile.in: Rebuilt.
4110 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
4112 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
4113 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
4115 * include/bits/std_sstream.h (stringbuf): Leak
4117 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
4119 2001-05-01 Tom Browder <tbrowder@home.com>
4121 * docs/html/ext/howto.html: Fix typo.
4123 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
4125 * testsuite/libstdc++.tests/tests.exp: Add comment.
4127 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
4129 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
4131 2001-04-30 Mark Mitchell <mark@codesourcery.com>
4133 * porting.texi: Use the GFDL.
4135 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
4138 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
4139 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
4142 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
4145 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
4147 2001-04-28 Phil Edwards <pme@sources.redhat.com>
4149 * docs/doxygen/run_doxygen: Minor tweaks.
4150 * docs/doxygen/style.css: New file.
4151 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
4152 latest parameters available. Use style.css.
4154 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
4156 * docs/doxygen/mainpage.doxy: New.
4157 * docs/doxygen/user.cfg.in: Change default configuration. Single
4158 frame, other tweaks.
4160 2001-04-26 Mark Mitchell <mark@codesourcery.com>
4162 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
4163 Indicate obsolete nature of thelist for G++ 3.0.
4165 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
4167 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
4168 target_thread_file with `gcc -v'.
4169 * aclocal.m4, configure: Rebuilt.
4171 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
4173 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
4174 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
4175 * include/c_std/bits/std_cwchar.h (std): Same.
4176 * acconfig.h (std): Remove c99 injection into std.
4177 * config.h.in: Regenerate.
4179 * testsuite/README: Fix typo.
4181 * include/bits/codecvt.h: Remove warnings.
4183 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4185 * include/ext/slist: Include required header files.
4187 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
4189 * include/c_std/bits/std_cerrno.h (errno): Define macro from
4190 identifier declared with external linkage, if needed.
4191 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
4192 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
4194 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
4196 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
4197 re-configures find the build compiler.
4198 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
4200 * aclocal.m4: Regenerate.
4201 * configure: Regenerate.
4203 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
4205 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
4206 support is enabled correctly before long long is activated.
4207 * aclocal.m4: Regenerate.
4208 * configure: Regenerate.
4210 * include/backward/backward_warning.h: Format correctly.
4212 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
4213 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
4214 * testsuite/26_numerics/c99_macros.cc: Remove.
4216 2001-04-20 Phil Edwards <pme@sources.redhat.com>
4218 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
4219 __iterator_category.
4221 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
4223 * acconfig.h (_GLIBCPP_USE_C99): Add.
4224 * config.h.in: Regenerate.
4225 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
4227 * aclocal.m4: Regenerate.
4228 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
4229 * configure: Regenerate.
4230 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
4231 * configure: Regenerate.
4232 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
4234 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
4236 * include/c_std/bits/std_cstdlib.h: Same.
4237 * docs/html/configopts.html: Update.
4238 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
4240 (test_c99_classify): Add.
4241 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
4242 (_ISOC99_SOURCE): Remove.
4244 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
4245 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
4246 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
4247 * aclocal.m4: Regenerate.
4248 * configure: Regenerate.
4250 2001-04-19 Phil Edwards <pme@sources.redhat.com>
4252 * Makefile.am (doxygen): Assume script is missing execute perms.
4253 * Makefile.in: Regenerated.
4254 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
4256 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
4258 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
4260 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
4262 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
4263 * testsuite/23_containers/set_operators.cc: Same.
4265 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
4267 (__GLIBCPP__): Bump from value of last release.
4268 * include/bits/concept_check.h: Default to off, edit comments.
4269 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
4270 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
4271 * src/Makefile.in: Regenerate.
4273 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
4275 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
4276 Properly uglify member.
4278 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4280 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
4284 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4286 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
4287 * include/bits/concept_check.h: Uglify.
4288 * include/bits/stl_algo.h: Likewise.
4289 * include/bits/stl_algobase.h: Likewise.
4290 * include/bits/stl_deque.h: Likewise.
4291 * include/bits/stl_heap.h: Likewise.
4292 * include/bits/stl_iterator_base_funcs.h: Likewise.
4293 * include/bits/stl_list.h: Likewise.
4294 * include/bits/stl_map.h: Likewise.
4295 * include/bits/stl_multimap.h: Likewise.
4296 * include/bits/stl_multiset.h: Likewise.
4297 * include/bits/stl_numeric.h: Likewise.
4298 * include/bits/stl_queue.h: Likewise.
4299 * include/bits/stl_set.h: Likewise.
4300 * include/bits/stl_stack.h: Likewise.
4301 * include/bits/stl_vector.h: Likewise.
4302 * include/ext/hash_map: Likewise.
4303 * include/ext/hash_set: Likewise.
4304 * include/ext/slist: Likewise.
4306 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
4308 * testsuite/23_containers/set_operators.cc: Just try to compile.
4310 * testsuite/23_containers/map_operators.cc: Same.
4312 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
4314 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
4316 (dg-test): Revert rth's change.
4318 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
4320 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
4321 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
4323 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
4325 * testsuite/README: Add DejaGnu specific documentation.
4327 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
4329 * acinclude.m4: AC_CHECK_TOOL for expect.
4330 * aclocal.m4: Regenerate.
4331 * configure: Regenerate.
4332 * testsuite/Makefile.am (RUNTEST): Use substituted.
4335 * configure.in: Remove xcompiling substitution.
4336 * tests_flags.in (CROSS_LIB_PATH): Remove.
4337 (xcompiling): Remove.
4338 (CXX): Use substituted CXX.
4340 2001-04-11 Richard Henderson <rth@redhat.com>
4342 * testsuite/lib/libstdc++.exp: Specify path for output_file.
4344 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
4346 * include/bits/std_valarray.h(valarray<>::operator[]): Make
4349 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4351 * testsuite/25_algorithms/equal.cc: New test.
4353 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
4355 * stl_algobase.h (std::equal): avoid use of possibly-undefined
4356 operator != (one line patch).
4358 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4360 * include/backward/backward_warning.h: Re-enable.
4362 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4363 Alexandre Oliva <aoliva@redhat.com>
4365 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
4367 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4369 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
4370 * testsuite/26_numerics/c99_macros.cc: Add test.
4372 2001-04-06 Phil Edwards <pme@sources.redhat.com>
4374 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
4375 * docs/html/faq/index.txt: Regenerated.
4377 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4379 * include/backward/backward_warning.h: Temporarily disable until
4380 g++ testsuite changes go in.
4381 * tests_flags.in (CROSS_LIB_PATH): Add.
4383 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4385 Warn when using backward headers.
4386 * include/backward/algo.h: Include warning file.
4387 * include/backward/vector.h: Same.
4388 * include/backward/tree.h: Same.
4389 * include/backward/tempbuf.h: Same.
4390 * include/backward/strstream: Same.
4391 * include/backward/streambuf.h: Same.
4392 * include/backward/stream.h: Same.
4393 * include/backward/stack.h: Same.
4394 * include/backward/slist.h: Same.
4395 * include/backward/set.h: Same.
4396 * include/backward/rope.h:
4397 * include/backward/queue.h: Same.
4398 * include/backward/pair.h: Same.
4399 * include/backward/ostream.h: Same.
4400 * include/backward/new.h: Same.
4401 * include/backward/multiset.h: Same.
4402 * include/backward/multimap.h: Same.
4403 * include/backward/map.h: Same.
4404 * include/backward/list.h: Same.
4405 * include/backward/iterator.h: Same.
4406 * include/backward/istream.h: Same.
4407 * include/backward/iostream.h:
4408 * include/backward/iomanip.h:
4409 * include/backward/heap.h: Same.
4410 * include/backward/hashtable.h:
4411 * include/backward/hash_set.h:
4412 * include/backward/hash_map.h:
4413 * include/backward/function.h:
4414 * include/backward/fstream.h:
4415 * include/backward/deque.h:
4416 * include/backward/defalloc.h: Same.
4417 * include/backward/complex.h: Same.
4418 * include/backward/bvector.h:
4419 * include/backward/alloc.h:
4420 * include/backward/algobase.h: Same.
4422 * include/backward/backward_warning.h: New file.
4423 * src/Makefile.am (backward_headers): Add backward_warning.h
4424 * src/Makefile.in: Regenerate.
4426 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4428 * src/Makefile.am (myinstalldirs): Make sure backward directory is
4430 (myinstallheaders): Install backward headers in backward directory.
4431 * src/Makefile.in: Regenerate.
4433 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4435 Prepare for libstdc++-2.92.
4436 * docs/html/17_intro/RELEASE-NOTES (New): Update.
4437 * docs/html/configopts.html: Fix formatting.
4438 * README (file): Updates.
4439 * include/bits/c++config (__GLIBCPP__): Update.
4441 2001-04-05 Phil Edwards <pme@sources.redhat.com>
4443 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
4445 2001-04-04 Phil Edwards <pme@sources.redhat.com>
4447 * docs/doxygen/user.cfg.in: Extract all non-private members;
4448 reduce confusing documentation output.
4450 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
4452 * include/backward/fstream.h: Add missing semicolons.
4454 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
4456 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
4457 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
4458 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
4459 (ios_base::Init::_S_ios_create): New.
4460 (ios_base::Init::_S_ios_destroy): New.
4461 * include/bits/std_fstream.h: Change ctor args.
4462 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
4463 (ios_base::Init::~Init): Use _S_ios_destroy.
4464 (ios_base::sync_with_stdio): Use new members.
4465 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
4468 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4470 * include/backward/fstream.h: Expose streampos to global
4473 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4475 * include/bits/stl_iterator_base_types.h: Fix typo
4477 2001-04-03 Andreas Schwab <schwab@suse.de>
4479 * include/backward/fstream.h: Define filebuf and wfilebuf.
4481 2001-04-02 Phil Edwards <pme@sources.redhat.com>
4483 New concept checking implementation.
4484 * docs/html/19_diagnostics/howto.html: Document.
4485 * docs/html/17_intro/concept_check.diff: New file, for reference.
4486 * include/bits/boost_concept_check.h: New file from Boost.
4487 * include/bits/c++config: Update comments.
4489 * include/bits/concept_check.h: New file.
4490 * include/bits/concept_checks.h: Removed.
4491 * include/bits/container_concepts.h: Removed.
4492 * include/bits/sequence_concepts.h: Removed.
4493 * include/bits/stl_iterator_base.h: Removed; split into...
4494 * include/bits/stl_iterator_base_funcs.h: ...this new file...
4495 * include/bits/stl_iterator_base_types.h: ...and this new file.
4497 * include/bits/sbuf_iter.h: Update to use new implementation.
4498 * include/bits/std_iterator.h: Likewise.
4499 * include/bits/std_memory.h: Likewise.
4500 * include/bits/stl_algo.h: Likewise.
4501 * include/bits/stl_algobase.h: Likewise.
4502 * include/bits/stl_construct.h: Likewise.
4503 * include/bits/stl_deque.h: Likewise.
4504 * include/bits/stl_heap.h: Likewise.
4505 * include/bits/stl_list.h: Likewise.
4506 * include/bits/stl_map.h: Likewise.
4507 * include/bits/stl_multimap.h: Likewise.
4508 * include/bits/stl_multiset.h: Likewise.
4509 * include/bits/stl_numeric.h: Likewise.
4510 * include/bits/stl_queue.h: Likewise.
4511 * include/bits/stl_set.h: Likewise.
4512 * include/bits/stl_stack.h: Likewise.
4513 * include/bits/stl_uninitialized.h: Likewise.
4514 * include/bits/stl_vector.h: Likewise.
4515 * include/ext/hash_map: Likewise.
4516 * include/ext/hash_set: Likewise.
4517 * include/ext/slist: Likewise.
4518 * include/ext/stl_hashtable.h: Likewise.
4520 * src/Makefile.am (base_headers): Update list of headers.
4521 * Makefile.in: Regenerated.
4522 * src/Makefile.in: Regenerated.
4523 * libio/Makefile.in: Regenerated.
4524 * libmath/Makefile.in: Regenerated.
4525 * libsupc++/Makefile.in: Regenerated.
4526 * testsuite/Makefile.in: Regenerated.
4528 * docs/html/install.html: Update contact information.
4529 * docs/html/17_intro/howto.html: Ditto.
4530 * docs/html/18_support/howto.html: Ditto.
4531 * docs/html/20_util/howto.html: Ditto.
4532 * docs/html/21_strings/howto.html: Ditto.
4533 * docs/html/22_locale/howto.html: Ditto.
4534 * docs/html/23_containers/howto.html: Ditto.
4535 * docs/html/24_iterators/howto.html: Ditto.
4536 * docs/html/25_algorithms/howto.html: Ditto.
4537 * docs/html/26_numerics/howto.html: Ditto.
4538 * docs/html/27_io/howto.html: Ditto.
4539 * docs/html/faq/index.html: Ditto, plus info on new checking code.
4540 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
4541 * docs/html/faq/index.txt: Regenerated.
4543 2001-04-02 Zack Weinberg <zackw@stanford.edu>
4545 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
4546 messages with $which_library as well as $tool_flags and
4547 ${dg-extra-tool-flags}. Factor out annotation text into
4550 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
4552 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
4553 * include/c_std/bits/std_cwchar.h: Same.
4554 * testsuite/21_strings/c_strings.cc: Add.
4556 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
4558 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
4560 2001-04-01 Zack Weinberg <zackw@stanford.edu>
4562 * tests_flags.in: Use test a = b, not test a == b which is not
4565 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
4567 * configure.target: Remove duplicate aix entry.
4569 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
4571 * include/ext/stl_bvector.h: Move to...
4572 * include/bits/stl_vector.h: ...here.
4573 * include/ext/bvector: Move to...
4574 * include/backward/bvector.h: ...here.
4575 * include/bits/std_vector.h: Change stl_bvector include.
4576 * include/bits/std_queue.h: Remove bvector include.
4577 * include/ext/tree: Insert using rb_tree, move to...
4578 * include/backward/tree.h: ...here.
4579 * include/backward/hash_map.h: Include ext/hash_map.
4580 * include/backward/hash_set.h: Include ext/hash_set.
4581 * include/backward/queue.h: New file.
4582 * include/backward/stack.h: Edit.
4583 * include/backward/algo.h: Same.
4584 * include/backward/algobase.h: Same.
4585 * include/backward/alloc.h: Same.
4586 * include/backward/function.h: Same.
4587 * include/backward/iomanip.h: Same.
4588 * include/backward/istream.h: Same.
4589 * include/backward/iterator.h: Same.
4590 * include/backward/list.h: Same.
4591 * include/backward/map.h: Same.
4592 * include/backward/multimap.h: Same.
4593 * include/backward/multiset.h: Same.
4594 * include/backward/ostream.h: Same.
4595 * include/backward/pair.h: Same
4596 * include/backward/rope.h: Same.
4597 * include/backward/set.h: Same.
4598 * include/backward/stream.h: Same.
4599 * include/backward/strstream.h: Same.
4600 * include/backward/tempbuf.h: Same.
4601 * src/Makefile.am (ext_headers): Edit.
4602 * src/Makefile.in: Regenerate.
4603 * testsuite/ext/headers.cc (main): Fix.
4606 2001-03-30 Phil Edwards <pme@sources.redhat.com>
4608 * tests_flags.in (LIBS): Pass correct path for installed testing.
4610 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
4612 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
4613 * tests_flags.in (CXX): Construct here.
4614 (static_fail): Don't remove compile.out. Format with spaces.
4615 (INCLUDES): Deal with xcompiling.
4616 * configure.in (xcompiling): Substitute.
4617 * testsuite/Makefile.am: Snake libjava configury.
4618 * testsuite/Makefile.in: Regenerate.
4619 * testsuite/23_containers/map_operators.cc: Tweaks.
4620 * testsuite/23_containers/set_operators.cc: Tweaks.
4622 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4624 Enable dejagnu testing framework.
4625 * configure.in: Generate testsuite/Makefile.
4626 * configure: Regenerate.
4627 * Makefile.am (check-install): Change rule from this...
4628 (check-script-install): ...to this.
4629 (check): Change rule from this...
4630 (check-script):...to this.
4631 * Makefile.in: Regenerate.
4633 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
4635 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
4637 (LIBTOOL): Let automake take care of its definition.
4638 * libsupc++/Makefile.in: Rebuilt.
4640 2001-03-28 Richard Henderson <rth@redhat.com>
4642 IA-64 ABI Exception Handling:
4643 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
4644 * configure.in: Use it.
4645 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
4646 * libsupc++/Makefile.am (sources): Update files list.
4647 * libsupc++/Makefile.in: Regenerate.
4648 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
4649 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
4650 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
4651 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
4652 * libsupc++/exception_support.cc: Remove.
4653 * libsupc++/exception_support.h: Remove.
4654 * libsupc++/pure.cc: Use std::terminate.
4655 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
4656 (__is_pointer): Remove.
4657 * libsupc++/unwind-cxx.h: New file.
4658 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
4660 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
4662 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
4664 * src/Makefile.am (CXXLINK): Likewise.
4665 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
4667 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
4669 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
4671 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4673 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
4676 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
4678 * include/bits/basic_file.h (get_fileno): Remove.
4679 (_M_fileno): Remove.
4680 (_M_cfile_created): Add.
4681 (basic_file::basic_file(__c_file_type*, openmode): Add.
4682 (basic_file::basic_file(int, const char*, openmode): Remove.
4683 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
4684 const char*, ios_base::openmode): Don't allocate
4685 internal buffers. Turn off internal buffers.
4686 (basic_filebuf::overflow): Remove test for null buffer.
4687 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
4688 * include/bits/streambuf.cc: Tweak.
4689 * include/bits/std_ostream.h: Tweak.
4690 * config/basic_file_libio.h: Same.
4691 * config/basic_file_stdio.h: Same.
4692 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
4693 * testsuite/27_io/filebuf_members.cc: Tweaks.
4694 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
4696 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4698 * Makefile.am: New targets, doxygen and doxygen-maint.
4699 * Makefile.in: Regenerated.
4700 * docs/doxygen/run_doxygen: Finally implemented.
4701 * docs/doxygen/maint.cfg.in: New file.
4702 * docs/doxygen/user.cfg.in: New file.
4704 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4706 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
4707 * src/Makefile.am: Replace leading spaces with tabs on continuation
4709 * aclocal.m4: Regenerated.
4711 * Makefile.in: Ditto.
4712 * src/Makefile.in: Ditto.
4713 * libio/Makefile.in: Ditto.
4714 * libmath/Makefile.in: Ditto.
4715 * libsupc++/Makefile.in: Ditto.
4717 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4719 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
4720 concept-checking code and current status of same.
4721 * docs/html/ext/howto.html: Ditto.
4722 * docs/html/faq/index.html: Ditto.
4723 * docs/html/faq/index.txt: Regenerated.
4725 2001-03-24 Phil Edwards <pme@sources.redhat.com>
4727 * include/bits/std_bitset.h: Include ostream and istream headers
4728 instead of iostream.
4730 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
4732 * include/bits/ostream.tcc: Use __builtin_alloca.
4734 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
4736 * src/misc-inst.cc (__sink_unused_warning): Move to...
4737 * src/locale-inst.cc (__sink_unused_warning): Move to...
4738 * src/stl-inst.cc: Here.
4739 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
4742 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
4744 * intclude/bits/basic_file.h: Fix typos in comments.
4746 2001-03-20 Richard Henderson <rth@redhat.com>
4748 * src/gen-num-limits.cc: Instantiate for wchar_t.
4749 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
4751 2001-03-20 Jason Merrill <jason@redhat.com>
4753 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
4754 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
4755 * libsupc++/cxxabi.h: Declare it.
4757 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
4759 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
4760 signal_func with an unspecified argument list.
4762 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
4764 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
4766 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4768 * include/bits/basic_string.tcc (operator+): Fix thinko.
4770 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
4773 * include/bits/std_streambuf.h: Remove cached locale facets.
4774 (basic_streambuf::_M_buf_fctype): Remove.
4775 (basic_streambuf::~basic_streambuf): Remove here.
4776 (basic_streambuf::basic_streambuf): Same.
4777 (basic_streambuf::imbue): Same.
4778 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
4779 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
4780 (basic_filebuf::~basic_filebuf()): Remove here.
4781 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
4782 (basic_filebuf::imbue): Same.
4783 * include/bits/localefwd.h (_Count_ones): Remove.
4784 (locale::_S_num_categories): Just use 6, since this doesn't
4785 actually change, ever.
4786 * include/bits/locale_facets.tcc (has_facet): Simplify.
4788 * testsuite/27_io/filebuf.cc (test06): Add tests.
4790 2001-03-13 Steve Ellcey <sje@cup.hp.com>
4792 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
4793 match HP-UX ctype.h header file.
4795 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
4797 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
4798 duplicate definitions of __dj_ctype_*
4800 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
4802 * libsupc++/new: Remove pragma interface.
4803 * libsupc++/typeinfo: Same.
4804 * libsupc++/exception: Same.
4805 * libsupc++/new_handler.cc: Remove pragma implementation.
4806 (bad_alloc::~bad_alloc()): Add.
4807 * libsupc++/exception_support.cc: Same.
4808 (exception::~exception): Add.
4809 (bad_exception::~bad_exception): Add.
4810 * libsupc++/tinfo.cc: Same.
4811 (bad_cast::~bad_cast): Add.
4812 (bad_typeid::~bad_typeid): Add.
4814 2001-03-13 Phil Edwards <pme@sources.redhat.com>
4816 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
4818 2001-03-12 Felix Lee <flee@redhat.com>
4820 * mkcheck.in: workaround for bash 2.01 IFS bug.
4822 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
4824 Fixups for -fno-for-scope
4825 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
4826 * src/valarray-inst.cc (__gslice_to_index): Same.
4828 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
4830 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
4831 prior to trapping signal (UnixWare 7 workaround).
4833 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
4835 * include/backward/hashtable.h: Same.
4836 * include/backward/rope.h: Fix include.
4838 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
4840 * include/backward/vector.h: Include std_vector.h.
4842 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
4843 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4846 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4848 * include/ext/stl_hashtable.h: Change type of __n to size_t
4849 * include/backward/bvector.h: Include <ext/stl_bvector.h>
4851 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4853 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
4854 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
4855 Use streamsize, not int_type.
4857 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
4859 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
4862 2001-03-08 Andreas Schwab <schwab@suse.de>
4864 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
4866 * aclocal.m4, configure: Regenerated.
4868 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
4870 * include/bits/std_iosfwd.h: Remove string forward decls here.
4871 * include/bits/stringfwd.h: Add forward decls for char_traits
4873 * config/c_io_libio.h (wstreamoff): Delete.
4874 * config/c_io_stdio.h (wstreamoff): Same.
4875 * include/bits/char_traits.h: Use streamoff not wstreamoff for
4876 char_traits<wchar_t>::off_type.
4877 Remove duplicate typedefs.
4878 * include/bits/fpos.h: Define streampos/wstreampos here.
4879 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
4882 Changeup output files.
4883 * testsuite/27_io/istream_unformatted.cc: Change output files.
4884 * testsuite/27_io/istream_seeks-1.txt: Add.
4885 * testsuite/27_io/istream_seeks-2.tst: Add.
4886 * testsuite/27_io/istream_seeks-1.tst: Add.
4887 * testsuite/27_io/istream_unformatted-2.tst: Delete.
4888 * testsuite/27_io/istream_unformatted-3.tst: Delete.
4889 * testsuite/27_io/istream_unformatted-3.txt: Delete.
4891 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
4893 Add Irix 5.2, 6.3 support.
4894 * config/os/irix/bits: Renamed to...
4895 * config/os/irix/irix6.5/bits: this.
4896 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
4897 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
4898 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
4899 * config/os/irix/irix5.2/bits/ctype_noninline.h
4900 (ctype<char>::ctype): Initialize _M_table with __ctype.
4901 * configure.target: Adjust.
4903 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
4906 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
4907 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
4909 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
4910 (*__pf)(__ios_type&)): Same.
4911 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
4912 (*__pf)(ios_base&))): Same.
4913 * testsuite/27_io/istream_extractor_other.cc: Add tests.
4914 * testsuite/27_io/istream_manip.cc (test01): Fix.
4916 2001-03-06 Nathan Myers <ncm@cantrip.org>
4917 Benjamin Kosnik <bkoz@redhat.com>
4919 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
4920 * testsuite/17_intro/header_cerrno.cc (test01): New file.
4921 * testsuite/17_intro/header_cassert.cc (test01): New file.
4922 * testsuite/17_intro/header_cstddef.cc (test01): New file.
4923 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
4924 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
4926 2001-03-05 scott snyder <snyder@fnal.gov>
4929 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
4931 * include/c_std/bits/std_cstdlib.h: ... to here.
4932 * testsuite/17_intro/header_cstdlib.cc: Add test.
4934 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
4936 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
4938 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
4940 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
4941 definition. Replace enum with static const variables.
4943 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
4944 throw specification, fix typos, use <static_cast>.
4945 (ctype<char>::scan_is): remove throw specification.
4946 (ctype<char>::scan_not): likewise.
4948 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
4949 (ctype<char>::do_toupper(char)): use <static_cast>.
4950 (ctype<char>::do_toupper(char *, const char *)): likewise.
4951 (ctype<char>::do_tolower(char)): likewise.
4952 (ctype<char>::do_tolower(char *, const char *)): likewise.
4954 2001-03-04 Phil Edwards <pme@sources.redhat.com>
4956 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
4957 * include/backward/algo.h: Use std not __STD. Remove unneeded
4958 macros and "never happens" code. Adjust to C++STYLE guidelines.
4959 * include/backward/algobase.h: Likewise.
4960 * include/backward/alloc.h: Likewise.
4961 * include/backward/bvector.h: Likewise.
4962 * include/backward/deque.h: Likewise.
4963 * include/backward/function.h: Likewise.
4964 * include/backward/hash_map.h: Likewise.
4965 * include/backward/hash_set.h: Likewise.
4966 * include/backward/hashtable.h: Likewise.
4967 * include/backward/heap.h: Likewise.
4968 * include/backward/iterator.h: Likewise.
4969 * include/backward/list.h: Likewise.
4970 * include/backward/map.h: Likewise.
4971 * include/backward/multimap.h: Likewise.
4972 * include/backward/multiset.h: Likewise.
4973 * include/backward/pair.h: Likewise.
4974 * include/backward/rope.h: Likewise.
4975 * include/backward/set.h: Likewise.
4976 * include/backward/slist.h: Likewise.
4977 * include/backward/stack.h: Likewise.
4978 * include/backward/strstream: Likewise.
4979 * include/backward/tempbuf.h: Likewise.
4980 * include/backward/tree.h: Likewise.
4981 * include/backward/vector.h: Likewise.
4982 * include/bits/basic_ios.h: Likewise.
4983 * include/bits/basic_ios.tcc: Likewise.
4984 * include/bits/basic_string.h: Likewise.
4985 * include/bits/c++config: Likewise.
4986 * include/bits/concept_checks.h: Likewise.
4987 * include/bits/fpos.h: Likewise.
4988 * include/bits/fstream.tcc: Likewise.
4989 * include/bits/functexcept.h: Likewise.
4990 * include/bits/ios_base.h: Likewise.
4991 * include/bits/istream.tcc: Likewise.
4992 * include/bits/mask_array.h: Likewise.
4993 * include/bits/ostream.tcc: Likewise.
4994 * include/bits/pthread_allocimpl.h: Likewise.
4995 * include/bits/sbuf_iter.h: Likewise.
4996 * include/bits/slice.h: Likewise.
4997 * include/bits/slice_array.h: Likewise.
4998 * include/bits/sstream.tcc: Likewise.
4999 * include/bits/std_bitset.h: Likewise.
5000 * include/bits/std_fstream.h: Likewise.
5001 * include/bits/std_iomanip.h: Likewise.
5002 * include/bits/std_ios.h: Likewise.
5003 * include/bits/std_istream.h: Likewise.
5004 * include/bits/std_iterator.h: Likewise.
5005 * include/bits/std_memory.h: Likewise.
5006 * include/bits/std_ostream.h: Likewise.
5007 * include/bits/std_sstream.h: Likewise.
5008 * include/bits/std_streambuf.h: Likewise.
5009 * include/bits/std_string.h: Likewise.
5010 * include/bits/std_valarray.h: Likewise.
5011 * include/bits/stl_algo.h: Likewise.
5012 * include/bits/stl_algobase.h: Likewise.
5013 * include/bits/stl_alloc.h: Likewise.
5014 * include/bits/stl_construct.h: Likewise.
5015 * include/bits/stl_deque.h: Likewise.
5016 * include/bits/stl_function.h: Likewise.
5017 * include/bits/stl_heap.h: Likewise.
5018 * include/bits/stl_iterator.h: Likewise.
5019 * include/bits/stl_iterator_base.h: Likewise.
5020 * include/bits/stl_list.h: Likewise.
5021 * include/bits/stl_map.h: Likewise.
5022 * include/bits/stl_multimap.h: Likewise.
5023 * include/bits/stl_multiset.h: Likewise.
5024 * include/bits/stl_numeric.h: Likewise.
5025 * include/bits/stl_pair.h: Likewise.
5026 * include/bits/stl_pthread_alloc.h: Likewise.
5027 * include/bits/stl_queue.h: Likewise.
5028 * include/bits/stl_raw_storage_iter.h: Likewise.
5029 * include/bits/stl_relops.h: Likewise.
5030 * include/bits/stl_set.h: Likewise.
5031 * include/bits/stl_stack.h: Likewise.
5032 * include/bits/stl_tempbuf.h: Likewise.
5033 * include/bits/stl_threads.h: Likewise.
5034 * include/bits/stl_tree.h: Likewise.
5035 * include/bits/stl_uninitialized.h: Likewise.
5036 * include/bits/stl_vector.h: Likewise.
5037 * include/bits/streambuf.tcc: Likewise.
5038 * include/bits/type_traits.h: Likewise.
5039 * include/bits/valarray_meta.h: Likewise.
5040 * include/ext/bvector: Likewise.
5041 * include/ext/hash_map: Likewise.
5042 * include/ext/hash_set: Likewise.
5043 * include/ext/ropeimpl.h: Likewise.
5044 * include/ext/slist: Likewise.
5045 * include/ext/stl_bvector.h: Likewise.
5046 * include/ext/stl_hash_fun.h: Likewise.
5047 * include/ext/stl_hashtable.h: Likewise.
5048 * include/ext/stl_rope.h: Likewise.
5049 * src/complex_io.cc: Likewise.
5050 * src/ios.cc: Likewise.
5051 * src/locale-inst.cc: Likewise.
5052 * src/locale.cc: Likewise.
5053 * src/localename.cc: Likewise.
5054 * src/misc-inst.cc: Likewise.
5055 * src/stdexcept.cc: Likewise.
5056 * src/stl-inst.cc: Likewise.
5057 * src/strstream.cc: Likewise.
5058 * src/valarray-inst.cc: Likewise.
5060 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
5062 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
5064 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5066 * include/bits/istream.tcc: change type of __extracted to __size_type
5068 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
5070 * src/wstring-inst.cc: New file.
5071 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
5072 (libinst_wstring_la_SOURCES): Remove.
5073 (libstdc___la_LIBADD): Remove libinst_wstring_la.
5074 (sources): Add wstring-inst.cc
5075 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
5078 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5080 * src/locale.cc: initialise __ret with zero
5081 * src/strstream.cc:cast gptr to int_type
5083 2001-03-01 Phil Edwards <pme@sources.redhat.com>
5085 * docs/html/faq/index.html: Update broken links.
5086 * docs/html/faq/index.txt: Regenerated.
5088 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
5091 * configure.target: Change irix* to irix6.5* in target_os table.
5093 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
5096 * include/bits/c++config (__GLIBCPP__): Bump number in
5097 anticipation of 2.92.
5099 * include/bits/codecvt.h: Fix typo.
5100 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
5102 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
5103 instantiations for stdio model.
5105 2001-02-28 Phil Edwards <pme@sources.redhat.com>
5107 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
5108 and GLIBCPP_CXXFLAGS as unused variables.
5109 * configure.host: Likewise.
5110 * configure.target: Likewise.
5111 * aclocal.m4: Regenerated.
5112 * configure: Regenerated.
5113 * Makefile.in: Regenerated.
5114 * libio/Makefile.in: Regenerated.
5115 * libmath/Makefile.in: Regenerated.
5116 * libsupc++/Makefile.in: Regenerated.
5117 * src/Makefile.in: Regenerated.
5119 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5122 * include/bits/basic_file.h: Include basic_file_model.h.
5123 * config/c_io_libio.cc: Move to...
5124 * config/basic_file_libio.cc: Here.
5125 * config/basic_file_libio.h: New file.
5126 * config/c_io_stdio.cc: Move to...
5127 * config/basic_file_stdio.cc: Here.
5128 * config/basic_file_stdio.h: New file.
5129 * config/c_io_libio.h: Tweak.
5130 * config/c_io_stdio.h: Tweak.
5131 * src/Makefile.am (build_headers): Add basic_file_model.h.
5132 (sources): Add basic_file.cc, remove c++io.cc.
5133 * src/Makefile.in: Regenerate.
5134 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
5135 basic_file_model.h and basic_file.cc.
5136 * aclocal.m4: Regenerate.
5137 * configure: Regenerate.
5138 * testsuite/27_io/filebuf.cc (test05): Add regression.
5140 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5143 * config/cpu/alpha/bits/atomicity.h: Change.
5144 * config/cpu/arm/bits/atomicit3y.h
5145 * config/cpu/generic/bits/atomicity.h
5146 * config/cpu/i386/bits/atomicity.h
5147 * config/cpu/i486/bits/atomicity.h
5148 * config/cpu/ia64/bits/atomicity.h
5149 * config/cpu/powerpc/bits/atomicity.h
5150 * config/cpu/sparc/sparc32/bits/atomicity.h
5151 * config/cpu/sparc/sparc64/bits/atomicity.h
5152 * config/os/aix/bits/atomicity.h
5153 * config/os/irix/bits/atomicity.h
5155 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5157 * include/bits/std_stdexcept.h (runtime_error): Make string
5159 (logic_error): Same.
5160 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
5163 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
5167 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
5168 string object, not reference.
5169 (runtime_error::runtime_error): Same.
5170 * testsuite/19_diagnostics/stdexceptions.cc: New file.
5172 2001-02-26 Phil Edwards <pme@sources.redhat.com>
5174 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
5175 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
5176 diagnostics. Remove WFMT_FLAGS.
5177 * configure.in: Replace WFMT_FLAGS with diagnostics options.
5178 * libsupc++/Makefile.am: Likewise.
5179 * src/Makefile.am: Likewise.
5180 * aclocal.m4: Regenerated.
5181 * configure: Regenerated.
5182 * Makefile.in: Regenerated.
5183 * libio/Makefile.in: Regenerated.
5184 * libmath/Makefile.in: Regenerated.
5185 * libsupc++/Makefile.in: Regenerated.
5186 * src/Makefile.in: Regenerated.
5188 2001-02-26 Phil Edwards <pme@sources.redhat.com>
5190 Fixes libstdc++/2079
5191 * include/backward/iomanip.h: Expose <ios> manipulators to global
5193 * include/backward/iostream.h: Also expose std::ws.
5195 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
5197 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
5199 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
5201 * include/bits/codecvt.h: Use __builtin_alloca.
5202 * include/bits/ostream.tcc: Same.
5203 * include/bits/fstream.tcc: Same.
5205 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
5207 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
5209 2001-02-23 David Edelsohn <dje@watson.ibm.com>
5211 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
5213 2001-02-23 Phil Edwards <pme@sources.redhat.com>
5216 * include/backward/iostream.h: Expose std::flush in old headers.
5218 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5220 * mknumeric_limits: Remove special-casing on target. Use gcc
5221 instead of g++ to build gen-num-limits.cc
5223 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
5225 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
5227 * include/bits/codecvt.h: Use alloca instead of __extension__ for
5229 * include/bits/ostream.tcc: Same.
5230 * include/bits/std_ostream.h: Same.
5231 * include/bits/fstream.tcc: Same.
5232 * include/bits/locale_facets.tcc: Add typename.
5233 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
5235 2001-02-21 Phil Edwards <pme@sources.redhat.com>
5237 * tests_flags.in: Remove -n flag from call to echo.
5239 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
5241 * config/c_locale_gnu.h: Add clocale include.
5243 2001-02-20 Phil Edwards <pme@sources.redhat.com>
5245 * include/bits/stl_config.h: Remove file.
5246 * src/Makefile.am (base_headers): Remove from list.
5247 * configure: Regenerate.
5248 * Makefile.in: Ditto.
5249 * libio/Makefile.in: Ditto.
5250 * libmath/Makefile.in: Ditto.
5251 * libsupc++/Makefile.in: Ditto.
5252 * src/Makefile.in: Ditto.
5254 * include/bits/c++config: Move relevant macros to here.
5255 * include/backward/alloc.h: Include c++config.h instead.
5256 * include/backward/function.h: Ditto.
5257 * include/backward/heap.h: Ditto.
5258 * include/backward/pair.h: Ditto.
5259 * include/bits/pthread_allocimpl.h: Ditto.
5260 * include/bits/std_functional.h: Ditto.
5261 * include/bits/std_iterator.h: Ditto.
5262 * include/bits/std_numeric.h: Ditto.
5263 * include/bits/std_utility.h: Ditto.
5264 * include/bits/stl_algobase.h: Ditto.
5265 * include/bits/type_traits.h: Ditto.
5266 * src/stl-inst.cc: Ditto.
5268 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5270 * include/bits/basic_file.h: Add #pragma system_header
5271 * include/bits/basic_ios.h: Ditto.
5272 * include/bits/basic_string.h: Ditto.
5273 * include/bits/char_traits.h: Ditto.
5274 * include/bits/codecvt.h: Ditto.
5275 * include/bits/cpp_type_traits.h: Ditto.
5276 * include/bits/fpos.h: Ditto.
5277 * include/bits/gslice.h: Ditto.
5278 * include/bits/gslice_array.h: Ditto.
5279 * include/bits/indirect_array.h: Ditto.
5280 * include/bits/ios_base.h: Ditto.
5281 * include/bits/limits_generic.h: Ditto.
5282 * include/bits/locale_facets.h: Ditto.
5283 * include/bits/localefwd.h: Ditto.
5284 * include/bits/mask_array.h: Ditto.
5285 * include/bits/sbuf_iter.h: Ditto.
5286 * include/bits/sequence_concepts.h: Ditto.
5287 * include/bits/slice.h: Ditto.
5288 * include/bits/slice_array.h: Ditto.
5289 * include/bits/std_algorithm.h: Likewise.
5290 * include/bits/std_bitset.h: Likewise.
5291 * include/bits/std_complex.h: Likewise.
5292 * include/bits/std_deque.h: Likewise.
5293 * include/bits/std_fstream.h: Likewise.
5294 * include/bits/std_functional.h: Likewise.
5295 * include/bits/std_iomanip.h: Likewise.
5296 * include/bits/std_ios.h: Likewise.
5297 * include/bits/std_iosfwd.h: Likewise.
5298 * include/bits/std_iostream.h: Likewise.
5299 * include/bits/std_istream.h: Likewise.
5300 * include/bits/std_iterator.h: Likewise.
5301 * include/bits/std_list.h: Likewise.
5302 * include/bits/std_locale.h: Likewise.
5303 * include/bits/std_map.h: Likewise.
5304 * include/bits/std_memory.h: Likewise.
5305 * include/bits/std_numeric.h: Likewise.
5306 * include/bits/std_ostream.h: Likewise.
5307 * include/bits/std_queue.h: Likewise.
5308 * include/bits/std_set.h: Likewise.
5309 * include/bits/std_sstream.h: Likewise.
5310 * include/bits/std_stack.h: Likewise.
5311 * include/bits/std_stdexcept.h: Likewise.
5312 * include/bits/std_streambuf.h: Likewise.
5313 * include/bits/std_string.h: Likewise.
5314 * include/bits/std_utility.h: Likewise.
5315 * include/bits/std_valarray.h: Likewise.
5316 * include/bits/std_vector.h: Likewise.
5317 * include/bits/stringfwd.h: Likewise.
5318 * include/bits/type_traits.h: Likewise.
5319 * include/bits/valarray_array.h: Likewise.
5320 * include/bits/valarray_meta.h: Likewise.
5322 2001-02-19 Andreas Jaeger <aj@suse.de>
5324 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
5327 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
5330 * include/bits/std_ostream.h: Replaced usage of
5331 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
5332 * include/bits/char_traits.h: Removed non-standard
5333 methods that cannot be used elsewhere.
5336 * include/bits/basic_ios.h: Uncommented #include of
5340 * include/bits/codecvt.h: See next...
5341 * include/bits/fstream.tcc: See next...
5342 * include/bits/ostream.tcc: Add __extension__
5343 to variable-length arrays.
5346 * include/bits/localefwd.h: Changed int counter type to size_t.
5349 * include/bits/std_fstream.h: Added typedef for __ctype_type.
5351 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
5353 * testsuite/21_strings/char_traits.cc: Move to ...
5354 * testsuite/21_strings/char_traits_requirements.cc: ..here.
5355 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
5356 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
5358 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
5360 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
5363 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5365 * include/bits/c++config: Revert.
5367 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5369 * include/bits/istream.tcc: Use ios_base::iostate in place of
5370 iostate throughout. Insert `typename' keyword where necessary.
5371 * include/bits/ostream.tcc: Insert `typename' keyword where
5374 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
5376 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
5377 Define so library is compliant.
5379 2001-02-15 Anthony Green <green@redhat.com>
5381 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
5383 * aclocal.m4: Regenerate.
5384 * configure: Regenerate.
5386 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
5388 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
5389 Include ieeefp.h for fpclass on UnixWare{2,7}.
5390 * aclocal.m4: Regenerate.
5391 * configure: Regenerate.
5392 * mkcheck.in (size_command): Do without GNU-grep when using
5395 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5397 Remove old ABI support from libsupc++.
5398 * libsupc++/cxxabi.h: Remove conditionally compiled code.
5399 * libsupc++/exception_support.cc: Likewise.
5400 * libsupc++/pure.cc: Likewise.
5401 * libsupc++/tinfo.cc: Likewise.
5402 * libsupc++/tinfo.h: Likewise.
5403 * libsupc++/tinfo2.cc: Likewise.
5404 * libsupc++/typeinfo: Likewise.
5405 * libsupc++/vec.cc: Likewise.
5407 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5409 Add support for -fno-exceptions.
5410 * include/bits/exception_support.h: Remove.
5411 * include/bits/basic_string.h: Remove exception_support.
5412 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
5414 (string::substr): Same.
5415 * include/bits/basic_string.tcc (string::reserve): Replace
5416 __LENGTHERROR with __throw_length_error.
5417 (string::_S_create): Same.
5418 (string::resize): Same.
5419 (string::_M_replace): Same.
5420 (string::replace): Same.
5421 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
5422 (string::compare): Same.
5423 * include/bits/stl_vector.h: Remove exception_support.
5424 * src/Makefile.am (base_headers): Remove here.
5425 * src/Makefile.in: Regenerate.
5427 * include/bits/stl_range_errors.h: Remove.
5428 * include/bits/stl_deque.h: Use __throw_range_error.
5429 * include/bits/std_deque.h: Include functexcept.h.
5430 * include/bits/std_vector.h: Same.
5431 * src/Makefile.am (base_headers): Remove here.
5432 * src/Makefile.in: Regenerate.
5433 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
5434 * include/ext/bvector: Remove stl_range_errors.h
5436 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
5438 * include/bits/functexcept.h: New file.
5439 * src/functexcept.cc: New file. Definitions for function-based
5441 * src/Makefile.am (sources): Add functexcept.cc.
5442 * src/Makefile.in: Regenerate.
5444 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
5447 * include/bits/localefwd.h: Include functexcept.h.
5448 * include/bits/std_iosfwd.h: Same.
5450 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
5451 throw basic_ios::failure.
5452 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
5453 Use __throw_exception_again.
5454 (filebuf::_M_filebuf_init): Same.
5455 * include/bits/streambuf.tcc (__copy_streambufs): Same.
5456 * include/bits/ostream.tcc (ostream::operator<<): Same.
5457 * include/bits/istream.tcc (istream::operator>>): Same.
5458 * include/bits/basic_string.tcc (string::_M_mutate): Same.
5459 (string::_S_construct): Same.
5460 (string::_M_clone): Same.
5461 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
5463 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
5464 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
5465 __throw_exception_again.
5466 (locale::_Imp::_Imp(string, size_t): Same.
5467 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
5468 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
5469 (locale::locale(const char*)): Use __throw_runtime_error.
5470 (locale::classic): Use __throw_exception_again.
5471 (locale::_S_normalize_category): Use __throw_runtime_error.
5473 * src/stdexcept.cc: Remove cruft.
5475 * libsupc++/exception_defines.h: New file.
5476 * libsupc++/new_opnt.cc: Include exception_defines.h.
5477 * libsupc++/vec.cc: Same.
5478 (__cxa_vec_new2): Use __throw_exception_again.
5479 (__cxa_vec_new3): Same.
5480 (__cxa_vec_ctor): Same.
5481 (__cxa_vec_delete3): Same.
5482 (__cxa_vec_cctor): Same.
5483 (__cxa_vec_delete2): Same.
5484 (__cxa_vec_dtor): Same.
5485 * libsupc++/exception_support.cc: Include exception_defines.h. Only
5486 compile exception-handling bits if __EXCEPTIONS is defined.
5487 Remove old ABI support.
5488 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
5489 std::__throw_bad_alloc() instead of throw bad_alloc.
5490 * libsupc++/Makefile.am: Add exception_defines.h.
5491 * libsupc++/Makefile.in: Reformat.
5492 * libsupc++/*: Format.
5494 2001-02-15 Phil Edwards <pme@sources.redhat.com>
5496 * docs/html/configopts.html: Minor updates and typo fixes.
5497 * docs/html/faq/index.html: Updates of the "not really bugs" list.
5498 * docs/html/faq/index.txt: Regenerated.
5500 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
5502 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
5503 dejagnu/dg.exp. Adapt to log options used to run testcases.
5505 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5507 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
5510 2001-02-13 Dirk Mueller <dmuell@gmx.net>
5511 Phil Edwards <pme@sources.redhat.com>
5513 * include/backward/function.h: Do not use rel_ops for older
5515 * include/backward/pair.h: Likewise.
5517 2001-02-12 Mark Mitchell <mark@codesourcery.com>
5519 * src/locale.cc: Remove bogus locale::id definitions.
5521 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5523 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
5524 not _DEFINE_VALARRAY_OPERATOR which is not existent.
5526 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
5527 thinko in member initialisation.
5529 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5531 * include/bits/std_valarray.h(valarray<>::shift): Avoid
5532 comparaison between signed and unsigned integer types.
5533 (valarray<>::cshift): Reformat.
5535 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
5537 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
5538 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
5539 * configure.in: Test for sigsetjmp.
5540 * configure, config.h.in: Rebuilt.
5542 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5544 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
5545 lengths and strides.
5546 (__gslice_to_index): Document.
5548 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5550 * include/bits/char_traits.h char_traits<char>::int_type: Change
5551 to `int' to match 21.1.3.1/2.
5553 * testsuite/21_strings/char_traits-int_type.C: New test.
5555 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
5557 * testsuite/Makefile.am: New file.
5559 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
5561 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
5563 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
5565 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
5567 2001-02-08 David Edelsohn <edelsohn@gnu.org>
5569 * configure.target (aix4*): Remove extra set of brackets.
5571 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
5574 * include/bits/stringfwd.h: New file.
5575 * include/bits/stl_string_fwd.h: Remove.
5576 * include/bits/localefwd.h: Remove declaration for allocator.
5577 * include/bits/std_iosfwd: Same.
5578 * include/bits/std_string.h: Include it.
5579 * include/bits/std_ios.h: Remove include.
5580 * include/bits/basic_string.h: Tweak.
5581 * libsupc++/new: Format.
5582 * src/Makefile.am (base_headers): Add stringfwd.h, remove
5584 * src/Makefile.in: Regenerate.
5585 * include/bits/std_stdexcept.h: Rewrite.
5586 * src/stdexcept.cc: Same.
5588 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
5590 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
5591 install locations too.
5592 * aclocal.m4: Regenerate.
5593 * configure.in: Remove USE_LIBDIR.
5594 * configure: Regenerate.
5595 * src/Makefile.am (toolexecdir): Simplify, use
5596 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
5597 * src/Makefile.in: Regenerate.
5598 * libsupc++/Makefile.am: Same.
5599 * libsupc++/Makefile.in: Regenerate.
5601 * src/Makefile.am: Just remove special rules for locale-inst.cc and
5602 misc-inst.cc as no longer necessary.
5604 Follow C++STYLE for naming non-static functions.
5605 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
5607 * include/bits/streambuf.tcc: Same.
5608 * include/bits/ostream.tcc: Same.
5609 * include/bits/istream.tcc: Same.
5610 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
5611 (_S_output_float): To __output_float.
5612 * include/bits/std_streambuf.h (_S_copy_streambufs): To
5614 * include/bits/locale_facets.tcc (_S_build_float_format): To
5615 __build_float_format.
5616 (_S_format): To __output_integer.
5617 (_S_fill): To __pad.
5618 * src/locale.cc: Same.
5619 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
5621 * include/bits/locale_facets.tcc (_S_group_digits): To
5623 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
5624 for collate, numpunct.
5626 2001-02-06 Phil Edwards <pme@sources.redhat.com>
5628 * docs/html/configopts.html: Fix HTML markup.
5629 * docs/html/install.html: Bring up to date.
5630 * docs/html/17_intro/C++STYLE: Add global variable conventions.
5631 * docs/html/21_strings/howto.html: More notes.
5632 * docs/html/22_locale/howto.html: Fix HTML markup.
5633 * docs/html/27_io/howto.html: More notes.
5634 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
5635 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
5637 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
5639 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
5640 to match header files.
5641 (_S_output_float): Likewise.
5642 (_S_copy_streambufs): Likewise.
5644 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
5645 Phil Edwards <pme@sources.redhat.com>
5647 * include/bits/std_istream.h (op>> signed,unsigned char): Must
5648 use reinterpret_cast, not static_cast.
5650 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
5652 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
5653 * aclocal.m4: Regenerate.
5654 * configure: Regenerate.
5656 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5658 * include/bits/locale_facets.h (class moneypunct): Fix typos.
5659 * libsupc++/pure.cc: Revert.
5661 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5663 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
5664 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
5665 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
5666 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
5667 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
5668 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
5669 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
5670 * aclocal.m4: Regenerate.
5671 * configure: Regenerate.
5673 2001-02-05 Mark Mitchell <mark@codesourcery.com>
5675 * include/bits/locale_facets.tcc: Remove `static' keyword on
5676 function definitions.
5677 * include/bits/std_streambuf.h: Likewise.
5678 * src/Makefile.am: Remove use of -fimplicit-templates.
5679 * src/Makefile.in: Regenerated.
5680 * src/locale-inst.cc: Explicitly instantiate more functions.
5681 * src/misc-inst.cc: Likewise.
5682 * src/string-inst.cc: Likewise.
5684 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5686 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
5687 macro. Consolidate all the bits to do with where includes might be
5689 * aclocal.m4: Regenerate.
5690 * configure.in: Use it.
5691 * configure: Regenerate.
5692 * src/Makefile.am (targetincludep): Use simplified rules.
5693 (targetincludep): Rename gxx_target_include_dir.
5694 (myincludep): Rename gxx_include_dir.
5695 * src/Makefile.in: Regenerate.
5696 * libsupc++/Makefile.am: Use simplified rules.
5697 * libsupc++/Makefile.in: Regenerate.
5699 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5701 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
5702 * include/c_std/bits/std_cctype.h: Same.
5703 * include/c_std/bits/std_cassert.h: Same.
5704 * include/c_std/bits/std_cstdarg.h: Same.
5705 * include/c_std/bits/std_cstddef.h: Same.
5707 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
5709 * include/c_std/bits/std_ctime.h: Same.
5710 * include/c_std/bits/std_clocale.h: Same.
5711 * include/c_std/bits/std_cmath.h: Same.
5712 * include/c_std/bits/std_csetjmp.h: Same.
5713 * include/c_std/bits/std_csignal.h: Same.
5714 * include/c_std/bits/std_cstring.h: Same.
5715 * include/c_std/bits/std_cstdlib.h: Same.
5716 * include/c_std/bits/std_cwchar.h: Same.
5718 2001-02-05 Phil Edwards <pme@sources.redhat.com>
5720 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
5722 2001-02-05 Mark Mitchell <mark@codesourcery.com>
5724 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
5725 (string::_S_construct): Likewise.
5727 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
5729 * testsuite/config/default.exp: New file.
5730 * testsuite/config: New directory.
5732 2001-02-04 Mark Mitchell <mark@codesourcery.com>
5734 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
5735 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
5736 whenever !__GXX_MERGED_TYPEINFO_NAMES.
5737 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
5739 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
5740 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5742 * Makefile.am (mkinstalldirs): Set.
5743 * src/Makefile.am (mkinstalldirs): Set.
5744 * libmath/Makefile.am (mkinstalldirs): Set.
5745 * libsup++/Makefile.am (mkinstalldirs): Set.
5746 * libio/Makefile.am (mkinstalldirs): Set.
5747 * */Makefile.in: Regenerate.
5749 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
5751 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
5752 * include/bits/localefwd.h: More initialization cleanups.
5754 2001-02-03 Jeffrey A Law <law@cygnus.com>
5756 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
5757 correctly targets with 16bit ints.
5758 (_S_ios_openmode_end): Similarly.
5759 (_S_ios_iostate_end): Similarly.
5760 (_S_ios_Seekdir_end): Similarly.
5762 2001-02-02 Phil Edwards <pme@sources.redhat.com>
5764 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
5766 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
5768 * configure.in (toplevel_srcdir, auxdir): Set.
5769 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
5770 * aclocal.m4, configure, Makefile.in: Rebuilt.
5771 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
5772 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
5773 * libsupc++-v3/Makefile.in: Rebuilt.
5774 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
5775 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
5777 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
5779 * config/c_locale_generic.cc: Remove langinfo include.
5781 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
5783 Preliminary named locales.
5784 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
5785 * aclocal.m4: Regenerate.
5786 * configure.in: Use it.
5787 * configure: Regerate.
5788 * src/Makefile.am (sources): Add c++locale.cc.
5789 (build_headers): Add c++locale.h.
5790 * src/Makefile.in: Regenerate.
5791 * config/c_locale_gnu.h: New file.
5792 * config/c_locale_gnu.cc: New file. Non-inline member functions
5793 for named locales, gnu-specific.
5794 * config/c_locale_generic.h: New file.
5795 * config/c_locale_generic.cc: New file. Non-inline member
5796 functions for named locales, generic version.
5797 * docs/html/configopts.html: Add documentation on new options.
5799 * include/bits/locale_facets.h (class _Messages): Remove.
5800 (class _Moneypunct): Remove.
5801 * src/locale-inst.cc: Remove.
5803 * include/bits/locale_facets.h (class _Collate): Remove.
5804 * src/locale-inst.cc (std): Remove.
5805 * src/locale.cc: And here.
5807 * include/bits/localefwd.h (locale::_M_coalesce): New
5808 function. Correctly put together multi-name locales.
5809 (_Impl(const _Impl&, category, size_t)): Remove.
5811 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
5813 (_M_normalize_category_names): Remove.
5814 (_M_replace_categories): Fix.
5816 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
5817 (locale::_Impl::_M_construct_ctype): Remove.
5818 (locale::_Impl::_M_construct_monetary): Remove.
5819 (locale::_Impl::_M_construct_numeric): Remove.
5820 (locale::_Impl::_M_construct_time): Remove.
5821 (locale::_Impl::_M_construct_messages): Remove.
5823 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
5824 (_Use_facet_failure_handle): Remove.
5825 * src/locale.cc: Remove definitions.
5826 * src/locale-inst.cc: And here.
5828 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
5830 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
5831 create and error-check underlying locale object.
5832 (locale::facet::_S_destroy_c_locale): Add, take care of properly
5833 tearing down underlying locale object.
5834 * include/bits/localefwd.h (locale::facet): Declare.
5835 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
5836 correctness, as glibc apparently has incorrect info in it. Test
5837 with it when it works again.....
5839 * include/bits/localefwd.h (locale::_Impl::__vec_string):
5840 Remove. Number of categories is fixed at six, so just simplify and
5841 make this an array of strings.
5842 (locale::_Impl::_M_has_name): Remove.
5843 (locale::_Impl::_M_name): Remove.
5844 (locale::_Impl::_M_category_names): Turns into...
5845 (locale::_Impl::_M_names): ...this.
5846 (locale::_Impl::_M_has_same_name()): New function.
5847 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
5848 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
5850 * src/locale.cc (locale::name()): Construct mangled name
5851 accurately reflecting combined locale categories.
5853 * src/locale.cc (locale::classic()): Don't initialize here.
5854 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
5855 __refs, bool __has_name, string __str): Do it here.
5857 * include/bits/localefwd.h: _S_categories_num to
5858 _S_num_categories. _S_facets_num to _S_num_facets.
5859 (locale::id::id()): Explicitly set _M_index to zero.
5860 * src/locale.cc: Same.
5862 * src/locale.cc: (locale::locale(const char*)): Construct named
5865 * src/locale.cc: Remove numpunct_byname ctors.
5866 * testsuite/22_locale/numpunct_byname.cc: New file.
5867 * testsuite/22_locale/numpunct.cc: New file.
5869 * include/bits/localefwd.h (class locale): Change data members to
5870 protected, from private.
5871 (_Impl::_M_get_c_locale): Add member function.
5872 (locale::facet::_M_get_global_impl()): Add member function.
5873 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
5874 a __c_locale pointer.
5875 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
5877 * testsuite/22_locale/members.cc: New file, test name and combine.
5879 * include/bits/locale_facets.h (class numpunct): Remove class
5880 _Punct and _Numpunct. Rewrite class numpunct to be correct for
5882 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
5883 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
5884 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
5885 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
5886 * testsuite/22_locale/numpunct_char_members.cc: New file.
5888 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
5890 * testsuite/README: Add more comment.
5891 * testsuite/lib/libstdc++.exp: Tweak comment.
5893 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
5895 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
5897 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
5899 * testsuite/21_strings/inserters_extractors.cc: Remove
5900 explicit reference to 'testsuite/'.
5902 2001-01-25 Richard Henderson <rth@redhat.com>
5904 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
5905 bits. Fixes Tru64 build issues.
5907 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5909 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
5910 (use ${MAKE-make}, not ${MAKE:-make}).
5911 * aclocal.m4, configure: Regenerate.
5913 2001-01-25 Mark Mitchell <mark@codesourcery.com>
5915 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
5918 * src/Makefile.am (sources): Add globals.cc.
5919 * src/Makefile.in: Regenerated.
5920 * src/globals.cc: New file.
5921 * src/ios.cc (cin): Don't define here, just declare extern.
5930 2001-01-25 Phil Edwards <pme@sources.redhat.com>
5932 * include/bits/std_iterator.h: Do not include stl_relops.h.
5933 * include/bits/std_numeric.h: Ditto.
5934 * include/bits/stl_algobase.h: Ditto.
5935 * include/bits/stl_relops.h: Add comment warning about problems.
5937 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
5939 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
5940 in testcases. Prepare for the DejaGnu based framework.
5941 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
5942 directory -- it is now mkcheck working directory.
5943 * tests_flags.in: Remove reference to $(top_srcdir). Use
5945 * Makefile.am (check, check-install): Change mkcheck invocation
5947 * Makefile.in: Regenerate.
5949 2001-01-24 Mark Mitchell <mark@codesourcery.com>
5951 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
5952 (__always_swap): Likewise.
5954 2001-01-23 Chris Demetriou <cgd@broadcom.com>
5956 * libsupc++/exception_support.cc (__terminate_func): Remove
5958 (__terminate_func_ptr): New typedef.
5959 (__terminate, __terminate_set_func): New extern function
5961 (std::terminate): Use __terminate function.
5962 (std::set_terminate): Use __terminate_set_func function.
5964 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
5966 * configure.target: Just use os_include_dir always.
5967 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
5968 Link atomicity files and ctype files here.
5969 * configure: Regenerate.
5970 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
5971 (GLIBCPP_ENABLE_ATOMICITY): Remove.
5972 * aclocal.m4: Regenerate.
5974 2001-01-23 Chris Demetriou <cgd@broadcom.com>
5976 * configure.in: Place definition of MULTISUBDIR in
5977 libsupc++/Makefile as is done for src/Makefile.
5978 * configure: Regenerate.
5980 2001-01-23 Phil Edwards <pme@sources.redhat.com>
5982 * acinclude.m4: Cosmetic changes only.
5983 * aclocal.m4: Regenerated.
5984 * configure: Regenerated.
5985 * configure.target: Update documented list of changed variables.
5986 * docs/html/install.html: Fix typo.
5987 * docs/html/20_util/howto.html: More notes on auto_ptr.
5988 * docs/html/27_io/howto.html: More notes on streabufs.
5989 * docs/html/faq/index.html: Add rel_ops problem and mention the
5990 DEC as(1) .subsection difficulty.
5991 * docs/html/faq/index.txt: Regenerated.
5993 2001-01-23 Mark Mitchell <mark@codesourcery.com>
5995 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
5996 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
5997 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
5998 its already provided in config.target.
5999 * aclocal.m4: Regenerated.
6000 * configure: Likewise.
6001 * configure.target: Set ctype_include_dir for lots of systems.
6002 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
6003 * libsupc++/Makefile.in: Regenerated.
6005 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
6007 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
6010 * testsuite/README: Add comment.
6012 2001-01-21 Phil Edwards <pme@sources.redhat.com>
6014 * docs/html/configopts.html: Update for current status. Fix HTML.
6015 * docs/html/install.html: Update for current status.
6017 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6019 * testsuite/libstdc++.tests/tests.exp: New file.
6020 * testsuite/lib/libstdc++.exp: Itou.
6021 * testsuite/README: Itou.
6023 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
6025 * tests_flags.in: Just output the bare minimum to run tests.
6026 Let's the caller do its own arrangement.
6028 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
6031 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
6033 * testsuite/17_intro: Prepare testcases for new style DejaGnu
6036 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
6038 * testsuite/libstdc++.tests, testsuite/lib: New directories.
6040 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
6042 * mkcheck.in: Construct file names that match $objdir structure.
6043 * testsuite/27_io/filebuf_members-1.txt: New file.
6044 * testsuite/27_io/ifstream_members-1.txt: New file.
6045 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
6047 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
6048 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
6050 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6052 * testsuite/27_io/istream_sentry.cc (test02): Fix.
6054 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
6057 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
6058 * src/ios.cc (ios_base::failure): Make definitions match.
6059 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
6060 (class bad_cast): Same.
6061 * libsupc++/exception (class exception): Add throw specs.
6062 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
6063 (set_unexpected): Same.
6064 (uncaught_exception): Same.
6067 * docs/html/17_intro/C++STYLE (classname): Fix.
6069 2001-01-16 Mark Mitchell <mark@codesourcery.com>
6071 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
6072 Use it do explicitly instantiate predicate<T> and value<T> for
6075 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
6077 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
6078 uninitialized thinko in last change.
6080 2001-01-16 Mark Mitchell <mark@codesourcery.com>
6082 * libsupc++/exception_support.cc (__cp_pop_exception): Change
6085 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
6087 * docs/html/17_intro/C++STYLE (classname): Add more existing
6088 and stylish patterns.
6091 * include/bits/istream.tcc (istream::sentry::sentry()): Set
6092 failbit if the state of the stream is not good.
6093 * testsuite/27_io/istream_sentry.cc (test02): Add test.
6094 * testsuite/27_io/istream_manip.cc (test01): Modify.
6097 reported by Paolo Carlini <pcarlini@unitus.it>
6098 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
6099 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
6102 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
6103 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
6104 (xsgetn): Same. Simplify.
6105 * testsuite/27_io/streambuf.cc (test04): Add testcases.
6107 reported by Larry Evans <jcampbell3@prodigy.net>
6108 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
6109 equality with eof on returned value from overflow.
6111 2001-01-14 Andreas Jaeger <aj@suse.de>
6113 * libio/libio.h: Add test for glibc 2.0.
6115 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
6117 * config/os/djgpp/bits/*: Fix dates.
6119 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
6120 _CharT* __end, _CharT __c): Remove.
6121 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
6122 * include/bits/char_traits.h: Tweak.
6124 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
6126 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
6127 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
6129 * aclocal.m4: regenerated.
6130 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
6131 * configure: regenerated.
6132 * config/os/djgpp, config/os/djgpp/bits: new directories.
6133 * config/os/djgpp/bits/ctype_base.h,
6134 config/os/djgpp/bits/ctype_inline.h,
6135 config/os/djgpp/bits/ctype_noninline.h,
6136 config/os/djgpp/bits/os_defines.h: new files.
6138 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
6140 * include/c_std/bits/std_cstdio.h: Undef printf.
6142 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
6144 * src/ios.cc: Fix typo: change cout->wcout.
6146 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
6147 * src/Makefile.in: Regenerate.
6149 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6151 * include/bits/std_complex.h: Fix a typo.
6153 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
6156 Fixes for libstdc++/1576
6157 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
6158 file, move contents into....
6159 * src/ios.cc: ...Here. Put defines for iostreams objects and
6160 initialization routines into one file to simplify DSO interaction.
6161 * include/bits/std_iostream.h: Touch.
6162 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
6163 * src/Makefile.am (sources): Remove stdstreams.cc.
6164 * src/Makefile.in: Regenerate.
6166 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6168 * tests_flags.in (check_directory): Fix typo.
6170 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6172 * include/bits/std_complex.h: Fix a typo.
6174 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
6176 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
6177 code path:) Remove magic constants and restructure to handle
6178 ctype.h bit mask layout changes more gracefully. (Make fast
6179 code path:) Use __maskrune (), if available.
6180 (is): Remove special case for digit and xdigit masks.
6182 2001-01-09 Robert Lipe <robertlipe@usa.net>
6184 * include/c_std/bits/std_ctime.h: Undefine difftime.
6186 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
6188 * src/gen-num-limits.cc (signal_adapter): New template function.
6189 (signal_handler): Use it, instead of signal.
6190 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
6191 require both tests to trap to set trap_flag.
6193 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
6195 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
6196 initialize mbstate_t member, name offset data members *off, not pos.
6197 * include/bits/fstream.tcc (filebuf::filebuf): Same.
6199 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
6201 reported by Chris G. Demetriou <cgd@sibyte.com>
6202 * configure.in: Change -linux-* to -linux*.
6203 * configure: Regenerate.
6205 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
6207 Fix 27_io/filebuf_members.cc
6208 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
6209 const string& __name, category __cat, size_t __refs): Set
6210 _M_has_name with _M_name.
6211 * include/bits/localefwd.h (locale::operator!=): Protect member
6212 function call with this->.
6213 * src/locale.cc (locale::operator==): Make fast checks first.
6214 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
6216 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
6218 * src/ios.cc (ios_base::Init::Init): Initialize here.
6219 (ios_base::sync_with_stdio): Set here.
6221 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
6223 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
6224 systems that support it, call dup() before fdopen().
6226 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
6228 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
6229 * testsuite/17_intro/header_cwctype.cc (main): New file.
6231 * src/Makefile.am (base_headers): Change.
6232 * include/bits/std_string.h: And here.
6233 * include/bits/string.tcc: Tweaks, move to...
6234 * include/bits/basic_string.tcc: ...Here.
6235 * src/string-inst.cc: Simplify, just instantiate the whole class,
6236 not member-by-member.
6238 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
6240 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
6241 * aclocal.m4: Regenerate.
6242 * configure: Regenerate.
6244 * include/bits/c++config (__GLIBCPP__): Bump version number.
6246 * ChangeLog: Start new log for year 2001
6247 * ChangeLog-2000: New file.
6249 * docs/html/configopts.html: Make sure default values are current,
6252 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
6254 * include/c_std/bits/std_cwchar.h: Same.
6255 * testsuite/17_intro/header_cwchar.cc: Same.
6256 * include/c_std/bits/std_ctime.h: Same.
6257 * testsuite/17_intro/header_ctime.cc: Same.
6258 * include/c_std/bits/std_cstdlib.h: Same.
6259 Clean up undefs, make consistent with cwchar and cmath, etc.
6260 * testsuite/17_intro/header_cstdlib.cc: Same.
6261 * include/c_std/bits/std_cstdio.h: Same here.
6262 * testsuite/17_intro/header_cstring.cc: Same.
6263 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
6264 * testsuite/17_intro/header_cstring.cc: New file. Check for
6265 size_t in namespace std.
6267 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
6268 * acconfig.h (HAVE_MBSTATE_T): Add.
6269 * config.h.in: Regenerate.
6270 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
6272 * aclocal.m4: Regenerate.
6273 * configure: Regenerate.
6274 * testsuite/17_intro/headers_c++.cc: New file.
6275 * testsuite/17_intro/headers_c.cc: Small changes.
6277 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
6279 * tests_flags.in: Fix typo in usage.
6281 * tests_flags.in: Set target specific LIBS for cygwin.