1 2003-05-06 Michael Ritzert <Ritzert@t-online.de>
2 Matt Kraai <kraai@alumni.cmu.edu>
4 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
7 2003-05-06 Richard Sandiford <rsandifo@redhat.com>
9 * configure.target (mips*): Use the generic atomicity.h by default.
11 2003-05-05 Loren J. Rittle <ljrittle@acm.org>
12 (Inspired by an alternate patch from Danny Smith.)
14 * include/bits/stl_threads.h (_Atomic_swap): Kill it...
15 (_Swap_lock_struct<>): ...and the horse it rode in on.
16 * src/globals.cc (_Swap_lock_struct<>): Likewise.
17 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New
19 * include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory
20 visibility rules related to POSIX threads.
21 * testsuite/thread/pthread7-rope.cc: New test.
23 2003-05-04 Paolo Carlini <pcarlini@unitus.it>
25 * testsuite/21_strings/basic_string/find/char/3.cc: New
26 file, testing basic_string<char>::find_first_not_of.
27 * testsuite/21_strings/basic_string/find/wchar_t/3.cc:
28 Likewise for basic_string<wchar_t>.
30 2003-05-03 Loren J. Rittle <ljrittle@acm.org>
32 * testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
34 2003-05-02 Benjamin Kosnik <bkoz@redhat.com>
36 * include/Makefile.am (CLEANFILES): Remove PCH files in target
38 * include/Makefile.in: Regenerate.
40 2003-05-02 Paolo Carlini <pcarlini@unitus.it>
42 * include/std/std_sstream.h (str()): Tidy.
44 2003-05-02 Nathan Myers <ncm@cantrip.org>
45 Paolo Carlini <pcarlini@unitus.it>
47 * include/bits/streambuf.tcc (__copy_streambufs): Rewrote.
49 2003-05-02 Jonathan Wakely <redi@gcc.gnu.org>
51 * include/bits/basic_string.h (swap): Remove redundant template
52 parameters from declaration of non-template member function.
54 2003-05-01 Phil Edwards <pme@gcc.gnu.org>
56 * acconfig.h (_GLIBCPP_USE_NLS): New symbol.
57 * configure.in: Move libintl.h header test...
58 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): ...to here. Gather all
59 the NLS-related test results into one symbol.
60 * src/functexcept.cc: Use it here.
61 * aclocal.m4, config.h.in, configure: Regenerated.
63 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
65 * include/bits/sstream.tcc (overflow): Instead of calling
66 str(), then _M_string.reserve, thus copying the contents
67 of the current buffer two times, just copy the latter in
68 a temporary, then use the 'swap trick'.
70 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
72 * include/std/std_sstream.h (str()): Revert the best of the
73 previous 'improvement', incorrect due to the COW nature of
74 v3 basic_string; simplify.
76 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
78 * include/bits/streambuf.tcc (__copy_streambufs): Adjust the
79 type of __avail to ptrdiff_t to avoid signed-unsigned warning.
81 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
83 * testsuite/abi_check.cc (check_version): Update known versions.
84 Check added symbols for version_name != base version. Add missing
85 symbols to incompatible list.
87 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
89 * acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
90 * aclocal.m4: Regenerated.
91 * configure: Regenerated.
93 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
95 * include/bits/streambuf.tcc (basic_streambuf::xsgetn):
96 Const-ify some variables.
97 (basic_streambuf::xsputn): Likewise; change the type of some
99 (__copy_streambufs): Change some variables to size_t.
101 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
103 * include/std/std_sstream.h (str()): Avoid constructing
104 a basic_string temporary not only when it would turn out
105 to be zero-sized but also when identical to the current
108 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
110 * include/ext/stdio_filebuf.h
111 (stdio_filebuf(int, std::ios_base::openmode, bool, size_t),
112 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t)):
113 Shorten a bit (-10 lines) by factoring out some code.
115 2003-04-30 Phil Edwards <pme@gcc.gnu.org>
117 * acinclude.m4: Add bit missing from previous patch.
118 * aclocal.m4, configure: Regenerated.
120 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
122 * docs/doxygen/mainpage.html: Bring up to date.
123 * docs/doxygen/run_doxygen: Cosmetic tweaks. Work around a bug
125 * docs/doxygen/user.cfg.in: Scanning the precompiled headers
126 breaks everything. Don't scan them.
127 * docs/html/documentation.html: Point to "Write after approval"
130 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
132 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Search for gettext outside
133 of libc if message translations are being used. Fix info text in
134 xieee_1003.1-2001 case.
135 * aclocal.m4, configure: Regenerate.
137 2003-04-29 Joel Sherrill <joel.sherrill@OARcorp.com>
138 Loren J. Rittle <ljrittle@acm.org>
139 Martin v. Loewis <martin@v.loewis.de>
141 * config/cpu/i386/atomicity.h: New file.
143 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
145 * include/bits/fstream.tcc (open): Change to single return.
147 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
149 * include/std/std_sstream.h (underflow): Change to single return.
151 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
153 * include/std/std_streambuf.h (_M_buf): is currently
154 used only for basic_filebuf, therefore move it there.
155 (basic_streambuf(), ~basic_streambuf()): Adjust.
156 * include/std/std_fstream.h (_M_buf): Moved here.
157 * include/std/std_sstream.h (setbuf): Don't set _M_buf,
158 is actually redundant for basic_stringbuf.
159 (_M_really_sync): Likewise.
160 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
161 * include/bits/sstream.tcc (seekoff): Adjust.
163 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
165 * src/localename.cc: Standardize exception strings.
166 * src/locale.cc: Same.
168 * include/bits/basic_string.tcc: Same.
169 * include/bits/basic_ios.tcc: Same.
170 * include/std/std_bitset.h: Same.
171 * include/ext/ropeimpl.h: Same.
172 * include/bits/stl_vector.h: Same.
173 * include/bits/stl_deque.h: Same.
174 * include/bits/stl_bvector.h: Same.
175 * config/locale/generic/c_locale.cc: Same.
176 * config/locale/gnu/c_locale.cc: Same.
177 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
179 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify.
181 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
183 * include/std/std_streambuf.h (_M_buf_size): is currently
184 used only for basic_filebuf, therefore move it there.
185 (basic_streambuf(), ~basic_streambuf()): Adjust.
186 * include/std/std_fstream.h (_M_buf_size): Moved here.
187 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
189 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
191 * include/bits/streambuf.tcc (__copy_streambufs): Don't use
192 _M_buf_size (synced input is now correctly dealt with
193 elsewhere); when the output buffer is full don't fall back
194 to a snextc-sputc loop, call overflow instead.
196 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
198 * include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
199 the innermost 'if' by factoring out some code.
201 2003-04-28 Phil Edwards <pme@gcc.gnu.org>
203 * configure.in: Test for libintl.h.
204 * include/bits/c++config: Define __N for everybody.
205 * include/bits/basic_string.h, include/bits/stl_bvector.h,
206 include/bits/stl_deque.h, include/bits/stl_vector.h,
207 include/std/std_bitset.h: Wrap all __throw* text with __N.
208 * po/Makefile.am (pot): New rule, mostly working.
209 * src/functexcept.cc: Call gettext on all __throw* arguments when
210 -fexceptions is in effect.
211 * po/Makefile.in, config.h.in, configure: Regenerate.
213 2003-04-28 Petur Runolfsson <peturr02@ru.is>
216 * include/bits/ios_base.h (Init::_S_ios_create,
217 Init::_S_ios_destroy): Remove declarations.
218 (Init::_S_create_buffers,
219 Init::_S_destroy_buffers): Declare
220 * src/ios.cc (Init::_S_ios_create): Remove
221 (Init::_S_create_buffers): Create buffers and add to streams.
222 (Init::_S_ios_destroy): Rename to...
223 (Init::_S_destroy_buffers): this.
224 (Init::Init): Only construct streams once.
225 (Init::~Init): Flush streams, don't destroy them.
226 (ios_base::sync_with_stdio): Don't destroy streams, only buffers.
227 * testsuite/27_io/ios_base/sync_with_stdio/9523.cc: New test.
228 * testsuite/27_io/objects/char/5.cc: New test.
229 * testsuite/27_io/objects/char/5268.cc: Avoid undefined behavior.
230 * testsuite/27_io/objects/char/6.cc: New test.
231 * testsuite/27_io/objects/char/7.cc: New test.
233 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
235 * testsuite/27_io/objects/char/8.cc: New test.
237 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
239 * testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage.
240 * testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same.
242 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
244 * include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to
245 _M_destroy_pback. _M_pback_create to
246 _M_create_pback. _M_underflow_common to
247 _M_underflow. _M_really_overflow to _M_overflow.
248 * include/bits/fstream.tcc: Same.
249 * src/fstream.cc: Same.
250 * include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to
251 _M_move_in_cur. _M_out_cur_move to _M_move_out_cur.
252 * include/bits/streambuf.tcc: Same.
253 * include/bits/fstream.tcc: Same.
254 * include/bits/sstream.tcc: Same.
256 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
258 * include/bits/locale_classes.h (locale::_Impl): Change _M_names
259 from fixed size array.
260 (locale): Change _S_categories as well.
262 * include/bits/locale_facets.tcc: Tweak.
263 * config/locale/gnu/c_locale.cc: Assign _S_categories.
264 * config/locale/generic/c_locale.cc: Same.
265 * src/locale.cc: Tweak.
266 * src/globals.cc: Change facet_name to name_vec, add names_c.
267 * src/localename.cc: Use them.
268 (locale::_Impl::~_Impl): Destroy _M_names.
269 (locale::_Impl::_Impl): Create _M_names.
271 2003-04-27 Andreas Schwab <schwab@suse.de>
273 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
274 (__enc_traits): Use __ibom and __ebom instead of ignoring them.
276 2003-04-27 Nathan Myers <ncm@cantrip.org>
278 Move some basic_string members out of line because
279 they are too big to reasonably be inline.
280 * include/bits/basic_string.h
281 (assign(const basic_string&, size_type, size_type),
282 assign(const _CharT*, size_type),
283 insert(size_type, const basic_string&, size_type, size_type),
284 insert(size_type, const _CharT*, size_type),
285 replace(size_type, size_type, const _CharT*, size_type)):
287 * include/bits/basic_string.tcc: ...here.
289 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
291 * include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines)
292 the innermost 'if' by factoring out some code.
294 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
296 * include/bits/streambuf.tcc (__copy_streambufs): Don't
297 use in_avail(), simplify.
299 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
301 * include/std/std_sstream.h (setbuf): don't set _M_buf_size,
302 in basic_stringbuf it's unused.
304 * include/std/std_sstream.h (underflow): consistently use
305 _M_in_cur, not gptr().
307 2003-04-25 Ranjit Mathew <rmathew@hotmail.com>
308 Phil Edwards <pme@gcc.gnu.org>
310 * testsuite_flags.in: Guard against the possibility
311 of having "xgcc" as a part of a folder name in the
312 path to the GCC build folder.
313 * testsuite/Makefile.am: Likewise.
314 * testsuite/Makefile.in: Regenerated.
316 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
319 * include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
320 exception specifications.
321 (basic_filebuf::close): Same.
322 (basic_filebuf::_M_pback_destroy): Same.
323 (basic_filebuf::_M_destroy_internal_buffer): Same.
324 (basic_filebuf): Remove __res_type typedef.
325 * src/fstream.cc: Same.
326 * include/bits/fstream.tcc
327 (basic_filebuf::_M_convert_to_external): Simplify.
328 (basic_filebuf::seekoff): Use has_facet before use_facet.
329 (basic_filebuf::close): Add exception specification of throw().
330 * testsuite/27_io/basic_filebuf/cons: New.
331 * testsuite/27_io/basic_filebuf/cons/wchar_t: New.
332 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.
333 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
334 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.
336 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
338 * include/bits/locale_classes.h
339 (locale::_S_extra_categories_size): Remove.
340 * src/locale.cc: Remove _S_extra_categories_size.
341 * src/localename.cc: Same.
342 * config/locale/gnu/c_locale.cc: Same.
343 * config/locale/generic/c_locale.cc: Same.
345 2003-04-24 Richard Sandiford <rsandifo@redhat.com>
347 * src/localename.cc (__gnu_cxx::facet_vec): Correct types.
349 2003-04-24 Phil Edwards <pme@gcc.gnu.org>
351 * docs/html/17_intro/howto.html: Update some links.
352 * docs/html/18_support/howto.html: Link doxygen numeric_limits notes.
353 * docs/html/27_io/howto.html: Link doxygen stdio_filebuf notes.
354 * docs/html/ext/howto.html: Link to demangler notes and API.
355 * docs/html/faq/index.html: Remove trailing whitespace.
356 (1.4, 2.4, 3.8, 4.1): Bring up to date.
357 (5.6): Change to a bulleted list.
359 * docs/html/faq/index.txt, docs/html/documentation.html,
360 docs/html/17_intro/porting.html: Regenerate.
362 2003-04-23 Paolo Carlini <pcarlini@unitus.it>
364 * testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now
365 belongs to basic_filebuf.
366 * testsuite/27_io/basic_fstream/3.cc: Likewise.
367 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
368 * testsuite/27_io/basic_ios/3.cc: Remove _S_pback_size
369 instantiation (now belongs to basic_filebuf).
370 * testsuite/27_io/basic_iostream/3.cc: Likewise.
371 * testsuite/27_io/basic_istream/3.cc: Likewise.
372 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
373 _S_pback_size now belongs to basic_filebuf.
374 * testsuite/27_io/basic_istringstream/3.cc: Remove _S_pback_size
375 instantiation (now belongs to basic_filebuf).
376 * testsuite/27_io/basic_ofstream/3.cc: _S_pback_size now
377 belongs to basic_filebuf.
378 * testsuite/27_io/basic_ostream/3.cc: Remove _S_pback_size
379 instantiation (now belongs to basic_filebuf).
380 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc:
381 _S_pback_size now belongs to basic_filebuf.
382 * testsuite/27_io/basic_ostringstream/3.cc: Remove _S_pback_size
383 instantiation (now belongs to basic_filebuf).
384 * testsuite/27_io/basic_streambuf/3.cc: _S_pback_size now belongs
386 * testsuite/27_io/basic_stringbuf/3.cc: Remove _S_pback_size
387 instantiation (now belongs to basic_filebuf).
388 * testsuite/27_io/basic_stringstream/3.cc: Likewise.
390 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
392 * configure.in: Move GLIBCPP_CHECK_PCH before native/cross conditions.
393 * configure: Regenerated.
395 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
397 * config/locale/generic/c_locale.h (__convert_from_v): Use
400 2003-04-23 Phil Edwards <pme@gcc.gnu.org>
402 * docs/html/ext/howto.html ('LWG Issues'): Add issue 60, partial
404 * include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
405 Comment and change to comply with DR 60 and the effect on gcount().
406 * include/std/std_istream.h: Update comments.
407 * testsuite/27_io/basic_istream/putback/char/1.cc (test01): Add
408 comments about reasons for tests. Test sync() against gcount().
409 * testsuite/27_io/basic_istream/seekg/char/2.cc: New file, test
410 for effect on gcount().
411 * testsuite/27_io/basic_istream/tellg/char/2.cc: New file, test
412 for effect on gcount().
414 2003-04-22 Loren J. Rittle <ljrittle@acm.org>
416 * testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
419 2003-04-22 Paolo Carlini <pcarlini@unitus.it>
421 * include/std/std_streambuf.h (_S_pback_size, _M_pback,
422 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
423 _M_pback_create(), _M_pback_destroy()): Move to basic_filebuf.
424 (basic_streambuf::basic_streambuf()): Adjust.
425 * include/std/std_fstream.h (_S_pback_size, _M_pback,
426 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
427 _M_pback_create(), _M_pback_destroy()): Moved here
428 from basic_streambuf.
429 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf()):
431 (basic_filebuf::_S_pback_size): Add declaration.
432 * include/bits/streambuf.tcc (basic_streambuf::_S_pback_size):
435 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
437 Consistently use _M_in_beg instead of eback(), _M_in_cur
438 instead of gptr(), and so on.
439 * include/bits/fstream.tcc (pbackfail, imbue): Here.
440 * include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto.
441 * include/bits/streambuf.tcc (sbumpc, sputbackc,
442 __copy_streambufs): Ditto.
443 * include/std/std_streambuf.h (sgetc): Ditto.
445 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
447 * include/bits/sstream.tcc (pbackfail, overflow):
450 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
452 * include/std/std_streambuf.h (uflow()): It's used only by
453 basic_stringbuf (i.e., basic_filebuf provide its own uflow()),
454 therefore do not consider the _M_buf_unified == true case.
456 * include/std/std_streambuf.h (sgetc()): Restore __ret variable.
458 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
460 * docs/html/ext/howto.html ('LWG Issues'):
461 Add issues 19, 90, 171, 231, 271.
463 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
465 * include/bits/sstream.tcc (pbackfail): Remove redundant
466 NULL pointer check from test involving _M_in_*.
467 (overflow, seekoff, seekpos): Const qualify bool variables.
468 * include/std/std_sstream.h (underflow): Remove redundant
469 NULL pointer check from test involving _M_in_*.
470 (_M_really_sync): Const qualify bool variables.
471 * src/fstream.cc (_M_underflow_common): Remove redundant
472 NULL pointer check from test involving _M_in_*, const qualify
475 * include/std/std_streambuf.h (sgetc): Remove redundant
478 2003-04-18 Paolo Carlini <pcarlini@unitus.it>
480 According to 5.9 para 2 (second bullet) for pointers p, q
481 pointing to the same type, with p == 0 and q == 0, (p < q)
483 * include/bits/fstream.tcc (close, overflow, _M_really_overflow,
484 seekoff): Remove redundant NULL pointer checks from tests
485 involving _M_out_* and _M_in_*, const qualify bool variables.
486 (showmanyc, pbackfail, _M_convert_to_external, imbue): Const
487 qualify bool variables.
488 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc):
489 Remove redundant NULL pointer checks from tests involving
490 _M_out_* and _M_in_*, const qualify bool variables.
491 * include/std/std_fstream.h (sync): Likewise.
492 (_M_is_indeterminate): Const qualify bool variables.
493 * include/std/std_streambuf.h (sgetc, uflow): Remove redundant
494 NULL pointer checks from tests involving _M_out_* and _M_in_*,
495 const qualify bool variables.
496 (_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool
499 2003-04-18 Loren J. Rittle <ljrittle@acm.org>
501 * include/c_std/std_cmath.h (C99 FP capture): Only undefine said
502 C99 FP macros, if actually captured.
504 * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
505 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
506 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
507 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
508 * config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
510 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
511 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
512 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
513 * include/c_std/std_cstdlib.h: Use new macros.
514 * include/c_std/std_cstdio.h: Use new macros.
515 * include/c_std/std_cwchar.h: Use new macros.
517 2003-04-17 Benjamin Kosnik <bkoz@redhat.com>
520 * include/bits/ostream.tcc: Catch all exceptions for formatted
521 output, instead of std::exception and derivatives.
522 * include/bits/istream.tcc: Same.
523 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
524 * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
525 * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
526 * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
527 * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
528 * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
531 2003-04-17 Phil Edwards <pme@gcc.gnu.org>
533 * include/bits/c++config: Minor cosmetic tweaks.
535 2003-04-17 Loren J. Rittle <ljrittle@acm.org>
537 * testsuite_flags.in (PCHFLAGS): Find PCH in new home.
538 * include/Makefile.am (pch_input): Find in ${target_builddir}.
539 (pch_output): Rename to...
540 (pch_output_builddir): ..this. Find in ${target_builddir}.
542 (pch_build): Key off a built file.
543 (pch_output rule): Rename to...
544 (pch_input rule): ...this. Produce ${pch_output_builddir}
545 instead of ${pch_output}.
546 (install-pch rule): Install ${pch_output_builddir}.
547 * include/Makefile.in: Regenerated.
549 2003-04-17 Paolo Carlini <pcarlini@unitus.it>
551 * include/std/std_streambuf.h (setp): _M_out_lim, being
552 the end limit of used put area, is set equal to _M_out_beg.
554 2003-04-16 Benjamin Kosnik <bkoz@redhat.com>
556 * acinclude.m4 (GLIBCPP_CHECK_PCH): New.
557 * aclocal.m4: Regenerated.
558 * configure.in: Remove old demangler bits.
560 * configure: Regenerate.
561 * config.h.in: Regenerate.
562 * include/Makefile.am (allstamps): Now allstamped.
563 (allcreated): Define this.
564 (all-local): Use 'em.
565 Conditionally define pch_build, pch_install based on
567 (${pch_output}): New rule.
568 (install-pch): New rule.
569 (install-headers): New rule.
570 (install-data-local): Install headers and conditionally pch.
571 * include/Makefile.in: Regenerate.
572 * testsuite_flags.in (--build-cxx): Use pch file.
574 2003-04-16 Jonathan Wakely <redi@gcc.gnu.org>
576 * docs/html/ext/sgiexts.html: Fix path to stylesheet.
578 2003-04-15 Benjamin Kosnik <bkoz at redhat dot com>
579 Paolo Carlini <pcarlini at unitus dot it>
582 * docs/html/27_io/howto.html
583 ('The buffering is screwing up my program!'): Explain that
584 opening counts as an I/O operation.
586 2003-04-15 Andreas Tobler <a.tobler@schweiz.ch>
588 * testsuite/thread/pthread1.cc: Enable for darwin test.
589 * testsuite/thread/pthread2.cc: Same.
590 * testsuite/thread/pthread3.cc: Same.
591 * testsuite/thread/pthread4.cc: Same.
592 * testsuite/thread/pthread5.cc: Same.
593 * testsuite/thread/pthread6.cc: Same.
595 2003-04-15 Loren J. Rittle <ljrittle@acm.org>
598 * include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
599 Populate it with multiple legal ways to obtain the C99 float
600 transcendentals. Use them instead of direct global reference.
601 (C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
602 * docs/html/17_intro/porting.texi
603 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
604 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
605 (_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
606 * config/os/bsd/freebsd/os_defines.h
607 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
608 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
609 * testsuite/26_numerics/c_math_dynamic.cc: New file.
611 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
612 Benjamin Kosnik <bkoz@redhat.com>
614 * config/os/generic/ctype_inline.h: Fix.
616 2003-04-14 Benjamin Kosnik <bkoz@redhat.com>
618 * testsuite/testsuite_hooks.h
619 (__gnu_cxx_test::run_test_wrapped_generic_locale_exception_catcher):
620 Change to try_named_locale.
621 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Same.
623 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Use
625 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
626 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
627 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Same.
628 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Same.
629 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Same.
630 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Same.
631 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Same.
632 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Same.
633 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Same.
634 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Same.
635 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Same.
636 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Same.
637 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Same.
638 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Same.
639 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Same.
640 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
641 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
642 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
643 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Same.
644 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Same.
645 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Same.
646 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Same.
647 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Same.
648 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Same.
649 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Same.
650 * testsuite/22_locale/collate/compare/char/1.cc: Same.
651 * testsuite/22_locale/collate/compare/char/2.cc: Same.
652 * testsuite/22_locale/collate/compare/char/3.cc: Same.
653 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Same.
654 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Same.
655 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Same.
656 * testsuite/22_locale/collate/hash/char/2.cc: Same.
657 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
658 * testsuite/22_locale/collate/transform/char/2.cc: Same.
659 * testsuite/22_locale/collate/transform/char/3.cc: Same.
660 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
661 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Same.
662 * testsuite/22_locale/collate_byname/1.cc: Same.
663 * testsuite/22_locale/ctype/is/char/2.cc: Same.
664 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
665 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Same.
666 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Same.
667 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Same.
668 * testsuite/22_locale/facet/2.cc: Same.
669 * testsuite/22_locale/locale/cons/2.cc: Same.
670 * testsuite/22_locale/locale/cons/4.cc: Same.
671 * testsuite/22_locale/locale/cons/5.cc: Same.
672 * testsuite/22_locale/locale/cons/7.cc: Same.
673 * testsuite/22_locale/locale/cons/7222-c.cc: Same.
674 * testsuite/22_locale/locale/cons/7222-env.cc: Same.
675 * testsuite/22_locale/locale/global_locale_objects/2.cc: Same.
676 * testsuite/22_locale/messages/members/char/1.cc: Same.
677 * testsuite/22_locale/messages/members/char/2.cc: Same.
678 * testsuite/22_locale/messages/members/char/3.cc: Same.
679 * testsuite/22_locale/messages_byname/1.cc: Same.
680 * testsuite/22_locale/money_get/get/char/1.cc: Same.
681 * testsuite/22_locale/money_get/get/char/2.cc: Same.
682 * testsuite/22_locale/money_get/get/char/3.cc: Same.
683 * testsuite/22_locale/money_get/get/char/4.cc: Same.
684 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Same.
685 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Same.
686 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Same.
687 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Same.
688 * testsuite/22_locale/money_put/put/char/1.cc: Same.
689 * testsuite/22_locale/money_put/put/char/2.cc: Same.
690 * testsuite/22_locale/money_put/put/char/3.cc: Same.
691 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Same.
692 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Same.
693 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Same.
694 * testsuite/22_locale/moneypunct/members/char/2.cc: Same.
695 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Same.
696 * testsuite/22_locale/moneypunct_byname/1.cc: Same.
697 * testsuite/22_locale/num_get/get/char/1.cc: Same.
698 * testsuite/22_locale/num_get/get/char/2.cc: Same.
699 * testsuite/22_locale/num_get/get/char/3.cc: Same.
700 * testsuite/22_locale/num_get/get/char/5.cc: Same.
701 * testsuite/22_locale/num_get/get/char/6.cc: Same.
702 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Same.
703 * testsuite/22_locale/num_get/get/wchar_t/2.cc: Same.
704 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Same.
705 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Same.
706 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Same.
707 * testsuite/22_locale/num_put/put/char/1.cc: Same.
708 * testsuite/22_locale/num_put/put/char/2.cc: Same.
709 * testsuite/22_locale/num_put/put/char/3.cc: Same.
710 * testsuite/22_locale/num_put/put/char/5.cc: Same.
711 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Same.
712 * testsuite/22_locale/num_put/put/wchar_t/2.cc: Same.
713 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Same.
714 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Same.
715 * testsuite/22_locale/numpunct/members/char/1.cc: Same.
716 * testsuite/22_locale/numpunct/members/char/2.cc: Same.
717 * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Same.
718 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Same.
719 * testsuite/22_locale/numpunct_byname/1.cc: Same.
720 * testsuite/22_locale/numpunct_byname/2.cc: Same.
721 * testsuite/22_locale/time_get/date_order/char/1.cc: Same.
722 * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Same.
723 * testsuite/22_locale/time_get/get_date/char/1.cc: Same.
724 * testsuite/22_locale/time_get/get_date/char/2.cc: Same.
725 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Same.
726 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Same.
727 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Same.
728 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Same.
729 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Same.
730 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Same.
731 * testsuite/22_locale/time_get/get_time/char/1.cc: Same.
732 * testsuite/22_locale/time_get/get_time/char/2.cc: Same.
733 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Same.
734 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Same.
735 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Same.
736 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Same.
737 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Same.
738 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Same.
739 * testsuite/22_locale/time_get/get_year/char/1.cc: Same.
740 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Same.
741 * testsuite/22_locale/time_put/put/char/1.cc: Same.
742 * testsuite/22_locale/time_put/put/char/2.cc: Same.
743 * testsuite/22_locale/time_put/put/char/3.cc: Same.
744 * testsuite/22_locale/time_put/put/char/4.cc: Same.
745 * testsuite/22_locale/time_put/put/char/5.cc: Same.
746 * testsuite/22_locale/time_put/put/char/6.cc: Same.
747 * testsuite/22_locale/time_put/put/char/7.cc: Same.
748 * testsuite/22_locale/time_put/put/char/8.cc: Same.
749 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Same.
750 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Same.
751 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Same.
752 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Same.
753 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Same.
754 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Same.
755 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Same.
756 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Same.
757 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Same.
758 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Same.
759 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Same.
760 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Same.
761 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Same.
763 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
765 * configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
766 solaris includes, not generic.
768 2003-04-14 Loren J. Rittle <ljrittle@acm.org>
770 * testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
772 * include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit.
773 * include/bits/concept_check.h: Fix multi-line comment.
774 * testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
775 when target is *-*-freebsd*.
777 2003-04-14 Nathan Myers <ncm@cantrip.org>
778 Paolo Carlini <pcarlini@unitus.it>
780 PR libstdc++/9701 (in_avail())
781 * include/std/std_streambuf.h (in_avail): Simplify, in_avail
782 doesn't care if there is anything in some putback cell.
783 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add.
785 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some
786 unused string literals.
788 2003-04-14 Paolo Carlini <pcarlini@unitus.it>
790 * include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set
791 _M_out_end, _M_set_indeterminate() does it.
793 2003-04-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
795 * os/hpux/ctype_inline.h: Replace with gnu-linux version.
797 2003-04-12 David Edelsohn <edelsohn@gnu.org>
799 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
800 Change basic_streambuf instantiation to "unsigned char".
801 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
803 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
805 Remove _M_buf_size_opt, use directly _M_buf_size instead.
806 * include/bits/fstream.tcc
807 (basic_filebuf::_M_allocate_internal_buffer, setbuf): Remove
808 references to _M_buf_size_opt.
809 * include/bits/sstream.tcc (basic_stringbuf::overflow): Likewise.
810 * include/bits/streambuf.tcc (__copy_streambufs): Likewise, rename
811 __bufsize to __in_avail and __size_opt to __buf_size.
812 * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): Likewise.
813 * include/std/std_sstream.h (_M_stringbuf_init, setbuf): Likewise.
814 * include/std/std_streambuf.h (~basic_streambuf(),
815 basic_streambuf()): Likewise, remove _M_buf_size_opt member.
816 * testsuite/27_io/basic_filebuf/close/char/3.cc: Set _M_buf_size.
817 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
818 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Likewise.
819 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Likewise.
820 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Likewise.
821 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Likewise.
822 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Likewise.
823 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Likewise.
824 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
825 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
826 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
827 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
829 2003-04-12 Paolo Carlini <pcarlini at unitus dot it>
831 * include/ext/stdio_filebuf.h
832 (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
833 stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
834 _M_buf_size_opt == 0 only means "not to use an allocated buffer"
835 since a stack-based buffer is used for small values of the size_t
837 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
838 If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
839 * testsuite/ext/stdio_filebuf_2.cc: New testfile.
841 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
844 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: New.
845 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Ditto.
847 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
849 * testsuite/22_locale/locale/cons/3.cc: Split.
850 * testsuite/22_locale/locale/cons/7222-c.cc: New.
851 * testsuite/22_locale/locale/cons/7222-env.cc: New.
852 Check before trying to create a locale from the environment.
853 * testsuite/27_io/ios_base/state/1.cc (test02): Use "C" locale.
854 * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
857 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
859 * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic
860 locale to construct this hybrid locale, not the global locale.
862 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
864 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
865 instantiation for AIX.
866 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
867 * testsuite/25_algorithms/min_max.cc: Same.
869 2003-04-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
871 * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
872 twice. Always set _M_cfile to 0 when stream was open.
874 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
876 Reshuffle 27_io testsuite. * testsuite/27_io/filebuf.cc,
877 filebuf_members-1.tst, filebuf_members-1.txt, filebuf_members.cc,
878 filebuf_virtuals-1.tst, filebuf_virtuals-1.txt,
879 filebuf_virtuals-2.tst, filebuf_virtuals-3.tst,
880 filebuf_virtuals.cc, fpos.cc, fstream.cc, fstream_members.cc,
881 ifstream.cc, ifstream_members-1.tst, ifstream_members-1.txt,
882 ifstream_members.cc, instantiations.cc, ios.cc,
883 ios_base_callbacks.cc, ios_base_members_static-1.tst,
884 ios_base_members_static.cc, ios_base_storage.cc,
885 ios_base_types.cc, ios_ctor.cc, ios_init.cc,
886 ios_manip_basefield.cc, ios_manip_fmtflags.cc, ios_members.cc,
887 iostream.cc, iostream_members.cc, istream.cc,
888 istream_exception.cc, istream_extractor_char.cc,
889 istream_extractor_other-1.tst, istream_extractor_other-1.txt,
890 istream_extractor_other-2.tst, istream_extractor_other.cc,
891 istream_manip.cc, istream_seeks-1.tst, istream_seeks-1.txt,
892 istream_seeks-2.tst, istream_seeks-3.tst, istream_seeks.cc,
893 istream_sentry.cc, istream_unformatted-1.tst,
894 istream_unformatted-1.txt, istream_unformatted.cc,
895 istringstream.cc, istringstream_members.cc,
896 narrow_stream_objects.cc, ofstream.cc, ofstream_members-1.tst,
897 ofstream_members.cc, ostream.cc, ostream_exception.cc,
898 ostream_fail.cc, ostream_inserter_arith.cc,
899 ostream_inserter_char-1.tst, ostream_inserter_char-1.txt,
900 ostream_inserter_char.cc, ostream_inserter_other-1.tst,
901 ostream_inserter_other-2.tst, ostream_inserter_other.cc,
902 ostream_manip.cc, ostream_seeks-1.tst, ostream_seeks.cc,
903 ostream_sentry.cc, ostream_unformatted.cc, ostringstream.cc,
904 ostringstream_members.cc, standard_manipulators.cc, streambuf.cc,
905 streambuf_members.cc, stringbuf.cc, stringbuf_members.cc,
906 stringbuf_virtuals.cc, stringstream.cc, stringstream_members.cc,
907 wide_stream_objects.cc, istream_extractor_arith/01.cc,
908 istream_extractor_arith/02.cc, istream_extractor_arith/03.cc,
909 istream_extractor_arith/06.cc, istream_extractor_arith/07.cc,
910 istream_extractor_arith/08.cc, istream_extractor_arith/09.cc,
911 istream_extractor_arith/10.cc, istream_extractor_arith/11.cc,
912 istream_extractor_arith/12.cc, istream_extractor_arith/13.cc:
914 * 27_io/basic_filebuf/1.cc: New.
915 * 27_io/basic_filebuf/2.cc: New.
916 * 27_io/basic_filebuf/3.cc: New.
917 * 27_io/basic_filebuf/4.cc: New.
918 * 27_io/basic_filebuf/close/char/1.cc: New.
919 * 27_io/basic_filebuf/close/char/2.cc: New.
920 * 27_io/basic_filebuf/close/char/3.cc: New.
921 * 27_io/basic_filebuf/close/char/4879.cc: New.
922 * 27_io/basic_filebuf/close/char/9964.cc: New.
923 * 27_io/basic_filebuf/imbue/char/1.cc: New.
924 * 27_io/basic_filebuf/imbue/char/9322.cc: New.
925 * 27_io/basic_filebuf/in_avail/char/1.cc: New.
926 * 27_io/basic_filebuf/is_open/char/1.cc: New.
927 * 27_io/basic_filebuf/open/char/1.cc: New.
928 * 27_io/basic_filebuf/open/char/2.cc: New.
929 * 27_io/basic_filebuf/open/char/3.cc: New.
930 * 27_io/basic_filebuf/open/char/9507.cc: New.
931 * 27_io/basic_filebuf/overflow/char/1.cc: New.
932 * 27_io/basic_filebuf/overflow/char/3599.cc: New.
933 * 27_io/basic_filebuf/overflow/char/9169.cc: New.
934 * 27_io/basic_filebuf/overflow/char/9182-2.cc: New.
935 * 27_io/basic_filebuf/overflow/char/9988.cc: New.
936 * 27_io/basic_filebuf/sbumpc/char/1.cc: New.
937 * 27_io/basic_filebuf/sbumpc/char/9825.cc: New.
938 * 27_io/basic_filebuf/seekoff/char/1.cc: New.
939 * 27_io/basic_filebuf/seekoff/char/2.cc: New.
940 * 27_io/basic_filebuf/seekpos/char/1.cc: New.
941 * 27_io/basic_filebuf/seekpos/char/2.cc: New.
942 * 27_io/basic_filebuf/setbuf/char/1.cc: New.
943 * 27_io/basic_filebuf/setbuf/char/2.cc: New.
944 * 27_io/basic_filebuf/setbuf/char/3.cc: New.
945 * 27_io/basic_filebuf/sgetc/char/1.cc: New.
946 * 27_io/basic_filebuf/sgetn/char/1.cc: New.
947 * 27_io/basic_filebuf/sgetn/char/2.cc: New.
948 * 27_io/basic_filebuf/snextc/char/1.cc: New.
949 * 27_io/basic_filebuf/sputbackc/char/1.cc: New.
950 * 27_io/basic_filebuf/sputbackc/char/9425.cc: New.
951 * 27_io/basic_filebuf/sputc/char/1.cc: New.
952 * 27_io/basic_filebuf/sputc/char/1057.cc: New.
953 * 27_io/basic_filebuf/sputc/char/9701-2.cc: New.
954 * 27_io/basic_filebuf/sputn/char/1.cc: New.
955 * 27_io/basic_filebuf/sputn/char/1057.cc: New.
956 * 27_io/basic_filebuf/sputn/char/9701-1.cc: New.
957 * 27_io/basic_filebuf/sungetc/char/1.cc: New.
958 * 27_io/basic_filebuf/sync/char/1057.cc: New.
959 * 27_io/basic_filebuf/sync/char/9182-1.cc: New.
960 * 27_io/basic_filebuf/underflow/char/10097.cc: New.
961 * 27_io/basic_fstream/1.cc: New.
962 * 27_io/basic_fstream/2.cc: New.
963 * 27_io/basic_fstream/3.cc: New.
964 * 27_io/basic_fstream/4.cc: New.
965 * 27_io/basic_fstream/rdbuf/char/2832.cc: New.
966 * 27_io/basic_ifstream/1.cc: New.
967 * 27_io/basic_ifstream/2.cc: New.
968 * 27_io/basic_ifstream/3.cc: New.
969 * 27_io/basic_ifstream/4.cc: New.
970 * 27_io/basic_ifstream/cons/char/1.cc: New.
971 * 27_io/basic_ifstream/open/char/1.cc: New.
972 * 27_io/basic_ifstream/rdbuf/char/2832.cc: New.
973 * 27_io/basic_ios/1.cc: New.
974 * 27_io/basic_ios/2.cc: New.
975 * 27_io/basic_ios/3.cc: New.
976 * 27_io/basic_ios/4.cc: New.
977 * 27_io/basic_ios/clear/char/1.cc: New.
978 * 27_io/basic_ios/cons/char/1.cc: New.
979 * 27_io/basic_ios/cons/char/2.cc: New.
980 * 27_io/basic_ios/cons/char/3.cc: New.
981 * 27_io/basic_ios/copyfmt/char/1.cc: New.
982 * 27_io/basic_ios/copyfmt/char/2.cc: New.
983 * 27_io/basic_ios/exceptions/char/1.cc: New.
984 * 27_io/basic_ios/locales/char/1.cc: New.
985 * 27_io/basic_iostream/1.cc: New.
986 * 27_io/basic_iostream/2.cc: New.
987 * 27_io/basic_iostream/3.cc: New.
988 * 27_io/basic_iostream/4.cc: New.
989 * 27_io/basic_istream/1.cc: New.
990 * 27_io/basic_istream/2.cc: New.
991 * 27_io/basic_istream/3.cc: New.
992 * 27_io/basic_istream/4.cc: New.
993 * 27_io/basic_istream/exceptions/char/9561.cc: New.
994 * 27_io/basic_istream/extractors_arithmetic/char/01.cc: New.
995 * 27_io/basic_istream/extractors_arithmetic/char/02.cc: New.
996 * 27_io/basic_istream/extractors_arithmetic/char/03.cc: New.
997 * 27_io/basic_istream/extractors_arithmetic/char/06.cc: New.
998 * 27_io/basic_istream/extractors_arithmetic/char/07.cc: New.
999 * 27_io/basic_istream/extractors_arithmetic/char/08.cc: New.
1000 * 27_io/basic_istream/extractors_arithmetic/char/09.cc: New.
1001 * 27_io/basic_istream/extractors_arithmetic/char/10.cc: New.
1002 * 27_io/basic_istream/extractors_arithmetic/char/11.cc: New.
1003 * 27_io/basic_istream/extractors_arithmetic/char/12.cc: New.
1004 * 27_io/basic_istream/extractors_arithmetic/char/13.cc: New.
1005 * 27_io/basic_istream/extractors_character/char/1.cc: New.
1006 * 27_io/basic_istream/extractors_character/char/2.cc: New.
1007 * 27_io/basic_istream/extractors_character/char/3.cc: New.
1008 * 27_io/basic_istream/extractors_character/char/9826.cc: New.
1009 * 27_io/basic_istream/extractors_other/char/1.cc: New.
1010 * 27_io/basic_istream/extractors_other/char/2.cc: New.
1011 * 27_io/basic_istream/extractors_other/char/3.cc: New.
1012 * 27_io/basic_istream/extractors_other/char/9318-in.cc: New.
1013 * 27_io/basic_istream/extractors_other/char/9424-in.cc: New.
1014 * 27_io/basic_istream/get/char/1.cc: New.
1015 * 27_io/basic_istream/get/char/2.cc: New.
1016 * 27_io/basic_istream/getline/char/1.cc: New.
1017 * 27_io/basic_istream/getline/char/2.cc: New.
1018 * 27_io/basic_istream/getline/char/3.cc: New.
1019 * 27_io/basic_istream/ignore/char/1.cc: New.
1020 * 27_io/basic_istream/ignore/char/6360.cc: New.
1021 * 27_io/basic_istream/ignore/char/7220.cc: New.
1022 * 27_io/basic_istream/peek/char/1.cc: New.
1023 * 27_io/basic_istream/peek/char/6414.cc: New.
1024 * 27_io/basic_istream/putback/char/1.cc: New.
1025 * 27_io/basic_istream/read/char/1.cc: New.
1026 * 27_io/basic_istream/read/char/2.cc: New.
1027 * 27_io/basic_istream/read/char/3.cc: New.
1028 * 27_io/basic_istream/readsome/char/6746-1.cc: New.
1029 * 27_io/basic_istream/readsome/char/6746-2.cc: New.
1030 * 27_io/basic_istream/readsome/char/8258.cc: New.
1031 * 27_io/basic_istream/seekg/char/2346-fstream.cc: New.
1032 * 27_io/basic_istream/seekg/char/2346-sstream.cc: New.
1033 * 27_io/basic_istream/seekg/char/8348-1.cc: New.
1034 * 27_io/basic_istream/seekg/char/8348-2.cc: New.
1035 * 27_io/basic_istream/seekg/char/fstream.cc: New.
1036 * 27_io/basic_istream/seekg/char/sstream.cc: New.
1037 * 27_io/basic_istream/sentry/char/1.cc: New.
1038 * 27_io/basic_istream/sentry/char/2.cc: New.
1039 * 27_io/basic_istream/sentry/char/3.cc: New.
1040 * 27_io/basic_istream/sentry/char/3983-fstream.cc: New.
1041 * 27_io/basic_istream/sentry/char/3983-sstream.cc: New.
1042 * 27_io/basic_istream/tellg/char/1.cc: New.
1043 * 27_io/basic_istream/tellg/char/8348.cc: New.
1044 * 27_io/basic_istream/tellg/char/fstream.cc: New.
1045 * 27_io/basic_istream/tellg/char/sstream.cc: New.
1046 * 27_io/basic_istream/ws/char/1.cc: New.
1047 * 27_io/basic_istringstream/1.cc: New.
1048 * 27_io/basic_istringstream/2.cc: New.
1049 * 27_io/basic_istringstream/3.cc: New.
1050 * 27_io/basic_istringstream/4.cc: New.
1051 * 27_io/basic_istringstream/rdbuf/char/2832.cc: New.
1052 * 27_io/basic_istringstream/str/char/1.cc: New.
1053 * 27_io/basic_ofstream/1.cc: New.
1054 * 27_io/basic_ofstream/2.cc: New.
1055 * 27_io/basic_ofstream/3.cc: New.
1056 * 27_io/basic_ofstream/4.cc: New.
1057 * 27_io/basic_ofstream/cons/char/2.cc: New.
1058 * 27_io/basic_ofstream/open/char/1.cc: New.
1059 * 27_io/basic_ofstream/rdbuf/char/2832.cc: New.
1060 * 27_io/basic_ostream/1.cc: New.
1061 * 27_io/basic_ostream/2.cc: New.
1062 * 27_io/basic_ostream/3.cc: New.
1063 * 27_io/basic_ostream/4.cc: New.
1064 * 27_io/basic_ostream/cons/char/9827.cc: New.
1065 * 27_io/basic_ostream/endl/char/1.cc: New.
1066 * 27_io/basic_ostream/ends/char/1.cc: New.
1067 * 27_io/basic_ostream/ends/char/2.cc: New.
1068 * 27_io/basic_ostream/exceptions/char/9561.cc: New.
1069 * 27_io/basic_ostream/flush/char/1.cc: New.
1070 * 27_io/basic_ostream/inserters_arithmetic/char/1.cc: New.
1071 * 27_io/basic_ostream/inserters_arithmetic/char/2.cc: New.
1072 * 27_io/basic_ostream/inserters_arithmetic/char/3.cc: New.
1073 * 27_io/basic_ostream/inserters_arithmetic/char/4.cc: New.
1074 * 27_io/basic_ostream/inserters_arithmetic/char/4402.cc: New.
1075 * 27_io/basic_ostream/inserters_arithmetic/char/5.cc: New.
1076 * 27_io/basic_ostream/inserters_arithmetic/char/6.cc: New.
1077 * 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: New.
1078 * 27_io/basic_ostream/inserters_character/char/1.cc: New.
1079 * 27_io/basic_ostream/inserters_character/char/2.cc: New.
1080 * 27_io/basic_ostream/inserters_character/char/3.cc: New.
1081 * 27_io/basic_ostream/inserters_character/char/4.cc: New.
1082 * 27_io/basic_ostream/inserters_character/char/5.cc: New.
1083 * 27_io/basic_ostream/inserters_character/char/6.cc: New.
1084 * 27_io/basic_ostream/inserters_character/char/8.cc: New.
1085 * 27_io/basic_ostream/inserters_character/wchar_t/7.cc: New.
1086 * 27_io/basic_ostream/inserters_character/wchar_t/8.cc: New.
1087 * 27_io/basic_ostream/inserters_other/char/1.cc: New.
1088 * 27_io/basic_ostream/inserters_other/char/2.cc: New.
1089 * 27_io/basic_ostream/inserters_other/char/3.cc: New.
1090 * 27_io/basic_ostream/inserters_other/char/4.cc: New.
1091 * 27_io/basic_ostream/inserters_other/char/9318-out.cc: New.
1092 * 27_io/basic_ostream/inserters_other/char/9424-out.cc: New.
1093 * 27_io/basic_ostream/sentry/char/1.cc: New.
1094 * 27_io/basic_ostream/sentry/char/2.cc: New.
1095 * 27_io/basic_ostream/sentry/char/3983-fstream.cc: New.
1096 * 27_io/basic_ostream/sentry/char/3983-sstream.cc: New.
1097 * 27_io/basic_ostream/tellp/char/1.cc: New.
1098 * 27_io/basic_ostream/tellp/char/2.cc: New.
1099 * 27_io/basic_ostringstream/1.cc: New.
1100 * 27_io/basic_ostringstream/2.cc: New.
1101 * 27_io/basic_ostringstream/3.cc: New.
1102 * 27_io/basic_ostringstream/4.cc: New.
1103 * 27_io/basic_ostringstream/cons/char/3.cc: New.
1104 * 27_io/basic_ostringstream/rdbuf/char/2832.cc: New.
1105 * 27_io/basic_ostringstream/str/char/1.cc: New.
1106 * 27_io/basic_ostringstream/str/char/2.cc: New.
1107 * 27_io/basic_streambuf/1.cc: New.
1108 * 27_io/basic_streambuf/2.cc: New.
1109 * 27_io/basic_streambuf/3.cc: New.
1110 * 27_io/basic_streambuf/cons/char/1.cc: New.
1111 * 27_io/basic_streambuf/imbue/char/1.cc: New.
1112 * 27_io/basic_streambuf/imbue/char/9322.cc: New.
1113 * 27_io/basic_streambuf/overflow/char/1.cc: New.
1114 * 27_io/basic_streambuf/overflow/char/2.cc: New.
1115 * 27_io/basic_streambuf/overflow/char/3599.cc: New.
1116 * 27_io/basic_streambuf/sgetc/char/1.cc: New.
1117 * 27_io/basic_streambuf/sgetn/char/1.cc: New.
1118 * 27_io/basic_streambuf/sputbackc/char/9538.cc: New.
1119 * 27_io/basic_streambuf/sputc/char/1057.cc: New.
1120 * 27_io/basic_streambuf/sputn/char/1.cc: New.
1121 * 27_io/basic_streambuf/sputn/char/1057.cc: New.
1122 * 27_io/basic_streambuf/sync/char/1057.cc: New.
1123 * 27_io/basic_stringbuf/1.cc: New.
1124 * 27_io/basic_stringbuf/2.cc: New.
1125 * 27_io/basic_stringbuf/3.cc: New.
1126 * 27_io/basic_stringbuf/4.cc: New.
1127 * 27_io/basic_stringbuf/5.cc: New.
1128 * 27_io/basic_stringbuf/imbue/char/1.cc: New.
1129 * 27_io/basic_stringbuf/imbue/char/9322.cc: New.
1130 * 27_io/basic_stringbuf/in_avail/char/1.cc: New.
1131 * 27_io/basic_stringbuf/overflow/char/2.cc: New.
1132 * 27_io/basic_stringbuf/overflow/char/3599.cc: New.
1133 * 27_io/basic_stringbuf/overflow/char/9988.cc: New.
1134 * 27_io/basic_stringbuf/sbumpc/char/1.cc: New.
1135 * 27_io/basic_stringbuf/sbumpc/char/9825.cc: New.
1136 * 27_io/basic_stringbuf/seekoff/char/1.cc: New.
1137 * 27_io/basic_stringbuf/seekoff/char/2.cc: New.
1138 * 27_io/basic_stringbuf/seekpos/char/1.cc: New.
1139 * 27_io/basic_stringbuf/seekpos/char/2.cc: New.
1140 * 27_io/basic_stringbuf/setbuf/char/1.cc: New.
1141 * 27_io/basic_stringbuf/setbuf/char/2.cc: New.
1142 * 27_io/basic_stringbuf/setbuf/char/3.cc: New.
1143 * 27_io/basic_stringbuf/sgetc/char/1.cc: New.
1144 * 27_io/basic_stringbuf/sgetn/char/1.cc: New.
1145 * 27_io/basic_stringbuf/snextc/char/1.cc: New.
1146 * 27_io/basic_stringbuf/sputbackc/char/1.cc: New.
1147 * 27_io/basic_stringbuf/sputbackc/char/9425.cc: New.
1148 * 27_io/basic_stringbuf/sputc/char/1.cc: New.
1149 * 27_io/basic_stringbuf/sputc/char/1057.cc: New.
1150 * 27_io/basic_stringbuf/sputc/char/9404-1.cc: New.
1151 * 27_io/basic_stringbuf/sputn/char/1.cc: New.
1152 * 27_io/basic_stringbuf/sputn/char/1057.cc: New.
1153 * 27_io/basic_stringbuf/sputn/char/9404-2.cc: New.
1154 * 27_io/basic_stringbuf/str/char/1.cc: New.
1155 * 27_io/basic_stringbuf/str/char/2.cc: New.
1156 * 27_io/basic_stringbuf/str/char/3.cc: New.
1157 * 27_io/basic_stringbuf/str/char/3955.cc: New.
1158 * 27_io/basic_stringbuf/sungetc/char/1.cc: New.
1159 * 27_io/basic_stringbuf/sync/char/1057.cc: New.
1160 * 27_io/basic_stringstream/1.cc: New.
1161 * 27_io/basic_stringstream/2.cc: New.
1162 * 27_io/basic_stringstream/3.cc: New.
1163 * 27_io/basic_stringstream/4.cc: New.
1164 * 27_io/basic_stringstream/rdbuf/char/2832.cc: New.
1165 * 27_io/basic_stringstream/str/char/1.cc: New.
1166 * 27_io/basic_stringstream/str/char/2.cc: New.
1167 * 27_io/basic_stringstream/str/char/3.cc: New.
1168 * 27_io/basic_stringstream/str/char/4.cc: New.
1169 * 27_io/fpos/1.cc: New.
1170 * 27_io/fpos/2.cc: New.
1171 * 27_io/fpos/3.cc: New.
1172 * 27_io/ios_base/callbacks/1.cc: New.
1173 * 27_io/ios_base/state/1.cc: New.
1174 * 27_io/ios_base/storage/1.cc: New.
1175 * 27_io/ios_base/storage/2.cc: New.
1176 * 27_io/ios_base/storage/3.cc: New.
1177 * 27_io/ios_base/sync_with_stdio/1.cc: New.
1178 * 27_io/ios_base/sync_with_stdio/2.cc: New.
1179 * 27_io/manipulators/adjustfield/char/1.cc: New.
1180 * 27_io/manipulators/adjustfield/char/2.cc: New.
1181 * 27_io/manipulators/basefield/char/1.cc: New.
1182 * 27_io/manipulators/standard/char/1.cc: New.
1183 * 27_io/manipulators/standard/char/2.cc: New.
1184 * 27_io/objects/char/1.cc: New.
1185 * 27_io/objects/char/2.cc: New.
1186 * 27_io/objects/char/2523-1_xin.cc: New.
1187 * 27_io/objects/char/2523-1_xin.in: New.
1188 * 27_io/objects/char/2523-2_xin.cc: New.
1189 * 27_io/objects/char/2523-2_xin.in: New.
1190 * 27_io/objects/char/3045.cc: New.
1191 * 27_io/objects/char/3647.cc: New.
1192 * 27_io/objects/char/3_xin.cc: New.
1193 * 27_io/objects/char/3_xin.in: New.
1194 * 27_io/objects/char/4_xin.cc: New.
1195 * 27_io/objects/char/4_xin.in: New.
1196 * 27_io/objects/char/5268.cc: New.
1197 * 27_io/objects/char/5280_xin.cc: New.
1198 * 27_io/objects/char/5280_xin.in: New.
1199 * 27_io/objects/char/6548_xin.cc: New.
1200 * 27_io/objects/char/6548_xin.in: New.
1201 * 27_io/objects/char/6648-1_xin.cc: New.
1202 * 27_io/objects/char/6648-1_xin.in: New.
1203 * 27_io/objects/char/6648-2_xin.cc: New.
1204 * 27_io/objects/char/6648-2_xin.in: New.
1205 * 27_io/objects/char/7744_xin.cc: New.
1206 * 27_io/objects/char/7744_xin.in: New.
1207 * 27_io/objects/wchar_t/1.cc: New.
1208 * 27_io/types/1.cc: New.
1209 * 27_io/types/2.cc: New.
1210 * data/filebuf_members-1.tst: New.
1211 * data/filebuf_members-1.txt: New.
1212 * data/filebuf_virtuals-1.tst: New.
1213 * data/filebuf_virtuals-1.txt: New.
1214 * data/filebuf_virtuals-2.tst: New.
1215 * data/filebuf_virtuals-3.tst: New.
1216 * data/ifstream_members-1.tst: New.
1217 * data/ifstream_members-1.txt: New.
1218 * data/ios_base_members_static-1.tst: New.
1219 * data/istream_extractor_other-1.tst: New.
1220 * data/istream_extractor_other-1.txt: New.
1221 * data/istream_extractor_other-2.tst: New.
1222 * data/istream_seeks-1.tst: New.
1223 * data/istream_seeks-1.txt: New.
1224 * data/istream_seeks-2.tst: New.
1225 * data/istream_seeks-3.tst: New.
1226 * data/istream_unformatted-1.tst: New.
1227 * data/istream_unformatted-1.txt: New.
1228 * data/ofstream_members-1.tst: New.
1229 * data/ostream_inserter_char-1.tst: New.
1230 * data/ostream_inserter_char-1.txt: New.
1231 * data/ostream_inserter_other-1.tst: New.
1232 * data/ostream_inserter_other-2.tst: New.
1233 * data/ostream_seeks-1.tst: New.
1235 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
1237 * include/bits/sstream.tcc (basic_stringbuf::seekpos): Remove
1238 requirement that __mode must be strict input or output.
1240 * include/std/std_streambuf.h (basic_streambuf::setp): Set
1243 * include/std/std_sstream.h (basic_strinbuf::str): Zero length
1244 output string shouldn't core.
1245 (basic_stringbuf::_M_really_sync): Add base argument. Remove rturn
1247 * include/bits/sstream.tcc: Adjust _M_really_sync bits here.
1249 * include/bits/istream.tcc (basic_istream::putback): Set gcount to
1252 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
1254 * testsuite/data: New directory.
1255 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
1256 to copy files from the testsuite data directory.
1257 (libstdc++-v3-list-sourcefiles): Add another test list filter, for
1258 testfiles containing _xin, which now means this is an interactive
1259 test and should be run with the interactive dejagnu hooks.
1260 * testsuite/Makefile.am: Remove testsuite_* files.
1261 * testsuite/Makefile.in: Regenerate.
1263 2003-04-09 Zack Weinberg <zack@codesourcery.com>
1265 * docs/html/install.html: Document complete list of locales
1266 required by test suite. Document procedure for installing
1267 said locales under Debian. Solicit instructions for other
1270 2003-04-08 Alexandre Oliva <aoliva@redhat.com>
1272 * include/bits/sstream.tcc (overflow): Make sure operands of min
1273 and max have the same type.
1275 2003-04-04 Jerry Quinn <jlquinn@optonline.net>
1278 * src/ios.cc (ios_base::_M_init): Remove _M_callbacks
1281 2003-03-31 Paolo Carlini <pcarlini@unitus.it>
1283 * include/std/std_streambuf.h (_M_out_buf_size()): Remove.
1284 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
1285 Don't set _M_out_end.
1286 (basic_filebuf::overflow): Replace _M_out_buf_size() with
1287 this->_M_out_cur && this->_M_out_cur < this->_M_out_end.
1288 * include/bits/sstream.tcc (basic_stringbuf::overflow):
1289 Replace _M_out_buf_size() with this->_M_out_cur < this->_M_out_end;
1290 * include/bits/streambuf.tcc (basic_streambuf::sputc):
1291 Replace _M_out_buf_size() with _M_out_cur && _M_out_cur < _M_out_end.
1292 (basic_streambuf::xsputn): Replace _M_out_buf_size() with
1293 _M_out_end - _M_out_cur.
1294 (__copy_streambufs): Likewise.
1295 * include/std/std_fstream.h (_M_set_determinate): Set
1298 2003-03-30 Paolo Carlini <pcarlini@unitus.it>
1300 * include/bits/fstream.tcc (basic_filebuf::showmanyc,
1301 _M_convert_to_external, _M_really_overflow, seekoff): Fix
1302 test for synced buffer.
1303 * include/std/std_fstream.h (sync): Likewise.
1304 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
1305 basic_filebuf<wchar_t>::_M_underflow_common): Likewise.
1307 2003-03-28 Benjamin Kosnik <bkoz@redhat.com>
1309 * include/std/std_sstream.h (basic_istringstream): Adjust
1311 (basic_ostringstream): Same.
1312 (basic_stringstream): Same.
1313 * include/std/std_fstream.h (basic_ifstream): Adjust initialization.
1314 (basic_ofstream): Same.
1315 (basic_fstream): Same.
1316 * include/std/std_ostream.h (basic_ostrem): Add protected ctor
1317 that does not call init.
1318 * include/std/std_istream.h (basic_istream): Same.
1319 (basic_iostream): Construct istream, ostream uninitialized, use
1320 init to initialize just once. Add protected ctor that does not
1323 2003-03-28 Paolo Carlini <pcarlini@unitus.it>
1324 Nathan Myers <ncm@cantrip.org>
1327 * include/bits/fstream.tcc (basic_filebuf<>::open): Don't
1329 (basic_filebuf<>::showmanyc): Use the information provided
1330 by codecvt and __basic_file<>::showmanyc_helper to implement
1331 a non-trivial showmanyc.
1332 * config/io/basic_file_stdio.h
1333 (__basic_file<>::showmanyc_helper): New, declare.
1334 * config/io/basic_file_stdio.cc
1335 (__basic_file<>::showmanyc_helper): Define.
1336 (__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
1337 (__basic_file<char>::open): Don't call fcntl().
1338 * acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
1339 GLIBCPP_CHECK_POLL): New macros.
1340 * configure.in: Call here.
1341 * acconfig.h: Add #undefs for the corresponding symbols.
1342 * aclocal.m4: Regenerate.
1343 * configure: Regenerate.
1344 * config.h.in: Regenerate.
1346 2003-03-24 Benjamin Kosnik <bkoz@redhat.com>
1348 * config/linker-map.gnu: Remove string export restrictions.
1350 2003-03-24 Paolo Carlini <pcarlini@unitus.it>
1352 * testsuite/21_strings/basic_string/find/char/1.cc: Remove
1353 find_first_of, find_last_of and find_last_not_of tests.
1354 * testsuite/21_strings/basic_string/find/char/2.cc: find_first_of
1355 tests here, new file.
1356 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise,
1357 remove wchar_t find_first_of, find_last_of and find_last_not_of tests.
1358 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise,
1359 wchar_t find_first_of tests here, new file.
1360 * testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of
1362 * testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of
1364 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise,
1365 wchar_t find_last_of tests here.
1366 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise,
1367 wchar_t find_last_not_of tests here.
1369 2003-03-22 Loren J. Rittle <ljrittle@acm.org>
1371 * config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
1372 Correct return value.
1374 2003-03-21 Jerry Quinn <jlquinn@optonline.net>
1377 * include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
1378 * include/std/std_complex.h (norm): Use faster,
1379 less accurate computation for builtin float types under --fast-math.
1381 2003-03-21 Magnus Fromreide <gnats@magfr.user.lysator.liu.se>
1383 * testsuite/testsuite_hooks.h: Fix warning nits.
1385 2003-03-19 Alexandre Oliva <aoliva@redhat.com>
1387 * config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):
1388 Only .set mips2 for the o32 ABI.
1390 2003-03-19 Paolo Carlini <pcarlini@unitus.it>
1392 * testsuite/21_strings/char_traits/requirements/char/1.cc:
1393 Test char not wchar_t.
1395 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
1397 * testsuite/21_strings/basic_string/append/wchar_t/1.cc:
1398 Correct size, taking into account sizeof(wchar_t).
1400 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
1402 Reshuffle 21_strings testsuite.
1403 * testsuite/21_strings/append.cc, c_strings.cc, invariants.cc,
1404 assign.cc, ctor_copy_dtor.cc, nonmember.cc, capacity.cc,
1405 element_access.cc, operations.cc, char_traits_requirements.cc,
1406 find.cc, replace.cc, char_traits_typedefs.cc, insert.cc, rfind.cc,
1407 compare.cc, inserters_extractors.cc, substr.cc: Split up, add
1408 wchar_t tests as follows.
1409 * 21_strings/basic_string/append/char/1.cc: New.
1410 * 21_strings/basic_string/append/wchar_t/1.cc: New.
1411 * 21_strings/basic_string/assign/char/1.cc: New.
1412 * 21_strings/basic_string/assign/char/2.cc: New.
1413 * 21_strings/basic_string/assign/char/3.cc: New.
1414 * 21_strings/basic_string/assign/wchar_t/1.cc: New.
1415 * 21_strings/basic_string/assign/wchar_t/2.cc: New.
1416 * 21_strings/basic_string/assign/wchar_t/3.cc: New.
1417 * 21_strings/basic_string/capacity/1.cc: New.
1418 * 21_strings/basic_string/capacity/char/1.cc: New.
1419 * 21_strings/basic_string/capacity/char/2.cc: New.
1420 * 21_strings/basic_string/capacity/wchar_t/1.cc: New.
1421 * 21_strings/basic_string/capacity/wchar_t/2.cc: New.
1422 * 21_strings/basic_string/compare/char/1.cc: New.
1423 * 21_strings/basic_string/compare/wchar_t/1.cc: New.
1424 * 21_strings/basic_string/cons/char/1.cc: New.
1425 * 21_strings/basic_string/cons/char/2.cc: New.
1426 * 21_strings/basic_string/cons/char/3.cc: New.
1427 * 21_strings/basic_string/cons/char/4.cc: New.
1428 * 21_strings/basic_string/cons/char/5.cc: New.
1429 * 21_strings/basic_string/cons/wchar_t/1.cc: New.
1430 * 21_strings/basic_string/cons/wchar_t/2.cc: New.
1431 * 21_strings/basic_string/cons/wchar_t/3.cc: New.
1432 * 21_strings/basic_string/cons/wchar_t/4.cc: New.
1433 * 21_strings/basic_string/cons/wchar_t/5.cc: New.
1434 * 21_strings/basic_string/element_access/char/1.cc: New.
1435 * 21_strings/basic_string/element_access/char/2.cc: New.
1436 * 21_strings/basic_string/element_access/char/3.cc: New.
1437 * 21_strings/basic_string/element_access/wchar_t/1.cc: New.
1438 * 21_strings/basic_string/element_access/wchar_t/2.cc: New.
1439 * 21_strings/basic_string/element_access/wchar_t/3.cc: New.
1440 * 21_strings/basic_string/find/char/1.cc: New.
1441 * 21_strings/basic_string/find/wchar_t/1.cc: New.
1442 * 21_strings/basic_string/insert/char/1.cc: New.
1443 * 21_strings/basic_string/insert/char/2.cc: New.
1444 * 21_strings/basic_string/insert/wchar_t/1.cc: New.
1445 * 21_strings/basic_string/insert/wchar_t/2.cc: New.
1446 * 21_strings/basic_string/inserters_extractors/char/1.cc: New.
1447 * 21_strings/basic_string/inserters_extractors/char/4.cc: New.
1448 * 21_strings/basic_string/inserters_extractors/char/5.cc: New.
1449 * 21_strings/basic_string/inserters_extractors/char/6.cc: New.
1450 * 21_strings/basic_string/inserters_extractors/char/7.cc: New.
1451 * 21_strings/basic_string/inserters_extractors/char/8.cc: New.
1452 * 21_strings/basic_string/inserters_extractors/char/9.cc: New.
1453 * 21_strings/basic_string/inserters_extractors/wchar_t/1.cc: New.
1454 * 21_strings/basic_string/inserters_extractors/wchar_t/4.cc: New.
1455 * 21_strings/basic_string/inserters_extractors/wchar_t/5.cc: New.
1456 * 21_strings/basic_string/inserters_extractors/wchar_t/6.cc: New.
1457 * 21_strings/basic_string/inserters_extractors/wchar_t/7.cc: New.
1458 * 21_strings/basic_string/inserters_extractors/wchar_t/8.cc: New.
1459 * 21_strings/basic_string/inserters_extractors/wchar_t/9.cc: New.
1460 * 21_strings/basic_string/operators/char/1.cc: New.
1461 * 21_strings/basic_string/operators/char/2.cc: New.
1462 * 21_strings/basic_string/operators/wchar_t/1.cc: New.
1463 * 21_strings/basic_string/operators/wchar_t/2.cc: New.
1464 * 21_strings/basic_string/replace/char/1.cc: New.
1465 * 21_strings/basic_string/replace/char/2.cc: New.
1466 * 21_strings/basic_string/replace/char/3.cc: New.
1467 * 21_strings/basic_string/replace/char/4.cc: New.
1468 * 21_strings/basic_string/replace/char/5.cc: New.
1469 * 21_strings/basic_string/replace/wchar_t/1.cc: New.
1470 * 21_strings/basic_string/replace/wchar_t/2.cc: New.
1471 * 21_strings/basic_string/replace/wchar_t/3.cc: New.
1472 * 21_strings/basic_string/replace/wchar_t/4.cc: New.
1473 * 21_strings/basic_string/replace/wchar_t/5.cc: New.
1474 * 21_strings/basic_string/rfind/char/1.cc: New.
1475 * 21_strings/basic_string/rfind/char/2.cc: New.
1476 * 21_strings/basic_string/rfind/char/3.cc: New.
1477 * 21_strings/basic_string/rfind/wchar_t/1.cc: New.
1478 * 21_strings/basic_string/rfind/wchar_t/2.cc: New.
1479 * 21_strings/basic_string/rfind/wchar_t/3.cc: New.
1480 * 21_strings/basic_string/substr/char/1.cc: New.
1481 * 21_strings/basic_string/substr/wchar_t/1.cc: New.
1482 * 21_strings/c_strings/char/1.cc: New.
1483 * 21_strings/c_strings/char/2.cc: New.
1484 * 21_strings/c_strings/wchar_t/1.cc: New.
1485 * 21_strings/c_strings/wchar_t/2.cc: New.
1486 * 21_strings/char_traits/requirements/char/1.cc: New.
1487 * 21_strings/char_traits/requirements/wchar_t/1.cc: New.
1488 * 21_strings/char_traits/typedefs/char/1.cc: New.
1490 2003-03-17 Paolo Carlini <pcarlini@unitus.it>
1491 Petur Runolfsson <peturr02@ru.is>
1494 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
1495 basic_filebuf<wchar_t>::_M_underflow_common):
1496 if (gptr() < egptr()) return *gptr().
1497 * testsuite/27_io/filebuf_virtuals.cc (test16): Add.
1499 * testsuite/27_io/filebuf_members.cc (test_04): Minor
1500 changes: unlink fifo before making it, fix spelling error.
1502 2003-03-17 Benjamin Kosnik <bkoz@redhat.com>
1504 * testsuite/Makefile.am (CLEANFILES): Add tmp*.
1505 * testsuite/Makefile.in: Regenerate.
1506 * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
1509 2003-03-17 Petur Runolfsson <peturr02@ru.is>
1512 * include/bits/fstream.tcc (basic_filebuf::close):
1513 Always close file, even when write fails.
1514 * testsuite/27_io/filebuf_members.cc (test_07): New test.
1516 2003-03-17 Danny Smith <dannysmith@users.sourceforge.net>
1518 * libsupc++/Makefile.am (C_COMPILE): Remove.
1519 (LTCOMPILE): Likewise.
1520 * libsupc++/Makefile.in: Regenerate.
1522 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
1524 * testsuite/23_containers/bitset_members.cc: Add test variable.
1525 * testsuite/23_containers/map_insert.cc: Same.
1526 * testsuite/22_locale/ctype/cons/char/1.cc: Same.
1527 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
1528 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
1529 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
1530 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
1531 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
1532 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
1533 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
1534 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
1535 * testsuite/27_io/istream_exception.cc: Same.
1536 * testsuite/27_io/filebuf_virtuals.cc: Same.
1537 * testsuite/27_io/stringbuf_virtuals.cc: Same.
1538 * testsuite/27_io/ostream_inserter_arith.cc: Same.
1539 * testsuite/26_numerics/valarray_operators.cc: Same.
1540 * testsuite/26_numerics/slice.cc: Same.
1541 * testsuite/26_numerics/slice_array_assignment.cc: Same.
1542 * testsuite/24_iterators/istream_iterator.cc: Same.
1543 * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
1545 2003-03-14 Petur Runolfsson <peturr02@ru.is>
1549 * config/locale/generic/ctype_members.cc,
1550 * config/locale/gnu/ctype_members.cc
1551 (ctype<wchar_t>::do_widen(char)): Cast argument to
1552 unsigned char before passing to btowc.
1553 (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
1554 Convert characters with btowc instead of mbsrtowcs.
1555 (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
1557 Convert characters with wctob instead of wcsrtombs.
1558 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: New test.
1559 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: New test.
1560 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: New test.
1562 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
1564 * include/stdc++.h: New.
1565 * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
1566 * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
1567 * include/Makefile.in: Regenerate.
1568 * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
1569 (--cxxflags): Put -g -O2 here.
1570 * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
1572 2003-03-14 Loren J. Rittle <ljrittle@acm.org>
1574 * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
1575 missing named locale.
1577 2003-03-14 Andreas Schwab <schwab@suse.de>
1579 * configure.in: Only append to makefiles that are newly created to
1580 avoid multiple multi-do/multi-clean rules.
1581 * configure: Rebuilt.
1583 2003-03-13 Jonathan Wakely <redi@gcc.gnu.org>
1585 * docs/html/configopts.html, docs/html/documentation.html,
1586 docs/html/explanations.html, docs/html/install.html,
1587 docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
1588 invalid XHTML and make page header style consistent.
1590 2003-03-12 Jonathan Wakely <redi@gcc.gnu.org>
1592 * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
1593 * docs/html/faq/index.txt: Regenerate.
1594 * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
1596 2003-03-12 Andreas Schwab <schwab@suse.de>
1598 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
1599 glibcpp_toolexeclibdir.
1600 * aclocal.m4, configure: Rebuilt.
1602 2003-03-11 Jonathan Wakely <redi@gcc.gnu.org>
1604 * docs/html/faq/index.html: Update text about location of headers.
1605 * docs/html/faq/index.txt: Regenerate.
1607 2003-03-11 Carlo Wood <carlo@alinoe.com>
1609 * include/bits/demangle.h: Prepend accessors of
1610 class qualifier with 'get_' in order to fix warnings
1611 when compiling with -Wshadow.
1613 2003-03-11 Loren J. Rittle <ljrittle@acm.org>
1615 * config/os/bsd/freebsd/ctype_inline.h: Support _M_table
1617 * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
1619 * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
1620 report lack of setenv().
1622 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
1624 * config/io/basic_file_stdio.cc: include <unistd.h>.
1626 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
1627 Nathan Myers <ncm@cantrip.org>
1630 * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
1631 seekoff, seekpos): Add a boolean parameter __stdio.
1632 * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
1633 seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
1634 fseek/ftell, respectively), otherwise read (write, lseek, lseek,
1636 * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
1637 _M_really_overflow, seekoff): Use the boolean parameter in the calls.
1638 * include/std/std_fstream.h (sync): Likewise.
1639 * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
1640 * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
1641 libstdc++/8399 commit involving isatty(0).
1642 * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
1643 (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
1644 * configure.in: Remove call.
1645 * aclocal.m4: Regenerate.
1646 * config.h.in: Regenerate.
1647 * configure: Regenerate.
1648 * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
1650 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
1653 * include/bits/fstream.tcc (overflow): don't write EOF to file.
1654 * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
1656 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
1659 * include/bits/basic_ios.h (_M_setstate): New.
1660 * include/bits/ostream.tcc (operator<<): Use it.
1661 * include/bits/istream.tcc (operator>>): Use it.
1662 * include/std/std_ostream.h (operator<<): Make friends.
1663 * include/std/std_istream.h (operator>>): Make friends.
1664 * testsuite/27_io/ostream_exception.cc,
1665 testsuite/27_io/istream_exception.cc: New tests.
1667 2003-03-08 Benjamin Kosnik <bkoz@redhat.com>
1669 * include/bits/locale_facets.tcc: Fix typo.
1671 2003-03-08 Loren J. Rittle <ljrittle@acm.org>
1673 * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
1675 * config/locale/generic/c_locale.cc
1676 (locale::facet::_S_create_c_locale): Throw runtime exception when
1677 unsupported language is specified.
1678 * testsuite/testsuite_hooks.h
1679 (run_test_wrapped_generic_locale_exception_catcher): New function.
1680 * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
1681 Suppress runtime exception thrown by generic implementation.
1682 (run_tests_wrapped_env): Likewise.
1683 (run_test_wrapped_generic_locale_exception_catcher): New function.
1684 * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
1685 * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
1686 * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
1687 * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
1688 * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
1689 * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
1690 * testsuite/22_locale/collate_byname/1.cc: New test wrap.
1691 * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
1692 * testsuite/22_locale/facet/2.cc: New test wrap.
1693 * testsuite/22_locale/locale/cons/4.cc: New test wrap.
1694 * testsuite/22_locale/locale/cons/5.cc: New test wrap.
1695 * testsuite/22_locale/locale/cons/7.cc: New test wrap.
1696 * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
1697 * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
1698 * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
1699 * testsuite/22_locale/messages_byname/1.cc: New test wrap.
1700 * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
1701 * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
1702 * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
1703 * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
1704 * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
1705 * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
1706 * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
1707 * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
1708 * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
1709 * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
1710 * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
1711 * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
1712 * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
1713 * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
1714 * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
1715 * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
1716 * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
1717 * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
1718 * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
1719 * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
1720 * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
1721 * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
1722 * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
1723 * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
1724 * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
1725 * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
1726 * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
1727 * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
1728 * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
1729 * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
1730 * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
1731 * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
1732 * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
1733 * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
1734 * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
1735 * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
1736 * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
1737 * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
1738 * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
1739 * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
1740 * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
1741 * testsuite/27_io/ios_members.cc: New test wrap.
1742 * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
1744 * testsuite/27_io/streambuf_members.cc: New test wrap.
1745 * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
1747 2003-03-08 Paolo Carlini <pcarlini@unitus.it>
1748 Petur Runolfsson <peturr02@ru.is>
1751 * include/bits/streambuf.tcc (__copy_streambufs): Use
1752 sgetn-sputn only when sputn cannot fail, otherwise fall back
1753 to safe snextc-sputc.
1754 * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
1756 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
1758 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
1759 locale cache for truename and falsename.
1761 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
1763 * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
1764 _M_word_size initialization.
1766 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
1768 * include/bits/fstream.tcc (_M_convert_to_external):
1769 Set __elen to zero if codecvt::out eventually fails.
1771 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
1774 * include/bits/fstream.tcc (_M_really_overflow): Check
1775 for _M_convert_to_external possible failures.
1776 * include/std/std_fstream.h (sync): Check _M_really_overflow
1777 return value and return -1 in case of failure.
1778 * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
1780 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
1783 * include/bits/istream.tcc (operator>>(_CharT*),
1784 operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
1785 * testsuite/27_io/stringstream.cc (test02): Add.
1787 * include/bits/istream.tcc (operator>>(_CharT*)):
1788 Assign a char_type to *__s.
1790 2003-03-07 Petur Runolfsson <peturr02@ru.is>
1793 * include/bits/locale_facets.tcc
1794 (collate::do_compare, collate::do_transform):
1795 Handle nul characters in input.
1796 * testsuite/22_locale/collate/compare/char/3.cc: New test.
1797 * testsuite/22_locale/collate/compare/wchar_t/3.cc: New test.
1798 * testsuite/22_locale/collate/transform/char/3.cc: New test.
1799 * testsuite/22_locale/collate/transform/wchar_t/3.cc: New test.
1801 2003-03-07 Jerry Quinn <jlquinn@optonline.net>
1803 * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
1805 * testsuite/27_io/ostream_fail.cc: New test.
1807 2003-03-07 Matthias Klose <doko@debian.org>
1809 * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
1810 FLAGS_TO_PASS: Set to AM_MAKEFLAGS
1811 * Makefile.in: Regenerate.
1812 * libsupc++/Makefile.am: Express glibcppinstalldir in terms
1814 AM_MAKEFLAGS: Pass gxx_include_dir.
1815 * libsupc++/Makefile.in: Regenerate.
1817 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
1819 * testsuite/27_io/ios_base_storage.cc (test02): Set exception
1820 mask. Test setting small-numbered pword and iword slots. Test
1821 behavior at limit of numeric_limits::max. Check that values are
1822 still good after failures.
1824 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
1826 * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
1827 (ios_base::ios_base): Set _M_word, _M_word_size.
1828 (ios_base::~ios_base): Remove redundant test.
1829 * testsuite/27_io/ios_base_storage.cc (test03): New.
1831 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
1833 * src/strstream.cc, include/bits/basic_string.tcc: Remove
1834 incorrect whitespace added in my previous change.
1836 2003-03-05 Carlo Wood <carlo@alinoe.com>
1838 * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
1839 _S_initialized() in order to allow debugging libraries to detect
1840 when the std streams are initialized from an overloaded operator
1843 2003-03-05 Benjamin Kosnik <bkoz@redhat.com>
1845 * libsupc++/demangle.h: Move to..
1846 * include/bits/demangle.h: ...here.
1847 * src/demangle.cc: Adjust include.
1848 * include/Makefile.am (bits_headers): Add.
1849 * include/Makefile.in: Regenerate.
1851 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
1853 * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
1855 * config/linker-map.gnu: Filter typeinfo and vtable info.
1857 2003-03-04 Jerry Quinn <jlquinn@optonline.net>
1859 * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
1860 new failure. Throw exception if badbit and exception mask when ix
1861 >= numeric_limits<int>::max().
1863 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
1865 * src/strstream.cc (strstreambuf::overflow): Make sure operands of
1866 min and max have the same type.
1867 * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
1869 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
1871 * include/Makefile.am (allstamps): Remove stamp-std-precompile.
1872 * include/Makefile.in: Regenerate.
1874 2003-03-03 Benjamin Kosnik <bkoz@redhat.com>
1876 * testsuite/abi_check.cc (report_symbol_info): Add version info.
1878 * config/linker-map.gnu: Hide more stuff.
1879 * include/Makefile.am: Cleanups.
1880 * include/Makefile.in: Regenerate.
1882 2003-02-27 Jerry Quinn <jlquinn@optonline.net>
1884 * config/locale/generic/messages_members.h (messages::messages):
1885 Remove name from unused parameter.
1887 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
1889 * src/Makefile.am (sources): Add demangle.cc.
1892 * src/Makefile.in: Regenerate.
1893 * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
1894 * libsupc++/Makefile.in: Regenerate.
1896 * testsuite/testsuite_hooks.h
1897 (__gnu_cxx_test::verify_demangle): New.
1898 * testsuite/testsuite_hooks.cc: Define.
1900 2003-02-27 Carlo Wood <carlo@alinoe.com>
1902 * src/demangle.cc: New.
1903 * libsupc++/demangle.h: New.
1905 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
1906 Carlo Wood <carlo@alinoe.com>
1908 * testsuite/demangle/abi_examples/01.cc: New.
1909 * testsuite/demangle/abi_examples/02.cc: New.
1910 * testsuite/demangle/abi_examples/03.cc: New.
1911 * testsuite/demangle/abi_examples/04.cc: New.
1912 * testsuite/demangle/abi_examples/05.cc: New.
1913 * testsuite/demangle/abi_examples/06.cc: New.
1914 * testsuite/demangle/abi_examples/07.cc: New.
1915 * testsuite/demangle/abi_examples/08.cc: New.
1916 * testsuite/demangle/abi_examples/09.cc: New.
1917 * testsuite/demangle/abi_examples/10.cc: New.
1918 * testsuite/demangle/abi_examples/11.cc: New.
1919 * testsuite/demangle/abi_examples/12.cc: New.
1920 * testsuite/demangle/abi_examples/13.cc: New.
1921 * testsuite/demangle/abi_examples/14.cc: New.
1922 * testsuite/demangle/abi_examples/15.cc: New.
1923 * testsuite/demangle/abi_examples/16.cc: New.
1924 * testsuite/demangle/abi_examples/17.cc: New.
1925 * testsuite/demangle/abi_examples/18.cc: New.
1926 * testsuite/demangle/abi_examples/19.cc: New.
1927 * testsuite/demangle/abi_examples/20.cc: New.
1928 * testsuite/demangle/abi_examples/21.cc: New.
1929 * testsuite/demangle/abi_examples/22.cc: New.
1930 * testsuite/demangle/abi_examples/23.cc: New.
1931 * testsuite/demangle/abi_examples/24.cc: New.
1932 * testsuite/demangle/abi_examples/25.cc: New.
1933 * testsuite/demangle/abi_examples/26.cc: New.
1934 * testsuite/demangle/abi_text/01.cc: New.
1935 * testsuite/demangle/abi_text/02.cc: New.
1936 * testsuite/demangle/abi_text/03.cc: New.
1937 * testsuite/demangle/abi_text/04.cc: New.
1938 * testsuite/demangle/abi_text/05.cc: New.
1939 * testsuite/demangle/abi_text/06.cc: New.
1940 * testsuite/demangle/abi_text/07.cc: New.
1941 * testsuite/demangle/abi_text/08.cc: New.
1942 * testsuite/demangle/abi_text/09.cc: New.
1943 * testsuite/demangle/abi_text/10.cc: New.
1944 * testsuite/demangle/abi_text/11.cc: New.
1945 * testsuite/demangle/abi_text/12.cc: New.
1946 * testsuite/demangle/abi_text/13.cc: New.
1947 * testsuite/demangle/abi_text/14.cc: New.
1948 * testsuite/demangle/regression/3111-1.cc: New.
1949 * testsuite/demangle/regression/3111-2.cc: New.
1950 * testsuite/demangle/regression/7986-01.cc: New.
1951 * testsuite/demangle/regression/7986-02.cc: New.
1952 * testsuite/demangle/regression/7986-03.cc: New.
1953 * testsuite/demangle/regression/7986-04.cc: New.
1954 * testsuite/demangle/regression/7986-05.cc: New.
1955 * testsuite/demangle/regression/7986-06.cc: New.
1956 * testsuite/demangle/regression/7986-07.cc: New.
1957 * testsuite/demangle/regression/7986-08.cc: New.
1958 * testsuite/demangle/regression/7986-09.cc: New.
1959 * testsuite/demangle/regression/7986-10.cc: New.
1960 * testsuite/demangle/regression/7986-11.cc: New.
1961 * testsuite/demangle/regression/7986-12.cc: New.
1962 * testsuite/demangle/regression/7986.cc: New.
1963 * testsuite/demangle/regression/8897.cc: New.
1964 * testsuite/demangle/regression/cw-01.cc: New.
1965 * testsuite/demangle/regression/cw-02.cc: New.
1966 * testsuite/demangle/regression/cw-03.cc: New.
1967 * testsuite/demangle/regression/cw-04.cc: New.
1968 * testsuite/demangle/regression/cw-05.cc: New.
1969 * testsuite/demangle/regression/cw-06.cc: New.
1970 * testsuite/demangle/regression/cw-07.cc: New.
1971 * testsuite/demangle/regression/cw-08.cc: New.
1972 * testsuite/demangle/regression/cw-09.cc: New.
1973 * testsuite/demangle/regression/cw-10.cc: New.
1974 * testsuite/demangle/regression/cw-11.cc: New.
1975 * testsuite/demangle/regression/cw-12.cc: New.
1976 * testsuite/demangle/regression/cw-13.cc: New.
1977 * testsuite/demangle/regression/cw-14.cc: New.
1978 * testsuite/demangle/regression/old.cc: New.
1980 2003-02-25 Phil Edwards <pme@gcc.gnu.org>
1982 * docs/doxygen/Intro.3: Update with new (proper) names.
1983 * docs/doxygen/TODO: Update.
1984 * docs/doxygen/run_doxygen: More comments, fix up man pages.
1985 Fake entries for standard typedefs.
1986 * docs/doxygen/user.cfg.in: Turn INLINE_INHERITED_MEMB back on.
1987 * docs/html/documentation.html: Top-level man page is now called
1989 * include/std/std_limits.h: Doxygenate.
1991 2003-02-25 Scott Snyder <snyder@fnal.gov>
1994 * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
1995 Correct documentation.
1996 * include/bits/stl_multimap.h (lower_bound, upper_bound,
1997 equal_range): Likewise.
1999 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
2003 (basic_filebuf<char/wchar_t>::_M_underflow_common): When
2004 __bump is true (uflow), always increment the read pointer
2005 (_M_in_cur) before returning successfully.
2006 * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
2008 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
2009 Nathan Myers <ncm@cantrip.org>
2011 PR libstdc++/9404, PR libstdc++/9701 (partial)
2012 (aka pptr == epptr implies overflow)
2013 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
2014 Consistently, _M_out_end points to the end of the buffer just
2016 (overflow): Tweak to use _M_out_buf_size().
2017 (_M_convert_to_external): The role of the old _M_out_end is
2018 now played by _M_out_lim.
2019 (_M_really_overflow): Likewise.
2020 (seekoff): Likewise.
2021 (setbuf): _M_out_end points to the end of the external buffer.
2022 * include/bits/sstream.tcc (overflow): Rewrote, taking into
2023 account the resolution of DR 169 (TC).
2024 (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
2025 (seekpos): Use _M_string.capacity(); tweak.
2026 * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
2027 * include/std/std_fstream.h (sync): The role of the old
2028 _M_out_end is now played by _M_out_lim.
2029 (_M_set_indeterminate): Use _M_set_determinate.
2030 (_M_set_determinate): _M_out_end is now _M_out_lim.
2031 (_M_is_indeterminate): Likewise.
2032 * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
2033 (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
2034 which have the information readily available as _M_string.capacity();
2035 for ate and app modes, pass the string size to _M_really_sync.
2036 (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
2037 point to the end of the buffer (i.e., epptr) and to the string end,
2039 * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
2040 which points to the right limit of the used put area.
2041 (_M_out_cur_move): The role of the old _M_out_end is now played
2043 (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
2044 _M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter
2046 (basic_streambuf()): Initialize _M_out_lim too.
2047 * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
2048 * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
2049 * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
2051 2003-02-24 Benjamin Kosnik <bkoz@redhat.com>
2053 * testsuite/27_io/ios_base_storage.cc (main): Call
2056 2003-02-21 Jerry Quinn <jlquinn@optonline.net>
2058 * include/bits/locale_facets.tcc (_M_convert_float): Replace
2059 numpunct facet accesses with data from __locale_cache.
2061 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
2063 * docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD.
2064 * docs/html/faq/index.txt: Regenerate.
2066 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
2068 * config/linker-map.gnu: Also export locking symbols needed for the
2069 generic atomicity.h case.
2071 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
2073 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
2075 * configure: Rebuilt.
2077 2003-02-19 Paolo Carlini <pcarlini@unitus.it>
2079 * include/bits/sstream.tcc (overflow): According to
2080 27.7.1.3, p5, actual output is performed by sputc(c).
2082 2003-02-19 Phil Edwards <pme@gcc.gnu.org>
2085 * include/bits/stl_alloc.h: Remove all traces of assert().
2087 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
2089 * include/std/std_sstream.h (str()): the size of the
2090 current string may be different from the initial one
2091 whenever _M_out_end > _M_out_beg.
2092 * testsuite/27_io/stringbuf_members.cc (test07): Add.
2094 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
2097 * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
2099 2003-02-17 Benjamin Kosnik <bkoz@redhat.com>
2101 * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
2102 * testsuite/27_io/ios_members.cc (test03): New.
2104 2003-02-17 Jerry Quinn <jlquinn@optonline.net>
2106 * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
2107 (basic_ios::_M_cache_facets): Move into above.
2108 * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
2110 (basic_ios::imbue): Force locale cache to be built.
2111 (basic_ios::_M_init): Create and initialize locale cache.
2112 * include/bits/ios_base.h (__locale_cache_base): Declare.
2113 (ios_base::_M_locale_cache): New.
2114 (ios_base::_M_cache): Define.
2115 * include/bits/locale_facets.h: (__num_base): Fix comment. Add
2117 (__locale_cache_base,__locale_cache<_CharT>): New classes.
2118 (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
2119 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
2120 cache literal string, grouping flag, thousands separator.
2121 (__locale_cache<_CharT>::__locale_cache): New.
2122 (__locale_cache<_CharT>::_M_init): New.
2123 * src/ios.cc: Clear _M_locale_cache in constructor.
2124 * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
2127 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
2129 * src/locale-inst.cc: Do not include <cassert>.
2130 * src/locale.cc: Likewise.
2132 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
2135 * include/std/std_fstream.h: Declare underflow and uflow
2136 specializations, change generic definitions to do nothing.
2137 * src/fstream.cc: Add underflow and uflow specializations.
2139 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
2142 * include/bits/fstream.tcc (_M_convert_to_external):
2143 Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
2144 * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
2146 2003-02-13 Benjamin Kosnik <bkoz@redhat.com>
2148 * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
2149 * include/bits/basic_ios.tcc: Guard use of extern template.
2150 * include/std/std_iomanip.h: Same.
2151 * include/bits/streambuf.tcc: Same.
2152 * include/bits/stl_alloc.h: Same.
2153 * include/bits/locale_facets.tcc: Same.
2154 * include/bits/ostream.tcc: Same.
2155 * include/bits/istream.tcc: Same.
2156 * include/bits/fstream.tcc: Same.
2157 * include/bits/basic_string.tcc: Same.
2159 2003-02-13 Paolo Carlini <pcarlini@unitus.it>
2161 * include/bits/ostream.tcc (sentry::sentry): Improve
2162 performance-wise the fix for libstdc++/9563.
2164 2003-02-12 Phil Edwards <pme@gcc.gnu.org>
2166 * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
2167 (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file.
2168 (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare
2169 when we don't have static mutex initialization.
2170 (__exchange_and_add): Use _Atomic_add_mutex_once.
2171 * src/misc-inst.cc: Definitions of all the above.
2173 2003-02-12 Paolo Carlini <pcarlini@unitus.it>
2176 * include/bits/ostream.tcc (sentry::sentry): Check
2177 the state of the stream after the preparation.
2178 * testsuite/27_io/ostream_sentry.cc (test02): Add.
2180 2003-02-11 Benjamin Kosnik <bkoz@redhat.com>
2182 * include/Makefile.am (stamp-std-precompile): Add rule.
2183 * include/Makefile.in: Regenerated.
2185 2003-02-11 Jerry Quinn <jlquinn@optonline.net>
2186 Benjamin Kosnik <benjamin@redhat.com>
2188 * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
2189 Add indexes into this array.
2190 (__num_base::_S_atoms): To _S_atoms_in.
2191 (num_put::_M_insert): Rename to _M_pad.
2192 (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
2193 (num_put::_M_widen_int): Rename to _M_group_int.
2194 (num_put::_M_widen_float): Rename to _M_group_float.
2195 * include/bits/locale_facets.tcc (__int_to_char): New inline
2196 function and adapter functions.
2197 (num_put::_M_group_int): Streamline.
2198 (num_put::_M_group_float): Streamline.
2199 (num_put::_M_convert_int): Remove unused parameter names. Choose
2200 large enough buffer for text. Use __int_to_char instead of
2201 __convert_from_v. Formatted text is now at the end of the buffer.
2202 (num_put::_M_convert_float): Preliminary fixups.
2203 * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
2204 (__int_to_char<unsigned long long>): Same.
2205 (__int_to_char<char, unsigned long>): New.
2206 (__int_to_char<char, unsigned long long>): New.
2207 (__int_to_char<wchar_t, unsigned long>): New.
2208 (__int_to_char<wchar_t, unsigned long long>): New.
2210 2003-02-11 Scott Snyder <snyder@fnal.gov>
2213 * include/bits/fstream.tcc (seekoff): Avoid operator+
2216 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
2219 * include/ext/stdio_filebuf.h
2220 (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
2221 stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
2222 Change to take a __size parameter of type size_t, not
2223 of type (template parameter dependent) int_type.
2224 * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
2225 size vars to size_t.
2226 * testsuite/ext/stdio_filebuf.cc: Add.
2228 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
2229 Petur Runolfsson <peturr02@ru.is>
2232 * include/bits/streambuf.tcc (__copy_streambufs):
2233 Don't conditionalize the copy to __testput.
2234 * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
2236 2002-02-11 DJ Delorie <dj@redhat.com>
2238 * acinclude.m4: Check for native targets that can't link at
2239 this point in the build.
2240 * aclocal.m4: Regenerate.
2241 * configure: Regenerate.
2243 2003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2245 * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
2247 (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
2250 2003-02-07 Paolo Carlini <pcarlini@unitus.it>
2252 * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
2253 unsigned char platforms.
2255 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
2258 * include/std/std_istream.h
2259 (basic_istream::sentry::operator bool()): Make const.
2260 * include/std/std_ostream.h
2261 (basic_ostream::sentry::operator bool()): Likewise.
2262 * testsuite/27_io/istream_sentry.cc (test03): Add.
2263 * testsuite/27_io/ostream_sentry.cc: Add.
2265 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
2268 Implement resolution of DR 231 (Ready)
2269 * include/bits/locale_facets.h (__num_base::_S_format_float):
2270 Change declaration: return void, remove __prec parameter.
2271 * src/locale.cc (__num_base::_S_format_float): Implement
2272 resolution of DR 231.
2273 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
2274 Tweak uses. Check for negative precision.
2275 * testsuite/22_locale/num_put/put/char/6.cc: Add
2276 * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
2278 2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
2280 * config/io/basic_file_libio.h: Fixups.
2281 * config/io/c_io_libio.h: Same.
2282 * libio/Makefile.am: Same.
2283 * libio/Makefile.in: Regenerated.
2285 2003-02-06 Benjamin Kosnik <bkoz@redhat.com>
2287 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
2288 Explicitly use the "C" locale.
2289 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
2291 2003-02-06 Petur Runolfsson <peturr02@ru.is>
2295 PR libstdc++/9028 (partial)
2301 (codecvt<wchar_t, char, mbstate_t>::do_encoding,
2302 codecvt<wchar_t, char, mbstate_t>::do_length,
2303 codecvt<wchar_t, char, mbstate_t>::do_max_length):
2305 * config/locale/generic/codecvt_members.cc: ...here.
2306 * config/locale/gnu/codecvt_members.cc: ...and here.
2308 * config/locale/generic/codecvt_members.cc,
2309 * config/locale/gnu/codecvt_members.cc
2310 (codecvt<wchar_t, char, mbstate_t>::do_encoding
2311 codecvt<wchar_t, char, mbstate_t>::do_in,
2312 codecvt<wchar_t, char, mbstate_t>::do_length,
2313 codecvt<wchar_t, char, mbstate_t>::do_max_length,
2314 codecvt<wchar_t, char, mbstate_t>::do_out):
2315 New implementation that handles stateless encodings,
2318 * config/locale/generic/codecvt_members.cc,
2319 * config/locale/gnu/codecvt_members.cc,
2320 * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
2321 * include/bits/codecvt.h,
2323 (codecvt::length, codecvt::do_length):
2324 Change type of first argument of length and do_length from
2325 'const state_type&' to 'state_type&' according to DR 75.
2327 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Cleanup.
2328 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: New test.
2329 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: New test.
2330 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: New test.
2331 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
2332 Cleanup and check for correct return value from encoding
2334 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: New test.
2335 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: New test.
2336 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: New test.
2337 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Cleanup.
2338 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: New test.
2339 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: New test.
2340 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: New test.
2341 * testsuite/22_locale/codecvt/in/wchar_t/5.cc: New test.
2342 * testsuite/22_locale/codecvt/in/wchar_t/6.cc: New test.
2343 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: New test.
2344 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: New test.
2345 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: New test.
2346 * testsuite/22_locale/codecvt/length/char/1.cc: Cleanup.
2347 * testsuite/22_locale/codecvt/length/char/2.cc: New test.
2348 * testsuite/22_locale/codecvt/length/wchar_t/1.cc: Cleanup.
2349 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: New test.
2350 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: New test.
2351 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: New test.
2352 * testsuite/22_locale/codecvt/length/wchar_t/5.cc: New test.
2353 * testsuite/22_locale/codecvt/length/wchar_t/6.cc: New test.
2354 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: New test.
2355 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Cleanup.
2356 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: New test.
2357 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: New test.
2358 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: New test.
2359 * testsuite/22_locale/codecvt/out/wchar_t/1.cc: Cleanup.
2360 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: New test.
2361 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: New test.
2362 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: New test.
2363 * testsuite/22_locale/codecvt/out/wchar_t/5.cc: New test.
2364 * testsuite/22_locale/codecvt/out/wchar_t/6.cc: New test.
2365 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: New test.
2366 * testsuite/22_locale/codecvt/unicode/1.cc: New test.
2367 * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Cleanup.
2368 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: New test.
2369 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: New test.
2370 * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc: New test.
2372 2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
2374 * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
2375 (money_put::do_put): Same.
2377 2003-02-05 Jerry Quinn <jlquinn@optonline.net>
2379 * include/bits/ios_base.h (ios_base): Document reserved storage.
2381 * include/bits/locale_facets.h: (struct __pad): Comment on
2383 (__verify_grouping): Same.
2384 (__add_grouping): Same.
2385 * include/bits/locale_facets.tcc (__verify_grouping): Move
2386 comments to declaration.
2387 (__add_grouping): Same.
2389 * include/bits/locale_facets.tcc:
2390 (__write<_CharT, _OutIter>): New function.
2391 (__write<_CharT>): New function specialization.
2392 (num_put::_M_insert): Remove explicit loop over iterator. Use
2394 (num_put::_M_widen_float): Remove __basefield.
2395 (num_put::_M_widen_int): Move __basefield to within grouping block.
2397 * include/bits/streambuf_iterator.h: Include <streambuf>.
2398 (ostreambuf_iterator::_M_put): Add.
2400 2003-02-05 Paolo Carlini <pcarlini@unitus.it>
2402 * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
2404 2003-02-04 Nathan Myers <ncm@cantrip.org>
2406 * testsuite/25_algorithms/min_max.cc (test02): Add.
2408 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
2410 PR libstdc++/9439, PR libstdc++/9425
2411 * config/io/basic_file_stdio.cc
2412 (__basic_file<char>::seekoff, seekpos): Return -1L if
2414 * include/bits/fstream.tcc (basic_filebuf::seekoff):
2415 Check _M_file.seekoff return value; always return
2416 pos_type(off_type(-1)) in case of failure.
2417 (basic_filebuf::pbackfail): Check this->seekoff return
2418 value and return traits_type::eof() in case of failure.
2419 * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
2421 2003-02-04 Jerry Quinn <jlquinn@optonline.net>
2423 * include/std/std_ostream.h (ostream::_M_write): Declare.
2424 * ostream.tcc (ostream::_M_write): Define.
2425 (basic_ostream::write): Use it.
2426 (operator<<(basic_ostream, _CharT)): Ditto.
2427 (operator<<(basic_ostream, char)): Ditto.
2428 (operator<<(basic_ostream, _CharT*)): Ditto.
2429 (operator<<(basic_ostream, char*)): Ditto.
2430 (operator<<(basic_ostream, basic_string)): Ditto.
2432 2003-02-04 Benjamin Kosnik <bkoz@redhat.com>
2434 * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
2436 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
2438 * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
2439 add HTML comment about updating links if numbering changes.
2441 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
2444 * include/bits/streambuf.tcc (sputbackc): Access
2445 this->gptr()[-1] only if _M_in_beg < _M_in_cur.
2446 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
2448 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
2451 * include/bits/fstream.tcc (open): If the 'ate' repositioning
2452 operation fails, calls close _and_ returns a null pointer
2453 to indicate failure (27.8.1.3,4).
2454 * testsuite/27_io/filebuf_members.cc (test_06): Add.
2456 2003-02-04 Petur Runolfsson <peturr02@ru.is>
2458 * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
2460 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
2462 * docs/html/27_io/howto.html: New section on stdio_filebuf.
2463 * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
2464 * docs/html/documentation.html: Regenerate.
2466 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
2468 * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
2469 * docs/html/17_intro/porting.html: Regenerate.
2471 2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
2472 Phil Edwards <pme@gcc.gnu.org>
2474 * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
2475 numeric_limits for bits-per-word values.
2476 (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
2477 Use __builtin_popcountl instead.
2478 (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
2479 _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
2480 Use __builtin_ctzl instead.
2481 (_S_bit_count, _S_first_one): Remove.
2482 * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
2483 * src/Makefile.am (sources): Remove bitset.cc.
2484 * src/bitset.cc: Delete file.
2485 * src/Makefile.in: Regenerate.
2487 2003-02-03 Phil Edwards <pme@gcc.gnu.org>
2489 PR libstdc++/9527, PR libstdc++/8713
2490 * docs/html/install.html: Mention glibc version requirement.
2491 * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed
2492 with 3.2.1+ (formatting bugfixes).
2493 * docs/html/faq/index.txt: Regenerate.
2495 2003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2498 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
2501 * include/bits/valarray_before.h (__not_equal_to): Use != instead
2504 * testsuite/26_numerics/valarray_operators.cc: New test.
2506 2003-02-01 Phil Edwards <pme@gcc.gnu.org>
2508 * docs/html/faq/index.html: Correct link to libg++ information.
2509 * docs/html/faq/index.txt: Regenerated.
2511 2003-02-01 Paolo Carlini <pcarlini@unitus.it>
2512 Benjamin Kosnik <bkoz@redhat.com>
2514 Const correctness issue:
2515 http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
2516 * include/bits/locale_classes.h
2517 (locale::_Impl::_M_facets): Change type to const facet**.
2518 (locale::_Impl::_M_install_facet): Change declaration to
2520 (locale::facet::_M_references): Make mutable.
2521 (locale::facet::_M_add_reference): Declare const.
2522 (locale::facet::_M_remove_reference): Likewise.
2523 * include/bits/locale_facets.tcc
2524 (use_facet(const locale&)): Tweak for const facet** _M_facets.
2525 (has_facet(const locale&)): Likewise.
2527 (locale::facet::_M_add_reference): Adjust definition.
2528 (locale::facet::_M_remove_reference): Likewise.
2530 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
2531 const facet** _M_facets.
2532 (locale::_Impl::_Impl(const char*, size_t)): Likewise.
2533 (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
2534 (locale::_Impl::_M_install_facet): Adjust definition to take
2535 const facet* and for const facet** _M_facets.
2536 * testsuite/22_locale/locale/cons/8.cc: Add.
2538 2003-01-29 Mark Mitchell <mark@codesourcery.com>
2540 * include/std/std_limits.h (numeric_limits<float>::has_infinity):
2541 Use __FLT_HAS_INIFINITY__ to initialize.
2542 (numeric_limits<float>::has_quiet_NaN): Likewise.
2543 (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
2545 (numeric_limits<double>::has_quiet_NaN): Likewise.
2546 (numeric_limits<long double>::has_infinity): Use
2547 __LDBL_HAS_INIFINITY__ to initialize.
2548 (numeric_limits<long_double>::has_quiet_NaN): Likewise.
2550 2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
2553 * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
2554 with bases which are very ambiguous.
2556 2003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
2558 * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
2559 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
2560 * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
2561 * src/Makefile.in: Regenerate.
2562 * libsupc++/Makefile.in: Regenerate.
2564 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
2566 * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
2567 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
2568 version_specific_libs is enabled.
2569 * aclocal.m4, configure: Rebuilt.
2571 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
2573 * include/bits/valarray_meta.h: Remove, split into ...
2574 * include/bits/valarray_before.h: ... this, and ...
2575 * include/bits/valarray_after.h: ... this.
2576 * include/std/std_valarray.h: Adjust.
2577 * include/Makefile.am (bits_headers): Adjust.
2578 * include/Makefile.in: Regenerate.
2580 2003-01-24 Andreas Schwab <schwab@suse.de>
2582 * config/linker-map.gnu: Fix for size_t variance.
2584 2003-01-23 Petur Runolfsson <peturr02@ru.is>
2587 * include/std/std_streambuf.h
2588 (basic_streambuf::basic_streambuf,
2589 basic_streambuf::~basic_streambuf,
2590 basic_streambuf::getloc, basic_streambuf::imbue):
2591 Remove _M_buf_locale_init
2592 * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
2593 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
2594 * testsuite/27_io/streambuf_members.cc (test08): Add.
2595 * testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
2597 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
2599 Revert include ordering.
2600 * config/locale/generic/c_locale.h: Add include guards.
2601 * config/locale/gnu/c_locale.h: Same.
2602 * include/bits/locale_classes.h: Remove cctype include.
2603 * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
2604 * include/std/std_fstream.h: Remove streambuf include.
2605 * include/std/std_sstream.h: Remove streambuf include.
2607 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
2609 * configure.in (libtool_VERSION): To 6:0:0.
2610 * configure: Regenerated.
2611 * config/linker-map.gnu: Clean.
2613 * src/misc-inst.cc: Remove instantiations.
2615 * include/bits/stl_alloc.h (__malloc_alloc_template):
2617 (__default_alloc_template): To __pool_alloc.
2618 * src/stl-inst.cc: Same.
2619 * include/backward/alloc.h: Update.
2620 * testsuite/ext/allocators.cc: Update.
2622 * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
2623 really try to remove these if possible.
2624 * src/locale.cc (std): Same.
2626 * testsuite/abi_check.cc (check_version): Add.
2628 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
2629 Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
2630 Mark Mitchell <mark@codesourcery.com>
2633 * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
2634 (basic_filebuf::underflow): Declare.
2637 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
2639 * include/bits/locale_facets.h: Move non-facet classes requiring
2641 * include/bits/locale_classes.h: New.
2642 * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
2643 * include/bits/Makefile.in: Regenerate.
2645 * include/bits/locale_facets.tcc (__convert_from_v): Move to...
2646 * config/locale/gnu/c_locale.h: ...here.
2647 * config/locale/generic/c_locale.h: Same.
2649 * include/bits/locale_facets.tcc: Move declarations to...
2650 * include/bits/locale_facets.h: ...here.
2651 * include/bits/basic_ios.h: Tweak includes accordingly.
2652 * include/std/std_sstream.h: Add streambuf include.
2653 * include/std/std_fstream.h: Ditto.
2654 * include/std/std_locale.h: Add locale_classes.h include.
2655 * include/std/std_iosfwd.h: Tweak.
2656 * src/concept-inst.cc: Add iterator include.
2658 * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
2659 bits as unexported in the future.
2661 2003-01-21 Benjamin Kosnik <bkoz@redhat.com>
2663 Reshuffle 22_locale testsuite.
2664 * 22_locale/(codecvt.cc money_get.cc
2665 codecvt_members_char_char.cc money_get_members_char.cc
2666 codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
2667 codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
2668 codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
2669 moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
2670 collate_members_char.cc money_put.cc collate_members_wchar_t.cc
2671 money_put_members_char.cc ctor_copy_dtor.cc
2672 money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
2673 num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
2674 ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
2675 numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
2676 ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
2677 num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
2678 ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
2679 operators.cc ctype_widen_char.cc static_members.cc
2680 ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
2681 global_templates.cc time_get_members_wchar_t.cc, members.cc,
2682 time_put.cc, messages_byname.cc, time_put_members_char.cc,
2683 messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
2684 Split up into individual test cases...
2685 * 22_locale/codecvt/1.cc: New.
2686 * 22_locale/codecvt/2.cc: New.
2687 * 22_locale/codecvt/always_noconv/char/1.cc: New.
2688 * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
2689 * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
2690 * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
2691 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
2692 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
2693 * 22_locale/codecvt/encoding/char/1.cc: New.
2694 * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
2695 * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
2696 * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
2697 * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
2698 * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
2699 * 22_locale/codecvt/in/char/1.cc: New.
2700 * 22_locale/codecvt/in/char/wrapped_env.cc: New.
2701 * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
2702 * 22_locale/codecvt/in/wchar_t/1.cc: New.
2703 * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
2704 * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
2705 * 22_locale/codecvt/length/char/1.cc: New.
2706 * 22_locale/codecvt/length/char/wrapped_env.cc: New.
2707 * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
2708 * 22_locale/codecvt/length/wchar_t/1.cc: New.
2709 * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
2710 * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
2711 * 22_locale/codecvt/max_length/char/1.cc: New.
2712 * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
2713 * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
2714 * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
2715 * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
2716 * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
2717 * 22_locale/codecvt/out/char/1.cc: New.
2718 * 22_locale/codecvt/out/char/wrapped_env.cc: New.
2719 * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
2720 * 22_locale/codecvt/out/wchar_t/1.cc: New.
2721 * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
2722 * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
2723 * 22_locale/codecvt/unicode/char.cc: New.
2724 * 22_locale/codecvt/unicode/wchar_t.cc: New.
2725 * 22_locale/codecvt/unshift/char/1.cc: New.
2726 * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
2727 * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
2728 * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
2729 * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
2730 * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
2731 * 22_locale/collate/1.cc: New.
2732 * 22_locale/collate/2.cc: New.
2733 * 22_locale/collate/compare/char/1.cc: New.
2734 * 22_locale/collate/compare/char/2.cc: New.
2735 * 22_locale/collate/compare/char/wrapped_env.cc: New.
2736 * 22_locale/collate/compare/char/wrapped_locale.cc: New.
2737 * 22_locale/collate/compare/wchar_t/1.cc: New.
2738 * 22_locale/collate/compare/wchar_t/2.cc: New.
2739 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
2740 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
2741 * 22_locale/collate/hash/char/1.cc: New.
2742 * 22_locale/collate/hash/char/2.cc: New.
2743 * 22_locale/collate/hash/char/wrapped_env.cc: New.
2744 * 22_locale/collate/hash/char/wrapped_locale.cc: New.
2745 * 22_locale/collate/hash/wchar_t/1.cc: New.
2746 * 22_locale/collate/hash/wchar_t/2.cc: New.
2747 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
2748 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
2749 * 22_locale/collate/transform/char/2.cc: New.
2750 * 22_locale/collate/transform/char/wrapped_env.cc: New.
2751 * 22_locale/collate/transform/char/wrapped_locale.cc: New.
2752 * 22_locale/collate/transform/wchar_t/2.cc: New.
2753 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
2754 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
2755 * 22_locale/collate_byname/1.cc: New.
2756 * 22_locale/ctype/1.cc: New.
2757 * 22_locale/ctype/2.cc: New.
2758 * 22_locale/ctype/cons/char/1.cc: New.
2759 * 22_locale/ctype/cons/char/wrapped_env.cc: New.
2760 * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
2761 * 22_locale/ctype/is/char/1.cc: New.
2762 * 22_locale/ctype/is/char/2.cc: New.
2763 * 22_locale/ctype/is/char/3.cc: New.
2764 * 22_locale/ctype/is/char/wrapped_env.cc: New.
2765 * 22_locale/ctype/is/char/wrapped_locale.cc: New.
2766 * 22_locale/ctype/is/wchar_t/1.cc: New.
2767 * 22_locale/ctype/is/wchar_t/2.cc: New.
2768 * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
2769 * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
2770 * 22_locale/ctype/narrow/char/1.cc: New.
2771 * 22_locale/ctype/narrow/char/2.cc: New.
2772 * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
2773 * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
2774 * 22_locale/ctype/narrow/wchar_t/1.cc: New.
2775 * 22_locale/ctype/narrow/wchar_t/2.cc: New.
2776 * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
2777 * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
2778 * 22_locale/ctype/scan/char/1.cc: New.
2779 * 22_locale/ctype/scan/char/wrapped_env.cc: New.
2780 * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
2781 * 22_locale/ctype/scan/wchar_t/1.cc: New.
2782 * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
2783 * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
2784 * 22_locale/ctype/to/char/1.cc: New.
2785 * 22_locale/ctype/to/char/wrapped_env.cc: New.
2786 * 22_locale/ctype/to/char/wrapped_locale.cc: New.
2787 * 22_locale/ctype/to/wchar_t/1.cc: New.
2788 * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
2789 * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
2790 * 22_locale/ctype/widen/char/1.cc: New.
2791 * 22_locale/ctype/widen/char/wrapped_env.cc: New.
2792 * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
2793 * 22_locale/ctype/widen/wchar_t/1.cc: New.
2794 * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
2795 * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
2796 * 22_locale/facet/1.cc: New.
2797 * 22_locale/facet/2.cc: New.
2798 * 22_locale/global_templates/1.cc: New.
2799 * 22_locale/locale/cons/1.cc: New.
2800 * 22_locale/locale/cons/2.cc: New.
2801 * 22_locale/locale/cons/3.cc: New.
2802 * 22_locale/locale/cons/4.cc: New.
2803 * 22_locale/locale/cons/5.cc: New.
2804 * 22_locale/locale/cons/6.cc: New.
2805 * 22_locale/locale/cons/7.cc: New.
2806 * 22_locale/locale/global_locale_objects/1.cc: New.
2807 * 22_locale/locale/global_locale_objects/2.cc: New.
2808 * 22_locale/locale/global_locale_objects/3.cc: New.
2809 * 22_locale/locale/operations/1.cc: New.
2810 * 22_locale/locale/operations/2.cc: New.
2811 * 22_locale/messages/1.cc: New.
2812 * 22_locale/messages/2.cc: New.
2813 * 22_locale/messages/members/char/1.cc: New.
2814 * 22_locale/messages/members/char/2.cc: New.
2815 * 22_locale/messages/members/char/3.cc: New.
2816 * 22_locale/messages/members/char/wrapped_env.cc: New.
2817 * 22_locale/messages/members/char/wrapped_locale.cc: New.
2818 * 22_locale/messages_byname/1.cc: New.
2819 * 22_locale/money_get/1.cc: New.
2820 * 22_locale/money_get/2.cc: New.
2821 * 22_locale/money_get/get/char/1.cc: New.
2822 * 22_locale/money_get/get/char/2.cc: New.
2823 * 22_locale/money_get/get/char/3.cc: New.
2824 * 22_locale/money_get/get/char/4.cc: New.
2825 * 22_locale/money_get/get/char/5.cc: New.
2826 * 22_locale/money_get/get/char/6.cc: New.
2827 * 22_locale/money_get/get/char/7.cc: New.
2828 * 22_locale/money_get/get/char/8.cc: New.
2829 * 22_locale/money_get/get/char/wrapped_env.cc: New.
2830 * 22_locale/money_get/get/char/wrapped_locale.cc: New.
2831 * 22_locale/money_get/get/wchar_t/1.cc: New.
2832 * 22_locale/money_get/get/wchar_t/2.cc: New.
2833 * 22_locale/money_get/get/wchar_t/3.cc: New.
2834 * 22_locale/money_get/get/wchar_t/4.cc: New.
2835 * 22_locale/money_get/get/wchar_t/5.cc: New.
2836 * 22_locale/money_get/get/wchar_t/6.cc: New.
2837 * 22_locale/money_get/get/wchar_t/7.cc: New.
2838 * 22_locale/money_get/get/wchar_t/8.cc: New.
2839 * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
2840 * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
2841 * 22_locale/money_put/1.cc: New.
2842 * 22_locale/money_put/2.cc: New.
2843 * 22_locale/money_put/put/char/1.cc: New.
2844 * 22_locale/money_put/put/char/2.cc: New.
2845 * 22_locale/money_put/put/char/3.cc: New.
2846 * 22_locale/money_put/put/char/4.cc: New.
2847 * 22_locale/money_put/put/char/5.cc: New.
2848 * 22_locale/money_put/put/char/6.cc: New.
2849 * 22_locale/money_put/put/char/wrapped_env.cc: New.
2850 * 22_locale/money_put/put/char/wrapped_locale.cc: New.
2851 * 22_locale/money_put/put/wchar_t/1.cc: New.
2852 * 22_locale/money_put/put/wchar_t/2.cc: New.
2853 * 22_locale/money_put/put/wchar_t/3.cc: New.
2854 * 22_locale/money_put/put/wchar_t/4.cc: New.
2855 * 22_locale/money_put/put/wchar_t/5.cc: New.
2856 * 22_locale/money_put/put/wchar_t/6.cc: New.
2857 * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
2858 * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
2859 * 22_locale/moneypunct/1.cc: New.
2860 * 22_locale/moneypunct/2.cc: New.
2861 * 22_locale/moneypunct/3.cc: New.
2862 * 22_locale/moneypunct/members/char/1.cc: New.
2863 * 22_locale/moneypunct/members/char/2.cc: New.
2864 * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
2865 * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
2866 * 22_locale/moneypunct/members/wchar_t/1.cc: New.
2867 * 22_locale/moneypunct/members/wchar_t/2.cc: New.
2868 * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
2869 * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
2870 * 22_locale/moneypunct_byname/1.cc: New.
2871 * 22_locale/num_get/1.cc: New.
2872 * 22_locale/num_get/2.cc: New.
2873 * 22_locale/num_get/get/char/1.cc: New.
2874 * 22_locale/num_get/get/char/2.cc: New.
2875 * 22_locale/num_get/get/char/3.cc: New.
2876 * 22_locale/num_get/get/char/4.cc: New.
2877 * 22_locale/num_get/get/char/5.cc: New.
2878 * 22_locale/num_get/get/char/6.cc: New.
2879 * 22_locale/num_get/get/char/wrapped_env.cc: New.
2880 * 22_locale/num_get/get/char/wrapped_locale.cc: New.
2881 * 22_locale/num_get/get/wchar_t/1.cc: New.
2882 * 22_locale/num_get/get/wchar_t/2.cc: New.
2883 * 22_locale/num_get/get/wchar_t/3.cc: New.
2884 * 22_locale/num_get/get/wchar_t/4.cc: New.
2885 * 22_locale/num_get/get/wchar_t/5.cc: New.
2886 * 22_locale/num_get/get/wchar_t/6.cc: New.
2887 * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
2888 * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
2889 * 22_locale/num_put/1.cc: New.
2890 * 22_locale/num_put/2.cc: New.
2891 * 22_locale/num_put/put/char/1.cc: New.
2892 * 22_locale/num_put/put/char/2.cc: New.
2893 * 22_locale/num_put/put/char/3.cc: New.
2894 * 22_locale/num_put/put/char/4.cc: New.
2895 * 22_locale/num_put/put/char/5.cc: New.
2896 * 22_locale/num_put/put/char/wrapped_env.cc: New.
2897 * 22_locale/num_put/put/char/wrapped_locale.cc: New.
2898 * 22_locale/num_put/put/wchar_t/1.cc: New.
2899 * 22_locale/num_put/put/wchar_t/2.cc: New.
2900 * 22_locale/num_put/put/wchar_t/3.cc: New.
2901 * 22_locale/num_put/put/wchar_t/4.cc: New.
2902 * 22_locale/num_put/put/wchar_t/5.cc: New.
2903 * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
2904 * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
2905 * 22_locale/numpunct/1.cc: New.
2906 * 22_locale/numpunct/2.cc: New.
2907 * 22_locale/numpunct/members/char/1.cc: New.
2908 * 22_locale/numpunct/members/char/2.cc: New.
2909 * 22_locale/numpunct/members/char/wrapped_env.cc: New.
2910 * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
2911 * 22_locale/numpunct/members/wchar_t/1.cc: New.
2912 * 22_locale/numpunct/members/wchar_t/2.cc: New.
2913 * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
2914 * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
2915 * 22_locale/numpunct_byname/1.cc: New.
2916 * 22_locale/numpunct_byname/2.cc: New.
2917 * 22_locale/time_get/1.cc: New.
2918 * 22_locale/time_get/2.cc: New.
2919 * 22_locale/time_get/date_order/char/1.cc: New.
2920 * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
2921 * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
2922 * 22_locale/time_get/date_order/wchar_t/1.cc: New.
2923 * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
2924 * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
2925 * 22_locale/time_get/get_date/char/1.cc: New.
2926 * 22_locale/time_get/get_date/char/2.cc: New.
2927 * 22_locale/time_get/get_date/char/3.cc: New.
2928 * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
2929 * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
2930 * 22_locale/time_get/get_date/wchar_t/1.cc: New.
2931 * 22_locale/time_get/get_date/wchar_t/2.cc: New.
2932 * 22_locale/time_get/get_date/wchar_t/3.cc: New.
2933 * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
2934 * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
2935 * 22_locale/time_get/get_monthname/char/1.cc: New.
2936 * 22_locale/time_get/get_monthname/char/2.cc: New.
2937 * 22_locale/time_get/get_monthname/char/3.cc: New.
2938 * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
2939 * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
2940 * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
2941 * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
2942 * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
2943 * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
2944 * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
2945 * 22_locale/time_get/get_time/char/1.cc: New.
2946 * 22_locale/time_get/get_time/char/2.cc: New.
2947 * 22_locale/time_get/get_time/char/3.cc: New.
2948 * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
2949 * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
2950 * 22_locale/time_get/get_time/wchar_t/1.cc: New.
2951 * 22_locale/time_get/get_time/wchar_t/2.cc: New.
2952 * 22_locale/time_get/get_time/wchar_t/3.cc: New.
2953 * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
2954 * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
2955 * 22_locale/time_get/get_weekday/char/1.cc: New.
2956 * 22_locale/time_get/get_weekday/char/2.cc: New.
2957 * 22_locale/time_get/get_weekday/char/3.cc: New.
2958 * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
2959 * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
2960 * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
2961 * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
2962 * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
2963 * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
2964 * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
2965 * 22_locale/time_get/get_year/char/1.cc: New.
2966 * 22_locale/time_get/get_year/char/3.cc: New.
2967 * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
2968 * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
2969 * 22_locale/time_get/get_year/wchar_t/1.cc: New.
2970 * 22_locale/time_get/get_year/wchar_t/3.cc: New.
2971 * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
2972 * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
2973 * 22_locale/time_put/1.cc: New.
2974 * 22_locale/time_put/2.cc: New.
2975 * 22_locale/time_put/put/char/1.cc: New.
2976 * 22_locale/time_put/put/char/10.cc: New.
2977 * 22_locale/time_put/put/char/2.cc: New.
2978 * 22_locale/time_put/put/char/3.cc: New.
2979 * 22_locale/time_put/put/char/4.cc: New.
2980 * 22_locale/time_put/put/char/5.cc: New.
2981 * 22_locale/time_put/put/char/6.cc: New.
2982 * 22_locale/time_put/put/char/7.cc: New.
2983 * 22_locale/time_put/put/char/8.cc: New.
2984 * 22_locale/time_put/put/char/9.cc: New.
2985 * 22_locale/time_put/put/char/wrapped_env.cc: New.
2986 * 22_locale/time_put/put/char/wrapped_locale.cc: New.
2987 * 22_locale/time_put/put/wchar_t/1.cc: New.
2988 * 22_locale/time_put/put/wchar_t/10.cc: New.
2989 * 22_locale/time_put/put/wchar_t/2.cc: New.
2990 * 22_locale/time_put/put/wchar_t/3.cc: New.
2991 * 22_locale/time_put/put/wchar_t/4.cc: New.
2992 * 22_locale/time_put/put/wchar_t/5.cc: New.
2993 * 22_locale/time_put/put/wchar_t/6.cc: New.
2994 * 22_locale/time_put/put/wchar_t/7.cc: New.
2995 * 22_locale/time_put/put/wchar_t/8.cc: New.
2996 * 22_locale/time_put/put/wchar_t/9.cc: New.
2997 * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
2998 * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
3000 2003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
3002 * config/locale/generic/messages_members.h
3003 (messages_byname<_CharT>::messages_byname): Use this-> to refer to
3004 unqualified members of base clasess.
3006 2003-01-16 Mark Mitchell <mark@codesourcery.com>
3007 Jeffrey Oldham <oldham@codesourcery.com>
3009 * config/locale/gnu/messages_members.h: Use this-> to refer to
3010 unqualified members of base clasess.
3011 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
3012 * include/bits/codecvt.h: Likewise.
3013 * include/bits/deque.tcc: Likewise.
3014 * include/bits/fstream.tcc: Likewise.
3015 * include/bits/istream.tcc: Likewise.
3016 * include/bits/list.tcc: Likewise.
3017 * include/bits/locale_facets.h: Likewise.
3018 * include/bits/ostream.tcc: Likewise.
3019 * include/bits/sstream.tcc: Likewise.
3020 * include/bits/stl_bvector.h: Likewise.
3021 * include/bits/stl_deque.h: Likewise.
3022 * include/bits/stl_list.h: Likewise.
3023 * include/bits/stl_tree.h: Likewise.
3024 * include/bits/stl_vector.h: Likewise.
3025 * include/bits/vector.tcc: Likewise.
3026 * include/ext/ropeimpl.h: Likewise.
3027 * include/ext/stdio_filebuf.h: Likewise.
3028 * include/ext/stl_rope.h: Likewise.
3029 * include/std/std_fstream.h: Likewise.
3030 * include/std/std_sstream.h: Likewise.
3032 2003-01-15 Phil Edwards <pme@gcc.gnu.org>
3034 * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
3036 2003-01-15 Benjamin Kosnik <bkoz@redhat.com>
3038 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
3039 GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
3040 * aclocal.m4: Regenerate.
3041 * configure: Regenerate.
3042 * testsuite/Makefile.am (all-local): Add conditional rule to
3043 generate testsuite_wchar_t.
3044 * testsuite/Makefile.in: Regenerate.
3045 * testsuite/lib/libstdc++-v3-dg.exp
3046 (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
3047 testsuite_wchar_t is not present in the build directory.
3048 * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
3049 Remove setulimit bits.
3050 * testsuite/26_numerics/complex_value.cc: Set to noopts.
3051 * testsuite/Makefile.am (CLEANFILES): Add.
3052 * testsuite/Makefile.in: Regenerate.
3054 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
3056 * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
3059 2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
3061 Further conform g++'s __vmi_class_type_info to the C++ ABI
3063 * libsupc++/cxxabi.h
3064 (__vmi_class_type_info::__flags_masks): Remove enumerations not
3065 required by the specification.
3067 2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
3069 Renames, namespaces for testsuite utilities.
3070 * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
3071 (gnu_allocator_tracker): Rename to allocation_tracker.
3072 (gnu_new_allocator): Rename to tracker_alloc.
3073 (__set_testsuite_memlimit): Rename to set_memory_limits.
3074 (gnu_assignment_operator): Rename to assignment_operator.
3075 (gnu_destructor): Rename to destructor.
3076 (gnu_copy_tracker): Rename to copy_tracker.
3077 (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
3078 (run_tests_wrapped_locale): New.
3079 (run_tests_wrapped_env): New.
3080 * testsuite/testsuite_hooks.cc: Same.
3081 (class locale_data): Add.
3082 (class enviornment_variable): Add.
3083 (class not_found): Add.
3084 * testsuite/testsuite_allocator.h: Same.
3085 * testsuite/testsuite_allocator.cc: Same.
3086 * testsuite/23_containers/deque_ctor.cc
3087 (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
3089 Change gnu_new_allocator to tracker_alloc.
3090 Change gnu_counting_struct to counter.
3091 Change gnu_copy_tracker to copy_tracker.
3092 Change gnu_copy_constructor to copy_constructor.
3093 Change gnu_assignment_operator to assignment_operator.
3095 * testsuite/23_containers/vector_capacity.cc: Same.
3096 * testsuite/23_containers/vector_ctor.cc (test01): Same.
3097 * testsuite/23_containers/list_modifiers.cc: Change
3098 gnu_copy_tracker to copy_tracker.
3099 * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
3100 __set_testsuite_memlimit to set_memory_limits.
3101 * testsuite/21_strings/insert.cc (main): Same.
3102 * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
3103 * testsuite/27_io/stringstream.cc: Same.
3104 * testsuite/27_io/stringbuf.cc: Same.
3105 * testsuite/27_io/streambuf.cc: Same.
3106 * testsuite/27_io/ostream.cc: Same.
3107 * testsuite/27_io/istream.cc: Same.
3108 * testsuite/27_io/fstream.cc: Same.
3109 * testsuite/lib/libstdc++-v3-dg.exp
3110 (libstdc++-v3-list-sourcefiles): Additionally handle files two and
3111 three levels deeper in glob patterns.
3113 2003-01-11 Phil Edwards <pme@gcc.gnu.org>
3115 * docs/doxygen/tables.html: Finished now.
3116 * docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
3117 * include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
3120 * include/bits/deque.tcc, include/bits/stl_alloc.h,
3121 include/bits/stl_deque.h, include/bits/stl_list.h,
3122 include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
3125 2003-01-09 Benjamin Kosnik <bkoz@redhat.com>
3127 * configure.in: Revert.
3128 * configure: Regenerate.
3130 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
3132 * include/Makefile.am (install-data-local): Prepend
3133 $(DESTDIR) to destination paths in all (un)installation
3134 commands. Use ${c_base_builddir} and ${std_builddir}
3135 as destination subdirectories to achieve consistency with
3136 preceding mkinstalldirs commands. No effect because both
3137 variables contain "." only.
3138 * include/Makefile.in: Regenerate.
3140 2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
3142 * include/Makefile.am (stamp-*): Add checks for existing stamps.
3143 * include/Makefile.in: Regenerate.
3145 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
3146 * aclocal.m4: Regenerate.
3148 * configure.in: Don't add new multi-do rules every time the
3149 directory is reconfigured.
3150 * configure: Regenerate.
3152 2003-01-08 Brad Spencer <spencer@infointeractive.com>
3153 Nathan Myers <ncm@cantrip.org>
3155 * src/Makefile.am (stamp-debug): Clean.
3156 * src/Makefile.in: Regenerate.
3158 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
3161 * Makefile.am (distclean-multi): Fix.
3162 * Makefile.in: Regenerate.
3164 2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
3166 * include/bits/locale_facets.h (messages): Move ctor, dtor
3168 (__timepunct): Same.
3169 * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
3170 definitions. Conditionalize for GNU systems.
3171 * config/locale/generic/messages_members.h (messages): Add dtor, ctor
3173 * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
3174 definitions. Conditionalize for GNU systems.
3175 * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
3177 * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
3178 * src/locale.cc: Define.
3179 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
3181 * config/locale/gnu/time_members.h: Use it.
3182 * config/locale/gnu/messages_members.h: Use it.
3183 * config/linker-map.gnu: Add locale::facets details.
3184 * include/Makefile.am (target_headers_extra): Add time_members.h.
3185 * include/Makefile.in: Regenerate.
3186 * acinclude.m4: Export CTIME_H.
3187 * aclocal.m4: Regenerate.
3188 * configure: Regnerate.
3190 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
3193 (codecvt<char, char, mbstate_t>::do_in, do_out):
3194 Tweak parameters to avoid unused parameter warnings.
3196 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
3199 * include/bits/locale_facets.cc (num_put::_M_convert_float):
3200 Limit __prec to digits10 + 2, not digits10 + 1, taking into
3201 account the possibility of %{g,G} conversion specifiers
3202 inside _S_format_float.
3203 * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
3205 2003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3207 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
3208 libstdc++-v3-list-sourcefiles): Additionally handle files one
3209 level deeper in glob patterns.
3211 * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
3212 * testsuite/27_io/istream_extractor_arith/01.cc,
3213 testsuite/27_io/istream_extractor_arith/02.cc,
3214 testsuite/27_io/istream_extractor_arith/03.cc,
3215 testsuite/27_io/istream_extractor_arith/06.cc,
3216 testsuite/27_io/istream_extractor_arith/07.cc,
3217 testsuite/27_io/istream_extractor_arith/08.cc,
3218 testsuite/27_io/istream_extractor_arith/09.cc,
3219 testsuite/27_io/istream_extractor_arith/10.cc,
3220 testsuite/27_io/istream_extractor_arith/11.cc,
3221 testsuite/27_io/istream_extractor_arith/12.cc,
3222 testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
3223 * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
3226 2003-01-05 Paolo Carlini <pcarlini@unitus.it>
3230 (codecvt<char, char, mbstate_t>::do_in, do_out):
3231 Implement the resolution of DR19 (TC).
3232 * testsuite/22_locale/codecvt_members_char_char.cc
3235 2003-01-02 Jason Merrill <jason@redhat.com>
3237 * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
3238 *__mem is also an output.
3239 * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.