OSDN Git Service

PR 43839
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog-2001
1 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
2
3         * include/ext/iterator:  Add #include <bits/std_iterator.h>, tweak.
4         * testsuite/ext/headers.cc:  Add <ext/iterator>.
5
6 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
7
8         * include/backward/algo.h:  Add two more using declarations.
9         * include/backward/iterator.h:  Include <ext/iterator>,
10         add using declaration.
11         * include/ext/algorithm:  Add #pragma GCC system_header.
12
13 2001-12-31  Phil Edwards  <pme@gcc.gnu.org>
14
15         * include/bits/stl_bvector.h:  Change calls to 3-argument distance()
16         into standard 2-argument version.
17         * include/bits/stl_deque.h:  Likewise.
18         * include/bits/stl_tempbuf.h:  Likewise.
19         * include/bits/stl_tree.h:  Likewise.
20         * include/bits/stl_vector.h:  Likewise.
21         * include/ext/stl_hashtable.h:  Likewise.
22         * include/bits/stl_iterator_base_funcs.h:  Move distance() extension...
23         * include/ext/iterator:  to here.  New file.
24         * include/Makefile.am (ext_headers):  Add new file, alphabetize.
25         * include/Makefile.in:  Regenerate.
26
27 2001-12-31  Phil Edwards  <pme@gcc.gnu.org>
28
29         * include/bits/stl_deque.h:  Doxygenate with initial/example hooks.
30         Clean up spacing and indentation.
31
32 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
33
34         * include/ext/slist:  Move into __gnu_cxx,
35         tweak, add using declarations.
36
37 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
38
39         * include/ext/hash_map:  Move into __gnu_cxx,
40         tweak, add using declarations.
41         * include/ext/hash_set:  Ditto.
42         * include/ext/ropeimpl.h:  Ditto.
43         * include/ext/stl_hash_fun.h:  Ditto.
44         * include/ext/stl_hashtable.h:  Ditto.
45         * include/ext/stl_rope.h:  Ditto.
46         * src/ext-inst.cc: Tweak.
47         * testsuite/ext/rope.cc: Tweak.
48
49 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
50
51         * include/backward/algo.h:  Include <ext/algorithm>,
52         tweak using declarations.
53
54 2001-12-29  Richard Henderson  <rth@redhat.com>
55
56         * config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits.
57         * config/os/hpux/bits/cpu_limits.h: New file.
58         * configure.target (CPULIMITSH): Use it.
59
60 2001-12-28  Richard Henderson  <rth@redhat.com>
61
62         * config/cpu/ia64/bits/cpu_limits.h: New file.
63         * config/os/osf/osf5.0/bits/cpu_limits.h: New file.
64         * configure.target (CPULIMITSH): Use them.
65
66 2001-12-28  Phil Edwards  <pme@gcc.gnu.org>
67
68         * include/bits/c++config:  Move doxygen hook comment...
69         * docs/doxygen/doxygroups.cc:  ...to here.
70
71 2001-12-28  Phil Edwards  <pme@gcc.gnu.org>
72
73         PR libstdc++/2054
74         * include/bits/stl_algo.h (lower_bound):  Relax concept checks.
75         * testsuite/ext/concept_checks.cc:  New file.
76
77 2001-12-28  Paolo Carlini  <pcarlini@unitus.it>
78
79         * include/bits/stl_algo.h (count returning void,
80         count_if returning void, __random_sample, random_sample,
81         random_sample_n, __is_heap, is_heap, is_sorted):  Move to...
82         * include/ext/algorithm:  ...here, new file.
83         * include/Makefile.am (ext_headers):  Add new file.
84         * include/Makefile.in:  Regenerate.
85         * testsuite/ext/headers.cc:  Include <ext/algorithm>.
86
87 2001-12-28  Paolo Carlini  <pcarlini@unitus.it>
88             Nathan Myers  <ncm@cantrip.org>
89
90         * include/bits/basic_string.h (insert(__pos, __s, __n)):
91         Optimize by avoiding temporaries and working in-place when possible.
92         (insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n).
93         (insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n).
94         * testsuite/21_strings/insert.cc (test02): New testcases.
95
96 2001-12-27  Phil Edwards  <pme@gcc.gnu.org>
97
98         * testsuite/testsuite_hooks.h (gnu_counting_struct):  Add.
99         * testsuite/23_containers/deque_ctor.cc:  New file.
100
101 2001-12-27  Paolo Carlini  <pcarlini@unitus.it>
102
103         * include/bits/locale_facets.tcc (collate::do_transform):
104         Adjust implicit typename.
105         * config/locale/messages_members_generic.h (messages::open,
106         messages::do_open, messages::do_get): Adjust implicit typename.
107         * config/locale/messages_members_gnu.h (messages::open,
108         messages::do_open, messages::do_get): Adjust Implicit typename.
109         * config/locale/messages_members_ieee_1003.1-200x.h (messages::open,
110         messages::do_open, messages::do_get): Adjust implicit typename.
111
112 2001-12-27  Phil Edwards  <pme@gcc.gnu.org>
113
114         PR libstdc++/3829
115         * src/misc-inst.cc:  Many additional I/O-related instantiations.
116         * testsuite/27_io/instantiations.cc:  New file.
117
118 2001-12-26  Benjamin Kosnik  <bkoz@waller.constant.com>
119
120         * testsuite/24_iterators/insert_iterator.cc (test02): Add.
121         * testsuite/24_iterators/front_insert_iterator.cc (test02): Add.
122         * testsuite/24_iterators/back_insert_iterator.cc (test02): Add.
123         * testsuite/24_iterators/reverse_iterator.cc (test02): Add.
124
125         * include/bits/stl_iterator.h (reverse_iterator): Uglify member
126         current to _M_current.
127         (back_insert_iterator): Uglify member container to _M_container.
128         (front_insert_iterator): Same.
129         (insert_iterator): Same.
130
131 2001-12-25  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
132
133         * include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New
134         macros for signed types; default value is true.
135         (numeric_limits<>::is_modulo): Get value from corresponding
136         __glibcpp_xxx_is_modulo macro.
137
138 2001-12-23  Jeffrey A Law  <law@redhat.com>
139
140         * config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>.
141         Twiddle return types for strtoll and strtoull to avoid using
142         intmax_t and uintmax-t.
143
144 2001-12-22  Richard Henderson  <rth@redhat.com>
145
146         * configure.target (CPULIMITSH): Fix typo in alpha case.
147
148 2001-12-22  Jeffrey A Law  <law@redhat.com>
149
150         * config/os/hpux/bits/os_defines.h: Update to avoid #defines
151         for strtoll and strtoull.
152
153 2001-12-21  Jeffrey A Law  <law@redhat.com>
154
155         * config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
156         Define strtoll and strtoull.  Provide prototypes for
157         __strtoll and __strtoull.  Define _GLIBCPP_USE_LONG_LONG
158         unconditionally.
159
160         * src/locale-inst.cc: Include <bits/std_cstdlib.h>
161
162         * configure.target: Fix typo in hpux case.
163
164 2001-12-21  Paolo Carlini  <pcarlini@unitus.it>
165
166         * include/ext/stl_rope.h (_Rope_iterator):
167         Add local typedef to fix implicit typename problems.
168
169 2001-12-19  Phil Edwards  <pme@gcc.gnu.org>
170
171         * docs/doxygen/Intro.3:  New 'Allocators' module.
172         * docs/doxygen/TODO:  Update.
173         * docs/doxygen/doxygroups.cc:  Update.
174         * docs/doxygen/run_doxygen:  Update.
175
176         * include/bits/stl_alloc.h:  Tweak doxygen hooks in comments.
177         * include/bits/std_memory.h:  Doxygenate.
178         * include/bits/stl_iterator_base_types.h:  Likewise.
179         * include/bits/stl_raw_storage_iter.h:  Likewise.
180         * include/bits/stl_tempbuf.h:  Likewise.
181         (get_temporary_buffer):  Remove unused nonstandard overload.
182         * include/bits/stl_uninitialized.h:  Likewise.
183
184         * include/bits/stl_iterator_base_types.h (input_iterator,
185         output_iterator, forward_iterator, bidirectional_iterator,
186         random_access_iterator):  Move old names...
187         * include/backward/iterator.h:  ...to here.
188         * include/bits/stl_bvector.h:  Update.
189         * include/ext/stl_rope.h:  Update.
190
191 2001-12-19  Phil Edwards  <pme@gcc.gnu.org>
192
193         * docs/html/configopts.html:  Describe recent options.
194         * docs/html/documentation.html:  Point to new doxygen tarballs.
195         * docs/html/install.html:  Brief updates.
196         * docs/html/17_intro/RELEASE-NOTES:  Remove weird control character.
197         * docs/html/ext/howto.html:  Fix typos, describe filebuf::fd().
198         * docs/html/faq/index.html:  Update for 3.0.95.
199         * docs/html/faq/index.txt:  Regenerate.
200
201 2001-12-19  David Billinghurst <David.Billinghurst@riotinto.com>
202
203         libstdc++-v3/5148
204         * testsuite/lib/libstdc++-v3-dg.exp:  Append .exe to
205         executable filenames
206
207 2001-12-18  Benjamin Kosnik  <bkoz@redhat.com>
208
209         * docs/html/17_intro/TODO: Update.
210         * docs/html/17_intro/RELEASE-NOTES: Edits, update.
211         * README: Edit for clarity, update to reflect current directory
212         structure.
213
214 2001-12-18  Benjamin Kosnik  <bkoz@redhat.com>
215
216         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
217         enabling gnu model.
218         * aclocal.m4: Rebuild.
219         * configure: Rebuild.
220
221 2001-12-18  Paolo Carlini  <pcarlini@unitus.it>
222             Nathan Myers  <ncm@cantrip.org>
223
224         * include/bits/basic_string.h (assign(__str, __pos, __n)):
225         Call assign(__s, __n).
226         (assign(__s, __n)): Terminate the string with _S_terminal.
227
228 2001-12-17  Benjamin Kosnik  <bkoz@redhat.com>
229
230         * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
231         Set to true, like float and double.
232
233 2001-12-17  David Billinghurst <David.Billinghurst@riotinto.com>
234
235         libstdc++/5136
236         * testsuite/lib/prune.exp: New file
237         * testsuite/lib/libstdc++-v3-dg.exp: Use it
238
239 2001-12-17  Phil Edwards  <pme@gcc.gnu.org>
240
241         * include/bits/basic_file.h (__basic_file::fd):  New function.
242         * config/io/basic_file_stdio.h (__basic_file::fd):  Define.
243         * include/bits/std_fstream.h (basic_filebuf::fd):  New function.
244         * include/bits/fstream.tcc (basic_filebuf::fd):  Define.
245         * testsuite/27_io/filebuf_members.cc (test_02):  New test.
246
247 2001-12-16  Nathan Sidwell  <nathan@codesourcery.com>
248
249         * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
250         * po/Makefile.in: Regenerated.
251
252 2001-12-16  Paolo Carlini  <pcarlini@unitus.it>
253
254         * testsuite/21_strings/assign.cc (test01): Add tests.
255
256 2001-12-15  Paolo Carlini  <pcarlini@unitus.it>
257             Nathan Myers  <ncm@cantrip.org>
258
259         * include/bits/basic_string.h
260         (assign(__str, __pos, __n), assign(__s, __n)):  Optimize
261         by avoiding unnecessary temporaries.
262         (assign(__s)): Call assign(__s, __n).
263         * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
264         * include/bits/std_string.h: include stl_function.h.
265         * testsuite/21_strings/assign.cc (test02, test03): New tests.
266
267 2001-12-15  Benjamin Kosnik  <bkoz@redhat.com>
268
269         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
270         on linux by default.
271         * aclocal.m4: Regenerate.
272         * configure: Regenerate.
273
274 2001-12-14  Benjamin Kosnik  <bkoz@redhat.com>
275
276         Clean up initialization and simplify caching of underlying "C"
277         default locale objects.
278         * src/localename.cc (locale::_Impl::_Impl(string, size_t):
279         Unconditionally create __clocale object for all named locales,
280         including "C" and "POSIX".
281         * config/locale/c_locale_generic.cc
282         (locale::facet::_S_create_c_locale): Always set __cloc to zero.
283         * config/locale/c_locale_gnu.cc: Always delete.
284         * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
285         * src/locale.cc (locale::classic()): Initialize
286         locale::facet::_S_c_locale.
287         (locale::facet::_S_c_locale): Define.
288
289         * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
290         specialization.
291         * src/locale.cc: Add definition here.
292         * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
293         * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
294         * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
295         Adjust ctors, dtors.
296         (ctype<char>::_M_toupper): Remove const&.
297         (ctype<char>::_M_tolower): Remove const&.
298         (ctype<char>::_M_ctable): Remove const&.
299
300         * include/bits/locale_facets.h (collate): Clean up initialization
301         of _M_c_locale_collate in ctors and dtors.
302         * config/locale/collate_members_gnu.cc: Always use extended
303         functions.
304
305         * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
306         (messages_byname): Same.
307         * config/locale/messages_members_generic.h (messages::~messages):
308         Remove.
309         * config/locale/messages_members_gnu.h: Same.
310
311         * include/bits/localefwd.h: Clean. Move dtor definitions to
312         * src/locale.cc: Here.
313         * testsuite/22_locale/facet.cc: Fix spelling.
314
315         Named locale support for ctype<wchar_t>.
316         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
317         ctype_members_* bits.
318         * aclocal.m4: Regenerate.
319         * configure: Regenerate.
320         * src/Makefile.am (sources): Add ctype.cc.
321         * src/Makefile.in: Regenerate.
322         * config/locale/ctype_members_generic.cc: New file.
323         * config/locale/ctype_members_gnu.cc: New file.
324         * src/locale.cc: Remove ctype<wchart_t> definitions.
325
326 2001-12-13  Roger Sayle <roger@eyesopen.com>
327
328         * acconfig.h: Test for __builtin_sqrt instead of
329         __builtin_fsqrt.
330         * acinclude.m4: Same.
331         * include/c_shadow/bits/std_cmath.h: Same.
332         * aclocal.m4: Regenerated.
333         * config.h.in: Regenerated.
334         * configure: Regenerated.
335
336 2001-12-13  Phil Edwards  <pme@gcc.gnu.org>
337
338         * docs/html/ext/howto.html:  Fix typos.
339
340 2001-12-13  Benjamin Kosnik  <bkoz@redhat.com>
341
342         libstdc++/3679
343         * src/locale.cc (locale::locale(const char*)): Deal with locales
344         named "".
345         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
346
347 2001-12-12  Paolo Carlini  <pcarlini@unitus.it>
348
349         * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
350         _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
351         _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
352         : Adjust implicit typename.
353         * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
354         Adjust implicit typename.
355         * testsuite/27_io/streambuf.cc: Adjust implicit typename.
356
357 2001-12-12  Benjamin Kosnik  <bkoz@redhat.com>
358
359         Named locale support for ctype<char>.
360         * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
361         * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
362         definitions for alternate constructor.
363         * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
364         * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
365         * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
366         * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
367         * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
368         * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
369         * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
370         * config/os/generic/bits/ctype_noninline.h (ctype): Same.
371         * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
372         * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
373         * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
374         * config/os/aix/bits/ctype_noninline.h (ctype): Same.
375         * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
376         definitions for all virtual functions. These are now explicitly
377         undefined for non-required factets, ie any non-char, non-wchar_t
378         instantiations.
379         * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
380         locales use alternate constructor for ctype facet.
381         * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
382         mask*, bool, size_t): Add.
383         (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
384         * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
385         definition.
386
387         * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
388         XFAIL for non-gnu locale models.
389
390 2001-12-12  Philip Martin  <philip@codematters.co.uk>
391             Ross Smith     <r-smith@ihug.co.nz>
392             Paolo Carlini  <pcarlini@unitus.it>
393
394         libstdc++/5045
395         * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
396         Fix digits10 values for integral types.
397         * include/bits/locale_facets.tcc (num_get::do_get for integral types):
398         Tweak _M_extract_int call.
399         * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
400         Tweak overflowing number of digits.
401         * testsuite/18_support/numeric_limits.cc (test03): New testcase.
402
403 2001-12-11  Benjamin Kosnik  <bkoz@redhat.com>
404
405         * config/os/generic/bits/ctype_inline.h: Remove spaces.
406         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
407         * include/bits/locale_facets.h (__num_base): Move double data
408         members to first in class.
409         * include/bits/locale_facets.tcc: Re-arrange, tweak.
410         * src/locale.cc: Clean.
411         *include/bits/stl_vector.h: Space typedefs.
412
413 2001-12-11  Phil Edwards  <pme@gcc.gnu.org>
414
415         * testsuite/ext/allocators.cc:  New file.
416
417 2001-12-11  Jason Merrill  <jason@redhat.com>
418
419         * include/bits/locale_facets.tcc (_M_extract_int): Avoid
420         uninitialized warning.
421
422 2001-12-11  Loren Rittle <ljrittle@acm.org>
423
424         * config/cpu/sparc/sparc32/bits/atomicity.h
425         (__Atomicity_lock<0>::_S_atomicity_lock): Add.
426
427 2001-12-10  Paolo Carlini  <pcarlini@unitus.it>
428
429         * include/bits/basic_string.tcc (_M_replace_safe):  Fix typos.
430         * include/bits/basic_string.h:  Fix typos.
431
432 2001-12-10  Paolo Carlini  <pcarlini@unitus.it>
433             Nathan Myers  <ncm@cantrip.org>
434
435         * include/bits/basic_string.tcc (_M_replace_safe):  New function.
436         (_M_replace(input_iterator_tag), append members):  Use it.
437         (_M_replace(forward_iterator_tag)):  Remove.
438         * include/bits/basic_string.h:  Adjust declarations.
439         * src/string-inst.cc:  Adjust declarations.
440
441 2001-12-09  Benjamin Kosnik  <bkoz@redhat.com>
442             Philip Martin <pmartin@uklinux.net>
443
444         * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
445         (__num_base::_S_scale_oct): Add.
446         * include/bits/locale_facets.tcc (_M_extract_int): Use them.
447         * src/locale.cc: Add definitions.
448         * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
449
450         * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
451
452 2001-12-07  Nathan Myers  <ncm@cantrip.org>
453             Loren Rittle <ljrittle@acm.org>
454
455         libstdc++/5037
456         * config/cpu/sparc/sparc32/bits/atomicity.h
457         (struct __Atomicity_lock<__inst>): Add.
458         (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
459         (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
460         instead of lock local to static function.
461         (__atomic_add): Likewise.
462
463 2001-12-07  Phil Edwards  <pme@gcc.gnu.org>
464
465         * src/globals.cc:  Remove __GTHREADS guard.
466
467 2001-12-07  Paolo Carlini  <pcarlini@unitus.it>
468
469         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
470         Extend comment, reduce __cs_size for non-fixed outputs.
471
472 2001-12-07  Paolo Carlini  <pcarlini@unitus.it>
473
474         * include/bits/basic_string.tcc (_M_mutate): Fix typo
475         in the previous check in.
476
477 2001-12-06  Paolo Carlini  <pcarlini@unitus.it>
478             Loren J. Rittle <ljrittle@acm.org>
479
480         * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
481         exponential growth policy to meet linear amortized time
482         requirements of the standard.
483         (_S_create): Adjust comment.
484
485 2001-12-06  Benjamin Kosnik  <bkoz@redhat.com>
486
487         libstdc++/3720
488         * include/bits/locale_facets.tcc (num_put): Clean.
489         (num_get::_M_extract_float): Change argument to string.
490         (num_get::do_get(float)): Fixup.
491         (num_get::do_get(double)): Same.
492         (num_get::do_get(long double)): Same.
493         (num_get::_M_extract_int): Add maximum length parameter, __max.
494         (num_get::_M_extract_float): Correct zeros, use string.
495         * include/bits/locale_facets.h (num_get::_M_extract_float): Change
496         declaration here.
497         * src/locale.cc (__num_base::_S_atoms): Remove x, X.
498         * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
499
500 2001-12-06  Philip Martin  <pmartin@uklinux.net>
501
502         * testsuite/27_io/istream_extractor_arith.cc (test12): Add
503         tests for excess input digits.
504
505 2001-12-06  Phil Edwards  <pme@gcc.gnu.org>
506
507         * include/bits/std_bitset.h:  Use GLIBCPP in multiple-inclusion guard.
508         * include/bits/stl_algo.h:  Likewise.
509         * include/bits/stl_algobase.h:  Likewise.
510         * include/bits/stl_bvector.h:  Likewise.
511         * include/bits/stl_deque.h:  Likewise.
512         * include/bits/stl_function.h:  Likewise.
513         * include/bits/stl_iterator.h:  Likewise.
514         * include/bits/stl_iterator_base_funcs.h:  Likewise.
515         * include/bits/stl_iterator_base_types.h:  Likewise.
516         * include/bits/stl_list.h:  Likewise.
517         * include/bits/stl_multimap.h:  Likewise.
518         * include/bits/stl_multiset.h:  Likewise.
519         * include/bits/stl_pair.h:  Likewise.
520         * include/bits/stl_queue.h:  Likewise.
521         * include/bits/stl_set.h:  Likewise.
522         * include/bits/stl_stack.h:  Likewise.
523         * include/bits/stl_tempbuf.h:  Likewise.
524         * include/bits/stl_tree.h:  Likewise.
525         * include/bits/stl_vector.h:  Likewise.
526
527         * include/bits/stl_alloc.h:  Use our own multiple inclusion guards.
528         Doxygenate more comments.  Correct historical artifacts in comments.
529         (alloc, single_alloc):  Uglify non-standard names.
530         (__default_alloc_template::_NFREELISTS):  Calculate from other
531         parameters.
532         (__default_alloc_template::_S_free_list):  Remove SunPro workaround.
533         (__default_alloc_template::_Lock):  Mark as "unused".
534         * include/backward/alloc.h:  Update.
535         * include/bits/stl_bvector.h:  Likewise.
536         * include/ext/ropeimpl.h:  Likewise.
537         * include/ext/stl_hashtable.h:  Likewise.
538
539 2001-12-05  Benjamin Kosnik  <bkoz@redhat.com>
540
541         DR/282
542         * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
543         grouping to floating point types.
544         * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
545
546 2001-12-04  Paolo Carlini <pcarlini@unitus.it>
547
548         libstdc++/4402
549         * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
550         from the PR.
551         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
552         Deal properly with long ios_base::fixed floats.
553         (num_put::_M_widen_float): use
554         __len in __builtin_alloca call.
555
556 2001-12-04  Benjamin Kosnik  <bkoz@redhat.com>
557
558         * src/Makefile.am (sources): Add ext-inst.cc.
559         * src/Makefile.in: Regenerate.
560         * src/ext-inst.cc: New file.
561         * include/bits/stl_threads.h: Format.
562         * src/globals.cc: Add instantiation for _S_swap_lock.
563
564         * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
565         instantiation.
566
567 2001-12-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
568
569         * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
570         and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
571         * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
572         for explicit instantiation of class std::basic_string<char,
573         gnu_char_traits, std::allocator<char> >.
574
575 2001-12-03  Benjamin Kosnik  <bkoz@redhat.com>
576
577         * testsuite/22_locale/collate.cc: Compile-only.
578         * testsuite/22_locale/time_get.cc: Same.
579         * testsuite/22_locale/time_put.cc: Same.
580         * testsuite/22_locale/numpunct.cc: Same.
581         * testsuite/22_locale/num_put.cc: Same.
582         * testsuite/22_locale/num_get.cc: Same.
583         * testsuite/22_locale/moneypunct.cc: Same.
584         * testsuite/22_locale/money_get.cc: Same.
585         * testsuite/22_locale/messages.cc: Same.
586         * testsuite/22_locale/ctype.cc: Same.
587
588 2001-12-03  Benjamin Kosnik  <bkoz@redhat.com>
589
590         * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
591         member instantiations.
592
593 2001-12-03  Steve Ellcey  <sje@cup.hp.com>
594
595         * libstdc++-v3/configure.in: Add support for hpux cross compiles,
596         combine common linux/hpux/generic cross compile support to reduce
597         redundent lines.
598         * libstdc++-v3/configure: Regenerate.
599
600 2001-12-03  Loren J. Rittle  <ljrittle@acm.org>
601
602         * docs/html/ext/howto.html: Update commentary.
603         * include/bits/c++config: Update threading configuration comment.
604         (__STL_GTHREADS): Remove macro definition.
605         (__STL_THREADS): Likewise.
606         * include/bits/stl_threads.h: Leave only the configuration
607         path which had been guarded by __STL_GTHREADS.  Remove all
608         guards related to __STL_GTHREADS, __STL_SGI_THREADS,
609         __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
610         * include/bits/stl_alloc.h: Leave only the configuration path
611         which had been guarded by __STL_THREADS.  Remove configuration
612         path and guards for __STL_SGI_THREADS.
613         (__NODE_ALLOCATOR_THREADS): Remove macro definition.  Unroll its use.
614         (__NODE_ALLOCATOR_LOCK): Likewise.
615         (__NODE_ALLOCATOR_UNLOCK): Likewise.
616         (_NOTHREADS): Remove guards related to macro.
617         * include/ext/stl_rope.h: Remove configuration path and guards
618         for __STL_SGI_THREADS.
619         * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
620
621 2001-12-02  Phil Edwards  <pme@gcc.gnu.org>
622
623         * docs/html/ext/howto.html:  Update list of implemented DRs.
624         * docs/html/ext/lwg-active.html:  Import R20 from upstream.
625         * docs/html/ext/lwg-defects.html:  Import R20 from upstream.
626
627 2001-11-30  Benjamin Kosnik  <bkoz@redhat.com>
628
629         libstdc++/3150
630         DR/266
631         * libsupc++/exception (bad_exception::~bad_exception()): Remove
632         declaration.
633         * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
634         * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
635         (bad_typeid::~bad_typeid()): Remove.
636         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
637         (bad_typeid::~bad_typeid()): Same.
638         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
639         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
640
641         * include/bits/std_iomanip.h: Tweak.
642
643 2001-11-29  Paolo Carlini  <pcarlini@unitus.it>
644
645         libstdc++/3655
646         * include/bits/locale_facets.tcc (__pad): Add bool parameter to
647         correctly pad internal-adjusted const char*-type objects.
648         * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
649         * include/bits/ostream.tcc (operator<<(_CharT , char, const
650         _CharT*, const char*, const basic_string&): Update calls.
651         * src/locale-inst.tcc: Update declarations.
652         * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
653
654 2001-11-29  Phil Edwards  <pme@gcc.gnu.org>
655
656         * docs/html/ext/howto.html:  Finish allocator notes (inst and 3.0).
657
658 2001-11-29  Benjamin Kosnik  <bkoz@redhat.com>
659
660         * include/bits/locale_facets.tcc (num_get::do_get(long double)):
661         Fix __traits_type typo.
662
663 2001-11-28  Paolo Carlini  <pcarlini@unitus.it>
664
665         * include/bits/locale_facets.tcc (__pad): Correctly pad
666         internal-adjusted hex numbers.
667         * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
668
669 2001-11-28  Paolo Carlini <pcarlini@unitus.it>
670             Loren J. Rittle <ljrittle@acm.org>
671
672         * include/bits/basic_string.h
673         (basic_string::_Rep::__default_excess, _S_excess_slop):
674         Unused, remove.
675         * include/bits/basic_string.tcc: Remove dead code.
676         * include/bits/c++config: Remove comment.
677
678 2001-11-28  Benjamin Kosnik  <bkoz@redhat.com>
679             Jakub Jelinek  <jakub@redhat.com>
680
681         * config/locale/moneypunct_members_gnu.cc
682         (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
683         for ia64, others.
684         * config/locale/numpunct_members_gnu.cc
685         (numpunct<wchar_t>::_M_initialize_numpunct): Same.
686
687 2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>
688
689         * include/bits/locale_facets.tcc: Formatting tweaks.
690
691         * testsuite/23_containers/map_operators.cc: Don't xfail.
692         * testsuite/23_containers/set_operators.cc: Same.
693         * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
694         * testsuite/backward/header_deque_h.cc: Same.
695
696 2001-11-27  Loren J. Rittle  <ljrittle@acm.org>
697             Paolo Carlini  <pcarlini@unitus.it>
698
699         * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
700         Enforce allocation size blocking policy to reduce
701         fragmentation and enhance performance with common malloc
702         implementations.
703
704 2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>
705
706         Numeric facets cleanup.
707         * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
708         + and - signs.
709         (__num_base::_M_zero): Add
710         (__num_base::_M_e): Add.
711         (__num_base::_M_E): Add.
712         * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
713         (num_get::_M_extract_float): New.
714         (num_get::_M_extract_int): New.
715         * src/locale.cc (num_get::_M_extract): Remove.
716
717         * include/bits/locale_facets.tcc (num_put::_M_insert_float):
718         Simplify, use _M_insert.
719         (num_put::do_put(bool)): Simplify, remove __pad.
720         (__pad): Remove.
721         (__pad_output): Change to __pad.
722         * include/bits/ostream.tcc: And here.
723         * src/locale-inst: Remove instantiations.
724
725         * include/bits/locale_facets.h: Move helper functions in to class
726         num_put.
727         (num_put::_M_insert_float): Same, for __output_integer.
728         (num_put::_M_insert_int): Same, for __output_float.
729         (num_put::_M_insert): New.
730         (__num_base): Add.
731         (__num_base::_S_format_float): Move
732         __build_float_format into class __num_base.
733         (__num_base::_S_format_int): Move __build_int_format into class
734         __num_base.
735         * include/bits/locale_facets.tcc (__group_digits): Change to
736         (__add_grouping): This.
737         * src/locale-inst.cc: And here. Tweak instantiations.
738         * src/misc-inst.cc: Remove instantiations.
739
740         * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
741         for new calling conventions, move to...
742         * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
743         signature to make it useful for both ostream and num_put.
744         (__pad_numeric): Remove.
745         * src/misc-inst.cc: Remove instantiations.
746         * src/locale-inst.cc: Same.
747
748         * include/bits/locale_facets.h (_Numeric_get): Remove.
749         (_Numeric_put): Remove.
750         (num_get::get(short)): Remove.
751         (num_get::get(int)): Remove.
752         (num_get::do_get(short)): Remove.
753         (num_get::do_get(int)): Remove.
754         * include/bits/istream.tcc (istream::operator>>(short)): Fix as
755         per DR 118.
756         (istream::operator>>(int)): Same.
757
758         * include/bits/locale_facets.h (_Format_cache): Remove.
759         * include/bits/locale_facets.tcc: Same.
760         * src/locale.cc: Same.
761         * src/locale-inst.cc: Same.
762         * include/bits/ostream.tcc: Same.
763         * src/ios.cc (ios_base::imbue): Remove here as well.
764
765         * testsuite/22_locale/num_get.cc: New file.
766         * testsuite/22_locale/num_get_members_char.cc: New file.
767         * testsuite/22_locale/num_get_members_wchar_t.cc: New.
768         * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
769         * testsuite/22_locale/num_put.cc: New file.
770         * testsuite/22_locale/num_put_members_char.cc: New file.
771         * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
772         * testsuite/27_io/ostream_inserter_arith.cc: Fix.
773         * testsuite/27_io/istream_extractor_arith.cc: Fix.
774
775 2001-11-27  Phil Edwards  <pme@gcc.gnu.org>
776
777         * docs/html/explanations.html:  New section, empty for now.
778         * docs/html/17_intro/howto.html:  Cleanup.  Move unrelated link...
779         * docs/html/23_containers/howto.html:  ...to here.  Break up and
780         rewrap threading discussion to emphasize warning.  Move malloc text...
781         * docs/html/ext/howto.html:  ...to here.  New section.  Describe
782         allocators and __USE_MALLOC effects.
783         * docs/html/ext/sgiexts.html:  Mention their code.
784
785 2001-11-24  Joseph S. Myers  <jsm28@cam.ac.uk>
786
787         * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
788         docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
789         changes.
790
791 2001-11-23  Phil Edwards  <pme@gcc.gnu.org>
792
793         * Makefile.am (doxygen-maint):  The script isn't executable in CVS.
794         * Makefile.in:  Regenerated.
795         * docs/doxygen/TODO:  New file listing doxygen work to be done.
796         * docs/doxygen/run_doxygen:  Fix up man pages.
797         * docs/doxygen/user.cfg.in:  Insert maint-only toggles.
798         * docs/doxygen/maint.cfg.in:  Copy from user.cfg and turn toggles on.
799         * include/bits/stl_construct.h:  Use new hooks for internal functions.
800
801         * docs/html/17_intro/TODO:  Small updates.
802         * docs/html/faq/index.html:  Likewise.
803         * docs/html/faq/index.txt:  Regenerated.
804
805         * include/bits/stl_alloc.h:  Doxygenate, reindent comments, remove
806         SGI-isms and wrappers.
807         (simple_alloc, debug_alloc):  Uglify class names.
808         (__default_alloc_template):  Uglify "threads" template parameter and
809         update corresponding macros.
810         * include/backward/alloc.h:  Bring up to date.
811
812 2001-11-23  Jason Merrill  <jason@redhat.com>
813
814         * src/vterminate.cc (__verbose_terminate_handler): Add leading
815         underscores.
816
817 2001-11-23  Joseph S. Myers  <jsm28@cam.ac.uk>
818
819         * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
820         docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
821         docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
822         docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
823         docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
824         docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
825         docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
826         docs/html/21_strings/howto.html,
827         docs/html/23_containers/howto.html,
828         docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
829         docs/html/27_io/binary_iostreams_kuehl.txt,
830         docs/html/ext/sgiexts.html, docs/html/faq/index.html,
831         docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
832         include/bits/basic_file.h, include/bits/locale_facets.h,
833         include/bits/locale_facets.tcc, include/bits/std_sstream.h,
834         include/ext/ropeimpl.h, include/ext/stl_rope.h,
835         libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
836         libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
837         configure.target, ChangeLog-2000: Fix spelling errors.
838
839         * config/locale/moneypunct_members_gnu.cc,
840         include/bits/locale_facets.h: Fix spelling errors.
841
842 2001-11-22  Stephen M. Webb  <stephen@bregmasoft.com>
843
844         * testsuite/23_containers/list_capacity.cc: New file.
845         * testsuite/23_containers/list_ctor.cc: New file.
846         * testsuite/23_containers/list_modifiers.cc: New file.
847         * testsuite/23_containers/list_operators.cc: New file.
848
849 2001-11-22  Stephen M. Webb  <stephen@bregmasoft.com>
850
851         * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
852         (size): Replaced nonstandard distance() call with the standard one.
853         (transfer): Uglified to _M_transfer.
854
855 2001-11-21  Paolo Carlini  <pcarlini@unitus.it>
856
857         PR libstdc++/4548
858         * include/bits/basic_string.tcc (basic_string::reserve):  Never shrink
859         below the current size.
860         * testsuite/21_strings/capacity.cc (test02):  Add test.
861
862 2001-11-19  Phil Edwards  <pme@gcc.gnu.org>
863
864         * docs/doxygen/Intro.3:  More notes.
865         * docs/doxygen/style.css:  Update to default style from Doxygen 1.2.10.
866         * include/bits/stl_algobase.h:  Add doxygen hooks for functions.
867         * include/ext/hash_map:  Add @file hook.
868         * include/ext/hash_set:  Likewise.
869         * include/ext/rope:  Likewise.
870         * include/ext/ropeimpl.h:  Likewise.
871         * include/ext/slist:  Likewise.
872         * include/ext/stl_hash_fun.h:  Likewise.
873         * include/ext/stl_hashtable.h:  Likewise.
874         * include/ext/stl_rope.h:  Likewise.
875
876         * docs/html/17_intro/license.html:  Remove "experimental" sentence.
877         * docs/html/19_diagnostics/howto.html:  Document new verbose
878         terminate handler.
879         * testsuite/27_io/filebuf.cc:  Fix comment, move tweakable parameter
880         to more visible (closer to description) position.
881
882         * libsupc++/eh_type.cc:  Formatting tweak.
883         * libsupc++/exception:  Likewise.
884         * src/vterminate.cc:  Likewise.
885
886         * docs/html/17_intro/porting.html:  Regenerate.
887         * docs/html/faq/index.txt:  Regenerate.
888
889 2001-11-18  Jason Merrill  <jason@redhat.com>
890
891         * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
892         * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
893         * libsupc++/unwind-cxx.h: Adjust.
894         * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
895
896         * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
897         * libsupc++/cxxabi.h: Declare it.
898         * libsupc++/Makefile.am (sources): Add it.
899         * src/vterminate.cc (verbose_terminate_handler): New file.
900         * libsupc++/exception: Declare it.
901         * src/Makefile.am (sources): Add it.
902
903         * src/Makefile.am (VPATH): Check the src directory before the top one.
904
905 2001-11-16  Paolo Carlini  <pcarlini@unitus.it>
906
907         * include/bits/stl_deque.h (deque::erase()):  Fix memory leak.
908
909 2001-11-16  Loren J. Rittle  <ljrittle@acm.org>
910
911         * docs/html/17_intro/howto.html (Thread-safety): Rename
912         section to ``The Standard C++ library and multithreading'' and
913         update information based on recent mailing list traffic.  Move
914         all discussion of __USE_MALLOC to...
915         * docs/html/23_containers/howto.html (Containers and multithreading):
916         ...here and rework it based on recent mailing list traffic.
917
918 2001-11-15  Loren J. Rittle  <ljrittle@acm.org>
919
920         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
921         wording.
922
923 2001-11-15  <bjornw@planetarion.com>
924             Loren J. Rittle  <ljrittle@acm.org>
925
926         libstc++/4219
927         * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
928         (single_client_alloc): Likewise.
929
930 2001-11-08  Danny Smith  <dannysmith@users.sourceforge.net>
931
932         * configure.target: Add os_include_dir for mingw32* target.
933         * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
934         from _GLIBCPP_AVOID_FSEEK.
935         * config/os/mingw32/bits/ctype_base.h: New file.
936         * config/os/mingw32/bits/ctype_inline.h: New file.
937         * config/os/mingw32/bits/ctype_noninline.h: New file.
938         * config/os/mingw32/bits/os_defines.h: New file.
939
940 2001-11-07  Nathan Myers  <ncm@cantrip.org>
941
942         * docs/html/faq/index.html (5.8):  New entry on ABIs.
943         * docs/html/faq/index.txt:  Regenerate.
944
945 2001-11-07  Phil Edwards  <pme@gcc.gnu.org>
946
947         * docs/html/faq/index.html:  Explain libsupc++, mention 'long long'
948         bugfixes on Solaris.
949         * docs/html/faq/index.txt:  Regenerate.
950
951 2001-11-06  Phil Edwards  <pme@gcc.gnu.org>
952
953         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG):  Run the test in
954         LANG_CPLUSPLUS mode.
955         * aclocal.m4:  Regenerate.
956         * configure:  Regenerate.
957
958 2001-11-05  Phil Edwards  <pme@gcc.gnu.org>
959
960         * porting.texi:  Move...
961         * docs/html/17_intro/porting.texi:  ...to here.
962         * docs/html/Makefile:  Add rule to rebuild...
963         * docs/html/17_intro/porting.html:  ...this.  New file.
964
965 2001-11-05  Felix Natter  <fnatter@gmx.net>
966
967         * docs/html/17_intro/porting-howto.xml:  check in v0.9.4
968         * docs/html/17_intro/porting-howto.html:  regenerate
969
970 2001-11-02  Loren J. Rittle  <ljrittle@acm.org>
971
972         * include/bits/stl_threads.h (_Atomic_swap): Only enable path
973         when platform supports __GTHREAD_MUTEX_INIT.
974
975 2001-11-02  Phil Edwards  <pme@gcc.gnu.org>
976
977         * acconfig.h:  Update comments.
978         * acinclude.m4 (GLIBCPP_ENABLE_C99):  Move strtoll, strtoull tests...
979         (GLIBCPP_ENABLE_LONG_LONG):  ...to here.  Don't check enable_c99.
980         * aclocal.m4:  Regenerate.
981         * config.h.in:  Regenerate.
982         * configure:  Regenerate.
983
984         * include/bits/boost_concept_check.h:  Unconditionally compile uses
985         of 'long long' which require only compiler support, not C lib support.
986         * include/bits/cpp_type_traits.h:  Likewise.
987         * include/bits/std_limits.h:  Likewise.
988         * include/bits/type_traits.h:  Likewise.
989         * src/concept-inst.cc:  Likewise.
990         * src/limits.cc:  Likewise.
991         * include/c_shadow/stdlib.h:  Compile conditionally on _GLIBCPP_USE_C99
992         instead of _GLIBCPP_USE_LONG_LONG.
993         * include/c_shadow/bits/std_cstdlib.h:  Likewise.
994
995 2001-11-02  Phil Edwards  <pme@gcc.gnu.org>
996
997         * config/io/c_io_stdio.h:  Correct grammar in comments.
998         * docs/doxygen/Intro.3:  Expand "top-level" man page.
999         * docs/doxygen/doxygroups.cc:  New module definitions (comments).
1000         * docs/doxygen/mainpage.doxy:  Tweaks.
1001         * docs/doxygen/run_doxygen:  Update Doxygen version, massage man pages.
1002
1003         Add @file hooks so that headers are considered to be documented.
1004         * include/bits/basic_ios.h, include/bits/basic_file.h,
1005         include/bits/basic_string.h, include/bits/boost_concept_check.h,
1006         include/bits/char_traits.h, include/bits/codecvt.h,
1007         include/bits/concept_check.h, include/bits/cpp_type_traits.h,
1008         include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
1009         include/bits/indirect_array.h, include/bits/ios_base.h,
1010         include/bits/locale_facets.h, include/bits/localefwd.h,
1011         include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
1012         include/bits/slice.h, include/bits/slice_array.h,
1013         include/bits/std_algorithm.h, include/bits/std_bitset.h,
1014         include/bits/std_complex.h, include/bits/std_deque.h,
1015         include/bits/std_fstream.h, include/bits/std_functional.h,
1016         include/bits/std_iomanip.h, include/bits/std_ios.h,
1017         include/bits/std_iosfwd.h, include/bits/std_iostream.h,
1018         include/bits/std_istream.h, include/bits/std_iterator.h,
1019         include/bits/std_limits.h, include/bits/std_list.h,
1020         include/bits/std_locale.h, include/bits/std_map.h,
1021         include/bits/std_memory.h, include/bits/std_numeric.h,
1022         include/bits/std_ostream.h, include/bits/std_queue.h,
1023         include/bits/std_set.h, include/bits/std_sstream.h,
1024         include/bits/std_stack.h, include/bits/std_streambuf.h,
1025         include/bits/std_string.h, include/bits/std_utility.h,
1026         include/bits/std_valarray.h, include/bits/std_vector.h,
1027         include/bits/stl_algo.h, include/bits/stl_alloc.h,
1028         include/bits/stl_bvector.h, include/bits/stl_construct.h,
1029         include/bits/stl_deque.h, include/bits/stl_heap.h,
1030         include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
1031         include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
1032         include/bits/stl_map.h, include/bits/stl_multimap.h,
1033         include/bits/stl_multiset.h, include/bits/stl_numeric.h,
1034         include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
1035         include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
1036         include/bits/stl_relops.h, include/bits/stl_set.h,
1037         include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
1038         include/bits/stl_threads.h, include/bits/stl_tree.h,
1039         include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
1040         include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
1041         include/bits/stringfwd.h, include/bits/type_traits.h,
1042         include/bits/valarray_array.h, include/bits/valarray_meta.h:
1043         Add hooks, tweak comments only.
1044
1045         * include/bits/stl_algobase.h (swap, min, iter_swap):  Also
1046         document these functions.
1047         * include/bits/stl_function.h:  Tweak link comments.
1048
1049 2001-11-01  Paolo Carlini  <pcarlini@unitus.it>
1050             Benjamin Kosnik  <bkoz@redhat.com>
1051
1052         * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
1053         output.
1054         * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
1055
1056 2001-11-01  Egor Duda  <deo@logos-m.ru>
1057
1058         * config/os/newlib/bits/ctype_noninline.h
1059         (ctype<char>::do_toupper(char __c)): Check for proper character class.
1060         (ctype<char>::do_tolower(char __c)): Ditto.
1061
1062 2001-11-01  Phil Edwards  <pme@gcc.gnu.org>
1063
1064         * acinclude.m4:  Fix spacing.
1065         (GLIBCPP_ENABLE_CONCEPT_CHECKS):  New macro.
1066         * configure.in:  Call here.
1067         * acconfig.h:  Add _GLIBCPP_CONCEPT_CHECKS.
1068         * include/bits/boost_concept_check.h:  Fix headers.
1069         (__function_requires):  Make inline.
1070         * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS):  Remove.
1071         * aclocal.m4:  Regenerate.
1072         * config.h.in:  Regenerate.
1073         * configure:  Regenerate.
1074
1075         Move trailing ';' inside macro, PR libstdc++/3666.
1076         * include/bits/concept_check.h:  Add semicolon.
1077         * include/bits/stl_algo.h:  Remove semicolon.
1078         * include/bits/stl_algobase.h:  Likewise.
1079         * include/bits/stl_deque.h:  Likewise.
1080         * include/bits/stl_heap.h:  Likewise.
1081         * include/bits/stl_iterator_base_funcs.h:  Likewise.
1082         * include/bits/stl_list.h:  Likewise.
1083         * include/bits/stl_map.h:  Likewise.
1084         * include/bits/stl_multimap.h:  Likewise.
1085         * include/bits/stl_multiset.h:  Likewise.
1086         * include/bits/stl_numeric.h:  Likewise.
1087         * include/bits/stl_queue.h:  Likewise.
1088         * include/bits/stl_set.h:  Likewise.
1089         * include/bits/stl_stack.h:  Likewise.
1090         * include/bits/stl_vector.h:  Likewise.
1091         * include/ext/hash_map:  Likewise.
1092         * include/ext/hash_set:  Likewise.
1093         * include/ext/slist:  Likewise.
1094
1095         * src/concept-inst.cc:  New file with explicit instantiations.
1096         * src/Makefile.am (sources):  Add here, with special build rules.
1097         * src/Makefile.in:  Regenerate.
1098
1099 2001-11-01  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1100
1101         * include/bits/std_complex.h (_Norm_helper): New class template.
1102         (norm): Tweak.
1103         (abs): Tweak. Fix Thinko.
1104
1105 2001-10-31  Benjamin Kosnik  <bkoz@redhat.com>
1106
1107         libstdc++/4749
1108         * include/bits/codecvt.h: Add virtual member function declarations.
1109         * src/codecvt.cc: Tweaks.
1110         * testsuite/22_locale/codecvt.cc: Test compilation only,
1111         non-required facets not required to have linkage.
1112
1113 2001-10-31  Edward E. Meyer  <edward.e.meyer@boeing.com>
1114
1115         libstdc++/4622
1116         * include/bits/std_complex.h (complex::operator/=): Correct sign.
1117
1118 2001-10-30  Paolo Carlini  <pcarlini@unitus.it>
1119             Benjamin Kosnik  <bkoz@redhat.com>
1120
1121         libstdc++/4354
1122         * include/bits/basic_string.h: Tweaks.
1123         * include/bits/basic_string.tcc (string::_M_replace(iterator,
1124         iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
1125         * src/string-inst.cc: Tweaks, add instantiation.
1126         * testsuite/21_strings/replace.cc (test02): Add test.
1127         * testsuite/21_strings/assign.cc (test01): New file.
1128
1129 2001-10-30  Jakub Jelinek  <jakub@redhat.com>
1130
1131         * include/bits/stl_deque.h (_M_new_elements_at_front): Use
1132         __throw_exception_again.
1133         (_M_new_elements_at_back): Likewise.
1134
1135 2001-10-29  Benjamin Kosnik  <bkoz@redhat.com>
1136
1137         libstdc++/3647
1138         * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1139         * testsuite/27_io/filebuf.cc (test07): New test.
1140         (test03): Modify showmanyc test.
1141
1142 2001-10-26  Benjamin Kosnik  <bkoz@redhat.com>
1143
1144         libstdc++/4503
1145         * config/locale/codecvt_specializations_ieee_1003.1-200x.h
1146         (__enc_traits::~__enc_traits): Fix.
1147         (__enc_traits::_M_init): Add error checking.
1148
1149 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1150
1151         libstdc++/4542
1152         * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
1153
1154 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1155
1156         libstdc++/4545
1157         * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
1158         exceptions.
1159         * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
1160         consistent, where possible.
1161         * include/bits/streambuf.tcc: Tweak.
1162
1163 2001-10-25  Brendan Kehoe  <brendan@zen.org>
1164
1165         libstdc++/4536
1166         * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
1167         * bits/istream.tcc (seekg): Likewise.
1168
1169 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1170             Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1171             Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1172
1173         * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
1174         __s390x__ only.
1175         * include/bits/std_limits.h: Fix wchar_t issues.
1176         * config/os/aix/bits/os_defines.h: Fix.
1177
1178 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1179
1180         * include/bits/locale_facets.tcc (collate::do_transform): Fix.
1181
1182 2001-10-25  Phil Edwards  <pme@gcc.gnu.org>
1183
1184         * docs/html/documentation.html:  Fix typo.
1185
1186 2001-10-23  Benjamin Kosnik  <bkoz@redhat.com>
1187
1188         Make -fno-exceptions work.
1189         * config/locale/c_locale_gnu.cc: Use functexcept.
1190         * include/bits/c++config (__stl_assert): Remove.
1191         (__STL_USE_EXCEPTIONS): Same.
1192         (__STL_TRY): Same.
1193         (__STL_CATCH_ALL): Same.
1194         (__STL_THROW): Same.
1195         (__STL_RETHROW): Same.
1196         (__STL_NOTHROW): Same.
1197         (__STL_UNWIND): Same.
1198         * include/bits/pthread_allocimpl.h: Fix.
1199         * include/bits/std_bitset.h: Same.
1200         * include/bits/std_list.h: Same.
1201         * include/bits/std_memory.h: Same.
1202         * include/bits/std_queue.h: Same.
1203         * include/bits/stl_alloc.h: Same.
1204         * include/bits/stl_deque.h: Same.
1205         * include/bits/stl_list.h: Same.
1206         * include/bits/stl_queue.h: Same.
1207         * include/bits/stl_tempbuf.h: Same.
1208         * include/bits/stl_tree.h: Same.
1209         * include/bits/stl_uninitialized.h: Same.
1210         * include/bits/stl_vector.h: Same.
1211         * include/ext/ropeimpl.h: Same.
1212         * include/ext/slist: Same.
1213         * include/ext/stl_hashtable.h: Same.
1214         * include/ext/stl_rope.h: Same.
1215         * libsupc++/new_op.cc: Include cstdlib.
1216         * libsupc++/eh_personality.cc: Add exception_defines include. Use
1217         __throw_exception_again, tweak.
1218         * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
1219         * libsupc++/vec.cc: Tweak.
1220         * src/functexcept.cc: Remove unused arguments.
1221         * testsuite/23_containers/bitset_members.cc: Tweak.
1222
1223 2001-10-22  Benjamin Kosnik  <bkoz@redhat.com>
1224
1225         * config/cpu/i386/bits/limits.h: Move to...
1226         * config/cpu/i386/bits/cpu_limits.h: ...here.
1227         * config/cpu/cris/bits/cpu_limits.h: Same.
1228         * config/cpu/powerpc/bits/cpu_limits.h: Same.
1229         * config/cpu/x86-64/bits/cpu_limits.h: Same.
1230         * config/cpu/alpha/bits/cpu_limits.h: New.
1231         * config/cpu/m68k/bits/cpu_limits.h: New.
1232         * config/cpu/s390/bits/cpu_limits.h: New.
1233         * config/os/aix/bits/os_defines.h: Tweaks.
1234         * config/os/bsd/freebsd/bits/os_defines.h: Same.
1235         * config/os/bsd/netbsd/bits/os_defines.h: Same.
1236         * config/os/djgpp/bits/os_defines.h: Same.
1237         * config/os/generic/bits/os_defines.h: Same.
1238         * config/os/gnu-linux/bits/os_defines.h: Same.
1239         * config/os/hpux/bits/os_defines.h: Same.
1240         * config/os/irix/irix5.2/bits/os_defines.h: Same.
1241         * config/os/irix/irix6.5/bits/os_defines.h: Same.
1242         * config/os/newlib/bits/os_defines.h: Same.
1243         * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
1244         * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1245         * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1246
1247         * include/bits/c++config: Remove include.
1248         * include/bits/limits_generic.h: Remove.
1249         * include/bits/std_limits.h: Include cpu_limits.h.
1250         * include/Makefile.am: Fixup.
1251         * src/limits.cc: Tweak.
1252         * src/limits_generic.cc: Remove.
1253         * src/gen-num-limits.cc: Remove.
1254         * mknumeric_limits: Remove.
1255
1256 2001-10-20  Brendan Kehoe  <brendan@zen.org>
1257
1258         * bits/type_traits.h (_Bool): Removed this type.
1259         (__true_type, __false_type): Change to be plain structs.
1260         * src/string-inst.cc (__destroy_aux): Change third parm to be
1261         __false_type instead of _Bool<false>.
1262         * src/misc-inst.cc (__uninitialized_fill_n_aux,
1263         __uninitialized_copy_aux): Likewise.
1264
1265 2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>
1266
1267         * mkcheck.in (static_fail): Remove older memory limit functionality.
1268         Disable E_TIME due to formatting issues.
1269
1270         * README: Update.
1271
1272 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1273
1274         * include/bits/std_complex.h: Default initialize second argument
1275         of polar to 0, as specified in Library DR #79
1276
1277 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1278
1279         * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
1280         _Construct instead of construct.
1281
1282 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1283
1284         * include/bits/basic_string.tcc (find_first_not_of): Take out check for
1285         __n being non-zero, since the standard does not mandate that.
1286         e.g., a search for "" in "" should yield position 0, not npos.
1287         (find_last_not_of): Likewise.
1288
1289 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1290
1291         * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
1292         to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
1293
1294 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1295
1296         * include/bits/stl_iterator.h (reverse_iterator::current): Rename
1297         member from _M_current, and change all uses; thus sayeth $24.4.1.1.
1298
1299 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1300
1301         * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
1302         template parameter _ValueType.
1303
1304 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1305
1306         * include/bits/std_limits.h: Clean up extra semicolons.
1307         * include/bits/locale_facets.h: Likewise.
1308         * include/bits/type_traits.h: Likewise.
1309
1310 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1311
1312         * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
1313         * include/bits/locale_facets.tcc (locale::combine): Likewise.
1314
1315 2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>
1316
1317         * include/bits/locale_facets.h (__timepunct::_M_put_helper):
1318         Declare specializations for char, wchar_t.
1319
1320 2001-10-19  Andreas Jaeger  <aj@suse.de>
1321
1322         * config/cpu/x86-64/bits/limits.h: New file.
1323         * config/cpu/x86-64/bits/atomicity.h: New file.
1324         * configure.target: Add x86-64.
1325
1326 2001-10-17  Phil Edwards  <pme@gcc.gnu.org>
1327
1328         * docs/html/17_intro/howto.html:  Remove 1999 links (and explain
1329         why).  Add link to recent message.
1330         * docs/html/faq/index.html (5.6):  Reformat text only; fixup <pre>
1331         markup.
1332         * docs/html/faq/index.txt:  Regenerate.
1333
1334 2001-10-12  Loren J. Rittle  <ljrittle@acm.org>
1335
1336         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
1337         based on Nathan's review.  Use Nathan's words.
1338
1339 2001-10-11  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
1340
1341         * docs/html/configopts.html: Quote StyleSheet attribute values.
1342         * docs/html/documentation.html: Likewise.
1343         * docs/html/explanations.html: Likewise.
1344         * docs/html/install.html: Likewise.
1345         * docs/html/17_intro/howto.html: Likewise.
1346         * docs/html/17_intro/license.html: Likewise.
1347         * docs/html/18_support/howto.html: Likewise.
1348         * docs/html/19_diagnostics/howto.html: Likewise.
1349         * docs/html/20_util/howto.html: Likewise.
1350         * docs/html/21_strings/howto.html: Likewise.
1351         * docs/html/22_locale/howto.html: Likewise.
1352         * docs/html/23_containers/howto.html: Likewise.
1353         * docs/html/24_iterators/howto.html: Likewise.
1354         * docs/html/25_algorithms/howto.html: Likewise.
1355         * docs/html/26_numerics/howto.html: Likewise.
1356         * docs/html/27_io/howto.html: Likewise.
1357         * docs/html/ext/howto.html: Likewise.
1358         * docs/html/ext/sgiexts.html: Likewise.
1359         * docs/html/faq/index.html: Likewise.
1360
1361 2001-10-11  Loren J. Rittle  <ljrittle@acm.org>
1362
1363         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
1364         * docs/html/23_containers/howto.html (Containers and multithreading):
1365         Update.
1366
1367 2001-10-09  Phil Edwards  <pme@gcc.gnu.org>
1368
1369         * docs/html/17_intro/howto.html:  Tweak markup and value type.
1370         * docs/html/27_io/howto.html:  Tweak markup, describe setbuf() for
1371         nonzero arguments, add new note on threading.
1372         * docs/html/faq/index.html:  Update.
1373         * docs/html/faq/index.txt:  Regenerate.
1374
1375 2001-10-09  Phil Edwards  <pme@gcc.gnu.org>
1376
1377         * docs/html/configopts.html:  More HTML->XHTML and lowercasing of tags.
1378         * docs/html/documentation.html:  Likewise.
1379         * docs/html/explanations.html:  Likewise.
1380         * docs/html/install.html:  Likewise.
1381         * docs/html/17_intro/howto.html:  Likewise.
1382         * docs/html/17_intro/license.html:  Likewise.  Tighten up language.
1383         * docs/html/18_support/howto.html:  Likewise.
1384         * docs/html/19_diagnostics/howto.html:  Likewise.
1385         * docs/html/20_util/howto.html:  Likewise.
1386         * docs/html/21_strings/howto.html:  Likewise.
1387         * docs/html/22_locale/howto.html:  Likewise.
1388         * docs/html/23_containers/howto.html:  Likewise.
1389         * docs/html/24_iterators/howto.html:  Likewise.
1390         * docs/html/25_algorithms/howto.html:  Likewise.
1391         * docs/html/26_numerics/howto.html:  Likewise.
1392         * docs/html/27_io/howto.html:  Likewise.
1393         * docs/html/ext/howto.html:  Likewise.
1394         * docs/html/ext/sgiexts.html:  Likewise.
1395         * docs/html/faq/index.html:  Likewise.  Not so many absolute links.
1396         * docs/html/faq/index.txt:  Regenerate.
1397
1398 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
1399
1400         * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
1401         spelling errors of "separate" as "seperate", and corresponding
1402         spelling errors of related words.
1403         * docs/html/faq/index.txt: Regenerate.
1404
1405 2001-10-05  Phil Edwards  <pme@gcc.gnu.org>
1406
1407         * config/cpu/alpha/bits/atomicity.h (__compare_and_swap):  Remove
1408         unused function.
1409         * config/cpu/arm/bits/atomicity.h:  Likewise.
1410         * config/cpu/generic/bits/atomicity.h:  Likewise.
1411         * config/cpu/i486/bits/atomicity.h:  Likewise.
1412         * config/cpu/ia64/bits/atomicity.h:  Likewise.
1413         * config/cpu/mips/bits/atomicity.h:  Likewise.
1414         * config/cpu/powerpc/bits/atomicity.h:  Likewise.
1415         * config/cpu/sparc/sparc32/bits/atomicity.h:  Likewise.
1416         * config/cpu/sparc/sparc64/bits/atomicity.h:  Likewise.
1417
1418 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
1419
1420         * docs/html/faq/index.html:  Describe DR #22, and a workaround.
1421         * docs/html/faq/index.txt:  Regenerate.
1422
1423 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
1424
1425         * docs/html/17_intro/COPYING.DOC:  New file, GFDL v1.1 from the FSF.
1426         * docs/html/17_intro/license.html:  New file.  Explain the licenses
1427         in use.
1428
1429         * docs/html/configopts.html:  Link to license.html.
1430         * docs/html/documentation.html:  Likewise.
1431         * docs/html/explanations.html:  Likewise.
1432         * docs/html/install.html:  Likewise.
1433         * docs/html/17_intro/howto.html:  Likewise.
1434         * docs/html/18_support/howto.html:  Likewise.
1435         * docs/html/19_diagnostics/howto.html:  Likewise.
1436         * docs/html/20_util/howto.html:  Likewise.
1437         * docs/html/21_strings/howto.html:  Likewise.
1438         * docs/html/22_locale/howto.html:  Likewise.
1439         * docs/html/23_containers/howto.html:  Likewise.
1440         * docs/html/24_iterators/howto.html:  Likewise.
1441         * docs/html/25_algorithms/howto.html:  Likewise.
1442         * docs/html/26_numerics/howto.html:  Likewise.
1443         * docs/html/27_io/howto.html:  Likewise.
1444         * docs/html/ext/howto.html:  Likewise.
1445         * docs/html/ext/sgiexts.html:  Likewise.
1446         * docs/html/faq/index.html:  Likewise.  New question, linking to
1447         the new license.html.
1448
1449 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
1450
1451         * docs/html/17_intro/howto.html:  Fix mis-sed in header from 20010917.
1452         * docs/html/18_support/howto.html:  Likewise.
1453         * docs/html/19_diagnostics/howto.html:  Likewise.
1454         * docs/html/20_util/howto.html:  Likewise.
1455         * docs/html/21_strings/howto.html:  Likewise.
1456         * docs/html/22_locale/howto.html:  Likewise.
1457         * docs/html/23_containers/howto.html:  Likewise.
1458         * docs/html/24_iterators/howto.html:  Likewise.
1459         * docs/html/25_algorithms/howto.html:  Likewise.
1460         * docs/html/26_numerics/howto.html:  Likewise.
1461         * docs/html/27_io/howto.html:  Likewise.
1462         * docs/html/ext/howto.html:  Likewise.
1463         * docs/html/faq/index.html:  Likewise.  Spacing fix.
1464
1465 2001-10-03  Dimitris Vyzovitis  <vyzo@media.mit.edu>
1466
1467         * include/bits/stl_threads.h (_Atomic_swap): New function.
1468         (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
1469         * testsuite/ext/rope.cc: New file.
1470
1471 2001-10-02  Benjamin Kosnik  <bkoz@redhat.com>
1472
1473         * config/locale/time_members_gnu.h: Remove.
1474         * config/locale/time_members_generic.h: Remove.
1475         * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
1476         * config/locale/time_members_generic.cc: Same.
1477         * include/bits/locale_facets.h: Add data members.
1478         (__timepunct::_M_put_helper): Change signature.
1479         (__timepunct::_M_date_formats): Same.
1480         (__timepunct::_M_time_formats): Same.
1481         (__timepunct::_M_ampm): Add.
1482         (__timepunct::_M_date_time_formats): Add.
1483         (time_get::_M_extract_via_format): Add.
1484         (time_get::_M_extract_time): Change to...
1485         (time_get::_M_extract_num): ... this, modify signature.
1486         * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
1487         (time_get::do_get_time): Fix.
1488         (time_get::do_get_date): Fix.
1489
1490         * acinclude.m4: Remove CTIME_H.
1491         * aclocal.m4: Regenerate.
1492         * include/Makefile.am: Same.
1493         * include/Makefile.in: Regenerate.
1494         * configure: Regenerate.
1495
1496         * testsuite/22_locale/time_get_members_char.cc: Fix.
1497         * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
1498         * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
1499
1500 2001-10-01  Hans-Peter Nilsson  <hp@axis.com>
1501
1502         * config/cpu/cris/bits/atomicity.h: Correct file header.
1503
1504 2001-09-29  Hans-Peter Nilsson  <hp@axis.com>
1505
1506         * configure.target (LIMITSH): Set for cris.
1507         (cpu_include_dir): Set for cris-*-*.
1508         * config/cpu/cris/bits/atomicity.h: New file.
1509         * config/cpu/cris/bits/limits.h: New file.
1510
1511 2001-09-28  Benjamin Kosnik  <bkoz@redhat.com>
1512
1513         * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
1514         (__timepunct::_M_put_helper): Add.
1515         * config/locale/time_members_generic.h: Same.
1516         * include/bits/locale_facets.h (__match_parallel): Remove. Format.
1517         (__timepunct): Add data members.
1518         (__timepunct::_M_days): Add.
1519         (__timepunct::_M_days_abbreviated): Add.
1520         (__timepunct::_M_months): Add.
1521         (__timepunct::_M_months_abbreviated): Add.
1522         (__timepunct::_M_initialize_timepunct): Add.
1523         * include/bits/locale_facets.tcc: Same.
1524         * src/locale-inst.cc: Remove instantiations for __match_parallel.
1525         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
1526         * aclocal.m4: Regenerate.
1527         * configure: Regenerate.
1528         * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
1529         * testsuite/22_locale/time_put_members_char.cc (test01): New file.
1530         * testsuite/22_locale/time_get.cc: New file.
1531
1532 2001-09-28  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1533
1534         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
1535         correct multilib builddir.
1536         Properly locate libgcc_s.
1537
1538 2001-09-27  Phil Edwards  <pme@gcc.gnu.org>
1539
1540         * include/std/*:  Add Doxygen hooks.
1541         * docs/doxygen/Intro.3:  New file, general intro to the man pages.
1542         * docs/doxygen/mainpage.doxy:  Formatting tweaks.  List our own links
1543         rather than using a generated index.
1544         * docs/doxygen/user.cfg.in:  Disable the index, enable man pages.
1545         * docs/doxygen/run_doxygen:  Massage the generated man pages, using...
1546         * docs/doxygen/stdheader.cc:  ...this new file.
1547
1548 2001-09-26  Stan Shebs  <shebs@apple.com>
1549
1550         * include/Makefile.am: Remove RCS Id strings.
1551         * src/Makefile.am: Ditto.
1552         * docs/doxygen/run_doxygen: Ditto.
1553         * docs/html/configopts.html: Ditto.
1554         * docs/html/documentation.html: Ditto.
1555         * docs/html/explanations.html: Ditto.
1556         * docs/html/install.html: Ditto.
1557         * docs/html/17_intro/howto.html: Ditto.
1558         * docs/html/18_support/howto.html: Ditto.
1559         * docs/html/19_diagnostics/howto.html: Ditto.
1560         * docs/html/20_util/howto.html: Ditto.
1561         * docs/html/21_strings/howto.html: Ditto.
1562         * docs/html/22_locale/howto.html: Ditto.
1563         * docs/html/23_containers/howto.html: Ditto.
1564         * docs/html/24_iterators/howto.html: Ditto.
1565         * docs/html/25_algorithms/howto.html: Ditto.
1566         * docs/html/26_numerics/howto.html: Ditto.
1567         * docs/html/27_io/howto.html: Ditto.
1568         * docs/html/ext/howto.html: Ditto.
1569         * docs/html/ext/sgiexts.html: Ditto.
1570         * docs/html/faq/index.html: Ditto.
1571         * docs/html/faq/index.txt: Ditto.
1572
1573 2001-09-25  Phil Edwards  <pme@gcc.gnu.org>
1574
1575         * testsuite/21_strings/c_strings.cc (test01, test02):  Increase
1576         `carray' size.
1577
1578 2001-09-25  Phil Edwards  <pme@gcc.gnu.org>
1579
1580         * docs/html/20_util/howto.html:  Add anchor name.
1581         * docs/html/23_containers/howto.html:  Line wrapping, another link.
1582         * docs/html/25_algorithms/howto.html:  Another note.
1583
1584         * docs/html/ext/howto.html:  Link to SGI extensions.  List DRs and
1585         link to them...
1586         * docs/html/ext/lwg-active.html:  ...in this new file (from R19),
1587         * docs/html/ext/lwg-defects.html:  and this new file (from R19).
1588         * docs/html/ext/sgiexts.html:  New file.  Mention SGI extensions
1589         carried over to libstdc++-v3.
1590         * docs/html/faq/index.html:  Link to SGI extensions.  Mention the
1591         "missing .." pseudobug.
1592         * docs/html/faq/index.txt:  Regenerate.
1593
1594         * include/bits/ios_base.h:  DR-related comment cleanup.
1595         * include/bits/istream.tcc:  Likewise.
1596         * include/bits/locale_facets.h:  Likewise.
1597         * include/bits/locale_facets.tcc:  Likewise.
1598         * include/bits/ostream.tcc:  Likewise.
1599         * include/bits/std_bitset.h:  Likewise.
1600         * include/bits/std_iosfwd.h:  Likewise.
1601         * include/bits/std_istream.h:  Likewise.
1602         * include/bits/std_ostream.h:  Likewise.
1603         * include/bits/std_streambuf.h:  Likewise.
1604         * include/bits/stl_pair.h:  Likewise.
1605         * include/bits/streambuf_iterator.h:  Likewise.
1606
1607         * include/bits/std_map.h:  Remove unused header inclusion guard
1608         _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
1609         * include/bits/std_set.h:  Likewise.
1610
1611         * include/bits/stl_function.h:  Doxygen markup.
1612         * docs/doxygen/doxygroups.cc:  New file, specifying module grouping.
1613         * libsupc++/typeinfo:  Doxygen markup tweak.
1614
1615 2001-09-20  Scott Johnston <scott@accom.com>
1616             Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1617
1618         * include/backward/alloc.h: Conditionally define malloc_alloc
1619         * testsuite/backward/header_deque_h.cc: New file.
1620
1621 2001-09-20  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1622
1623         * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
1624         change variable name so that it works with -fno-for-scope.
1625
1626 2001-09-20  Benjamin Kosnik  <bkoz@redhat.com>
1627
1628         * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
1629         redundant sanity checks.
1630         * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
1631         (test02): Same.
1632         * testsuite/22_locale/money_put_members_char.cc (test01): Same.
1633         (test02): Same.
1634         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
1635         * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
1636         * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
1637         (test02): Same.
1638         * testsuite/22_locale/money_get_members_char.cc (test01): Same.
1639         (test02): Same.
1640
1641 2001-09-19  Benjamin Kosnik  <bkoz@redhat.com>
1642
1643         Implement std::time_put.
1644         * include/bits/locale_facets.h: Include time_members.h.
1645         (__timepunct): New.
1646         (time_put): Implement.
1647         * include/bits/locale_facets.tcc (do_put): Put generic versions here.
1648         * include/bits/localefwd.h: Bump number of facets.
1649         * config/locale/time_members_generic.h: New file.
1650         * config/locale/time_members_gnu.h: New file.
1651         * config/locale/c_locale_generic.h: Include clocale.
1652         * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
1653         * src/locale.cc: Add __timepunct initializations.
1654         * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
1655         * include/Makefile.am (stamp-target): Add time_members.h.
1656         * include/Makefile.in: Regenerate.
1657         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
1658         * aclocal.m4: Regenerate.
1659         * configure: Regenerate.
1660         * testsuite/22_locale/time_put.cc: New file.
1661         * testsuite/22_locale/time_put_members_char.cc: New file.
1662
1663         * docs/html/22_locale/locale.html: Add note.
1664
1665 2001-09-17  Phil Edwards  <pme@gcc.gnu.org>
1666
1667         * docs/html/configopts.html:  HTML to XHTML change.  Lowercase tags.
1668         * docs/html/documentation.html:  Likewise.
1669         * docs/html/explanations.html:  Likewise.
1670         * docs/html/install.html:  Likewise.
1671         * docs/html/17_intro/howto.html:  Likewise.
1672         * docs/html/18_support/howto.html:  Likewise.
1673         * docs/html/19_diagnostics/howto.html:  Likewise.
1674         * docs/html/20_util/howto.html:  Likewise.
1675         * docs/html/21_strings/howto.html:  Likewise.
1676         * docs/html/22_locale/codecvt.html:  Likewise.
1677         * docs/html/22_locale/ctype.html:  Likewise.
1678         * docs/html/22_locale/howto.html:  Likewise.
1679         * docs/html/22_locale/locale.html:  Likewise.
1680         * docs/html/22_locale/messages.html:  Likewise.
1681         * docs/html/23_containers/howto.html:  Likewise.
1682         * docs/html/24_iterators/howto.html:  Likewise.
1683         * docs/html/25_algorithms/howto.html:  Likewise.
1684         * docs/html/26_numerics/howto.html:  Likewise.
1685         * docs/html/27_io/howto.html:  Likewise.
1686         * docs/html/ext/howto.html:  Likewise.
1687         * docs/html/faq/index.html:  Likewise.
1688         * docs/html/faq/index.txt:  Regenerated.
1689
1690 2001-09-14  Phil Edwards  <pme@sources.redhat.com>
1691
1692         * docs/html/17_intro/headers_cc.txt:  "Sync"/copy real file over.
1693         * docs/html/17_intro/howto.html:  Spacing and HTML markup fixes.
1694         * docs/html/18_support/howto.html:  It won't compile; it's not code.
1695         * docs/html/19_diagnostics/howto.html:  Point diagram seekers to
1696         doxygen'd pages.
1697         * docs/html/22_locale/howto.html:  Comment for future work.
1698         * docs/html/23_containers/howto.html:  More comments.
1699         * docs/html/25_algorithms/howto.html:  It's a comment, not a
1700         blunt command to the reader.  (English grammar.)
1701
1702 2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>
1703
1704         * config/locale/moneypunct_members_gnu.cc: Fix initialization of
1705         wchar_t members.
1706         * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
1707         * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
1708
1709 2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>
1710
1711         * include/bits/locale_facets.tcc: Conditionalize use of strtold.
1712
1713 2001-09-13  Alexandre Petit-Bianco  <apbianco@redhat.com>
1714
1715         * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
1716         * testsuite/22_locale/money_put_members_char.cc: Likewise.
1717         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1718
1719 2001-09-13  Benjamin Kosnik  <bkoz@redhat.com>
1720
1721         Implement std::money_get.
1722         * include/bits/locale_facets.tcc (money_get::do_get): Implement.
1723         * include/bits/locale_facets.h (money_get): Correct signatures.
1724         * testsuite/22_locale/money_get.cc: New file.
1725         * testsuite/22_locale/money_get_members_char.cc: New file.
1726
1727         * include/bits/locale_facets.tcc (__verify_grouping): New
1728         function. Consolidate num_get and money_get group checking into
1729         one function.
1730         (money_get): Use it.
1731         * src/locale.cc (num_get::_M_extract): Use it.
1732         * src/locale-inst.cc: Add instantiation.
1733
1734 2001-09-12  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1735
1736         * include/bits/std_limits.h (numeric_limits<float>::radix,
1737         numeric_limits<float>::epsilon:  Fix thinko.
1738
1739 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
1740
1741         * configure.in: Fix cross compiling math routines. Correct
1742         comments for cross compiling and limits. Add floating point math
1743         routines found in newlib.
1744         * configure: Regenerate.
1745         * acconfig.h: Add macros.
1746         * config.h.in: Regenerate.
1747
1748 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
1749
1750         * config/locale/moneypunct_members_generic.cc
1751         (money_base::_S_construct_pattern): Remove unused parameters.
1752
1753 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
1754
1755         * include/Makefile.am (stamp-target): Remove link to self.
1756         * inclulde/Makefile.in: Regenerate.
1757
1758 2001-09-09  Benjamin Kosnik  <bkoz@redhat.com>
1759
1760         Implement std::money_put.
1761         * include/bits/locale_facets.h
1762         (moneypunct::_M_initialize_moneypunct): Split up specializations
1763         to account for _Intl.  More grody hacking to get around the
1764         ill-considered use of const bool as a template parameter.
1765         * config/locale/moneypunct_members_gnu.cc: And here.
1766         * config/locale/moneypunct_members_generic.cc: And here.
1767         * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
1768         * testsuite/22_locale/moneypunct.cc: Add tests.
1769         * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
1770         * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
1771
1772         * src/locale.cc (money_base::_S_construct_pattern): Move into
1773         gnu-specific file.
1774         * config/locale/moneypunct_members_gnu.cc: Add here.
1775         * config/locale/moneypunct_members_generic.cc: Add generic version
1776         here.
1777
1778         * include/bits/locale_facets.tcc (money_put::do_put): Move member
1779         function definitions here.
1780         * include/bits/locale_facets.h (money_put): Implement.
1781         * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
1782         Correct money_get, money_put instantiations.
1783         * src/locale.cc (money_base::_S_construct_pattern): Handle case
1784         where __posn == 0.
1785         * testsuite/22_locale/money_put_members_char.cc: Add tests.
1786
1787 2001-09-05  Phil Edwards  <pme@sources.redhat.com>
1788
1789         * testsuite_flags.in:  No longer need to search testsuite builddir.
1790         * src/stl-inst.cc (__sink_unused_warning):  Unused, remove.
1791         * Makefile.am:  The testsuite directory never needs to be made here.
1792         * Makefile.in:  Regenerate.
1793         * include/Makefile.in:  Regenerate.
1794         * libio/Makefile.in:  Regenerate.
1795         * libmath/Makefile.in:  Regenerate.
1796         * libsupc++/Makefile.in:  Regenerate.
1797         * po/Makefile.in:  Regenerate.
1798         * src/Makefile.in:  Regenerate.
1799         * testsuite/Makefile.in:  Regenerate.
1800
1801 2001-09-04  Scott Johnston  <scott@accom.com>
1802             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1803
1804         * include/backward/iterator.h: Include <bits/std_iterator.h>,
1805         remove reverse_bidirectional_iterator.
1806         * testsuite/backward: New directory.
1807         * testsuite/backward/header_iterator_h.cc: New file.
1808
1809 2001-09-04  Benjamin Kosnik  <bkoz@redhat.com>
1810
1811         * include/c_std/bits/std_c*.h: Don't use include_next.
1812
1813 2001-09-03  Richard Sandiford  <rsandifo@redhat.com>
1814
1815         * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
1816         tmp from _Unwind_Ptr to _Unwind_Word.
1817
1818 2001-08-31  Jason Merrill  <jason_merrill@redhat.com>
1819
1820         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
1821         leb128 handling.
1822
1823 2001-08-28  Loren J. Rittle  <ljrittle@acm.org>
1824
1825         * include/Makefile.am: Use toplevel_srcdir to refer to src files
1826         outside this component.
1827         * include/Makefile.in: Regenerate.
1828
1829 2001-08-27  Benjamin Kosnik  <bkoz@redhat.com>
1830
1831         * config/locale/c_locale_gnu.cc: Move facet info to separate files...
1832         * config/locale/c_locale_generic.cc: Same.
1833         * config/locale/moneypunct_members_gnu.cc: New file.
1834         * config/locale/moneypunct_members_generic.cc: New file.
1835         * config/locale/numpunct_members_gnu.cc: New file.
1836         * config/locale/numpunct_members_generic.cc: New file.
1837         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
1838         options.
1839         * aclocal.m4: Regenerate.
1840         * configure: Regenerate.
1841         * src/Makefile.am (sources): And here.
1842         * src/Makefile.in: Regenerate.
1843
1844         Rename for consistency with rest of testsuite.
1845         * testsuite/22_locale/codecvt.cc: New file.
1846         * testsuite/22_locale/money_put.cc: New file.
1847         * testsuite/22_locale/money_put_members_char.cc: New file.
1848
1849 2001-08-27  Phil Edwards  <pme@sources.redhat.com>
1850
1851         PR libstdc++/4143
1852         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO):  Handle enable/disable
1853         correctly for version-specific-runtime-libs.
1854         * aclocal.m4:  Regenerate.
1855         * configure:  Regenerate.
1856
1857 2001-08-24  Loren J. Rittle  <ljrittle@acm.org>
1858
1859         * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
1860         define if not already provided by per-OS file.
1861         * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
1862         Define.
1863
1864 2001-08-24  Jan van Male <jan.vanmale@fenk.wau.nl>
1865
1866         * docs/html/17_intro/C++STYLE:  Fix typo.
1867
1868 2001-08-24  Phil Edwards  <pme@sources.redhat.com>
1869
1870         * docs/html/23_containers/howto.html:  Describe implementation of
1871         insertion with hints.
1872
1873 2001-08-24  Kenny Simpson  <kenny.simpson@gs.com>
1874
1875         libstdc++/3740
1876         * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
1877
1878 2001-08-24  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
1879             Phil Edwards  <pme@sources.redhat.com>
1880
1881         PR libstdc++/3349
1882         * include/bits/stl_tree.h (insert_unique):  Revert last change.
1883         Values inserted at begin() must be less, not greater, than *begin()'s.
1884         * testsuite/23_containers/map_insert.cc:  New file.
1885
1886 2001-08-23  Benjamin Kosnik  <bkoz@redhat.com>
1887
1888         * config/locale/c_locale_gnu.cc: Minor tweaks.
1889         (moneypunct<wchar_t>): Implement.
1890         * include/bits/locale_facets.h: Same.
1891         * testsuite/22_locale/moneypunct.cc: New file.
1892         * testsuite/22_locale/moneypunct_byname.cc: New file.
1893         * testsuite/22_locale/moneypunct_char_members.cc: New file.
1894
1895 2001-08-23  David Edelsohn  <edelsohn@gnu.org>
1896
1897         * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
1898         Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
1899
1900 2001-08-23  Jason Merrill  <jason_merrill@redhat.com>
1901
1902         * testsuite_flags.in (build-includes): Re-add backward.
1903
1904 2001-08-22  Benjamin Kosnik  <bkoz@redhat.com>
1905
1906         * testsuite/22_locale/collate_wchar_t_members.cc: Guard
1907         with _GLIBCPP_USE_WCHAR_T.
1908
1909 2001-08-21  Benjamin Kosnik  <bkoz@redhat.com>
1910
1911         * testsuite/22_locale/collate_byname.cc (test01): Fix.
1912
1913 2001-08-18  Vladimir A Merzliakov  <wanderer@rsu.ru>
1914
1915         * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
1916
1917 2001-08-18  Benjamin Kosnik  <bkoz@redhat.com>
1918
1919         * testsuite/22_locale/operators.cc: Add test.
1920
1921 2001-08-17  Benjamin Kosnik  <bkoz@redhat.com>
1922
1923         Implement std::collate.
1924         * config/locale/collate_specializations_gnu.cc: Add here, implement in
1925         MT-safe way.
1926         * config/locale/collate_specializations_generic.cc: Add here, but
1927         in a less sophisticated manner.
1928         * include/bits/locale_facets.tcc (collate): Add generic definition.
1929         * include/bits/locale_facets.h (~collate): Mark virtual.
1930         (collate::_M_compare_helper): New.
1931         (collate::_M_transform_helper): New.
1932         * src/locale.cc: Remove unnecessary specializations.
1933         * src/string-inst.cc: Tweak instantiation of ctors.
1934
1935         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
1936         * aclocal.m4: Regenerate.
1937         * configure: Regenerate.
1938         * src/Makefile.am (sources): Add collate.cc.
1939         * src/Makefile.in: Regenerate.
1940
1941         * testsuite/22_locale/collate_byname.cc: New.
1942         * testsuite/22_locale/collate.cc: New file.
1943         * testsuite/22_locale/collate_char_members.cc: New file.
1944         * testsuite/22_locale/collate_wchar_t_members.cc: New file.
1945
1946 2001-08-16  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1947
1948         * configure.target: Set LIMITSH for powerpc-*-*.
1949         * config/cpu/powerpc/bits/limits.h: New file.
1950
1951 2001-08-16  Marc Espie <espie@openbsd.org>
1952
1953         * configure.in:  Check for <sys/types.h>.
1954         * configure:  Rebuild.
1955         * config.h.in:  Rebuild.
1956         * libmath/mathconf.h:  Include <sys/types.h> prior to
1957         <machine/endian.h> if available.
1958
1959 2001-08-15  Andreas Schwab  <schwab@suse.de>
1960
1961         * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
1962         m68k and m680[246]0.
1963         * config/cpu/m68k/bits/atomicity.h: New file.
1964
1965         * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
1966         Define appropriate long double limits for m68k extended floating
1967         point.
1968         (__glibcpp_f32_digits10): Corrected, off by one.
1969         (__glibcpp_f80_digits10): Likewise.
1970         (__glibcpp_f128_digits10): Likewise.
1971         * config/os/gnu-linux/bits/os_defines.h
1972         (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
1973
1974 2001-08-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1975
1976         * testsuite/18_support/numeric_limits.cc: Add more tests.
1977         * include/bits/std_limits.h (numeric_limits<char>::max): Fix
1978         typo.
1979
1980 2001-08-14  Ulrich Weigand  <uweigand@de.ibm.com>
1981
1982         * configure.target (cpu_include_dir): Set to `config/cpu/s390'
1983         for s390 and s390x.
1984
1985         * config/cpu/s390/bits/atomicity.h: New.
1986
1987 2001-08-14  Gabriel Dos Reis  <gdr@codesourcery.com>
1988
1989         * include/bits/std_limits.h: Fix thinko.
1990
1991 2001-08-14  Benjamin Kosnik  <bkoz@redhat.com>
1992
1993         * include/Makefile.am: Consolidate target rules. Don't clean stamp
1994         files. Tweak target build directory stamp.
1995         * include/Makefile.in: Regenerate.
1996
1997 2001-08-14  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1998
1999         * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
2000         _GBLICPP_HAVE_LOGL with HAVE_LOGL
2001
2002 2001-08-13  Benjamin Kosnik  <bkoz@redhat.com>
2003
2004         * configure.in (libtool_VERSION): Add.
2005         (VERSION): Change to
2006         (release_VERSION): This.
2007         * configure: Regenerate.
2008         * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
2009         libtool_VERSION.
2010         * src/Makefile.in: Regenerate.
2011
2012         * intl/Makefile.am: Remove.
2013         * intl/Makefile.in: Remove.
2014         * intl: Remove.
2015         * Makefile.am (SUBDIRS): Remove intl.
2016         * po/Makefile.am (DISTFILES): Add string_literals.cc
2017         (MSGFMT): Add.
2018         * po/string_literals.cc: Add.
2019         * po/POTFILES.in: Fix path.
2020         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
2021         * aclocal.m4: Regenerate.
2022         * configure.in: Remove AC_OUTPUT of intl/Makefile.
2023
2024         * include/backward/backward_warning.h: Clarify message.
2025
2026         * testsuite_flags.in (--cxxflags): Use same debug flags for
2027         library and testsuite.
2028
2029         * include/Makefile.am (c_compatibility): Remove.
2030         * include/Makefile.in: Regenerate.
2031
2032 2001-08-13  Mark Mitchell  <mark@codesourcery.com>
2033
2034         * configure.in (LIMITS_INC_SRCDIR): New variable.
2035         * configure.target (LIMITSH): New variable.
2036         * porting.texi: Discuss numeric limits.
2037         * config/cpu/generic/bits/limits.h: New file.
2038         * config/cpu/i386/bits/limits.h: New file.
2039         * include/Makefile.am: Install bits/limits.h.
2040         * include/bits/c++config: Include bits/limits.h.
2041
2042 2001-08-13  H.J. Lu  (hjl@gnu.org)
2043
2044         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
2045         New. Copy files.
2046         (libstdc++-v3-init ): Use it.
2047
2048 2001-08-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2049
2050         * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
2051         to '__adjust' to avoid shadowing in nested scope.
2052
2053 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2054
2055         * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
2056         __CHAR_UNSIGNED__.
2057
2058         * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
2059         Likewise.
2060         * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
2061         Remove.
2062
2063 2001-08-10  Loren J. Rittle  <ljrittle@acm.org>
2064
2065         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
2066         dummy default argument to the non-limit implementation.
2067
2068         bootstrap/3963
2069         * include/Makefile.am: Use relative file path in rule to allow
2070         colon in $(objdir).
2071         * include/Makefile.in: Rebuilt.
2072
2073 2001-08-10  Gunter Winkler  <gunter.winkler@mathematik.tu-chemnitz.de>
2074
2075         * include/bits/std_complex.h (complex<long double>::operator*=,
2076         complex<long double>::operator/=): Fix thinko.
2077
2078 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2079
2080         * include/bits/std_limits.h: New file.
2081         * include/Makefile.am (bits_headers): Add std_limits.h
2082         (all-local): std_limits.h is no longer built.
2083         (${target_builddir}/std_limits.h): Remove.
2084         * include/Makefile.in: Regenerate.
2085         * src/limits.cc: New file.
2086         * src/Makefile.am (sources): Add limits.cc in replacement of
2087         limitsMEMBERS.cc.
2088         * src/Makefile.in: Regenerate.
2089
2090 2001-08-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2091
2092         * src/gen-num-limits.cc (digits10): Fix thinko.
2093
2094 2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
2095
2096         * po/Makefile.am (check-no): Add.
2097         (check-yes): Same.
2098         * po/Makefile.in: Regenerate.
2099
2100 2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
2101
2102         * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
2103         * config.h.in: Regenerate.
2104         * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
2105         function.
2106         * aclocal.m4: Regenerate.
2107         * configure.in: Remove duplicate AM_CONFIG_HEADER.
2108         (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
2109         Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
2110         * configure: Regenerate.
2111         * testsuite_hooks.h.in: Move to...
2112         * testsuite_hooks.h: Here, include c++config.h. Use it.
2113
2114         * Makefile.am (SUBDIRS): Move testsuite to last directory.
2115         * Makefile.in: Regenerate.
2116         * po/Makefile.am (stamp-po): Add.
2117
2118 2001-08-09  David Edelsohn  <edelsohn@gnu.org>
2119
2120         * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
2121         * config/os/generic/bits/os_defines.h: Likewise.
2122         * config/os/gnu-linux/bits/os_defines.h: Likewise.
2123         * config/os/hpux/bits/os_defines.h: Likewise.
2124         * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
2125         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2126
2127 2001-08-08  Benjamin Kosnik  <bkoz@redhat.com>
2128
2129         * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
2130         -version-info, use substituted VERSION info.
2131         * src/Makefile.in: Regenerate.
2132
2133 2001-08-07  Benjamin Kosnik  <bkoz@redhat.com>
2134
2135         Implement std::messages.
2136         Make config a fully-nested directory.
2137         * config/locale: New directory.
2138         * config/c_locale_generic.cc: Move into locale subdirectory.
2139         * config/c_locale_generic.h: Same.
2140         * config/c_locale_gnu.cc: Same.
2141         * config/c_locale_gnu.h: Same.
2142         * config/c_locale_ieee_1003.1-200x.cc: Same.
2143         * config/c_locale_ieee_1003.1-200x_.h: Same.
2144         * config/codecvt_specializations_generic.h: Same.
2145         * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
2146         * config/messages_members_gnu.h: Same.
2147         * config/messaages_members_gnu.cc: Same.
2148         * config/messages_members_generic.h: Same.
2149         * config/messaages_members_generic.cc: Same.
2150         * config/messages_members_ieee_1003.1-200x.h: Same.
2151         * config/messaages_members_ieee_1003.1-200x.cc: Same.
2152         * config/io: New directory.
2153         * config/basic_file_libio.h: Move into io subdirectory.
2154         * config/basic_file_libio.cc: Same.
2155         * config/c_io_libio.h: Same.
2156         * config/c_io_libio_codecvt.c: Same.
2157         * config/basic_file_stdio.h: Same.
2158         * config/basic_file_stdio.cc: Same.
2159         * config/c_io_stdio.h: Same.
2160
2161         * po: New directory.
2162         * po/POTFILES.in: New file.
2163         * po/Makefile.am: New file.
2164         * po/Makefile.in: New file.
2165         * po/libstdc++.pot: Generic translation file.
2166         * po/fr.po: Preliminary French translation.
2167         * po/de.po: Preliminary German translation.
2168         * intl: New directory.
2169         * intl/Makefile.am: New file.
2170         * intl/Makefile.in: New file.
2171         * intl/string_literals.cc: New file.
2172         * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
2173         requisite setup for gettext. Re-arrange.
2174         * aclocal.m4: Regenerate.
2175         * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
2176         Output Makefile bits for po and intl.
2177         * configure: Regenerate.
2178         * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
2179         * Makefile.in: Regenerate.
2180         * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
2181         * config.h.in: Regenerate.
2182
2183         * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
2184
2185         * include/Makefile.am (install-data-local): Don't install Makefile.
2186         * include/Makefile.in: Regenerate.
2187
2188         * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
2189         Add member.
2190         * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
2191         * config/locale/c_locale_generic.cc: Same.
2192         * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
2193
2194         * include/bits/codecvt.h: Excise non-standard, non-required
2195         bits. This includes __enc_traits, and partial specializations of
2196         codecvt for __enc_traits.
2197         * src/codecvt.cc (__enc_traits::_S_max_size): Guard
2198         * config/codecvt_partials_ieee_1003.1-200x.h: New file.
2199         * config/codecvt_partials_generic.h: New file.
2200         * include/Makefile.am (allstamps): Add stamp-codecvt_model.
2201         (stamp-codecvt_model): Add.
2202         * include/Makefile.in: Regenerate.
2203         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
2204         * aclocal.m4: Regenerate.
2205         * configure: Regenerate.
2206         * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
2207         * testsuite/22_locale/codecvt_unicode_char.cc: Same.
2208         * testsuite/22_locale/ctor_copy_dtor.cc: And here.
2209
2210         * include/bits/localefwd.h (class locale::facet): Add __enc_traits
2211         as a friend for _S_*_c_locale functions.
2212         * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
2213         argument to default constructor so that CODESET information can be
2214         deduced.
2215         * include/bits/locale_facets.h (messages_byname):
2216         Re-implement. Remove specializations.
2217         * src/locale.cc (messages_byname<char>): Remove specialization.
2218         (messages_byname<wchar_t>): Same.
2219         * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
2220         * config/locale/c_locale_ieee_1003.1-200x.h: New file.
2221         * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
2222         * config/locale/messages_members_ieee_1003.1-200x.h: New file.
2223         * config/locale/messages_members_gnu.cc: New file.
2224         * config/locale/messages_members_gnu.h: New file.
2225         * config/locale/messages_members_generic.cc: New file.
2226         * config/locale/messages_members_generic.h: New file.
2227
2228         * docs/html/configopts.html: Add documentation for new locale
2229         model, ieee_1003.1. Adjust other flags for current defaults.
2230         * docs/html/22_locale/locale.html: Update.
2231         * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
2232         * docs/html/22_locale/messages.html: New.
2233
2234         * src/Makefile.am (sources): Add messages_virtuals.cc.
2235         * src/Makefile.in: Regenerate.
2236         * include/Makefile.am (allstamps): Add stamp-messages_model.
2237         (stamp-messages_model): Add.
2238         * include/Makefile.in: Regenerate.
2239         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
2240         * aclocal.m4: Regenerate.
2241         * configure: Regenerate.
2242
2243         * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
2244         * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
2245         bits for Irix.
2246         * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
2247         build directories message catalog base directory, and export.
2248         Eventually this should probably be made to deal with build and
2249         install directories. For now, punt on this as the library itself
2250         doesn't use message catalogs (yet).
2251         * testsuite/22_locale/messages.cc: New file.
2252         * testsuite/22_locale/messages_char_members.cc: New file.
2253         * testsuite/22_locale/messages_byname.cc: New file.
2254
2255 2001-08-06  Phil Edwards  <pme@sources.redhat.com>
2256
2257         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE):  New macro, calls...
2258         (GLIBCPP_CHECK_SETRLIMIT):  ...this new macro, which also uses...
2259         (GLIBCPP_CHECK_SETRLIMIT_ancilliary):  ...this new macro.
2260         * configure.in (AM_CONFIG_HEADER):  Also generate testsuite_hooks.h.
2261         Call GLIBCPP_CONFIGURE_TESTSUITE.
2262         * aclocal.m4:  Regenerate.
2263         * config.h.in:  Regenerate.
2264         * configure:  Regenerate.
2265
2266         * testsuite/lib/libstdc++-v3-dg.exp:  Download new header instead
2267         of old header.
2268
2269         * testsuite_flags.in:  Add build dir's testsuite to INCLUDES.
2270         * testsuite/debug_assert.h:  Removed; contents merged into...
2271         * testsuite/testsuite_hooks.h.in:  ...here.  New file.
2272         * testsuite/17_intro/header_ciso646.cc:  No longer include
2273         debug_assert.h, include testsuite_hooks.h instead.
2274         * testsuite/17_intro/header_fstream.cc:  Likewise.
2275         * testsuite/17_intro/header_iomanip.cc:  Likewise.
2276         * testsuite/17_intro/header_ios.cc:  Likewise.
2277         * testsuite/17_intro/header_iosfwd.cc:  Likewise.
2278         * testsuite/17_intro/header_iostream.cc:  Likewise.
2279         * testsuite/17_intro/header_istream.cc:  Likewise.
2280         * testsuite/17_intro/header_ostream.cc:  Likewise.
2281         * testsuite/17_intro/header_sstream.cc:  Likewise.
2282         * testsuite/17_intro/header_streambuf.cc:  Likewise.
2283         * testsuite/18_support/numeric_limits.cc:  Likewise.
2284         * testsuite/19_diagnostics/stdexceptions.cc:  Likewise.
2285         * testsuite/20_util/allocator_members.cc:  Likewise.
2286         * testsuite/20_util/auto_ptr.cc:  Likewise.
2287         * testsuite/20_util/pairs.cc:  Likewise.
2288         * testsuite/21_strings/append.cc:  Likewise.
2289         * testsuite/21_strings/capacity.cc:  Likewise.
2290         * testsuite/21_strings/char_traits_requirements.cc:  Likewise.
2291         * testsuite/21_strings/compare.cc:  Likewise.
2292         * testsuite/21_strings/ctor_copy_dtor.cc:  Likewise.  Also set up
2293         call to (disabled) __set_testsuite_memlimit() wrapper.
2294         * testsuite/21_strings/element_access.cc:  Likewise.
2295         * testsuite/21_strings/find.cc:  Likewise.
2296         * testsuite/21_strings/insert.cc:  Likewise.  Also set up call to
2297         (disabled) __set_testsuite_memlimit() wrapper.
2298         * testsuite/21_strings/inserters_extractors.cc:  Likewise.
2299         * testsuite/21_strings/invariants.cc:  Likewise.
2300         * testsuite/21_strings/nonmember.cc:  Likewise.
2301         * testsuite/21_strings/operations.cc:  Likewise.
2302         * testsuite/21_strings/replace.cc:  Likewise.
2303         * testsuite/21_strings/rfind.cc:  Likewise.
2304         * testsuite/21_strings/substr.cc:  Likewise.
2305         * testsuite/22_locale/codecvt_char_char.cc:  Likewise.
2306         * testsuite/22_locale/codecvt_unicode_char.cc:  Likewise.
2307         * testsuite/22_locale/codecvt_unicode_wchar_t.cc:  Likewise.
2308         * testsuite/22_locale/codecvt_wchar_t_char.cc:  Likewise.
2309         * testsuite/22_locale/ctor_copy_dtor.cc:  Likewise.
2310         * testsuite/22_locale/ctype_char_members.cc:  Likewise.
2311         * testsuite/22_locale/ctype_wchar_t_members.cc:  Likewise.
2312         * testsuite/22_locale/facet.cc:  Likewise.
2313         * testsuite/22_locale/global_templates.cc:  Likewise.
2314         * testsuite/22_locale/members.cc:  Likewise.
2315         * testsuite/22_locale/numpunct_byname.cc:  Likewise.
2316         * testsuite/22_locale/numpunct_char_members.cc:  Likewise.
2317         * testsuite/22_locale/operators.cc:  Likewise.
2318         * testsuite/22_locale/static_members.cc:  Likewise.
2319         * testsuite/23_containers/bitset_ctor.cc:  Likewise.
2320         * testsuite/23_containers/bitset_members.cc:  Likewise.
2321         * testsuite/23_containers/bitset_shift.cc:  Likewise.
2322         * testsuite/23_containers/vector_capacity.cc:  Likewise.
2323         * testsuite/23_containers/vector_ctor.cc:  Likewise.
2324         * testsuite/23_containers/vector_element_access.cc:  Likewise.
2325         * testsuite/23_containers/vector_modifiers.cc:  Likewise.
2326         * testsuite/24_iterators/istreambuf_iterator.cc:  Likewise.
2327         * testsuite/24_iterators/iterator.cc:  Likewise.
2328         * testsuite/24_iterators/ostreambuf_iterator.cc:  Likewise.
2329         * testsuite/25_algorithms/binary_search.cc:  Likewise.
2330         * testsuite/25_algorithms/copy.cc:  Likewise.
2331         * testsuite/25_algorithms/heap.cc:  Likewise.
2332         * testsuite/25_algorithms/lower_bound.cc:  Likewise.
2333         * testsuite/25_algorithms/min_max.cc:  Likewise.
2334         * testsuite/25_algorithms/partition.cc:  Likewise.
2335         * testsuite/25_algorithms/rotate.cc:  Likewise.
2336         * testsuite/25_algorithms/sort.cc:  Likewise.
2337         * testsuite/26_numerics/c_math.cc:  Likewise.
2338         * testsuite/26_numerics/complex_inserters_extractors.cc:  Likewise.
2339         * testsuite/26_numerics/complex_value.cc:  Likewise.
2340         * testsuite/27_io/filebuf.cc:  Likewise.
2341         * testsuite/27_io/filebuf_members.cc:  Likewise.
2342         * testsuite/27_io/filebuf_virtuals.cc:  Likewise.
2343         * testsuite/27_io/fpos.cc:  Likewise.
2344         * testsuite/27_io/fstream_members.cc:  Likewise.
2345         * testsuite/27_io/ifstream_members.cc:  Likewise.
2346         * testsuite/27_io/ios_base_callbacks.cc:  Likewise.
2347         * testsuite/27_io/ios_base_members_static.cc:  Likewise.
2348         * testsuite/27_io/ios_base_storage.cc:  Likewise.
2349         * testsuite/27_io/ios_ctor.cc:  Likewise.
2350         * testsuite/27_io/ios_init.cc:  Likewise.
2351         * testsuite/27_io/ios_manip_basefield.cc:  Likewise.
2352         * testsuite/27_io/ios_manip_fmtflags.cc:  Likewise.
2353         * testsuite/27_io/ios_members.cc:  Likewise.
2354         * testsuite/27_io/istream_extractor_arith.cc:  Likewise.
2355         * testsuite/27_io/istream_extractor_char.cc:  Likewise.
2356         * testsuite/27_io/istream_extractor_other.cc:  Likewise.
2357         * testsuite/27_io/istream_manip.cc:  Likewise.
2358         * testsuite/27_io/istream_seeks.cc:  Likewise.
2359         * testsuite/27_io/istream_sentry.cc:  Likewise.
2360         * testsuite/27_io/istream_unformatted.cc:  Likewise.
2361         * testsuite/27_io/istringstream_members.cc:  Likewise.
2362         * testsuite/27_io/narrow_stream_objects.cc:  Likewise.
2363         * testsuite/27_io/ofstream_members.cc:  Likewise.
2364         * testsuite/27_io/ostream_inserter_arith.cc:  Likewise.
2365         * testsuite/27_io/ostream_inserter_char.cc:  Likewise.
2366         * testsuite/27_io/ostream_inserter_other.cc:  Likewise.
2367         * testsuite/27_io/ostream_manip.cc:  Likewise.
2368         * testsuite/27_io/ostream_seeks.cc:  Likewise.
2369         * testsuite/27_io/ostream_unformatted.cc:  Likewise.
2370         * testsuite/27_io/ostringstream_members.cc:  Likewise.
2371         * testsuite/27_io/streambuf.cc:  Likewise.
2372         * testsuite/27_io/stringbuf.cc:  Likewise.
2373         * testsuite/27_io/stringbuf_virtuals.cc:  Likewise.
2374         * testsuite/27_io/stringstream.cc:  Likewise.
2375         * testsuite/27_io/stringstream_members.cc:  Likewise.
2376         * testsuite/27_io/wide_stream_objects.cc:  Likewise.
2377
2378 2001-07-31  Loren J. Rittle  <ljrittle@acm.org>
2379
2380         * src/gen-num-limits.cc:  Use __LONG_LONG_MAX__.
2381
2382 2001-07-30  Benjamin Kosnik  <bkoz@redhat.com>
2383
2384         * configure.target: Remove mips from cpu table.
2385         * config/cpu/mips/bits/atomicity.h: Remove generic
2386         versions. Comment sgidefs include.
2387
2388 2001-07-25  H.J. Lu <hjl@gnu.org>
2389
2390         * configure.target (cpu_include_dir): Set to `config/cpu/mips'
2391         for mips.
2392
2393         * config/cpu/mips/bits/atomicity.h: New.
2394
2395 2001-07-25  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2396
2397         * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
2398         hypotl, atan2f, atan2l.  Remove from REPLACE_MATHFUNCS list.
2399         * aclocal.m4: Regenerate.
2400         * config.h.in: Likewise.
2401         * configure: Likewise.
2402         * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
2403         (EXTRA_DIST): Remove hypot.c hypotf.c.
2404         * libmath/Makefile.am: Regenerate.
2405         * libmath/hypotf.c: Remove.
2406         * libmath/hypot.c: Likewise.
2407         * libmath/hypotl.c: Likewise.
2408         * libmath/stubs.c: The macros seen here are HAVE_xxx, not
2409         _GLIBCPP_HAVE_xxx.  Add long double versions.
2410
2411 2001-07-23  David Edelsohn  <edelsohn@gnu.org>
2412
2413         * include/bits/limits_generic.h (int): Set digits and digits10
2414         appropriately for word size.
2415         (unsigned int,long,unsigned long): Likewise.
2416
2417 2001-07-19  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2418
2419         * include/bits/stl_algo.h : Fix typos.
2420         * testsuite/25_algorithms/unique.cc: New file.
2421
2422 2001-07-19  Phil Edwards  <pme@sources.redhat.com>
2423             Mark Mitchell <mark@codesourcery.com>
2424
2425         Merge from cp-parser-branch.
2426         * include/bits/basic_string.h:  Qualify symbols with 'template'.
2427         * include/bits/basic_string.tcc:  Likewise.
2428         * include/bits/fstream.tcc:  Likewise.
2429         * include/bits/istream.tcc:  Likewise.
2430         * include/bits/sstream.tcc:  Likewise.
2431         * include/bits/std_istream.h:  Likewise.
2432         * include/bits/stl_iterator.h:  Likewise.
2433         * include/bits/streambuf.tcc:  Likewise.
2434         * src/gen-num-limits.cc:  Add 'template<>' to specializations.
2435         * src/locale.cc:  Likewise.
2436
2437 2001-07-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2438             Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
2439
2440         * src/gen-num-limits.cc (set_signals_handler): New function.
2441         Factor out signals setting.  Set signal handler for SIGILL.
2442
2443 2001-07-18  Phil Edwards  <pme@sources.redhat.com>
2444
2445         * docs/html/27_io/howto.html:  Fix typo.
2446         * docs/html/faq/index.html:  Minor updates for 3.0 all around.
2447         * docs/html/faq/index.txt:  Regenerated.
2448
2449 2001-07-18  Stephen M. Webb  <stephen@bregmasoft..com>
2450             Roman Sulzhyk  <roman_sulzhyk@yahoo.com>
2451
2452         libstdc++/3599
2453         * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
2454         * testsuite/27_io/streambuf.cc (test07): Added new regression test.
2455
2456 2001-07-17  Stephen M. Webb   <stephen@bregmasoft.com>r
2457
2458         All occurrences of the __value_type() and __distance_type()
2459         functions, which were required to support the HP STL, have been
2460         removed along with all the auxiliary forwarding functions that
2461         were required to support their use.
2462
2463         The __iterator_category() function was pretty much left alone
2464         because there was no benefit to removing it and its use made code
2465         just a little more readable.
2466
2467         Incidences of distance() with nonstandard argument list were
2468         replaced by calls to the standard function (only in the files
2469         affected by the removal of the other HP functions).
2470
2471         The signature of the rotate() algorithm was changed to match the
2472         standard.
2473
2474         Headers were reformatted under C++STYLE guidelines (indentation,
2475         linebreaks, typename keyword).
2476
2477         * include/bits/stl_algo.h: replaced __value_type() and
2478         __distance_type() with iterator_traits, eliminated auxiliary
2479         support functions required to support said function usage.
2480         Changed nonstandard distance() call to standard call.
2481
2482         * include/bits/stl_algobase.h: Same.
2483         * include/bits/stl_heap.h: Same.
2484         * include/bits/stl_numeric.h: Same.
2485         * include/bits/stl_uninitialized.h: Same.
2486         * include/bits/stl_iterator_base_types.h (__value_type()):
2487         Removed.
2488         (__distance_type()): Removed.
2489         (value_type()): Gone.
2490         (distance_type()): Done in.
2491         (iterator_category()): Hasta la vista, baby.
2492
2493         * include/bits/stl_iterator_base_funcs.h (iterator_category()):
2494         Replaced with __iterator_category().
2495         * include/backward/iterator.h: moved definition of value_type(),
2496         distance_type(), and iterator_category() out of std:: and into
2497         here.
2498         * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
2499         * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
2500         * testsuite/25_algorithms/rotate.cc: New testcase.
2501         * testsuite/25_algorithms/copy.cc: New testcase.
2502         * testsuite/25_algorithms/sort.cc: Same.
2503         * testsuite/25_algorithms/heap.cc: Same.
2504         * testsuite/25_algorithms/partition.cc: Same.
2505         * testsuite/25_algorithms/binary_search.cc: Same.
2506         * testsuite/26_numerics/sum_diff.cc: Ditto.
2507
2508 001-07-17  Benjamin Kosnik  <bkoz@redhat.com>
2509
2510         * testsuite/README: Add notes on naming test cases.
2511         * testsuite/22_locale/members.cc: Mark as xfail.
2512         * testsuite/22_locale/numpunct_char_members.cc: Same.
2513
2514 2001-07-16  Stephen M. Webb  <stephen@bregmasoft.com>
2515
2516         * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS):  Use glibcpp_srcdir when
2517         setting C_INCLUDE_DIR.
2518         * configure.in:  Revert yesterday's LN_S change.
2519         * aclocal.m4:  Regenerate.
2520         * configure:  Regenerate.
2521
2522 2001-07-15  Phil Edwards  <pme@sources.redhat.com>
2523
2524         * configure.in:  Temporarily force LN_S to copy instead of symlink.
2525         * configure:  Regenerate.
2526
2527 2001-07-13  Phil Edwards  <pme@sources.redhat.com>
2528
2529         * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
2530         Initialize _M_string with pointer-and-size constructor, not just
2531         pointer.  Fix some comments.
2532         * testsuite/21_strings/ctor_copy_dtor.cc (test03):  New test.
2533         * testsuite/27_io/stringbuf.cc (test02):  Remove unused variable.
2534         (test03):  Add embedded-NUL tests.
2535
2536         * mkcheck.in:  When printing totals, match the order of the tests.
2537         * include/bits/stringfwd.h:  Use same declaration keywords.
2538         * include/bits/std_iosfwd.h:  Cosmetic spacing.
2539
2540 2001-07-13  Stephen M. Webb  <stephen@bregmasoft.com>
2541             Loren J. Rittle  <ljrittle@acm.org>
2542             Phil Edwards  <pme@sources.redhat.com>
2543
2544         * include/Makefile.am:  New file encapsulating header generation rules.
2545         * Makefile.am (SUBDIRS):  Prepend 'include' directory.
2546         * acinclude.m4:  Moved/removed rules for building various headers.
2547         * configure.in (AC_OUTPUT):  Add include/Makefile.
2548         * mkc++config:  Removed.
2549
2550         * testsuite_flags.in:  Changed build-includes to match new scheme.
2551         * mknumeric_limits:  Likewise.
2552         * libio/Makefile.am:  Changed INCLUDES to maatch new header scheme.
2553         * libmath/Makefile.am:  Likewise.
2554         * libsupc++/Makefile.am:  Likewise.
2555         * src/Makefile.am:  Likewise; removed rules to build headers.
2556         * libmath/mathconf.h:  Changed #include'd header names to match.
2557         * libmath/stubs.c:  Likewise.
2558         * src/gen-num-limits.cc:  Likewise.
2559
2560         * configure:  Regenerated.
2561         * config.h.in:  Regenerated.
2562         * aclocal.m4:  Regenerated.
2563         * Makefile.in:  Regenerated.
2564         * include/Makefile.in:  Regenerated.
2565         * libio/Makefile.in:  Regenerated.
2566         * libmath/Makefile.in:  Regenerated.
2567         * libsupc++/Makefile.in:  Regenerated.
2568         * src/Makefile.in:  Regenerated.
2569         * testsuite/Makefile.in:  Regenerated.
2570
2571 2001-07-11   Felix Natter  <fnatter@gmx.net>
2572
2573         * docs/html/17_intro/porting-howto.xml:  Initial checkin of
2574         master copy.
2575         * docs/html/17_intro/porting-howto.html:  check in v0.9.3
2576
2577 2001-07-11  Phil Edwards  <pme@sources.redhat.com>
2578
2579         * docs/doxygen/run_doxygen:  Don't keep output from previous run.
2580         * docs/doxygen/user.cfg.in:  Tweaks.
2581         * include/bits/c++config:  Documentation comments for Doxygen.
2582         * include/bits/char_traits.h:  Likewise.
2583         * include/bits/limits_generic.h:  Likewise.
2584         * include/bits/std_stdexcept.h:  Likewise.
2585         * include/bits/stl_pair.h:  Likewise.
2586         * libsupc++/exception:  Likewise.
2587         * libsupc++/new:  Likewise.
2588         * libsupc++/typeinfo:  Likewise.
2589         * libmath/Makefile.am:  Update and correct copyright.
2590
2591 2001-07-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2592
2593         * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
2594         * aclocal.m4: Regenerate.
2595         * configure: Same.
2596
2597 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
2598
2599         * docs/html/configopts.html:  Fix thinko.
2600         * docs/html/27_io/howto.html:  Fix thinko and HTML markup.
2601         * include/bits/stl_iterator.h:  Fix typo.
2602
2603 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
2604
2605         * docs/html/explanations.html:  New file.
2606         * docs/html/configopts.html:  Link to it to provide more notes
2607         on cstdio.  Minor markup and spacing fixes.
2608         * docs/html/27_io/howto.html:  Talk about sync_with_stdio.
2609
2610 2001-07-09  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
2611
2612         * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
2613         for _Expr template template argument.
2614         (_Expr::operator-): Likewise.
2615         (_Expr::operator~): Likewise.
2616         (_Expr::operator!): Likewise.
2617         (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
2618
2619 2001-07-06  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2620
2621         * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
2622         * libmath/Makefile.in: Regenerate.
2623         * libmath/expf.c: Remove.
2624         * libmath/atan2f.c: Likewise.
2625
2626 2001-07-06  Daniel Jacobowitz  <drow@mvista.com>
2627
2628         * configure.in: Remove NATIVE, NULL_TARGET.
2629         Set CANADIAN only for Canadian crosses.  Set xcompiling
2630         for both Canadian crosses and host-x-host crosses.
2631         * configure: Regenerated.
2632
2633 2001-07-06  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2634
2635         * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
2636
2637 2001-07-05  Jason Merrill  <jason_merrill@redhat.com>
2638
2639         * testsuite_flags.in (--build-includes): backward, not backwards.
2640
2641 2001-07-04  Jeffrey Oldham  <oldham@codesourcery.com>
2642
2643         * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
2644         Replace destroy by _Destroy.
2645         (_Rope_RopeRep::_S_free_string): Likewise.
2646         (rope::c_str()): Likewise.
2647         * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
2648         (_Slist_base::_M_erase_after): Likewise.
2649         (slist::_M_create_node): Replace construct by _Construct.
2650         (slist::pop_front): Replace destroy by _Destroy.
2651         * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
2652         construct by _Construct.
2653         (hashtable::_M_delete_node): Replace destroy by _Destroy.
2654         * include/ext/stl_rope.h (rope::rope): Replace construct by
2655         _Construct.
2656         (rope::copy): Replace destroy by _Destroy.
2657
2658 2001-07-03  Benjamin Kosnik  <bkoz@redhat.com>
2659
2660         * include/bits/localefwd.h: Format.
2661         * include/bits/locale_facts.tcc (locale::combine): Adjust.
2662         * src/locale.cc (locale::locale::(_Impl)): Don't call
2663         _M_add_reference.
2664         (locale::facet::_M_remove_reference): Simplify.
2665         * src/globals.cc (locale_impl_c): New. Format.
2666         (locale_c): New.
2667         * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
2668
2669 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
2670
2671         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
2672         expansion (thanks to Alexandre Oliva).
2673         * aclocal.m4: Regenerate.
2674         * configure: Regenerate.
2675
2676 2001-07-02  Benjamin Kosnik  <bkoz@redhat.com>
2677
2678         * src/locale.cc (locale::locale(const char*)): Make sure global
2679         locales are initialized.
2680         * include/bits/locale_facets.tcc (locale::combine): Refcout should
2681         be zero, not one as it's return-by-value.
2682         * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
2683         named locales here.
2684         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
2685         for it here.
2686         (test02): Add test.
2687         * libsupc++/eh_alloc.cc: Use climits, not limits.h.
2688
2689 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
2690
2691         libstdc++/3284
2692         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
2693         * aclocal.m4: Regenerate.
2694         * configure: Regenerate.
2695
2696 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
2697
2698         libstdc++/3243
2699         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
2700         staged/installed area to support -I-.  Document.
2701         * aclocal.m4: Regenerate.
2702         * configure: Regenerate.
2703
2704 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
2705
2706         libstdc++/2211
2707         * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
2708         __out_bufsize.  Add __in_bufsize, document it and use it.
2709
2710 2001-07-01  Stephen M. Webb <stephen@bregmasoft.com>
2711
2712         * include/bits/stl_construct.h (construct): Remove.
2713         (destroy): Remove.
2714         (__destroy): Replaced by use of iterator_traits.
2715         * include/bits/stl_deque.h: replaced HP iterator functions with
2716         iterator_traits.
2717         (construct): changed to _Construct.
2718         (destroy): changed to _Destroy.
2719         * include/bits/stl_tempbuf.h: Same.
2720         * include/bits/stl_tree.h: Same.
2721         * include/bits/stl_vector.h: Same.
2722         * include/backward/iterator.h (construct): moved definition to here.
2723         (destroy): Same.
2724
2725 2001-06-29  Benjamin Kosnik  <bkoz@redhat.com>
2726
2727         * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
2728         before replacing facet.
2729         * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
2730         Correct decrement.
2731         * src/localename.cc (locale::_Impl): Correct ctor initialization
2732         lists. Initialize ref count with one. Simplify.
2733         * src/locale.cc: Add comment.
2734         * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
2735         * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
2736         * testsuite/22_locale/members.cc (test02): Fix.
2737
2738 2001-06-27  Phil Edwards  <pme@sources.redhat.com>
2739
2740         * include/backward/algo.h:  Add "GPL plus runtime exception" comment
2741         block, this time for real.
2742         * include/backward/algobase.h:  Likewise.
2743         * include/backward/alloc.h:  Likewise.
2744         * include/backward/bvector.h:  Likewise.
2745         * include/backward/defalloc.h:  Likewise.
2746         * include/backward/deque.h:  Likewise.
2747         * include/backward/function.h:  Likewise.
2748         * include/backward/hash_map.h:  Likewise.
2749         * include/backward/hash_set.h:  Likewise.
2750         * include/backward/hashtable.h:  Likewise.
2751         * include/backward/heap.h:  Likewise.
2752         * include/backward/iterator.h:  Likewise.
2753         * include/backward/list.h:  Likewise.
2754         * include/backward/map.h:  Likewise.
2755         * include/backward/multimap.h:  Likewise.
2756         * include/backward/multiset.h:  Likewise.
2757         * include/backward/pair.h:  Likewise.
2758         * include/backward/rope.h:  Likewise.
2759         * include/backward/set.h:  Likewise.
2760         * include/backward/slist.h:  Likewise.
2761         * include/backward/stack.h:  Likewise.
2762         * include/backward/strstream:  Likewise.
2763         * include/backward/tempbuf.h:  Likewise.
2764         * include/backward/tree.h:  Likewise.
2765         * include/backward/vector.h:  Likewise.
2766         * include/bits/pthread_allocimpl.h:  Likewise.
2767         * include/bits/std_algorithm.h:  Likewise.
2768         * include/bits/std_bitset.h:  Likewise.
2769         * include/bits/std_deque.h:  Likewise.
2770         * include/bits/std_functional.h:  Likewise.
2771         * include/bits/std_iterator.h:  Likewise.
2772         * include/bits/std_list.h:  Likewise.
2773         * include/bits/std_map.h:  Likewise.
2774         * include/bits/std_memory.h:  Likewise.
2775         * include/bits/std_numeric.h:  Likewise.
2776         * include/bits/std_queue.h:  Likewise.
2777         * include/bits/std_set.h:  Likewise.
2778         * include/bits/std_stack.h:  Likewise.
2779         * include/bits/std_utility.h:  Likewise.
2780         * include/bits/std_vector.h:  Likewise.
2781         * include/bits/stl_algo.h:  Likewise.
2782         * include/bits/stl_algobase.h:  Likewise.
2783         * include/bits/stl_alloc.h:  Likewise.
2784         * include/bits/stl_bvector.h:  Likewise.
2785         * include/bits/stl_construct.h:  Likewise.
2786         * include/bits/stl_deque.h:  Likewise.
2787         * include/bits/stl_function.h:  Likewise.
2788         * include/bits/stl_heap.h:  Likewise.
2789         * include/bits/stl_iterator.h:  Likewise.
2790         * include/bits/stl_iterator_base_funcs.h:  Likewise.
2791         * include/bits/stl_iterator_base_types.h:  Likewise.
2792         * include/bits/stl_list.h:  Likewise.
2793         * include/bits/stl_map.h:  Likewise.
2794         * include/bits/stl_multimap.h:  Likewise.
2795         * include/bits/stl_multiset.h:  Likewise.
2796         * include/bits/stl_numeric.h:  Likewise.
2797         * include/bits/stl_pair.h:  Likewise.
2798         * include/bits/stl_pthread_alloc.h:  Likewise.
2799         * include/bits/stl_queue.h:  Likewise.
2800         * include/bits/stl_raw_storage_iter.h:  Likewise.
2801         * include/bits/stl_relops.h:  Likewise.
2802         * include/bits/stl_set.h:  Likewise.
2803         * include/bits/stl_stack.h:  Likewise.
2804         * include/bits/stl_tempbuf.h:  Likewise.
2805         * include/bits/stl_threads.h:  Likewise.
2806         * include/bits/stl_tree.h:  Likewise.
2807         * include/bits/stl_uninitialized.h:  Likewise.
2808         * include/bits/stl_vector.h:  Likewise.
2809         * include/bits/type_traits.h:  Likewise.
2810         * include/ext/hash_map:  Likewise.
2811         * include/ext/hash_set:  Likewise.
2812         * include/ext/rope:  Likewise.
2813         * include/ext/ropeimpl.h:  Likewise.
2814         * include/ext/slist:  Likewise.
2815         * include/ext/stl_hash_fun.h:  Likewise.
2816         * include/ext/stl_hashtable.h:  Likewise.
2817         * include/ext/stl_rope.h:  Likewise.
2818         * src/bitset.cc:  Likewise.
2819         * src/strstream.cc:  Likewise.
2820
2821 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2822                              <vakatov@ncbi.nlm.nih.gov>
2823
2824         libstdc++/3272
2825         * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
2826         * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
2827         * testsuite/27_io/istream_extractor_other.cc: Fix.
2828
2829 2001-06-26  Zoltan Hidvegi  <hzoli@austin.ibm.com>
2830
2831         * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
2832         * aclocal.m4: Regenerate.
2833         * configure: Regenerate.
2834
2835 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2836
2837         * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
2838         (ostream_iterator): Same.
2839         * include/bits/stl_iterator.h (front_insert_iterator::operator=):
2840         Change argument to const_reference.
2841         (back_insert_iterator): Same.
2842
2843 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2844
2845         * include/bits/sbuf_iter.h: Change to..
2846         * include/bits/streambuf_iterator.h: This.
2847         * include/bits/stl_iterator.h: Take out of here...
2848         * include/bits/stream_iterator.h: Add.
2849         * src/Makefile.am (base_headers): Add streambuf_iterator,
2850         stream_iterator.h
2851         * src/Makefile.in: Regenerate.
2852         * include/bits/std_string.h: Adjust includes.
2853         * include/bits/basic_ios.h: Same.
2854         * include/bits/locale_facets.tcc: Same.
2855         * include/bits/std_iosfwd.h: Same.
2856
2857         * include/bits/std_iterator.h: Add istream, ostream includes.
2858         * include/bits/stl_iterator.h: Tweak.
2859         * testsuite/24_iterators/ostream_iterator.cc: Add test.
2860         * testsuite/24_iterators/istream_iterator.cc: Same.
2861         * testsuite/23_containers/multiset.cc: Add iterator include.
2862
2863 2001-06-26  Phil Edwards  <pme@sources.redhat.com>
2864
2865         * acinclude.m4:  Clean extraneous tabs, rewrap 'test' lines.
2866         * aclocal.m4:  Regenerate.
2867         * configure:  Regenerate.
2868
2869 2001-06-26  Felix Natter  <f.natter@ndh.net>
2870
2871         * docs/html/17_intro/porting-howto.html:  Fixed some errors.
2872
2873 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2874
2875         * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
2876         return values.
2877         (istream_iterator::operator*): Same.
2878
2879 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2880             Alexandre Petit-Bianco  <apbianco@redhat.com>
2881
2882         * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
2883         is on 41st, not 14th.
2884
2885 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2886
2887         * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
2888
2889         * include/bits/stl_iterator.h (istream_iterator): Inherit from
2890         iterator.
2891         (ostream_iterator): Same.
2892         * testsuite/24_iterators/istream_iterator.cc: New file.
2893         * testsuite/24_iterators/ostream_iterator.cc: New file.
2894
2895         * include/bits/sbuf_iter.h: Remove self typedef.
2896         * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
2897         * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
2898
2899         * include/bits/stl_iterator.h (reverse_iterator): Remove
2900         extraneous typedefs. Add typename.
2901         (__normal_iterator): Remove typedefs referring to self. Add typename.
2902         (reverse_bidiretional_iterator): Remove, not longer required.
2903
2904 2001-06-26  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2905
2906         * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
2907         dependent names with `typename'.  Bring in various required
2908         iterator_traits members.  Can't imagine why that used to work.
2909
2910 2001-06-25  Phil Edwards  <pme@sources.redhat.com>
2911             Kurt Garloff <garloff@suse.de>
2912
2913         PR libstdc++/3377
2914         * src/cmath.cc:  New [version of an old] file; instantiate
2915         __cmath_power to start with.
2916         * src/Makefile.am (sources):  Add cmath.cc (and alphabetize).
2917         * Makefile.in:  Regenerate.
2918         * libio/Makefile.in:  Regenerate.
2919         * libmath/Makefile.in:  Regenerate.
2920         * libsupc++/Makefile.in:  Regenerate.
2921         * src/Makefile.in:  Regenerate.
2922         * testsuite/Makefile.in:  Regenerate.
2923
2924 2001-06-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2925
2926         * libmath/stubs.c: Fix thinko.
2927
2928 2001-06-24  David Edelsohn <dje@watson.ibm.com>
2929
2930         * libmath/stubs.c (sqrtf): Define.
2931         (tanf): Correct typo.
2932
2933 2001-06-22  Benjamin Kosnik  <bkoz@redhat.com>
2934
2935         * include/bits/stl_iterator.h (reverse_iterator): Inherit from
2936         iterator.
2937         (back_insert_iterator): Same.
2938         (front_insert_iterator): Same.
2939         (insert_iterator): Same.
2940
2941         * testsuite/20_util/raw_storage_iterator.cc: Modify.
2942         * testsuite/24_iterators/reverse_iterator.cc: New file.
2943         * testsuite/24_iterators/back_insert_iterator.cc: New file.
2944         * testsuite/24_iterators/front_insert_iterator.cc: New file.
2945         * testsuite/24_iterators/insert_iterator.cc: New file.
2946
2947 2001-06-22  Phil Edwards  <pme@sources.redhat.com>
2948
2949         * include/*:  Revert comment/license change from yesterday for all
2950         except libsupc++/unwind-cxx.h.
2951         * src/bitset.cc:  Likewise.
2952         * src/strstream.cc:  Likewise.
2953
2954 2001-06-22  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2955
2956         * libmath/stubs.c: New file.
2957         (tanhf): Fix typo.
2958         (powf): Likewise.
2959
2960         * libmath/Makefile.am (libmath_la_SOURCES): Add.
2961         * libmath/Makefile.in.  Regenerate.
2962
2963 2001-06-21  Phil Edwards  <pme@sources.redhat.com>
2964
2965         * include/backward/algo.h:  Add "GPL plus runtime exception" comment.
2966         * include/backward/algobase.h:  Likewise.
2967         * include/backward/alloc.h:  Likewise.
2968         * include/backward/bvector.h:  Likewise.
2969         * include/backward/defalloc.h:  Likewise.
2970         * include/backward/deque.h:  Likewise.
2971         * include/backward/function.h:  Likewise.
2972         * include/backward/hash_map.h:  Likewise.
2973         * include/backward/hash_set.h:  Likewise.
2974         * include/backward/hashtable.h:  Likewise.
2975         * include/backward/heap.h:  Likewise.
2976         * include/backward/iterator.h:  Likewise.
2977         * include/backward/list.h:  Likewise.
2978         * include/backward/map.h:  Likewise.
2979         * include/backward/multimap.h:  Likewise.
2980         * include/backward/multiset.h:  Likewise.
2981         * include/backward/pair.h:  Likewise.
2982         * include/backward/rope.h:  Likewise.
2983         * include/backward/set.h:  Likewise.
2984         * include/backward/slist.h:  Likewise.
2985         * include/backward/stack.h:  Likewise.
2986         * include/backward/strstream:  Likewise.
2987         * include/backward/tempbuf.h:  Likewise.
2988         * include/backward/tree.h:  Likewise.
2989         * include/backward/vector.h:  Likewise.
2990         * include/bits/pthread_allocimpl.h:  Likewise.
2991         * include/bits/std_algorithm.h:  Likewise.
2992         * include/bits/std_bitset.h:  Likewise.
2993         * include/bits/std_deque.h:  Likewise.
2994         * include/bits/std_functional.h:  Likewise.
2995         * include/bits/std_iterator.h:  Likewise.
2996         * include/bits/std_list.h:  Likewise.
2997         * include/bits/std_map.h:  Likewise.
2998         * include/bits/std_memory.h:  Likewise.
2999         * include/bits/std_numeric.h:  Likewise.
3000         * include/bits/std_queue.h:  Likewise.
3001         * include/bits/std_set.h:  Likewise.
3002         * include/bits/std_stack.h:  Likewise.
3003         * include/bits/std_utility.h:  Likewise.
3004         * include/bits/std_vector.h:  Likewise.
3005         * include/bits/stl_algo.h:  Likewise.
3006         * include/bits/stl_algobase.h:  Likewise.
3007         * include/bits/stl_alloc.h:  Likewise.
3008         * include/bits/stl_bvector.h:  Likewise.
3009         * include/bits/stl_construct.h:  Likewise.
3010         * include/bits/stl_deque.h:  Likewise.
3011         * include/bits/stl_function.h:  Likewise.
3012         * include/bits/stl_heap.h:  Likewise.
3013         * include/bits/stl_iterator.h:  Likewise.
3014         * include/bits/stl_iterator_base_funcs.h:  Likewise.
3015         * include/bits/stl_iterator_base_types.h:  Likewise.
3016         * include/bits/stl_list.h:  Likewise.
3017         * include/bits/stl_map.h:  Likewise.
3018         * include/bits/stl_multimap.h:  Likewise.
3019         * include/bits/stl_multiset.h:  Likewise.
3020         * include/bits/stl_numeric.h:  Likewise.
3021         * include/bits/stl_pair.h:  Likewise.
3022         * include/bits/stl_pthread_alloc.h:  Likewise.
3023         * include/bits/stl_queue.h:  Likewise.
3024         * include/bits/stl_raw_storage_iter.h:  Likewise.
3025         * include/bits/stl_relops.h:  Likewise.
3026         * include/bits/stl_set.h:  Likewise.
3027         * include/bits/stl_stack.h:  Likewise.
3028         * include/bits/stl_tempbuf.h:  Likewise.
3029         * include/bits/stl_threads.h:  Likewise.
3030         * include/bits/stl_tree.h:  Likewise.
3031         * include/bits/stl_uninitialized.h:  Likewise.
3032         * include/bits/stl_vector.h:  Likewise.
3033         * include/bits/type_traits.h:  Likewise.
3034         * include/ext/hash_map:  Likewise.
3035         * include/ext/hash_set:  Likewise.
3036         * include/ext/rope:  Likewise.
3037         * include/ext/ropeimpl.h:  Likewise.
3038         * include/ext/slist:  Likewise.
3039         * include/ext/stl_hash_fun.h:  Likewise.
3040         * include/ext/stl_hashtable.h:  Likewise.
3041         * include/ext/stl_rope.h:  Likewise.
3042         * libsupc++/unwind-cxx.h:  Likewise.
3043         * src/bitset.cc:  Likewise.
3044         * src/strstream.cc:  Likewise.
3045
3046 2001-06-21  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3047
3048         * include/bits/indirect_array.h (indirect_array<>::operator=):
3049         Make copy and assignment operator public.  Implement.  Format.
3050
3051         * include/bits/valarray_array.h (__valarray_copy): Add overloads
3052         for copy between index arrays.  Format.
3053
3054 2001-06-19  Benjamin Kosnik  <bkoz@redhat.com>
3055
3056         * mknumeric_limits: Add static definitions, format.
3057         * testsuite/18_support/numeric_limits.cc (test02): Add test.
3058
3059         * include/c_std/bits/std_cwchar.h: Include ctime.
3060         * testsuite/17_intro/header_cwchar.cc : Check.
3061
3062         * include/c_std/bits/std_cwctype.h: Inject wctype.
3063         * testsuite/17_intro/header_cwctype.cc: Update.
3064
3065 2001-06-18  Benjamin Kosnik  <bkoz@redhat.com>
3066
3067         * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
3068         * testsuite/20_util/raw_storage_iterator.cc: Same.
3069
3070         * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
3071         operator new.
3072         (__mem_interface): New typedef for switching between malloc and new.
3073         * testsuite/20_util/allocator_members.cc: New file.
3074
3075         * testsuite/20_util/comparisons.cc: New file.
3076         * testsuite/20_util/pairs.cc: New file.
3077
3078 2001-06-15  Phil Edwards  <pme@sources.redhat.com>
3079
3080         * docs/html/documentation.html:  Point to new doxygen'ed collection.
3081
3082 2001-06-14  Nathan Sidwell  <nathan@codesourcery.com>
3083
3084         * configure.in (auxdir): Replace by ...
3085         (toprel): ... new variable.
3086         (toplevel_srcdir): Construct from $toprel.
3087         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
3088         rather than .. to locate gcc source directory.
3089         (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
3090         * aclocal.m4, configure: Rebuilt.
3091
3092 2001-06-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3093
3094         (Approved by Mark and Benjamin.  Applied by Loren.)
3095
3096         * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
3097         _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
3098         and _GLIBCPP_mutex_address.
3099         * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
3100         once-only runtime initialization of _M_lock mutex when
3101         __GTHREAD_MUTEX_INIT_FUNCTION is defined.
3102         (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
3103         for __GTHREAD_MUTEX_INIT_FUNCTION case.
3104
3105 2001-06-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3106
3107         * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
3108
3109         * include/bits/slice_array.h (slice_array<>::operator=): Make
3110         public and implement.
3111         (slice_array<>::slice_array): Make copy-constructor public.
3112
3113         * include/bits/valarray_array.h (__valarray_copy): Add another
3114         overload to copy between strided arrays.
3115
3116 2001-06-13  Benjamin Kosnik  <bkoz@redhat.com>
3117
3118         * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
3119         * aclocal.m4: Regenerate.
3120         * configure: Regenerate.
3121         * include/bits/c++config (__GLIBCPP__): Update date.
3122
3123 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
3124
3125         * include/bits/fpos.h (fpos::operator-): Don't return reference,
3126         return original, non-modified version.
3127         (fpos::operator+): Same.
3128         * testsuite/27_io/fpos.cc: Add test.
3129
3130 2001-06-12  Loren J. Rittle  <ljrittle@acm.org>
3131
3132         libstdc++/2071
3133         * porting.texi: Add documentation about libstdc++-v3-specific
3134         macros that are currently included in os_defines.h files.
3135
3136         * config/basic_file_stdio.h (sys_getc): New method.
3137         (sys_ungetc): New method.
3138         * include/bits/basic_file.h: (sys_getc): New method signature.
3139         (sys_ungetc): New method signature.
3140
3141         * include/bits/fstream.tcc (underflow): Add conditional code
3142         paths which avoid using short seeks on streams (especially
3143         useful when the stream might be interactive or a pipe).  At
3144         the moment, this alternate path only avoids seeking when the
3145         ``buffer size'' of underflow() is 1 since the C standard only
3146         guarantees buffer space for one ungetc (this technique could
3147         be extended since *-*-solaris* supports buffering for 4 calls
3148         to ungetc and *-*-*bsd* supports buffering limited only by
3149         memory resources).  Also, _GLIBCPP_AVOID_FSEEK must be defined
3150         in a port's os_defines.h file for this alternate path to even
3151         be considered.  As a bonus, the idiom of using getc/ungetc
3152         requires no system calls whereas fseek maps to one or two
3153         system call(s) on many platforms.
3154
3155         * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
3156         Define it.
3157         * config/os/solaris/solaris2.5/bits/os_defines.h
3158         (_GLIBCPP_AVOID_FSEEK): Likewise.
3159         * config/os/solaris/solaris2.6/bits/os_defines.h
3160         (_GLIBCPP_AVOID_FSEEK): Likewise.
3161         * config/os/solaris/solaris2.7/bits/os_defines.h
3162         (_GLIBCPP_AVOID_FSEEK): Likewise.
3163
3164 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
3165
3166         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
3167         AC_TRY_COMPILE, so that the built compiler is checked, and
3168         bootstraps or cross compiles with an older compile still work.
3169         * aclocal.m4: Regenerate.
3170         * configure: Regenerate.
3171
3172 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
3173
3174         libstdc++/3142
3175         * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
3176
3177         libstdc++/3141
3178         * include/bits/istream.tcc (getline, get): Fix as per DR 243.
3179
3180         libstdc++/3140
3181         * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
3182
3183         libstdc++/3139
3184         * include/bits/limits_generic.h: Fix as per DR 184.
3185
3186 2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>
3187
3188         libstdc++/3126
3189         * include/bits/basic_string.h (string::compare): Adjust signatures
3190         as per DR 5.
3191         * include/bits/basic_string.tcc: And here.
3192
3193         libstdc++/2346
3194         * config/c_io_stdio.h: Remove whitespace.
3195         * testsuite/27_io/istream_seeks.cc (test03): Add regression.
3196         (test02): Add regression.
3197         * testsuite/27_io/istream_seeks-3.tst: New file.
3198
3199 2001-06-11  Phil Edwards  <pme@sources.redhat.com>
3200
3201         * README:  Update to reflect reality.
3202         * acinclude.m4:  Update descriptions, fix typos.  Comment changes only.
3203         * configure.in:  Make certain target_alias is set and subst'd for 2.50.
3204         * aclocal.m4:  Regenerate.
3205         * configure:  Regenerate (with 2.13).
3206
3207 2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>
3208
3209         libstdc++/3114
3210         * include/bits/ostream.tcc (ostream::seekp): Add error checking as
3211         per DR 129.
3212         * include/bits/istream.tcc (istream::seekg): Same.
3213         * testsuite/27_io/istream_seeks.cc: Fix.
3214
3215         libstdc++/3113
3216         * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
3217         (binder1st): Same.
3218         * include/bits/std_queue.h: Add c++config.h.
3219         * testsuite/20_util/binders.cc: New test.
3220
3221 2001-06-11  Matthias Klose  <doko@debian.org>
3222             Phil Edwards  <pme@sources.redhat.com>
3223
3224         * docs/doxygen/run_doxygen (find_doxygen):  Tweak version check.
3225         (main script):  Echo more information.
3226
3227 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
3228
3229         * include/c_std/bits/std_cwchar.h: Alphabetize.
3230         * include/bits/char_traits.h: Tweak.
3231         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
3232         everything used by std_cwchar.h.
3233         * aclocal.m4: Regenerate.
3234         * configure.in: Regenerate.
3235         * config.h.in: Regenerate.
3236
3237 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
3238
3239         * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
3240         Add checking for strtof, _Exit in stdlib.h
3241         * aclocal.m4: Regenerate.
3242         * configure.in: Regenerate.
3243         * include/c_std/bits/std_cstdio.h: Alphabetize lists.
3244         (snprintf): Put C99 functions into __gnu_cxx namespace.
3245         (vfscanf): Same.
3246         (vscanf): Same.
3247         (vsnprintf): Same.
3248         (vsscanf): Same.
3249         * include/c_std/bits/std_cstdlib.h:&n