OSDN Git Service

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