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