OSDN Git Service

2002-06-03 Phil Edwards <pme@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2002-06-03  Phil Edwards  <pme@gcc.gnu.org>
2
3         * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
4         Move/rename...
5         (vector<bool>::swap(reference,reference)): ...to this.
6
7 2002-06-03  Phil Edwards  <pme@gcc.gnu.org>
8
9         * docs/doxygen/TODO:  Update.
10         * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS):  Set to off, now that
11         some class members are in 14882 order.
12         * docs/html/ext/howto.html:  3.1 is in the past now, not the future.
13
14         * include/std/std_bitset.h:  Update comment.
15         * src/bitset.cc:  Update comments, clean up spacing.
16
17         * src/Makefile.am (sources):  Alphabetize for convenience.
18         * src/Makefile.in:  Regenerate.
19
20 2002-06-03  Phil Edwards  <pme@gcc.gnu.org>
21
22         * include/bits/stl_deque.h, include/bits/stl_list.h,
23         include/bits/stl_vector.h:  Reformat to (mostly) match C++STYLE.
24         Reorder to match 14882.  Doxygen blocks for all public members.
25
26 2002-05-31  Marcus Meissner  <meissner@suse.de>
27
28         PR libstdc++/6886
29         * include/bits/stl_bvector.h:  Use UL suffix for unsigned longs.
30         * testsuite/23_containers/vector_bool.cc (test02):  New test.
31
32 2002-05-30      Marc Espie <espie@openbsd.org>
33         * configure.in:  Always check for sys/types.h
34         * configure:  Regenerate.
35
36 2002-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
37
38         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
39         Rebuild the wrapper file every time this proc is called.
40
41 2002-05-28  Phil Edwards  <pme@gcc.gnu.org>
42
43         * testsuite/Makefile.am (noinst_LIBRARIES):  New target.  Pull in
44         CXX/INCLUDES.
45         * testsuite/Makefile.in:  Regenerate.
46         * testsuite/testsuite_hooks.h (gnu_copy_tracker):  Move from
47         list_modifiers.cc and rename from 'T'.  Move code bodies...
48         * testsuite/testsuite_hooks.cc:  ...to here.  New file.
49         * testsuite/23_containers/list_modifiers.cc:  Move 'T' class out.
50         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
51         Add libv3test.a to link options.
52
53 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
54
55         * src/misc-inst.cc: Define unnecessary algorithm
56         instantiations. Break apart instantiations into groupings below.
57         * src/fstream-inst.cc: New.
58         * src/io-inst.cc: New.  
59         * src/istream-inst.cc: New.     
60         * src/ostream-inst.cc: New.             
61         * src/streambuf-inst.cc: New.   
62         * src/sstream-inst.cc: New.             
63         * src/Makefile.am (sources): Add files.
64         * src/Makefile.in: Regenerate.
65
66         * acinclude.m4: Work around automake 1.4-p5 bug, change
67         AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
68         
69 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
70
71         PR libstdc++/6795.
72         * config/os/solaris/solaris2.6/bits/ctype_noninline.h
73         (classic_table): Fix.
74         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
75         
76 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
77
78         * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
79         _GLIBCPP_USE_WCHAR_T.
80         * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
81         * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
82         * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
83         
84 2002-05-26  Carlo Wood  <carlo@alinoe.com>
85             Paolo Carlini  <pcarlini@unitus.it>
86
87         PR libstdc++/6811
88         * config/locale/ieee_1003.1-2001/codecvt_specializations.h
89         (__enc_traits::operator=): add missing return statement.
90
91 2002-05-24  Phil Edwards  <pme@gcc.gnu.org>
92
93         PR libstdc++/6282
94         * include/std/std_bitset.h (_Base_biteset<0>):  New specialization.
95         (operator>>):  If nothing was extracted, don't fail in the
96         zero-length case.
97         * testsuite/23_containers/bitset_ctor.cc (test02):  New test.
98
99 2002-05-24  Benjamin Kosnik  <bkoz@redhat.com>
100
101         PR libstdc++/6701
102         * testsuite/22_locale/ctype_narrow_char.cc: New.
103         * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.     
104         * testsuite/22_locale/ctype_widen_char.cc: New.
105         * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
106         * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
107         * testsuite/22_locale/ctype_is_char.cc: ...this.
108         * testsuite/22_locale/ctype_to_char.cc: ...and this.
109         * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
110         * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
111         * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
112
113         * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
114         
115 2002-05-24  Dale Peakall <dale@peakall.net>
116
117         PR libstdc++/6701
118         * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
119         * config/locale/generic/ctype_members.cc: Same.
120         
121 2002-05-24  Benjamin Kosnik  <bkoz@redhat.com>
122
123         PR libstdc++/6750
124         * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
125         for empty string literal.
126         (ostream::operator<<(const _CharT*)): Same.
127         (ostream<char>::operator<<(const char*)): Same.
128         (ostream<char>::operator<<(streambuf*)): Same.
129         * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
130         * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
131         
132 2002-05-23  Benjamin Kosnik  <bkoz@redhat.com>
133
134         * configure.in (release_VERSION): Update to 3.1.1.
135         (libtool_VERSION): Update to 4:1:0.
136         * configure: Regenerate.
137         
138 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
139
140         * include/bits/stl_pair.h:  Tweak comment markup.
141
142 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
143
144         * include/ext/stdio_filebuf.h:  Add header guards.  Doxygenate.
145
146 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
147
148         * docs/doxygen/user.cfg.in (EXCLUDE):  Add 'CVS'.
149
150 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
151
152         * include/bits/stl_vector.h:  Reformat to follow C++STYLE.
153         Doxygenate all public members.  Reorder to follow 14882.
154         (vector::push_back(void)):  Remove previously-deprecated fn.
155         (vector::insert(iterator), vector::_M_insert_aux(iterator)):
156         Deprecate for removal in 3.3.
157
158 2002-05-20  Phil Edwards  <pme@gcc.gnu.org>
159
160         * docs/html/faq/index.html (5.4):  Recommend against -I options for
161         finding the ext headers.
162         * docs/html/faq/index.txt:  Regenerate.
163
164 2002-05-19  Paolo Carlini  <pcarlini@unitus.it>
165
166         * testsuite/23_containers/deque_operators.cc (test01):
167         Fix minor typo in last commit.
168
169 2002-05-18  Paolo Carlini  <pcarlini@unitus.it>
170
171         PR libstdc++/6503
172         * include/bits/stl_deque.h (_Deque_iterator::operator==,
173         operator!=, operator<, operator>, operator>=, operator<=):
174         Make non-member functions, to allow comparing const and
175         non-const iterators in any order.
176         * testsuite/23_containers/deque_operators.cc: New testfile.
177
178 2002-05-16  Phil Edwards  <pme@gcc.gnu.org>
179
180         * docs/html/faq/index.html:  Update not-a-bug list with basic_file.h.
181         * docs/html/faq/index.txt:  Regenerate.
182
183 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
184
185         * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
186         * acinclude.m4: Likewise.
187         * docs/html/Makefile: Likewise.
188         * aclocal.m4: Regenerate.
189         * configure: Regenerate.
190         * Makefile.in: Regenerate.
191
192 2002-05-15  Loren J. Rittle <ljrittle@acm.org>
193
194         libstdc++/6641
195         * include/bits/c++config (__USE_MALLOC): Report case where
196         the user improperly defined it on the command line.
197
198 2002-05-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
199
200         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
201         Retrieve current limits before setting.
202
203 2002-05-15  Benjamin Kosnik  <bkoz@redhat.com>
204
205         PR libstdc++/6518
206         * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
207         for null case.
208         (ostream::operator<<(const _CharT*)): Same.
209         (ostream<char>::operator<<(const char*)): Same.
210         * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
211         
212 2002-05-15  Benjamin Kosnik  <bkoz@redhat.com>
213
214         PR libstdc++/6594
215         * src/strstream.cc (strstreambuf): Fix leak.
216
217 2002-05-15  Paolo Carlini  <pcarlini@unitus.it>
218
219         PR libstdc++/6648
220         * include/bits/istream.tcc (istream::getline, ignore):
221         Upon __idelim (__delim) call sbumpc() not snextc().
222         * testsuite/27_io/narrow_stream_objects.cc:
223         Add test08 and test09.
224
225 2002-05-13  Benjamin Kosnik  <bkoz@redhat.com>
226
227         * testsuite/22_locale/ctype_scan_char.cc: Tweak.
228         * testsuite/22_locale/ctype_scan_wchar_t.cc: New.       
229
230         * docs/html/install.html: Fix.
231         
232 2002-05-13  Benjamin Kosnik  <bkoz@redhat.com>
233
234         * include/bits/fstream.tcc
235         (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
236         try/catch blocks.
237         * src/localename.cc (locale::_Impl::_M_install_facet): Same.
238
239         * docs/html/install.html: Tweak, add bits about required locales
240         for the 22_locale tests when using the gnu model.
241
242         * testsuite/27_io/istream_sentry.cc: Tweak.
243         
244 2002-05-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
245
246         * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
247         Fix typo, use this->is() rather than manually (and perhaps
248         incorrectly) inlining it.
249         * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
250         Likewise.
251         * testsuite/22_locale/ctype_scan_char.cc: New file.
252
253 2002-05-13  Paolo Carlini  <pcarlini@unitus.it>
254             Jakub Jelinek  <jakub@redhat.com>
255
256         * testsuite/22_locale/money_get_members_char.cc
257         (test01, test02, test04): Use the de_DE@euro named locale
258         instead of de_DE to allow for an uniform behaviour with
259         both old and Euro-era localedata; tweak some tests.
260         * testsuite/22_locale/money_get_members_wchar_t.cc
261         (test01, test02, test04): Likewise.
262         * testsuite/22_locale/money_put_members_char.cc
263         (test01, test02, test04): Likewise.
264         * testsuite/22_locale/money_put_members_wchar_t.cc
265         (test01, test02, test04): Likewise.
266
267 2002-05-13  Paolo Carlini  <pcarlini@unitus.it>
268
269         * testsuite/22_locale/codecvt_members_char_char.cc
270         (test03): Robustify wrt localedata.
271         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
272         * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
273         * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
274         * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
275         * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
276         * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
277         * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
278         * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
279         * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
280         * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
281         * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
282         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
283         * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
284         * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
285         * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
286         * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
287         * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
288         * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
289         * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
290         * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
291         * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
292         * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
293
294 2002-05-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
295
296         * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
297         change.
298
299 2002-05-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
300
301         * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
302         to 64 for hppa 64-bit port.
303         (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
304
305 2002-05-10  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
306
307         * acinclude.m4 (enable_symvers): Quote $LD.
308         * aclocal.m4: Regenerate.
309         * configure: Likewise.
310
311 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
312
313         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
314         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
315         LD_LIBRARY_PATH.
316
317 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
318
319         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
320         script entry, and set LD to it when configuring multilibs.
321         * configure: Rebuilt.
322
323 2002-05-07  Mark Mitchell  <mark@codesourcery.com>
324
325         * configure.in: Add support for WindISS.
326         * configure: Regenerated.
327         * configure.target: Add support for WindISS.
328         * config/os/windiss/bits/ctype_base.h: New file.
329         * config/os/windiss/bits/ctype_inline.h: Likewise.
330         * config/os/windiss/bits/ctype_noninline.h: Likewise.
331         * config/os/windiss/bits/os_defines.h: Likewise.
332
333 2002-05-06  Paolo Carlini  <pcarlini@unitus.it>
334
335         Test all the facets for the temporary "C" locale switch issue.
336         * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
337         * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
338         * testsuite/22_locale/collate_members_char.cc: Add test04.
339         * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
340         * testsuite/22_locale/ctype_members_char.cc: Add test05.
341         * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
342         * testsuite/22_locale/messages_members_char.cc: Add test03.
343         * testsuite/22_locale/money_get_members_char.cc: Add test08.
344         * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
345         * testsuite/22_locale/money_put_members_char.cc: Add test07. 
346         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
347         * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
348         * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
349         * testsuite/22_locale/num_get_members_char.cc: Add test06.
350         * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise. 
351         * testsuite/22_locale/numpunct_members_char.cc: Add test03.
352         * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise. 
353         * testsuite/22_locale/time_get_members_char.cc: Add test08.
354         * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise. 
355         * testsuite/22_locale/time_put_members_char.cc: Add test04.
356         * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
357
358         * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
359         * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
360
361 2002-05-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
362
363         * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
364         __EXTENSIONS__): Ensure they are always defined.
365
366 2002-05-06  Phil Edwards  <pme@gcc.gnu.org>
367
368         * docs/html/documentation.html:  Fix broken link.
369
370 2002-05-04  Benjamin Kosnik  <bkoz@redhat.com>
371             Paolo Carlini  <pcarlini@unitus.it>
372
373         * testsuite/22_locale/num_put_members_char.cc: Add test04(),
374         testing for the locale_facets.tcc entry of the previous commit.
375         * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
376
377 2002-05-04  Takeshi Kobayakawa  <tskoba@mte.biglobe.ne.jp>
378
379         * config/locale/generic/c_locale.cc
380         (__convert_to_v(float, double, long double)):
381         Fix the temporary switch to the "C" locale, saving and
382         restoring in the proper way the current locale.
383         * config/locale/generic/time_members.cc
384         (__timepunct<char, wchar_t>::_M_put): Likewise.
385         * config/locale/gnu/messages_members.cc
386         (messages<char>::do_get): Likewise.
387         * config/locale/gnu/messages_members.h
388         (messages<_CharT>::do_get): Likewise.
389         * config/locale/gnu/time_members.cc
390         (__timepunct<char, wchar_t>::_M_put): Likewise.
391         * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
392
393 2002-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
394
395         * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
396         * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
397
398         * Makefile.in, config.h.in, configure: Regenerate.
399
400 2002-05-03  Benjamin Kosnik  <bkoz@redhat.com>
401
402         PR libstdc++/6549.
403         * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
404         * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
405         
406 2002-05-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
407
408         * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
409         Return __ctype + 1.
410         (ctype:_M_table): Initialize to classic_table(), not __ctype.
411
412 2002-05-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
413
414         * configure.in: Update local install.html, configopts.html paths.
415         * configure: Regenerate.
416
417 2002-05-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
418
419         * config/os/irix/irix5.2/bits/os_defines.h
420         (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
421
422         * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
423         char.
424
425 2002-05-02  Phil Edwards  <pme@gcc.gnu.org>
426
427         * docs/html/faq/index.html:  Update list in #4.1.
428         * docs/html/faq/index.txt:  Regenerated.
429
430 2002-05-02  Benjamin Kosnik  <bkoz@redhat.com>
431
432         * docs/html/17_intro/RELEASE-NOTES (New): Update.
433
434 2002-05-01  Phil Edwards  <pme@gcc.gnu.org>
435
436         * include/std/std_bitset.h:  Fix doxygen comments.
437         * docs/html/documentation.html:  Minor tweaks for 3.1.
438         * docs/html/27_io/howto.html:  Likewise.
439         * docs/html/ext/howto.html:  Likewise, mention stdio_filebuf.
440         * docs/html/faq/index.html:  Likewise.
441         * docs/html/faq/index.txt:  Regenerated.
442
443 2002-05-01  Benjamin Kosnik  <bkoz@redhat.com>
444
445         PR libstdc++/6533
446         * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
447         (istreambuf_iterator::equal): Use it.
448         (istreambuf_iterator::operator*): Use it.       
449
450 2002-05-01  Paolo Carlini  <pcarlini@unitus.it>
451
452         PR libstdc++/6513
453         * include/bits/stl_uninitialized.h
454         (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
455         Fix typo in 2001-07-17 commit: typedef _ValueType to
456         iterator_traits<_ForwardIter> not <_InputIter>.
457         * testsuite/23_containers/vector_ctor.cc: Add test04.
458
459 2002-04-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
460         
461         PR libstdc++/6501
462         * include/c_std/std_cctype.h: Include bits/c++config.h.
463         * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
464
465 2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
466
467         * include/ext/stdio_filebuf.h: New file.
468         * include/ext/enc_filebuf.h: New file.  
469         * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
470         * config/io/basic_file_stdio.cc: Same.  
471         * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
472         Remove _M_unbuf hacks.
473         (filebuf::_M_destroy_internal_buffer): Same.
474         (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
475         (filebuf::fd): Remove.
476         * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
477         (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
478         (filebuf::fd): Remove.  
479         * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
480         filebufs.
481         (ios_base::_S_ios_destroy): Same.
482         * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
483         * include/Makefile.am (ext_headers): Add ext_filebuf.h,
484         stdio_filebuf.h.  * include/Makefile.in: Regenerate.
485
486 2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
487
488         PR libstdc++/6511
489         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
490
491 2002-04-29  Benjamin Kosnik  <bkoz@redhat.com>
492
493         PR libstdc++/5820
494         * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
495         Check for eof.
496         * include/bits/streambuf_iterator.h: Match stream_iterator.h.
497         (istreambuf_iterator::operator++): Invalidate on eof.
498         (istreambuf_iterator::operator++(int)): Same.
499         (istreambuf_iterator::operator*): Same.
500         
501 2002-04-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
502
503         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
504         of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
505         LD_LIBRARY64_PATH. 
506
507 2002-04-28  Benjamin Kosnik  <bkoz@redhat.com>
508
509         PR libstdc++/5820
510         * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
511         (__basic_file::sys_ungetc): Take int.
512         * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
513         * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
514         Use sys_getc for unbuffered input.
515         * testsuite/27_io/narrow_stream_objects.cc (test06): New.
516         
517         * src/ios.cc (_M_grow_words): Adjust error checking.
518         * testsuite/27_io/ios_base_storage.cc: Same.
519
520 2002-04-28  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
521
522         * include/ext/stl_hashtable.h: Import __iterator_category
523
524 2002-04-28  Paolo Carlini  <pcarlini@unitus.it>
525             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
526
527         * testsuite/ext/hash_set.cc: New testfile.
528
529 2002-04-27  Benjamin Kosnik  <bkoz@redhat.com>
530
531         * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
532         _G_USING_THUNKS.
533         * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
534         * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
535
536 2002-04-26  Paolo Carlini  <pcarlini@unitus.it>
537
538         * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
539         Fix and tighten __throw_length_error check.
540         * testsuite/21_strings/replace.cc (test05): New.
541         * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
542
543 2002-04-23  Loren J. Rittle <ljrittle@acm.org>
544
545         * include/std/std_fstream.h (basic_filebuf::sync): Hoist
546         unconditional flush on lower-layer handle to here...
547         * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
548         ...from here.  Optimize remaining _M_file.sync() call pattern.
549         * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
550         (test05): Likewise.
551
552 2002-04-23  Jason Merrill  <jason@redhat.com>
553
554         * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
555         output-only filebufs.
556         * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
557         Likewise.
558         (basic_filebuf::_M_set_determinate): Likewise.
559
560         PR libstdc++/6414
561         * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
562         value properly in the trivial case.
563         * testsuite/27_io/istream_seeks.cc (test04): Make sure that
564         tellg() returns the right value after a read.
565
566 2002-04-23  Hans-Peter Nilsson  <hp@bitrange.com>
567
568         * config/cpu/mmix/bits/cpu_limits.h: New file.
569         * configure.target (CPULIMITSH): Use it.
570
571 2002-04-22  Loren J. Rittle <ljrittle@acm.org>
572
573         * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
574         * docs/html/17_intro/porting.html: Rebuilt.
575
576 2002-04-20  Jason Merrill  <jason@redhat.com>
577
578         PR libstdc++/4150
579         * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate): 
580         Move to filebuf.
581         (basic_streambuf::_M_set_determinate): Likewise.
582         (basic_streambuf::_M_is_indeterminate): Likewise.
583         * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New 
584         non-static data member.
585         (basic_filebuf::_M_underflow_common): New non-static member function.
586         (basic_filebuf::_M_underflow, _M_uflow): Call it.
587         (basic_filebuf::sync): Avoid useless seeking.
588         (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
589         Set _M_filepos.
590         (basic_filebuf::_M_set_determinate): Likewise.
591         (basic_filebuf::_M_is_indeterminate): Likewise.
592         * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
593         back to _M_out_beg if necessary.
594         (basic_filebuf::seekoff): Likewise.
595         (basic_filebuf::_M_underflow_common): Generalization of old 
596         underflow().  Don't seek back to _M_in_beg.
597         * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
598         * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
599         * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
600         * config/os/mingw32/bits/os_defines.h: Likewise.
601         * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify 
602         ungetc test.
603
604 2002-04-22  Benjamin Kosnik  <bkoz@redhat.com>
605
606         * include/bits/istream.tcc (istream::read): Fix.
607         * testsuite/27_io/istream_unformatted.cc (main): Add.
608
609 2002-04-20  Benjamin Kosnik  <bkoz@redhat.com>
610
611         PR libstdc++/6360
612         * include/bits/istream.tcc (istream::ignore): Streamline, use
613         delimiter as is.
614         * include/bits/streambuf.tcc: Use this->gptr.
615         * testsuite/27_io/istream_unformatted.cc (test08): Add test.
616         
617 2002-04-18  Benjamin Kosnik  <bkoz@redhat.com>
618
619         * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
620         as type safety is important, especially on solaris.
621         * include/bits/istream.tcc (istream::read): Clean.
622         (istream::readsome): Same.
623         * locale.cc: Wrap lines.
624
625         * testsuite/21_strings/inserters_extractors.cc: Tweaks.
626         * testsuite/27_io/instantiations.cc (test): Add bool variable...
627         * testsuite/21_strings/capacity.cc: Clean.
628                 
629 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
630
631         * docs/doxygen/doxygroups.cc:  New group on binary searching.
632         * include/bits/stl_algo.h:  Document binary searches and merges.
633         * include/bits/stl_deque.h:  The 'map' member is not the 'map' class.
634
635 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
636
637         * docs/doxygen/mainpage.html:  Doxygen logo is now a PNG file.
638         * docs/doxygen/run_doxygen:  Bump required version.
639         * docs/doxygen/user.cfg.in:  Revert accidental change.
640         * docs/html/faq/index.html:  Reindent a block of links.
641         (4.4):  New note on using dlsym.
642         * docs/html/faq/index.txt:  Regenerated.
643
644 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
645
646         * testsuite_flags.in (cxxflags):  Also pass @EXTRA_CXX_FLAGS@.
647
648 2002-04-17  Benjamin Kosnik  <bkoz@redhat.com>
649
650         * config/linker-map.gnu (__malloc_alloc_template): Add.
651         (__default_alloc_template): Same.       
652         * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
653         template.
654         (__default_alloc_template): Same.
655         
656 2002-04-17  Benjamin Kosnik  <bkoz@redhat.com>
657
658         * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
659
660 2002-04-16  Benjamin Kosnik  <bkoz@redhat.com>
661
662         * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
663         * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
664         (__malloc_alloc_template): Conditionalize.
665
666         * include/bits/istream.tcc: Remove sputbackc calls.
667
668         * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
669         
670 2002-04-16  Paolo Carlini <pcarlini@unitus.it>
671
672         * testsuite/24_iterators/rel_ops.cc: New test.
673         
674 2002-04-16  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
675
676         * include/bits/type_traits.h (__normal_iterator): Declare in
677         __gnu_cxx.  Adjust use at global namespace.
678         * include/bits/stl_iterator.h (__normal_iterator): Move definition
679         into __gnu_cxx::. Add more operator overloads.  Tidy existing ones.
680         * include/bits/basic_string.h (basic_string): Adjust use of
681         __normal_iterator.
682         * include/bits/stl_vector.h (_Alloc>): Likewise.
683         * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
684         * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
685
686 2002-04-15  Benjamin Kosnik  <bkoz@redhat.com>
687
688         PR libstdc++/4164
689         Valgrind fixes.
690         * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
691         Call close.
692         (__basic_file::close): Call fflush. Correct return if fclose ok. 
693         (__basic_file::is_open): Make const.
694         Change __c_file_type to __c_file.
695         * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
696         (__basic_file::is_open): Make const.    
697         * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
698         * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
699         (filebuf::_M_unbuf): Add.
700         (filebuf::_M_file): Change to non-pointer.
701         (filebuf::_M_allocate_pback_buffer): Remove.
702         * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
703         (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
704         Change initialization list for _M_file change.
705         (filebuf::_M_allocate_pback_buffer): Remove.
706         Change _M_file usage to reflect non-pointer data member.
707         
708         * config/locale/generic/c_locale.cc
709         (locale::facet::_S_create_c_locale): Add parameter.
710         * config/locale/generic/collate_members.cc: Change
711         _M_compare_helper to _M_compare.
712         Change _M_transform_helper to _M_transform.
713         * config/locale/generic/monetary_members.cc: Changeup data types.
714         Add dtors.
715         * config/locale/generic/numeric_members.cc: Add dtors.
716         * config/locale/generic/time_members.cc: Add dtors.
717         * config/locale/gnu/c_locale.cc: Add parameter.
718         * config/locale/gnu/collate_members.cc:Change
719         _M_compare_helper to _M_compare.
720         Change _M_transform_helper to _M_transform.
721         * config/locale/gnu/ctype_members.cc: Better error checking.
722         * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
723         * config/locale/gnu/messages_members.cc: Tweak comment.
724         * config/locale/gnu/monetary_members.cc: Change data types.
725         Add dtors.
726         * config/locale/gnu/numeric_members.cc: Add dtors, better error
727         checking.
728         * config/locale/gnu/time_members.cc: Same.
729         * config/locale/ieee_1003.1-2001/c_locale.cc
730         (locale::facet::_S_create_c_locale): Add parameter.
731         * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
732         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
733         bogus ctor.
734         
735         * include/bits/locale_facets.h (moneypunct): Use string literals.
736         Don't define dtor.
737         (numpunct): Same.
738         (__timepunct): Same.
739         (locale::_Impl::_M_facets): Change from vector to array.
740         (locale::_Impl::_M_names): Change from array of strings to array
741         of string literals.
742         (locale::facet::_S_create_c_locale): Add parameter.
743         (locale::locale::_S_num_facets): Move to...
744         (locale::_Impl::_M_facets_size): Here.
745         * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
746         changes.
747         * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
748         (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
749         (locale::_Impl::_Impl(string, size_t)): Change to
750         (locale::_Impl::_Impl(const char*, size_t)): This.
751         
752         * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
753         * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
754         (streambuf::_S_pback_size): This.
755
756         * src/globals.cc: Add pre-allocations for "C" facets.
757         * src/locale-inst.cc: Remove vector instantiations.
758         * src/locale.cc: Remove vector include. Fixups for _M_names,
759         _M_facets changes.
760         * src/localename.cc: Same.
761
762         * include/bits/stl_vector.h: Fix odd formatting.
763         
764         * include/bits/basic_string.tcc: Tweak comment.
765
766         * libsupc++/new: Make sure parameters are uglified.
767         * libsupc++/typeinfo: Same.
768                 
769         * testsuite/22_locale/num_get_members_char.cc: Fixup.
770         * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
771         * testsuite/27_io/filebuf_members.cc: Same.
772
773 2002-04-12  Steve Ellcey  <sje@cup.hp.com>
774
775         * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
776         (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
777         does not define strtoll or strtoull, but does define strtol
778         and strtoul which are the same since in 64 bit mode
779         sizeof(long) == sizeof(long long).
780
781 2002-04-12  Phil Edwards  <pme@gcc.gnu.org>
782
783         * include/std/std_bitset.h:  Doxygenate std::bitset<>.  Clean up
784         trailing spaces, indentation, and macro names.  Make exception
785         messages more informative.
786
787 2002-04-11  Richard Henderson  <rth@redhat.com>
788
789         * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
790         * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
791         (basic_ostream<>::operator<<(long long)): Same.
792
793 2002-04-11  Richard Henderson  <rth@redhat.com>
794
795         * config/linker-map.gnu: Add __gxx_personality_sj0.
796
797 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
798
799         libstdc++/1072
800         * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
801         pointer to vector.
802         Remove forward declaration of vector.
803         Include vector.
804         * include/bits/locale_facets.tcc: Remove vector include.
805         (use_locale): Adjust.
806         (has_locale): Adjust.
807         * src/locale.cc: Adjust.
808         * src/localename.cc: Same.
809         
810 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
811             Richard Henderson  <rth@redhat.com>
812
813         * include/bits/sstream.tcc: Clean up bit ops.
814         * include/bits/fstream.tcc: Same.
815         
816 2002-04-09  Jakub Jelinek  <jakub@redhat.com>
817
818         * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
819         (__num_base::_S_scale_oct): Remove.
820         * src/locale.cc (__num_base::_S_scale_hex): Remove.
821         (__num_base::_S_scale_oct): Remove.
822
823 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
824
825         libstdc++/6124
826         * testsuite/23_containers/bitset_members.cc: New test.
827         * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
828         (_S_bit_count): Here.
829         (_First_one::_S_first_one): Move...
830         (_S_first_one): Here.
831         Format.
832         * src/bitset.cc: Adjust.
833         * config/linker-map.gnu: Export.
834         
835 2002-04-08  Benjamin Kosnik  <bkoz@redhat.com>
836
837         libstdc++/5180
838         * include/bits/fstream.tcc (filebuf::seekpos): Fix.
839         * include/std/std_fstream.h: Clean.
840         * include/bits/ostream.tcc: Remove extraneous variables.
841         * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
842         open modes and which modes.
843         (stringbuf::seekpos): Same.
844         * testsuite/27_io/stringbuf_virtuals.cc: New tests.
845         
846 2002-04-05  Jonathan Wakely <jw@kayari.org>
847
848         * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
849         random_shuffle, partition, stable_partition, sort, stable_sort,
850         partial_sort, partial_sort_copy, nth_element):  Doxygenate.
851
852 2002-04-05  David S. Miller  <davem@redhat.com>
853
854         * config/os/gnu-linux/bits/os_defines.h
855         (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
856
857 2002-04-04  Benjamin Kosnik  <bkoz@redhat.com>
858
859         libstdc++/3457 
860         via gawrilow@math.tu-berlin.de
861         * acinclude.m4 (version_specific_libs): Fix combo usage with
862         --with-gxx-include-dir.
863         * aclocal.m4: Regenerate.
864         * configure: Same.
865         
866 2002-04-03  Benjamin Kosnik  <bkoz@redhat.com>
867
868         As per DR 184, libstdc++/3139
869         * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
870         (numeric_limits<bool>::is_iec559): False.
871         (numeric_limits<bool>::is_modulo): False.       
872
873         * testsuite/27_io/ios_init.cc: Add instantiations.
874
875 2002-04-02  Benjamin Kosnik  <bkoz@redhat.com>
876         
877         libstdc++/5268
878         * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
879         * testsuite/27_io/ios_init.cc (tests04): Add test.
880
881         libstdc++/3983
882         * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
883         (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
884         * include/bits/basic_ios.tcc: Same. Remove outdated comments.
885         * include/bits/istream.tcc: Use _M_fctype, make consistent with
886         ostream.
887         * testsuite/27_io/ios_init.cc (tests03): Add test.
888         
889 2002-04-02  Phil Edwards  <pme@gcc.gnu.org>
890
891         * include/Makefile.am (install-data-local):  Use mkinstalldirs.
892         * include/Makefile.in:  Regenerate.
893
894 2002-04-02  Paolo Carlini  <pcarlini@unitus.it>
895             Nathan Myers  <ncm@cantrip.org>
896             Philip Martin  <philip@codematters.co.uk>
897
898         * include/bits/basic_string.h
899         (replace(i1, i2, _CharT* k1, _CharT* k2),
900         replace(i2, i2, const _CharT* k1, const _CharT* k2),
901         replace(i1, i2, iterator k1, iterator k2,
902         replace(i1, i2, const_iterator k1, const_iterator k2):
903         New specializations to optimize for the common cases of
904         pointers and iterators.
905         (replace(pos, n1, s, n2)): Tweak.
906         * include/bits/basic_string.tcc: Tweak comments.
907         * testsuite/21_strings/replace.cc (test04): New tests.
908
909 2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
910
911         libstdc++/5542
912         * acinclude: More extensive checks for msgfmt, --enable-nls.
913         * aclocal.m4: Regenerate.
914         * configure: Regenerate.
915
916 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
917
918         * libsupc++/exception (__verbose_terminate_handler):  Point to docs.
919         * docs/doxygen/doxygroups.cc:  Doxygen hooks for abi::__cxa_demangle.
920         * docs/html/18_support/howto.html:  Document the demangler.
921         * docs/html/17_intro/howto.html:  And link to it.
922
923         * docs/doxygen/mainpage.html:  Describe user-vs-maintainer docs.
924         * docs/doxygen/run_doxygen:  Print user-vs-maintainer.
925
926 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
927
928         * config/linker-map.gnu:  Export __verbose_terminate_handler.
929         * libsupc++/Makefile.am (sources):  Add cxa_demangle.c, dyn-string.c.
930         Make new LTCOMPILE variable, use it in new special build rules.
931         * libsupc++/Makefile.in:  Rebuild.
932         * src/vterminate.cc (__verbose_terminate_handler):  Enable use of
933         runtime __cxa_demangle.
934
935         * docs/html/install.html:  Update prereqs and instructions.
936         * docs/html/19_diagnostics/howto.html:  Bring naming for
937         verbose_terminate_handler into line with reality.
938
939 2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
940         
941         libstdc++/3129
942         * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
943         (basic_ios::_M_streambuf_state): Move.  
944         * include/bits/ios_base (ios_base): To here.
945         * include/bits/ios_base.h (ios_base::_S_local_words): To
946         _S_local_word_size.
947         (ios_base::_M_word_array): To _M_local_word.
948         (ios_base::_M_words_limit): To _M_word_size.    
949         (ios_base::_M_words): To _M_word.               
950         Comment.
951         * include/bits/basic_ios.tcc: Adjust.   
952         * src/ios.cc (ios_base::_M_grow_words): Tweak.
953         * testsuite/27_io/ios_base_storage.cc: Add tests.
954
955         libstdc++/5207
956         Kenny Simpson <theonetruekenny@yahoo.com>
957         * include/bits/ios_base.h: Fix.
958         
959         Richard Henderson  <rth@redhat.com>
960         * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
961         last change.
962
963         * include/bits/basic_string.h: Tweak formatting.
964         
965 2002-04-01  Paolo Carlini  <pcarlini@unitus.it>
966
967         * config/locale/ieee_1003.1-2001/codecvt_specializations.h
968         (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
969         By definition, sizeof(char) == 1.
970         * include/bits/locale_facets.tcc (money_get::do_get,
971         money_put::do_put): Ditto.
972         * testsuite/21_strings/inserters_extractors.cc
973         (test04): Ditto.
974
975 2002-03-30  Richard Henderson  <rth@redhat.com>
976
977         PR c++/3719
978         * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
979         data out of the exception struct before calling unexpectedHandler.
980
981 2002-03-28  Roger Sayle  <roger@eyesopen.com>
982
983         * include/c_std/std_cmath.h:  To prevent problems overloading
984         g++ builtins, use the double variants from the global namespace
985         before defining float and long double variants in std::.
986
987 2002-03-28  Loren J. Rittle <ljrittle@acm.org>
988
989         * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
990
991 2002-03-28  Paolo Carlini  <pcarlini@unitus.it>
992
993         * testsuite/24_iterators/istream_iterator.cc
994         (test02): New tests.
995
996 2002-03-28  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
997             Paolo Carlini  <pcarlini@unitus.it>
998
999         * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
1000         (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
1001         fix i_lit_base e_lit_base arrays, making them independent
1002         from the endianness of the platform; tweak UCS4 to UCS-4BE.
1003
1004 2002-03-27  Benjamin Kosnik  <bkoz@redhat.com>
1005
1006         * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
1007         allocate at least a byte.
1008
1009         * testsuite/18_support/numeric_limits.cc (test_extrema): Make
1010         debugger-friendly.
1011         * testsuite/27_io/streambuf.cc (test07): Fix.
1012         (test06): Enable.
1013
1014 2002-03-27  Phil Edwards  <pme@gcc.gnu.org>
1015
1016         * docs/doxygen/Intro.3:  Date tweak.
1017         * docs/doxygen/TODO:  Update.
1018         * docs/doxygen/doxygroups.cc:  Point to tables.html.
1019         * docs/doxygen/mainpage.html:  Date tweak.
1020         * docs/doxygen/run_doxygen:  Version tweak.  Copy tables.html over.
1021         * docs/doxygen/tables.html:  Fill in the blanks.
1022
1023         * docs/doxygen/user.cfg.in (ALIASES):  Remove maint and endmaint.
1024         * include/bits/stl_algo.h:  Likewise; use expanded form.
1025         * include/bits/stl_alloc.h:  Likewise.
1026         * include/bits/stl_construct.h:  Likewise.
1027         * include/bits/stl_deque.h:  Likewise.
1028         * include/bits/stl_iterator_base_types.h:  Likewise.
1029         * include/bits/stl_list.h:  Likewise.
1030         * include/bits/stl_relops.h:  Likewise.
1031         * include/bits/stl_tempbuf.h:  Likewise.
1032         * include/bits/stl_vector.h:  Likewise.
1033         * include/std/std_memory.h:  Likewise.
1034
1035         * include/bits/stl_deque.h:  Point into tables.html and add @ingroup.
1036         * include/bits/stl_list.h:  Likewise.
1037         * include/bits/stl_vector.h:  Likewise.
1038
1039 2002-03-26  Benjamin Kosnik  <bkoz@redhat.com>
1040
1041         * include/c/: Guard with _CPP_.
1042         * include/c_std/: Same.
1043         * include/Makefile.am: Fixup install, link routines for null
1044         c_base_headers_extra scenarios.
1045         * include/Makefile.in: Regerate.
1046
1047 2002-03-25  Paolo Carlini <pcarlini@unitus.it>
1048             Richard Henderson  <rth@redhat.com>
1049
1050         * testsuite/22_locale/codecvt_members_unicode_char.cc
1051         (test01, test02): make sure that the i_lit_base array
1052         is sufficiently aligned.
1053
1054 2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
1055
1056         * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
1057         _ctype_.
1058
1059 2002-03-25  Paolo Carlini  <pcarlini@unitus.it>
1060
1061         * testsuite/22_locale/collate_byname.cc
1062         (test01): compare the result of collate::compare with
1063         that of collate::transform + string::compare, not with
1064         that of collate::transform + collate::compare; values
1065         returned by collate::compare are normalized, therefore
1066         test against +-1.
1067
1068 2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
1069             Jakub Jelinek  <jakub@redhat.com>
1070
1071         * config/locale/gnu/messages_members.h: Correct conditional.
1072         * config/locale/gnu/messages_members.cc: Same.
1073         * config/locale/gnu/time_members.cc: Same.
1074
1075 2002-03-25  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1076             Paolo Carlini  <pcarlini@unitus.it>
1077
1078         * testsuite/22_locale/codecvt_members_unicode_char.cc
1079         (test01, test02): Fix i_lit_base arrays, making them
1080         independent from the endianness of the platform.
1081
1082 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
1083
1084         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
1085         signbit and __signbit directly.
1086         * aclocal.m4: Regenerate.
1087         * configure: Regenerate.
1088         * config.h.in: Regenerate.
1089         * libmath/Makefile.am: Simplify.
1090         * libmath/Makefile.in: Regenerate.
1091         * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
1092
1093         * include/Makefile.am: Clean up handling of extra "C" header files.
1094         Add hooks for "C" compatibility headers.
1095         * include/Makefile.in: Regenerate.
1096
1097         * include/c/*: Formatting tweaks, cleanups.
1098         * include/c_std/*: Same.
1099
1100 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
1101
1102         * config/locale/gnu/messages_members.h: Add __uselocale bits.
1103         * config/locale/gnu/messages_members.cc: Same.
1104         * config/locale/gnu/time_members.cc: Same.
1105
1106 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
1107
1108         * src/vterminate.cc: Format, -fno-exceptions cleanup.
1109
1110 2002-03-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1111
1112         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
1113         (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
1114         * aclocal.m4: Regenerate.
1115         * configure: Likewise.
1116
1117 2002-03-19  Paolo Carlini  <pcarlini@unitus.it>
1118             Ulrich Drepper  <drepper@redhat.com>
1119
1120         * src/locale-inst.cc (__convert_from_v): Add an additional
1121         __size parameter in the declarations.
1122         * include/bits/locale_facets.tcc
1123         (__convert_from_v): When available (that is,
1124         _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
1125         (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
1126         being defined or not, call and use __convert_from_v in the
1127         appropriate way.
1128         (num_put::_M_convert_int): Same here.
1129         (money_put::do_put(long double)): Same here.
1130
1131 2002-03-19  Phil Edwards  <pme@gcc.gnu.org>
1132
1133         * docs/html/faq/index.html (#3.6):  Rewrap and close <a href> tags.
1134         * docs/html/faq/index.txt:  Regenerate.
1135
1136 2002-03-19  Steve Ellcey  <sje@cup.hp.com>
1137
1138         * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
1139         GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
1140         --enable-libunwind-exceptions is set.
1141         * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
1142         macro to check for libunwind.
1143         * configure: Regenerate.
1144         * src/Makefile.am (libstdc___la_LDFLAGS): Add
1145         LIBUNWIND_FLAG to libstdc link line.
1146         * src/Makefile.in: Regenerate.
1147
1148 2002-03-19  Benjamin Kosnik  <bkoz@redhat.com>
1149
1150         * docs/html/faq/index.html: Add OS X workaround.
1151         * docs/html/17_intro/TODO: Update.
1152
1153 2002-03-18  Paolo Carlini  <pcarlini@unitus.it>
1154
1155         * include/bits/locale_facets.tcc
1156         (money_put::do_put(long double)): Fix dimensioning of
1157         temporary buffers to avoid risk of overruns.
1158         (money_put::do_put(string)): Same for the buffer used to
1159         add the grouping chars.
1160         * testsuite/22_locale/money_put_members_char.cc: Add test06.
1161         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
1162
1163         * include/bits/locale_facets.tcc
1164         (collate::do_transform): Simplify.
1165
1166 2002-03-18  Phil Edwards  <pme@gcc.gnu.org>
1167
1168         * acinclude.m4 (GLIBCPP_CONFIGURE):  Make indentation/spacing uniform.
1169         * configure.in:  Add comments pointing the way for autoconf 2.5x.
1170         * aclocal.m4, config.h.in, configure:  Regenerate.
1171
1172 2002-03-18  Philipp Thomas  <pthomas@suse.de>
1173
1174         * include/backward/hash_map.h: hash, hashtable, hash_map and
1175         hash_multimap are in namespace __gnu_cxx.
1176         include/backward/hash_set.h: hash, hashtable, hash_set and
1177         hash_multiset are in namespace __gnu_cxx.
1178         include/backward/hashtable.h: hash and hashtable are in
1179         namespace __gnu_cxx.
1180         include/backward/rope.h: char_producer, sequence_buffer,
1181         rope, crope and wrope are in namespace __gnu_cxx.
1182         include/backward/slist.h: slist is in namespace __gnu_cxx.
1183         * testsuite/backward/header_hash_map_h.cc
1184         testsuite/backward/header_hash_set_h.cc
1185         testsuite/backward/header_hashtable_h.cc
1186         testsuite/backward/header_rope_h.cc
1187         testsuite/backward/header_slist_h.cc
1188         testsuite/backward/header_tempbuf_h.cc: New tests for
1189         checking that we're using the correct namespace.
1190
1191 2002-03-17  Jason Merrill  <jason@redhat.com>
1192
1193         PR c++/4381
1194         * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
1195         (check_exception_spec): Call it.  Take the thrown pointer.
1196         (__cxa_call_unexpected): Pass it.
1197         (PERSONALITY_FUNCTION): Likewise.  Use get_adjusted_ptr.
1198
1199 2002-03-15  Anthony Green  <green@redhat.com>
1200
1201         * configure.in: Remove useless is_mingw32.
1202         * configure: Rebuilt.
1203
1204 2002-03-15  Paolo Carlini  <pcarlini@unitus.it>
1205
1206         * testsuite/22_locale/collate_members_char.cc
1207         (test01): compare the result of collate::compare with
1208         that of collate::transform + string::compare, not with
1209         that of collate::transform + collate::compare.
1210         (test01): values returned by collate::compare are
1211         normalized, therefore test against +-1.
1212         * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
1213
1214 2002-03-12  Loren Rittle  <ljrittle@acm.org>
1215
1216         reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1217         * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
1218
1219 2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
1220             Per Liboriussen  <liborius@stofanet.dk>
1221
1222         * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
1223         unsigned char.
1224         * config/os/gnu-linux/bits/ctype_inline.h: Same.
1225
1226         * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
1227
1228         * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
1229         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1230
1231         * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
1232         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1233
1234         * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
1235         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1236
1237         * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
1238
1239 2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
1240
1241         * include/bits/basic_string.tcc (string::_S_construct(_InIter,
1242         _InIter, const _Alloc&, forward_iterator_tag): Check for null.
1243         (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
1244         * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
1245         that memory limits are in place.
1246         (test03): Add tests.
1247
1248 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
1249
1250         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
1251         * aclocal.m4: Regenerate.
1252         * config.h.in: Regenerate.
1253         * configure: Regenerate.
1254         * include/c_std/std_cwctype.h: Guard.
1255
1256 2002-03-11  Chris Demetriou  <cgd@broadcom.com>
1257
1258         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
1259         whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
1260         * aclocal.m4: Regenerate.
1261         * configure: Regenerate.
1262
1263 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
1264
1265         * include/bits/stl_bvector.h: Fix warning.
1266
1267 2002-03-11  Richard Henderson  <rth@redhat.com>
1268
1269         * include/bits/stl_bvector.h (_Bit_type): New.  Use throughout.
1270
1271 2002-03-11  Phil Edwards  <pme@gcc.gnu.org>
1272
1273         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
1274         New function.  Build the list of tests to run in testsuite_files.
1275         * testsuite/libstdc++-v3.dg/dg.exp:  Use it.
1276
1277 2002-03-11  Phil Edwards  <pme@gcc.gnu.org>
1278
1279         * testsuite/21_strings/capacity.cc:  Only explicitly instantiate on
1280         platforms with no weak support.
1281         * testsuite/27_io/ios_init.cc:  Likewise.
1282
1283 2002-03-10  Paolo Carlini  <pcarlini@unitus.it>
1284
1285         * include/bits/locale_facets.tcc (time_put::do_put):
1286         Consider sizeof(char_type) in allocating the buffer.
1287
1288         * include/bits/locale_facets.tcc (collate::do_tranform):
1289         Remove redundant variable.
1290
1291 2002-03-10  Ulrich Drepper  <drepper@redhat.com>
1292             Paolo Carlini  <pcarlini@unitus.it>
1293
1294         * config/locale/generic/collate_members.cc
1295         (collate<char,wchar_t>::_M_compare_helper): normalize
1296         values returned by strcoll and wcscoll.
1297         * config/locale/gnu/collate_members.cc
1298         (collate<char,wchar_t>::_M_compare_helper): ditto
1299         for __strcoll_l and __wcscoll_l.
1300
1301 2002-03-10  Anthony Green  <green@redhat.com>
1302
1303         * configure.in: Support cross builds to mingw32 target.
1304         * configure: Rebuilt.
1305
1306 2002-03-09  Paolo Carlini  <pcarlini@unitus.it>
1307
1308         * include/bits/locale_facets.tcc (collate::do_transform):
1309         Rewrite to fix problems with long transformed strings.
1310
1311 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
1312
1313         * c_locale_generic.cc: Move to...
1314         * generic/c_locale.cc
1315         * c_locale_generic.h: Move to...
1316         * generic/c_locale.h
1317         * codecvt_specializations_generic.h: Move to...
1318         * generic/codecvt_specializations.h
1319         * collate_members_generic.cc: Move to...
1320         * generic/collate_members.cc
1321         * ctype_members_generic.cc: Move to...
1322         * generic/ctype_members.cc
1323         * messages_members_generic.cc: Move to...
1324         * generic/messages_members.cc
1325         * messages_members_generic.h: Move to...
1326         * generic/messages_members.h
1327         * moneypunct_members_generic.cc: Move to...
1328         * generic/monetary_members.cc
1329         * numpunct_members_generic.cc: Move to...
1330         * generic/numeric_members.cc
1331         * time_members_generic.cc: Move to...
1332         * generic/time_members.cc
1333         * c_locale_gnu.cc: Move to...
1334         * gnu/c_locale.cc
1335         * c_locale_gnu.h: Move to...
1336         * gnu/c_locale.h
1337         * collate_members_gnu.cc: Move to...
1338         * gnu/collate_members.cc
1339         * ctype_members_gnu.cc: Move to...
1340         * gnu/ctype_members.cc
1341         * messages_members_gnu.cc: Move to...
1342         * gnu/messages_members.cc
1343         * messages_members_gnu.h: Move to...
1344         * gnu/messages_members.h
1345         * moneypunct_members_gnu.cc: Move to...
1346         * gnu/monetary_members.cc
1347         * numpunct_members_gnu.cc: Move to...
1348         * gnu/numeric_members.cc
1349         * time_members_gnu.cc: Move to...
1350         * gnu/time_members.cc
1351         * c_locale_ieee_1003.1-200x.cc: Move to...
1352         * ieee_1003.1-2001/c_locale.cc
1353         * c_locale_ieee_1003.1-200x.h: Move to...
1354         * ieee_1003.1-2001/c_locale.h
1355         * codecvt_specializations_ieee_1003.1-200x.h: Move to...
1356         * ieee_1003.1-2001/codecvt_specializations.h
1357         * messages_members_ieee_1003.1-200x.cc: Move to...
1358         * ieee_1003.1-2001/messages_members.cc
1359         * messages_members_ieee_1003.1-200x.h: Move to...
1360         * ieee_1003.1-2001/messages_members.h
1361
1362         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
1363         * aclocal.m4: Regenerate.
1364         * configure: Regenerate.
1365         * src/Makefile.am (sources): Change to monetary and numeric.
1366         * src/Makefile.in: Regenerate.
1367         * docs/html/configopts.html: Update to ieee_1003.1-2001.
1368
1369 2002-03-08  scott snyder  <snyder@fnal.gov>
1370
1371         libstdc++/5875
1372         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1373         Allow one more digit of precision.
1374         * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
1375         write a double and read back in the same value.
1376
1377 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
1378
1379         * include/std/std_limits.h: Move static const data members out of
1380         generic template, into base class __numeric_limits_base.
1381         * src/limits.cc: Add definitions.
1382         * config/linker-map.gnu: Add __numeric_limits_base.
1383         * testsuite/18_support/numeric_limits.cc: Declare test in scope.
1384
1385 2002-03-07  Benjamin Kosnik  <bkoz@redhat.com>
1386
1387         * include/bits/stl_alloc.h: Add extern implicit allocator
1388         instantiations.
1389         * include/bits/basic_string.tcc: Tweak.
1390         * include/bits/locale_facets.tcc: Remove default args. Add
1391         has_facet, use_facet extern instantiations.
1392         * src/stl-inst.cc: Add explicit instantiation.
1393         * src/locale-inst.cc: Clean. Remove locale member template
1394         instantiations.
1395
1396         * testsuite/22_locale/operators.cc (test02): Enable.
1397
1398 2002-03-06  Benjamin Kosnik  <bkoz@redhat.com>
1399             Stephen M. Webb  <stephen.webb@bregmasoft.com>
1400
1401         * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
1402         (_S_rb_tree_black): Make enum.
1403         Clean. Format.
1404         * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
1405         * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
1406         (__stl_threshold): _M_threshold, enum.
1407         * src/stl-inst.cc: Same.
1408         * config/linker-map.gnu: Remove.
1409
1410         * testsuite/23_containers/vector_bool.cc: New.
1411
1412 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
1413
1414         * docs/doxygen/user.cfg.in:  Also document deprecated entries.
1415         * docs/html/Makefile:  Example rule to rebuild porting-howto.html.
1416         * docs/html/17_intro/howto.html:  "gcc"->"GCC" changes, when
1417         referring to the collection as a whole.  New section on which macros
1418         can be redefined by the user.
1419         * docs/html/19_diagnostics/howto.html:  Update note for concepts.
1420         * docs/html/20_util/howto.html:  Update link to SGI.
1421         * docs/html/faq/index.html:  Update snapshot versions.  New entry
1422         on why g++ (but not gcc) must currently predefine certain macros.
1423         * docs/html/faq/index.txt:  Regenerated.
1424
1425         * include/bits/basic_string.h (basic_string::_S_construct):  Fix
1426         names in declaration.
1427         (basic_string::compare):  These are no longer optional.
1428         * include/bits/ostream.tcc:  Tweak closing brace placement.
1429         * include/bits/stl_algo.h:  Lots of initial doxygen comment hooks.
1430         * include/std/std_sstream.h:  Fix typo in comment.
1431         * include/bits/locale_facets.tcc:  Remove unneeded header inclusion.
1432         * src/locale.cc:  Likewise.
1433
1434 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
1435
1436         PR libstdc++/5734
1437         * include/bits/stl_vector.h (vector::push_back()):  Guard with
1438         _GLIBCPP_DEPRECATED.
1439
1440 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
1441
1442         * include/bits/c++config:  Fix misplaced leading blanks on first line.
1443
1444 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
1445
1446         * docs/html/17_intro/RELEASE-NOTES: Fix usage.
1447         * README (libmath): Make clear.
1448
1449 2002-03-05  Jakub Jelinek  <jakub@redhat.com>
1450
1451         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
1452         script globbing in ld.
1453         * aclocal.m4: Rebuilt.
1454         * configure: Rebuilt.
1455
1456 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
1457
1458         * docs/html/17_intro/RELEASE-NOTES: Update.
1459         * README: Format subdirectories.
1460
1461 2002-03-05  Paolo Carlini  <pcarlini@unitus.it>
1462
1463         libstdc++/5816
1464         * include/bits/locale_facets.tcc
1465         (num_get::_M_extract_float): Fix the parsing of __dec, since
1466         the standard prescribes that if no grouping characters are
1467         seen, no grouping check is applied.
1468         * testsuite/22_locale/num_get_members_char.cc: Add test05
1469         distilled from the PR.
1470         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
1471
1472 2002-03-04  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1473
1474         * docs/html/17_intro/porting-howto.xml: Refer to
1475         http://www.oasis-open.org for docbookx.dtd.
1476         * docs/html/17_intro/porting-howto.html: Regenerated.
1477
1478 2002-03-03  Phil Edwards  <pme@gcc.gnu.org>
1479
1480         PR libstdc++/3955
1481         * include/std/std_sstream.h:  Remove trailing spaces.
1482         (basic_stringbuf::_M_stringbuf_init):  Also check for ios_base::app.
1483         * testsuite/27_io/stringbuf.cc (test05, test06):  New tests.
1484
1485 2002-03-02  Paolo Carlini  <pcarlini@unitus.it>
1486
1487         * testsuite/22_locale/num_get_members_char.cc (test04):
1488         Use a named locale expecting grouping (de_DE).
1489         * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
1490         Ditto.
1491         * testsuite/27_io/ios_manip_basefield.cc (test01):
1492         Extend coverage, uniform treatment of hexs and octs.
1493
1494 2002-02-28  Richard Henderson  <rth@redhat.com>
1495
1496         * config/linker-map.gnu: Export operator new with unsigned long,
1497         and with std::nothrow_t.  Likewise operator delete.
1498
1499 2002-02-28  Paolo Carlini  <pcarlini@unitus.it>
1500
1501         * include/bits/locale_facets.tcc (num_get::_M_extract_int):
1502         Admit grouping for octals and hexadecimals too.
1503         * testsuite/22_locale/num_get_members_char.cc: Add test04.
1504         (test01): Tweak "." -> "," in void* test.
1505         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
1506
1507         * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
1508         * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
1509
1510 2002-02-27  Paolo Carlini  <pcarlini@unitus.it>
1511
1512         * testsuite/27_io/ios_manip_basefield.cc (test01):
1513         Fix for 64 bit machines.
1514
1515 2002-02-26  Benjamin Kosnik  <bkoz@redhat.com>
1516
1517         libstdc++/3983
1518         * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
1519         Adjust comment.
1520         * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
1521         (basic_ios::_M_fill_init): New.
1522         (basic_ios::fill()): Delay dealing with _M_fill.
1523         Adjust comment.
1524         * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
1525         (ios_base::_M_call_callbacks): Adjust.
1526         * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
1527
1528 2002-02-26  Loren Rittle  <ljrittle@acm.org>
1529
1530         * include/Makefile.am (thread_target_headers): Unconditionally
1531         stage and install gthr-posix.h.
1532         (${target_builddir}/gthr-posix.h): New rule cloned off
1533         ${target_builddir}/gthr-default.h.
1534         (${target_builddir}/gthr-default.h): Support chained inclusion
1535         of gthr support headers.
1536         * include/Makefile.in: Rebuilt.
1537
1538 2002-02-26  Paolo Carlini  <pcarlini@unitus.it>
1539
1540         * include/bits/locale_facets.tcc (num_put::_M_widen_int):
1541         Group all the integral types, not only decs.
1542         * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
1543         tests, add a few more.
1544
1545 2002-02-25  Benjamin Kosnik  <bkoz@redhat.com>
1546
1547         * src/ios.cc (ios_base::~ios_base): Tweak.
1548         (ios_base::_M_call_callbacks): Deal with null __p.
1549         (ios_base::ios_base): Set _M_callbacks.
1550         * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
1551         * testsuite/27_io/ios_init.cc (test02): Fix.
1552
1553         * mkcheck.in (static_fail): Failed links go to output file.
1554
1555 2002-02-25  Phil Edwards  <pme@gcc.gnu.org>
1556
1557         * docs/html/faq/index.html:  Update.
1558         * docs/html/faq/index.txt:  Regenerate.
1559
1560 2002-02-22  Phil Edwards  <pme@gcc.gnu.org>
1561
1562         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  Fix comment.
1563         * aclocal.m4:  Regenerate.
1564         * docs/html/configopts.html:  Document --enable-symvers.
1565         * config/linker-map.gnu:  Break libsupc++ symbols out to their own tag.
1566
1567 2002-02-22  Philipp Thomas  <pthomas@suse.de>
1568
1569         * include/backward/tempbuf.h: get_temporary_buffer and
1570         return_temporary_buffer are in namespace std, not in __gnu_cxx.
1571
1572 2002-02-21  Benjamin Kosnik  <bkoz@redhat.com>
1573
1574         * configure.in (target_alias): Default to yes.
1575         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
1576         libgcc to default case.
1577
1578 2002-02-20  Phil Edwards  <pme@gcc.gnu.org>
1579
1580         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES):  Also check version.
1581         (GLIBCPP_ENABLE_SYMVERS):  Redo logic, use linker version.
1582         * configure.in (GLIBCPP_ENABLE_SYMVERS):  Move later in the script.
1583         * aclocal.m4:  Regenerate.
1584         * configure:  Regenerate.
1585         * config/linker-map.dummy:  New file.  Contains nothing useful.
1586
1587 2002-02-20  Benjamin Kosnik  <bkoz@redhat.com>
1588
1589         * testsuite/22_locale/money_put_members_char.cc: Fix.
1590         * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
1591
1592         * testsuite/27_io/standard_manipulators.cc: New file.
1593
1594         * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
1595         * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
1596
1597 2002-02-20  Danny Smith  <dannysmith@users.sourceforge.net>
1598
1599         * config/os/mingw32/bits/ctype_noninline.h
1600         (ctype<char>::ctype): Remove default args from parm list.
1601         * config/os/djgpp/bits/ctype_noninline.h: Same.
1602
1603 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
1604
1605         * include/std/std_iomanip.h: Inline, tweaks.
1606         * config/linker-map.gnu: Remove hacks.
1607
1608         * testsuite/21_strings/capacity.cc: Add explicit instantiations.
1609         * testsuite/27_io/ios_init.cc: Same.
1610         * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
1611         * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
1612
1613 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
1614
1615         * config/linker-map.gnu: Export global vtable, typeinfo, guard
1616         variable, and thunk info as per CXXABI docs.
1617
1618 2002-02-19  Loren Rittle <ljrittle@acm.org>
1619
1620         * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
1621         * include/Makefile.in: Rebuilt.
1622
1623 2002-02-18  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1624
1625         * testsuite/22_locale/collate_byname.cc (test01): Replace size4
1626           with size3 for the string collations of str5.
1627
1628 2002-02-18  Paolo Carlini  <pcarlini@unitus.it>
1629
1630         libstdc++/5708
1631         * include/bits/locale_facets.tcc (money_put::do_put):
1632         For the space field use __fill instead of ' ', uniformly.
1633         * testsuite/22_locale/money_put_members_char.cc:
1634         Add test05 distilled from PR.
1635         (test01-02-03): Trim some '*' to ' '.
1636         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
1637
1638 2002-02-18  Loren Rittle <ljrittle@acm.org>
1639
1640         libstdc++/5697
1641         * include/Makefile.am (thread_builddir): Remove (map all
1642         existing uses to target_builddir).
1643         (thread_headers): Rename to...
1644         (thread_target_headers): ...this.
1645         (stamp-thread): Remove.
1646         (stamp-target): Correctly state the position as built.
1647         Update all dependencies to match the new reality.  Remove all
1648         dependency calculations on directories.
1649         * include/Makefile.in: Rebuilt.
1650
1651 2002-02-16   Benjamin Kosnik  <bkoz@redhat.com>
1652
1653         * include/bits/locale_facets.tcc: Add pragma GCC system_header.
1654         * include/bits/fstream.tcc: Same.
1655         * include/bits/sstream.tcc: Same.
1656         * include/bits/ostream.tcc: Same.
1657         * include/bits/istream.tcc: Same.
1658         * include/bits/streambuf.tcc: Same.
1659         * include/bits/basic_ios.tcc: Same.
1660         * include/bits/basic_string.tcc: Same.
1661
1662 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
1663
1664         * include/std/std_iosfwd.h: Don't guard typedefs with
1665         _GLIBCPP_USE_WCHAR_T
1666         * include/bits/stringfwd.h: Same.
1667
1668 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
1669
1670         * src/locale.cc (moneypunct_byname): Remove definitions.
1671         * include/std/std_streambuf.h (streambuf::operator=): Return.
1672
1673 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
1674
1675         Tune for size.
1676         * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
1677         explicit instantiation.
1678         (string::_Rep::_S_max_size): Same.
1679         * include/bits/basic_string.tcc: Add extern explicit
1680         instantiations for string, wstring.
1681         * include/bits/basic_ios.tcc: Add extern explicit instantiations
1682         for ios, wios.
1683         * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
1684         * include/bits/istream.tcc: Same, for istream, wistream.
1685         * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
1686         wiostream.
1687         * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
1688         istringstream, wistringstream, ostringstream, wostringstream,
1689         stringstream, wstringstream.
1690         * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
1691         wifstream, ofstream, wofstream, fstream, wfstream.
1692         * src/misc-inst.cc: Correct comments.
1693         Add iomanip instantiations for wide streams.
1694         * include/std/std_iomanip.h: Same.
1695         * include/bits/locale_facets.tcc: Same.
1696
1697         * include/std/std_streambuf.h: Correct
1698         _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
1699         * include/std/std_sstream.h: Same.
1700         * include/std/std_ostream.h: Same.
1701         * include/std/std_istream.h: Same.
1702         * include/std/std_fstream.h: Same.
1703
1704         * include/std/std_streambuf.h: Add definitions for private copy
1705         ctor and assignment operator.
1706         * include/std/std_istream.h: Remove declared but undefined copy
1707         ctor and assignment operator. This is taken care of in ios_base,
1708         so adding it in the derived class as well is superfluous.
1709         * include/std/std_ostream.h: Same.
1710
1711         * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
1712         * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
1713
1714 2002-02-14  Benjamin Kosnik  <bkoz@redhat.com>
1715
1716         * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
1717         Add typeinfo bits. Smooth.
1718         * aclocal.m4: Regenerate.
1719         * configure: Same.
1720         * src/Makefile.in: Same.
1721
1722 2001-02-14  Joel Sherrill  <joel@OARcorp.com>
1723
1724         * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
1725         which do not have a CAS instruction.
1726
1727 2002-02-14  Phil Edwards  <pme@gcc.gnu.org>
1728
1729         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  New macro, initial revision.
1730         * configure.in:  Call it.
1731         * config/linker-map.gnu:  New file, initial incomplete revision.
1732         * src/Makefile.am:  Optionally pass version script to the linker.
1733         * aclocal.m4:  Regenerate.
1734         * configure:  Regenerate.
1735         * src/Makefile.in:  Regenerate.
1736
1737 2002-02-13  Benjamin Kosnik  <bkoz@redhat.com>
1738
1739         * src/localename.cc: Remove stdexcept include.
1740         * src/locale-inst.cc: Same.
1741         * src/locale.cc: Same.
1742         * src/functexcept.cc: Remove string includes.
1743         * include/std/std_bitset.h: Remove stdexcept include.
1744         * testsuite/23_containers/bitset_members.cc: Add stdexcept.
1745         * testsuite/23_containers/bitset_ctor.cc: Same.
1746
1747 2002-02-11  Benjamin Kosnik  <bkoz@redhat.com>
1748
1749         * include/bits/stl_algo (__stl_threshold): Declare external.
1750         (__stl_chunk_size): Same.
1751         * include/bits/stl_bvector.h (__WORD_BIT): Same.
1752         * include/bits/stl_tree.h (_S_rb_tree_red): Same.
1753         (_S_rb_tree_black): Same.
1754         * src/stl-inst.cc (__stl_threshold): Define.
1755         (__stl_chunk_size): Same.
1756         (__WORD_BIT): Same.
1757         (_S_rb_tree_red): Same.
1758         (_S_rb_tree_black): Same.
1759
1760         * config/io/basic_file_libio.h (__basic_file): Add declarations.
1761         * include/bits/basic_file.h: Remove.
1762         * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
1763         Declare generic types, specialization.
1764         * config/io/basic_file_stdio.cc: Definitions.
1765         * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
1766         Declare generic types.
1767         * include/Makefile.am (bits_headers): Remove basic_file.h.
1768         (extra_target_headers): Change basic_file_model.h to basic_file.h.
1769         (stamp-target): Same.
1770
1771         * include/bits/stl_alloc.h: Tweaks.
1772         * include/bits/localefwd.h: Same.
1773
1774 2002-02-11  Aaron W LaFramboise  <AWLaFramboise@aol.com>
1775
1776         * include/bits/locale_facets.tcc (collate::do_hash): Fix.
1777         * testsuite/22_locale/collate_members_char.cc (test03): New test.
1778         * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
1779
1780 2002-02-10  Phil Edwards  <pme@gcc.gnu.org>
1781
1782         * include/bits/stl_algo.h (transform (both signatures), generate_n):
1783         Use __typeof__ in concept checks.
1784
1785 2002-02-10  Jonathan Wakely  <cow@compsoc.man.ac.uk>
1786
1787         * include/bits/stl_algo.h (__median, for_each, find, find_if,
1788         adjacent_find, count, count_if, search, search_n, swap_ranges,
1789         transform, replace, replace_if, replace_copy, replace_copy_if,
1790         generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
1791         unique, unique_copy, reverse, reverse_copy):  Doxygenate.
1792
1793 2002-02-08  Benjamin Kosnik  <bkoz@redhat.com>
1794
1795         * include/bits/locale_facets.h
1796         (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
1797         (__timepunct<_CharT>::_M_initialize_timepunct): Same.
1798         (__timepunct<_CharT>::_M_put_helper): Same.
1799         (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
1800
1801         * include/bits/fstream.tcc (filebuf::underflow): Remove
1802         __codecvt_type typedef.
1803         (filebuf::_M_convert_to_external): Same.
1804
1805 2002-02-08  Phil Edwards  <pme@gcc.gnu.org>
1806
1807         * docs/doxygen/TODO:  Update.
1808         * docs/doxygen/doxygroups.cc:  Tweak __gnu_cxx description.
1809         * docs/doxygen/mainpage.html:  Add TODO list link.
1810         * docs/doxygen/user.cfg.in:  Add @doctodo hook.
1811         * docs/doxygen/tables.html:  New file, emoty structure only.
1812
1813         * include/bits/stl_iterator.h:  Doxygenate just about everything.
1814         * include/bits/stl_iterator_base_funcs.h:  Ditto, clean up spaces.
1815         * include/bits/stl_iterator_base_types.h:  Add notes.
1816
1817 2002-02-07  Stephan Buys  <sbproxy@icon.co.za>
1818
1819         * include/bits/stl_map.h:  Tweak doxygen markup.
1820         * include/bits/stl_multimap.h:  Doxygenate and remove extra spaces.
1821         * include/bits/stl_vector.h:  Likewise.
1822
1823 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
1824
1825         libstdc++/5286
1826         libstdc++/3860
1827         * include/std/std_fstream.h (filebuf::__file_type): Change to
1828         __basic_file<char>.
1829         (filebuf::_M_convert_to_external): Declare.
1830         * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
1831         codecvt bits for wide streams.
1832         (filebuf::_M_really_overflow): Use it.
1833         (filebuf::underflow): Use codecvt.
1834         * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
1835         (codecvt<__enc_traits>::do_out): Deal with partial.
1836         (codecvt<__enc_traits>::do_encoding): Return something useful.
1837         * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
1838         wchar_t.
1839         * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
1840         Change expected encoding output.
1841         (test02): Same.
1842         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
1843         (test02): Same.
1844
1845 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
1846             Wolfgang Bangerth  <wolfgang.bangerth@iwr.uni-heidelberg.de>
1847
1848         * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
1849         (basic_ios::widen): Same.
1850
1851 2002-02-07  Paolo Carlini  <pcarlini@unitus.it>
1852
1853         * testsuite/22_locale/money_get_members_char.cc:
1854         Add comment, tidy up.
1855         (test01): more "en_HK" tests (without showbase).
1856         * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
1857
1858 2002-02-06  Loren Rittle <ljrittle@acm.org>
1859
1860         * config/locale/c_locale_generic.cc: Do not trust
1861         _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
1862         set by configure.
1863
1864 2002-02-06  Loren Rittle <ljrittle@acm.org>
1865
1866         * acinclude.m4: Add C++ linkage check for strtof.
1867         * aclocal.m4: Rebuilt.
1868         * config.h.in: Rebuilt.
1869         * configure: Rebuilt.
1870         * config/locale/c_locale_generic.cc: Conditionally include
1871         <ieeefp.h>.  Improve handling and error checking of float
1872         and long double input for non-C99 configurations.
1873
1874 2002-02-06  Paolo Carlini  <pcarlini@unitus.it>
1875
1876         * include/bits/locale_facets.tcc (money_get::do_get(string)):
1877         In case money_base::symbol deal properly with multi-char sign
1878         for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
1879         * testsuite/22_locale/money_get_members_char.cc: Add test07.
1880         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
1881
1882 2002-02-05  Paolo Carlini  <pcarlini@unitus.it>
1883
1884         * include/bits/locale_facets.tcc (money_get::do_get(string)):
1885         First construct a tentative returned string, then, only if the
1886         parsing succeeds, copy it into the string passed by reference.
1887         * testsuite/22_locale/money_get_members_char.cc: Add test06.
1888         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
1889
1890 2002-02-04  Phil Edwards  <pme@gcc.gnu.org>
1891
1892         * docs/doxygen/TODO:  Impl-defined behavior now documented...
1893         * docs/html/17_intro/howto.html:  ...here.
1894         * docs/doxygen/mainpage.doxy:  Remove, rename...
1895         * docs/doxygen/mainpage.html:  ...to this.  Tweak HTML, add license.
1896         * docs/doxygen/style.css:  Add small text.
1897         * docs/doxygen/run_doxygen:  Adjust for new mainpage.
1898         * docs/doxygen/user.cfg.in:  Likewise.
1899
1900 2002-02-04  Stephan Buys  <sbproxy@icon.co.za>
1901
1902         * include/bits/stl_map.h:  Initial doxygen markup.
1903         * include/std/std_fstream.h:  Initial doxygen markup.
1904
1905 2002-02-04  Paolo Carlini  <pcarlini@unitus.it>
1906
1907         libstdc++/5579
1908         * include/bits/locale_facets.tcc (money_get::do_get(string)):
1909         Deal correctly with !(__io.flags() & ios_base::showbase)
1910         for case money_base::symbol.
1911         * testsuite/22_locale/money_get_members_char.cc: Add test05.
1912         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
1913
1914 2002-02-02  Paolo Carlini  <pcarlini@unitus.it>
1915
1916         * testsuite/22_locale/operators.cc
1917         (gnu_collate::do_compare()): Add return statement to
1918         suppress "no return statement" warning.
1919
1920 2002-02-01  Paolo Carlini  <pcarlini@unitus.it>
1921
1922         * testsuite/27_io/ostream_manip.cc: Enable test02.
1923
1924 2002-02-01  Phil Edwards  <pme@gcc.gnu.org>
1925
1926         * docs/html/documentation.html:  Update for 3.0.96.
1927         * docs/html/faq/index.html:  Update for 3.0.96.
1928         * docs/html/faq/index.txt:  Regenerated.
1929         * docs/doxygen/TODO:  Update notes.
1930         * docs/html/17_intro/howto.html:  Initial impl-specific listing.
1931
1932 2002-01-31  Benjamin Kosnik  <bkoz@redhat.com>
1933
1934         * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
1935         Initialize all data members in copy ctor. Make ctors explicit.
1936         (__enc_traits::__enc_traits()): Default ctor does nothing.
1937         (__enc_traits::_M_init): Guard against multiple iconv_opens.
1938         * include/std/std_sstream.h (basic_stringbuf): Make data members
1939         protected.
1940         * include/std/std_fstream.h (basic_filebuf): Same.
1941         * include/std/std_streambuf.h: Tweak.
1942         * include/bits/streambuf.tcc: Same.
1943         * include/bits/sstream.tcc: Same.
1944         * include/bits/fstream.tcc: Same.
1945
1946 2002-01-31  Loren Rittle <ljrittle@acm.org>
1947
1948         * testsuite/22_locale/codecvt_members_char_char.cc: Do not
1949         allow NULL argument to be passed to setenv().
1950         * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1951         * testsuite/22_locale/collate_members_char.cc: Likewise.
1952         * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1953         * testsuite/22_locale/ctype_members_char.cc: Likewise.
1954         * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
1955         * testsuite/22_locale/messages_members_char.cc: Likewise.
1956         * testsuite/22_locale/money_get_members_char.cc: Likewise.
1957         * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1958         * testsuite/22_locale/money_put_members_char.cc: Likewise.
1959         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1960         * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
1961         * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1962         * testsuite/22_locale/num_get_members_char.cc: Likewise.
1963         * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1964         * testsuite/22_locale/num_put_members_char.cc: Likewise.
1965         * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1966         * testsuite/22_locale/numpunct_members_char.cc: Likewise.
1967         * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1968         * testsuite/22_locale/time_get_members_char.cc: Likewise.
1969         * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1970         * testsuite/22_locale/time_put_members_char.cc: Likewise.
1971         * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1972
1973 2002-01-30  Benjamin Kosnik  <bkoz@redhat.com>
1974
1975         * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
1976
1977         * ChangeLog-2001: Fix spelling errors...
1978         * docs/html/17_intro/RELEASE-NOTES: Update.
1979         * docs/html/17_intro/TODO: Update.
1980         * README (file): Update.
1981
1982 2002-01-30  Loren Rittle <ljrittle@acm.org>
1983
1984         * config/locale/c_locale_generic.cc: Check errno for ERANGE
1985         instead of non-zero to aid portability.
1986
1987 2002-01-30  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1988
1989         * docs/html/22_locale/messages.html: Fix example code.
1990
1991 2002-01-30  Richard Henderson  <rth@redhat.com>
1992
1993         * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
1994         out from test03 and templatize.
1995         (test03): Use it.
1996
1997 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
1998
1999         * config/locale/numpunct_members_gnu.cc
2000         (numpunct<char, wchar_t>::_M_initialize_numpunct()):
2001         Fix initialization of _M_grouping for locales which have
2002         _M_thousands_sep == '\0'(L'\0', respectively).
2003         * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
2004
2005 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
2006
2007         * testsuite/27_io/ostream_inserter_arith.cc (test03):
2008         Better fix for 32/64 bit architectures, avoiding the
2009         implicit assumption that CHAR_BIT == 8.
2010
2011 2002-01-28  Phil Edwards  <pme@gcc.gnu.org>
2012
2013         * Makefile.am (doxygen, doxygen-maint, doxygen-man):  Tweak targets.
2014         * Makefile.in:  Regenerate.
2015
2016         * docs/doxygen/run_doxygen:  Update, mostly for man pages.
2017         * docs/doxygen/Intro.3:  Update.
2018         * docs/doxygen/TODO:  Update.
2019         * docs/doxygen/doxygroups.cc:  Add namespace hook for __gnu_cxx.
2020         * docs/doxygen/mainpage.doxy:  Update.
2021         * docs/doxygen/user.cfg.in:  Update for header rename.  Also
2022         regenerate comments and variables with 1.2.12.
2023         * docs/doxygen/maint.cfg.in:  Remove file.
2024
2025         * include/bits/stl_relops.h:  Doxygenate.
2026         * include/bits/stl_tempbuf.h (std::_Temporary_buffer):  Likewise.
2027
2028         * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
2029         include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
2030         include/c_std/std_ciso646.h, include/c_std/std_climits.h,
2031         include/c_std/std_clocale.h, include/c_std/std_cmath.h,
2032         include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
2033         include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
2034         include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
2035         include/c_std/std_cstring.h, include/c_std/std_ctime.h,
2036         include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
2037         include/ext/algorithm, include/ext/functional, include/ext/hash_map,
2038         include/ext/hash_set, include/ext/iterator, include/ext/memory,
2039         include/ext/numeric, include/ext/rb_tree, include/ext/rope,
2040         include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
2041         include/ext/stl_hashtable.h, include/ext/stl_rope.h,
2042         include/std/std_algorithm.h, include/std/std_bitset.h,
2043         include/std/std_complex.h, include/std/std_deque.h,
2044         include/std/std_fstream.h, include/std/std_functional.h,
2045         include/std/std_iomanip.h, include/std/std_ios.h,
2046         include/std/std_iosfwd.h, include/std/std_iostream.h,
2047         include/std/std_istream.h, include/std/std_iterator.h,
2048         include/std/std_limits.h, include/std/std_list.h,
2049         include/std/std_locale.h, include/std/std_map.h,
2050         include/std/std_memory.h, include/std/std_numeric.h,
2051         include/std/std_ostream.h, include/std/std_queue.h,
2052         include/std/std_set.h, include/std/std_sstream.h,
2053         include/std/std_stack.h, include/std/std_stdexcept.h,
2054         include/std/std_streambuf.h, include/std/std_string.h,
2055         include/std/std_utility.h, include/std/std_valarray.h,
2056         include/std/std_vector.h:  Add/correct @file doxygen hook.
2057
2058         * include/ext/memory:  Doxygenate most of rest of file.
2059         * libsupc++/exception:  Doxygen output formatting.
2060         * libsupc++/new:  Say which header it is.
2061
2062         * testsuite/lib/libstdc++-v3-dg.exp:  Fix spacing.
2063         * docs/html/19_diagnostics/howto.html:  Describe concept-checks switch.
2064         * docs/html/23_containers/howto.html:  Describe O(n) list::size().
2065         * docs/html/27_io/howto.html:  Also link to Langer and Kreft text.
2066
2067 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
2068             Charles Leggett <CGLeggett@lbl.gov>
2069
2070         * testsuite/27_io/filebuf_members.cc (test_05): Add test.
2071
2072 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
2073
2074         * testsuite/27_io/ostream_inserter_arith.cc (test03):
2075         Fix to deal correctly with both 32 bit and 64 bit architectures
2076
2077 2002-01-25  Loren Rittle <ljrittle@acm.org>
2078
2079         * testsuite/thread/pthread1.cc: Use one condition variable
2080         per predicate instead of tricky use of one condition variable.
2081
2082 2002-01-25  Benjamin Kosnik  <bkoz@redhat.com>
2083
2084         * include/bits/fstream.tcc (filebuf::close()): Fix close for input
2085         streams.
2086         (filebuf::_M_really_overflow): Match indeterminate and sync calls.
2087         * testsuite/27_io/filebuf.cc: Compile only.
2088         * testsuite/27_io/filebuf_members.cc: Move tests to here.
2089         * testsuite/27_io/filebuf_virtuals.cc: And here.
2090         Revert sungetc, sync changes for expected values.
2091         * testsuite/27_io/filebuf-*: Move to...
2092         * testsuite/27_io/filebuf_virtuals-*: ...here.
2093         * testsuite/27_io/istream.cc: Compile only, activate.
2094         * testsuite/27_io/ostream.cc: Same.
2095         * testsuite/27_io/iostream.cc: New.
2096         * testsuite/27_io/iostream_members.cc: New.
2097
2098 2002-01-25  David Billinghurst <David.Billinghurst@riotinto.com>
2099
2100         * testsuite/thread/pthread1.cc: Enable on cygwin.
2101         * testsuite/thread/pthread2.cc: Likewise.
2102         * testsuite/thread/pthread3.cc: Likewise.
2103         * testsuite/thread/pthread4.cc: Likewise.
2104         * testsuite/thread/pthread5.cc: Likewise.
2105         * testsuite/thread/pthread6.cc: Likewise.
2106
2107 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
2108
2109         * testsuite/27_io/ostream_inserter_char.cc (test07): New.
2110
2111 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
2112
2113         * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
2114         const, tweak.
2115         (basic_ios::fill(char_type)): Use fill().
2116         * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
2117         (basic_ios::narrow): Same.
2118         (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
2119         if they are invalid.
2120         (basic_ios::init): Comment.
2121         * testsuite/27_io/ios_init.cc (test02): New.
2122
2123 2002-01-24  Phil Edwards  <pme@gcc.gnu.org>
2124
2125         * include/bits/stl_tempbuf.h (_Temporary_buffer):  Add doxygen hook.
2126         * include/bits/stl_algo.h:  Include stl_tempbuf.h.
2127         * include/ext/memory:  Do not include stl_tempbuf.h.
2128         (temporary_buffer):  Add doxygen hook.
2129         (__get_temporary_buffer, get_temporary_buffer,
2130         return_temporary_buffer):  Move back to std:: header...
2131         * include/std/std_memory.h:  ...here.  Do not include stl_tempbuf.h.
2132         * include/ext/rope:  Do not include stl_tempbuf.h.
2133         * include/ext/stl_hashtable.h:  Likewise.
2134         * include/std/std_algorithm.h:  Likewise.
2135         * testsuite/20_util/temporary_buffer.cc:  New file.
2136
2137 2002-01-24  andrew@andypo.net
2138             (tweaks, test and commit by Loren J. Rittle  <ljrittle@acm.org>)
2139
2140         libstdc++/5432
2141         * include/bits/ios_base.h: Use _Atomic_word for reference counts.
2142         * include/bits/localefwd.h: Likewise.
2143         Also use for std::locale::id::_S_highwater.
2144         * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
2145         * src/locale.cc: Support new usage of _Atomic_word.
2146         (std::locale::classic): Guard entire function against reentry.
2147         * src/localename.cc: Support new usage of _Atomic_word.
2148
2149 2002-01-24   Benjamin Kosnik  <bkoz@redhat.com>
2150
2151         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
2152         _GLIBCPP_HAVE_SETENV.
2153         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
2154         * testsuite/22_locale/collate_members_char.cc (test02): Same.
2155         * testsuite/22_locale/ctype_members_char.cc (test03): Same.
2156         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
2157         * testsuite/22_locale/messages_members_char.cc (test02): Same.
2158         * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
2159         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
2160         * testsuite/22_locale/money_put_members_char.cc (test04): Same.
2161         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
2162         * testsuite/22_locale/num_get_members_char.cc (test03): Same.
2163         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
2164         * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
2165         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
2166         * testsuite/22_locale/time_get_members_char.cc (test07): Same.
2167         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
2168         * testsuite/22_locale/time_put_members_char.cc (test03): Same.
2169         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
2170         * testsuite/22_locale/num_put_members_char.cc (test03): Same.
2171         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
2172         * aclocal.m4: Regenerate.
2173         * configure: Regenerate.
2174         * config.h.in: Regenerate.
2175
2176 2002-01-23  Loren Rittle <ljrittle@acm.org>
2177
2178         * testsuite/thread/pthread1.cc: New test.
2179         * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
2180         * testsuite/thread/pthread3.cc: Likewise.
2181         * testsuite/thread/pthread4.cc: New test adapted from
2182         http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
2183         * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
2184         * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
2185
2186 2002-01-23  Richard Henderson  <rth@redhat.com>
2187
2188         PR libstdc++/5198
2189         * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
2190         CAS on the cpu variants that support it.  Add versions that use
2191         TAS and that disable interrupts.
2192         (__atomic_add): Use __exchange_and_add to guarantee atomicity.
2193
2194 2002-01-23  Matt Kraai  <kraai@alumni.cmu.edu>
2195
2196         * include/bits/locale_facets.tcc: Remove old comments.
2197
2198 2002-01-23  Andreas Tobler  <toa@pop.agri.ch>
2199
2200         * include/bits/locale_facets.tcc (__convert_to_v): Change template
2201         parameter to _Tv.
2202         (__convert_from_v): Same.
2203
2204 2002-01-23  Benjamin Kosnik  <bkoz@redhat.com>
2205
2206         * include/bits/locale_facets.h (num_get::_M_extract_int): Change
2207         prototype.
2208         * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
2209         __max_digits checks, adjust arguments.
2210         (num_get::do_get(*)): Changeup.
2211
2212 2002-01-23  Loren Rittle <ljrittle@acm.org>
2213
2214         * config/locale/c_locale_generic.cc: Fix typename usage.
2215
2216 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
2217
2218         * config/locale/c_locale_generic.cc: Fix.
2219
2220 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
2221
2222         * docs/html/22_locale/messages.html: Remove angle brackets.
2223         * docs/html/17_intro/TODO: Add.
2224
2225 2002-01-22  Paolo Carlini  <pcarlini@unitus.it>
2226
2227         * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
2228         * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
2229         * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
2230         * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
2231
2232 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
2233
2234         Audit for LANG independence.
2235         * include/bits/localefwd.h: Tweaks.
2236         * include/bits/locale_facets.tcc (money_get::do_get(long double)):
2237         Use __convert_to_v.
2238         (time_get::do_get_year): Same.
2239         (__convert_from_v): Add.
2240         (num_put::_M_convert_float): Use.
2241         (num_put::_M_convert_int): Same.
2242         (money_put::do_put): Same.
2243
2244         * src/locale-inst.cc: Add instantiations for __convert_from_v.
2245         * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
2246         * config/locale/time_members_generic.cc:
2247         * config/locale/messages_members_gnu.cc: Same.
2248         * config/locale/messages_members_gnu.h: Same.
2249
2250         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
2251         * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
2252         * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
2253         * testsuite/22_locale/collate_members_char.cc (test02): New.
2254         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
2255         * testsuite/22_locale/ctype_members_char.cc (test03): New.
2256         * testsuite/22_locale/messages_members_char.cc (test02): New.
2257         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
2258         * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
2259         * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
2260         * testsuite/22_locale/money_get_members_char.cc (test04): New.
2261         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
2262         * testsuite/22_locale/money_put_members_char.cc (test04): New.
2263         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
2264         * testsuite/22_locale/numpunct_members_char.cc (test02): New.
2265         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
2266         * testsuite/22_locale/time_put_members_char.cc (test03): New.
2267         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
2268         * testsuite/22_locale/time_get_members_char.cc (test07): New.
2269         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
2270         * testsuite/22_locale/num_get_members_char.cc (test03): New.
2271         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
2272         * testsuite/22_locale/num_put_members_char.cc (test03): New.
2273
2274         * testsuite/22_locale/time_get_members_char.cc: Fixups for global
2275         locale issues.
2276         * testsuite/22_locale/time_get_members_char.cc: Same.
2277
2278 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
2279
2280         libstdc++/5280
2281         * include/bits/localefwd.h: Tweak comments.
2282         * include/bits/locale_facets.h (__convert_to_v): Add.
2283         * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
2284         (num_get::do_get(float)): Same.
2285         (num_get::do_get(long double)): Same.
2286         (num_get::do_get(bool)): Same.
2287         (num_get::do_get(long)): Same.
2288         (num_get::do_get(long long)): Same.
2289         (num_get::do_get(unsigned int)): Same.
2290         (num_get::do_get(unsigned short)): Same.
2291         (num_get::do_get(unsigned long)): Same.
2292         (num_get::do_get(unsigned long long)): Same.
2293         * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
2294         * config/locale/c_locale_generic.cc: Same.
2295
2296 2002-01-22  Loren Rittle <ljrittle@acm.org>
2297
2298         * include/Makefile.am (c_base_builddir): Remove redundant slash.
2299         (std_builddir): Likewise.
2300         (std_headers_rename): Fix cut-n-paste typo.
2301         (install-data-local): Concat path per element instead of once to
2302         first element of list.
2303         * include/Makefile.in: Rebuilt.
2304
2305 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
2306
2307         * config/os/aix/bits/ctype_noninline.h: Fix formatting.
2308         * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
2309         * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
2310
2311 2002-01-20  Benjamin Kosnik  <bkoz@redhat.com>
2312
2313         * include/bits/locale_facets.h (ctype<char>::classic_table):
2314         Remove definition.
2315         (ctype<char>::_S_ctable): Remove.
2316         * config/os/gnu-linux/bits/ctype_noninline.h
2317         (ctype<char>::_S_table): Remove definition.
2318         (ctype<char>::classic_table): Define.
2319         (ctype<char>::ctype): Replace _S_ctable with classic_table().
2320         * config/os/aix/bits/ctype_noninline.h: Same.
2321         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
2322         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
2323         * config/os/djgpp/bits/ctype_noninline.h: Same.
2324         * config/os/generic/bits/ctype_noninline.h: Same.
2325         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
2326         * config/os/hpux/bits/ctype_noninline.h: Same.
2327         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
2328         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
2329         * config/os/mingw32/bits/ctype_noninline.h: Same.
2330         * config/os/newlib/bits/ctype_noninline.h: Same.
2331         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2332         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2333         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2334
2335 2002-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
2336
2337         * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
2338         of _pctype. Use to define _S_ctable.  Add definition for alternate
2339         ctor.  Initialise _M_ctable to _S_ctable in ctors.
2340         (do_toupper, do_tolower): Use inline code appropriate for C-locale
2341         rather than ::toupper, ::tolower.
2342
2343 2002-01-18  Loren Rittle <ljrittle@acm.org>
2344
2345         * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
2346         Add specialization for FreeBSD systems only to avoid losing test
2347         only due to extra precision unmentioned in system headers.
2348
2349 2002-01-18  David Billinghurst <David.Billinghurst@riotinto.com>
2350
2351         * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
2352
2353 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
2354
2355         * testsuite/testsuite_hooks.h: Fix comment typo.  Memory
2356         limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
2357
2358 2002-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2359
2360         * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
2361
2362 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
2363
2364         * configure.target: Define OPT_LDFLAGS for AIX case.
2365
2366 2002-01-17  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2367
2368         * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
2369         __glibcpp_double_has_quiet_NaN): Correct mispelling.
2370
2371 2002-01-17  Andreas Tobler  <toa@pop.agri.ch>
2372
2373         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
2374
2375 2002-01-16  David Edelsohn  <dje@watson.ibm.com>
2376
2377         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
2378         SECTION_LDFLAGS and OPT_LDFLAGS.  Fix ac_sectionLDflags type.
2379         * aclocal.m4: Regenerate.
2380         * configure: Regenerate.
2381
2382 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
2383
2384         * include/Makefile.am (c_base_headers_rename): New.
2385         (c_base_headers_extra): New.
2386         (stamp-c_base): Modify.
2387         (install-data-local): Use both.
2388         * include/Makefile.in: Regenerate.
2389         * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
2390         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
2391         cstdio ctime cwctype]: Move to..
2392         * include/c/std_*: Here.
2393         * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
2394         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
2395         cstdio ctime cwctype]: Move to..
2396         * include/c_std/std_*: Here.
2397
2398         Alexandre Oliva  <aoliva@redhat.com>
2399         * include/Makefile.am (.PRECIOUS): Add rule.
2400         * include/Makefile.in: Regenerate.
2401
2402 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
2403             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2404
2405         * include/bits/stl_iterator.h (reverse_iterator::_M_current):
2406         Deuglify, should be current.
2407         (back_insert_iterator::_M_container): Deuglify, should be container.
2408         (front_insert_iterator::_M_container): Same.
2409         (insert_iterator::_M_container): Same.
2410         * testsuite/24_iterators/reverse_iterator.cc: Add check.
2411         * testsuite/24_iterators/back_insert_iterator.cc: Add check.
2412         * testsuite/24_iterators/front_insert_iterator.cc: Same.
2413         * testsuite/24_iterators/insert_iterator.cc: Same.
2414
2415 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
2416
2417         * include/bits/locale_facets.h (ctype<char>::classic_table): Make
2418         static.
2419         (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
2420         * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
2421         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2422         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2423         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2424         * config/os/newlib/bits/ctype_noninline.h: Same.
2425         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
2426         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
2427         * config/os/hpux/bits/ctype_noninline.h: Same.
2428         * config/os/djgpp/bits/ctype_noninline.h: Same.
2429         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
2430         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
2431         * config/os/aix/bits/ctype_noninline.h: Same.
2432
2433         Testcase by Dietmar Kühl via Peter Schmid
2434         * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
2435         classic_table().
2436
2437 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
2438
2439         * libmath/signbitl.c: Copyright years as list, not range.
2440         * libmath/Makefile.am: Same.
2441         * libmath/Makefie.in: Regenerate.
2442         * libmath/signbit.c: Same.
2443         * libmath/nan.c: Same.
2444         * libmath/copysignf.c: Same.
2445         * libmath/signbitf.c: Same.
2446         * testsuite/22_locale/money_get_members_char.cc: Same.
2447         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
2448         * testsuite/22_locale/money_put_members_char.cc: Same.
2449         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
2450         * testsuite/22_locale/time_get_members_char.cc: Same.
2451         * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
2452         * testsuite/22_locale/time_put_members_char.cc: Same.
2453         * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
2454         * testsuite/21_strings/nonmember.cc: Same.
2455         * testsuite/21_strings/compare.cc: Same.
2456         * testsuite/27_io/stringstream.cc: Same.
2457         * testsuite/27_io/stringbuf.cc: Same.
2458         * testsuite/27_io/filebuf.cc: Same.
2459         * testsuite/27_io/ios_manip_basefield.cc: Same.
2460         * testsuite/27_io/ios_manip_fmtflags.cc: Same.
2461         * include/bits/cpp_type_traits.h: Same.
2462         * include/bits/generic_shadow.h: Same.
2463         * include/bits/gslice_array.h: Same.
2464         * include/bits/gslice.h: Same.
2465         * include/bits/indirect_array.h: Same.
2466         * include/bits/slice_array.h: Same.
2467         * include/bits/sstream.tcc: Same.
2468         * include/bits/streambuf_iterator.h: Same.
2469         * include/bits/valarray_array.tcc: Same.
2470         * include/bits/valarray_meta.h: Same.
2471         * include/bits/valarray_array.h: Same.
2472         * config/os/mingw32/bits/ctype_noninline.h: Same.
2473         * config/os/mingw32/bits/ctype_base.h: Same.
2474         * config/os/hpux/bits/ctype_noninline.h: Same.
2475         * config/os/hpux/bits/ctype_base.h: Same.
2476         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
2477         * config/os/gnu-linux/bits/ctype_base.h: Same.
2478         * config/os/generic/bits/ctype_noninline.h: Same.
2479         * config/os/generic/bits/ctype_base.h: Same.
2480
2481         * libsupc++/tinfo.h: Tweaks.
2482
2483 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
2484
2485         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
2486         * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
2487         * testsuite/22_locale/ctype_members_char.cc: Tweak.
2488
2489 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
2490
2491         * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
2492         (num_put::do_put(void*)): Fix.
2493         * testsuite/22_locale/num_put_members_char.cc (test02): Add.
2494         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
2495         * testsuite/22_locale/num_get_members_char.cc (test02): Add
2496         long double, void, bool types.
2497         * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
2498
2499 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
2500             Alexandre Oliva  <aoliva@redhat.com>
2501
2502         * libmath/Makefile.am (LINK): Add --tag CC.
2503         * libmath/Makefile.in: Regenerate.
2504
2505 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2506
2507         * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
2508         of character to attribute mapping table.
2509
2510 2002-01-15  David Billinghurst <David.Billinghurst@riotinto.com>
2511
2512         * testsuite/26_numerics/c99_classification_macros_c.cc
2513         Remove dg-error and dg-excess-errors comments.
2514
2515 2002-01-14  Benjamin Kosnik  <bkoz@redhat.com>
2516
2517         * include/bits/locale_facets.tcc (time_put::put): Correct output
2518         iterator positions.
2519         * testsuite/22_locale/time_put_members_char.cc (test02): Add.
2520         * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
2521         * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
2522         * testsuite/22_locale/time_get_members_char.cc (test06): Add.
2523
2524 2002-01-14  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2525
2526         * docs/html/17_intro/porting-howto.xml: Update filebuf section.
2527
2528 2002-01-14  Paolo Carlini  <pcarlini@unitus.it>
2529             Nathan Myers  <ncm@cantrip.org>
2530
2531         * include/bits/basic_string.h
2532         (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
2533         temporaries (i.e., call _M_replace_safe) when possible.
2534         (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
2535         (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
2536         (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
2537         (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
2538         (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
2539         * include/bits/basic_string.tcc
2540         (replace(__pos1, __n1, __str, __pos2, __n2)): Call
2541         replace(__pos, __n1, __s, __n2).
2542         * testsuite/21_strings/replace.cc (test03): New testcases.
2543
2544         * include/bits/basic_string.h (insert(__pos, __s, __n)):
2545         Adjust comparison wrt overflow.
2546
2547 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
2548
2549         * include/Makefile.am (std_headers_rename): New variable.
2550         (install-data-local): Use it.
2551         * include/Makefile.in: Regenerate.
2552
2553 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
2554
2555         * include/bits/locale_facets.tcc (money_put::do_put(string):
2556         Correct output iterator value.
2557         * testsuite/22_locale/money_put_members_char.cc (test03): Add.
2558         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
2559
2560 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
2561
2562         * include/Makefile.am, include/Makefile.in (stamp-std):  Fix typo from
2563         previous commit.
2564
2565 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
2566
2567         * include/Makefile.am (std_headers):  Update list with new names.
2568         (stamp-std):  Link to standardized name.
2569         * include/Makefile.in:  Regenerate.
2570
2571         * include/std/algorithm, include/std/bitset, include/std/complex,
2572         include/std/deque, include/std/fstream, include/std/functional,
2573         include/std/iomanip, include/std/ios, include/std/iosfwd,
2574         include/std/iostream, include/std/istream, include/std/iterator,
2575         include/std/limits, include/std/list, include/std/locale,
2576         include/std/map, include/std/memory, include/std/numeric,
2577         include/std/ostream, include/std/queue, include/std/set,
2578         include/std/sstream, include/std/stack, include/std/stdexcept,
2579         include/std/streambuf, include/std/string, include/std/utility,
2580         include/std/valarray, include/std/vector:  Rename to...
2581
2582         * include/std/std_algorithm.h, include/std/std_bitset.h,
2583         include/std/std_complex.h, include/std/std_deque.h,
2584         include/std/std_fstream.h, include/std/std_functional.h,
2585         include/std/std_iomanip.h, include/std/std_ios.h,
2586         include/std/std_iosfwd.h, include/std/std_iostream.h,
2587         include/std/std_istream.h, include/std/std_iterator.h,
2588         include/std/std_limits.h, include/std/std_list.h,
2589         include/std/std_locale.h, include/std/std_map.h,
2590         include/std/std_memory.h, include/std/std_numeric.h,
2591         include/std/std_ostream.h, include/std/std_queue.h,
2592         include/std/std_set.h, include/std/std_sstream.h,
2593         include/std/std_stack.h, include/std/std_stdexcept.h,
2594         include/std/std_streambuf.h, include/std/std_string.h,
2595         include/std/std_utility.h, include/std/std_valarray.h,
2596         include/std/std_vector.h:  ...this.
2597
2598 2002-01-11  Loren Rittle <ljrittle@acm.org>
2599
2600         * include/Makefile.am (extra_target_headers): New list of all
2601         target files built with ad hoc naming rules.
2602         (stamp-*): Handle LN_S failure in manner portable across make
2603         implementations.
2604         (install-data-local): Install header files from human-maintained
2605         file lists and directory components instead of non-robust find.
2606         * include/Makefile.in: Rebuilt.
2607
2608 2002-01-11  Benjamin Kosnik  <bkoz@redhat.com>
2609
2610         * include/bits/locale_facets.tcc (money_get::do_get(string)):
2611         Check for zero-length negative sign before adding it to output
2612         string.
2613         (money_get::do_get(long double)): Return beg.
2614         * testsuite/22_locale/money_get_members_char.cc (test02): Add
2615         iterator checks.
2616         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
2617
2618 2002-01-10  David Seymour  <seymour_dj@yahoo.com>
2619
2620         libstdc++/5331
2621         * include/bits/locale_facets.h (num_get<>): Return advanced iterator
2622         for _M_extract_float and _M_extract_int
2623         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
2624         (num_get<>::_M_extract_int): Likewise, all callers changed
2625         * testsuite/22_locale/num_get_members_char.cc: Testcase
2626
2627 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
2628
2629         * libsupc++/exception (bad_exception): Add comment.
2630         * libsupc++/new (bad_alloc): Same.
2631         * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
2632
2633 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
2634
2635         libstdc++/3150: revert 2001-11-30 commit. DR266 only means
2636         that the destructors should be removed from the descriptions
2637         in the standard: writing them explicitly allows the vtable
2638         heuristic to work. For additional information see:
2639         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
2640         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
2641         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
2642         * libsupc++/exception (bad_exception::~bad_exception()):
2643         Reintroduce declaration.
2644         * libsupc++/new (bad_alloc::~bad_alloc()): Same.
2645         * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
2646         (bad_typeid::~bad_typeid()): Same.
2647         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
2648         Reintroduce definition.
2649         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
2650         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
2651         (bad_typeid::~bad_typeid()): Same.
2652
2653 2002-01-09  Benjamin Kosnik  <bkoz@redhat.com>
2654
2655         * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
2656         * include/Makefile.in: Regenerate.
2657
2658 2002-01-09  Bo Thorsen  <bo@suse.co.uk>
2659
2660         * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
2661         definition.
2662
2663 2002-01-08  Benjamin Kosnik  <bkoz@redhat.com>
2664
2665         libstdc++/2913
2666         libstdc++/4879
2667         * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
2668         return value of _M_file->sync().
2669         (filebuf::showmanyc): Check for is_open.
2670         * include/std/fstream (filebuf::sync): Tweak.
2671         * testsuite/27_io/filebuf.cc: Tweak.
2672
2673 2002-01-08  John Fardo  <jfardo@laurelnetworks.com>
2674             Brad Garcia  <garsh@attbi.com>
2675
2676         * testsuite/27_io/filebuf_members.cc: Add test.
2677
2678 2002-01-07  Benjamin Kosnik  <bkoz@redhat.com>
2679             Craig Rodrigues  <rodrigc@mediaone.net>
2680
2681         libstdc++/5174
2682         * po/Makefile.am (mkinstalldirs): Add.
2683         * po/Makefile.in: Regenerate.
2684
2685 2002-01-07  David Billinghurst  <David.Billinghurst@riotinto.com>
2686
2687         * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
2688         testsuite/lib/prune.exp: Delete lines ":In function ..."  from
2689         compiler output.
2690         * testsuite/23_containers/map_operators.cc: Remove
2691         dg-excess-errors comment.
2692         * testsuite/23_containers/set_operators.cc: Likewise.
2693
2694 2002-01-06  Paolo Carlini  <pcarlini@unitus.it>
2695
2696         * include/bits/stl_function.h:  Remove two lines of comments;
2697         adjust copyright years.
2698
2699 2002-01-04  Benjamin  Kosnik  <bkoz@redhat.com>
2700
2701         * include/Makefile.am (std_headers): Remove cXXX from list.
2702         (c_base_srcdir): No bits subdirectory.
2703         (c_base_builddir): Same.
2704         (c_base_headers): Adjust names, add ciso646.
2705         (bits_headers): Remove std_xxx.h headers.
2706         * include/Makefile.in: Regenerate.
2707
2708         * include/ext/iterator: Adjust includes.
2709         * include/ext/ropeimpl.h: Same.
2710         * include/ext/stl_hash_fun.h: Same.
2711         * include/ext/algorithm: Same.
2712
2713         * include/backward/bvector.h: Adjust includes.
2714         * include/backward/vector.h: Same.
2715         * include/backward/strstream: Same.
2716         * include/backward/streambuf.h: Same.
2717         * include/backward/stack.h: Same.
2718         * include/backward/set.h: Same.
2719         * include/backward/queue.h: Same.
2720         * include/backward/multiset.h: Same.
2721         * include/backward/multimap.h: Same.
2722         * include/backward/map.h: Same.
2723         * include/backward/list.h: Same.
2724         * include/backward/iterator.h: Same.
2725         * include/backward/iostream.h: Same.
2726         * include/backward/iomanip.h: Same.
2727         * include/backward/fstream.h: Same.
2728         * include/backward/deque.h: Same.
2729         * include/backward/complex.h: Same.
2730
2731         * include/bits/std_algorithm.h: Move to...
2732         * include/std/algorithm: ...here.
2733         * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
2734         std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
2735         std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
2736         std_deque.h, std_istream.h, std_numeric.h, std_string.h,
2737         std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
2738         std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
2739         std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
2740         Same.
2741
2742         * include/c_std/bits/std_cassert.h: Move to...
2743         * include/c_std/cassert: Here.
2744         * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
2745         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
2746         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
2747         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
2748         std_cwctype.h: Same.
2749         * include/c_std/cmath: Adjust cmath.tcc include.
2750         * include/c_std/cstdlib: Adjust includes.
2751         * include/c_std/cwchar: Same.
2752         * include/c_std/ctime: Same.
2753         * include/c_std/cstring: Same.
2754         * include/c_std/cstdio: Same.
2755         * include/c_std/bits: Remove directory.
2756
2757         * include/c/bits/std_cassert.h: Move to...
2758         * include/c/cassert: Here.
2759         * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
2760         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
2761         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
2762         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
2763         std_cwctype.h: Same.
2764         * include/c/bits: Remove directory.
2765
2766         * include/std/cwctype: Remove.
2767         * include/std/cwchar: Remove.
2768         * include/std/ctime: Remove.
2769         * include/std/cstring: Remove.
2770         * include/std/cstdlib: Remove.
2771         * include/std/cstdio: Remove.
2772         * include/std/cstddef: Remove.
2773         * include/std/cstdarg: Remove.
2774         * include/std/csignal: Remove.
2775         * include/std/csetjmp: Remove.
2776         * include/std/cmath: Remove.
2777         * include/std/clocale: Remove.
2778         * include/std/climits: Remove.
2779         * include/std/ciso646: Remove.
2780         * include/std/cfloat: Remove.
2781         * include/std/cerrno: Remove.
2782         * include/std/cctype: Remove.
2783         * include/std/cassert: Remove.
2784
2785         * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
2786         files and subsituting <xxx>.
2787         * include/bits/valarray_array.h: Same.
2788         * include/bits/stl_uninitialized.h: Same.
2789         * include/bits/stl_alloc.h: Same.
2790         * include/bits/stl_algobase.h: Same.
2791         * include/bits/sstream.tcc: Same.
2792         * include/bits/pthread_allocimpl.h: Same.
2793         * include/bits/ostream.tcc: Same.
2794         * include/bits/localefwd.h: Same.
2795         * include/bits/locale_facets.tcc: Same.
2796         * include/bits/locale_facets.h: Same.
2797         * include/bits/istream.tcc: Same.
2798         * include/bits/char_traits.h: Same.
2799         * include/bits/boost_concept_check.h: Same.
2800         * include/bits/basic_file.h: Same.
2801         * include/std/bitset: Same.
2802         * include/std/complex: Same.
2803         * include/std/fstream: Same.
2804         * include/std/functional: Same.
2805         * include/std/ios: Same.
2806         * include/std/iostream: Same.
2807         * include/std/ostream: Same.
2808         * include/std/sstream: Same.
2809         * include/std/streambuf: Same.
2810         * include/std/string: Same.
2811         * include/std/iterator: Same.
2812         * include/std/valarray: Same.
2813
2814         * src/ios.cc: Adjust includes.
2815         * src/valarray-inst.cc: Same.
2816         * src/string-inst.cc: Same.
2817         * src/stl-inst.cc: Same.
2818         * src/stdexcept.cc: Same.
2819         * src/misc-inst.cc: Same.
2820         * src/localename.cc: Same.
2821         * src/locale-inst.cc: Same.
2822         * src/locale.cc: Same.
2823         * src/limits.cc: Same.
2824         * src/concept-inst.cc: Same.
2825         * src/complex_io.cc: Same.
2826         * src/codecvt.cc: Same.
2827         * src/bitset.cc: Same.
2828         * src/cmath.cc: Same.
2829
2830 2002-01-04  Paolo Carlini  <pcarlini@unitus.it>
2831
2832         * include/bits/stl_tree.h (rb_tree):  Move to...
2833         * include/ext/rb_tree:  ...here, new file.
2834         * include/Makefile.am (ext_headers):  Add new file.
2835         * include/Makefile.in:  Regenerate.
2836         * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
2837         return_temporary_buffer, struct temporary_buffer):  Move to...
2838         * include/ext/memory:  ...here.
2839         * testsuite/ext/headers.cc:  Include <ext/rb_tree>.
2840         * include/backward/tempbuf.h:  Include <ext/memory>, tweak.
2841         * include/backward/tree.h:  Include <ext/rb_tree), tweak.
2842
2843 2002-01-03  Paolo Carlini  <pcarlini@unitus.it>
2844
2845         * include/bits/stl_numeric.h (power + helpers, iota):  Move to...
2846         * include/ext/numeric:  ...here, new file.
2847         * include/bits/stl_function.h (identity_element, unary_compose,
2848         binary_compose, compose1, compose2, identity, select1st,
2849         select2nd, project1st + helper, project2nd + helper,
2850         constant_void_fun + helper, constant_unary_fun + helper,
2851         costant_binary_fun + helper, constant0, constant1, constant2,
2852         subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
2853         * include/ext/functional:  ...here, new file.
2854         * include/Makefile.am (ext_headers):  Add new files.
2855         * include/Makefile.in:  Regenerate.
2856         * testsuite/ext/headers.cc:  Include <ext/numeric> and
2857         <ext/functional>.
2858         * include/backward/algo.h:  Include <ext/numeric>, tweak.
2859         * include/backward/function.h:  Include <ext/functional>, tweak.
2860         * include/ext/ropeimpl.h:  Include <ext/numeric>.
2861
2862 2002-01-03  Jeffrey A Law  <law@redhat.com>
2863
2864         * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
2865         __strtoull declarations with __extension__.
2866
2867 2002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>
2868
2869         * testsuite/lib/prune.exp: Correct regular expression for
2870         -ffunction-sections
2871
2872 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
2873
2874         * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
2875         Change concept checks, as with lower_bound and PR 2054.
2876         * testsuite/ext/concept_checks.cc:  Expand test to include those.
2877
2878 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
2879
2880         * include/bits/boost_concept_check.h:  Import some changes from
2881         upsteam (Boost) version.
2882
2883 2002-01-02  Paolo Carlini  <pcarlini@unitus.it>
2884
2885         * include/bits/stl_algobase.h (copy_n + helpers,
2886         lexicographical_compare_3way + helpers):  Move to...
2887         * include/ext/algorithm:  ...here.
2888         * include/bits/stl_uninitialized.h (uninitialized_copy_n +
2889         helpers):  Move to...
2890         * include/ext/memory:  ...here, new file.
2891         * include/Makefile.am (ext_headers):  Add new file.
2892         * include/Makefile.in:  Regenerate.
2893         * testsuite/ext/headers.cc:  Include <ext/memory>.
2894         * include/backward/algobase.h:  Include <ext/memory> and
2895         <ext/algorithm>, tweak.
2896         * include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
2897         * include/ext/stl_rope.h:  Include <ext/memory>, tweak.
2898
2899 2002-01-01  Roger Sayle <roger@eyesopen.com>
2900
2901         * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
2902         equivalent ___builtin__ versions.
2903
2904         * include/c_shadow/bits/std_cmath.h: All __builtin math functions
2905         are available in libstdc++ as the necessary stub implementations
2906         are provided by libmath/stubs.c.
2907
2908 2002-01-01  Jason Thorpe  <thorpej@wasabisystems.com>
2909
2910         * configure.in: Add support for NetBSD cross compiles.
2911         * configure: Regenerate.