OSDN Git Service

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