OSDN Git Service

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