OSDN Git Service

2003-03-08 Paolo Carlini <pcarlini@unitus.it>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2003-03-08  Paolo Carlini <pcarlini@unitus.it>
2             Petur Runolfsson  <peturr02@ru.is>
3
4         PR libstdc++/9424
5         * include/bits/streambuf.tcc (__copy_streambufs): Use
6         sgetn-sputn only when sputn cannot fail, otherwise fall back
7         to safe snextc-sputc.
8         * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
9
10 2003-03-08  Jerry Quinn  <jlquinn@optonline.net>
11
12         * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
13         locale cache for truename and falsename.
14
15 2003-03-08  Jerry Quinn  <jlquinn@optonline.net>
16
17         * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
18         _M_word_size initialization.
19
20 2003-03-07  Paolo Carlini  <pcarlini@unitus.it>
21
22         * include/bits/fstream.tcc (_M_convert_to_external):
23         Set __elen to zero if codecvt::out eventually fails.
24
25 2003-03-07  Paolo Carlini  <pcarlini@unitus.it>
26
27         PR libstdc++/9182
28         * include/bits/fstream.tcc (_M_really_overflow): Check
29         for _M_convert_to_external possible failures.
30         * include/std/std_fstream.h (sync): Check _M_really_overflow
31         return value and return -1 in case of failure.
32         * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
33
34 2003-03-07  Paolo Carlini  <pcarlini@unitus.it>
35
36         PR libstdc++/9826
37         * include/bits/istream.tcc (operator>>(_CharT*),
38         operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
39         * testsuite/27_io/stringstream.cc (test02): Add.
40
41         * include/bits/istream.tcc (operator>>(_CharT*)):
42         Assign a char_type to *__s.
43
44 2003-03-07  Petur Runolfsson  <peturr02@ru.is>
45
46         PR libstdc++/9817
47         * include/bits/locale_facets.tcc
48         (collate::do_compare, collate::do_transform):
49         Handle nul characters in input.
50         * testsuite/22_locale/collate/compare/char/3.cc:  New test.
51         * testsuite/22_locale/collate/compare/wchar_t/3.cc:  New test.
52         * testsuite/22_locale/collate/transform/char/3.cc:  New test.
53         * testsuite/22_locale/collate/transform/wchar_t/3.cc:  New test.
54
55 2003-03-07  Jerry Quinn  <jlquinn@optonline.net>
56
57         * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
58         sputn fails.
59         * testsuite/27_io/ostream_fail.cc: New test.
60
61 2003-03-07  Matthias Klose  <doko@debian.org>
62
63         * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
64         FLAGS_TO_PASS: Set to AM_MAKEFLAGS
65         * Makefile.in: Regenerate.
66         * libsupc++/Makefile.am: Express glibcppinstalldir in terms
67         of gxx_include_dir.
68         AM_MAKEFLAGS: Pass gxx_include_dir.
69         * libsupc++/Makefile.in: Regenerate.
70
71 2003-03-06  Jerry Quinn  <jlquinn@optonline.net>
72
73         * testsuite/27_io/ios_base_storage.cc (test02): Set exception
74         mask.  Test setting small-numbered pword and iword slots.  Test
75         behavior at limit of numeric_limits::max.  Check that values are
76         still good after failures.
77
78 2003-03-06  Jerry Quinn  <jlquinn@optonline.net>
79
80         * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
81         (ios_base::ios_base): Set _M_word, _M_word_size.
82         (ios_base::~ios_base): Remove redundant test.
83         * testsuite/27_io/ios_base_storage.cc (test03): New.
84
85 2003-03-04  Alexandre Oliva  <aoliva@redhat.com>
86
87         * src/strstream.cc, include/bits/basic_string.tcc: Remove
88         incorrect whitespace added in my previous change.
89
90 2003-03-05  Carlo Wood  <carlo@alinoe.com>
91
92         * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
93         _S_initialized() in order to allow debugging libraries to detect
94         when the std streams are initialized from an overloaded operator
95         new.
96
97 2003-03-05  Benjamin Kosnik  <bkoz@redhat.com>
98
99         * libsupc++/demangle.h: Move to..
100         * include/bits/demangle.h: ...here.
101         * src/demangle.cc: Adjust include.
102         * include/Makefile.am (bits_headers): Add.
103         * include/Makefile.in: Regenerate.
104         
105 2003-03-04  Benjamin Kosnik  <bkoz@redhat.com>  
106
107         * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
108
109         * config/linker-map.gnu: Filter typeinfo and vtable info.
110
111 2003-03-04  Jerry Quinn  <jlquinn@optonline.net>
112
113         * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
114         new failure.  Throw exception if badbit and exception mask when ix
115         >= numeric_limits<int>::max().
116
117 2003-03-04  Alexandre Oliva  <aoliva@redhat.com>
118
119         * src/strstream.cc (strstreambuf::overflow): Make sure operands of
120         min and max have the same type.
121         * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
122
123 2003-03-04  Benjamin Kosnik  <bkoz@redhat.com>
124
125         * include/Makefile.am (allstamps): Remove stamp-std-precompile.
126         * include/Makefile.in: Regenerate.
127
128 2003-03-03  Benjamin Kosnik  <bkoz@redhat.com>
129
130         * testsuite/abi_check.cc (report_symbol_info): Add version info.
131
132         * config/linker-map.gnu: Hide more stuff.
133         * include/Makefile.am: Cleanups.
134         * include/Makefile.in: Regenerate.
135         
136 2003-02-27  Jerry Quinn  <jlquinn@optonline.net>
137
138         * config/locale/generic/messages_members.h (messages::messages):
139         Remove name from unused parameter.
140
141 2003-02-27  Benjamin Kosnik  <bkoz@redhat.com>
142
143         * src/Makefile.am (sources): Add demangle.cc.
144         (demangle.o): Add.
145         (demangle.lo): Add.     
146         * src/Makefile.in: Regenerate.
147         * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
148         * libsupc++/Makefile.in: Regenerate.
149
150         * testsuite/testsuite_hooks.h
151         (__gnu_cxx_test::verify_demangle): New.
152         * testsuite/testsuite_hooks.cc: Define.
153         
154 2003-02-27  Carlo Wood  <carlo@alinoe.com>
155
156         * src/demangle.cc: New.
157         * libsupc++/demangle.h: New.
158
159 2003-02-27  Benjamin Kosnik  <bkoz@redhat.com>
160             Carlo Wood  <carlo@alinoe.com>
161
162         * testsuite/demangle/abi_examples/01.cc: New.
163         * testsuite/demangle/abi_examples/02.cc: New.
164         * testsuite/demangle/abi_examples/03.cc: New.
165         * testsuite/demangle/abi_examples/04.cc: New.
166         * testsuite/demangle/abi_examples/05.cc: New.
167         * testsuite/demangle/abi_examples/06.cc: New.
168         * testsuite/demangle/abi_examples/07.cc: New.
169         * testsuite/demangle/abi_examples/08.cc: New.
170         * testsuite/demangle/abi_examples/09.cc: New.
171         * testsuite/demangle/abi_examples/10.cc: New.
172         * testsuite/demangle/abi_examples/11.cc: New.
173         * testsuite/demangle/abi_examples/12.cc: New.
174         * testsuite/demangle/abi_examples/13.cc: New.
175         * testsuite/demangle/abi_examples/14.cc: New.
176         * testsuite/demangle/abi_examples/15.cc: New.
177         * testsuite/demangle/abi_examples/16.cc: New.
178         * testsuite/demangle/abi_examples/17.cc: New.
179         * testsuite/demangle/abi_examples/18.cc: New.
180         * testsuite/demangle/abi_examples/19.cc: New.
181         * testsuite/demangle/abi_examples/20.cc: New.
182         * testsuite/demangle/abi_examples/21.cc: New.
183         * testsuite/demangle/abi_examples/22.cc: New.
184         * testsuite/demangle/abi_examples/23.cc: New.
185         * testsuite/demangle/abi_examples/24.cc: New.
186         * testsuite/demangle/abi_examples/25.cc: New.
187         * testsuite/demangle/abi_examples/26.cc: New.
188         * testsuite/demangle/abi_text/01.cc: New.
189         * testsuite/demangle/abi_text/02.cc: New.
190         * testsuite/demangle/abi_text/03.cc: New.
191         * testsuite/demangle/abi_text/04.cc: New.
192         * testsuite/demangle/abi_text/05.cc: New.
193         * testsuite/demangle/abi_text/06.cc: New.
194         * testsuite/demangle/abi_text/07.cc: New.
195         * testsuite/demangle/abi_text/08.cc: New.
196         * testsuite/demangle/abi_text/09.cc: New.
197         * testsuite/demangle/abi_text/10.cc: New.
198         * testsuite/demangle/abi_text/11.cc: New.
199         * testsuite/demangle/abi_text/12.cc: New.
200         * testsuite/demangle/abi_text/13.cc: New.
201         * testsuite/demangle/abi_text/14.cc: New.
202         * testsuite/demangle/regression/3111-1.cc: New.
203         * testsuite/demangle/regression/3111-2.cc: New.
204         * testsuite/demangle/regression/7986-01.cc: New.
205         * testsuite/demangle/regression/7986-02.cc: New.
206         * testsuite/demangle/regression/7986-03.cc: New.
207         * testsuite/demangle/regression/7986-04.cc: New.
208         * testsuite/demangle/regression/7986-05.cc: New.
209         * testsuite/demangle/regression/7986-06.cc: New.
210         * testsuite/demangle/regression/7986-07.cc: New.
211         * testsuite/demangle/regression/7986-08.cc: New.
212         * testsuite/demangle/regression/7986-09.cc: New.
213         * testsuite/demangle/regression/7986-10.cc: New.
214         * testsuite/demangle/regression/7986-11.cc: New.
215         * testsuite/demangle/regression/7986-12.cc: New.
216         * testsuite/demangle/regression/7986.cc: New.
217         * testsuite/demangle/regression/8897.cc: New.
218         * testsuite/demangle/regression/cw-01.cc: New.
219         * testsuite/demangle/regression/cw-02.cc: New.
220         * testsuite/demangle/regression/cw-03.cc: New.
221         * testsuite/demangle/regression/cw-04.cc: New.
222         * testsuite/demangle/regression/cw-05.cc: New.
223         * testsuite/demangle/regression/cw-06.cc: New.
224         * testsuite/demangle/regression/cw-07.cc: New.
225         * testsuite/demangle/regression/cw-08.cc: New.
226         * testsuite/demangle/regression/cw-09.cc: New.
227         * testsuite/demangle/regression/cw-10.cc: New.
228         * testsuite/demangle/regression/cw-11.cc: New.
229         * testsuite/demangle/regression/cw-12.cc: New.
230         * testsuite/demangle/regression/cw-13.cc: New.
231         * testsuite/demangle/regression/cw-14.cc: New.
232         * testsuite/demangle/regression/old.cc: New.
233
234 2003-02-25  Phil Edwards  <pme@gcc.gnu.org>
235
236         * docs/doxygen/Intro.3:  Update with new (proper) names.
237         * docs/doxygen/TODO:  Update.
238         * docs/doxygen/run_doxygen:  More comments, fix up man pages.
239         Fake entries for standard typedefs.
240         * docs/doxygen/user.cfg.in:  Turn INLINE_INHERITED_MEMB back on.
241         * docs/html/documentation.html:  Top-level man page is now called
242         C++Intro.
243         * include/std/std_limits.h:  Doxygenate.
244
245 2003-02-25  Scott Snyder  <snyder@fnal.gov>
246
247         PR libstdc++/9811
248         * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
249         Correct documentation.
250         * include/bits/stl_multimap.h (lower_bound, upper_bound,
251         equal_range): Likewise.
252
253 2003-02-24  Paolo Carlini  <pcarlini@unitus.it>
254
255         PR libstdc++/9825
256         * src/fstream.cc
257         (basic_filebuf<char/wchar_t>::_M_underflow_common): When
258         __bump is true (uflow), always increment the read pointer
259         (_M_in_cur) before returning successfully.
260         * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
261
262 2003-02-24  Paolo Carlini <pcarlini@unitus.it>
263             Nathan Myers <ncm@cantrip.org>
264
265         PR libstdc++/9404, PR libstdc++/9701 (partial)
266         (aka pptr == epptr implies overflow)
267         * include/bits/fstream.tcc (_M_allocate_internal_buffer):
268         Consistently, _M_out_end points to the end of the buffer just
269         created.
270         (overflow): Tweak to use _M_out_buf_size().
271         (_M_convert_to_external): The role of the old _M_out_end is
272         now played by _M_out_lim.
273         (_M_really_overflow): Likewise.
274         (seekoff): Likewise.
275         (setbuf): _M_out_end points to the end of the external buffer.
276         * include/bits/sstream.tcc (overflow): Rewrote, taking into
277         account the resolution of DR 169 (TC).
278         (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
279         (seekpos): Use _M_string.capacity(); tweak.
280         * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
281         * include/std/std_fstream.h (sync): The role of the old
282         _M_out_end is now played by _M_out_lim.
283         (_M_set_indeterminate): Use _M_set_determinate.
284         (_M_set_determinate): _M_out_end is now _M_out_lim.
285         (_M_is_indeterminate): Likewise.
286         * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
287         (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
288         which have the information readily available as _M_string.capacity();
289         for ate and app modes, pass the string size to _M_really_sync.
290         (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
291         point to the end of the buffer (i.e., epptr) and to the string end,
292         respectively.
293         * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
294         which points to the right limit of the used put area.
295         (_M_out_cur_move): The role of the old _M_out_end is now played
296         by _M_out_lim.
297         (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
298         _M_out_end  - _M_out_cur (i.e., pptr), _very_ close to the letter
299         of the standard.
300         (basic_streambuf()): Initialize _M_out_lim too.
301         * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
302         * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
303         * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
304
305 2003-02-24  Benjamin Kosnik  <bkoz@redhat.com>
306
307         * testsuite/27_io/ios_base_storage.cc (main): Call
308         set_memory_limits.
309
310 2003-02-21  Jerry Quinn  <jlquinn@optonline.net>
311
312         * include/bits/locale_facets.tcc (_M_convert_float): Replace
313         numpunct facet accesses with data from __locale_cache.
314
315 2003-02-20  Phil Edwards  <pme@gcc.gnu.org>
316
317         * docs/html/faq/index.html (3.9):  New note, wchar_t on FreeBSD.
318         * docs/html/faq/index.txt:  Regenerate.
319
320 2003-02-20  Phil Edwards  <pme@gcc.gnu.org>
321
322         * config/linker-map.gnu:  Also export locking symbols needed for the
323         generic atomicity.h case.
324
325 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
326
327         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
328         config.status.
329         * configure: Rebuilt.
330
331 2003-02-19  Paolo Carlini  <pcarlini@unitus.it>
332
333         * include/bits/sstream.tcc (overflow): According to
334         27.7.1.3, p5, actual output is performed by sputc(c).
335
336 2003-02-19  Phil Edwards  <pme@gcc.gnu.org>
337
338         PR libstdc++/9582
339         * include/bits/stl_alloc.h:  Remove all traces of assert().
340
341 2003-02-18  Paolo Carlini  <pcarlini@unitus.it>
342
343         * include/std/std_sstream.h (str()): the size of the
344         current string may be different from the initial one
345         whenever _M_out_end > _M_out_beg.
346         * testsuite/27_io/stringbuf_members.cc (test07): Add.
347
348 2003-02-18  Paolo Carlini  <pcarlini@unitus.it>
349
350         PR libstdc++/9582
351         * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
352
353 2003-02-17  Benjamin Kosnik  <bkoz@redhat.com>
354
355         * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
356         * testsuite/27_io/ios_members.cc (test03): New.
357
358 2003-02-17  Jerry Quinn  <jlquinn@optonline.net>
359
360         * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
361         (basic_ios::_M_cache_facets): Move into above.
362         * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
363         cache.
364         (basic_ios::imbue): Force locale cache to be built.
365         (basic_ios::_M_init): Create and initialize locale cache.
366         * include/bits/ios_base.h (__locale_cache_base): Declare.
367         (ios_base::_M_locale_cache): New.
368         (ios_base::_M_cache): Define.
369         * include/bits/locale_facets.h: (__num_base): Fix comment.  Add
370         _S_end.
371         (__locale_cache_base,__locale_cache<_CharT>):  New classes.
372         (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
373         * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
374         cache literal string, grouping flag, thousands separator.
375         (__locale_cache<_CharT>::__locale_cache): New.
376         (__locale_cache<_CharT>::_M_init): New.
377         * src/ios.cc: Clear _M_locale_cache in constructor.
378         * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
379         New.
380
381 2003-02-17  Paolo Carlini  <pcarlini@unitus.it>
382
383         * src/locale-inst.cc: Do not include <cassert>.
384         * src/locale.cc: Likewise.
385
386 2003-02-17  Paolo Carlini  <pcarlini@unitus.it>
387
388         PR libstdc++/9580
389         * include/std/std_fstream.h: Declare underflow and uflow
390         specializations, change generic definitions to do nothing.
391         * src/fstream.cc: Add underflow and uflow specializations.
392
393 2003-02-17  Paolo Carlini  <pcarlini@unitus.it>
394
395         PR libstdc++/9169
396         * include/bits/fstream.tcc (_M_convert_to_external):
397         Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
398         * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
399
400 2003-02-13  Benjamin Kosnik  <bkoz@redhat.com>
401
402         * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
403         * include/bits/basic_ios.tcc: Guard use of extern template.
404         * include/std/std_iomanip.h: Same.
405         * include/bits/streambuf.tcc: Same.
406         * include/bits/stl_alloc.h: Same.
407         * include/bits/locale_facets.tcc: Same.
408         * include/bits/ostream.tcc: Same.
409         * include/bits/istream.tcc: Same.
410         * include/bits/fstream.tcc: Same.
411         * include/bits/basic_string.tcc: Same.
412
413 2003-02-13  Paolo Carlini  <pcarlini@unitus.it>
414
415         * include/bits/ostream.tcc (sentry::sentry): Improve
416         performance-wise the fix for libstdc++/9563.
417
418 2003-02-12  Phil Edwards  <pme@gcc.gnu.org>
419
420         * config/cpu/generic/atomicity.h (_Atomic_add_mutex):  Fix declaration.
421         (_GLIBCPP_NEED_GENERIC_MUTEX):  Define for this file.
422         (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once):  Declare
423         when we don't have static mutex initialization.
424         (__exchange_and_add):  Use _Atomic_add_mutex_once.
425         * src/misc-inst.cc:  Definitions of all the above.
426
427 2003-02-12  Paolo Carlini  <pcarlini@unitus.it>
428
429         PR libstdc++/9563
430         * include/bits/ostream.tcc (sentry::sentry): Check
431         the state of the stream after the preparation.
432         * testsuite/27_io/ostream_sentry.cc (test02): Add.
433
434 2003-02-11  Benjamin Kosnik  <bkoz@redhat.com>
435
436         * include/Makefile.am (stamp-std-precompile): Add rule.
437         * include/Makefile.in: Regenerated.
438         
439 2003-02-11 Jerry Quinn  <jlquinn@optonline.net>
440            Benjamin Kosnik  <benjamin@redhat.com>
441         
442         * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
443         Add indexes into this array.
444         (__num_base::_S_atoms): To _S_atoms_in.
445         (num_put::_M_insert): Rename to _M_pad.
446         (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
447         (num_put::_M_widen_int): Rename to _M_group_int.
448         (num_put::_M_widen_float): Rename to _M_group_float.    
449         * include/bits/locale_facets.tcc (__int_to_char): New inline
450         function and adapter functions.
451         (num_put::_M_group_int): Streamline.
452         (num_put::_M_group_float): Streamline.  
453         (num_put::_M_convert_int): Remove unused parameter names. Choose
454         large enough buffer for text.  Use __int_to_char instead of
455         __convert_from_v.  Formatted text is now at the end of the buffer.
456         (num_put::_M_convert_float): Preliminary fixups.
457         * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
458         (__int_to_char<unsigned long long>): Same.
459         (__int_to_char<char, unsigned long>): New.
460         (__int_to_char<char, unsigned long long>): New.
461         (__int_to_char<wchar_t, unsigned long>): New.
462         (__int_to_char<wchar_t, unsigned long long>): New.
463         
464 2003-02-11  Scott Snyder  <snyder@fnal.gov>
465
466         PR libstdc++/9659
467         * include/bits/fstream.tcc (seekoff): Avoid operator+
468         for pos_type.
469
470 2003-02-11  Paolo Carlini  <pcarlini@unitus.it>
471
472         PR libstdc++/9320
473         * include/ext/stdio_filebuf.h
474         (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
475         stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
476         Change to take a __size parameter of type size_t, not
477         of type (template parameter dependent) int_type.
478         * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
479         size vars to size_t.
480         * testsuite/ext/stdio_filebuf.cc: Add.
481
482 2003-02-11  Paolo Carlini  <pcarlini@unitus.it>
483             Petur Runolfsson  <peturr02@ru.is>
484
485         PR libstdc++/9318
486         * include/bits/streambuf.tcc (__copy_streambufs):
487         Don't conditionalize the copy to __testput.
488         * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
489
490 2002-02-11  DJ Delorie  <dj@redhat.com>
491
492         * acinclude.m4: Check for native targets that can't link at
493         this point in the build.
494         * aclocal.m4: Regenerate.
495         * configure: Regenerate.
496
497 2003-02-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
498
499         * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
500         Correct alignment.
501         (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
502         lock.
503
504 2003-02-07  Paolo Carlini  <pcarlini@unitus.it>
505
506         * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
507         unsigned char platforms.
508
509 2003-02-06  Paolo Carlini  <pcarlini@unitus.it>
510
511         PR libstdc++/9562
512         * include/std/std_istream.h
513         (basic_istream::sentry::operator bool()): Make const.
514         * include/std/std_ostream.h
515         (basic_ostream::sentry::operator bool()): Likewise.
516         * testsuite/27_io/istream_sentry.cc (test03): Add.
517         * testsuite/27_io/ostream_sentry.cc: Add.
518
519 2003-02-06  Paolo Carlini  <pcarlini@unitus.it>
520
521         PR libstdc++/9548
522         Implement resolution of DR 231 (Ready)
523         * include/bits/locale_facets.h (__num_base::_S_format_float):
524         Change declaration: return void, remove __prec parameter.
525         * src/locale.cc (__num_base::_S_format_float): Implement
526         resolution of DR 231.
527         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
528         Tweak uses. Check for negative precision.
529         * testsuite/22_locale/num_put/put/char/6.cc: Add
530         * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
531
532 2003-02-06  Peter Soetens  <peter.soetens@mech.kuleuven.ac.be>
533
534         * config/io/basic_file_libio.h: Fixups.
535         * config/io/c_io_libio.h: Same.
536         * libio/Makefile.am: Same.
537         * libio/Makefile.in: Regenerated.
538         
539 2003-02-06  Benjamin Kosnik  <bkoz@redhat.com>
540
541         * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
542         Explicitly use the "C" locale.
543         * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
544         
545 2003-02-06  Petur Runolfsson  <peturr02@ru.is>
546
547         DR 75
548         DR 305
549         PR libstdc++/9028 (partial)
550         PR libstdc++/9224
551         PR libstdc++/9246
552         PR libstdc++/9247
553
554         * src/codecvt.cc
555         (codecvt<wchar_t, char, mbstate_t>::do_encoding,
556         codecvt<wchar_t, char, mbstate_t>::do_length,
557         codecvt<wchar_t, char, mbstate_t>::do_max_length):
558         Move...
559         * config/locale/generic/codecvt_members.cc:  ...here.
560         * config/locale/gnu/codecvt_members.cc:  ...and here.
561
562         * config/locale/generic/codecvt_members.cc,
563         * config/locale/gnu/codecvt_members.cc
564         (codecvt<wchar_t, char, mbstate_t>::do_encoding
565         codecvt<wchar_t, char, mbstate_t>::do_in,
566         codecvt<wchar_t, char, mbstate_t>::do_length,
567         codecvt<wchar_t, char, mbstate_t>::do_max_length,
568         codecvt<wchar_t, char, mbstate_t>::do_out):
569         New implementation that handles stateless encodings,
570         including UTF-8.
571
572         * config/locale/generic/codecvt_members.cc,
573         * config/locale/gnu/codecvt_members.cc,
574         * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
575         * include/bits/codecvt.h,
576         * src/codecvt.cc
577         (codecvt::length, codecvt::do_length):
578         Change type of first argument of length and do_length from
579         'const state_type&' to 'state_type&' according to DR 75.
580
581         * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc:  Cleanup.
582         * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc:  New test.
583         * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc:  New test.
584         * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc:  New test.
585         * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
586         Cleanup and check for correct return value from encoding
587         for "C" locale.
588         * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc:  New test.
589         * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc:  New test.
590         * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc:  New test.
591         * testsuite/22_locale/codecvt/in/wchar_t/1.cc:  Cleanup.
592         * testsuite/22_locale/codecvt/in/wchar_t/2.cc:  New test.
593         * testsuite/22_locale/codecvt/in/wchar_t/3.cc:  New test.
594         * testsuite/22_locale/codecvt/in/wchar_t/4.cc:  New test.
595         * testsuite/22_locale/codecvt/in/wchar_t/5.cc:  New test.
596         * testsuite/22_locale/codecvt/in/wchar_t/6.cc:  New test.
597         * testsuite/22_locale/codecvt/in/wchar_t/7.cc:  New test.
598         * testsuite/22_locale/codecvt/in/wchar_t/8.cc:  New test.
599         * testsuite/22_locale/codecvt/in/wchar_t/9.cc:  New test.
600         * testsuite/22_locale/codecvt/length/char/1.cc:  Cleanup.
601         * testsuite/22_locale/codecvt/length/char/2.cc:  New test.
602         * testsuite/22_locale/codecvt/length/wchar_t/1.cc:  Cleanup.
603         * testsuite/22_locale/codecvt/length/wchar_t/2.cc:  New test.
604         * testsuite/22_locale/codecvt/length/wchar_t/3.cc:  New test.
605         * testsuite/22_locale/codecvt/length/wchar_t/4.cc:  New test.
606         * testsuite/22_locale/codecvt/length/wchar_t/5.cc:  New test.
607         * testsuite/22_locale/codecvt/length/wchar_t/6.cc:  New test.
608         * testsuite/22_locale/codecvt/length/wchar_t/7.cc:  New test.
609         * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc:  Cleanup.
610         * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc:  New test.
611         * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc:  New test.
612         * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc:  New test.
613         * testsuite/22_locale/codecvt/out/wchar_t/1.cc:  Cleanup.
614         * testsuite/22_locale/codecvt/out/wchar_t/2.cc:  New test.
615         * testsuite/22_locale/codecvt/out/wchar_t/3.cc:  New test.
616         * testsuite/22_locale/codecvt/out/wchar_t/4.cc:  New test.
617         * testsuite/22_locale/codecvt/out/wchar_t/5.cc:  New test.
618         * testsuite/22_locale/codecvt/out/wchar_t/6.cc:  New test.
619         * testsuite/22_locale/codecvt/out/wchar_t/7.cc:  New test.
620         * testsuite/22_locale/codecvt/unicode/1.cc:  New test.
621         * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc:  Cleanup.
622         * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc:  New test.
623         * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc:  New test.
624         * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc:  New test.
625
626 2003-02-05  Benjamin Kosnik  <bkoz@redhat.com>
627
628         * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
629         (money_put::do_put): Same.
630
631 2003-02-05  Jerry Quinn  <jlquinn@optonline.net>
632
633         * include/bits/ios_base.h (ios_base): Document reserved storage.
634
635         * include/bits/locale_facets.h: (struct __pad): Comment on
636         implementation.
637         (__verify_grouping): Same.
638         (__add_grouping): Same.         
639         * include/bits/locale_facets.tcc (__verify_grouping): Move
640         comments to declaration.
641         (__add_grouping): Same.
642         
643         * include/bits/locale_facets.tcc: 
644         (__write<_CharT, _OutIter>): New function.
645         (__write<_CharT>): New function specialization.
646         (num_put::_M_insert): Remove explicit loop over iterator.  Use
647         __write.
648         (num_put::_M_widen_float): Remove __basefield. 
649         (num_put::_M_widen_int): Move __basefield to within grouping block.
650         
651         * include/bits/streambuf_iterator.h: Include <streambuf>.
652         (ostreambuf_iterator::_M_put): Add.
653
654 2003-02-05  Paolo Carlini  <pcarlini@unitus.it>
655
656         * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
657
658 2003-02-04  Nathan Myers  <ncm@cantrip.org>
659
660         * testsuite/25_algorithms/min_max.cc (test02): Add.
661             
662 2003-02-04  Paolo Carlini  <pcarlini@unitus.it>
663         
664         PR libstdc++/9439, PR libstdc++/9425
665         * config/io/basic_file_stdio.cc
666         (__basic_file<char>::seekoff, seekpos): Return -1L if
667         fseek fails.
668         * include/bits/fstream.tcc (basic_filebuf::seekoff):
669         Check _M_file.seekoff return value; always return
670         pos_type(off_type(-1)) in case of failure.
671         (basic_filebuf::pbackfail): Check this->seekoff return
672         value and return traits_type::eof() in case of failure.  
673         * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
674
675 2003-02-04  Jerry Quinn  <jlquinn@optonline.net>
676
677         * include/std/std_ostream.h (ostream::_M_write): Declare.       
678         * ostream.tcc (ostream::_M_write): Define.
679         (basic_ostream::write): Use it.
680         (operator<<(basic_ostream, _CharT)): Ditto.
681         (operator<<(basic_ostream, char)): Ditto.
682         (operator<<(basic_ostream, _CharT*)): Ditto.
683         (operator<<(basic_ostream, char*)): Ditto.
684         (operator<<(basic_ostream, basic_string)): Ditto.
685
686 2003-02-04  Benjamin Kosnik  <bkoz@redhat.com>
687
688         * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
689
690 2002-02-04  Jonathan Wakely  <redi@gcc.gnu.org>
691
692         * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
693         add HTML comment about updating links if numbering changes.
694
695 2003-02-04  Paolo Carlini  <pcarlini@unitus.it>
696
697         PR libstdc++/9538
698         * include/bits/streambuf.tcc (sputbackc): Access
699         this->gptr()[-1] only if _M_in_beg < _M_in_cur.
700         * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
701
702 2003-02-04  Paolo Carlini  <pcarlini@unitus.it>
703
704         PR libstdc++/9507
705         * include/bits/fstream.tcc (open): If the 'ate' repositioning
706         operation fails, calls close _and_ returns a null pointer
707         to indicate failure (27.8.1.3,4).
708         * testsuite/27_io/filebuf_members.cc (test_06): Add.
709
710 2003-02-04  Petur Runolfsson  <peturr02@ru.is>
711
712         * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
713
714 2002-02-04  Jonathan Wakely  <redi@gcc.gnu.org>
715
716         * docs/html/27_io/howto.html: New section on stdio_filebuf.
717         * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
718         * docs/html/documentation.html: Regenerate.
719
720 2003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
721
722         * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
723         * docs/html/17_intro/porting.html: Regenerate.
724
725 2003-02-03  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
726             Phil Edwards  <pme@gcc.gnu.org>
727
728         * include/std/std_bitset.h:  Replace CHAR_BIT with __CHAR_BIT__, use
729         numeric_limits for bits-per-word values.
730         (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
731         Use __builtin_popcountl instead.
732         (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
733         _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
734         Use __builtin_ctzl instead.
735         (_S_bit_count, _S_first_one):  Remove.
736         * config/linker-map.gnu (GLIBCPP_3.4):  Remove std::_S_bit_count.
737         * src/Makefile.am (sources):  Remove bitset.cc.
738         * src/bitset.cc:  Delete file.
739         * src/Makefile.in:  Regenerate.
740
741 2003-02-03  Phil Edwards  <pme@gcc.gnu.org>
742
743         PR libstdc++/9527, PR libstdc++/8713
744         * docs/html/install.html:  Mention glibc version requirement.
745         * docs/html/faq/index.html (3.8):  New note, glibc 2.2.5+ is needed
746         with 3.2.1+ (formatting bugfixes).
747         * docs/html/faq/index.txt:  Regenerate.
748
749 2003-02-03  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
750
751         PR libstdc++/9234
752         * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
753         operator.
754
755         * include/bits/valarray_before.h (__not_equal_to): Use != instead
756         of ==.
757
758         * testsuite/26_numerics/valarray_operators.cc: New test.
759
760 2003-02-01  Phil Edwards  <pme@gcc.gnu.org>
761
762         * docs/html/faq/index.html:  Correct link to libg++ information.
763         * docs/html/faq/index.txt:  Regenerated.
764
765 2003-02-01  Paolo Carlini  <pcarlini@unitus.it>
766             Benjamin Kosnik  <bkoz@redhat.com>
767
768         Const correctness issue:
769         http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
770         * include/bits/locale_classes.h
771         (locale::_Impl::_M_facets): Change type to const facet**.
772         (locale::_Impl::_M_install_facet): Change declaration to
773         take const facet*.
774         (locale::facet::_M_references): Make mutable.
775         (locale::facet::_M_add_reference): Declare const.
776         (locale::facet::_M_remove_reference): Likewise.
777         * include/bits/locale_facets.tcc
778         (use_facet(const locale&)): Tweak for const facet** _M_facets.
779         (has_facet(const locale&)): Likewise.
780         * src/locale.cc
781         (locale::facet::_M_add_reference): Adjust definition.
782         (locale::facet::_M_remove_reference): Likewise.
783         * src/localename.cc
784         (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
785         const facet** _M_facets.
786         (locale::_Impl::_Impl(const char*, size_t)): Likewise.
787         (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
788         (locale::_Impl::_M_install_facet): Adjust definition to take
789         const facet* and for const facet** _M_facets.
790         * testsuite/22_locale/locale/cons/8.cc: Add.
791
792 2003-01-29  Mark Mitchell  <mark@codesourcery.com>
793
794         * include/std/std_limits.h (numeric_limits<float>::has_infinity):
795         Use __FLT_HAS_INIFINITY__ to initialize.
796         (numeric_limits<float>::has_quiet_NaN): Likewise.
797         (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
798         to initialize.
799         (numeric_limits<double>::has_quiet_NaN): Likewise.
800         (numeric_limits<long double>::has_infinity): Use
801         __LDBL_HAS_INIFINITY__ to initialize.
802         (numeric_limits<long_double>::has_quiet_NaN): Likewise.
803
804 2003-01-28  Nathan Sidwell  <nathan@codesourcery.com>
805
806         PR c++/9433
807         * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
808         with bases which are very ambiguous.
809
810 2003-01-28  Danny Smith  <dannysmith@users.sourceforge.net>
811
812         * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
813         @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
814         * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
815         * src/Makefile.in: Regenerate.
816         * libsupc++/Makefile.in: Regenerate.
817
818 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
819
820         * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
821         $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
822         version_specific_libs is enabled.
823         * aclocal.m4, configure: Rebuilt.
824
825 2003-01-24  Nathan Sidwell  <nathan@codesourcery.com>
826
827         * include/bits/valarray_meta.h: Remove, split into ...
828         * include/bits/valarray_before.h: ... this, and ...
829         * include/bits/valarray_after.h: ... this.
830         * include/std/std_valarray.h: Adjust.
831         * include/Makefile.am (bits_headers): Adjust.
832         * include/Makefile.in: Regenerate.
833
834 2003-01-24  Andreas Schwab  <schwab@suse.de>
835
836         * config/linker-map.gnu: Fix for size_t variance.
837
838 2003-01-23  Petur Runolfsson  <peturr02@ru.is>
839
840         PR libstdc++/9322
841         * include/std/std_streambuf.h
842         (basic_streambuf::basic_streambuf,
843         basic_streambuf::~basic_streambuf,
844         basic_streambuf::getloc, basic_streambuf::imbue):
845         Remove _M_buf_locale_init
846         * include/bits/fstream.tcc (basic_filebuf::imbue):  Likewise
847         * testsuite/27_io/filebuf_virtuals.cc (test08):  Add.
848         * testsuite/27_io/streambuf_members.cc (test08):  Add.
849         * testsuite/27_io/stringbuf_virtuals.cc (test08):  Add.
850
851 2003-01-23  Benjamin Kosnik  <bkoz@redhat.com>
852
853         Revert include ordering.
854         * config/locale/generic/c_locale.h: Add include guards.
855         * config/locale/gnu/c_locale.h: Same.
856         * include/bits/locale_classes.h: Remove cctype include.
857         * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
858         * include/std/std_fstream.h: Remove streambuf include.
859         * include/std/std_sstream.h: Remove streambuf include.
860         
861 2003-01-23  Benjamin Kosnik  <bkoz@redhat.com>
862
863         * configure.in (libtool_VERSION): To 6:0:0.
864         * configure: Regenerated.
865         * config/linker-map.gnu: Clean.
866         
867         * src/misc-inst.cc: Remove instantiations.
868
869         * include/bits/stl_alloc.h (__malloc_alloc_template): 
870         To __malloc_alloc.
871         (__default_alloc_template): To __pool_alloc.
872         * src/stl-inst.cc: Same.
873         * include/backward/alloc.h: Update.
874         * testsuite/ext/allocators.cc: Update.
875         
876         * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
877         really try to remove these if possible.
878         * src/locale.cc (std): Same.
879
880         * testsuite/abi_check.cc (check_version): Add.
881
882 2003-01-22  Benjamin Kosnik  <bkoz@redhat.com>
883             Sysoltsev Slawa  <Vyatcheslav.Sysoltsev@intel.com>
884             Mark Mitchell  <mark@codesourcery.com>
885         
886         PR libstdc++/9269
887         * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
888         (basic_filebuf::underflow): Declare.
889         Move definitions.
890
891 2003-01-22  Benjamin Kosnik  <bkoz@redhat.com>
892
893         * include/bits/locale_facets.h: Move non-facet classes requiring
894         <string> to...  
895         * include/bits/locale_classes.h: New.  
896         * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
897         * include/bits/Makefile.in: Regenerate.
898
899         * include/bits/locale_facets.tcc (__convert_from_v): Move to...
900         * config/locale/gnu/c_locale.h: ...here.
901         * config/locale/generic/c_locale.h: Same.
902         
903         * include/bits/locale_facets.tcc: Move declarations to...
904         * include/bits/locale_facets.h: ...here.
905         * include/bits/basic_ios.h: Tweak includes accordingly.
906         * include/std/std_sstream.h: Add streambuf include.
907         * include/std/std_fstream.h: Ditto.
908         * include/std/std_locale.h: Add locale_classes.h include.
909         * include/std/std_iosfwd.h: Tweak.
910         * src/concept-inst.cc: Add iterator include.
911
912         * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
913         bits as unexported in the future.
914         
915 2003-01-21  Benjamin Kosnik  <bkoz@redhat.com>
916
917         Reshuffle 22_locale testsuite.
918         * 22_locale/(codecvt.cc money_get.cc
919         codecvt_members_char_char.cc money_get_members_char.cc
920         codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
921         codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
922         codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
923         moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
924         collate_members_char.cc money_put.cc collate_members_wchar_t.cc
925         money_put_members_char.cc ctor_copy_dtor.cc
926         money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
927         num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
928         ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
929         numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
930         ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
931         num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
932         ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
933         operators.cc ctype_widen_char.cc static_members.cc
934         ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
935         global_templates.cc time_get_members_wchar_t.cc, members.cc,
936         time_put.cc, messages_byname.cc, time_put_members_char.cc,
937         messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc): 
938         Splint up into individual test cases... 
939         * 22_locale/codecvt/1.cc: New.
940         * 22_locale/codecvt/2.cc: New.
941         * 22_locale/codecvt/always_noconv/char/1.cc: New.
942         * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
943         * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
944         * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
945         * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
946         * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
947         * 22_locale/codecvt/encoding/char/1.cc: New.
948         * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
949         * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
950         * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
951         * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
952         * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
953         * 22_locale/codecvt/in/char/1.cc: New.
954         * 22_locale/codecvt/in/char/wrapped_env.cc: New.
955         * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
956         * 22_locale/codecvt/in/wchar_t/1.cc: New.
957         * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
958         * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
959         * 22_locale/codecvt/length/char/1.cc: New.
960         * 22_locale/codecvt/length/char/wrapped_env.cc: New.
961         * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
962         * 22_locale/codecvt/length/wchar_t/1.cc: New.
963         * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
964         * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
965         * 22_locale/codecvt/max_length/char/1.cc: New.
966         * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
967         * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
968         * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
969         * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
970         * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
971         * 22_locale/codecvt/out/char/1.cc: New.
972         * 22_locale/codecvt/out/char/wrapped_env.cc: New.
973         * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
974         * 22_locale/codecvt/out/wchar_t/1.cc: New.
975         * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
976         * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
977         * 22_locale/codecvt/unicode/char.cc: New.
978         * 22_locale/codecvt/unicode/wchar_t.cc: New.
979         * 22_locale/codecvt/unshift/char/1.cc: New.
980         * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
981         * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
982         * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
983         * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
984         * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
985         * 22_locale/collate/1.cc: New.
986         * 22_locale/collate/2.cc: New.
987         * 22_locale/collate/compare/char/1.cc: New.
988         * 22_locale/collate/compare/char/2.cc: New.
989         * 22_locale/collate/compare/char/wrapped_env.cc: New.
990         * 22_locale/collate/compare/char/wrapped_locale.cc: New.
991         * 22_locale/collate/compare/wchar_t/1.cc: New.
992         * 22_locale/collate/compare/wchar_t/2.cc: New.
993         * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
994         * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
995         * 22_locale/collate/hash/char/1.cc: New.
996         * 22_locale/collate/hash/char/2.cc: New.
997         * 22_locale/collate/hash/char/wrapped_env.cc: New.
998         * 22_locale/collate/hash/char/wrapped_locale.cc: New.
999         * 22_locale/collate/hash/wchar_t/1.cc: New.
1000         * 22_locale/collate/hash/wchar_t/2.cc: New.
1001         * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
1002         * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
1003         * 22_locale/collate/transform/char/2.cc: New.
1004         * 22_locale/collate/transform/char/wrapped_env.cc: New.
1005         * 22_locale/collate/transform/char/wrapped_locale.cc: New.
1006         * 22_locale/collate/transform/wchar_t/2.cc: New.
1007         * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
1008         * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
1009         * 22_locale/collate_byname/1.cc: New.
1010         * 22_locale/ctype/1.cc: New.
1011         * 22_locale/ctype/2.cc: New.
1012         * 22_locale/ctype/cons/char/1.cc: New.
1013         * 22_locale/ctype/cons/char/wrapped_env.cc: New.
1014         * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
1015         * 22_locale/ctype/is/char/1.cc: New.
1016         * 22_locale/ctype/is/char/2.cc: New.
1017         * 22_locale/ctype/is/char/3.cc: New.
1018         * 22_locale/ctype/is/char/wrapped_env.cc: New.
1019         * 22_locale/ctype/is/char/wrapped_locale.cc: New.
1020         * 22_locale/ctype/is/wchar_t/1.cc: New.
1021         * 22_locale/ctype/is/wchar_t/2.cc: New.
1022         * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
1023         * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
1024         * 22_locale/ctype/narrow/char/1.cc: New.
1025         * 22_locale/ctype/narrow/char/2.cc: New.
1026         * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
1027         * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
1028         * 22_locale/ctype/narrow/wchar_t/1.cc: New.
1029         * 22_locale/ctype/narrow/wchar_t/2.cc: New.
1030         * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
1031         * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
1032         * 22_locale/ctype/scan/char/1.cc: New.
1033         * 22_locale/ctype/scan/char/wrapped_env.cc: New.
1034         * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
1035         * 22_locale/ctype/scan/wchar_t/1.cc: New.
1036         * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
1037         * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
1038         * 22_locale/ctype/to/char/1.cc: New.
1039         * 22_locale/ctype/to/char/wrapped_env.cc: New.
1040         * 22_locale/ctype/to/char/wrapped_locale.cc: New.
1041         * 22_locale/ctype/to/wchar_t/1.cc: New.
1042         * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
1043         * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
1044         * 22_locale/ctype/widen/char/1.cc: New.
1045         * 22_locale/ctype/widen/char/wrapped_env.cc: New.
1046         * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
1047         * 22_locale/ctype/widen/wchar_t/1.cc: New.
1048         * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
1049         * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
1050         * 22_locale/facet/1.cc: New.
1051         * 22_locale/facet/2.cc: New.
1052         * 22_locale/global_templates/1.cc: New.
1053         * 22_locale/locale/cons/1.cc: New.
1054         * 22_locale/locale/cons/2.cc: New.
1055         * 22_locale/locale/cons/3.cc: New.
1056         * 22_locale/locale/cons/4.cc: New.
1057         * 22_locale/locale/cons/5.cc: New.
1058         * 22_locale/locale/cons/6.cc: New.
1059         * 22_locale/locale/cons/7.cc: New.
1060         * 22_locale/locale/global_locale_objects/1.cc: New.
1061         * 22_locale/locale/global_locale_objects/2.cc: New.
1062         * 22_locale/locale/global_locale_objects/3.cc: New.
1063         * 22_locale/locale/operations/1.cc: New.
1064         * 22_locale/locale/operations/2.cc: New.
1065         * 22_locale/messages/1.cc: New.
1066         * 22_locale/messages/2.cc: New.
1067         * 22_locale/messages/members/char/1.cc: New.
1068         * 22_locale/messages/members/char/2.cc: New.
1069         * 22_locale/messages/members/char/3.cc: New.
1070         * 22_locale/messages/members/char/wrapped_env.cc: New.
1071         * 22_locale/messages/members/char/wrapped_locale.cc: New.
1072         * 22_locale/messages_byname/1.cc: New.
1073         * 22_locale/money_get/1.cc: New.
1074         * 22_locale/money_get/2.cc: New.
1075         * 22_locale/money_get/get/char/1.cc: New.
1076         * 22_locale/money_get/get/char/2.cc: New.
1077         * 22_locale/money_get/get/char/3.cc: New.
1078         * 22_locale/money_get/get/char/4.cc: New.
1079         * 22_locale/money_get/get/char/5.cc: New.
1080         * 22_locale/money_get/get/char/6.cc: New.
1081         * 22_locale/money_get/get/char/7.cc: New.
1082         * 22_locale/money_get/get/char/8.cc: New.
1083         * 22_locale/money_get/get/char/wrapped_env.cc: New.
1084         * 22_locale/money_get/get/char/wrapped_locale.cc: New.
1085         * 22_locale/money_get/get/wchar_t/1.cc: New.
1086         * 22_locale/money_get/get/wchar_t/2.cc: New.
1087         * 22_locale/money_get/get/wchar_t/3.cc: New.
1088         * 22_locale/money_get/get/wchar_t/4.cc: New.
1089         * 22_locale/money_get/get/wchar_t/5.cc: New.
1090         * 22_locale/money_get/get/wchar_t/6.cc: New.
1091         * 22_locale/money_get/get/wchar_t/7.cc: New.
1092         * 22_locale/money_get/get/wchar_t/8.cc: New.
1093         * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
1094         * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
1095         * 22_locale/money_put/1.cc: New.
1096         * 22_locale/money_put/2.cc: New.
1097         * 22_locale/money_put/put/char/1.cc: New.
1098         * 22_locale/money_put/put/char/2.cc: New.
1099         * 22_locale/money_put/put/char/3.cc: New.
1100         * 22_locale/money_put/put/char/4.cc: New.
1101         * 22_locale/money_put/put/char/5.cc: New.
1102         * 22_locale/money_put/put/char/6.cc: New.
1103         * 22_locale/money_put/put/char/wrapped_env.cc: New.
1104         * 22_locale/money_put/put/char/wrapped_locale.cc: New.
1105         * 22_locale/money_put/put/wchar_t/1.cc: New.
1106         * 22_locale/money_put/put/wchar_t/2.cc: New.
1107         * 22_locale/money_put/put/wchar_t/3.cc: New.
1108         * 22_locale/money_put/put/wchar_t/4.cc: New.
1109         * 22_locale/money_put/put/wchar_t/5.cc: New.
1110         * 22_locale/money_put/put/wchar_t/6.cc: New.
1111         * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
1112         * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
1113         * 22_locale/moneypunct/1.cc: New.
1114         * 22_locale/moneypunct/2.cc: New.
1115         * 22_locale/moneypunct/3.cc: New.
1116         * 22_locale/moneypunct/members/char/1.cc: New.
1117         * 22_locale/moneypunct/members/char/2.cc: New.
1118         * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
1119         * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
1120         * 22_locale/moneypunct/members/wchar_t/1.cc: New.
1121         * 22_locale/moneypunct/members/wchar_t/2.cc: New.
1122         * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
1123         * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
1124         * 22_locale/moneypunct_byname/1.cc: New.
1125         * 22_locale/num_get/1.cc: New.
1126         * 22_locale/num_get/2.cc: New.
1127         * 22_locale/num_get/get/char/1.cc: New.
1128         * 22_locale/num_get/get/char/2.cc: New.
1129         * 22_locale/num_get/get/char/3.cc: New.
1130         * 22_locale/num_get/get/char/4.cc: New.
1131         * 22_locale/num_get/get/char/5.cc: New.
1132         * 22_locale/num_get/get/char/6.cc: New.
1133         * 22_locale/num_get/get/char/wrapped_env.cc: New.
1134         * 22_locale/num_get/get/char/wrapped_locale.cc: New.
1135         * 22_locale/num_get/get/wchar_t/1.cc: New.
1136         * 22_locale/num_get/get/wchar_t/2.cc: New.
1137         * 22_locale/num_get/get/wchar_t/3.cc: New.
1138         * 22_locale/num_get/get/wchar_t/4.cc: New.
1139         * 22_locale/num_get/get/wchar_t/5.cc: New.
1140         * 22_locale/num_get/get/wchar_t/6.cc: New.
1141         * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
1142         * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
1143         * 22_locale/num_put/1.cc: New.
1144         * 22_locale/num_put/2.cc: New.
1145         * 22_locale/num_put/put/char/1.cc: New.
1146         * 22_locale/num_put/put/char/2.cc: New.
1147         * 22_locale/num_put/put/char/3.cc: New.
1148         * 22_locale/num_put/put/char/4.cc: New.
1149         * 22_locale/num_put/put/char/5.cc: New.
1150         * 22_locale/num_put/put/char/wrapped_env.cc: New.
1151         * 22_locale/num_put/put/char/wrapped_locale.cc: New.
1152         * 22_locale/num_put/put/wchar_t/1.cc: New.
1153         * 22_locale/num_put/put/wchar_t/2.cc: New.
1154         * 22_locale/num_put/put/wchar_t/3.cc: New.
1155         * 22_locale/num_put/put/wchar_t/4.cc: New.
1156         * 22_locale/num_put/put/wchar_t/5.cc: New.
1157         * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
1158         * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
1159         * 22_locale/numpunct/1.cc: New.
1160         * 22_locale/numpunct/2.cc: New.
1161         * 22_locale/numpunct/members/char/1.cc: New.
1162         * 22_locale/numpunct/members/char/2.cc: New.
1163         * 22_locale/numpunct/members/char/wrapped_env.cc: New.
1164         * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
1165         * 22_locale/numpunct/members/wchar_t/1.cc: New.
1166         * 22_locale/numpunct/members/wchar_t/2.cc: New.
1167         * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
1168         * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
1169         * 22_locale/numpunct_byname/1.cc: New.
1170         * 22_locale/numpunct_byname/2.cc: New.
1171         * 22_locale/time_get/1.cc: New.
1172         * 22_locale/time_get/2.cc: New.
1173         * 22_locale/time_get/date_order/char/1.cc: New.
1174         * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
1175         * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
1176         * 22_locale/time_get/date_order/wchar_t/1.cc: New.
1177         * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
1178         * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
1179         * 22_locale/time_get/get_date/char/1.cc: New.
1180         * 22_locale/time_get/get_date/char/2.cc: New.
1181         * 22_locale/time_get/get_date/char/3.cc: New.
1182         * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
1183         * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
1184         * 22_locale/time_get/get_date/wchar_t/1.cc: New.
1185         * 22_locale/time_get/get_date/wchar_t/2.cc: New.
1186         * 22_locale/time_get/get_date/wchar_t/3.cc: New.
1187         * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
1188         * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
1189         * 22_locale/time_get/get_monthname/char/1.cc: New.
1190         * 22_locale/time_get/get_monthname/char/2.cc: New.
1191         * 22_locale/time_get/get_monthname/char/3.cc: New.
1192         * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
1193         * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
1194         * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
1195         * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
1196         * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
1197         * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
1198         * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
1199         * 22_locale/time_get/get_time/char/1.cc: New.
1200         * 22_locale/time_get/get_time/char/2.cc: New.
1201         * 22_locale/time_get/get_time/char/3.cc: New.
1202         * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
1203         * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
1204         * 22_locale/time_get/get_time/wchar_t/1.cc: New.
1205         * 22_locale/time_get/get_time/wchar_t/2.cc: New.
1206         * 22_locale/time_get/get_time/wchar_t/3.cc: New.
1207         * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
1208         * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
1209         * 22_locale/time_get/get_weekday/char/1.cc: New.
1210         * 22_locale/time_get/get_weekday/char/2.cc: New.
1211         * 22_locale/time_get/get_weekday/char/3.cc: New.
1212         * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
1213         * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
1214         * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
1215         * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
1216         * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
1217         * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
1218         * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
1219         * 22_locale/time_get/get_year/char/1.cc: New.
1220         * 22_locale/time_get/get_year/char/3.cc: New.
1221         * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
1222         * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
1223         * 22_locale/time_get/get_year/wchar_t/1.cc: New.
1224         * 22_locale/time_get/get_year/wchar_t/3.cc: New.
1225         * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
1226         * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
1227         * 22_locale/time_put/1.cc: New.
1228         * 22_locale/time_put/2.cc: New.
1229         * 22_locale/time_put/put/char/1.cc: New.
1230         * 22_locale/time_put/put/char/10.cc: New.
1231         * 22_locale/time_put/put/char/2.cc: New.
1232         * 22_locale/time_put/put/char/3.cc: New.
1233         * 22_locale/time_put/put/char/4.cc: New.
1234         * 22_locale/time_put/put/char/5.cc: New.
1235         * 22_locale/time_put/put/char/6.cc: New.
1236         * 22_locale/time_put/put/char/7.cc: New.
1237         * 22_locale/time_put/put/char/8.cc: New.
1238         * 22_locale/time_put/put/char/9.cc: New.
1239         * 22_locale/time_put/put/char/wrapped_env.cc: New.
1240         * 22_locale/time_put/put/char/wrapped_locale.cc: New.
1241         * 22_locale/time_put/put/wchar_t/1.cc: New.
1242         * 22_locale/time_put/put/wchar_t/10.cc: New.
1243         * 22_locale/time_put/put/wchar_t/2.cc: New.
1244         * 22_locale/time_put/put/wchar_t/3.cc: New.
1245         * 22_locale/time_put/put/wchar_t/4.cc: New.
1246         * 22_locale/time_put/put/wchar_t/5.cc: New.
1247         * 22_locale/time_put/put/wchar_t/6.cc: New.
1248         * 22_locale/time_put/put/wchar_t/7.cc: New.
1249         * 22_locale/time_put/put/wchar_t/8.cc: New.
1250         * 22_locale/time_put/put/wchar_t/9.cc: New.
1251         * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
1252         * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
1253
1254 2003-01-16  Jeffrey D. Oldham  <oldham@codesourcery.com>
1255
1256         * config/locale/generic/messages_members.h
1257         (messages_byname<_CharT>::messages_byname): Use this-> to refer to
1258         unqualified members of base clasess.
1259
1260 2003-01-16  Mark Mitchell  <mark@codesourcery.com>
1261             Jeffrey Oldham <oldham@codesourcery.com>
1262         
1263         * config/locale/gnu/messages_members.h: Use this-> to refer to
1264         unqualified members of base clasess.
1265         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
1266         * include/bits/codecvt.h: Likewise.
1267         * include/bits/deque.tcc: Likewise.
1268         * include/bits/fstream.tcc: Likewise.
1269         * include/bits/istream.tcc: Likewise.
1270         * include/bits/list.tcc: Likewise.
1271         * include/bits/locale_facets.h: Likewise.
1272         * include/bits/ostream.tcc: Likewise.
1273         * include/bits/sstream.tcc: Likewise.
1274         * include/bits/stl_bvector.h: Likewise.
1275         * include/bits/stl_deque.h: Likewise.
1276         * include/bits/stl_list.h: Likewise.
1277         * include/bits/stl_tree.h: Likewise.
1278         * include/bits/stl_vector.h: Likewise.
1279         * include/bits/vector.tcc: Likewise.
1280         * include/ext/ropeimpl.h: Likewise.
1281         * include/ext/stdio_filebuf.h: Likewise.
1282         * include/ext/stl_rope.h: Likewise.
1283         * include/std/std_fstream.h: Likewise.
1284         * include/std/std_sstream.h: Likewise.
1285         
1286 2003-01-15  Phil Edwards  <pme@gcc.gnu.org>
1287
1288         * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
1289
1290 2003-01-15  Benjamin Kosnik  <bkoz@redhat.com>
1291
1292         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
1293         GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
1294         * aclocal.m4: Regenerate.
1295         * configure: Regenerate.
1296         * testsuite/Makefile.am (all-local): Add conditional rule to
1297         generate testsuite_wchar_t.
1298         * testsuite/Makefile.in: Regenerate.
1299         * testsuite/lib/libstdc++-v3-dg.exp
1300         (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
1301         testsuite_wchar_t is not present in the build directory.
1302         * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
1303         Remove setulimit bits.
1304         * testsuite/26_numerics/complex_value.cc: Set to noopts.
1305         * testsuite/Makefile.am (CLEANFILES): Add.
1306         * testsuite/Makefile.in: Regenerate.    
1307         
1308 2003-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1309
1310         * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
1311         __hppa__.
1312
1313 2003-01-14  Jeffrey D. Oldham  <oldham@codesourcery.com>
1314
1315         Further conform g++'s __vmi_class_type_info to the C++ ABI
1316         specification.
1317         * libsupc++/cxxabi.h
1318         (__vmi_class_type_info::__flags_masks): Remove enumerations not
1319         required by the specification.
1320
1321 2003-01-12  Benjamin Kosnik  <bkoz@redhat.com>
1322
1323         Renames, namespaces for testsuite utilities.    
1324         * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
1325         (gnu_allocator_tracker): Rename to allocation_tracker.
1326         (gnu_new_allocator): Rename to tracker_alloc.
1327         (__set_testsuite_memlimit): Rename to set_memory_limits.
1328         (gnu_assignment_operator): Rename to assignment_operator.
1329         (gnu_destructor): Rename to destructor.
1330         (gnu_copy_tracker): Rename to copy_tracker.
1331         (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
1332         (run_tests_wrapped_locale): New.
1333         (run_tests_wrapped_env): New.
1334         * testsuite/testsuite_hooks.cc: Same.
1335         (class locale_data): Add.
1336         (class enviornment_variable): Add.
1337         (class not_found): Add.
1338         * testsuite/testsuite_allocator.h: Same.
1339         * testsuite/testsuite_allocator.cc: Same.
1340         * testsuite/23_containers/deque_ctor.cc
1341         (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
1342         allocation_tracker. 
1343         Change gnu_new_allocator to tracker_alloc.
1344         Change gnu_counting_struct to counter.
1345         Change gnu_copy_tracker to copy_tracker.
1346         Change gnu_copy_constructor to copy_constructor.
1347         Change gnu_assignment_operator to assignment_operator.  
1348         Inject.
1349         * testsuite/23_containers/vector_capacity.cc: Same.
1350         * testsuite/23_containers/vector_ctor.cc (test01): Same.
1351         * testsuite/23_containers/list_modifiers.cc: Change
1352         gnu_copy_tracker to copy_tracker.
1353         * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
1354         __set_testsuite_memlimit to set_memory_limits.
1355         * testsuite/21_strings/insert.cc (main): Same.
1356         * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
1357         * testsuite/27_io/stringstream.cc: Same.
1358         * testsuite/27_io/stringbuf.cc: Same.
1359         * testsuite/27_io/streambuf.cc: Same.
1360         * testsuite/27_io/ostream.cc: Same.
1361         * testsuite/27_io/istream.cc: Same.
1362         * testsuite/27_io/fstream.cc: Same.
1363         * testsuite/lib/libstdc++-v3-dg.exp
1364         (libstdc++-v3-list-sourcefiles): Additionally handle files two and
1365         three levels deeper in glob patterns.
1366
1367 2003-01-11  Phil Edwards  <pme@gcc.gnu.org>
1368
1369         * docs/doxygen/tables.html:  Finished now.
1370         * docs/doxygen/user.cfg.in:  Update to latest version of Doxygen.
1371         * include/bits/basic_ios.h (basic_ios::rdbuf):  Add example to
1372         comments.
1373
1374         * include/bits/deque.tcc, include/bits/stl_alloc.h,
1375         include/bits/stl_deque.h, include/bits/stl_list.h,
1376         include/bits/stl_vector.h:  Remove _GLIBCPP_DEPRECATED bits scheduled
1377         for 3.4 removal.
1378
1379 2003-01-09  Benjamin Kosnik  <bkoz@redhat.com>
1380
1381         * configure.in: Revert.
1382         * configure: Regenerate.
1383
1384 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
1385
1386         * include/Makefile.am (install-data-local): Prepend
1387         $(DESTDIR) to destination paths in all (un)installation
1388         commands.  Use ${c_base_builddir} and ${std_builddir}
1389         as destination subdirectories to achieve consistency with
1390         preceding mkinstalldirs commands.  No effect because both
1391         variables contain "." only.
1392         * include/Makefile.in: Regenerate.
1393
1394 2003-01-08  Benjamin Kosnik  <bkoz@redhat.com>
1395
1396         * include/Makefile.am (stamp-*): Add checks for existing stamps.
1397         * include/Makefile.in: Regenerate.
1398
1399         * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
1400         * aclocal.m4: Regenerate.
1401
1402         * configure.in: Don't add new multi-do rules every time the
1403         directory is reconfigured.
1404         * configure: Regenerate.
1405         
1406 2003-01-08  Brad Spencer  <spencer@infointeractive.com>
1407             Nathan Myers  <ncm@cantrip.org>
1408         
1409         * src/Makefile.am (stamp-debug): Clean.
1410         * src/Makefile.in: Regenerate.
1411         
1412 2003-01-07  Benjamin Kosnik  <bkoz@redhat.com>
1413
1414         PR libstdc++/8707
1415         * Makefile.am (distclean-multi): Fix.
1416         * Makefile.in: Regenerate.
1417         
1418 2003-01-06  Benjamin Kosnik  <bkoz@redhat.com>
1419
1420         * include/bits/locale_facets.h (messages): Move ctor, dtor
1421         definitions to..
1422         (__timepunct): Same.
1423         * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
1424         definitions. Conditionalize for GNU systems.
1425         * config/locale/generic/messages_members.h (messages): Add dtor, ctor
1426         definitions.
1427         * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
1428         definitions. Conditionalize for GNU systems.
1429         * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
1430         definitions.
1431         * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
1432         * src/locale.cc: Define.
1433         * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
1434         Use it.
1435         * config/locale/gnu/time_members.h: Use it.
1436         * config/locale/gnu/messages_members.h: Use it.
1437         * config/linker-map.gnu: Add locale::facets details.    
1438         * include/Makefile.am (target_headers_extra): Add time_members.h.
1439         * include/Makefile.in: Regenerate.
1440         * acinclude.m4: Export CTIME_H.
1441         * aclocal.m4: Regenerate.
1442         * configure: Regnerate.
1443
1444 2003-01-06  Paolo Carlini  <pcarlini@unitus.it>
1445
1446         * src/codecvt.cc
1447         (codecvt<char, char, mbstate_t>::do_in, do_out):
1448         Tweak parameters to avoid unused parameter warnings.
1449
1450 2003-01-06  Paolo Carlini  <pcarlini@unitus.it>
1451
1452         PR libstdc++/9151
1453         * include/bits/locale_facets.cc (num_put::_M_convert_float):
1454         Limit __prec to digits10 + 2, not digits10 + 1, taking into
1455         account the possibility of %{g,G} conversion specifiers
1456         inside _S_format_float.
1457         * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
1458
1459 2003-01-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1460
1461         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
1462         libstdc++-v3-list-sourcefiles): Additionally handle files one
1463         level deeper in glob patterns.
1464         
1465         * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
1466         * testsuite/27_io/istream_extractor_arith/01.cc,
1467         testsuite/27_io/istream_extractor_arith/02.cc,
1468         testsuite/27_io/istream_extractor_arith/03.cc,
1469         testsuite/27_io/istream_extractor_arith/06.cc,
1470         testsuite/27_io/istream_extractor_arith/07.cc,
1471         testsuite/27_io/istream_extractor_arith/08.cc,
1472         testsuite/27_io/istream_extractor_arith/09.cc,
1473         testsuite/27_io/istream_extractor_arith/10.cc,
1474         testsuite/27_io/istream_extractor_arith/11.cc,
1475         testsuite/27_io/istream_extractor_arith/12.cc,
1476         testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
1477         * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
1478         sparc*-*-solaris2*.
1479
1480 2003-01-05  Paolo Carlini <pcarlini@unitus.it>
1481
1482         PR libstdc++/9168
1483         * src/codecvt.cc
1484         (codecvt<char, char, mbstate_t>::do_in, do_out):
1485         Implement the resolution of DR19 (TC).
1486         * testsuite/22_locale/codecvt_members_char_char.cc
1487         (test01): Tweak.
1488
1489 2003-01-02  Jason Merrill  <jason@redhat.com>
1490
1491         * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
1492         *__mem is also an output.
1493         * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.