OSDN Git Service

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