OSDN Git Service

* config/cpu/sparc/sparc32/bits/atomicity.h
[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.