OSDN Git Service

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