OSDN Git Service

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