OSDN Git Service

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