OSDN Git Service

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