OSDN Git Service

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