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