index.html (#3.6): Rewrap and close <a href> tags.
[official-gcc.git] / libstdc++-v3 / ChangeLog
blob507821ed0c6e59a8b4a380681e76cbc05d2c2a72
1 2002-03-19  Phil Edwards  <pme@gcc.gnu.org>
3         * docs/html/faq/index.html (#3.6):  Rewrap and close <a href> tags.
4         * docs/html/faq/index.txt:  Regenerate.
6 2002-03-19  Steve Ellcey  <sje@cup.hp.com>
8         * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
9         GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
10         --enable-libunwind-exceptions is set.
11         * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
12         macro to check for libunwind.
13         * configure: Regenerate.        
14         * src/Makefile.am (libstdc___la_LDFLAGS): Add
15         LIBUNWIND_FLAG to libstdc link line.
16         * src/Makefile.in: Regenerate.
17         
18 2002-03-19  Benjamin Kosnik  <bkoz@redhat.com>
20         * docs/html/faq/index.html: Add OS X workaround.
21         * docs/html/17_intro/TODO: Update.
23 2002-03-18  Paolo Carlini  <pcarlini@unitus.it>
25         * include/bits/locale_facets.tcc
26         (money_put::do_put(long double)): Fix dimensioning of
27         temporary buffers to avoid risk of overruns.
28         (money_put::do_put(string)): Same for the buffer used to
29         add the grouping chars.
30         * testsuite/22_locale/money_put_members_char.cc: Add test06.
31         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
33         * include/bits/locale_facets.tcc
34         (collate::do_transform): Simplify.
36 2002-03-18  Phil Edwards  <pme@gcc.gnu.org>
38         * acinclude.m4 (GLIBCPP_CONFIGURE):  Make indentation/spacing uniform.
39         * configure.in:  Add comments pointing the way for autoconf 2.5x.
40         * aclocal.m4, config.h.in, configure:  Regenerate.
42 2002-03-15  Philipp Thomas  <pthomas@suse.de>
44         * include/backward/hash_map.h: hash, hashtable, hash_map and
45         hash_multimap are in namespace __gnu_cxx.
46         include/backward/hash_set.h: hash, hashtable, hash_set and
47         hash_multiset are in namespace __gnu_cxx.
48         include/backward/hashtable.h: hash and hashtable are in 
49         namespace __gnu_cxx.
50         include/backward/rope.h: char_producer, sequence_buffer,
51         rope, crope and wrope are in namespace __gnu_cxx.
52         include/backward/slist.h: slist is in namespace __gnu_cxx.
53         * testsuite/backward/header_hash_map_h.cc
54         testsuite/backward/header_hash_set_h.cc
55         testsuite/backward/header_hashtable_h.cc
56         testsuite/backward/header_rope_h.cc
57         testsuite/backward/header_slist_h.cc
58         testsuite/backward/header_tempbuf_h.cc: New tests for
59         checking that we're using the correct namespace.
61 2002-03-17  Jason Merrill  <jason@redhat.com>
63         PR c++/4381
64         * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
65         (check_exception_spec): Call it.  Take the thrown pointer.
66         (__cxa_call_unexpected): Pass it.
67         (PERSONALITY_FUNCTION): Likewise.  Use get_adjusted_ptr.
69 2002-03-15  Anthony Green  <green@redhat.com>
71         * configure.in: Remove useless is_mingw32.
72         * configure: Rebuilt.
74 2002-03-15  Paolo Carlini  <pcarlini@unitus.it>
76         * testsuite/22_locale/collate_members_char.cc
77         (test01): compare the result of collate::compare with
78         that of collate::transform + string::compare, not with
79         that of collate::transform + collate::compare.
80         (test01): values returned by collate::compare are
81         normalized, therefore test against +-1.
82         * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
84 2002-03-12  Loren Rittle  <ljrittle@acm.org>
86         reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
87         * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
89 2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
90             Per Liboriussen  <liborius@stofanet.dk>
91         
92         * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
93         unsigned char.
94         * config/os/gnu-linux/bits/ctype_inline.h: Same.
96         * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
98         * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
99         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
101         * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
102         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
104         * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
105         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
107         * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
108         
109 2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
111         * include/bits/basic_string.tcc (string::_S_construct(_InIter,
112         _InIter, const _Alloc&, forward_iterator_tag): Check for null.
113         (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
114         * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
115         that memory limits are in place.
116         (test03): Add tests.
117         
118 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
120         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
121         * aclocal.m4: Regenerate.
122         * config.h.in: Regenerate.
123         * configure: Regenerate.
124         * include/c_std/std_cwctype.h: Guard.
126 2002-03-11  Chris Demetriou  <cgd@broadcom.com>
128         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
129         whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
130         * aclocal.m4: Regenerate.
131         * configure: Regenerate.
133 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
135         * include/bits/stl_bvector.h: Fix warning.
137 2002-03-11  Richard Henderson  <rth@redhat.com>
139         * include/bits/stl_bvector.h (_Bit_type): New.  Use throughout.
141 2002-03-11  Phil Edwards  <pme@gcc.gnu.org>
143         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
144         New function.  Build the list of tests to run in testsuite_files.
145         * testsuite/libstdc++-v3.dg/dg.exp:  Use it.
147 2002-03-11  Phil Edwards  <pme@gcc.gnu.org>
149         * testsuite/21_strings/capacity.cc:  Only explicitly instantiate on
150         platforms with no weak support.
151         * testsuite/27_io/ios_init.cc:  Likewise.
153 2002-03-10  Paolo Carlini  <pcarlini@unitus.it>
155         * include/bits/locale_facets.tcc (time_put::do_put):
156         Consider sizeof(char_type) in allocating the buffer.
158         * include/bits/locale_facets.tcc (collate::do_tranform):
159         Remove redundant variable.
161 2002-03-10  Ulrich Drepper  <drepper@redhat.com>
162             Paolo Carlini  <pcarlini@unitus.it>
164         * config/locale/generic/collate_members.cc
165         (collate<char,wchar_t>::_M_compare_helper): normalize
166         values returned by strcoll and wcscoll.
167         * config/locale/gnu/collate_members.cc
168         (collate<char,wchar_t>::_M_compare_helper): ditto
169         for __strcoll_l and __wcscoll_l.
171 2002-03-10  Anthony Green  <green@redhat.com>
173         * configure.in: Support cross builds to mingw32 target.
174         * configure: Rebuilt.
176 2002-03-09  Paolo Carlini  <pcarlini@unitus.it>
178         * include/bits/locale_facets.tcc (collate::do_transform):
179         Rewrite to fix problems with long transformed strings.
181 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
183         * c_locale_generic.cc: Move to...
184         * generic/c_locale.cc
185         * c_locale_generic.h: Move to...
186         * generic/c_locale.h
187         * codecvt_specializations_generic.h: Move to...
188         * generic/codecvt_specializations.h
189         * collate_members_generic.cc: Move to...
190         * generic/collate_members.cc
191         * ctype_members_generic.cc: Move to...
192         * generic/ctype_members.cc
193         * messages_members_generic.cc: Move to...
194         * generic/messages_members.cc
195         * messages_members_generic.h: Move to...
196         * generic/messages_members.h
197         * moneypunct_members_generic.cc: Move to...
198         * generic/monetary_members.cc
199         * numpunct_members_generic.cc: Move to...
200         * generic/numeric_members.cc
201         * time_members_generic.cc: Move to...
202         * generic/time_members.cc
203         * c_locale_gnu.cc: Move to...
204         * gnu/c_locale.cc
205         * c_locale_gnu.h: Move to...
206         * gnu/c_locale.h
207         * collate_members_gnu.cc: Move to...
208         * gnu/collate_members.cc
209         * ctype_members_gnu.cc: Move to...
210         * gnu/ctype_members.cc
211         * messages_members_gnu.cc: Move to...
212         * gnu/messages_members.cc
213         * messages_members_gnu.h: Move to...
214         * gnu/messages_members.h
215         * moneypunct_members_gnu.cc: Move to...
216         * gnu/monetary_members.cc
217         * numpunct_members_gnu.cc: Move to...
218         * gnu/numeric_members.cc
219         * time_members_gnu.cc: Move to...
220         * gnu/time_members.cc
221         * c_locale_ieee_1003.1-200x.cc: Move to...
222         * ieee_1003.1-2001/c_locale.cc
223         * c_locale_ieee_1003.1-200x.h: Move to...
224         * ieee_1003.1-2001/c_locale.h
225         * codecvt_specializations_ieee_1003.1-200x.h: Move to...
226         * ieee_1003.1-2001/codecvt_specializations.h
227         * messages_members_ieee_1003.1-200x.cc: Move to...
228         * ieee_1003.1-2001/messages_members.cc
229         * messages_members_ieee_1003.1-200x.h: Move to...
230         * ieee_1003.1-2001/messages_members.h   
232         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
233         * aclocal.m4: Regenerate.
234         * configure: Regenerate.
235         * src/Makefile.am (sources): Change to monetary and numeric.
236         * src/Makefile.in: Regenerate.
237         * docs/html/configopts.html: Update to ieee_1003.1-2001.
239 2002-03-08  scott snyder  <snyder@fnal.gov>
241         libstdc++/5875
242         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
243         Allow one more digit of precision.
244         * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
245         write a double and read back in the same value.
247 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
249         * include/std/std_limits.h: Move static const data members out of
250         generic template, into base class __numeric_limits_base.
251         * src/limits.cc: Add definitions.
252         * config/linker-map.gnu: Add __numeric_limits_base.
253         * testsuite/18_support/numeric_limits.cc: Declare test in scope.
254         
255 2002-03-07  Benjamin Kosnik  <bkoz@redhat.com>
257         * include/bits/stl_alloc.h: Add extern implicit allocator
258         instantiations.
259         * include/bits/basic_string.tcc: Tweak.
260         * include/bits/locale_facets.tcc: Remove default args. Add
261         has_facet, use_facet extern instantiations.
262         * src/stl-inst.cc: Add explicit instantiation.
263         * src/locale-inst.cc: Clean. Remove locale member template
264         instantiations.
266         * testsuite/22_locale/operators.cc (test02): Enable.
268 2002-03-06  Benjamin Kosnik  <bkoz@redhat.com>
269             Stephen M. Webb  <stephen.webb@bregmasoft.com>
271         * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
272         (_S_rb_tree_black): Make enum.
273         Clean. Format.
274         * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
275         * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
276         (__stl_threshold): _M_threshold, enum.
277         * src/stl-inst.cc: Same.
278         * config/linker-map.gnu: Remove.
279         
280         * testsuite/23_containers/vector_bool.cc: New.
281         
282 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
284         * docs/doxygen/user.cfg.in:  Also document deprecated entries.
285         * docs/html/Makefile:  Example rule to rebuild porting-howto.html.
286         * docs/html/17_intro/howto.html:  "gcc"->"GCC" changes, when
287         referring to the collection as a whole.  New section on which macros
288         can be redefined by the user.
289         * docs/html/19_diagnostics/howto.html:  Update note for concepts.
290         * docs/html/20_util/howto.html:  Update link to SGI.
291         * docs/html/faq/index.html:  Update snapshot versions.  New entry
292         on why g++ (but not gcc) must currently predefine certain macros.
293         * docs/html/faq/index.txt:  Regenerated.
295         * include/bits/basic_string.h (basic_string::_S_construct):  Fix
296         names in declaration.
297         (basic_string::compare):  These are no longer optional.
298         * include/bits/ostream.tcc:  Tweak closing brace placement.
299         * include/bits/stl_algo.h:  Lots of initial doxygen comment hooks.
300         * include/std/std_sstream.h:  Fix typo in comment.
301         * include/bits/locale_facets.tcc:  Remove unneeded header inclusion.
302         * src/locale.cc:  Likewise.
304 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
306         PR libstdc++/5734
307         * include/bits/stl_vector.h (vector::push_back()):  Guard with
308         _GLIBCPP_DEPRECATED.
310 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
312         * include/bits/c++config:  Fix misplaced leading blanks on first line.
314 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
316         * docs/html/17_intro/RELEASE-NOTES: Fix usage.
317         * README (libmath): Make clear.
319 2002-03-05  Jakub Jelinek  <jakub@redhat.com>
321         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
322         script globbing in ld.
323         * aclocal.m4: Rebuilt.
324         * configure: Rebuilt.
326 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
328         * docs/html/17_intro/RELEASE-NOTES: Update.
329         * README: Format subdirectories.
331 2002-03-05  Paolo Carlini  <pcarlini@unitus.it>
333         libstdc++/5816
334         * include/bits/locale_facets.tcc
335         (num_get::_M_extract_float): Fix the parsing of __dec, since
336         the standard prescribes that if no grouping characters are
337         seen, no grouping check is applied.
338         * testsuite/22_locale/num_get_members_char.cc: Add test05
339         distilled from the PR.
340         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
342 2002-03-04  Craig Rodrigues  <rodrigc@gcc.gnu.org>
344         * docs/html/17_intro/porting-howto.xml: Refer to 
345         http://www.oasis-open.org for docbookx.dtd.
346         * docs/html/17_intro/porting-howto.html: Regenerated.
348 2002-03-03  Phil Edwards  <pme@gcc.gnu.org>
350         PR libstdc++/3955
351         * include/std/std_sstream.h:  Remove trailing spaces.
352         (basic_stringbuf::_M_stringbuf_init):  Also check for ios_base::app.
353         * testsuite/27_io/stringbuf.cc (test05, test06):  New tests.
355 2002-03-02  Paolo Carlini  <pcarlini@unitus.it>
357         * testsuite/22_locale/num_get_members_char.cc (test04):
358         Use a named locale expecting grouping (de_DE).
359         * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
360         Ditto.
361         * testsuite/27_io/ios_manip_basefield.cc (test01):
362         Extend coverage, uniform treatment of hexs and octs.
364 2002-02-28  Richard Henderson  <rth@redhat.com>
366         * config/linker-map.gnu: Export operator new with unsigned long,
367         and with std::nothrow_t.  Likewise operator delete.
369 2002-02-28  Paolo Carlini  <pcarlini@unitus.it>
371         * include/bits/locale_facets.tcc (num_get::_M_extract_int):
372         Admit grouping for octals and hexadecimals too.
373         * testsuite/22_locale/num_get_members_char.cc: Add test04.
374         (test01): Tweak "." -> "," in void* test.
375         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
377         * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
378         * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
380 2002-02-27  Paolo Carlini  <pcarlini@unitus.it>
382         * testsuite/27_io/ios_manip_basefield.cc (test01):
383         Fix for 64 bit machines.
385 2002-02-26  Benjamin Kosnik  <bkoz@redhat.com>
387         libstdc++/3983
388         * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
389         Adjust comment.
390         * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
391         (basic_ios::_M_fill_init): New.
392         (basic_ios::fill()): Delay dealing with _M_fill.
393         Adjust comment. 
394         * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
395         (ios_base::_M_call_callbacks): Adjust.
396         * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
398 2002-02-26  Loren Rittle  <ljrittle@acm.org>
400         * include/Makefile.am (thread_target_headers): Unconditionally
401         stage and install gthr-posix.h.
402         (${target_builddir}/gthr-posix.h): New rule cloned off
403         ${target_builddir}/gthr-default.h.
404         (${target_builddir}/gthr-default.h): Support chained inclusion
405         of gthr support headers.
406         * include/Makefile.in: Rebuilt.
408 2002-02-26  Paolo Carlini  <pcarlini@unitus.it>
410         * include/bits/locale_facets.tcc (num_put::_M_widen_int):
411         Group all the integral types, not only decs.
412         * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
413         tests, add a few more.
415 2002-02-25  Benjamin Kosnik  <bkoz@redhat.com>
417         * src/ios.cc (ios_base::~ios_base): Tweak.
418         (ios_base::_M_call_callbacks): Deal with null __p.
419         (ios_base::ios_base): Set _M_callbacks.
420         * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
421         * testsuite/27_io/ios_init.cc (test02): Fix.
423         * mkcheck.in (static_fail): Failed links go to output file.
425 2002-02-25  Phil Edwards  <pme@gcc.gnu.org>
427         * docs/html/faq/index.html:  Update.
428         * docs/html/faq/index.txt:  Regenerate.
430 2002-02-22  Phil Edwards  <pme@gcc.gnu.org>
432         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  Fix comment.
433         * aclocal.m4:  Regenerate.
434         * docs/html/configopts.html:  Document --enable-symvers.
435         * config/linker-map.gnu:  Break libsupc++ symbols out to their own tag.
437 2002-02-22  Philipp Thomas  <pthomas@suse.de>
439         * include/backward/tempbuf.h: get_temporary_buffer and
440         return_temporary_buffer are in namespace std, not in __gnu_cxx.
442 2002-02-21  Benjamin Kosnik  <bkoz@redhat.com>
444         * configure.in (target_alias): Default to yes.
445         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
446         libgcc to default case. 
448 2002-02-20  Phil Edwards  <pme@gcc.gnu.org>
450         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES):  Also check version.
451         (GLIBCPP_ENABLE_SYMVERS):  Redo logic, use linker version.
452         * configure.in (GLIBCPP_ENABLE_SYMVERS):  Move later in the script.
453         * aclocal.m4:  Regenerate.
454         * configure:  Regenerate.
455         * config/linker-map.dummy:  New file.  Contains nothing useful.
457 2002-02-20  Benjamin Kosnik  <bkoz@redhat.com>
459         * testsuite/22_locale/money_put_members_char.cc: Fix.   
460         * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
462         * testsuite/27_io/standard_manipulators.cc: New file.
464         * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
465         * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
466         
467 2002-02-20  Danny Smith  <dannysmith@users.sourceforge.net>
469         * config/os/mingw32/bits/ctype_noninline.h
470         (ctype<char>::ctype): Remove default args from parm list.
471         * config/os/djgpp/bits/ctype_noninline.h: Same. 
473 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
475         * include/std/std_iomanip.h: Inline, tweaks.
476         * config/linker-map.gnu: Remove hacks.
478         * testsuite/21_strings/capacity.cc: Add explicit instantiations.
479         * testsuite/27_io/ios_init.cc: Same.
480         * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
481         * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
483 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
484         
485         * config/linker-map.gnu: Export global vtable, typeinfo, guard
486         variable, and thunk info as per CXXABI docs.
488 2002-02-19  Loren Rittle <ljrittle@acm.org>
490         * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
491         * include/Makefile.in: Rebuilt.
493 2002-02-18  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
495         * testsuite/22_locale/collate_byname.cc (test01): Replace size4
496           with size3 for the string collations of str5.
498 2002-02-18  Paolo Carlini  <pcarlini@unitus.it>
500         libstdc++/5708
501         * include/bits/locale_facets.tcc (money_put::do_put):
502         For the space field use __fill instead of ' ', uniformly.
503         * testsuite/22_locale/money_put_members_char.cc:
504         Add test05 distilled from PR.
505         (test01-02-03): Trim some '*' to ' '.
506         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
508 2002-02-18  Loren Rittle <ljrittle@acm.org>
510         libstdc++/5697
511         * include/Makefile.am (thread_builddir): Remove (map all
512         existing uses to target_builddir).
513         (thread_headers): Rename to...
514         (thread_target_headers): ...this.
515         (stamp-thread): Remove.
516         (stamp-target): Correctly state the position as built.
517         Update all dependencies to match the new reality.  Remove all
518         dependency calculations on directories.
519         * include/Makefile.in: Rebuilt.
521 2002-02-16   Benjamin Kosnik  <bkoz@redhat.com>
523         * include/bits/locale_facets.tcc: Add pragma GCC system_header. 
524         * include/bits/fstream.tcc: Same.
525         * include/bits/sstream.tcc: Same.
526         * include/bits/ostream.tcc: Same.
527         * include/bits/istream.tcc: Same.
528         * include/bits/streambuf.tcc: Same.
529         * include/bits/basic_ios.tcc: Same.
530         * include/bits/basic_string.tcc: Same.
532 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
534         * include/std/std_iosfwd.h: Don't guard typedefs with
535         _GLIBCPP_USE_WCHAR_T
536         * include/bits/stringfwd.h: Same.
538 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
540         * src/locale.cc (moneypunct_byname): Remove definitions.
541         * include/std/std_streambuf.h (streambuf::operator=): Return.
542         
543 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
545         Tune for size.
546         * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
547         explicit instantiation.
548         (string::_Rep::_S_max_size): Same.
549         * include/bits/basic_string.tcc: Add extern explicit
550         instantiations for string, wstring.
551         * include/bits/basic_ios.tcc: Add extern explicit instantiations
552         for ios, wios.
553         * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
554         * include/bits/istream.tcc: Same, for istream, wistream.
555         * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
556         wiostream.
557         * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
558         istringstream, wistringstream, ostringstream, wostringstream,
559         stringstream, wstringstream.
560         * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
561         wifstream, ofstream, wofstream, fstream, wfstream.
562         * src/misc-inst.cc: Correct comments.
563         Add iomanip instantiations for wide streams.
564         * include/std/std_iomanip.h: Same.
565         * include/bits/locale_facets.tcc: Same.
566         
567         * include/std/std_streambuf.h: Correct
568         _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
569         * include/std/std_sstream.h: Same.
570         * include/std/std_ostream.h: Same.
571         * include/std/std_istream.h: Same.
572         * include/std/std_fstream.h: Same.
574         * include/std/std_streambuf.h: Add definitions for private copy
575         ctor and assignment operator.
576         * include/std/std_istream.h: Remove declared but undefined copy
577         ctor and assignment operator. This is taken care of in ios_base,
578         so adding it in the derived class as well is superfluous.
579         * include/std/std_ostream.h: Same.
581         * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
582         * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
583         
584 2002-02-14  Benjamin Kosnik  <bkoz@redhat.com>
586         * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
587         Add typeinfo bits. Smooth.
588         * aclocal.m4: Regenerate.
589         * configure: Same.
590         * src/Makefile.in: Same.
592 2001-02-14  Joel Sherrill  <joel@OARcorp.com>
594         * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
595         which do not have a CAS instruction.
597 2002-02-14  Phil Edwards  <pme@gcc.gnu.org>
599         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  New macro, initial revision.
600         * configure.in:  Call it.
601         * config/linker-map.gnu:  New file, initial incomplete revision.
602         * src/Makefile.am:  Optionally pass version script to the linker.
603         * aclocal.m4:  Regenerate.
604         * configure:  Regenerate.
605         * src/Makefile.in:  Regenerate.
607 2002-02-13  Benjamin Kosnik  <bkoz@redhat.com>
609         * src/localename.cc: Remove stdexcept include.
610         * src/locale-inst.cc: Same.
611         * src/locale.cc: Same.
612         * src/functexcept.cc: Remove string includes.
613         * include/std/std_bitset.h: Remove stdexcept include.
614         * testsuite/23_containers/bitset_members.cc: Add stdexcept.
615         * testsuite/23_containers/bitset_ctor.cc: Same.
617 2002-02-11  Benjamin Kosnik  <bkoz@redhat.com>
619         * include/bits/stl_algo (__stl_threshold): Declare external.    
620         (__stl_chunk_size): Same.
621         * include/bits/stl_bvector.h (__WORD_BIT): Same.
622         * include/bits/stl_tree.h (_S_rb_tree_red): Same.
623         (_S_rb_tree_black): Same.
624         * src/stl-inst.cc (__stl_threshold): Define.
625         (__stl_chunk_size): Same.
626         (__WORD_BIT): Same.
627         (_S_rb_tree_red): Same.
628         (_S_rb_tree_black): Same.
629         
630         * config/io/basic_file_libio.h (__basic_file): Add declarations.
631         * include/bits/basic_file.h: Remove.
632         * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
633         Declare generic types, specialization.
634         * config/io/basic_file_stdio.cc: Definitions.   
635         * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
636         Declare generic types.
637         * include/Makefile.am (bits_headers): Remove basic_file.h.
638         (extra_target_headers): Change basic_file_model.h to basic_file.h.
639         (stamp-target): Same.
641         * include/bits/stl_alloc.h: Tweaks.
642         * include/bits/localefwd.h: Same.       
644 2002-02-11  Aaron W LaFramboise  <AWLaFramboise@aol.com>
646         * include/bits/locale_facets.tcc (collate::do_hash): Fix.
647         * testsuite/22_locale/collate_members_char.cc (test03): New test.
648         * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
649         
650 2002-02-10  Phil Edwards  <pme@gcc.gnu.org>
652         * include/bits/stl_algo.h (transform (both signatures), generate_n):
653         Use __typeof__ in concept checks.
655 2002-02-10  Jonathan Wakely  <cow@compsoc.man.ac.uk>
657         * include/bits/stl_algo.h (__median, for_each, find, find_if,
658         adjacent_find, count, count_if, search, search_n, swap_ranges,
659         transform, replace, replace_if, replace_copy, replace_copy_if,
660         generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
661         unique, unique_copy, reverse, reverse_copy):  Doxygenate.
663 2002-02-08  Benjamin Kosnik  <bkoz@redhat.com>
665         * include/bits/locale_facets.h
666         (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
667         (__timepunct<_CharT>::_M_initialize_timepunct): Same.
668         (__timepunct<_CharT>::_M_put_helper): Same.
669         (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
671         * include/bits/fstream.tcc (filebuf::underflow): Remove
672         __codecvt_type typedef.
673         (filebuf::_M_convert_to_external): Same.
674         
675 2002-02-08  Phil Edwards  <pme@gcc.gnu.org>
677         * docs/doxygen/TODO:  Update.
678         * docs/doxygen/doxygroups.cc:  Tweak __gnu_cxx description.
679         * docs/doxygen/mainpage.html:  Add TODO list link.
680         * docs/doxygen/user.cfg.in:  Add @doctodo hook.
681         * docs/doxygen/tables.html:  New file, emoty structure only.
683         * include/bits/stl_iterator.h:  Doxygenate just about everything.
684         * include/bits/stl_iterator_base_funcs.h:  Ditto, clean up spaces.
685         * include/bits/stl_iterator_base_types.h:  Add notes.
687 2002-02-07  Stephan Buys  <sbproxy@icon.co.za>
689         * include/bits/stl_map.h:  Tweak doxygen markup.
690         * include/bits/stl_multimap.h:  Doxygenate and remove extra spaces.
691         * include/bits/stl_vector.h:  Likewise.
693 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
695         libstdc++/5286
696         libstdc++/3860
697         * include/std/std_fstream.h (filebuf::__file_type): Change to
698         __basic_file<char>.
699         (filebuf::_M_convert_to_external): Declare.
700         * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
701         codecvt bits for wide streams.
702         (filebuf::_M_really_overflow): Use it.
703         (filebuf::underflow): Use codecvt.
704         * config/locale/codecvt_specializations_ieee_1003.1-200x.h: 
705         (codecvt<__enc_traits>::do_out): Deal with partial.
706         (codecvt<__enc_traits>::do_encoding): Return something useful.
707         * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
708         wchar_t.
709         * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
710         Change expected encoding output.
711         (test02): Same.
712         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
713         (test02): Same.
715 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
716             Wolfgang Bangerth  <wolfgang.bangerth@iwr.uni-heidelberg.de>
717         
718         * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
719         (basic_ios::widen): Same.
721 2002-02-07  Paolo Carlini  <pcarlini@unitus.it>
723         * testsuite/22_locale/money_get_members_char.cc:
724         Add comment, tidy up.
725         (test01): more "en_HK" tests (without showbase).
726         * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
728 2002-02-06  Loren Rittle <ljrittle@acm.org>
730         * config/locale/c_locale_generic.cc: Do not trust
731         _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
732         set by configure.
734 2002-02-06  Loren Rittle <ljrittle@acm.org>
736         * acinclude.m4: Add C++ linkage check for strtof.
737         * aclocal.m4: Rebuilt.
738         * config.h.in: Rebuilt.
739         * configure: Rebuilt.
740         * config/locale/c_locale_generic.cc: Conditionally include
741         <ieeefp.h>.  Improve handling and error checking of float
742         and long double input for non-C99 configurations.
744 2002-02-06  Paolo Carlini  <pcarlini@unitus.it>
746         * include/bits/locale_facets.tcc (money_get::do_get(string)):
747         In case money_base::symbol deal properly with multi-char sign
748         for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
749         * testsuite/22_locale/money_get_members_char.cc: Add test07.
750         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
752 2002-02-05  Paolo Carlini  <pcarlini@unitus.it>
754         * include/bits/locale_facets.tcc (money_get::do_get(string)):
755         First construct a tentative returned string, then, only if the
756         parsing succeeds, copy it into the string passed by reference.
757         * testsuite/22_locale/money_get_members_char.cc: Add test06.
758         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
760 2002-02-04  Phil Edwards  <pme@gcc.gnu.org>
762         * docs/doxygen/TODO:  Impl-defined behavior now documented...
763         * docs/html/17_intro/howto.html:  ...here.
764         * docs/doxygen/mainpage.doxy:  Remove, rename...
765         * docs/doxygen/mainpage.html:  ...to this.  Tweak HTML, add license.
766         * docs/doxygen/style.css:  Add small text.
767         * docs/doxygen/run_doxygen:  Adjust for new mainpage.
768         * docs/doxygen/user.cfg.in:  Likewise.
770 2002-02-04  Stephan Buys  <sbproxy@icon.co.za>
772         * include/bits/stl_map.h:  Initial doxygen markup.
773         * include/std/std_fstream.h:  Initial doxygen markup.
775 2002-02-04  Paolo Carlini  <pcarlini@unitus.it>
777         libstdc++/5579
778         * include/bits/locale_facets.tcc (money_get::do_get(string)):
779         Deal correctly with !(__io.flags() & ios_base::showbase)
780         for case money_base::symbol.
781         * testsuite/22_locale/money_get_members_char.cc: Add test05.
782         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
784 2002-02-02  Paolo Carlini  <pcarlini@unitus.it>
786         * testsuite/22_locale/operators.cc
787         (gnu_collate::do_compare()): Add return statement to
788         suppress "no return statement" warning.
790 2002-02-01  Paolo Carlini  <pcarlini@unitus.it>
792         * testsuite/27_io/ostream_manip.cc: Enable test02.
794 2002-02-01  Phil Edwards  <pme@gcc.gnu.org>
796         * docs/html/documentation.html:  Update for 3.0.96.
797         * docs/html/faq/index.html:  Update for 3.0.96.
798         * docs/html/faq/index.txt:  Regenerated.
799         * docs/doxygen/TODO:  Update notes.
800         * docs/html/17_intro/howto.html:  Initial impl-specific listing.
802 2002-01-31  Benjamin Kosnik  <bkoz@redhat.com>
804         * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
805         Initialize all data members in copy ctor. Make ctors explicit.
806         (__enc_traits::__enc_traits()): Default ctor does nothing.
807         (__enc_traits::_M_init): Guard against multiple iconv_opens.
808         * include/std/std_sstream.h (basic_stringbuf): Make data members
809         protected.
810         * include/std/std_fstream.h (basic_filebuf): Same.
811         * include/std/std_streambuf.h: Tweak.
812         * include/bits/streambuf.tcc: Same.
813         * include/bits/sstream.tcc: Same.
814         * include/bits/fstream.tcc: Same.       
816 2002-01-31  Loren Rittle <ljrittle@acm.org>
818         * testsuite/22_locale/codecvt_members_char_char.cc: Do not
819         allow NULL argument to be passed to setenv().
820         * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
821         * testsuite/22_locale/collate_members_char.cc: Likewise.
822         * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
823         * testsuite/22_locale/ctype_members_char.cc: Likewise.
824         * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
825         * testsuite/22_locale/messages_members_char.cc: Likewise.
826         * testsuite/22_locale/money_get_members_char.cc: Likewise.
827         * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
828         * testsuite/22_locale/money_put_members_char.cc: Likewise.
829         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
830         * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
831         * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
832         * testsuite/22_locale/num_get_members_char.cc: Likewise.
833         * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
834         * testsuite/22_locale/num_put_members_char.cc: Likewise.
835         * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
836         * testsuite/22_locale/numpunct_members_char.cc: Likewise.
837         * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
838         * testsuite/22_locale/time_get_members_char.cc: Likewise.
839         * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
840         * testsuite/22_locale/time_put_members_char.cc: Likewise.
841         * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
843 2002-01-30  Benjamin Kosnik  <bkoz@redhat.com>
845         * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
847         * ChangeLog-2001: Fix spelling errors...
848         * docs/html/17_intro/RELEASE-NOTES: Update.
849         * docs/html/17_intro/TODO: Update.
850         * README (file): Update.
851         
852 2002-01-30  Loren Rittle <ljrittle@acm.org>
854         * config/locale/c_locale_generic.cc: Check errno for ERANGE
855         instead of non-zero to aid portability.
857 2002-01-30  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
859         * docs/html/22_locale/messages.html: Fix example code.
861 2002-01-30  Richard Henderson  <rth@redhat.com>
863         * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
864         out from test03 and templatize.
865         (test03): Use it.
867 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
869         * config/locale/numpunct_members_gnu.cc
870         (numpunct<char, wchar_t>::_M_initialize_numpunct()):
871         Fix initialization of _M_grouping for locales which have
872         _M_thousands_sep == '\0'(L'\0', respectively).
873         * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
875 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
877         * testsuite/27_io/ostream_inserter_arith.cc (test03):
878         Better fix for 32/64 bit architectures, avoiding the
879         implicit assumption that CHAR_BIT == 8.
881 2002-01-28  Phil Edwards  <pme@gcc.gnu.org>
883         * Makefile.am (doxygen, doxygen-maint, doxygen-man):  Tweak targets.
884         * Makefile.in:  Regenerate.
886         * docs/doxygen/run_doxygen:  Update, mostly for man pages.
887         * docs/doxygen/Intro.3:  Update.
888         * docs/doxygen/TODO:  Update.
889         * docs/doxygen/doxygroups.cc:  Add namespace hook for __gnu_cxx.
890         * docs/doxygen/mainpage.doxy:  Update.
891         * docs/doxygen/user.cfg.in:  Update for header rename.  Also
892         regenerate comments and variables with 1.2.12.
893         * docs/doxygen/maint.cfg.in:  Remove file.
895         * include/bits/stl_relops.h:  Doxygenate.
896         * include/bits/stl_tempbuf.h (std::_Temporary_buffer):  Likewise.
898         * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
899         include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
900         include/c_std/std_ciso646.h, include/c_std/std_climits.h,
901         include/c_std/std_clocale.h, include/c_std/std_cmath.h,
902         include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
903         include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
904         include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
905         include/c_std/std_cstring.h, include/c_std/std_ctime.h,
906         include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
907         include/ext/algorithm, include/ext/functional, include/ext/hash_map,
908         include/ext/hash_set, include/ext/iterator, include/ext/memory,
909         include/ext/numeric, include/ext/rb_tree, include/ext/rope,
910         include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
911         include/ext/stl_hashtable.h, include/ext/stl_rope.h,
912         include/std/std_algorithm.h, include/std/std_bitset.h,
913         include/std/std_complex.h, include/std/std_deque.h,
914         include/std/std_fstream.h, include/std/std_functional.h,
915         include/std/std_iomanip.h, include/std/std_ios.h,
916         include/std/std_iosfwd.h, include/std/std_iostream.h,
917         include/std/std_istream.h, include/std/std_iterator.h,
918         include/std/std_limits.h, include/std/std_list.h,
919         include/std/std_locale.h, include/std/std_map.h,
920         include/std/std_memory.h, include/std/std_numeric.h,
921         include/std/std_ostream.h, include/std/std_queue.h,
922         include/std/std_set.h, include/std/std_sstream.h,
923         include/std/std_stack.h, include/std/std_stdexcept.h,
924         include/std/std_streambuf.h, include/std/std_string.h,
925         include/std/std_utility.h, include/std/std_valarray.h,
926         include/std/std_vector.h:  Add/correct @file doxygen hook.
928         * include/ext/memory:  Doxygenate most of rest of file.
929         * libsupc++/exception:  Doxygen output formatting.
930         * libsupc++/new:  Say which header it is.
932         * testsuite/lib/libstdc++-v3-dg.exp:  Fix spacing.
933         * docs/html/19_diagnostics/howto.html:  Describe concept-checks switch.
934         * docs/html/23_containers/howto.html:  Describe O(n) list::size().
935         * docs/html/27_io/howto.html:  Also link to Langer and Kreft text.
937 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
938             Charles Leggett <CGLeggett@lbl.gov>
940         * testsuite/27_io/filebuf_members.cc (test_05): Add test.
942 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
944         * testsuite/27_io/ostream_inserter_arith.cc (test03):
945         Fix to deal correctly with both 32 bit and 64 bit architectures
947 2002-01-25  Loren Rittle <ljrittle@acm.org>
949         * testsuite/thread/pthread1.cc: Use one condition variable
950         per predicate instead of tricky use of one condition variable.
952 2002-01-25  Benjamin Kosnik  <bkoz@redhat.com>
954         * include/bits/fstream.tcc (filebuf::close()): Fix close for input
955         streams.
956         (filebuf::_M_really_overflow): Match indeterminate and sync calls.
957         * testsuite/27_io/filebuf.cc: Compile only.
958         * testsuite/27_io/filebuf_members.cc: Move tests to here.
959         * testsuite/27_io/filebuf_virtuals.cc: And here.
960         Revert sungetc, sync changes for expected values.
961         * testsuite/27_io/filebuf-*: Move to...
962         * testsuite/27_io/filebuf_virtuals-*: ...here.
963         * testsuite/27_io/istream.cc: Compile only, activate.
964         * testsuite/27_io/ostream.cc: Same.
965         * testsuite/27_io/iostream.cc: New.
966         * testsuite/27_io/iostream_members.cc: New.
968 2002-01-25  David Billinghurst <David.Billinghurst@riotinto.com>
970         * testsuite/thread/pthread1.cc: Enable on cygwin.
971         * testsuite/thread/pthread2.cc: Likewise.
972         * testsuite/thread/pthread3.cc: Likewise.
973         * testsuite/thread/pthread4.cc: Likewise.
974         * testsuite/thread/pthread5.cc: Likewise.
975         * testsuite/thread/pthread6.cc: Likewise.
977 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
979         * testsuite/27_io/ostream_inserter_char.cc (test07): New. 
980         
981 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
983         * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
984         const, tweak.
985         (basic_ios::fill(char_type)): Use fill().       
986         * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
987         (basic_ios::narrow): Same.
988         (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
989         if they are invalid.
990         (basic_ios::init): Comment.
991         * testsuite/27_io/ios_init.cc (test02): New.
992         
993 2002-01-24  Phil Edwards  <pme@gcc.gnu.org>
995         * include/bits/stl_tempbuf.h (_Temporary_buffer):  Add doxygen hook.
996         * include/bits/stl_algo.h:  Include stl_tempbuf.h.
997         * include/ext/memory:  Do not include stl_tempbuf.h.
998         (temporary_buffer):  Add doxygen hook.
999         (__get_temporary_buffer, get_temporary_buffer,
1000         return_temporary_buffer):  Move back to std:: header...
1001         * include/std/std_memory.h:  ...here.  Do not include stl_tempbuf.h.
1002         * include/ext/rope:  Do not include stl_tempbuf.h.
1003         * include/ext/stl_hashtable.h:  Likewise.
1004         * include/std/std_algorithm.h:  Likewise.
1005         * testsuite/20_util/temporary_buffer.cc:  New file.
1007 2002-01-24  andrew@andypo.net
1008             (tweaks, test and commit by Loren J. Rittle  <ljrittle@acm.org>)
1010         libstdc++/5432
1011         * include/bits/ios_base.h: Use _Atomic_word for reference counts.
1012         * include/bits/localefwd.h: Likewise.
1013         Also use for std::locale::id::_S_highwater.
1014         * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
1015         * src/locale.cc: Support new usage of _Atomic_word.
1016         (std::locale::classic): Guard entire function against reentry.
1017         * src/localename.cc: Support new usage of _Atomic_word.
1019 2002-01-24   Benjamin Kosnik  <bkoz@redhat.com>
1021         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
1022         _GLIBCPP_HAVE_SETENV.
1023         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
1024         * testsuite/22_locale/collate_members_char.cc (test02): Same.
1025         * testsuite/22_locale/ctype_members_char.cc (test03): Same.
1026         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
1027         * testsuite/22_locale/messages_members_char.cc (test02): Same.
1028         * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
1029         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
1030         * testsuite/22_locale/money_put_members_char.cc (test04): Same.
1031         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
1032         * testsuite/22_locale/num_get_members_char.cc (test03): Same.
1033         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
1034         * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
1035         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
1036         * testsuite/22_locale/time_get_members_char.cc (test07): Same.
1037         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
1038         * testsuite/22_locale/time_put_members_char.cc (test03): Same.
1039         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
1040         * testsuite/22_locale/num_put_members_char.cc (test03): Same.
1041         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
1042         * aclocal.m4: Regenerate.
1043         * configure: Regenerate.
1044         * config.h.in: Regenerate.
1045         
1046 2002-01-23  Loren Rittle <ljrittle@acm.org>
1048         * testsuite/thread/pthread1.cc: New test.
1049         * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
1050         * testsuite/thread/pthread3.cc: Likewise.
1051         * testsuite/thread/pthread4.cc: New test adapted from
1052         http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
1053         * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
1054         * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
1056 2002-01-23  Richard Henderson  <rth@redhat.com>
1058         PR libstdc++/5198
1059         * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
1060         CAS on the cpu variants that support it.  Add versions that use
1061         TAS and that disable interrupts.
1062         (__atomic_add): Use __exchange_and_add to guarantee atomicity.
1064 2002-01-23  Matt Kraai  <kraai@alumni.cmu.edu>
1066         * include/bits/locale_facets.tcc: Remove old comments.
1068 2002-01-23  Andreas Tobler  <toa@pop.agri.ch>
1070         * include/bits/locale_facets.tcc (__convert_to_v): Change template
1071         parameter to _Tv.
1072         (__convert_from_v): Same.
1073         
1074 2002-01-23  Benjamin Kosnik  <bkoz@redhat.com>
1076         * include/bits/locale_facets.h (num_get::_M_extract_int): Change
1077         prototype.
1078         * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
1079         __max_digits checks, adjust arguments.
1080         (num_get::do_get(*)): Changeup.
1082 2002-01-23  Loren Rittle <ljrittle@acm.org>
1084         * config/locale/c_locale_generic.cc: Fix typename usage.
1086 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1088         * config/locale/c_locale_generic.cc: Fix.
1090 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1092         * docs/html/22_locale/messages.html: Remove angle brackets.
1093         * docs/html/17_intro/TODO: Add.
1094         
1095 2002-01-22  Paolo Carlini  <pcarlini@unitus.it>
1097         * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
1098         * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
1099         * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
1100         * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
1102 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1104         Audit for LANG independence.
1105         * include/bits/localefwd.h: Tweaks.
1106         * include/bits/locale_facets.tcc (money_get::do_get(long double)):
1107         Use __convert_to_v.
1108         (time_get::do_get_year): Same.
1109         (__convert_from_v): Add.
1110         (num_put::_M_convert_float): Use.
1111         (num_put::_M_convert_int): Same.
1112         (money_put::do_put): Same.
1113         
1114         * src/locale-inst.cc: Add instantiations for __convert_from_v.
1115         * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
1116         * config/locale/time_members_generic.cc: 
1117         * config/locale/messages_members_gnu.cc: Same.
1118         * config/locale/messages_members_gnu.h: Same.
1119         
1120         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
1121         * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
1122         * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
1123         * testsuite/22_locale/collate_members_char.cc (test02): New.
1124         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
1125         * testsuite/22_locale/ctype_members_char.cc (test03): New.
1126         * testsuite/22_locale/messages_members_char.cc (test02): New.
1127         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
1128         * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
1129         * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
1130         * testsuite/22_locale/money_get_members_char.cc (test04): New.
1131         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
1132         * testsuite/22_locale/money_put_members_char.cc (test04): New.
1133         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
1134         * testsuite/22_locale/numpunct_members_char.cc (test02): New.
1135         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
1136         * testsuite/22_locale/time_put_members_char.cc (test03): New.
1137         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
1138         * testsuite/22_locale/time_get_members_char.cc (test07): New.
1139         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
1140         * testsuite/22_locale/num_get_members_char.cc (test03): New.
1141         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
1142         * testsuite/22_locale/num_put_members_char.cc (test03): New.
1144         * testsuite/22_locale/time_get_members_char.cc: Fixups for global
1145         locale issues.
1146         * testsuite/22_locale/time_get_members_char.cc: Same.
1147         
1148 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1150         libstdc++/5280
1151         * include/bits/localefwd.h: Tweak comments.
1152         * include/bits/locale_facets.h (__convert_to_v): Add.
1153         * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
1154         (num_get::do_get(float)): Same.
1155         (num_get::do_get(long double)): Same.
1156         (num_get::do_get(bool)): Same.
1157         (num_get::do_get(long)): Same.
1158         (num_get::do_get(long long)): Same.
1159         (num_get::do_get(unsigned int)): Same.
1160         (num_get::do_get(unsigned short)): Same.
1161         (num_get::do_get(unsigned long)): Same.
1162         (num_get::do_get(unsigned long long)): Same.
1163         * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
1164         * config/locale/c_locale_generic.cc: Same.
1165         
1166 2002-01-22  Loren Rittle <ljrittle@acm.org>
1168         * include/Makefile.am (c_base_builddir): Remove redundant slash.
1169         (std_builddir): Likewise.
1170         (std_headers_rename): Fix cut-n-paste typo.
1171         (install-data-local): Concat path per element instead of once to
1172         first element of list.
1173         * include/Makefile.in: Rebuilt.
1175 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1177         * config/os/aix/bits/ctype_noninline.h: Fix formatting.
1178         * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
1179         * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
1181 2002-01-20  Benjamin Kosnik  <bkoz@redhat.com>
1183         * include/bits/locale_facets.h (ctype<char>::classic_table):
1184         Remove definition.
1185         (ctype<char>::_S_ctable): Remove.
1186         * config/os/gnu-linux/bits/ctype_noninline.h
1187         (ctype<char>::_S_table): Remove definition.
1188         (ctype<char>::classic_table): Define.
1189         (ctype<char>::ctype): Replace _S_ctable with classic_table().
1190         * config/os/aix/bits/ctype_noninline.h: Same.
1191         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1192         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1193         * config/os/djgpp/bits/ctype_noninline.h: Same.
1194         * config/os/generic/bits/ctype_noninline.h: Same.
1195         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1196         * config/os/hpux/bits/ctype_noninline.h: Same.
1197         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1198         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1199         * config/os/mingw32/bits/ctype_noninline.h: Same.
1200         * config/os/newlib/bits/ctype_noninline.h: Same.
1201         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1202         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1203         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1205 2002-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
1207         * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
1208         of _pctype. Use to define _S_ctable.  Add definition for alternate
1209         ctor.  Initialise _M_ctable to _S_ctable in ctors.
1210         (do_toupper, do_tolower): Use inline code appropriate for C-locale
1211         rather than ::toupper, ::tolower.
1213 2002-01-18  Loren Rittle <ljrittle@acm.org>
1215         * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
1216         Add specialization for FreeBSD systems only to avoid losing test
1217         only due to extra precision unmentioned in system headers.
1219 2002-01-18  David Billinghurst <David.Billinghurst@riotinto.com>
1221         * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
1223 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
1225         * testsuite/testsuite_hooks.h: Fix comment typo.  Memory
1226         limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
1228 2002-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1229         
1230         * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
1232 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
1234         * configure.target: Define OPT_LDFLAGS for AIX case.
1236 2002-01-17  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1238         * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
1239         __glibcpp_double_has_quiet_NaN): Correct mispelling.
1241 2002-01-17  Andreas Tobler  <toa@pop.agri.ch>
1243         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
1245 2002-01-16  David Edelsohn  <dje@watson.ibm.com>
1247         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
1248         SECTION_LDFLAGS and OPT_LDFLAGS.  Fix ac_sectionLDflags type.
1249         * aclocal.m4: Regenerate.
1250         * configure: Regenerate.
1251         
1252 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
1254         * include/Makefile.am (c_base_headers_rename): New.
1255         (c_base_headers_extra): New.
1256         (stamp-c_base): Modify.
1257         (install-data-local): Use both.
1258         * include/Makefile.in: Regenerate.
1259         * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
1260         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
1261         cstdio ctime cwctype]: Move to..
1262         * include/c/std_*: Here.
1263         * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
1264         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
1265         cstdio ctime cwctype]: Move to..
1266         * include/c_std/std_*: Here.
1268         Alexandre Oliva  <aoliva@redhat.com>    
1269         * include/Makefile.am (.PRECIOUS): Add rule.
1270         * include/Makefile.in: Regenerate.
1271         
1272 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
1273             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1274         
1275         * include/bits/stl_iterator.h (reverse_iterator::_M_current):
1276         Deuglify, should be current.
1277         (back_insert_iterator::_M_container): Deuglify, should be container.
1278         (front_insert_iterator::_M_container): Same.    
1279         (insert_iterator::_M_container): Same.
1280         * testsuite/24_iterators/reverse_iterator.cc: Add check.
1281         * testsuite/24_iterators/back_insert_iterator.cc: Add check.    
1282         * testsuite/24_iterators/front_insert_iterator.cc: Same.
1283         * testsuite/24_iterators/insert_iterator.cc: Same.
1284         
1285 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
1287         * include/bits/locale_facets.h (ctype<char>::classic_table): Make
1288         static.
1289         (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
1290         * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
1291         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1292         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1293         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1294         * config/os/newlib/bits/ctype_noninline.h: Same.
1295         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1296         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1297         * config/os/hpux/bits/ctype_noninline.h: Same.
1298         * config/os/djgpp/bits/ctype_noninline.h: Same.
1299         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1300         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1301         * config/os/aix/bits/ctype_noninline.h: Same.
1302         
1303         Testcase by Dietmar Kühl via Peter Schmid 
1304         * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
1305         classic_table().
1307 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
1309         * libmath/signbitl.c: Copyright years as list, not range.       
1310         * libmath/Makefile.am: Same.
1311         * libmath/Makefie.in: Regenerate.
1312         * libmath/signbit.c: Same.
1313         * libmath/nan.c: Same.
1314         * libmath/copysignf.c: Same.
1315         * libmath/signbitf.c: Same.
1316         * testsuite/22_locale/money_get_members_char.cc: Same.
1317         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
1318         * testsuite/22_locale/money_put_members_char.cc: Same.
1319         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
1320         * testsuite/22_locale/time_get_members_char.cc: Same.
1321         * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
1322         * testsuite/22_locale/time_put_members_char.cc: Same.
1323         * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
1324         * testsuite/21_strings/nonmember.cc: Same.
1325         * testsuite/21_strings/compare.cc: Same.
1326         * testsuite/27_io/stringstream.cc: Same.
1327         * testsuite/27_io/stringbuf.cc: Same.
1328         * testsuite/27_io/filebuf.cc: Same.
1329         * testsuite/27_io/ios_manip_basefield.cc: Same.
1330         * testsuite/27_io/ios_manip_fmtflags.cc: Same.
1331         * include/bits/cpp_type_traits.h: Same.
1332         * include/bits/generic_shadow.h: Same.
1333         * include/bits/gslice_array.h: Same.
1334         * include/bits/gslice.h: Same.
1335         * include/bits/indirect_array.h: Same.
1336         * include/bits/slice_array.h: Same.
1337         * include/bits/sstream.tcc: Same.
1338         * include/bits/streambuf_iterator.h: Same.
1339         * include/bits/valarray_array.tcc: Same.
1340         * include/bits/valarray_meta.h: Same.
1341         * include/bits/valarray_array.h: Same.
1342         * config/os/mingw32/bits/ctype_noninline.h: Same.
1343         * config/os/mingw32/bits/ctype_base.h: Same.
1344         * config/os/hpux/bits/ctype_noninline.h: Same.
1345         * config/os/hpux/bits/ctype_base.h: Same.
1346         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1347         * config/os/gnu-linux/bits/ctype_base.h: Same.
1348         * config/os/generic/bits/ctype_noninline.h: Same.
1349         * config/os/generic/bits/ctype_base.h: Same.
1351         * libsupc++/tinfo.h: Tweaks.
1353 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
1355         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
1356         * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
1357         * testsuite/22_locale/ctype_members_char.cc: Tweak.     
1359 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
1361         * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
1362         (num_put::do_put(void*)): Fix.
1363         * testsuite/22_locale/num_put_members_char.cc (test02): Add.
1364         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
1365         * testsuite/22_locale/num_get_members_char.cc (test02): Add
1366         long double, void, bool types.
1367         * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
1368         
1369 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
1370             Alexandre Oliva  <aoliva@redhat.com>
1372         * libmath/Makefile.am (LINK): Add --tag CC.
1373         * libmath/Makefile.in: Regenerate.
1375 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1377         * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
1378         of character to attribute mapping table.
1380 2002-01-15  David Billinghurst <David.Billinghurst@riotinto.com>
1382         * testsuite/26_numerics/c99_classification_macros_c.cc
1383         Remove dg-error and dg-excess-errors comments.
1385 2002-01-14  Benjamin Kosnik  <bkoz@redhat.com>
1387         * include/bits/locale_facets.tcc (time_put::put): Correct output
1388         iterator positions.
1389         * testsuite/22_locale/time_put_members_char.cc (test02): Add.
1390         * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
1391         * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
1392         * testsuite/22_locale/time_get_members_char.cc (test06): Add.
1394 2002-01-14  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1396         * docs/html/17_intro/porting-howto.xml: Update filebuf section.
1398 2002-01-14  Paolo Carlini  <pcarlini@unitus.it>
1399             Nathan Myers  <ncm@cantrip.org>
1401         * include/bits/basic_string.h
1402         (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
1403         temporaries (i.e., call _M_replace_safe) when possible.
1404         (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
1405         (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
1406         (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
1407         (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
1408         (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
1409         * include/bits/basic_string.tcc
1410         (replace(__pos1, __n1, __str, __pos2, __n2)): Call
1411         replace(__pos, __n1, __s, __n2).
1412         * testsuite/21_strings/replace.cc (test03): New testcases.
1414         * include/bits/basic_string.h (insert(__pos, __s, __n)):
1415         Adjust comparison wrt overflow.
1416         
1417 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
1419         * include/Makefile.am (std_headers_rename): New variable.
1420         (install-data-local): Use it.
1421         * include/Makefile.in: Regenerate.
1422         
1423 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
1425         * include/bits/locale_facets.tcc (money_put::do_put(string):
1426         Correct output iterator value.
1427         * testsuite/22_locale/money_put_members_char.cc (test03): Add.
1428         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
1429         
1430 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
1432         * include/Makefile.am, include/Makefile.in (stamp-std):  Fix typo from
1433         previous commit.
1435 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
1437         * include/Makefile.am (std_headers):  Update list with new names.
1438         (stamp-std):  Link to standardized name.
1439         * include/Makefile.in:  Regenerate.
1441         * include/std/algorithm, include/std/bitset, include/std/complex,
1442         include/std/deque, include/std/fstream, include/std/functional,
1443         include/std/iomanip, include/std/ios, include/std/iosfwd,
1444         include/std/iostream, include/std/istream, include/std/iterator,
1445         include/std/limits, include/std/list, include/std/locale,
1446         include/std/map, include/std/memory, include/std/numeric,
1447         include/std/ostream, include/std/queue, include/std/set,
1448         include/std/sstream, include/std/stack, include/std/stdexcept,
1449         include/std/streambuf, include/std/string, include/std/utility,
1450         include/std/valarray, include/std/vector:  Rename to...
1452         * include/std/std_algorithm.h, include/std/std_bitset.h,
1453         include/std/std_complex.h, include/std/std_deque.h,
1454         include/std/std_fstream.h, include/std/std_functional.h,
1455         include/std/std_iomanip.h, include/std/std_ios.h,
1456         include/std/std_iosfwd.h, include/std/std_iostream.h,
1457         include/std/std_istream.h, include/std/std_iterator.h,
1458         include/std/std_limits.h, include/std/std_list.h,
1459         include/std/std_locale.h, include/std/std_map.h,
1460         include/std/std_memory.h, include/std/std_numeric.h,
1461         include/std/std_ostream.h, include/std/std_queue.h,
1462         include/std/std_set.h, include/std/std_sstream.h,
1463         include/std/std_stack.h, include/std/std_stdexcept.h,
1464         include/std/std_streambuf.h, include/std/std_string.h,
1465         include/std/std_utility.h, include/std/std_valarray.h,
1466         include/std/std_vector.h:  ...this.
1468 2002-01-11  Loren Rittle <ljrittle@acm.org>
1470         * include/Makefile.am (extra_target_headers): New list of all
1471         target files built with ad hoc naming rules.
1472         (stamp-*): Handle LN_S failure in manner portable across make
1473         implementations.
1474         (install-data-local): Install header files from human-maintained
1475         file lists and directory components instead of non-robust find.
1476         * include/Makefile.in: Rebuilt.
1478 2002-01-11  Benjamin Kosnik  <bkoz@redhat.com>
1480         * include/bits/locale_facets.tcc (money_get::do_get(string)):
1481         Check for zero-length negative sign before adding it to output
1482         string.
1483         (money_get::do_get(long double)): Return beg.
1484         * testsuite/22_locale/money_get_members_char.cc (test02): Add
1485         iterator checks.
1486         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
1487         
1488 2002-01-10  David Seymour  <seymour_dj@yahoo.com>
1490         libstdc++/5331
1491         * include/bits/locale_facets.h (num_get<>): Return advanced iterator
1492         for _M_extract_float and _M_extract_int
1493         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
1494         (num_get<>::_M_extract_int): Likewise, all callers changed
1495         * testsuite/22_locale/num_get_members_char.cc: Testcase
1497 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
1499         * libsupc++/exception (bad_exception): Add comment.
1500         * libsupc++/new (bad_alloc): Same.
1501         * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
1503 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
1505         libstdc++/3150: revert 2001-11-30 commit. DR266 only means
1506         that the destructors should be removed from the descriptions
1507         in the standard: writing them explicitly allows the vtable
1508         heuristic to work. For additional information see:
1509         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
1510         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
1511         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
1512         * libsupc++/exception (bad_exception::~bad_exception()):
1513         Reintroduce declaration.
1514         * libsupc++/new (bad_alloc::~bad_alloc()): Same.
1515         * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
1516         (bad_typeid::~bad_typeid()): Same.
1517         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
1518         Reintroduce definition.
1519         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
1520         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
1521         (bad_typeid::~bad_typeid()): Same.
1523 2002-01-09  Benjamin Kosnik  <bkoz@redhat.com>
1525         * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
1526         * include/Makefile.in: Regenerate.
1527         
1528 2002-01-09  Bo Thorsen  <bo@suse.co.uk>
1530         * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
1531         definition.
1533 2002-01-08  Benjamin Kosnik  <bkoz@redhat.com>
1535         libstdc++/2913
1536         libstdc++/4879
1537         * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
1538         return value of _M_file->sync().
1539         (filebuf::showmanyc): Check for is_open.
1540         * include/std/fstream (filebuf::sync): Tweak.
1541         * testsuite/27_io/filebuf.cc: Tweak.
1543 2002-01-08  John Fardo  <jfardo@laurelnetworks.com>
1544             Brad Garcia  <garsh@attbi.com>
1545         
1546         * testsuite/27_io/filebuf_members.cc: Add test.
1547         
1548 2002-01-07  Benjamin Kosnik  <bkoz@redhat.com>
1549             Craig Rodrigues  <rodrigc@mediaone.net>
1551         libstdc++/5174
1552         * po/Makefile.am (mkinstalldirs): Add.
1553         * po/Makefile.in: Regenerate.
1555 2002-01-07  David Billinghurst  <David.Billinghurst@riotinto.com>
1557         * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
1558         testsuite/lib/prune.exp: Delete lines ":In function ..."  from
1559         compiler output.
1560         * testsuite/23_containers/map_operators.cc: Remove
1561         dg-excess-errors comment.
1562         * testsuite/23_containers/set_operators.cc: Likewise.
1564 2002-01-06  Paolo Carlini  <pcarlini@unitus.it>
1566         * include/bits/stl_function.h:  Remove two lines of comments;
1567         adjust copyright years.
1569 2002-01-04  Benjamin  Kosnik  <bkoz@redhat.com>
1571         * include/Makefile.am (std_headers): Remove cXXX from list.
1572         (c_base_srcdir): No bits subdirectory.
1573         (c_base_builddir): Same.
1574         (c_base_headers): Adjust names, add ciso646.
1575         (bits_headers): Remove std_xxx.h headers.
1576         * include/Makefile.in: Regenerate.
1577         
1578         * include/ext/iterator: Adjust includes.
1579         * include/ext/ropeimpl.h: Same.
1580         * include/ext/stl_hash_fun.h: Same.
1581         * include/ext/algorithm: Same.
1582         
1583         * include/backward/bvector.h: Adjust includes.
1584         * include/backward/vector.h: Same.
1585         * include/backward/strstream: Same.
1586         * include/backward/streambuf.h: Same.
1587         * include/backward/stack.h: Same.
1588         * include/backward/set.h: Same.
1589         * include/backward/queue.h: Same.
1590         * include/backward/multiset.h: Same.
1591         * include/backward/multimap.h: Same.
1592         * include/backward/map.h: Same.
1593         * include/backward/list.h: Same.
1594         * include/backward/iterator.h: Same.
1595         * include/backward/iostream.h: Same.
1596         * include/backward/iomanip.h: Same.
1597         * include/backward/fstream.h: Same.
1598         * include/backward/deque.h: Same.
1599         * include/backward/complex.h: Same.
1601         * include/bits/std_algorithm.h: Move to...
1602         * include/std/algorithm: ...here.
1603         * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
1604         std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
1605         std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
1606         std_deque.h, std_istream.h, std_numeric.h, std_string.h,
1607         std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
1608         std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
1609         std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
1610         Same.
1611         
1612         * include/c_std/bits/std_cassert.h: Move to...
1613         * include/c_std/cassert: Here.
1614         * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
1615         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
1616         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
1617         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
1618         std_cwctype.h: Same.
1619         * include/c_std/cmath: Adjust cmath.tcc include.
1620         * include/c_std/cstdlib: Adjust includes.
1621         * include/c_std/cwchar: Same.
1622         * include/c_std/ctime: Same.
1623         * include/c_std/cstring: Same.
1624         * include/c_std/cstdio: Same.
1625         * include/c_std/bits: Remove directory.
1626         
1627         * include/c/bits/std_cassert.h: Move to...
1628         * include/c/cassert: Here.
1629         * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
1630         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
1631         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
1632         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
1633         std_cwctype.h: Same.
1634         * include/c/bits: Remove directory.
1635         
1636         * include/std/cwctype: Remove.
1637         * include/std/cwchar: Remove.
1638         * include/std/ctime: Remove.
1639         * include/std/cstring: Remove.
1640         * include/std/cstdlib: Remove.
1641         * include/std/cstdio: Remove.
1642         * include/std/cstddef: Remove.
1643         * include/std/cstdarg: Remove.
1644         * include/std/csignal: Remove.
1645         * include/std/csetjmp: Remove.
1646         * include/std/cmath: Remove.
1647         * include/std/clocale: Remove.
1648         * include/std/climits: Remove.
1649         * include/std/ciso646: Remove.
1650         * include/std/cfloat: Remove.
1651         * include/std/cerrno: Remove.
1652         * include/std/cctype: Remove.
1653         * include/std/cassert: Remove.
1655         * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
1656         files and subsituting <xxx>.
1657         * include/bits/valarray_array.h: Same.
1658         * include/bits/stl_uninitialized.h: Same.
1659         * include/bits/stl_alloc.h: Same.
1660         * include/bits/stl_algobase.h: Same.
1661         * include/bits/sstream.tcc: Same.
1662         * include/bits/pthread_allocimpl.h: Same.
1663         * include/bits/ostream.tcc: Same.
1664         * include/bits/localefwd.h: Same.
1665         * include/bits/locale_facets.tcc: Same.
1666         * include/bits/locale_facets.h: Same.
1667         * include/bits/istream.tcc: Same.
1668         * include/bits/char_traits.h: Same.
1669         * include/bits/boost_concept_check.h: Same.
1670         * include/bits/basic_file.h: Same.
1671         * include/std/bitset: Same.
1672         * include/std/complex: Same.
1673         * include/std/fstream: Same.
1674         * include/std/functional: Same.
1675         * include/std/ios: Same.
1676         * include/std/iostream: Same.
1677         * include/std/ostream: Same.
1678         * include/std/sstream: Same.
1679         * include/std/streambuf: Same.
1680         * include/std/string: Same.
1681         * include/std/iterator: Same.
1682         * include/std/valarray: Same.
1684         * src/ios.cc: Adjust includes.
1685         * src/valarray-inst.cc: Same.
1686         * src/string-inst.cc: Same.
1687         * src/stl-inst.cc: Same.
1688         * src/stdexcept.cc: Same.
1689         * src/misc-inst.cc: Same.
1690         * src/localename.cc: Same.
1691         * src/locale-inst.cc: Same.
1692         * src/locale.cc: Same.
1693         * src/limits.cc: Same.
1694         * src/concept-inst.cc: Same.
1695         * src/complex_io.cc: Same.
1696         * src/codecvt.cc: Same.
1697         * src/bitset.cc: Same.
1698         * src/cmath.cc: Same.
1700 2002-01-04  Paolo Carlini  <pcarlini@unitus.it>
1702         * include/bits/stl_tree.h (rb_tree):  Move to...
1703         * include/ext/rb_tree:  ...here, new file.
1704         * include/Makefile.am (ext_headers):  Add new file.
1705         * include/Makefile.in:  Regenerate.
1706         * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
1707         return_temporary_buffer, struct temporary_buffer):  Move to...
1708         * include/ext/memory:  ...here.
1709         * testsuite/ext/headers.cc:  Include <ext/rb_tree>.
1710         * include/backward/tempbuf.h:  Include <ext/memory>, tweak.
1711         * include/backward/tree.h:  Include <ext/rb_tree), tweak.
1713 2002-01-03  Paolo Carlini  <pcarlini@unitus.it>
1715         * include/bits/stl_numeric.h (power + helpers, iota):  Move to...
1716         * include/ext/numeric:  ...here, new file.
1717         * include/bits/stl_function.h (identity_element, unary_compose,
1718         binary_compose, compose1, compose2, identity, select1st,
1719         select2nd, project1st + helper, project2nd + helper,
1720         constant_void_fun + helper, constant_unary_fun + helper,
1721         costant_binary_fun + helper, constant0, constant1, constant2,
1722         subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
1723         * include/ext/functional:  ...here, new file.
1724         * include/Makefile.am (ext_headers):  Add new files.
1725         * include/Makefile.in:  Regenerate.
1726         * testsuite/ext/headers.cc:  Include <ext/numeric> and
1727         <ext/functional>.
1728         * include/backward/algo.h:  Include <ext/numeric>, tweak.
1729         * include/backward/function.h:  Include <ext/functional>, tweak.
1730         * include/ext/ropeimpl.h:  Include <ext/numeric>.
1732 2002-01-03  Jeffrey A Law  <law@redhat.com>
1734         * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
1735         __strtoull declarations with __extension__.
1737 2002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>
1739         * testsuite/lib/prune.exp: Correct regular expression for
1740         -ffunction-sections
1742 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
1744         * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
1745         Change concept checks, as with lower_bound and PR 2054.
1746         * testsuite/ext/concept_checks.cc:  Expand test to include those.
1748 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
1750         * include/bits/boost_concept_check.h:  Import some changes from
1751         upsteam (Boost) version.
1753 2002-01-02  Paolo Carlini  <pcarlini@unitus.it>
1755         * include/bits/stl_algobase.h (copy_n + helpers,
1756         lexicographical_compare_3way + helpers):  Move to...
1757         * include/ext/algorithm:  ...here.
1758         * include/bits/stl_uninitialized.h (uninitialized_copy_n +
1759         helpers):  Move to...
1760         * include/ext/memory:  ...here, new file.
1761         * include/Makefile.am (ext_headers):  Add new file.
1762         * include/Makefile.in:  Regenerate.
1763         * testsuite/ext/headers.cc:  Include <ext/memory>.
1764         * include/backward/algobase.h:  Include <ext/memory> and
1765         <ext/algorithm>, tweak.
1766         * include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
1767         * include/ext/stl_rope.h:  Include <ext/memory>, tweak.
1769 2002-01-01  Roger Sayle <roger@eyesopen.com>
1771         * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
1772         equivalent ___builtin__ versions.
1774         * include/c_shadow/bits/std_cmath.h: All __builtin math functions
1775         are available in libstdc++ as the necessary stub implementations
1776         are provided by libmath/stubs.c.
1778 2002-01-01  Jason Thorpe  <thorpej@wasabisystems.com>
1780         * configure.in: Add support for NetBSD cross compiles.
1781         * configure: Regenerate.