OSDN Git Service

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