1 2003-10-16 Paolo Carlini <pcarlini@suse.de>
3 * src/locale.cc (locale::locale(const char*)): ... one
4 more comparison missed in the previous commit.
6 2003-10-16 Benjamin Kosnik <bkoz@redhat.com>
8 * acconfig.h: Add HAVE_DRAND48 and HAVE_ISATTY.
9 * aclocal.m4: Regenerated.
10 * config.h.in: Regenerated.
12 2003-10-16 Bernardo Innocenti <bernie@develer.com>
14 * config/cpu/m68k/atomicity.h (__exchange_and_add): Use TAS on
15 __mcf5400__. Don't rely on __mc68000__ to detect a bare 68000.
16 Document SMP safeness of asm macros.
18 2003-10-16 Paolo Carlini <pcarlini@suse.de>
20 * src/locale.cc (locale::locale(const char*)): Tweak
21 a couple of comparisons to use basic_string operators.
23 2003-10-16 Paolo Carlini <pcarlini@suse.de>
26 * config/locale/gnu/monetary_members.cc
27 (moneypunct<wchar_t, true/false>::_M_initialize_moneypunct):
28 Don't leak memory if new throws.
29 * src/locale.cc (locale::locale(const char*)): In order not
30 to leak memory in case new throws, use a basic_string type
31 for __res too and avoid strdup.
33 2003-10-14 Jeff Bailey <jbailey@nisa.net>
36 * crossconfig.m4: Share the config between *-linux* and *-gnu*.
37 * configure: Regenerate.
39 2003-10-14 Carlo Wood <carlo@alinoe.com>
42 * include/bits/demangle.h (session<Allocator>::
43 decode_unqualified_name(string_type& output)): Fail on a
44 <operator-name> when decoding <template-argument>.
45 * testsuite/demangle/regression/cw-15.cc: New.
47 2003-10-14 Paolo Carlini <pcarlini@unitus.it>
50 * include/bits/stl_algo.h (unique): Fix.
51 * testsuite/25_algorithms/unique.cc: Move to unique/1.cc.
52 * testsuite/25_algorithms/unique/11480.cc: New, from the PR.
53 * testsuite/25_algorithms/unique/2.cc: New.
55 2003-10-14 Paolo Carlini <pcarlini@unitus.it>
57 * src/localename.cc (_M_replace_categories, M_replace_facet):
58 Const-ify a couple of variables.
60 2003-10-14 Petur Runolfsson <peturr02@ru.is>
61 Andreas Tobler <a.tobler@schweiz.ch>
63 * src/locale.cc (locale::_S_initialize): Workaround a confusion
64 of the use of the gthr API when __gthread_active_p() returns true.
66 2003-10-12 Petur Runolfsson <peturr02@ru.is>
67 Paolo Carlini <pcarlini@unitus.it>
70 * src/strstream.cc (pbackfail): Fix to use to_int_type.
71 * testsuite/backward/11460.cc: New, from the PR.
73 2003-10-12 Paolo Carlini <pcarlini@unitus.it>
75 * config/locale/ieee_1003.1-2001/codecvt_specializations.h:
76 Change #ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS to a comment.
77 * include/bits/basic_string.tcc: Likewise.
78 * include/bits/ios_base.h: Likewise.
79 * include/bits/istream.tcc: Likewise.
80 * include/bits/locale_facets.tcc: Likewise.
81 * include/bits/ostream.tcc: Likewise.
82 * include/bits/stl_function.h: Likewise.
83 * include/bits/stl_multiset.h: Likewise.
84 * include/bits/stl_pair.h: Likewise.
85 * include/bits/stl_set.h: Likewise.
86 * include/bits/streambuf_iterator.h
87 * include/std/std_iosfwd.h: Likewise.
88 * include/std/std_istream.h: Likewise.
89 * include/std/std_sstream.h: Likewise.
90 * include/std/std_streambuf.h: Likewise.
91 * src/ios.cc: Likewise.
92 * include/bits/c++config:
93 Comment out #define _GLIBCXX_RESOLVE_LIB_DEFECTS 1.
94 * testsuite/27_io/ios_base/cons/assign_neg.cc: Tweak a
95 dg-error directive due to removal of a blank line.
96 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
98 2003-10-12 Andreas Tobler <a.tobler@schweiz.ch>
99 Paolo Carlini <pcarlini@unitus.it>
101 PR libstdc++/11844/11740 (cont)
102 * config/os/generic/ctype_inline.h (ctype<char>::is):
103 Generically, use a bitmasksize of 15 (instead of 10);
104 Fix the logic to actually return (M & m) != 0 as per
107 2003-10-11 Bernardo Innocenti <bernie@develer.com>
109 * crossconfig.m4 (*-uclinux*): New target.
110 * configure: Regenerate.
112 2003-10-10 Paolo Carlini <pcarlini@unitus.it>
114 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT))
115 Avoid unnecessarily calling __builtin_alloca and dealing
116 explicitly with width() smaller than zero.
117 (operator<<(basic_ostream&, char), operator<<(basic_ostream&,
118 const _CharT*), operator<<(basic_ostream<_CharT, _Traits>&,
119 const char*), operator<<(basic_ostream<char, _Traits>&,
120 const char*), operator<<(basic_ostream, const basic_string&)):
123 2003-10-09 Benjamin Kosnik <bkoz@redhat.com>
125 * config/linker-map.gnu: Make more *_type_info bits visible.
126 Move new/delete bits back into GLIBCXX space.
128 * include/bits/locale_classes.h: Move _M_id out of line, so that
129 locale::id::_S_highwater can be removed from the export list.
130 * src/locale.cc (locale::id::_M_id): Define.
132 2003-10-09 Andreas Tobler <a.tobler@schweiz.ch>
134 * testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_64 for
137 2003-10-09 Paolo Carlini <pcarlini@unitus.it>
140 * config/os/aix/ctype_base.h: Fix 'alnum' and 'graph'
141 to conform to the requirements of 22.2.1.
142 * config/os/bsd/freebsd/ctype_base.h: Likewise.
143 * config/os/djgpp/ctype_base.h: Likewise.
144 * config/os/generic/ctype_base.h: Likewise.
145 * config/os/gnu-linux/ctype_base.h: Likewise.
146 * config/os/hpux/ctype_base.h: Likewise.
147 * config/os/irix/irix6.5/ctype_base.h: Likewise.
148 * config/os/solaris/solaris2.6/ctype_base.h: Likewise.
149 * config/os/solaris/solaris2.7/ctype_base.h: Likewise.
150 * testsuite/22_locale/ctype/11844.cc: New.
152 * config/locale/generic/ctype_members.cc (do_is):
153 Generically, use a bitmasksize of 15 (instead of 10), since
154 we don't know the numerical encoding of the various categories
155 in the underlying /usr/include/ctype.h.
157 2003-10-09 Benjamin Kosnik <bkoz@redhat.com>
159 * src/string-inst.cc: Prune.
160 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
161 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
163 2003-10-09 Petur Runolfsson <peturr02@ru.is>
165 * src/io-inst.cc: Don't include iostream.
166 * include/bits/ios_base.h (ios_base::failure): Use string.
167 * src/Makefile.am: Add ios_failure.cc.
168 * src/Makefile.in: Regenerate.
169 * src/ios.cc: Move ios_base::failure definitions to...
170 * src/ios_failure.cc: ...here. New.
172 2003-10-09 Petur Runolfsson <peturr02@ru.is>
175 * include/bits/fstream.tcc (basic_filebuf::seekoff):
176 Move code needed for both seekoff and seekpos...
177 (basic_filebuf::_M_seek): ...here. New function.
178 (basic_filebuf::seekpos): Don't call seekoff, call _M_seek.
179 * include/std/std_fstream.h (basic_filebuf::_M_seek): Declare it.
180 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: New test.
182 * testsuite/22_locale/locale/cons/12438.cc: Increase memory limit.
184 2003-10-08 Paolo Carlini <pcarlini@unitus.it>
186 * include/bits/locale_facets.tcc: More minor cosmetic
187 changes and const-ifications of some variables.
189 2003-10-07 Paolo Carlini <pcarlini@unitus.it>
191 * include/bits/locale_facets.tcc: Minor cosmetic changes
192 and const-ifications of some variables.
194 * include/bits/locale_facets.tcc
195 (money_get::do_get(..., string_type&)): Simplify an if-else.
197 2003-10-06 Paolo Carlini <pcarlini@unitus.it>
200 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is):
201 Fix to actually return (M & m) != 0 as per 22.2.1.1.2.
202 * config/locale/generic/ctype_members.cc: Same.
203 * testsuite/22_locale/ctype/is/wchar_t/11740.cc: New.
205 2003-10-06 Paolo Carlini <pcarlini@unitus.it>
207 * include/bits/locale_facets.tcc (__pad<>::_S_pad):
208 Improve performance-wise: avoid one traits::copy, avoid
209 the __builtin_alloca, streamline.
211 2003-10-05 Paolo Carlini <pcarlini@unitus.it>
213 * include/bits/locale_facets.tcc
214 (num_put::do_put(..., bool)): Prefer ?: to if-else.
215 (time_get::_M_extract_name): Qualify min with std::.
216 (__pad<>::_S_pad): Constify two variables; simplify an
217 if-else statement factoring out some code.
219 * include/bits/locale_facets.tcc: Minor cosmetic changes.
221 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
223 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
224 Constify a couple of variables.
225 (num_get::do_get(..., bool&)): Constify __c; prefer *__beg,
228 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
229 Petur Runolfsson <peturr02@ru.is>
231 * include/ext/stdio_sync_filebuf.h: Don't include the whole
232 <fstream>, only <streambuf> and <cstdio>.
234 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
237 * include/bits/fstream.tcc (imbue): In case a codecvt facet
238 is not available, set _M_codecvt = 0.
239 * testsuite/27_io/basic_filebuf/imbue/12206.cc: New.
241 2003-10-02 Harald Boehme <boehme@informatik.hu-berlin.de>
244 * libsupc++/cxxabi.h: Move forward declaration of __class_type_info.
246 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
248 * include/bits/locale_classes.h (locale::facet::_S_get_c_name): Add.
249 * src/locale.cc: Define.
250 * src/localename.cc: Use it.
251 * config/locale/generic/time_members.h: Same.
252 * config/locale/gnu/messages_members.h: Same.
253 * config/locale/gnu/time_members.h: Same.
255 2003-10-02 Paolo Carlini <pcarlini@unitus.it>
258 * include/bits/fstream.tcc (seekoff): Ignore the openmode
260 * config/io/basic_file_stdio.h (__basic_file<char>::seekoff,
261 seekpos): Remove the openmode argument.
262 * config/io/basic_file_stdio.cc (__basic_file<char>::seekoff,
263 seekpos): Remove redundant placeholder for the openmode argument.
264 * testsuite/27_io/basic_filebuf/seekoff/char/12232.cc: New.
265 * testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Tweak.
266 * testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Likewise.
267 * testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Likewise.
268 * testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Likewise.
270 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
272 * src/locale.cc (locale::_S_initialize): Use __gthread_active_p.
273 (locale::facet::_S_get_c_locale): Same.
275 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
277 * config/linker-map.gnu: Export _S_get_c_locale instead of
280 2003-10-02 Petur Runolfsson <peturr02@ru.is>
282 * config/locale/generic/c_locale.cc
283 (category_names, locale::_S_categories): Const qualify.
284 * config/locale/gnu/c_locale.cc: Same.
285 * config/locale/generic/time_members.h (__timepunct::__timepunct):
286 Copy string contents before assigning to _M_name_timepunct,
287 qualify strcpy and strlen with std::.
288 * config/locale/gnu/time_members.h: Same.
289 * config/locale/gnu/messages_members.h (messages::messages):
290 Copy string contents before assigning to _M_name_messages,
291 qualify strcpy and strlen with std::.
292 * config/os/gnu-linux/ctype_noninline.h
293 (ctype<char>::classic_table()): Don't call locale::classic().
294 * include/bits/locale_classes.h
295 (locale::_S_categories): Const qualify.
296 (locale::_S_once, locale::_S_initialize_once,
297 locale::facet::_S_once, locale::facet::_S_initialize_once,
298 locale::facet::_S_get_c_locale): Declare.
299 (locale::_S_initialize): Don't define.
300 (locale::facet::_S_c_locale): Make private.
301 (locale::facet::_S_c_name): Same, const qualify.
302 (locale::_Impl::_Impl(facet**, size_t, bool)): Drop unused
303 parameters, add throw() specifier.
304 * include/bits/locale_facets.h (__timepunct::_M_name_timepunct,
305 messages::_M_name_messages): Const qualify.
307 (locale::_S_once, locale::facet::_S_once): Define.
308 (locale::classic): Move initialization code...
309 (locale::_S_initialize_once): ...here.
310 (locale::_S_initialize): Call _S_initialize_once through
312 (locale::facet::_S_initialize_once): Initialize _S_c_locale.
313 (locale::facet::_S_get_c_locale): Call _S_initialize_once through
314 __gthread_once before returning _S_c_locale.
315 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool)):
316 Drop unused parameters, add throw() specifier, don't initialize
317 locale::facet::_S_c_locale and _S_c_name.
319 * config/locale/generic/messages_members.h:
320 Replace _S_c_locale with _S_get_c_locale().
321 * config/locale/gnu/c_locale.cc: Same.
322 * config/locale/gnu/messages_members.h: Same.
323 * config/locale/gnu/numeric_members.cc: Same.
324 * config/locale/gnu/time_members.cc: Same.
325 * config/os/gnu-linux/ctype_noninline.h: Same.
326 * include/bits/locale_facets.h: Same.
327 * include/bits/locale_facets.tcc: Same.
328 * src/codecvt.cc: Same.
329 * src/ctype.cc: Same.
331 2003-10-02 Carlo Wood <carlo@alinoe.com>
333 * include/bits/demangle.h (demangle<Allocator>::symbol(char const*)):
334 Decode symbols that start with _GLOBAL_[ID]_ differently: the
335 trailing part ends with a terminating zero and is not necessarily an
337 * src/demangle.cc (): Same.
338 * testsuite/demangle/regression/cw-13.cc: Adjust for new output.
340 2003-10-02 Paolo Carlini <pcarlini@unitus.it>
342 * testsuite/22_locale/locale/cons/12438.cc: Use
343 __gnu_test::try_named_locale("").
345 2003-10-01 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
347 * linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_0): Define.
348 (GLIBCXX_CHECK_STDLIB_SUPPORT): Use it to test for lrand48
350 * acconfig.h (HAVE_DRAND48): Renamed to HAVE_LRAND48.
351 * crossconfig.m4 (*-freebsd*): Define HAVE_LRAND48 instead of
353 * config.h.in, configure: Regenerate.
354 * include/bits/stl_algo.h: Use _GLIBCXX_HAVE_LRAND48 to guard
357 2003-10-01 Nathan Myers <ncm@cantrip.org>
359 * include/bits/locale_facets.tcc (time_put::put): Avoid
360 expensive *__s++, in favor of *__s, ++__s.
362 2003-10-01 Paolo Carlini <pcarlini@unitus.it>
364 * include/bits/locale_facets.tcc (time_put::put): Minor
365 tweak to the previous commit.
367 2003-10-01 Paolo Carlini <pcarlini@unitus.it>
370 * include/bits/locale_facets.tcc (time_put::put): Deal
371 with the three issues pointed out by the PR.
372 * testsuite/22_locale/time_put/put/char/12439_1.cc: New.
373 * testsuite/22_locale/time_put/put/char/12439_3.cc: New.
374 * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: New.
375 * testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: New.
376 * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: New.
378 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
380 * include/bits/stl_algo.h: Minor cosmetic reformattings.
382 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
384 * include/bits/stl_algo.h (search_n): Tweak, to spare the
387 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
389 * testsuite/22_locale/locale/cons/12352.cc: Explicitly
390 qualify exception name.
392 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
395 * include/bits/locale_facets.tcc (locale::combine): Don't
396 leak memory if _M_replace_facet throws.
397 * testsuite/22_locale/locale/cons/12438.cc: New, from the PR.
399 * include/bits/locale_classes.h (locale::locale(const locale&,
400 _Facet*)): Tweak, use consistently _M_remove_reference.
402 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
404 PR libstdc++/12352 (cont)
405 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
406 Don't leak __cloc; don't leak if any of the _M_init_facet(...)
408 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak.
409 (locale::_Impl::~_Impl): Don't do anything if !_M_facets,
410 !_M_caches, !_M_names.
412 2003-09-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
414 * configure.host: Handle Solaris 2.5 micro releases explicitly.
415 Remove wildcards from Solaris 2.6, 7-9: there were no
417 Treat Solaris 10 and up like 7-9.
419 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
421 * include/bits/stl_algo.h (search_n): Improve the previous
422 fix as suggested by Martin.
424 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
427 * include/bits/istream.tcc (peek): Set eofbit if sgetc
429 * testsuite/27_io/basic_istream/peek/char/12296.cc:
432 2003-09-29 Nathan Myers <ncm@cantrip.org>
433 Paolo Carlini <pcarlini@unitus.it>
436 * include/bits/stl_algo.h (search_n):
437 Use iterator_traits<>::difference_type for __n.
438 * testsuite/25_algorithms/search_n/11400.cc: New, from the PR.
440 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
442 * testsuite/22_locale/locale/cons/12352.cc:
443 Use __attribute__((unused)) for test.
445 2003-09-26 Ulrich Weigand <uweigand@de.ibm.com>
447 * testsuite/22_locale/time_put/put/char/2.cc (test_02): Allow either
448 "Son" or "So" as abbreviated name for Sunday in de_DE locale.
449 * testsuite/22_locale/time_put/put/wchar_t/2.cc (test_02): Likewise.
451 2003-09-26 Brad Spencer <spencer@infointeractive.com>
453 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc:
454 Explicitly qualify exceptions.
455 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Same.
456 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
457 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
458 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
460 2003-09-25 Paolo Carlini <pcarlini@unitus.it>
463 * src/localename.cc (locale::_Impl::_Impl(const _Impl&,
464 size_t)): Don't leak if memory allocations for _M_facets,
465 _M_caches, and _M_names fail.
466 (locale::_Impl::_Impl(const char*, size_t)): Ditto.
467 (locale::_Impl::_M_replace_categories(const _Impl*,
469 (locale::_Impl::_M_install_facet(const locale::id*,
470 const facet*)): Ditto.
471 * include/bits/locale_classes.h (locale::locale(const locale&,
472 _Facet*)): Don't leak memory.
473 * testsuite/22_locale/locale/cons/12352.cc: New, from the PR.
475 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t,
476 bool)): Qualify with std:: strcpy, tweak.
477 * include/bits/locale_classes.h
478 (locale::_Impl::_M_check_same_name): Qualify strcmp.
480 2003-09-25 Brad Spencer <spencer@infointeractive.com>
483 * acinclude.m4: Split out checks for vfwscanf, vswscanf, vwscanf,
485 * aclocal.m4: Regenerate.
486 * config.h.in: Regenerate.
487 * configure: Regenerate.
488 * crossconfig.m4: Add in wchar_t bits for solaris crosses.
489 * config/io/basic_file_stdio.cc: Guard unistd.h.
490 * include/c_compatibility/wchar.h: Guard extra wchar_t functionality.
491 * include/c_std/std_cwchar.h: Same.
492 * include/c_std/std_cwctype.h: Same.
494 2003-09-25 Benjamin Kosnik <bkoz@redhat.com>
497 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): Fix.
498 * config/locale/generic/ctype_members.cc: Same.
499 * testsuite/22_locale/ctype/is/char/1.cc: Initialize mask.
500 * testsuite/22_locale/ctype/is/wchar_t/1.cc: Same.
502 * config/os/generic/ctype_inline.h: Update.
504 2003-09-25 Ulrich Weigand <uweigand@de.ibm.com>
506 * src/Makefile.am (version_dep): New variable.
507 (libstdc___la_DEPENDENCIES): Use it to add dependency on
508 libstdc++-symbol.ver only when using symbol versioning.
509 * src/Makefile.in: Regenerate.
511 2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
513 * include/bits/locale_facets.tcc: Tweak to avoid warnings.
514 * testsuite/testsuite_hooks.h: Same.
515 * testsuite/*/*.cc: Same.
517 2003-09-22 Petur Runolfsson <peturr02@ru.is>
519 * include/bits/istream.tcc (basic_istream::read,
520 basic_istream::readsome, basic_istream::putback,
521 basic_istream::unget, operator>>(basic_istream, CharT)):
522 Avoid redundant setstate(failbit) calls when sentry::operator bool()
525 2003-09-22 Carlo Wood <carlo@alinoe.com>
528 * include/bits/demangle.h (qualifier(int, cv_qualifier_nt,
529 char const*, int, int)): Remove unused identifier
530 cv_qualifier for overloaded constructor.
532 2003-09-18 Benjamin Kosnik <bkoz@redhat.com>
535 * acinclude.m4 (GLIBCXX_EXPORT_FLAGS): Add -Wcast-qual to
536 WARN_FLAGS, remove -Wno-format.
537 * aclocal.m4: Regenerate.
538 * configure: Regenerate.
540 2003-09-18 Petur Runolfsson <peturr02@ru.is>
542 * config/io/basic_file_stdio.cc (sys_getc, sys_ungetc): Delete.
543 * config/io/basic_file_stdio.h: Same.
544 * include/std/std_fstream.h (__ctype_type): Delete.
545 * include/std/std_streambuf.h (__ctype_type, __state_type): Delete.
547 2003-09-17 Benjamin Kosnik <bkoz@redhat.com>
550 * configure.host (abi_baseline_pair): Error out on solaris2
551 configurations without a minor version number.
553 2003-09-13 Phil Edwards <phil@codesourcery.com>
555 * docs/doxygen/run_doxygen: Clear GENERATE_TAGFILE entirely
557 * docs/doxygen/user.cfg.in: And here.
559 2003-09-10 Daniel Jacobowitz <drow@mvista.com>
560 Andreas Jaeger <aj@suse.de>
563 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't build
564 abi_check if cross compiling.
565 * aclocal.m4: Regenerated.
566 * configure: Regenerated.
568 2003-09-10 Jeffrey D. Oldham <oldham@codesourcery.com>
570 * libsupc++/vec.cc (__cxa_vec_new2): If the allocator returns
571 NULL, return NULL. This reflects a C++ ABI change 2003 Sep 05.
572 (__cxa_vec_new3): Likewise.
574 2003-09-10 Petur Runolfsson <peturr02@ru.is>
576 * include/bits/fstream.tcc (basic_filebuf::seekoff):
577 Use codecvt::length to handle variable-width stateless encodings
579 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: New test.
580 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: New test.
582 2003-09-10 Alan Modra <amodra@bigpond.net.au>
584 * config/io/basic_file_stdio.cc (_M_open_mode): Assign __p_mode
587 2003-09-09 Alan Modra <amodra@bigpond.net.au>
589 * configure: Regenerate.
591 2003-09-09 David Edelsohn <edelsohn@gnu.org>
593 * src/ios.cc (ios_base::Init::Init): Remove unnecessary
594 qualifier from _S_synced_with_stdio.
596 2003-09-09 Bernardo Innocenti <bernie@develer.com>
598 * include/c_std/std_cstdlib.h: Avoid using missing C library symbols.
600 2003-09-04 Petur Runolfsson <peturr02@ru.is>
603 * include/bits/fstream.tcc
604 (basic_filebuf::_M_destroy_internal_buffer): Destroy _M_ext_buf.
605 (basic_filebuf::basic_filebuf): Initialize _M_ext_buf,
606 _M_ext_buf_size, _M_ext_next and _M_ext_end.
607 (basic_filebuf::underflow): Handle variable-width stateless
608 encodings (codecvt::encoding() == 0), including UTF-8.
609 * include/std/std_fstream.h (basic_filebuf):
610 Declare _M_ext_buf, _M_ext_buf_size, _M_ext_next, _M_ext_end.
611 * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: New test.
612 * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: New test.
613 * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: New test.
614 * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: New test.
615 * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: New test.
616 * testsuite/27_io/objects/wchar_t/12.cc: New test.
617 * testsuite/27_io/objects/wchar_t/13.cc: New test.
619 2003-09-04 Jonathan Wakely <redi@gcc.gnu.org>
621 * docs/html/faq/index.html: Note that a namespace alias can't be
622 used when specialising templates in extension namespace.
623 * docs/html/faq/index.txt: Regenerate.
625 2003-09-03 Petur Runolfsson <peturr02@ru.is>
628 * include/ext/stdio_sync_filebuf.h
629 (stdio_sync_filebuf::_M_unget_buf): Declare it.
630 (stdio_sync_filebuf::stdio_sync_filebuf): Initialize _M_unget_buf.
631 (stdio_sync_filebuf::uflow): Store the returned character in
633 (stdio_sync_filebuf::pbackfail): If argument is eof(), pass
634 _M_unget_buf to syncungetc(). Set _M_unget_buf to eof().
635 (stdio_sync_filebuf<char>::xsgetn): Store last read character in
636 _M_unget_buf, if any, else eof().
637 (stdio_sync_filebuf<wchar_t>::xsgetn: Store last read character in
638 _M_unget_buf, if any, else eof().
639 * testsuite/27_io/objects/char/12048.cc: Rename to...
640 * testsuite/27_io/objects/char/12048-1.cc: ...this.
641 * testsuite/27_io/objects/char/12048-2.cc: New test.
642 * testsuite/27_io/objects/char/12048-3.cc: New test.
643 * testsuite/27_io/objects/char/12048-4.cc: New test.
644 * testsuite/27_io/objects/char/12048-5.cc: New test. XFAIL.
645 * testsuite/27_io/objects/wchar_t/12048-1.cc: New test.
646 * testsuite/27_io/objects/wchar_t/12048-2.cc: New test.
647 * testsuite/27_io/objects/wchar_t/12048-3.cc: New test.
648 * testsuite/27_io/objects/wchar_t/12048-4.cc: New test.
649 * testsuite/27_io/objects/wchar_t/12048-5.cc: New test. XFAIL.
650 * testsuite/ext/stdio_sync_filebuf_char.cc
651 (test02, test03, test04, test05): New tests.
652 * testsuite/ext/stdio_sync_filebuf_wchar_t.cc
653 (test02, test03, test04, test05): New tests.
655 2003-09-03 Petur Runolfsson <peturr02@ru.is>
657 * docs/html/27_io/howto.html: setbuf(0, 0) has no effect on
658 stringbuf or strstreambuf. Fix typos.
660 2003-09-02 Phil Edwards <phil@codesourcery.com>
662 * acinclude.m4 (GLIBCXX_ENABLE_HOSTED): #define _GLIBCXX_HOSTED
664 * config.h.in: Add _GLIBCXX_HOSTED.
665 * libsupc++/eh_term_handler.cc: Test it here; initialize
666 __terminate_handler to std::abort if freestanding.
667 * aclocal.m4, configure: Regenerated.
668 * docs/html/configopts.html: Document --disable-hosted-libstdcxx.
670 2003-08-29 Nathan Myers <ncm@cantrip.org>
673 * include/bits/locale_facets.tcc (__pad): delete dead code.
675 2003-08-28 Alan Modra <amodra@bigpond.net.au>
677 * configure.ac: Test $with_cross_host against $build_alias, not $build.
678 * configure: Regenerate.
680 2003-08-27 Petur Runolfsson <peturr02@ru.is>
682 * testsuite/27_io/objects/wchar_t/10.cc: Move wcout stuff...
683 * testsuite/27_io/objects/wchar_t/11.cc: ...here. New file.
685 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
687 * Makefile.am: Remove trailing whitespace. Remove needless
688 "foo = @foo@" assignments. Replace direct uses of @foo@ with $(foo).
689 * include/Makefile.am: Likewise.
690 * libmath/Makefile.am: Likewise.
691 * libsupc++/Makefile.am: Likewise.
692 * po/Makefile.am: Likewise.
693 * src/Makefile.am: Likewise.
694 * testsuite/Makefile.am: Likewise.
696 * Makefile.in, include/Makefile.in, libmath/Makefile.in,
697 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
698 testsuite/Makefile.in: Regenerated.
700 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
702 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Change quoting of
704 * aclocal.m4, configure: Regenerate.
706 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
708 * acinclude.m4: Include no-executables.m4.
709 * configure.ac: Uncomment GCC_NO_EXECUTABLES.
710 * aclocal.m4: Regenerated.
711 * configure: Regenerated.
713 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
715 * acinclude.m4: Don't call AC_ISC_POSIX.
716 * aclocal.m4: Regenerated.
717 * configure: Regenerated.
719 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
721 * acinclude.m4 (GLIBCXX_CONDITIONAL): New macro. Wrap
722 AM_CONDITIONAL. Replace all calls to AM_CONDITIONAL with this one.
723 (GLIBCXX_ENABLE_HOSTED): New macro, sets new variable is_hosted,
724 used elsewhere in this file.
725 (GLIBCXX_EVALUATE_CONDITIONALS): New macro...
726 * configure.ac: ...called here to expand all conditionals.
727 * Makefile.am: Conditionalize SUBDIRS on GLIBCXX_HOSTED.
728 * include/Makefile.am: Remove redundant gxx_include_dir assignment.
729 (install-freestanding-headers): New target, a subset of
730 install-headers. Conditionalize install-data-local on GLIBCXX_HOSTED.
732 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
733 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
734 src/Makefile.in, testsuite/Makefile.in: Regenerated.
736 2003-08-26 Phil Edwards <pme@gcc.gnu.org>
738 * docs/doxygen/run_doxygen: Shell fixes. Remove hardcoded local
739 pathnames from generated tag file.
741 2003-08-26 Phil Edwards <pme@gcc.gnu.org>
743 * Makefile.am: Add comment.
744 * acinclude.m4 (GLIBCXX_CONFIGURE): Set new glibcxx_SUBDIRS and
746 * configure.ac: Use them both here, instead of hardcoded lists.
748 * fragment.am: Add STAMP varaible.
749 * include/Makefile.am: Cosmetic whitespace cleanup. Use $(LN_S)
751 (stamp-*): Move file creation rule outside of 'if' branches to
752 ensure the stamp-* files are actually updated. Use $(STAMP).
753 * src/Makefile.am: Remove now-nonexistant variable.
754 * libsupc++/Makefile.am: Likewise. Snap the assignment chain
756 * po/Makefile.am: Include same fragment as all the others.
758 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
759 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in: Regenerated.
761 2003-08-26 Loren J. Rittle <ljrittle@acm.org>
763 * testsuite/data/cin_unget-1.txt: New.
764 * testsuite/27_io/objects/char/12048.cc: New.
766 2003-08-25 Zack Weinberg <zack@codesourcery.com>
768 * config/os/hpux/os_defines.h: Unconditionally define
769 _GLIBCXX_GTHREAD_USE_WEAK to 0.
771 2003-08-19 Geoffrey Keating <geoffk@apple.com>
773 * crossconfig.m4 (*-darwin*): Add a large and boring stanza for
774 crosses to Darwin targets.
775 * configure: Regenerate.
777 2003-08-19 Petur Runolfsson <peturr02@ru.is>
779 * include/ext/ropeimpl.h: #include <ostream> instead of <iostream>
781 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
783 * configure.ac: GCC_NO_EXECUTABLES was supposed to be commented
784 in the patch from 3 minutes ago. Boy, is my face red.
785 * configure: At least I remembered to regenerate this.
787 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
789 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Remove LIBMATH_INCLUDES
790 and LIBSUPCXX_INCLUDES. Re-purpose TOPLEVEL_INCLUDES to refer to
791 things from the top level.
792 * configure.ac (GLIBCXX_IS_NATIVE): Determine earlier and re-order.
793 Comment out the conditionals for CANADIAN and GLIBCXX_BUILD_LIBMATH
794 (currently unused). Strip the fake-VPATH shell fragment from
795 automake-generated rules, if present.
796 * linkage.m4: Add comment.
798 * fragment.am: New file, containing factored-out common settings.
799 (AM_CPPFLAGS): Absorb the deprecated INCLUDES variable contents.
800 * Makefile.am: Include fragment.am. Remove common variables.
801 * include/Makefile.am: Likewise.
802 * libmath/Makefile.am: Likewise.
803 * libsupc++/Makefile.am: Likewise.
804 * po/Makefile.am: Likewise. Print rules during check.
805 * src/Makefile.am: Likewise.
806 * testsuite/Makefile.am: Likewise.
808 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
809 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
810 src/Makefile.in, testsuite/Makefile.in: Regenerate.
812 2003-08-11 John Levon <levon@movementarian.org>
814 * docs/html/ext/howto/guide.html (GLIBCXX_FORCE_NEW): Update
815 remaining places for the name change from GLIBCPP_FORCE_NEW
818 2003-08-11 Benjamin Kosnik <bkoz@redhat.com>
820 * include/bits/basic_ios.h: Remove *_iter typedefs, change num*
822 * include/bits/basic_ios.tcc: Same.
823 * include/bits/istream.tcc: Same.
824 * include/bits/locale_facets.h: Same.
825 * include/bits/ostream.tcc: Same.
826 * include/std/std_istream.h: Same.
827 * include/std/std_ostream.h: Same.
828 * testsuite/26_numerics/complex_inserters_extractors.cc: Fix.
830 * include/ext/rope: Remove build warning.
832 2003-08-11 Andreas Jaeger <aj@suse.de>
834 * include/Makefile.am (stamp-c_base): Add dependency on stamp-bits
836 * include/Makefile.in: Regenerated.
838 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
840 * acinclude.m4 (GLIBCXX_CONFIGURE): Unprecious CC and CFLAGS
841 when calling AC_PROG_CC.
842 * aclocal.m4, configure: Regenerate.
844 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
846 * acinclude.m4: Properly quote variable which will be expanded
847 inside makefiles. Use CXX instead of CC to extract compiler info.
848 * configure.ac (AC_INIT): Use the new 4-arg form to finally get the
849 correct form in PACKAGE.
850 * aclocal.m4, configure: Regenerate.
852 2003-08-08 Benjamin Kosnik <bkoz@redhat.com>
854 * testsuite/Makefile.am (check-abi): Change libstdc++-v3 to libstdc++.
855 (check-abi-verbose): Same.
856 * testsuite/testsuite_performance.h (report_performance): Same.
858 2003-08-08 Loren J. Rittle <ljrittle@acm.org>
860 * testsuite/testsuite_performance.h (__FreeBSD__): Add fake mallinfo.
862 2003-08-07 Doug Gregor <dgregor@apple.com>
864 * include/bits/char_traits.h (char_traits::not_eof): Match operand
867 2003-08-07 Bernardo Innocenti <bernie@develer.com>
870 * libstdc++-v3/config/cpu/m68k/atomicity.h (__exchange_and_add):
871 Replace variants with new BSET-based version.
873 2003-08-07 Carlo Wood <carlo@alinoe.com>
875 * include/bits/demangle.h: Do not use cctype functions that depend
878 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
880 * configure.in: Rename...
881 * configure.ac: ...to this.
882 * docs/html/17_intro/porting.texi: Update name.
884 * docs/html/17_intro/porting.html: Regenerate.
885 * config.h.in, Makefile.in, include/Makefile.in, libmath/Makefile.in,
886 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
887 testsuite/Makefile.in: Regenerate (picks up new dependancy).
889 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
891 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Put down the crack
892 pipe, open the window to let out the fumes, redo the option-handling
893 logic to properly execute the detection test.
894 * aclocal.m4, configure: Regenerate.
896 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
898 Convert to new autotools.
899 * acconfig.h: Update with correct names.
900 * configure.host (ATOMICITYH): Rename to atomicity_include_dir.
901 (qnx6.[12]*): 'q' comes before 's', not after 'w'.
902 * configure.in: Update. Split hardcoded cross-configury settings
904 * crossconfig.m4: ...here. New file. Contents untouched.
905 * acinclude.m4: Reorganize and rewrite as needed. Split large
907 * linkage.m4: ...here. New file. Math and stdlib linkage tests.
909 * scripts/testsuite_flags.in: Update.
911 * Makefile.am: Remove unneeded AUTOMAKE_OPTIONS settings and other
912 variables (already generated by automake).
913 * include/Makefile.am: Ditto.
914 * libmath/Makefile.am: Ditto.
915 * libsupc++/Makefile.am: Ditto.
916 * po/Makefile.am: Ditto.
917 * src/Makefile.am: Ditto.
919 * aclocal.m4: Regenerate using new versions.
920 * config.h.in: Ditto.
922 * Makefile.in: Ditto.
923 * include/Makefile.in: Ditto.
924 * libmath/Makefile.in: Ditto.
925 * libsupc++/Makefile.in: Ditto.
926 * po/Makefile.in: Ditto.
927 * src/Makefile.in: Ditto.
928 * testsuite/Makefile.in: Ditto.
930 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
932 * po/libstdc++.pot: Re-extract/regenerate.
934 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
936 * testsuite/Makefile.am (DEJATOOL,EXPECT,RUNTEST,RUNTESTFLAGS):
937 Remove unneeded variable assignments. Leave them for automake.
938 * testsuite/lib/libstdc++-v3.exp: Rename...
939 * testsuite/lib/libstdc++.exp: ...to this. Adjust function names
941 * testsuite/libstdc++-v3.dg/dg.exp: Rename...
942 * testsuite/libstdc++-dg/normal.exp: ...to this. Adjust function
945 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
947 * docs/doxygen/guide.html: run_doxygen uses bash.
948 * docs/doxygen/mainpage.html: We'll be shipping tag files.
949 * docs/doxygen/run_doxygen: Tweaks and improvements.
950 * docs/doxygen/user.cfg.in: Set GENERATE_TAGFILE.
951 * docs/html/install.html: Update autoconf/automake requirements.
952 * docs/html/test.html: Add section describing DejaGNU support.
953 * docs/html/17_intro/confdeps.dot: New file, generates...
954 * docs/html/17_intro/confdeps.png: ...this new file.
955 * docs/html/Makefile: Generated here.
956 * docs/html/17_intro/configury.html: New file.
958 2003-07-31 Phil Edwards <pme@gcc.gnu.org>
960 * testsuite/lib/libstdc++-v3-dg.exp: Rename...
961 * testsuite/lib/libstdc++-v3.exp: ...to this.
962 * testsuite/libstdc++-v3.dg/dg.exp: No special case needed now.
964 2003-07-31 Doug Gregor <dgregor@apple.com>
966 Add user specialization tests.
967 * testsuite/23_containers/deque/1.cc: New.
968 * testsuite/23_containers/list/1.cc: New.
969 * testsuite/23_containers/map/1.cc: New.
970 * testsuite/23_containers/multimap/1.cc: New.
971 * testsuite/23_containers/multiset/1.cc: New.
972 * testsuite/23_containers/set/1.cc: New.
973 * testsuite/23_containers/vector/1.cc: New.
975 2003-07-31 Benjamin Kosnik <bkoz@redhat.com>
977 Reshuffle 23_containers testsuite.
978 * 23_containers/adaptors.cc, bitset_ctor.cc,bitset_members.cc,
979 bitset_shift.cc, deque_ctor.cc, deque_operators.cc,
980 list_capacity.cc, list_ctor.cc, list_modifiers.cc, list_operators.cc,
981 map_insert.cc, map_operators.cc, map_operators_neg.cc, multiset.cc,
982 set_operators_neg.cc, vector_bool.cc, vector_capacity.cc,
983 vector_ctor.cc, vector_element_access.cc, vector_modifiers.cc,
984 vector_resize.cc: Split into...
985 * 23_containers/bitset/cons/1.cc: New.
986 * 23_containers/bitset/cons/6282.cc: New.
987 * 23_containers/bitset/count/6124.cc: New.
988 * 23_containers/bitset/operations/1.cc: New.
989 * 23_containers/bitset/operations/2.cc: New.
990 * 23_containers/bitset/test/1.cc: New.
991 * 23_containers/bitset/to_ulong/1.cc: New.
992 * 23_containers/deque/cons/1.cc: New.
993 * 23_containers/deque/cons/2.cc: New.
994 * 23_containers/deque/operators/1.cc: New.
995 * 23_containers/list/capacity/1.cc: New.
996 * 23_containers/list/cons/1.cc: New.
997 * 23_containers/list/cons/2.cc: New.
998 * 23_containers/list/cons/3.cc: New.
999 * 23_containers/list/cons/4.cc: New.
1000 * 23_containers/list/cons/5.cc: New.
1001 * 23_containers/list/cons/6.cc: New.
1002 * 23_containers/list/cons/7.cc: New.
1003 * 23_containers/list/cons/8.cc: New.
1004 * 23_containers/list/cons/9.cc: New.
1005 * 23_containers/list/modifiers/1.cc: New.
1006 * 23_containers/list/modifiers/2.cc: New.
1007 * 23_containers/list/modifiers/3.cc: New.
1008 * 23_containers/list/operators/1.cc: New.
1009 * 23_containers/list/operators/2.cc: New.
1010 * 23_containers/list/operators/3.cc: New.
1011 * 23_containers/list/operators/4.cc: New.
1012 * 23_containers/map/insert/1.cc: New.
1013 * 23_containers/map/operators/1.cc: New.
1014 * 23_containers/map/operators/1_neg.cc: New.
1015 * 23_containers/multiset/insert/1.cc: New.
1016 * 23_containers/priority_queue/members/7161.cc: New.
1017 * 23_containers/queue/members/7157.cc: New.
1018 * 23_containers/set/operators/1_neg.cc: New.
1019 * 23_containers/stack/members/7158.cc: New.
1020 * 23_containers/vector/bool/1.cc: New.
1021 * 23_containers/vector/bool/6886.cc: New.
1022 * 23_containers/vector/capacity/1.cc: New.
1023 * 23_containers/vector/capacity/2.cc: New.
1024 * 23_containers/vector/capacity/8230.cc: New.
1025 * 23_containers/vector/cons/1.cc: New.
1026 * 23_containers/vector/cons/2.cc: New.
1027 * 23_containers/vector/cons/3.cc: New.
1028 * 23_containers/vector/cons/4.cc: New.
1029 * 23_containers/vector/cons/6513.cc: New.
1030 * 23_containers/vector/element_access/1.cc: New.
1031 * 23_containers/vector/modifiers/1.cc: New.
1032 * 23_containers/vector/modifiers/2.cc: New.
1033 * 23_containers/vector/resize/1.cc: New.
1035 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1037 * testsuite/thread/pthread1.cc: Add alpha*-*-osf* to dg-do run,
1039 * testsuite/thread/pthread2.cc: Likewise.
1040 * testsuite/thread/pthread3.cc: Likewise.
1041 * testsuite/thread/pthread4.cc: Likewise.
1042 * testsuite/thread/pthread5.cc: Likewise.
1043 * testsuite/thread/pthread6.cc: Likewise.
1044 * testsuite/thread/pthread7-rope.cc: Likewise.
1046 2003-07-30 Phil Edwards <pme@gcc.gnu.org>
1048 * include/bits/c++config: Partial reversion (comment placement) of
1051 2003-07-30 Benjamin Kosnik <bkoz@redhat.com>
1053 * include/bits/c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove.
1054 (_GLIBCXX_NO_TEMPLATE_EXPORT): To _GLIBCXX_EXPORT_TEMPLATE.
1055 (_GLIBCXX_AT_AT): Remove.
1056 (__USE_MALLOC): Remove.
1057 * include/std/std_fstream.h: Modify.
1058 * include/bits/basic_ios.h: Same.
1059 * include/bits/valarray_array.h: Same.
1060 * include/c_std/std_cmath.h: Same.
1061 * include/c_std/cmath.tcc: Same.
1062 * include/std/std_vector.h: Same.
1063 * include/std/std_string.h: Same.
1064 * include/std/std_stack.h: Same.
1065 * include/std/std_queue.h: Same.
1066 * include/std/std_list.h: Same.
1067 * include/std/std_deque.h: Same.
1068 * include/std/std_streambuf.h: Same.
1069 * include/std/std_sstream.h: Same.
1070 * include/std/std_ostream.h: Same.
1071 * include/std/std_istream.h: Same.
1072 * include/bits/valarray_array.tcc: Same, format.
1074 * include/c/std_cctype.h: Fix include guards.
1075 * include/c/std_cerrno.h: Same.
1076 * include/c/std_cfloat.h: Same.
1077 * include/c/std_climits.h: Same.
1078 * include/c/std_clocale.h: Same.
1079 * include/c/std_cmath.h: Same.
1080 * include/c/std_csetjmp.h: Same.
1081 * include/c/std_csignal.h: Same.
1082 * include/c/std_cstdarg.h: Same.
1083 * include/c/std_cstddef.h: Same.
1084 * include/c/std_cstdio.h: Same.
1085 * include/c/std_cstdlib.h: Same.
1086 * include/c/std_cstring.h: Same.
1087 * include/c/std_ctime.h: Same.
1088 * include/c/std_cwchar.h: Same.
1089 * include/c/std_cwctype.h: Same.
1090 * include/c_std/cmath.tcc: Same.
1091 * include/c_std/std_cmath.h: Same.
1093 2003-07-30 Gawain Bolton <gp.bolton@computer.org>
1096 * include/bits/stl_tree.h: Replace C-style casts with C++-style
1097 casts. Changes to avoid casting away constness. Eliminate
1098 _Rb_tree_base_iterator class. Change _Rb_tree_iterator to use
1099 initialization lists. Move out implementation of __black_count()
1101 * src/stl_tree.cc: ...here and rename _Rb_tree_black_count().
1102 Rename_Rb_tree_base_iterator::_M_increment() to
1103 _Rb_tree_increment and _Rb_tree_base_iterator::_M_decrement() to
1105 * config/linker-map.gnu: Add and change symbols here.
1107 2003-07-30 Jonathan Wakely <redi@gcc.gnu.org>
1109 * docs/html/22_locale/howto.html: Use locale::classic() instead
1112 2003-07-28 Benjamin Kosnik <bkoz@redhat.com>
1114 * testsuite/testsuite_hooks.h: Remove list include.
1115 (func_callback): Define as unique type, not std::list.
1116 Change DEBUG_ASSERT to _GLIBCXX_ASSERT.
1117 * testsuite/libstdc++-v3.dg/dg.exp: Same.
1118 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Same.
1119 * testsuite/23_containers/bitset_ctor.cc:
1120 * testsuite/17_intro/header_ciso646.cc: Remove DEBUG_ASSERT.
1121 * testsuite/18_support/numeric_limits.cc: Same.
1122 * testsuite/21_strings/basic_string/append/char/1.cc: Same.
1123 * testsuite/21_strings/basic_string/append/wchar_t/1.cc: Same.
1124 * testsuite/21_strings/basic_string/compare/char/1.cc: Same.
1125 * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Same.
1126 * testsuite/21_strings/basic_string/element_access/char/1.cc: Same.
1127 * testsuite/21_strings/basic_string/element_access/char/2.cc: Same.
1128 * testsuite/21_strings/basic_string/element_access/char/3.cc: Same.
1129 * testsuite/21_strings/basic_string/element_access/wchar_t/1.cc: Same.
1130 * testsuite/21_strings/basic_string/element_access/wchar_t/2.cc: Same.
1131 * testsuite/21_strings/basic_string/element_access/wchar_t/3.cc: Same.
1132 * testsuite/21_strings/basic_string/find/char/1.cc: Same.
1133 * testsuite/21_strings/basic_string/find/char/2.cc: Same.
1134 * testsuite/21_strings/basic_string/find/char/3.cc: Same.
1135 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Same.
1136 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Same.
1137 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Same.
1138 * testsuite/21_strings/basic_string/insert/char/1.cc: Same.
1139 * testsuite/21_strings/basic_string/insert/char/2.cc: Same.
1140 * testsuite/21_strings/basic_string/insert/wchar_t/1.cc: Same.
1141 * testsuite/21_strings/basic_string/insert/wchar_t/2.cc: Same.
1142 * testsuite/21_strings/basic_string/inserters_extractors/char/1.cc:
1143 * testsuite/21_strings/basic_string/inserters_extractors/char/4.cc:
1144 * testsuite/21_strings/basic_string/inserters_extractors/char/5.cc:
1145 * testsuite/21_strings/basic_string/inserters_extractors/char/6.cc:
1146 * testsuite/21_strings/basic_string/inserters_extractors/char/7.cc:
1147 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/1.cc:
1148 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/4.cc:
1149 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc:
1150 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/6.cc:
1151 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/7.cc:
1152 * testsuite/21_strings/basic_string/operators/char/1.cc: Same.
1153 * testsuite/21_strings/basic_string/operators/char/2.cc: Same.
1154 * testsuite/21_strings/basic_string/operators/wchar_t/1.cc: Same.
1155 * testsuite/21_strings/basic_string/operators/wchar_t/2.cc: Same.
1156 * testsuite/21_strings/basic_string/replace/char/1.cc: Same.
1157 * testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Same.
1158 * testsuite/21_strings/basic_string/rfind/char/1.cc: Same.
1159 * testsuite/21_strings/basic_string/rfind/char/2.cc: Same.
1160 * testsuite/21_strings/basic_string/rfind/char/3.cc: Same.
1161 * testsuite/21_strings/basic_string/rfind/wchar_t/1.cc: Same.
1162 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: Same.
1163 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: Same.
1164 * testsuite/21_strings/basic_string/substr/char/1.cc: Same.
1165 * testsuite/21_strings/basic_string/substr/wchar_t/1.cc: Same.
1166 * testsuite/23_containers/bitset_ctor.cc: Same.
1167 * testsuite/23_containers/bitset_shift.cc: Same.
1168 * testsuite/23_containers/vector_ctor.cc: Same.
1169 * testsuite/23_containers/vector_element_access.cc: Same.
1170 * testsuite/24_iterators/istreambuf_iterator.cc: Same.
1171 * testsuite/24_iterators/iterator.cc: Same.
1172 * testsuite/24_iterators/ostreambuf_iterator.cc: Same.
1173 * testsuite/25_algorithms/lower_bound.cc: Same.
1174 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
1175 * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: Same.
1176 * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: Same.
1177 * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: Same.
1178 * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: Same.
1179 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: Same.
1180 * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: Same.
1181 * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: Same.
1182 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: Same.
1183 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: Same.
1184 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
1187 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1189 * docs/doxygen/user.cfg.in, docs/html/abi.txt, docs/html/debug.html,
1190 docs/html/test.html, docs/html/17_intro/headers_cc.txt,
1191 docs/html/17_intro/howto.html, docs/html/ext/howto.html: Change
1192 GLIBCPP to GLIBCXX (and explain as needed).
1194 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1198 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1200 * testsuite/22_locale/messages/members/char/1.cc,
1201 testsuite/22_locale/messages/members/char/2.cc,
1202 testsuite/22_locale/messages/members/char/3.cc,
1203 testsuite/22_locale/messages_byname/1.cc: Update comment regarding
1204 the origin of LOCALEDIR.
1205 * testsuite/lib/libstdc++-v3.exp: New file.
1207 2003-07-25 Benjamin Kosnik <bkoz@redhat.com>
1209 * include/bits/char_traits.h: Update copyright, tweak.
1210 * testsuite/ext/pod_char_traits.cc: Explicitly qualify namespace
1213 2003-07-24 Matt Austern <austern@apple.com>
1215 * /include/bits/char_traits.h (class char_traits): Put all the
1216 real work into the new class template __gnu_cxx::char_traits.
1217 Gave generic definitions for member functions. Types are taken
1218 from the new class template __gnu_cxx::_Char_types.
1219 * testsuite/21_strings/char_traits/requirements/short/1.cc: New
1220 file. Test of std::char_traits<short>, which serves as a test of
1221 the char_traits primary template.
1223 2003-07-24 Benjamin Kosnik <bkoz@redhat.com>
1225 * testsuite/*: Change __gnu_cxx_test to __gnu_test.
1227 2003-07-24 Nathan Myers <ncm-nospam@cantrip.org>
1229 * testsuite/23_containers/map_operators.cc: Conform to
1230 container requirement as value must be Assignable.
1232 2003-07-23 Alexandre Oliva <aoliva@redhat.com>
1234 * acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it
1235 tests not only generation of pch files, but also their use.
1236 * aclocal.m4, configure: Rebuilt.
1238 2003-07-23 Steve Ellcey <sje@cup.hp.com>
1240 * config/cpu/hppa/atomicity.h: Change
1241 _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK to _GLIBCXX_INST_ATOMICITY_LOCK
1242 to match misc-inst.cc
1244 2003-07-23 Steve Ellcey <sje@cup.hp.com>
1246 * include/c_std/cmath.tcc: Use _GLIBCXX_ prefix on file guard.
1247 * include/c_std/std_cctype.h: Ditto.
1248 * include/c_std/std_cerrno.h: Ditto.
1249 * include/c_std/std_cfloat.h: Ditto.
1250 * include/c_std/std_climits.h: Ditto.
1251 * include/c_std/std_clocale.h: Ditto.
1252 * include/c_std/std_cmath.h: Ditto.
1253 * include/c_std/std_csetjmp.h: Ditto.
1254 * include/c_std/std_csignal.h: Ditto.
1255 * include/c_std/std_cstdarg.h: Ditto.
1256 * include/c_std/std_cstddef.h: Ditto.
1257 * include/c_std/std_cstdio.h: Ditto.
1258 * include/c_std/std_cstdlib.h: Ditto.
1259 * include/c_std/std_cstring.h: Ditto.
1260 * include/c_std/std_ctime.h: Ditto.
1261 * include/c_std/std_cwchar.h: Ditto.
1262 * include/c_std/std_cwctype.h: Ditto.
1263 * include/std/std_algorithm.h: Ditto.
1264 * include/std/std_bitset.h: Ditto.
1265 * include/std/std_complex.h: Ditto.
1266 * include/std/std_deque.h: Ditto.
1267 * include/std/std_fstream.h: Ditto.
1268 * include/std/std_functional.h: Ditto.
1269 * include/std/std_iomanip.h: Ditto.
1270 * include/std/std_ios.h: Ditto.
1271 * include/std/std_iosfwd.h: Ditto.
1272 * include/std/std_iostream.h: Ditto.
1273 * include/std/std_istream.h: Ditto.
1274 * include/std/std_iterator.h: Ditto.
1275 * include/std/std_limits.h: Ditto.
1276 * include/std/std_list.h: Ditto.
1277 * include/std/std_locale.h: Ditto.
1278 * include/std/std_map.h: Ditto.
1279 * include/std/std_memory.h: Ditto.
1280 * include/std/std_numeric.h: Ditto.
1281 * include/std/std_ostream.h: Ditto.
1282 * include/std/std_queue.h: Ditto.
1283 * include/std/std_set.h: Ditto.
1284 * include/std/std_sstream.h: Ditto.
1285 * include/std/std_stack.h: Ditto.
1286 * include/std/std_stdexcept.h: Ditto.
1287 * include/std/std_streambuf.h: Ditto.
1288 * include/std/std_string.h: Ditto.
1289 * include/std/std_utility.h: Ditto.
1290 * include/std/std_valarray.h: Ditto.
1291 * include/std/std_vector.h: Ditto.
1293 2003-07-22 Doug Gregor <dgregor@apple.com>
1295 * include/bits/basic_string.h (basic_string::insert): Deprecate
1298 2003-07-21 Benjamin Kosnik <bkoz@redhat.com>
1300 * scripts/testsuite_flags.in (--build-includes): Remove extraneous
1302 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc
1303 (test03): Include typeinfo for bad_cast.
1304 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
1305 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
1306 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
1308 2003-07-21 Doug Gregor <dgregor@apple.com>
1310 * include/bits/boost_concept_check.h:
1311 (_EqualityComparableConcept::__constraints): Remove != from the
1312 list of constraints; it is not listed in Table 28 of the C++98
1315 2003-07-18 Andreas Jaeger <aj@suse.de>
1317 * config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
1318 * config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
1319 * config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
1320 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
1322 2003-07-17 Benjamin Kosnik <bkoz@redhat.com>
1324 * config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache.
1325 * config/locale/generic/messages_members.h: Tweaks.
1326 * config/locale/generic/monetary_members.cc
1327 (moneypunct::_M_initialize_moneypunct): Use cache.
1328 (moneypunct::~moneypunct): Delete cache.
1329 * config/locale/generic/time_members.cc:
1330 (__timepunct::_M_initialize_timepunct): Use cache.
1331 * config/locale/generic/time_members.h:
1332 (__timepunct::~__timepunct): Delete cache.
1333 (__timepunct::__timepunct): Set cache.
1334 * config/locale/gnu/messages_members.h: Tweaks.
1335 * config/locale/gnu/monetary_members.cc:
1336 (moneypunct::_M_initialize_moneypunct): Use cache.
1337 (moneypunct::~moneypunct): Delete cache.
1338 * config/locale/gnu/time_members.cc:
1339 (__timepunct::_M_initialize_timepunct): Use cache.
1340 * config/locale/gnu/time_members.h:
1341 (__timepunct::~__timepunct): Delete cache.
1342 (__timepunct::__timepunct): Set cache.
1343 * include/bits/locale_facets.h (__timepunct_cache): New.
1344 (__moneypunct_cache): New.
1345 * include/bits/locale_facets.tcc: Tweak.
1346 * src/locale.cc (__timepunct::_S_timezones): Adjust for cache.
1347 * src/locale-inst.cc: Instantiate caches.
1348 * src/globals.cc: Add "C" caches.
1349 * src/localename.cc: Use external "C" caches.
1351 2003-07-17 Phil Edwards <pme@gcc.gnu.org>
1353 * docs/doxygen/guide.html: Fix typo.
1355 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
1357 * include/ext/pod_char_traits.h: Add state template argument.
1359 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
1361 * include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX.
1362 (num_get::_M_convert_int): To _M_insert_int.
1363 (num_get::_M_convert_float): To _M_insert_float.
1364 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
1365 Use caches for ctype, num_get.
1366 (num_get::_M_extract_int): Same.
1367 (num_get::get(bool)): Same.
1368 (__verify_grouping): Use size_t.
1369 * src/locale-inst.cc: Update.
1370 * src/locale.cc: Adjust _S_atoms_in.
1372 2003-07-16 Phil Edwards <pme@gcc.gnu.org>
1374 * docs/doxygen/mainpage.html: Move building/writing instructions...
1375 * docs/doxygen/guide.html: ...to here. New file.
1377 2003-07-16 Jonathan Wakely <redi@gcc.gnu.org>
1379 * docs/html/ext/howto.html: Update URL for SGI STL docs.
1380 * docs/html/faq/index.html: Same.
1381 * docs/html/faq/index.txt: Regenerate.
1383 2003-07-16 Paolo Carlini <pcarlini@unitus.it>
1386 * include/bits/locale_facets.tcc (money_get::do_get):
1387 Strip only _leading_ zeros.
1388 * testsuite/22_locale/money_get/get/char/11528.cc: Add.
1389 * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add.
1391 2003-07-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1393 * include/ext/hash_map (class hash_multimap): Remove extra
1394 semicolons from __glibcxx_class_requires3 entries.
1395 * include/ext/hash_set (class hash_set): Ditto.
1396 (class hash_multiset): Ditto.
1398 2003-07-15 Petur Runolfsson <peturr02@ru.is>
1400 * include/bits/char_traits.h (char_traits<wchar_t>::move):
1401 Change last parameter from int_type to size_t.
1403 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1405 * include/bits/stl_algo.h (includes, set_union, set_intersection,
1406 set_difference, set_symmetric_difference, max_element, min_element,
1407 next_permutation, prev_permutation, find_first_of, find_end):
1409 * include/bits/stl_algobase.h (copy,copy_backward): Clarify overlap
1410 restrictions in docs.
1411 * include/bits/stl_heap.h (push_heap, pop_heap, make_heap, sort_heap):
1413 * docs/doxygen/doxygroups.cc (setoperations): New group.
1415 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1417 * include/bits/basic_string.h: Document public functions.
1418 * docs/doxygen/TODO: Update c21 todo.
1420 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1422 * include/bits/stl_list.h: Document more functions.
1423 * docs/doxygen/TODO: Update c23 todo.
1425 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1427 * config/locale/gnu/c_locale.h (__convert_from_v): One more
1430 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1432 * include/bits/stl_tempbuf.h: Qualify free with std::.
1433 * src/locale.cc: Include <cstdlib>, qualify getenv.
1435 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1437 * config/locale/gnu/c_locale.h (__convert_from_v): Include
1438 <cstdio>. Qualify names.
1439 * config/locale/generic/c_locale.h (__convert_from_v): Ditto.
1441 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1442 Nathan C. Myers <ncm-nospam@cantrip.org>
1445 * include/std/std_fstream.h (xsputn): Declare only.
1446 * include/bits/fstream.tcc (xsputn): Define, optimize for the
1447 always_noconv() case: when __n is sufficiently large flush
1448 the buffer and issue a direct write, if possible combining the
1449 two with writev in __basic_file<>::xsputn_2.
1450 * config/io/basic_file_stdio.h (__basic_file<>::xsputn_2):
1452 * config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2):
1454 * acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for
1455 the availability of writev in <sys/uio.h>.
1456 * configure.in: Call here.
1457 * acconfig.h: Add undef for the corresponding symbol.
1458 * aclocal.m4: Regenerate.
1459 * configure: Regenerate.
1460 * config.h.in: Regenerate.
1461 * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak.
1463 * include/std/std_fstream.h (sync): Constify a variable.
1465 2003-07-14 Benjamin Kosnik <bkoz@redhat.com>
1467 * testsuite/27_io/ios_base/cons/assign_neg.cc: Fix line numbers.
1468 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1470 2003-07-14 Gabriel Dos Reis <gcc@integrable-solutions.net>
1472 * config/locale/gnu/c_locale.h (__convert_from_v): Include
1473 <cstring> and <cstdlib>. Qualify names.
1475 2003-07-13 Mark Mitchell <mark@codesourcery.com>
1477 * config/locale/generic/c_locale.h: Include <cstdlib> and
1479 * include/bits/boost_concept_check.h: Add this-> to unqualified
1481 * include/bits/deque.tcc: Likewise.
1482 * include/bits/locale_facets.h : Likewise.
1483 * include/bits/ostream.tcc: Likewise.
1484 * include/bits/stl_algo.h: Likewise.
1485 * include/bits/stl_bvector.h: Likewise.
1486 * include/bits/stl_deque.h: Likewise.
1487 * include/bits/stl_list.h: Likewise.
1488 * include/bits/stl_tree.h: Likewise.
1489 * include/bits/stl_vector.h: Likewise.
1490 * include/bits/vector.tcc: Likewise.
1491 * include/ext/rope: Likewise.
1492 * include/ext/ropeimpl.h: Likewise.
1493 * include/ext/stdio_filebuf.h: Likewise.
1495 2003-07-11 Jerry Quinn <jlquinn@optonline.net>
1497 * include/bits/basic_ios.h (copyfmt): Document.
1498 * include/bits/ios_base.h (event, event_callback, register_callback,
1499 xalloc, iword, pword): Document.
1500 (imbue, ~ios_base): Update docs on callbacks.
1502 2003-07-11 Phil Edwards <pme@gcc.gnu.org>
1504 * acinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments. Add
1505 warning messages if the environment cannot support symbol versioning.
1506 (port_specific_symbol_file): It's plural, add an 's' on the end.
1507 * configure.host: Likewise.
1508 * src/Makefile.am: Likewise.
1509 * config/linker-map.gnu: Remove one semicolon, heh.
1510 * scripts/extract_symvers: Don't assume useful 'export' syntax.
1511 Set LANG as well as LC_ALL for possibly-broken sort(1)s.
1512 * aclocal.m4, configure, src/Makefile.in: Regenerated.
1514 2003-07-09 Benjamin Kosnik <bkoz@redhat.com>
1516 * include/bits/locale_facets.tcc: Use function object for
1517 __use_cache instead of template function. Partially specialize for
1519 * include/bits/locale_classes.h: Update friend declaration for
1521 (_M_install_cache): No throw exception specs.
1522 * src/locale.cc: Remove __use_cache specializations.
1523 * include/ext/pod_char_traits.h (length): Tweak.
1524 * include/bits/locale_facets.h (__numpunct_cache): Remove
1526 * testsuite/testsuite_hooks.h (pod_unsigned_int): Remove.
1528 * testsuite/22_locale/numpunct/members/char/cache_1.cc: New.
1529 * testsuite/22_locale/numpunct/members/char/cache_2.cc: New.
1530 * testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: New.
1531 * testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: New.
1532 * testsuite/22_locale/numpunct/members/pod/1.cc: New.
1533 * testsuite/22_locale/numpunct/members/pod/2.cc: New.
1535 2003-07-09 Jerry Quinn <jlquinn@optonline.net>
1537 * src/ios.cc (_M_grow_words): Fix spelling.
1539 2003-07-09 Gawain Bolton <gp.bolton@computer.org>
1541 * include/bits/stl_tree.h: Move larger member functions in
1542 _Rb_tree_base_iterator and _Rb_tree_node to...
1543 * src/stl_tree.cc: Here.
1544 * src/Makefile.in: Add stl_tree.cc.
1545 * src/Makefile.in: Regenerated.
1546 * config/linker-map.gnu: Add symbols here.
1548 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
1550 * testsuite/ext/pod_char_traits.cc: New.
1551 * include/ext/pod_char_traits.h: New.
1552 * include/Makefile.am (ext_headers): Add pod_char_traits.h.
1553 * include/Makefile.in: Regenerate.
1554 * docs/html/21_strings/howto.html: Update.
1556 2003-07-08 Gawain Bolton <gp.bolton@computer.org>
1558 * testsuite/performance/list_create_fill_sort.cc: New.
1560 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
1562 * config/locale/generic/numeric_members.cc: Correct type info.
1563 * config/locale/gnu/numeric_members.cc: Same.
1564 * include/bits/locale_facets.h: Same.
1566 * include/bits/char_traits.h: Correct spacing.
1568 * src/locale.cc: Wrap to 80 col.
1570 2003-07-07 Paolo Carlini <pcarlini@unitus.it>
1572 * include/std/std_complex.h: Partially revert last
1573 changes: cmath functions must not be qualified.
1575 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
1577 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils
1578 2.11 with globbing backport fix.
1579 * aclocal.m4, configure: Regenerated.
1581 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
1583 * include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback:
1584 if output is at all possible (!_M_reading), cannot be active.
1586 * include/std/std_fstream.h: Tweak comments to doxygen style.
1588 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
1590 * include/bits/locale_classes.h: Fully qualify standard
1591 functions with std::, thus avoiding Koenig lookup.
1592 * include/bits/locale_facets.tcc: Likewise.
1593 * src/locale.cc: Likewise.
1594 * src/localename.cc: Likewise.
1596 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
1598 * include/bits/allocator_traits.h: Fix doxygen markup.
1599 * include/ext/mt_allocator.h: Likewise.
1601 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
1603 * testsuite/testsuite_hooks.h: Guard against a missing unlink().
1605 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
1607 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Bump minimal version
1608 requirement. Add port_specific_symbol_file variable.
1609 * configure.host: Add docs for port_specific_symbol_file.
1610 Clean up try_cpu block for x86.
1611 * config/linker-map.gnu: No more "last symbol can't have a
1612 semicolon" kaka. Add hook for port-specific symbols.
1613 * src/Makefile.am: Remove trailing whitespace.
1614 (libstdc++-symbol.ver): Detect the presence of port-specific
1615 symbols, and add them accordingly.
1617 * docs/html/17_intro/porting.texi: Bring up to date.
1619 * src/Makefile.in, aclocal.m4, configure,
1620 docs/html/17_intro/porting.html: Regenerated.
1622 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
1624 * scripts/create_testsuite_files: New file.
1625 * testsuite/Makefile.am (all-local, check-performance): Use it.
1626 * testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests): Remove.
1627 * testsuite/Makefile.in: Regenerated.
1629 * testsuite/performance/filebuf_sputc.cc: Remove the temporary
1631 * testsuite/performance/fstream_seek_write.cc: Likewise.
1632 * testsuite/performance/ofstream_insert_float.cc: Likewise.
1633 * testsuite/performance/ofstream_insert_int.cc: Likewise.
1634 * testsuite/abi_check.cc (main): Nicer spacing in usage output.
1636 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
1638 * include/bits/stl_list.h: Performance and memory usage
1639 improvements. In particular, the behaviour of the constructor and
1640 destructor as the list header node is no longer dynamically
1641 allocated/de-allocated.
1642 * include/bits/list.tcc: Likewise.
1644 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
1646 * include/std/std_complex.h: Fully qualify standard
1647 functions with std::, thus avoiding Koenig lookup.
1648 * include/std/std_memory.h: Likewise.
1649 * include/std/std_valarray.h: Likewise.
1651 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
1653 * include/bits/stl_tree.h: _Rb_tree_rebalance(): Add local
1654 variable for grandparent and use const
1656 2003-07-05 David Billinghurst <David.Billinghurst@riotinto.com>
1658 * testsuite/27_io/basic_filebuf/close/char/4879.cc: xfail on cygwin
1659 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Ditto
1660 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Ditto
1661 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Ditto
1662 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Ditto
1663 * testsuite/27_io/objects/char/7.cc: Ditto
1664 * testsuite/27_io/objects/char/9661-1.cc: Ditto
1666 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
1668 * include/std/std_bitset.h: Fully qualify standard
1669 functions with std::, thus avoiding Koenig lookup.
1671 * include/std/std_fstream.h: Change comment to doxygen style.
1673 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
1675 * include/std/std_limits.h: More CPP->CXX changes.
1676 * scripts/check_survey.in: Likewise.
1678 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1680 Move from CPP to CXX.
1681 * include/bits/c++config: Move to GLIBCXX from GLIBCPP.
1682 * testsuite/Makefile.am: Same.
1683 * testsuite/Makefile.in: Regenerate.
1684 * po/Makefile.am: Same.
1685 * po/Makefile.in: Regenerate.
1686 * libsupc++/Makefile.am: Same.
1687 * libsupc++/Makefile.in: Regenerate.
1688 * libmath/Makefile.am: Same.
1689 * libmath/Makefile.in: Regenerate.
1690 * include/Makefile.am: Same.
1691 * include/Makefile.in: Regenerate.
1692 * src/Makefile.am: Same.
1693 * src/Makefile.in: Regenerate.
1695 * configure.host: Same.
1696 * configure.in: Same.
1697 * configure: Regenerate.
1698 * acinclude.m4: Same.
1700 * src: Change all files in this directory.
1702 * include: Same, standardize include guards.
1706 2003-07-04 Zack Weinberg <zack@codesourcery.com>
1708 * testsuite/22_locale/collate/compare/wchar_t/2.cc
1709 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc
1710 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc
1711 * testsuite/22_locale/collate/hash/wchar_t/2.cc
1712 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc
1713 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc
1714 * testsuite/22_locale/collate/transform/wchar_t/2.cc
1715 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc
1716 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
1717 XFAIL on all targets.
1719 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1721 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix missed variable.
1722 * aclocal.m4: Regenerate.
1723 * configure: Regenerate.
1725 2003-07-04 Jerry Quinn <jlquinn@optonline.net>
1727 * include/bits/locale_facets.tcc (__int_to_char): Move common case
1730 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1731 Petur Runolfsson <peturr02@ru.is>
1733 * config/io/basic_file_stdio.cc: Revert.
1735 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1737 * include/bits/deque.tcc: Fully qualify standard
1738 functions with std::, thus avoiding Koenig lookup.
1739 * include/bits/gslice_array.h: Likewise.
1740 * include/bits/indirect_array.h: Likewise.
1741 * include/bits/list.tcc: Likewise.
1742 * include/bits/mask_array.h: Likewise.
1743 * include/bits/slice_array.h: Likewise.
1745 2003-07-04 Gawain Bolton <gbolton@free.fr>
1747 * include/bits/stl_tree.h: Performance and memory usage
1750 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
1752 * Makefile.am: Replace PWD with PWD_COMMAND.
1753 * Makefile.in: Regenerated.
1754 * docs/html/Makefile: Likewise.
1756 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1758 * include/bits/valarray_array.h: Fully qualify standard
1759 functions with std::, thus avoiding Koenig lookup.
1760 * include/bits/vector.tcc: Likewise.
1762 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1764 * include/Makefile.am: Update target_ to host_.
1765 * include/Makefile.in: Regenerate.
1766 * src/Makefile.am: Same.
1767 * src/Makefile.in: Regenerate.
1769 * config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support.
1771 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1773 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To
1774 --enable-libstdcxx-debug-flags.
1775 (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug.
1776 (GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch.
1777 * aclocal.m4: Regenerate.
1779 * docs/html/configopts.html: Update.
1781 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1783 Revert the fix for libstdc++/11378.
1785 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1788 * include/std/std_fstream.h (xsputn): In the unbuffered case,
1789 provided always_noconv(), issue directly _M_file.xsputn.
1790 * testsuite/performance/filebuf_unbuf_sputn.cc: New.
1792 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1794 * include/bits/stl_list.h: Fully qualify standard
1795 functions with std::, thus avoiding Koenig lookup.
1796 * include/bits/stl_queue.h: Likewise.
1797 * include/bits/stl_raw_storage_iter.h: Likewise.
1798 * include/bits/stl_tempbuf.h: Likewise.
1799 * include/bits/stl_tree.h: Likewise.
1800 * include/bits/stl_uninitialized.h: Likewise.
1801 * include/bits/stl_vector.h: Likewise.
1802 * include/ext/rope: Change includes order.
1804 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1806 * configure.host (fpos_include_dir): Fix.
1808 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1810 * include/bits/stl_heap.h: Fully qualify standard
1811 functions with std::, thus avoiding Koenig lookup.
1812 * include/bits/stl_iterator_base_funcs.h: Likewise.
1814 * include/bits/stl_algo.h: Qualify __iterator_category too.
1815 * include/bits/stl_algobase.h: Likewise.
1816 * include/bits/stl_bvector.h: Likewise.
1818 * include/bits/stl_algo.h: Don't qualify the pair type.
1820 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
1822 * include/Makefile.am (target_headers): Add fpos.h
1823 (bits_headers): Remove.
1824 * include/Makefile.in: Regenerate.
1825 * configure.in: Add FPOS_INC_SRCDIR, substitute it.
1826 * configure: Regenerate.
1827 * configure.host: Add fpos_include_dir.
1828 * config/os/gnu-linux/fpos.h: New.
1829 * config/os/generic/fpos.h: Add.
1830 * include/bits/fpos.h: Remove.
1832 * config/io/c_io_stdio.h: Remove fpos_t typedef.
1834 * include/bits/fstream.tcc: Tweaks.
1835 * include/std/std_fstream.h: Same.
1837 * testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to...
1838 * testsuite/27_io/fpos/mbstate_t/1.cc: ...here.
1839 * testsuite/27_io/fpos/mbstate_t/2.cc: Same.
1840 * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
1841 * testsuite/27_io/fpos/1.cc: New.
1843 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
1844 Petur Runolfsson <peturr02@ru.is>
1846 * include/std/std_streambuf.h: Remove _M_pos.
1847 * config/io/basic_file_stdio.h: Use seekpos instead of seekoff.
1848 * config/io/basic_file_stdio.cc: Same, use fseek instead of lseek,
1849 use fread/fwrite instead of read/write.
1850 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix.
1851 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs
1852 before reading again.
1853 * testsuite/27_io/objects/char/6.cc: Tweak.
1855 2003-07-03 David Edelsohn <edelsohn@gnu.org>
1857 * testsuite/22_locale/num_put/put/char/7.cc: Guard with
1858 _GLIBCPP_USE_WCHAR_T.
1860 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
1862 * include/bits/basic_string.tcc (_M_replace_aux): Constify
1865 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
1867 * include/bits/stl_bvector.h: Fully qualify standard
1868 functions with std::, thus avoiding Koenig lookup.
1869 * include/bits/stl_construct.h: Likewise.
1870 * include/bits/stl_deque.h: Likewise.
1872 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
1874 * testsuite/22_locale/num_put/put/char/7.cc: Include
1875 <testsuite_hooks.h>, tweak.
1876 * testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise.
1878 2003-07-01 Phil Edwards <pme@gcc.gnu.org>
1880 * testsuite/Makefile.am (AM_MAKEFLAGS): Set to -j1 (affects
1881 check* targets, but not libs/programs).
1882 * testsuite/Makefile.in: Regenerate.
1884 2003-07-01 Roger Sayle <roger@eyesopen.com>
1886 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS.
1887 (GLIBCPP_CHECK_MATH_SUPPORT): Likewise.
1888 * aclocal.m4: Regenerate.
1889 * configure: Regenerate.
1891 2003-07-01 Benjamin Kosnik <bkoz@redhat.com>
1893 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error.
1894 * aclocal.m4: Regenerated.
1895 * configure: Regenerated.
1897 2003-07-01 Paolo Carlini <pcarlini@unitus.it>
1900 * include/bits/fstream.tcc (underflow): For encoding() == 0
1901 don't read more than __buflen chars.
1902 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: New.
1903 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: New.
1904 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: New.
1905 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: New.
1907 2003-07-01 Jerry Quinn <jlquinn@optonline.net>
1909 * 22_locale/num_put/put/char/7.cc: New.
1910 * 22_locale/num_put/put/wchar_t/7.cc: New.
1912 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
1914 * src/locale.cc (__use_cache<numpunct>): Revert previous relocation.
1915 * include/bits/locale_facets.tcc (__use_cache<numpunct>): Ditto.
1917 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
1919 * 27_io/basic_filebuf/seekoff/char/1-in.cc: New.
1920 * 27_io/basic_filebuf/seekoff/char/1-io.cc: New.
1921 * 27_io/basic_filebuf/seekoff/char/1-out.cc: New.
1922 * 27_io/basic_filebuf/seekoff/char/2-in.cc: New.
1923 * 27_io/basic_filebuf/seekoff/char/2-io.cc: New.
1924 * 27_io/basic_filebuf/seekoff/char/2-out.cc: New.
1925 * 27_io/basic_filebuf/seekoff/char/2.cc: Remove.
1926 * 27_io/basic_filebuf/seekoff/char/3-in.cc: New.
1927 * 27_io/basic_filebuf/seekoff/char/3-io.cc: Change.
1928 * 27_io/basic_filebuf/seekoff/char/3-out.cc: New.
1929 * 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove.
1930 * 27_io/basic_filebuf/seekpos/char/1-in.cc: New.
1931 * 27_io/basic_filebuf/seekpos/char/1-io.cc: New.
1932 * 27_io/basic_filebuf/seekpos/char/1-out.cc: New.
1933 * 27_io/basic_filebuf/seekpos/char/2-in.cc: New.
1934 * 27_io/basic_filebuf/seekpos/char/2-io.cc: New.
1935 * 27_io/basic_filebuf/seekpos/char/2-out.cc: New.
1936 * 27_io/basic_filebuf/seekpos/char/2.cc: Change.
1937 * 27_io/basic_filebuf/seekpos/char/3-in.cc: New.
1938 * 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove.
1939 * 27_io/basic_filebuf/seekpos/char/3-out.cc: New.
1940 * 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove.
1941 * data/seekoff-1.tst: Remove.
1942 * data/seekoff-1io.tst: New.
1943 * data/seekoff-1out.tst: New.
1944 * data/seekoff-2.tst: Remove.
1945 * data/seekoff-2io.tst: New.
1946 * data/seekoff-2out.tst: New.
1948 * data/seekpos-1.tst: Remove.
1949 * data/seekpos-1io.tst: New.
1950 * data/seekpos-1out.tst: New.
1951 * data/seekpos-2.tst: Remove.
1952 * data/seekpos-2io.tst: New.
1953 * data/seekpos-2out.tst: New.
1954 * data/seekpos.txt: New.
1956 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
1958 * src/locale.cc (__use_cache<numpunct>): Move from here ...
1959 * include/bits/locale_facets.tcc (__use_cache<numpunct>): To
1962 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
1964 * include/bits/stl_algobase.h: Fully qualify standard
1965 functions with std::, thus avoiding Koenig lookup.
1967 2003-06-30 Doug Gregor <dgregor@apple.com>
1969 * include/bits/locale_facets.tcc (money_get::do_get): Avoid
1970 subscripting empty string.
1972 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
1974 * testsuite/Makefile.am (check-am): Do not override.
1975 (baseline_symbols): Declare as PHONY, so no need to 'touch' it.
1976 * testsuite/Makefile.in: Regenerate.
1978 2003-06-30 Doug Gregor <dgregor@apple.com>
1980 * testsuite/24_iterators/insert_iterator.cc (test01, test02):
1981 Don't initialize an insert_iterator with a singular iterator.
1983 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
1985 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch.
1986 * aclocal.m4: Regenerate.
1987 * configure.in (GLIBCPP_CHECK_PCH): Move, change to
1988 GLIBCPP_ENABLE_PCH, default to yes.
1989 * configure: Regenerate.
1990 * docs/html/configopts.html: Add --enable-pch.
1992 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
1994 * testsuite/lib/libstdc++-v3-dg.exp: Add comments.
1995 (libstdc++-v3-init): Also set LD_RUN_PATH.
1997 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
1999 * include/std/std_streambuf.h (_M_mode): Unused by streambuf, move
2000 from here to filebuf and stringbuf.
2001 (~basic_streambuf()): Don't set _M_mode.
2002 (basic_streambuf()): Don't set _M_mode.
2003 * include/std/std_fstream.h (_M_mode): Move here, from streambuf.
2004 (~basic_filebuf()): Clean up.
2005 * include/bits/fstream.tcc (basic_filebuf()): Set _M_mode.
2006 * include/std/std_sstream.h (_M_mode): Move here, from streambuf.
2007 * testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode.
2008 * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
2009 * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
2010 * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
2011 * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
2013 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
2015 * include/std/std_fstream.h (_M_underflow): Remove.
2016 (uflow): Remove, inherited from streambuf.
2017 (underflow): Only declare.
2018 * include/bits/fstream.tcc (_M_underflow): Rename to
2019 underflow, to which is equivalent for __bump == false,
2021 * include/std/std_sstream.h (_M_underflow): Remove.
2022 (uflow): Remove, inherited from streambuf.
2023 (underflow): Only declare.
2024 * include/bits/sstream.tcc (_M_underflow): Rename to
2025 underflow, to which is equivalent for __bump == false,
2028 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
2030 * include/bits/stl_algo.h: Fully qualify standard functions
2031 with std::, thus avoiding Koenig lookup.
2033 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
2035 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc:
2036 Improve type correctness-wise.
2037 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc:
2039 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc:
2041 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc:
2044 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
2046 * include/std/std_streambuf.h (uflow): According to
2047 27.5.2.4.3,p16, don't check gptr() < egptr().
2049 2003-06-28 Paolo Carlini <pcarlini@unitus.it>
2052 * include/bits/fstream.tcc (seekoff): Fix for encoding() > 0.
2053 (seekpos): Likewise.
2054 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc:
2056 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc:
2059 2003-06-27 Benjamin Kosnik <bkoz@redhat.com>
2061 * testsuite/testsuite_performance.h (__gnu_cxx_test): Change
2062 output name to libstdc++-v3-performance.sum.
2063 * testsuite/Makefile.am (CLEANFILES): Remove .performance.
2064 * testsuite/Makefile.in: Regenerate.
2066 2003-06-27 Matthias Klose <doko@debian.org>
2068 * testsuite/Makefile.am (check-abi, check-abi-verbose): Save
2069 output of abi-check in libstdc++-v3-abi.sum.
2070 * testsuite/Makefile.in: Regenerate.
2072 2003-06-27 Krister Walfridsson <cato@df.lth.se>
2074 * config/os/bsd/netbsd/ctype_noninline.h
2075 (_C_ctype_): Declare.
2076 (ctype<char>::classic_table): Return _C_ctype_ + 1.
2077 (ctype<char>::ctype): Use classic_table.
2079 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
2080 Nathan C. Myers <ncm-nospam@cantrip.org>
2083 * include/bits/fstream.tcc (_M_underflow): Properly estimate
2084 the worst-case number of external bytes for a given get area.
2085 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New.
2087 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
2088 Petur Runolfsson <peturr02@ru.is>
2091 * include/bits/fstream.tcc (overflow): Properly estimate the
2092 worst-case number of external bytes for a given put area
2093 (by using codecvt::max_length()).
2094 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New.
2095 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New.
2096 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New.
2097 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New.
2099 2003-06-27 Nathan Sidwell <nathan@codesourcery.com>
2101 * config/linker-map.gnu: Remove ; after __numpunct_cache.
2103 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
2105 * include/bits/ios_base.h (ios_base::_M_getloc): Return reference
2106 to the imbued locale.
2107 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use
2109 (num_put::_M_convert_float): Use.
2111 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
2112 Jerry Quinn <jlquinn@optonline.net>
2114 * config/linker-map.gnu: Add __numpunct_cache.
2115 * config/locale/gnu/numeric_members.cc
2116 (numpunct::_M_initialize_numpunct): Account for _M_data, fill in
2117 all elements for "C" locale.
2118 (numpunct::~numpunct): Delete _M_data.
2119 * config/locale/generic/numeric_members.cc: Same.
2120 * include/bits/basic_ios.tcc
2121 (basic_ios::init): Remove __locale_cache bits.
2122 (basic_ios::_M_cache_locale): Same.
2123 * include/bits/ios_base.h: Same. Tweaks.
2124 * include/bits/locale_classes.h: Tweaks. Reorder classes.
2125 (__use_cache): Make friends with _Impl, locale.
2126 (_Impl::_M_caches): Add.
2127 (_Impl::_M_install_cache): Add.
2128 * include/bits/locale_facets.h (__numpunct_cache): New.
2129 (numpunct): Encapsulate data members in __numpunct_cache member,
2130 _M_data. Adjust virtuals.
2131 (numpunct::numpunct): New ctor for the same.
2132 (__locale_cache_base): Remove.
2133 (__locale_cache): Remove.
2134 * include/bits/locale_facets.tcc (__use_cache): New function,
2136 (num_put::_M_convert_int, _M_convert_float, do_put): Use it.
2137 * src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w.
2138 * src/ios.cc (ios_base::ios_base): Remove __locale_cache.
2139 * src/locale-inst.cc: Same. Add __numpunct_cache.
2140 * src/locale.cc: Tweak inlines.
2141 (__use_cache): Define specializations.
2142 * src/localename.cc: Use global bits.
2143 (_Impl::~Impl): Deal with __numpunct_cache destruction.
2144 (_Impl::_Impl): Same. Pre-cache standard numpunct facets.
2145 (_Impl::_M_init_facet): Take into account __numpunct_cache.
2146 * testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers.
2147 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
2149 2003-06-26 Nathan C. Myers <ncm-nospam@cantrip.org>
2150 Paolo Carlini <pcarlini@unitus.it>
2152 * testsuite/performance/filebuf_copy.cc: New, testing char
2155 2003-06-26 Paolo Carlini <pcarlini@unitus.it>
2156 Nathan C. Myers <ncm-nospam@cantrip.org>
2158 * include/bits/fstream.tcc (_M_underflow): When the actual
2159 end of file is reached, set 'uncommitted' mode to allow a
2160 next write without an intervening seek (see C++98 27.8.1.1,2
2162 * testsuite/27_io/basic_filebuf/underflow/char/2.cc: New.
2164 2003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org>
2166 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
2167 sputc): Move inline, from here...
2168 * include/std/std_streambuf.h: ... to here.
2170 * include/std/std_streambuf.h (snextc, sbumpc, sgetc,
2171 sputbackc, sungetc, sputc): Use __builtin_expect.
2173 2003-06-24 Phil Edwards <pme@gcc.gnu.org>
2175 * docs/doxygen/mainpage.html: Use a useful title.
2177 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
2179 * docs/html/documentation.html: Remove assignment info.
2180 * docs/html/17_intro/contribute.html: Edits.
2181 * docs/html/17_intro/libstdc++-assign.tx: Remove.
2183 * docs/html/test.html: Update.
2187 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
2188 Ulrich Drepper <drepper@redhat.com>
2190 * testsuite/testsuite_performance.h: Tweak mallinfo.
2192 2003-06-24 Paolo Carlini <pcarlini@unitus.it>
2193 Nathan C. Myers <ncm-nospam@cantrip.org>
2195 * include/std/std_fstream.h (_M_filepos): Remove.
2196 (_M_reading, _M_writing): New, encode the various I/O modes:
2197 'read', 'write' and 'uncommitted'.
2198 (sync): If there is something to flush, do it, then go to
2200 * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal
2201 with three different cases: __off > 0 (upon underflow),
2202 __off == 0 (upon overflow), __off == -1 (upon open, setbuf,
2204 (_M_underflow): Don't call overflow, set _M_reading to true
2206 (pbackfail): Set _M_reading to true on pback creation, tweak.
2207 (overflow): Don't seek, deal with overflow in 'uncommitted' mode,
2208 set _M_writing to true on success, tweak.
2209 (seekoff): Simplify, set _M_reading, _M_writing to false, call
2210 _M_set_buffer(-1) ('uncommitted').
2211 (open, close, setbuf): Set _M_reading, _M_writing to false and
2212 call _M_set_buffer(-1), tweak.
2213 (basic_filebuf): Don't set _M_buf_unified.
2214 (_M_destroy_internal_buffer): Don't call setg and setp.
2215 * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading,
2216 _M_writing and _M_set_buffer(-1).
2217 * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur,
2218 _M_out_lim, _M_buf_unified): Remove.
2219 (basic_streambuf): Don't set _M_out_lim and _M_buf_unified.
2220 (setp): Don't set _M_out_lim.
2221 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for
2222 the new logic ('read', 'write' and 'uncommitted' modes): e.g.,
2223 upon open the mode is 'uncommitted' and therefore the put area
2225 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto.
2226 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto.
2227 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto.
2228 * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto.
2229 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto.
2230 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto.
2231 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
2232 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto.
2233 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto.
2234 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto.
2235 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto.
2236 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto.
2237 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto.
2238 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto.
2239 * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto.
2240 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto.
2241 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto.
2242 * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto.
2243 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto.
2244 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto.
2246 * include/bits/fstream.tcc (showmanyc): Use only the
2247 documented derivation interface to basic_streambuf (gptr(),
2248 setg(), etc.) to work right with user specializations.
2249 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
2250 sputc, xsgetn, xsputn, __copy_streambufs): Likewise.
2251 * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc):
2253 * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback,
2256 2003-06-23 Loren J. Rittle <ljrittle@acm.org>
2258 * configure.host (freebsd*): Set abi_baseline_pair.
2259 * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2
2260 (at or near first release) to 3.3.
2261 * config/abi/i386-freebsd5/baseline_symbols.txt: New file.
2262 * config/abi/alpha-freebsd5/baseline_symbols.txt: New file.
2263 * config/abi/sparc-freebsd5/baseline_symbols.txt: New file.
2265 * include/ext/mt_allocator.h: Portability.
2266 * testsuite/testsuite_performance.h: Likewise.
2268 2003-06-23 Benjamin Kosnik <bkoz@redhat.com>
2270 * docs/html/17_intro/libstdc++-assign.txt: Update address.
2272 * testsuite/performance/ifstream_getline.cc: Fix.
2274 2003-06-23 Doug Gregor <dgregor@apple.com>
2276 * include/bits/boost_concept_check.h: Don't use _D or _R for type
2279 2003-06-22 Paolo Carlini <pcarlini@unitus.it>
2280 Nathan C. Myers <ncm-nospam@cantrip.org>
2282 * include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim
2283 is now used only for filebuf, when _M_buf_unified is true.
2284 epgtr() plays the role of _M_out_lim but it's only updated
2285 upon overflow, underflow, uflow, seekoff/pos.
2286 * include/bits/sstream.tcc (_M_underflow): New, implements
2287 stringbuf::underflow and uflow.
2288 (seekoff, seekpos): Tweak, use _M_update_egptr.
2289 * include/std/std_sstream.h (str): Rewrote, deal correctly
2290 with the new logic, in particular, when pptr() > egptr().
2291 (_M_sync): When __testout && !__testin set all the get area
2292 pointers to the current string end.
2293 (_M_update_egptr): New, internal function updating egptr()
2294 to the actual string end.
2295 (_M_underflow): New, declare.
2296 (underflow): Dispatch to _M_underflow(false).
2297 (uflow): Dispatch to _M_underflow(true).
2299 * include/bits/sstream.tcc (pbackfail, overflow, seekoff,
2300 seekpos): Use only the documented derivation interface to
2301 basic_streambuf (gptr(), setg(), etc.) to work right with
2302 user specializations.
2303 * include/std/std_sstream.h (str, _M_sync): Likewise.
2305 2003-06-20 Doug Gregor <dgregor@apple.com>
2307 * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr
2308 * testsuite/21_strings/basic_string/replace/char/4.cc: Don't
2309 dereference end iterator.
2310 * testsuite/21_strings/basic_string/replace/wchar_t/4.cc: Same.
2311 * testsuite/22_locale/ctype/narrow/char/1.cc: Don't subscript with
2312 index equal to the length of a string.
2313 * testsuite/22_locale/ctype/narrow/char/2.cc: Same.
2314 * testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Same.
2315 * testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Same.
2316 * testsuite/22_locale/ctype/widen/char/1.cc: Same.
2317 * testsuite/22_locale/ctype/widen/wchar_t/1.cc: Same.
2318 * testsuite/23_containers/list_modifiers.cc: Don't dereference
2319 singular reverse iterator.
2320 * testsuite/23_containers/vector_bool.cc: Don't increment singular
2322 * testsuite/24_iterators/rel_ops.cc: Don't compare singular iterator.
2324 2003-06-20 Doug Gregor <dgregor@apple.com>
2326 * include/bits/basic_string.h (basic_string::replace): Dispatch
2327 _InputIterator version based on _Is_integer.
2328 * include/bits/basic_string.tcc (basic_string::replace):
2329 Renamed replace(iterator, iterator, size_type, _CharT) to
2331 * testsuite/21_strings/basic_string/assign/char/1.cc (test01):
2332 Test basic_string::assign(_InputIterator, _InputIterator),
2333 which calls basic_string::replace(iterator, iterator,
2334 _Input_iterator, _InputIterator).
2336 2003-06-20 Benjamin Kosnik <bkoz@redhat.com>
2338 * testsuite/testsuite_performance.h (resource_counter): Don't use
2339 mallinfo at the moment.
2341 2003-06-20 Matthias Klose <doko@debian.org>
2343 * configure.host: Set try_cpu to target_cpu for existing
2346 2003-06-19 Andreas Jaeger <aj@suse.de>
2348 * testsuite/Makefile.am (extract_symvers): Revert accidental
2350 * testsuite/Makefile.in: Regenerate.
2352 * configure.in: Pass MULTISUBDIR to testsuite/Makefile.
2353 * configure: Regenerated.
2355 2003-06-19 Paolo Carlini <pcarlini@unitus.it>
2357 * include/std/std_sstream.h (_M_sync): Make non virtual.
2359 2003-06-18 Benjamin Kosnik <bkoz@redhat.com>
2361 * testsuite/testsuite_performance.h (time_counter): New.
2362 (resource_counter): New.
2363 (report_performance): New.
2364 (start_counters): New.
2365 (stop_counters): New.
2366 (clear_counters): New.
2367 * testsuite/performance/allocator.cc: Instrument.
2368 * testsuite/performance/cout_insert_int.cc: Same.
2369 * testsuite/performance/complex_norm.cc: Same.
2370 * testsuite/performance/filebuf_sputc.cc: New.
2371 * testsuite/performance/fstream_seek_write.cc: Same.
2372 * testsuite/performance/ifstream_getline.cc: Same.
2373 * testsuite/performance/map_create_fill.cc: Same.
2374 * testsuite/performance/ofstream_insert_float.cc: Same.
2375 * testsuite/performance/ofstream_insert_int.cc: Same.
2376 * testsuite/performance/string_append.cc: Convert.
2377 * scripts/check_performance: New.
2378 * testsuite/Makefile.am (check-performance): New.
2381 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
2382 Benjamin Kosnik <bkoz@redhat.com>
2384 * include/std/std_sstream.h (setbuf): Check __n >= 0.
2385 * include/bits/fstream.tcc (setbuf): Tweak.
2387 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
2389 * include/bits/sstream.tcc (seekoff): We can't seek beyond
2390 _M_out_lim, therefore _M_move_out_cur boils down to simply
2391 updating _M_out_cur.
2392 (seekpos): Likewise, clean up.
2394 2003-06-18 Nathan C. Myers <ncm-nospam@cantrip.org>
2395 Paolo Carlini <pcarlini@unitus.it>
2397 * include/bits/fstream.tcc (setbuf): Allow (__s, 1) too,
2398 simply equivalent to the unbuffered case (0, 0) as far as
2399 _M_buf_size is concerned.
2401 2003-06-18 Andreas Jaeger <aj@suse.de>
2403 * testsuite/Makefile.am (new-abi-baseline): Create baseline
2405 (baseline_file): Use baseline_dir.
2406 (baseline_dir): New.
2407 (mkinstalldirs): New.
2409 * acinclude.m4: Rename baseline_file to baseline_dir, strip
2410 filename from baseline_dir.
2412 * testsuite/Makefile.in: Regenerated.
2413 * Makefile.in: Regenerated.
2414 * aclocal.m4: Regenerated.
2415 * configure: Regenerated.
2417 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2419 * configure.in: Missed check_survey bit.
2420 * configure: Regenerated.
2422 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2425 * config/abi/extract_symvers: Move to...
2426 * scripts/extract_symvers: ...here.
2427 * mkcheck.in: Move to..
2428 * scripts/check_survey.in: ...here.
2429 * testsuite_flags.in: Move to..
2430 * scripts/testsuite_flags.in: ...here.
2431 * configure.in: Change check and testsuite_flags locations.
2432 * configure: Regenerate.
2433 * testsuite/Makefile.am (current_symbols.txt): Change location.
2434 * testsuite/Makefile.in: Regenerate.
2435 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
2436 location of testsuite_flags.
2437 * Makefile.am (check-script): Move..
2438 (check-script-install): Move...
2439 * testsuite/Makefile.am: ... here.
2440 * testsuite/Makefile.in: Regenerate.
2441 * Makefile.in: Regenerate.
2443 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2445 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.
2447 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
2449 * Makefile.am (check-abi): Move...
2450 (new-abi-baseline): Move...
2451 * testsuite/Makefile.am: ...here.
2452 (new-abi-baseline): Conditionalize.
2453 (check-abi): Conditionalize.
2454 (check-abi-verbose): New.
2455 * Makefile.in: Regenerate.
2456 * testsuite/Makefile.in: Regenerate.
2457 * configure.in: Consolidate testsuite configure bits.
2458 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
2459 * configure: Regenerate.
2460 * aclocal.m4: Regenerate.
2461 * testsuite/abi_check.cc: Add --check-verbose.
2462 Only output detailed information if --check-verbose.
2464 2003-06-16 Andreas Jaeger <aj@suse.de>
2466 * testsuite/abi_check.cc: Create summary report.
2468 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
2470 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix
2471 for systems with BUFSIZ != 8192.
2472 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
2473 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc:
2476 2003-06-16 Andreas Jaeger <aj@suse.de>
2478 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make
2479 check-abi multilib aware.
2480 * aclocal.m4: Regenerate.
2481 * configure: Regenerate.
2483 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
2484 Andreas Jaeger <aj@suse.de>
2486 * configure.host: Set x86_64 abi_baseline pair correctly.
2488 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
2490 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and
2491 fix for missing seeks between gets and puts into...
2492 * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New.
2493 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New.
2494 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New.
2495 * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New.
2496 * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New.
2497 * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New.
2499 2003-06-15 Richard Henderson <rth@redhat.com>
2501 * config/linker-map.gnu: Export virtual function thunks for
2504 2003-06-13 Benjamin Kosnik <bkoz@redhat.com>
2506 * config/abi/i686-pc-linux-gnu: To..
2507 * config/abi/i486-linux-gnu: ...this.
2508 * config/abi/alphaev67-unknown-linux-gnu: To..
2509 * config/abi/alpha-linux-gnu: ...this.
2510 * config/abi/ia64-unknown-linux-gnu: To...
2511 * config/abi/ia64-linux-gnu: ...this.
2512 * config/abi/x86_64-unknown-linux-gnu: To...
2513 * config/abi/x86_64-linux-gnu: ...this.
2514 * config/abi/i386-unknown-freebsd4: To...
2515 * config/abi/i386-freebsd4: ...this.
2516 * config/linker-map.gnu: Cleanups, move libsupc++ bits into
2518 * configure.host: abi_baseline_triplet to abi_baseline_pair.
2519 Simplify cpu bits so that abi_baseline_pair can use the same
2521 * acinclude.m4: Same.
2522 * aclocal.m4: Regenerate.
2523 * configure.in: Can't get enable_abi_check to yes unless native.
2524 * configure: Regenerate.
2526 2003-06-13 Paolo Carlini <pcarlini@unitus.it>
2528 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and
2529 fix for missing seeks between gets and puts into...
2530 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New.
2531 * testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New.
2532 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into...
2533 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New.
2534 * testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New.
2535 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix
2536 for missing seeks between gets and puts.
2537 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto.
2538 * testsuite/data/seekoff-1.tst: New.
2539 * testsuite/data/seekoff-2.tst: New.
2540 * testsuite/data/seekpos-1.tst: New.
2541 * testsuite/data/seekpos-2.tst: New.
2543 2003-06-13 Nathan C. Myers <ncm-nospam@cantrip.org>
2545 Avoid multi-processor bus contention on increment/decrement-and-
2546 test of the reference count in the empty-string object, by comparing
2547 addresses first, and never touching the reference count of the empty-
2549 * include/bits/basic_string.h:
2550 (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its
2552 (_Rep::_S_empty_rep()): New accessor.
2553 (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to
2554 a base class _Rep_base.
2555 (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string.
2556 (basic_string()): Change to use _M_refdata() in place of _M_refcopy(),
2557 since no longer must increment its refcount.
2558 * include/bits/basic_string.tcc:
2559 (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and
2560 return immediately. The former might be unnecessary. The latter
2561 prevents begin() and end() from cloning it unnecessarily.
2562 (_S_construct(_InIterator, _InIterator, const _Alloc&,
2563 input_iterator_tag), _S_construct(_InIterator, _InIterator,
2564 const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT,
2565 const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy().
2566 (_M_mutate): Check for the empty string and treat it as shared.
2567 This is necessary here because _M_mutate is sometimes called with
2568 all-zero arguments; in all other uses of _M_is_shared, the test comes
2571 2003-06-12 Benjamin Kosnik <bkoz@redhat.com>
2573 * src/allocator-inst.cc: Explicitly instantiate.
2574 * include/ext/pool_allocator.h: Inhibit implicit instantiations.
2576 * config/linker-map.gnu: Add __pool_alloc bits. Tweaks.
2578 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
2580 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
2581 * aclocal.m4: Regenerate.
2582 * Makefile.am (SUBDIRS): Remove libio.
2583 * Makefile.in: Regenerate.
2584 * configure.in: Same.
2585 * configure: Regenerate.
2586 * config/io/basic_file_libio.cc: Remove.
2587 * config/io/basic_file_libio.h: Remove.
2588 * config/io/c_io_libio_codecvt.c: Remove.
2589 * config/io/c_io_libio.h: Remove.
2591 * src/Makefile.am: Same.
2592 * src/Makefile.in: Regenerate.
2593 * docs/html/configopts.html: Edits.
2594 * docs/html/explanations.html: Edits.
2596 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
2598 * include/bits/stl_alloc.h (__debug_alloc): Move out.
2599 (__malloc_alloc): Same.
2600 (__pool_alloc): Same.
2601 (__new_alloc): Same.
2603 * include/bits/allocator.h: ...this.
2604 * include/bits/stl_deque.h: Modify comment.
2605 * include/bits/stl_tree.h: Modify include.
2606 * include/std/std_memory.h: Same.
2607 * include/ext/rope: Same.
2608 * include/ext/slist: Same.
2609 * include/std/std_vector.h: Same.
2610 * include/std/std_stack.h: Same.
2611 * include/std/std_queue.h: Same.
2612 * include/std/std_list.h: Same.
2613 * include/std/std_deque.h: Same.
2614 * include/backward/alloc.h: Same.
2615 * include/ext/debug_allocator.h: New.
2616 * include/ext/malloc_allocator.h: New.
2617 * include/ext/pool_allocator.h: New.
2618 * include/ext/new_allocator.h: New.
2619 * include/bits/pthread_allocimpl.h: Remove.
2620 * include/bits/stl_pthread_alloc.h: Remove.
2621 * include/Makefile.am (ext_headers): Add.
2622 * include/Makefile.in: Regenerate.
2623 * src/stl-inst.cc: Use __gnu_cxx namespace.
2624 * src/stl-inst.cc: Move to...
2625 * src/allocator-inst.cc: Here.
2626 * src/Makefile.am (sources): Update.
2627 * src/Makefile.in: Regenerate.
2628 * config/linker-map.gnu: Remove __pool_alloc bits.
2629 * testsuite/ext/headers.cc: Add.
2630 * testsuite/ext/allocators.cc: Fixup.
2632 2003-06-11 Stefan Olsson <stefan@snon.net>
2633 Ola Rönnerup <fnolis@home.se>
2635 * include/Makefile.am (ext_headers): Add.
2636 * include/Makefile.in: Regenerate.
2637 * include/ext/mt_allocator.h: New file.
2639 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
2641 * include/bits/fstream.tcc (close): Clean up a bit.
2643 * include/bits/streambuf.tcc (sbumpc): Clean up a bit.
2645 * include/std/std_fstream.h (_M_destroy_pback): _M_pback_cur_save
2646 - the saved _M_in_cur, that is - cannot be null.
2647 (sync): Constify a variable.
2649 * include/std/std_streambuf.h: Tweak a comment.
2650 (in_avail): Constify a variable.
2652 2003-06-10 Phil Edwards <pme@gcc.gnu.org>
2654 * docs/html/17_intro/BUGS: Update from 2.90.8 snapshot.
2655 * docs/html/17_intro/CHECKLIST: Bring up to date with respect to
2656 correctness of container::iterator typedefs. Fix whitespace.
2657 * docs/html/20_util/howto.html, docs/html/ext/howto.html: Add links
2659 * docs/html/documentation.html: Regenerate.
2661 * include/bits/basic_string.h, include/bits/basic_string.tcc,
2662 include/bits/deque.tcc, include/bits/list.tcc, include/bits/stl_algo.h,
2663 include/bits/stl_algobase.h, include/bits/stl_bvector.h,
2664 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
2665 include/bits/stl_list.h, include/bits/stl_uninitialized.h,
2666 include/bits/stl_vector.h, include/bits/vector.tcc,
2667 include/ext/algorithm, include/ext/slist, include/std/std_bitset.h:
2668 Change _Iter names to _Iterator, and __pos to __position.
2670 * include/bits/stl_relops.h, include/bits/stl_numeric.h,
2671 include/bits/stl_multiset.h, include/bits/stl_set.h:
2672 Remove emacs markers.
2674 * include/bits/stl_threads.h (_STL_auto_lock): Add __unused__.
2676 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
2678 * include/bits/fstream.tcc (overflow): According to
2679 27.5.2.4.5, overflow() returns not_eof(eof()).
2680 * testsuite/27_io/basic_filebuf/overflow/char/2.cc: New.
2681 * testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Ditto.
2683 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
2685 * include/bits/fstream.tcc (_M_underflow): Check overflow return
2686 value; tweak slightly.
2688 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
2690 * include/bits/fstream.tcc (_M_underflow): Do not special
2691 case the unbuffered case, which really means simply a one char
2693 (basic_filebuf): Initialize _M_buf_size.
2694 (setbuf): Unbuffered means _M_buf_size == 1, since only
2695 _M_buf_size - 1 == 0 chars are going to be used for the
2696 put area and 1 for the get area.
2697 * include/std/std_streambuf.h (_M_buf_size): Move to basic_filebuf.
2698 (~basic_streambuf): Tweak.
2699 (basic_streambuf): Do not initialize _M_buf_size.
2700 * include/std/std_fstream.h (_M_buf_size): Add from basic_streambuf.
2701 (~basic_filebuf): Tweak.
2702 (_M_set_buffer): Tweak, considering that _M_buf_size == 1 is the
2703 unbuffered situation (i.e., put area pointers NULL).
2704 * include/bits/streambuf.tcc (sbumpc): Clean up.
2705 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Split into...
2706 * testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: New.
2707 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: New.
2708 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: New.
2709 * testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: New.
2710 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: New.
2711 * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: New.
2713 2003-06-09 Phil Edwards <pme@gcc.gnu.org>
2715 * acinclude.m4: Move all AM_CONDITIONAL calls out.
2716 (GLIBCPP_CONFIGURE): Set defaults for variables used in AM_CONDITIONAL
2718 * configure.in: Centralize AM_CONDITIONALs so that they are always
2719 run. Make use of GLIBCPP_IS_CROSS_COMPILING.
2720 * aclocal.m4, configure: Regenerated.
2722 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
2724 * docs/html/ext/howto.html ('LWG Issues'): Add issue 235.
2726 2003-06-06 Nathan Myers <ncm-nospam@cantrip.org>
2728 * include/bits/stl_iterator.h
2729 (reverse_iterator::reverse_iterator()): Apply DR235: default
2730 constructor default-initializes data member. Instantiated on a
2731 pointer type, the member has to end up equal to zero.
2733 2003-06-06 Benjamin Kosnik <bkoz@redhat.com>
2735 * include/bits/stl_alloc.h: Cleanups.
2736 * include/ext/functional: Same.
2737 * include/ext/hash_map: Same.
2738 * include/ext/hash_set: Same.
2739 * include/ext/iterator: Same.
2740 * include/ext/memory: Same.
2741 * include/ext/numeric: Same.
2742 * include/ext/rb_tree: Same.
2743 * include/ext/ropeimpl.h: Same.
2744 * include/ext/slist: Same.
2745 * include/ext/stdio_filebuf.h: Same.
2746 * include/ext/stdio_sync_filebuf.h: Same.
2747 * include/ext/stl_rope.h: Move to...
2748 * include/ext/rope: ...here.
2749 * include/ext/stl_hash_fun.h: Move to...
2750 * include/ext/hash_fun.h: ...here.
2751 * include/ext/stl_hashtable.h: Move to...
2752 * include/ext/hashtable.h: ...here.
2753 * include/backward/hashtable.h: Reflect new names.
2754 * include/Makefile.am: Same.
2755 * include/Makefile.in: Regenerated.
2757 2003-06-05 Benjamin Kosnik <bkoz@redhat.com>
2760 * include/bits/fstream.tcc (_M_underflow): Fix for unbuffered.
2761 * include/bits/stl_algobase.h: Tweak.
2762 * include/std/std_fstream.h: Move _M_buf_size to...
2763 * include/std/std_streambuf.h: ...here. Modify.
2764 * include/bits/streambuf.tcc: Same.
2765 * testsuite/testsuite_hooks.h: Tweak.
2766 * testsuite/testsuite_io.h (constraint_filebuf): New.
2767 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Split into...
2768 * testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: New.
2769 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: New.
2770 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: New.
2771 * testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: New.
2772 * testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: New.
2773 * testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: New.
2774 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Split into...
2775 * testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: New.
2776 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: New.
2777 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: New.
2778 * testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: New.
2779 * testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: New.
2780 * testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: New.
2781 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Split into...
2782 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: New.
2783 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: New.
2784 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: New.
2785 * testsuite/27_io/basic_filebuf/sgetn/char/2.cc: Split into...
2786 * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: New.
2787 * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: New.
2788 * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: New.
2789 * testsuite/27_io/basic_filebuf/sgetn/char/3.cc: New.
2790 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Split into...
2791 * testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: New.
2792 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: New.
2793 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: New.
2794 * testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: New.
2795 * testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: New.
2796 * testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: New.
2797 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Split into...
2798 * testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: New.
2799 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: New.
2800 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: New.
2801 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Split into...
2802 * testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: New.
2803 * testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: New.
2804 * testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: New.
2805 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Split into...
2806 * testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: New.
2807 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: New.
2808 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: New.
2809 * testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: New.
2810 * testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: New.
2811 * testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: New.
2812 * testsuite/data/sgetc.txt: New.
2813 * testsuite/data/sgetn.txt: New.
2815 2003-06-05 Paolo Carlini <pcarlini@unitus.it>
2818 * include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
2819 Deal with width() smaller than zero.
2820 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
2821 operator<<(basic_ostream&, char), operator<<(basic_ostream&, const
2822 _CharT*), operator<<(basic_ostream<_CharT, _Traits>&, const
2823 char*), operator<<(basic_ostream<char, _Traits>&, const char*),
2824 operator<<(basic_ostream, const basic_string&)): Likewise.
2826 * testsuite/27_io/basic_istream/extractors_character/char/
2827 (11095-i.cc, 11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
2828 * testsuite/27_io/basic_ostream/inserters_character/char/
2829 (11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
2830 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
2831 (11095-od.cc, 11095-oe.cc, 11095-of.cc): New.
2833 2003-06-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2835 * acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if
2836 .gch compilation works.
2837 * aclocal.m4, configure: Regenerate.
2838 * testsuite_flags.in (--build-cxx): Use glibcpp_PCHFLAGS to
2839 initialize PCHFLAGS.
2841 2003-06-04 Paolo Carlini <pcarlini@unitus.it>
2843 * include/bits/basic_string.h (_M_fold, insert(iterator, _CharT),
2844 erase(iterator), erase(iterator, iterator), c_str,
2845 compare(const basic_string&)): Constify various variables.
2846 * include/bits/basic_string.tcc (_S_construct(_InIter, _InIter,
2847 const _Alloc&, input_iterator_tag), _M_destroy, _M_mutate,
2848 _S_create, resize, _M_replace, _M_replace_safe,
2849 append(const basic_string&), append(const basic_string&, size_type,
2850 size_type), append(const _CharT*, size_type), append(size_type,
2851 _CharT), operator+(const _CharT*, const basic_string&),
2852 operator+(_CharT, const basic_string&), replace(iterator, iterator,
2853 size_type, _CharT), find(const _CharT*, size_type, size_type),
2854 find(_CharT, size_type), rfind(const _CharT*, size_type, size_type),
2855 rfind(_CharT, size_type), compare(size_type, size_type,
2856 const basic_string&), compare(size_type, size_type,
2857 const basic_string&, size_type, size_type), compare(const _CharT*),
2858 compare(size_type, size_type, const _CharT*), compare(size_type,
2859 size_type, const _CharT*, size_type)): Likewise.
2861 2003-06-03 Benjamin Kosnik <bkoz@redhat.com>
2863 * include/bits/fstream.tcc (pbackfail): Make a rarely taken
2864 'if' branch less obscure.
2866 2003-06-02 Andrew Pinski <pinskia@physics.uc.edu>
2869 * config/cpu/i386/atomicity.h (__exchange_and_add): add intel
2871 * config/cpu/i486/atomicity.h (__exchange_and_add): Likewise.
2872 (__atomic_add): likewise.
2874 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2876 * include/bits/sstream.tcc (pbackfail): Minor clean up and
2877 reformatting, consistent with basic_filebuf::pbackfail.
2879 2003-06-02 Richard Kreckel <Richard.Kreckel@GiNaC.DE>
2882 * config/cpu/mips/atomicity.h: Change __attribute__ ((unused)) to
2883 __attribute__ ((__unused__)).
2884 * config/os/aix/atomicity.h: Likewise.
2886 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2889 * include/bits/fstream.tcc (pbackfail): If the pback buffer
2890 is already active don't try to store in it a second char.
2891 * testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: New.
2893 * include/bits/fstream.tcc (pbackfail): Add unbuffered bits.
2895 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2897 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak
2900 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2902 * include/std/std_fstream.h (_M_destroy_pback): Use _M_in_beg
2903 instead of unnecessarily taking the address of _M_pback.
2904 (xsgetn): Simplify slightly for a single char pback buffer.
2906 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2908 * include/bits/sstream.tcc (seekoff): Remove four unnecessary
2909 variables and two 'if', clean up.
2911 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2913 * include/bits/sstream.tcc (seekpos): Test against _M_out_lim
2914 not _M_out_end, since the former actually points to the string
2915 end (vs buffer end).
2916 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: New.
2918 2003-05-30 Phil Edwards <pme@gcc.gnu.org>
2920 * docs/doxygen/filter: New file.
2921 * docs/doxygen/filter.sed: New file.
2922 * docs/doxygen/run_doxygen: Add g flag to sed substitutions. Duh.
2923 * docs/doxygen/user.cfg.in (INPUT_FILTER): Point to new filter.
2924 * docs/html/documentation.html: Fix links to doxygen pages.
2926 2003-05-30 Paolo Carlini <pcarlini@unitus.it>
2928 * include/bits/fstream.tcc (_M_convert_to_external): Don't
2929 check for __ilen > 0.
2931 2003-05-29 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
2934 * include/bits/stl_iterator.h (class __normal_iterator):
2935 Don't inherit from iterator, add missing typedefs.
2937 2003-05-29 Paolo Carlini <pcarlini@unitus.it>
2939 * testsuite/24_iterators/reverse_iterator.cc: Split up, as follows.
2940 * testsuite/24_iterators/reverse_iterator/1.cc: New.
2941 * testsuite/24_iterators/reverse_iterator/2.cc: New.
2942 * testsuite/24_iterators/reverse_iterator/3.cc: New, from
2945 2003-05-27 Steve Ellcey <sje@cup.hp.com>
2947 * config/os/hpux/os_defines.h: Define _LIBUNWIND_STD_ABI if we are
2949 * libsupc++/eh_throw.cc: Don't call _Unwind_Resume_or_Rethrow if
2950 _LIBUNWIND_STD_ABI is set.
2952 2003-05-26 Brendan Kehoe <brendan@zen.org>
2954 * include/bits/locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and
2955 make sure the number of digits required after the decimal-point
2956 (if any) is exactly the value returned by frac_digits().
2957 * testsuite/22_locale/money_get/get/char/9.cc: New.
2958 * testsuite/22_locale/money_get/get/wchar_t/9.cc: New.
2960 2003-05-27 Jonathan Wakely <redi@gcc.gnu.org>
2962 * include/std/std_istream.h, include/std/std_ostream.h: Typo in
2965 2003-05-26 Benjamin Kosnik <bkoz@redhat.com>
2968 * include/std/std_fstream.h (basic_filebuf::_M_overflow): Remove.
2969 (_M_pback): No array necessary.
2970 * include/bits/fstream.tcc (basic_filebuf::_M_overflow): Add
2971 unbuffered case, coalesec into ...
2972 (basic_filebuf::overflow): ...this.
2973 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: New.
2974 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Unbuffered.
2976 2003-05-24 Nathanael Nerode <neroden@gcc.gnu.org>
2978 * libsupc++/Makefile.am, libsupc++/cxxabi.h, libsupc++/del_op.cc,
2979 libsupc++/del_opnt.cc, libsupc++/del_opv.cc, libsupc++/del_opvnt.cc,
2980 libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc,
2981 libsupc++/eh_catch.cc, libsupc++/eh_exception.cc,
2982 libsupc++/eh_globals.cc, libsupc++/eh_personality.cc,
2983 libsupc++/eh_term_handler.cc, libsupc++/eh_terminate.cc,
2984 libsupc++/eh_throw.cc, libsupc++/eh_type.cc,
2985 libsupc++/eh_unex_handler.cc, libsupc++/exception,
2986 libsupc++/new, libsupc++/new_handler.cc, libsupc++/new_op.cc,
2987 libsupc++/new_opnt.cc, libsupc++/new_opv.cc, libsupc++/new_opvnt.cc,
2988 libsupc++/pure.cc, libsupc++/tinfo.cc, libsupc++/tinfo2.cc,
2989 libsupc++/typeinfo, libsupc++/unwind-cxx.h, libsupc++/vec.cc:
2990 Replace "GNU CC" with "GCC".
2992 * include/backward/new.h: Replace "GNU CC" with "GCC".
2994 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
2997 * configure.in: Switch target to host, don't assume newlib.
2998 (target_alias): Remove.
2999 * configure: Regenerate.
3000 * acinclude.m4: Same.
3001 * aclocal.m4: Regenerate.
3002 * configure.target: Same. Rename to...
3003 * configure.host: This.
3005 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
3007 * include/std/std_fstream.h (_S_pback_size): Remove definition.
3008 (_M_create_pback(), _M_destroy_pback()): Simplify for a single-char
3010 * include/bits/fstream.tcc (_S_pback_size): Remove declaration.
3011 * testsuite/27_io/basic_filebuf/3.cc: Remove explicit instantiation
3012 of _S_pback_size for systems with no COMDAT or weak support.
3013 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
3014 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
3015 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Likewise.
3016 * testsuite/27_io/basic_fstream/3.cc: Likewise.
3017 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
3018 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Likewise.
3019 * testsuite/27_io/basic_ofstream/3.cc: Likewise.
3020 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Likewise.
3021 * testsuite/27_io/basic_streambuf/3.cc: Likewise.
3023 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
3025 * include/bits/fstream.tcc (_M_underflow): Simplify:
3026 !__testout implies _M_filepos == _M_in_end, therefore
3027 the first _M_file.seekoff call is never issued.
3029 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
3031 * configure.in: Sort cross table.
3032 * configure: Regenerate.
3034 2003-05-22 Brad Spencer <spencer@infointeractive.com>
3037 * configure.in: Add Solaris cross bits.
3039 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3041 * libstdc++-v3/config/os/mingw32/os_defines.h
3042 (__GTHREAD_HIDE_WIN32API): Define to 1 by defualt.
3043 (NOMINMAX): Define. Update copyright year.
3045 2003-05-21 Paolo Carlini <pcarlini@unitus.it>
3047 * include/std/std_fstream.h (_M_set_buffer): Fix indentation.
3049 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
3051 * docs/html/faq/index.html: Fix typo.
3052 * docs/html/faq/index.txt: Regenerate.
3054 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
3056 * docs/html/test.html: Fix markup.
3058 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3060 * libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by
3062 Update copyright year.
3064 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
3066 * testsuite/27_io/basic_filebuf/close/char/4.cc: Fix typo.
3068 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
3070 * testsuite/27_io/basic_filebuf/close/char/5.cc: New file,
3071 further testing that upon filebuf::close() 27.8.1.1,3 is enforced.
3073 2003-05-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3075 * include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc):
3076 Cast via void* to avoid -Wcast-align warnings.
3077 (__default_alloc_template::_S_refill): Likewise.
3079 2003-05-20 Benjamin Kosnik <bkoz@redhat.com>
3081 * testsuite/README: Move to...
3082 * docs/html/test.html: ...here. Add documentation.
3083 * docs/html/install.html: Move testing bits out..
3084 * docs/html/documentation.html: Add separate testing link.
3085 * testsuite/performance: Add.
3086 * testsuite/performance/allocator.cc: New.
3087 * testsuite/performance/complex_norm.cc: New.
3088 * testsuite/performance/cout_insert_int.cc: New.
3089 * testsuite/performance/fstream_seek_write.cc: New.
3090 * testsuite/performance/ifstream_getline.cc: New.
3091 * testsuite/performance/map_create_fill.cc: New.
3092 * testsuite/performance/ofstream_insert_float.cc: New.
3093 * testsuite/performance/ofstream_insert_int.cc: New.
3094 * testsuite/performance/string_append.cc: New.
3095 * testsuite/lib/libstdc++-v3-dg.exp (v3-compute-tests): Filter
3098 2003-05-20 Gabriel Dos Reis <gdr@integrable-solutions.net>
3101 * include/std/std_complex.h (pow): Tidy.
3103 2003-05-19 Paolo Carlini <pcarlini@unitus.it>
3105 * testsuite/27_io/basic_filebuf/close/char/4.cc: New file, testing
3106 that upon filebuf::close() 27.8.1.1,3 is enforced.
3108 2003-05-15 Loren J. Rittle <ljrittle@acm.org>
3110 * testsuite/thread/pthread4.cc: Further tweak to avoid fini race.
3112 2003-05-15 Paolo Carlini <pcarlini@unitus.it>
3113 Nathan Myers <ncm@cantrip.org>
3115 * include/bits/fstream.tcc (_M_overflow): Rewrote to call
3116 _M_convert_to_external only once (_M_buf_size is now the size of
3117 the put area + 1 for the overflow char of a full area); call
3118 _M_set_buffer instead of _M_set_indeterminate.
3119 (setbuf): Don't accept a buffer smaller than 2 chars.
3120 (_M_underflow): Refill _M_buf_size - 1 chars; call _M_set_buffer,
3121 instead of _M_set_determinate.
3122 (open): Call _M_set_buffer, instead of _M_set_indeterminate.
3123 (seekoff): Likewise.
3124 * include/ext/stdio_filebuf.h (stdio_filebuf(int,
3125 std::ios_base::openmode, bool, size_t),
3126 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t):
3128 * include/std/std_fstream.h (_M_set_indeterminate): Remove.
3129 (_M_set_determinate): Rename as _M_set_buffer, _M_buf_size ->
3131 * include/std/std_streambuf.h: Tweak _M_out_lim comment.
3132 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Tweak, taking
3133 into account that, for _M_buf_size == BUFSIZ == 8192, the size of
3134 the put area is now BUFSIZ - 1.
3135 * testsuite/ext/stdio_filebuf_2.cc: Tweak, taking into account
3136 that now the smallest _M_buf_size is 2 (still fails, for the same
3139 2003-05-14 Loren J. Rittle <ljrittle@acm.org>
3141 * testsuite/thread/pthread4.cc: Tweak test.
3143 2003-05-13 Benjamin Kosnik <bkoz@redhat.com>
3145 * testsuite/27_io/ios_base/cons/copy_neg.cc: Remove
3146 excess errors dg marker, use dg-errors instead.
3147 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
3148 * testsuite/20_util/auto_ptr_neg.cc: Same.
3150 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3152 * include/std/std_fstream.h (basic_filebuf::_M_codecvt): Add
3154 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf):
3155 Initialize _M_codecvt.
3156 (basic_filebuf::imbue): Same.
3157 (basic_filebuf::showmanyc): Use it.
3158 (basic_filebuf::underflow): Use it.
3159 (basic_filebuf::_M_convert_to_external): Use it.
3160 (basic_filebuf::seekoff): Use it.
3161 (basic_filebuf::imbue): Use it, tweaks.
3162 * include/bits/localefwd.h (__check_facet): New.
3163 * include/bits/locale_classes.h: Tweaks.
3164 * include/bits/locale_facets.tcc: Tweaks.
3165 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Remove.
3166 _M_fctype to _M_ctype, _M_fnumput to _M_num_put, _M_fnumget to
3167 _M_num_get. Change _M_check_facet to __check_facet. Tweaks.
3168 * include/bits/basic_ios.tcc: Same.
3169 * include/bits/istream.tcc: Same.
3170 * include/bits/ostream.tcc: Same.
3171 * include/std/std_streambuf.h: Same.
3172 * testsuite/27_io/basic_filebuf/imbue/char/2.cc: New.
3173 * testsuite/27_io/basic_filebuf/imbue/char/3.cc: New.
3174 * testsuite/27_io/basic_filebuf/imbue/wchar_t/1.cc: New.
3175 * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: New.
3176 * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: New.
3177 * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: New.
3179 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
3181 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Remove
3182 unnecessary includes and unused string literals.
3183 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
3184 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
3185 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
3186 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
3188 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3190 * include/bits/fstream.tcc (_M_overflow): Remove unbuffered bits.
3192 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
3194 * include/std/std_fstream.h (_M_convert_to_external): Change
3195 to return bool, take two less streamsize parameters.
3196 * include/bits/fstream.tcc (_M_convert_to_external): Tweak
3197 consistently definition.
3198 (_M_overflow): Adjust call points.
3200 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3202 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Add weak bits.
3204 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
3206 * testsuite/Makefile.am: Properly quote /both/ LD_RUN_PATHs.
3207 * testsuite/Makefile.in: Regenerate.
3209 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
3211 * testsuite/Makefile.am: Properly quote LD_RUN_PATH.
3212 * testsuite/Makefile.in: Regenerate.
3214 2003-05-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
3217 * include/c_std/std_cmath.h: #include <bits/cpp_type_traits.h>
3218 (acos): Handle integer argument.
3237 * include/bits/cpp_type_traits.h (__are_same<>): New traits.
3238 (__enable_if): Likewise.
3239 * testsuite/26_numerics/cmath/overloads.C: New test.
3241 2003-05-10 Petur Runolfsson <peturr02@ru.is>
3246 * include/bits/fstream.tcc (basic_file::_M_underflow): Add generic
3247 implementation, based on old wchar_t specialization, add support
3248 for codecvt::in() return value of codecvt_base::noconv, remove
3249 _M_file.sys_ungetc() call.
3250 * include/std/std_fstream.h (basic_file::underflow,
3251 basic_file::uflow, basic_file::_M_underflow): Remove
3252 specialization declarations, call _M_underflow from generic versions
3253 of underflow and uflow.
3254 * src/fstream.cc (basic_file::underflow, basic_file::uflow,
3255 basic_file::_M_underflow): Remove specializations.
3256 * src/Makefile.am (sources): Remove fstream.cc.
3257 * src/Makefile.in: Regenerated.
3258 * testsuite/27_io/basic_filebuf/underflow/10096.cc: New test.
3259 * testsuite/27_io/basic_filebuf/underflow/char/1.cc: New test.
3260 * testsuite/27_io/basic_filebuf/underflow/char/9027.cc: New test.
3261 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: New test.
3263 2003-05-10 Benjamin Kosnik <bkoz@redhat.com>
3265 * include/ext/stdio_filebuf.h (__stdio_filebuf): Remove stack
3267 * config/io/basic_file_stdio.h (__basic_file::xsgetn): Remove
3269 (__basic_file::xsputn): Same.
3270 (__basic_file::seekoff): Same.
3271 (__basic_file::seekpos): Same.
3272 (__basic_file::showmanyc): Same.
3273 * config/io/basic_file_stdio.cc: Same.
3274 * include/std/std_fstream.h: Same.
3275 * include/bits/fstream.tcc: Same.
3276 * src/fstream.cc: Same.
3277 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc (test05): Tidy.
3279 2003-05-10 Petur Runolfsson <peturr02@ru.is>
3284 * include/ext/stdio_sync_filebuf.h: New file.
3285 (basic_stdiobuf): New.
3286 * include/Makefile.am (ext_headers): Add ext/stdio_sync_filebuf.h
3287 * include/Makefile.in: Regenerate.
3288 * include/bits/ios_base.h (Init::_S_create_buffers,
3289 Init::_S_destroy_buffers): Remove declarations.
3290 * src/globals.cc (buf_cout_sync, buf_cin_sync, buf_cerr_sync,
3291 buf_wcout_sync, buf_wcin_sync, buf_wcerr_sync): Define.
3292 * src/ios.cc (Init::_S_create_buffers,
3293 Init::_S_destroy_buffers): Remove.
3294 (Init::Init): Create and use syncronized buffers.
3295 (ios_base::sync_with_stdio): Destroy syncronized buffers,
3296 create and install unsyncronized buffers.
3297 * testsuite/27_io/objects/char/10.cc: New test.
3298 * testsuite/27_io/objects/char/9.cc: New test.
3299 * testsuite/27_io/objects/char/9661-1.cc: New test.
3300 * testsuite/27_io/objects/char/9661-2_xin.cc: New test.
3301 * testsuite/27_io/objects/char/9661-2_xin.in: New.
3302 * testsuite/27_io/objects/wchar_t/1.cc: New test.
3303 * testsuite/27_io/objects/wchar_t/10.cc: New test.
3304 * testsuite/27_io/objects/wchar_t/2.cc: New test.
3305 * testsuite/27_io/objects/wchar_t/2523-1_xin.cc: New test.
3306 * testsuite/27_io/objects/wchar_t/2523-1_xin.in: New.
3307 * testsuite/27_io/objects/wchar_t/2523-2_xin.cc: New test.
3308 * testsuite/27_io/objects/wchar_t/2523-2_xin.in: New.
3309 * testsuite/27_io/objects/wchar_t/3045.cc: New test.
3310 * testsuite/27_io/objects/wchar_t/3647.cc: New test.
3311 * testsuite/27_io/objects/wchar_t/3_xin.cc: New test.
3312 * testsuite/27_io/objects/wchar_t/3_xin.in: New.
3313 * testsuite/27_io/objects/wchar_t/4_xin.cc: New test.
3314 * testsuite/27_io/objects/wchar_t/4_xin.in: New.
3315 * testsuite/27_io/objects/wchar_t/5.cc: New test.
3316 * testsuite/27_io/objects/wchar_t/5268.cc: New test.
3317 * testsuite/27_io/objects/wchar_t/5280_xin.cc: New test.
3318 * testsuite/27_io/objects/wchar_t/5280_xin.in: New.
3319 * testsuite/27_io/objects/wchar_t/6.cc: New test.
3320 * testsuite/27_io/objects/wchar_t/6548_xin.cc: New test.
3321 * testsuite/27_io/objects/wchar_t/6548_xin.in: New.
3322 * testsuite/27_io/objects/wchar_t/6648-1_xin.cc: New test.
3323 * testsuite/27_io/objects/wchar_t/6648-1_xin.in: New.
3324 * testsuite/27_io/objects/wchar_t/6648-2_xin.cc: New test.
3325 * testsuite/27_io/objects/wchar_t/6648-2_xin.in: New.
3326 * testsuite/27_io/objects/wchar_t/7.cc: New test.
3327 * testsuite/27_io/objects/wchar_t/7744_xin.cc: New test.
3328 * testsuite/27_io/objects/wchar_t/7744_xin.in: New.
3329 * testsuite/27_io/objects/wchar_t/8.cc: New test.
3330 * testsuite/27_io/objects/wchar_t/9_xin.cc: New test.
3331 * testsuite/27_io/objects/wchar_t/9_xin.in: New.
3332 * testsuite/27_io/objects/wchar_t/9520.cc: New test.
3333 * testsuite/27_io/objects/wchar_t/9661-1.cc: New test.
3334 * testsuite/27_io/objects/wchar_t/9661-2_xin.cc: New test.
3335 * testsuite/27_io/objects/wchar_t/9661-2_xin.in: New.
3336 * testsuite/27_io/objects/wchar_t/9662.cc: New test.
3337 * testsuite/ext/stdiobuf_char.cc: New test.
3338 * testsuite/ext/stdiobuf_wchar_t.cc: New test.
3340 2003-05-10 Paolo Carlini <pcarlini@unitus.it>
3342 * testsuite/27_io/basic_filebuf/close/char/3.cc: Remove
3343 unnecessary includes and unused string literals.
3344 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
3346 2003-05-08 Paolo Carlini <pcarlini@unitus.it>
3348 * include/std/std_streambuf.h (setg, setp): Don't touch _M_mode.
3350 2003-05-07 Richard Henderson <rth@redhat.com>
3353 * libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
3354 (__cxa_end_catch): Likewise.
3355 * libsupc++/eh_throw.cc (__cxa_rethrow): Likewise. Use
3356 _Unwind_Resume_or_Rethrow.
3357 * libsupc++/eh_personality.cc (empty_exception_spec): New.
3358 (PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
3359 for _UA_FORCE_UNWIND. Honor empty filter spec for foreign
3360 exceptions. Don't push terminate/unexpected to cxa functions.
3361 (__cxa_call_unexpected): Remove foreign exception fixmes.
3363 2003-05-07 Benjamin Kosnik <bkoz@redhat.com>
3365 * testsuite/27_io/ios_base/cons: New.
3366 * testsuite/27_io/ios_base/cons/assign_neg.cc: New.
3367 * testsuite/27_io/ios_base/cons/copy_neg.cc: New.
3369 2003-05-07 Paolo Carlini <pcarlini@unitus.it>
3371 * include/std/std_fstream.h (_M_is_indeterminate): Remove.
3373 (basic_filebuf<char/wchar_t>::_M_underflow): Simplify: either
3374 there is no buffer or __testget == !__testinit.
3377 (basic_filebuf<char/wchar_t>::_M_underflow): _M_set_determinate()
3378 automatically sets, if appropriate, _M_out_cur == _M_in_cur.
3380 * include/std/std_fstream.h (_M_destroy_pback): Don't set
3381 unnecessarily _M_pback_cur_save and _M_pback_end_save.
3383 * include/std/std_fstream.h (_M_set_determinate): Minor tweak.
3385 * include/std/std_sstream.h (_M_sync): Minor tweak.
3387 * include/bits/fstream.tcc (close): No need to call
3388 _M_destroy_pback, setting _M_pback_init to false suffices
3391 2003-05-06 Benjamin Kosnik <bkoz@redhat.com>
3393 * include/bits/stl_algo.h: Enums as _S_.
3394 * include/bits/stl_tree.h: Same.
3395 * include/bits/stl_bvector.h: Same.
3396 * include/bits/ios_base.h: Same.
3397 * include/bits/stl_alloc.h: Same.
3398 * include/ext/stl_hashtable.h: Same.
3399 * src/ios.cc: And here.
3401 * include/std/std_sstream.h: Replace _M_really_sync to _M_sync.
3402 * include/bits/sstream.tcc: Same.
3404 * include/bits/basic_ios.h: Correct spacing for '< ctype'.
3406 * include/bits/locale_facets.tcc: Replace __temp to __tmp.
3408 * include/bits/locale_facets.h (__num_base): Remove protected.
3409 Use _S_[io]* names for enumerations.
3410 (_S_format_int): Remove.
3411 * include/bits/locale_facets.tcc: Same.
3412 * src/locale.cc: Same.
3414 * include/std/std_sstream.h (stringbuf::str): Tweak formatting.
3416 2003-05-06 Phil Edwards <pme@gcc.gnu.org>
3418 * docs/html/faq/index.html (3.10): Add note about mips atomicity.h.
3419 * docs/html/faq/index.txt: Regenerated.
3421 2003-05-06 Michael Ritzert <Ritzert@t-online.de>
3422 Matt Kraai <kraai@alumni.cmu.edu>
3424 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
3427 2003-05-06 Richard Sandiford <rsandifo@redhat.com>
3429 * configure.target (mips*): Use the generic atomicity.h by default.
3431 2003-05-05 Loren J. Rittle <ljrittle@acm.org>
3432 (Inspired by an alternate patch from Danny Smith.)
3434 * include/bits/stl_threads.h (_Atomic_swap): Kill it...
3435 (_Swap_lock_struct<>): ...and the horse it rode in on.
3436 * src/globals.cc (_Swap_lock_struct<>): Likewise.
3437 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New
3438 member to support...
3439 * include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory
3440 visibility rules related to POSIX threads.
3441 * testsuite/thread/pthread7-rope.cc: New test.
3443 2003-05-04 Paolo Carlini <pcarlini@unitus.it>
3445 * testsuite/21_strings/basic_string/find/char/3.cc: New
3446 file, testing basic_string<char>::find_first_not_of.
3447 * testsuite/21_strings/basic_string/find/wchar_t/3.cc:
3448 Likewise for basic_string<wchar_t>.
3450 2003-05-03 Loren J. Rittle <ljrittle@acm.org>
3452 * testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
3454 2003-05-02 Benjamin Kosnik <bkoz@redhat.com>
3456 * include/Makefile.am (CLEANFILES): Remove PCH files in target
3458 * include/Makefile.in: Regenerate.
3460 2003-05-02 Paolo Carlini <pcarlini@unitus.it>
3462 * include/std/std_sstream.h (str()): Tidy.
3464 2003-05-02 Nathan Myers <ncm@cantrip.org>
3465 Paolo Carlini <pcarlini@unitus.it>
3467 * include/bits/streambuf.tcc (__copy_streambufs): Rewrote.
3469 2003-05-02 Jonathan Wakely <redi@gcc.gnu.org>
3471 * include/bits/basic_string.h (swap): Remove redundant template
3472 parameters from declaration of non-template member function.
3474 2003-05-01 Phil Edwards <pme@gcc.gnu.org>
3476 * acconfig.h (_GLIBCPP_USE_NLS): New symbol.
3477 * configure.in: Move libintl.h header test...
3478 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): ...to here. Gather all
3479 the NLS-related test results into one symbol.
3480 * src/functexcept.cc: Use it here.
3481 * aclocal.m4, config.h.in, configure: Regenerated.
3483 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3485 * include/bits/sstream.tcc (overflow): Instead of calling
3486 str(), then _M_string.reserve, thus copying the contents
3487 of the current buffer two times, just copy the latter in
3488 a temporary, then use the 'swap trick'.
3490 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3492 * include/std/std_sstream.h (str()): Revert the best of the
3493 previous 'improvement', incorrect due to the COW nature of
3494 v3 basic_string; simplify.
3496 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3498 * include/bits/streambuf.tcc (__copy_streambufs): Adjust the
3499 type of __avail to ptrdiff_t to avoid signed-unsigned warning.
3501 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
3503 * testsuite/abi_check.cc (check_version): Update known versions.
3504 Check added symbols for version_name != base version. Add missing
3505 symbols to incompatible list.
3507 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
3509 * acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
3510 * aclocal.m4: Regenerated.
3511 * configure: Regenerated.
3513 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3515 * include/bits/streambuf.tcc (basic_streambuf::xsgetn):
3516 Const-ify some variables.
3517 (basic_streambuf::xsputn): Likewise; change the type of some
3518 variables to size_t.
3519 (__copy_streambufs): Change some variables to size_t.
3521 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3523 * include/std/std_sstream.h (str()): Avoid constructing
3524 a basic_string temporary not only when it would turn out
3525 to be zero-sized but also when identical to the current
3528 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3530 * include/ext/stdio_filebuf.h
3531 (stdio_filebuf(int, std::ios_base::openmode, bool, size_t),
3532 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t)):
3533 Shorten a bit (-10 lines) by factoring out some code.
3535 2003-04-30 Phil Edwards <pme@gcc.gnu.org>
3537 * acinclude.m4: Add bit missing from previous patch.
3538 * aclocal.m4, configure: Regenerated.
3540 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
3542 * docs/doxygen/mainpage.html: Bring up to date.
3543 * docs/doxygen/run_doxygen: Cosmetic tweaks. Work around a bug
3545 * docs/doxygen/user.cfg.in: Scanning the precompiled headers
3546 breaks everything. Don't scan them.
3547 * docs/html/documentation.html: Point to "Write after approval"
3550 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
3552 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Search for gettext outside
3553 of libc if message translations are being used. Fix info text in
3554 xieee_1003.1-2001 case.
3555 * aclocal.m4, configure: Regenerate.
3557 2003-04-29 Joel Sherrill <joel.sherrill@OARcorp.com>
3558 Loren J. Rittle <ljrittle@acm.org>
3559 Martin v. Loewis <martin@v.loewis.de>
3561 * config/cpu/i386/atomicity.h: New file.
3563 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
3565 * include/bits/fstream.tcc (open): Change to single return.
3567 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
3569 * include/std/std_sstream.h (underflow): Change to single return.
3571 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3573 * include/std/std_streambuf.h (_M_buf): is currently
3574 used only for basic_filebuf, therefore move it there.
3575 (basic_streambuf(), ~basic_streambuf()): Adjust.
3576 * include/std/std_fstream.h (_M_buf): Moved here.
3577 * include/std/std_sstream.h (setbuf): Don't set _M_buf,
3578 is actually redundant for basic_stringbuf.
3579 (_M_really_sync): Likewise.
3580 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
3581 * include/bits/sstream.tcc (seekoff): Adjust.
3583 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
3585 * src/localename.cc: Standardize exception strings.
3586 * src/locale.cc: Same.
3588 * include/bits/basic_string.tcc: Same.
3589 * include/bits/basic_ios.tcc: Same.
3590 * include/std/std_bitset.h: Same.
3591 * include/ext/ropeimpl.h: Same.
3592 * include/bits/stl_vector.h: Same.
3593 * include/bits/stl_deque.h: Same.
3594 * include/bits/stl_bvector.h: Same.
3595 * config/locale/generic/c_locale.cc: Same.
3596 * config/locale/gnu/c_locale.cc: Same.
3597 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
3599 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify.
3601 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3603 * include/std/std_streambuf.h (_M_buf_size): is currently
3604 used only for basic_filebuf, therefore move it there.
3605 (basic_streambuf(), ~basic_streambuf()): Adjust.
3606 * include/std/std_fstream.h (_M_buf_size): Moved here.
3607 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
3609 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3611 * include/bits/streambuf.tcc (__copy_streambufs): Don't use
3612 _M_buf_size (synced input is now correctly dealt with
3613 elsewhere); when the output buffer is full don't fall back
3614 to a snextc-sputc loop, call overflow instead.
3616 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3618 * include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
3619 the innermost 'if' by factoring out some code.
3621 2003-04-28 Phil Edwards <pme@gcc.gnu.org>
3623 * configure.in: Test for libintl.h.
3624 * include/bits/c++config: Define __N for everybody.
3625 * include/bits/basic_string.h, include/bits/stl_bvector.h,
3626 include/bits/stl_deque.h, include/bits/stl_vector.h,
3627 include/std/std_bitset.h: Wrap all __throw* text with __N.
3628 * po/Makefile.am (pot): New rule, mostly working.
3629 * src/functexcept.cc: Call gettext on all __throw* arguments when
3630 -fexceptions is in effect.
3631 * po/Makefile.in, config.h.in, configure: Regenerate.
3633 2003-04-28 Petur Runolfsson <peturr02@ru.is>
3636 * include/bits/ios_base.h (Init::_S_ios_create,
3637 Init::_S_ios_destroy): Remove declarations.
3638 (Init::_S_create_buffers,
3639 Init::_S_destroy_buffers): Declare
3640 * src/ios.cc (Init::_S_ios_create): Remove
3641 (Init::_S_create_buffers): Create buffers and add to streams.
3642 (Init::_S_ios_destroy): Rename to...
3643 (Init::_S_destroy_buffers): this.
3644 (Init::Init): Only construct streams once.
3645 (Init::~Init): Flush streams, don't destroy them.
3646 (ios_base::sync_with_stdio): Don't destroy streams, only buffers.
3647 * testsuite/27_io/ios_base/sync_with_stdio/9523.cc: New test.
3648 * testsuite/27_io/objects/char/5.cc: New test.
3649 * testsuite/27_io/objects/char/5268.cc: Avoid undefined behavior.
3650 * testsuite/27_io/objects/char/6.cc: New test.
3651 * testsuite/27_io/objects/char/7.cc: New test.
3653 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
3655 * testsuite/27_io/objects/char/8.cc: New test.
3657 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
3659 * testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage.
3660 * testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same.
3662 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
3664 * include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to
3665 _M_destroy_pback. _M_pback_create to
3666 _M_create_pback. _M_underflow_common to
3667 _M_underflow. _M_really_overflow to _M_overflow.
3668 * include/bits/fstream.tcc: Same.
3669 * src/fstream.cc: Same.
3670 * include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to
3671 _M_move_in_cur. _M_out_cur_move to _M_move_out_cur.
3672 * include/bits/streambuf.tcc: Same.
3673 * include/bits/fstream.tcc: Same.
3674 * include/bits/sstream.tcc: Same.
3676 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
3678 * include/bits/locale_classes.h (locale::_Impl): Change _M_names
3679 from fixed size array.
3680 (locale): Change _S_categories as well.
3682 * include/bits/locale_facets.tcc: Tweak.
3683 * config/locale/gnu/c_locale.cc: Assign _S_categories.
3684 * config/locale/generic/c_locale.cc: Same.
3685 * src/locale.cc: Tweak.
3686 * src/globals.cc: Change facet_name to name_vec, add names_c.
3687 * src/localename.cc: Use them.
3688 (locale::_Impl::~_Impl): Destroy _M_names.
3689 (locale::_Impl::_Impl): Create _M_names.
3691 2003-04-27 Andreas Schwab <schwab@suse.de>
3693 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
3694 (__enc_traits): Use __ibom and __ebom instead of ignoring them.
3696 2003-04-27 Nathan Myers <ncm@cantrip.org>
3698 Move some basic_string members out of line because
3699 they are too big to reasonably be inline.
3700 * include/bits/basic_string.h
3701 (assign(const basic_string&, size_type, size_type),
3702 assign(const _CharT*, size_type),
3703 insert(size_type, const basic_string&, size_type, size_type),
3704 insert(size_type, const _CharT*, size_type),
3705 replace(size_type, size_type, const _CharT*, size_type)):
3706 Move from here to...
3707 * include/bits/basic_string.tcc: ...here.
3709 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
3711 * include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines)
3712 the innermost 'if' by factoring out some code.
3714 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
3716 * include/bits/streambuf.tcc (__copy_streambufs): Don't
3717 use in_avail(), simplify.
3719 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
3721 * include/std/std_sstream.h (setbuf): don't set _M_buf_size,
3722 in basic_stringbuf it's unused.
3724 * include/std/std_sstream.h (underflow): consistently use
3725 _M_in_cur, not gptr().
3727 2003-04-25 Ranjit Mathew <rmathew@hotmail.com>
3728 Phil Edwards <pme@gcc.gnu.org>
3730 * testsuite_flags.in: Guard against the possibility
3731 of having "xgcc" as a part of a folder name in the
3732 path to the GCC build folder.
3733 * testsuite/Makefile.am: Likewise.
3734 * testsuite/Makefile.in: Regenerated.
3736 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
3739 * include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
3740 exception specifications.
3741 (basic_filebuf::close): Same.
3742 (basic_filebuf::_M_pback_destroy): Same.
3743 (basic_filebuf::_M_destroy_internal_buffer): Same.
3744 (basic_filebuf): Remove __res_type typedef.
3745 * src/fstream.cc: Same.
3746 * include/bits/fstream.tcc
3747 (basic_filebuf::_M_convert_to_external): Simplify.
3748 (basic_filebuf::seekoff): Use has_facet before use_facet.
3749 (basic_filebuf::close): Add exception specification of throw().
3750 * testsuite/27_io/basic_filebuf/cons: New.
3751 * testsuite/27_io/basic_filebuf/cons/wchar_t: New.
3752 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.
3753 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
3754 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.
3756 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
3758 * include/bits/locale_classes.h
3759 (locale::_S_extra_categories_size): Remove.
3760 * src/locale.cc: Remove _S_extra_categories_size.
3761 * src/localename.cc: Same.
3762 * config/locale/gnu/c_locale.cc: Same.
3763 * config/locale/generic/c_locale.cc: Same.
3765 2003-04-24 Richard Sandiford <rsandifo@redhat.com>
3767 * src/localename.cc (__gnu_cxx::facet_vec): Correct types.
3769 2003-04-24 Phil Edwards <pme@gcc.gnu.org>
3771 * docs/html/17_intro/howto.html: Update some links.
3772 * docs/html/18_support/howto.html: Link doxygen numeric_limits notes.
3773 * docs/html/27_io/howto.html: Link doxygen stdio_filebuf notes.
3774 * docs/html/ext/howto.html: Link to demangler notes and API.
3775 * docs/html/faq/index.html: Remove trailing whitespace.
3776 (1.4, 2.4, 3.8, 4.1): Bring up to date.
3777 (5.6): Change to a bulleted list.
3779 * docs/html/faq/index.txt, docs/html/documentation.html,
3780 docs/html/17_intro/porting.html: Regenerate.
3782 2003-04-23 Paolo Carlini <pcarlini@unitus.it>
3784 * testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now
3785 belongs to basic_filebuf.
3786 * testsuite/27_io/basic_fstream/3.cc: Likewise.
3787 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
3788 * testsuite/27_io/basic_ios/3.cc: Remove _S_pback_size
3789 instantiation (now belongs to basic_filebuf).
3790 * testsuite/27_io/basic_iostream/3.cc: Likewise.
3791 * testsuite/27_io/basic_istream/3.cc: Likewise.
3792 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
3793 _S_pback_size now belongs to basic_filebuf.
3794 * testsuite/27_io/basic_istringstream/3.cc: Remove _S_pback_size
3795 instantiation (now belongs to basic_filebuf).
3796 * testsuite/27_io/basic_ofstream/3.cc: _S_pback_size now
3797 belongs to basic_filebuf.
3798 * testsuite/27_io/basic_ostream/3.cc: Remove _S_pback_size
3799 instantiation (now belongs to basic_filebuf).
3800 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc:
3801 _S_pback_size now belongs to basic_filebuf.
3802 * testsuite/27_io/basic_ostringstream/3.cc: Remove _S_pback_size
3803 instantiation (now belongs to basic_filebuf).
3804 * testsuite/27_io/basic_streambuf/3.cc: _S_pback_size now belongs
3806 * testsuite/27_io/basic_stringbuf/3.cc: Remove _S_pback_size
3807 instantiation (now belongs to basic_filebuf).
3808 * testsuite/27_io/basic_stringstream/3.cc: Likewise.
3810 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
3812 * configure.in: Move GLIBCPP_CHECK_PCH before native/cross conditions.
3813 * configure: Regenerated.
3815 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
3817 * config/locale/generic/c_locale.h (__convert_from_v): Use
3820 2003-04-23 Phil Edwards <pme@gcc.gnu.org>
3822 * docs/html/ext/howto.html ('LWG Issues'): Add issue 60, partial
3823 implementation only.
3824 * include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
3825 Comment and change to comply with DR 60 and the effect on gcount().
3826 * include/std/std_istream.h: Update comments.
3827 * testsuite/27_io/basic_istream/putback/char/1.cc (test01): Add
3828 comments about reasons for tests. Test sync() against gcount().
3829 * testsuite/27_io/basic_istream/seekg/char/2.cc: New file, test
3830 for effect on gcount().
3831 * testsuite/27_io/basic_istream/tellg/char/2.cc: New file, test
3832 for effect on gcount().
3834 2003-04-22 Loren J. Rittle <ljrittle@acm.org>
3836 * testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
3839 2003-04-22 Paolo Carlini <pcarlini@unitus.it>
3841 * include/std/std_streambuf.h (_S_pback_size, _M_pback,
3842 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
3843 _M_pback_create(), _M_pback_destroy()): Move to basic_filebuf.
3844 (basic_streambuf::basic_streambuf()): Adjust.
3845 * include/std/std_fstream.h (_S_pback_size, _M_pback,
3846 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
3847 _M_pback_create(), _M_pback_destroy()): Moved here
3848 from basic_streambuf.
3849 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf()):
3851 (basic_filebuf::_S_pback_size): Add declaration.
3852 * include/bits/streambuf.tcc (basic_streambuf::_S_pback_size):
3855 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
3857 Consistently use _M_in_beg instead of eback(), _M_in_cur
3858 instead of gptr(), and so on.
3859 * include/bits/fstream.tcc (pbackfail, imbue): Here.
3860 * include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto.
3861 * include/bits/streambuf.tcc (sbumpc, sputbackc,
3862 __copy_streambufs): Ditto.
3863 * include/std/std_streambuf.h (sgetc): Ditto.
3865 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
3867 * include/bits/sstream.tcc (pbackfail, overflow):
3870 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
3872 * include/std/std_streambuf.h (uflow()): It's used only by
3873 basic_stringbuf (i.e., basic_filebuf provide its own uflow()),
3874 therefore do not consider the _M_buf_unified == true case.
3876 * include/std/std_streambuf.h (sgetc()): Restore __ret variable.
3878 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
3880 * docs/html/ext/howto.html ('LWG Issues'):
3881 Add issues 19, 90, 171, 231, 271.
3883 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
3885 * include/bits/sstream.tcc (pbackfail): Remove redundant
3886 NULL pointer check from test involving _M_in_*.
3887 (overflow, seekoff, seekpos): Const qualify bool variables.
3888 * include/std/std_sstream.h (underflow): Remove redundant
3889 NULL pointer check from test involving _M_in_*.
3890 (_M_really_sync): Const qualify bool variables.
3891 * src/fstream.cc (_M_underflow_common): Remove redundant
3892 NULL pointer check from test involving _M_in_*, const qualify
3895 * include/std/std_streambuf.h (sgetc): Remove redundant
3898 2003-04-18 Paolo Carlini <pcarlini@unitus.it>
3900 According to 5.9 para 2 (second bullet) for pointers p, q
3901 pointing to the same type, with p == 0 and q == 0, (p < q)
3903 * include/bits/fstream.tcc (close, overflow, _M_really_overflow,
3904 seekoff): Remove redundant NULL pointer checks from tests
3905 involving _M_out_* and _M_in_*, const qualify bool variables.
3906 (showmanyc, pbackfail, _M_convert_to_external, imbue): Const
3907 qualify bool variables.
3908 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc):
3909 Remove redundant NULL pointer checks from tests involving
3910 _M_out_* and _M_in_*, const qualify bool variables.
3911 * include/std/std_fstream.h (sync): Likewise.
3912 (_M_is_indeterminate): Const qualify bool variables.
3913 * include/std/std_streambuf.h (sgetc, uflow): Remove redundant
3914 NULL pointer checks from tests involving _M_out_* and _M_in_*,
3915 const qualify bool variables.
3916 (_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool
3919 2003-04-18 Loren J. Rittle <ljrittle@acm.org>
3921 * include/c_std/std_cmath.h (C99 FP capture): Only undefine said
3922 C99 FP macros, if actually captured.
3924 * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
3925 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
3926 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
3927 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
3928 * config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
3930 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
3931 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
3932 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
3933 * include/c_std/std_cstdlib.h: Use new macros.
3934 * include/c_std/std_cstdio.h: Use new macros.
3935 * include/c_std/std_cwchar.h: Use new macros.
3937 2003-04-17 Benjamin Kosnik <bkoz@redhat.com>
3940 * include/bits/ostream.tcc: Catch all exceptions for formatted
3941 output, instead of std::exception and derivatives.
3942 * include/bits/istream.tcc: Same.
3943 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
3944 * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
3945 * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
3946 * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
3947 * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
3948 * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
3951 2003-04-17 Phil Edwards <pme@gcc.gnu.org>
3953 * include/bits/c++config: Minor cosmetic tweaks.
3955 2003-04-17 Loren J. Rittle <ljrittle@acm.org>
3957 * testsuite_flags.in (PCHFLAGS): Find PCH in new home.
3958 * include/Makefile.am (pch_input): Find in ${target_builddir}.
3959 (pch_output): Rename to...
3960 (pch_output_builddir): ..this. Find in ${target_builddir}.
3961 (pch_source): Tweak.
3962 (pch_build): Key off a built file.
3963 (pch_output rule): Rename to...
3964 (pch_input rule): ...this. Produce ${pch_output_builddir}
3965 instead of ${pch_output}.
3966 (install-pch rule): Install ${pch_output_builddir}.
3967 * include/Makefile.in: Regenerated.
3969 2003-04-17 Paolo Carlini <pcarlini@unitus.it>
3971 * include/std/std_streambuf.h (setp): _M_out_lim, being
3972 the end limit of used put area, is set equal to _M_out_beg.
3974 2003-04-16 Benjamin Kosnik <bkoz@redhat.com>
3976 * acinclude.m4 (GLIBCPP_CHECK_PCH): New.
3977 * aclocal.m4: Regenerated.
3978 * configure.in: Remove old demangler bits.
3980 * configure: Regenerate.
3981 * config.h.in: Regenerate.
3982 * include/Makefile.am (allstamps): Now allstamped.
3983 (allcreated): Define this.
3984 (all-local): Use 'em.
3985 Conditionally define pch_build, pch_install based on
3987 (${pch_output}): New rule.
3988 (install-pch): New rule.
3989 (install-headers): New rule.
3990 (install-data-local): Install headers and conditionally pch.
3991 * include/Makefile.in: Regenerate.
3992 * testsuite_flags.in (--build-cxx): Use pch file.
3994 2003-04-16 Jonathan Wakely <redi@gcc.gnu.org>
3996 * docs/html/ext/sgiexts.html: Fix path to stylesheet.
3998 2003-04-15 Benjamin Kosnik <bkoz at redhat dot com>
3999 Paolo Carlini <pcarlini at unitus dot it>
4002 * docs/html/27_io/howto.html
4003 ('The buffering is screwing up my program!'): Explain that
4004 opening counts as an I/O operation.
4006 2003-04-15 Andreas Tobler <a.tobler@schweiz.ch>
4008 * testsuite/thread/pthread1.cc: Enable for darwin test.
4009 * testsuite/thread/pthread2.cc: Same.
4010 * testsuite/thread/pthread3.cc: Same.
4011 * testsuite/thread/pthread4.cc: Same.
4012 * testsuite/thread/pthread5.cc: Same.
4013 * testsuite/thread/pthread6.cc: Same.
4015 2003-04-15 Loren J. Rittle <ljrittle@acm.org>
4018 * include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
4019 Populate it with multiple legal ways to obtain the C99 float
4020 transcendentals. Use them instead of direct global reference.
4021 (C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
4022 * docs/html/17_intro/porting.texi
4023 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
4024 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
4025 (_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
4026 * config/os/bsd/freebsd/os_defines.h
4027 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
4028 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
4029 * testsuite/26_numerics/c_math_dynamic.cc: New file.
4031 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
4032 Benjamin Kosnik <bkoz@redhat.com>
4034 * config/os/generic/ctype_inline.h: Fix.
4036 2003-04-14 Benjamin Kosnik <bkoz@redhat.com>
4038 * testsuite/testsuite_hooks.h
4039 (__gnu_cxx_test::run_test_wrapped_generic_locale_exception_catcher):
4040 Change to try_named_locale.
4041 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Same.
4043 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Use
4045 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
4046 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
4047 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Same.
4048 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Same.
4049 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Same.
4050 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Same.
4051 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Same.
4052 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Same.
4053 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Same.
4054 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Same.
4055 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Same.
4056 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Same.
4057 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Same.
4058 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Same.
4059 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Same.
4060 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
4061 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
4062 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
4063 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Same.
4064 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Same.
4065 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Same.
4066 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Same.
4067 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Same.
4068 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Same.
4069 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Same.
4070 * testsuite/22_locale/collate/compare/char/1.cc: Same.
4071 * testsuite/22_locale/collate/compare/char/2.cc: Same.
4072 * testsuite/22_locale/collate/compare/char/3.cc: Same.
4073 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Same.
4074 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Same.
4075 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Same.
4076 * testsuite/22_locale/collate/hash/char/2.cc: Same.
4077 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
4078 * testsuite/22_locale/collate/transform/char/2.cc: Same.
4079 * testsuite/22_locale/collate/transform/char/3.cc: Same.
4080 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
4081 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Same.
4082 * testsuite/22_locale/collate_byname/1.cc: Same.
4083 * testsuite/22_locale/ctype/is/char/2.cc: Same.
4084 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
4085 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Same.
4086 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Same.
4087 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Same.
4088 * testsuite/22_locale/facet/2.cc: Same.
4089 * testsuite/22_locale/locale/cons/2.cc: Same.
4090 * testsuite/22_locale/locale/cons/4.cc: Same.
4091 * testsuite/22_locale/locale/cons/5.cc: Same.
4092 * testsuite/22_locale/locale/cons/7.cc: Same.
4093 * testsuite/22_locale/locale/cons/7222-c.cc: Same.
4094 * testsuite/22_locale/locale/cons/7222-env.cc: Same.
4095 * testsuite/22_locale/locale/global_locale_objects/2.cc: Same.
4096 * testsuite/22_locale/messages/members/char/1.cc: Same.
4097 * testsuite/22_locale/messages/members/char/2.cc: Same.
4098 * testsuite/22_locale/messages/members/char/3.cc: Same.
4099 * testsuite/22_locale/messages_byname/1.cc: Same.
4100 * testsuite/22_locale/money_get/get/char/1.cc: Same.
4101 * testsuite/22_locale/money_get/get/char/2.cc: Same.
4102 * testsuite/22_locale/money_get/get/char/3.cc: Same.
4103 * testsuite/22_locale/money_get/get/char/4.cc: Same.
4104 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Same.
4105 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Same.
4106 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Same.
4107 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Same.
4108 * testsuite/22_locale/money_put/put/char/1.cc: Same.
4109 * testsuite/22_locale/money_put/put/char/2.cc: Same.
4110 * testsuite/22_locale/money_put/put/char/3.cc: Same.
4111 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Same.
4112 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Same.
4113 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Same.
4114 * testsuite/22_locale/moneypunct/members/char/2.cc: Same.
4115 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Same.
4116 * testsuite/22_locale/moneypunct_byname/1.cc: Same.
4117 * testsuite/22_locale/num_get/get/char/1.cc: Same.
4118 * testsuite/22_locale/num_get/get/char/2.cc: Same.
4119 * testsuite/22_locale/num_get/get/char/3.cc: Same.
4120 * testsuite/22_locale/num_get/get/char/5.cc: Same.
4121 * testsuite/22_locale/num_get/get/char/6.cc: Same.
4122 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Same.
4123 * testsuite/22_locale/num_get/get/wchar_t/2.cc: Same.
4124 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Same.
4125 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Same.
4126 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Same.
4127 * testsuite/22_locale/num_put/put/char/1.cc: Same.
4128 * testsuite/22_locale/num_put/put/char/2.cc: Same.
4129 * testsuite/22_locale/num_put/put/char/3.cc: Same.
4130 * testsuite/22_locale/num_put/put/char/5.cc: Same.
4131 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Same.
4132 * testsuite/22_locale/num_put/put/wchar_t/2.cc: Same.
4133 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Same.
4134 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Same.
4135 * testsuite/22_locale/numpunct/members/char/1.cc: Same.
4136 * testsuite/22_locale/numpunct/members/char/2.cc: Same.
4137 * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Same.
4138 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Same.
4139 * testsuite/22_locale/numpunct_byname/1.cc: Same.
4140 * testsuite/22_locale/numpunct_byname/2.cc: Same.
4141 * testsuite/22_locale/time_get/date_order/char/1.cc: Same.
4142 * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Same.
4143 * testsuite/22_locale/time_get/get_date/char/1.cc: Same.
4144 * testsuite/22_locale/time_get/get_date/char/2.cc: Same.
4145 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Same.
4146 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Same.
4147 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Same.
4148 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Same.
4149 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Same.
4150 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Same.
4151 * testsuite/22_locale/time_get/get_time/char/1.cc: Same.
4152 * testsuite/22_locale/time_get/get_time/char/2.cc: Same.
4153 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Same.
4154 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Same.
4155 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Same.
4156 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Same.
4157 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Same.
4158 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Same.
4159 * testsuite/22_locale/time_get/get_year/char/1.cc: Same.
4160 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Same.
4161 * testsuite/22_locale/time_put/put/char/1.cc: Same.
4162 * testsuite/22_locale/time_put/put/char/2.cc: Same.
4163 * testsuite/22_locale/time_put/put/char/3.cc: Same.
4164 * testsuite/22_locale/time_put/put/char/4.cc: Same.
4165 * testsuite/22_locale/time_put/put/char/5.cc: Same.
4166 * testsuite/22_locale/time_put/put/char/6.cc: Same.
4167 * testsuite/22_locale/time_put/put/char/7.cc: Same.
4168 * testsuite/22_locale/time_put/put/char/8.cc: Same.
4169 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Same.
4170 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Same.
4171 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Same.
4172 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Same.
4173 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Same.
4174 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Same.
4175 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Same.
4176 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Same.
4177 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Same.
4178 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Same.
4179 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Same.
4180 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Same.
4181 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Same.
4183 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
4185 * configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
4186 solaris includes, not generic.
4188 2003-04-14 Loren J. Rittle <ljrittle@acm.org>
4190 * testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
4192 * include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit.
4193 * include/bits/concept_check.h: Fix multi-line comment.
4194 * testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
4195 when target is *-*-freebsd*.
4197 2003-04-14 Nathan Myers <ncm@cantrip.org>
4198 Paolo Carlini <pcarlini@unitus.it>
4200 PR libstdc++/9701 (in_avail())
4201 * include/std/std_streambuf.h (in_avail): Simplify, in_avail
4202 doesn't care if there is anything in some putback cell.
4203 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add.
4205 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some
4206 unused string literals.
4208 2003-04-14 Paolo Carlini <pcarlini@unitus.it>
4210 * include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set
4211 _M_out_end, _M_set_indeterminate() does it.
4213 2003-04-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4215 * os/hpux/ctype_inline.h: Replace with gnu-linux version.
4217 2003-04-12 David Edelsohn <edelsohn@gnu.org>
4219 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
4220 Change basic_streambuf instantiation to "unsigned char".
4221 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
4223 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
4225 Remove _M_buf_size_opt, use directly _M_buf_size instead.
4226 * include/bits/fstream.tcc
4227 (basic_filebuf::_M_allocate_internal_buffer, setbuf): Remove
4228 references to _M_buf_size_opt.
4229 * include/bits/sstream.tcc (basic_stringbuf::overflow): Likewise.
4230 * include/bits/streambuf.tcc (__copy_streambufs): Likewise, rename
4231 __bufsize to __in_avail and __size_opt to __buf_size.
4232 * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): Likewise.
4233 * include/std/std_sstream.h (_M_stringbuf_init, setbuf): Likewise.
4234 * include/std/std_streambuf.h (~basic_streambuf(),
4235 basic_streambuf()): Likewise, remove _M_buf_size_opt member.
4236 * testsuite/27_io/basic_filebuf/close/char/3.cc: Set _M_buf_size.
4237 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
4238 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Likewise.
4239 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Likewise.
4240 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Likewise.
4241 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Likewise.
4242 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Likewise.
4243 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Likewise.
4244 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
4245 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
4246 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
4247 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
4249 2003-04-12 Paolo Carlini <pcarlini at unitus dot it>
4251 * include/ext/stdio_filebuf.h
4252 (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
4253 stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
4254 _M_buf_size_opt == 0 only means "not to use an allocated buffer"
4255 since a stack-based buffer is used for small values of the size_t
4257 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
4258 If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
4259 * testsuite/ext/stdio_filebuf_2.cc: New testfile.
4261 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
4264 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: New.
4265 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Ditto.
4267 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4269 * testsuite/22_locale/locale/cons/3.cc: Split.
4270 * testsuite/22_locale/locale/cons/7222-c.cc: New.
4271 * testsuite/22_locale/locale/cons/7222-env.cc: New.
4272 Check before trying to create a locale from the environment.
4273 * testsuite/27_io/ios_base/state/1.cc (test02): Use "C" locale.
4274 * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
4277 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4279 * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic
4280 locale to construct this hybrid locale, not the global locale.
4282 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4284 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
4285 instantiation for AIX.
4286 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
4287 * testsuite/25_algorithms/min_max.cc: Same.
4289 2003-04-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4291 * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
4292 twice. Always set _M_cfile to 0 when stream was open.
4294 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
4296 Reshuffle 27_io testsuite. * testsuite/27_io/filebuf.cc,
4297 filebuf_members-1.tst, filebuf_members-1.txt, filebuf_members.cc,
4298 filebuf_virtuals-1.tst, filebuf_virtuals-1.txt,
4299 filebuf_virtuals-2.tst, filebuf_virtuals-3.tst,
4300 filebuf_virtuals.cc, fpos.cc, fstream.cc, fstream_members.cc,
4301 ifstream.cc, ifstream_members-1.tst, ifstream_members-1.txt,
4302 ifstream_members.cc, instantiations.cc, ios.cc,
4303 ios_base_callbacks.cc, ios_base_members_static-1.tst,
4304 ios_base_members_static.cc, ios_base_storage.cc,
4305 ios_base_types.cc, ios_ctor.cc, ios_init.cc,
4306 ios_manip_basefield.cc, ios_manip_fmtflags.cc, ios_members.cc,
4307 iostream.cc, iostream_members.cc, istream.cc,
4308 istream_exception.cc, istream_extractor_char.cc,
4309 istream_extractor_other-1.tst, istream_extractor_other-1.txt,
4310 istream_extractor_other-2.tst, istream_extractor_other.cc,
4311 istream_manip.cc, istream_seeks-1.tst, istream_seeks-1.txt,
4312 istream_seeks-2.tst, istream_seeks-3.tst, istream_seeks.cc,
4313 istream_sentry.cc, istream_unformatted-1.tst,
4314 istream_unformatted-1.txt, istream_unformatted.cc,
4315 istringstream.cc, istringstream_members.cc,
4316 narrow_stream_objects.cc, ofstream.cc, ofstream_members-1.tst,
4317 ofstream_members.cc, ostream.cc, ostream_exception.cc,
4318 ostream_fail.cc, ostream_inserter_arith.cc,
4319 ostream_inserter_char-1.tst, ostream_inserter_char-1.txt,
4320 ostream_inserter_char.cc, ostream_inserter_other-1.tst,
4321 ostream_inserter_other-2.tst, ostream_inserter_other.cc,
4322 ostream_manip.cc, ostream_seeks-1.tst, ostream_seeks.cc,
4323 ostream_sentry.cc, ostream_unformatted.cc, ostringstream.cc,
4324 ostringstream_members.cc, standard_manipulators.cc, streambuf.cc,
4325 streambuf_members.cc, stringbuf.cc, stringbuf_members.cc,
4326 stringbuf_virtuals.cc, stringstream.cc, stringstream_members.cc,
4327 wide_stream_objects.cc, istream_extractor_arith/01.cc,
4328 istream_extractor_arith/02.cc, istream_extractor_arith/03.cc,
4329 istream_extractor_arith/06.cc, istream_extractor_arith/07.cc,
4330 istream_extractor_arith/08.cc, istream_extractor_arith/09.cc,
4331 istream_extractor_arith/10.cc, istream_extractor_arith/11.cc,
4332 istream_extractor_arith/12.cc, istream_extractor_arith/13.cc:
4334 * 27_io/basic_filebuf/1.cc: New.
4335 * 27_io/basic_filebuf/2.cc: New.
4336 * 27_io/basic_filebuf/3.cc: New.
4337 * 27_io/basic_filebuf/4.cc: New.
4338 * 27_io/basic_filebuf/close/char/1.cc: New.
4339 * 27_io/basic_filebuf/close/char/2.cc: New.
4340 * 27_io/basic_filebuf/close/char/3.cc: New.
4341 * 27_io/basic_filebuf/close/char/4879.cc: New.
4342 * 27_io/basic_filebuf/close/char/9964.cc: New.
4343 * 27_io/basic_filebuf/imbue/char/1.cc: New.
4344 * 27_io/basic_filebuf/imbue/char/9322.cc: New.
4345 * 27_io/basic_filebuf/in_avail/char/1.cc: New.
4346 * 27_io/basic_filebuf/is_open/char/1.cc: New.
4347 * 27_io/basic_filebuf/open/char/1.cc: New.
4348 * 27_io/basic_filebuf/open/char/2.cc: New.
4349 * 27_io/basic_filebuf/open/char/3.cc: New.
4350 * 27_io/basic_filebuf/open/char/9507.cc: New.
4351 * 27_io/basic_filebuf/overflow/char/1.cc: New.
4352 * 27_io/basic_filebuf/overflow/char/3599.cc: New.
4353 * 27_io/basic_filebuf/overflow/char/9169.cc: New.
4354 * 27_io/basic_filebuf/overflow/char/9182-2.cc: New.
4355 * 27_io/basic_filebuf/overflow/char/9988.cc: New.
4356 * 27_io/basic_filebuf/sbumpc/char/1.cc: New.
4357 * 27_io/basic_filebuf/sbumpc/char/9825.cc: New.
4358 * 27_io/basic_filebuf/seekoff/char/1.cc: New.
4359 * 27_io/basic_filebuf/seekoff/char/2.cc: New.
4360 * 27_io/basic_filebuf/seekpos/char/1.cc: New.
4361 * 27_io/basic_filebuf/seekpos/char/2.cc: New.
4362 * 27_io/basic_filebuf/setbuf/char/1.cc: New.
4363 * 27_io/basic_filebuf/setbuf/char/2.cc: New.
4364 * 27_io/basic_filebuf/setbuf/char/3.cc: New.
4365 * 27_io/basic_filebuf/sgetc/char/1.cc: New.
4366 * 27_io/basic_filebuf/sgetn/char/1.cc: New.
4367 * 27_io/basic_filebuf/sgetn/char/2.cc: New.
4368 * 27_io/basic_filebuf/snextc/char/1.cc: New.
4369 * 27_io/basic_filebuf/sputbackc/char/1.cc: New.
4370 * 27_io/basic_filebuf/sputbackc/char/9425.cc: New.
4371 * 27_io/basic_filebuf/sputc/char/1.cc: New.
4372 * 27_io/basic_filebuf/sputc/char/1057.cc: New.
4373 * 27_io/basic_filebuf/sputc/char/9701-2.cc: New.
4374 * 27_io/basic_filebuf/sputn/char/1.cc: New.
4375 * 27_io/basic_filebuf/sputn/char/1057.cc: New.
4376 * 27_io/basic_filebuf/sputn/char/9701-1.cc: New.
4377 * 27_io/basic_filebuf/sungetc/char/1.cc: New.
4378 * 27_io/basic_filebuf/sync/char/1057.cc: New.
4379 * 27_io/basic_filebuf/sync/char/9182-1.cc: New.
4380 * 27_io/basic_filebuf/underflow/char/10097.cc: New.
4381 * 27_io/basic_fstream/1.cc: New.
4382 * 27_io/basic_fstream/2.cc: New.
4383 * 27_io/basic_fstream/3.cc: New.
4384 * 27_io/basic_fstream/4.cc: New.
4385 * 27_io/basic_fstream/rdbuf/char/2832.cc: New.
4386 * 27_io/basic_ifstream/1.cc: New.
4387 * 27_io/basic_ifstream/2.cc: New.
4388 * 27_io/basic_ifstream/3.cc: New.
4389 * 27_io/basic_ifstream/4.cc: New.
4390 * 27_io/basic_ifstream/cons/char/1.cc: New.
4391 * 27_io/basic_ifstream/open/char/1.cc: New.
4392 * 27_io/basic_ifstream/rdbuf/char/2832.cc: New.
4393 * 27_io/basic_ios/1.cc: New.
4394 * 27_io/basic_ios/2.cc: New.
4395 * 27_io/basic_ios/3.cc: New.
4396 * 27_io/basic_ios/4.cc: New.
4397 * 27_io/basic_ios/clear/char/1.cc: New.
4398 * 27_io/basic_ios/cons/char/1.cc: New.
4399 * 27_io/basic_ios/cons/char/2.cc: New.
4400 * 27_io/basic_ios/cons/char/3.cc: New.
4401 * 27_io/basic_ios/copyfmt/char/1.cc: New.
4402 * 27_io/basic_ios/copyfmt/char/2.cc: New.
4403 * 27_io/basic_ios/exceptions/char/1.cc: New.
4404 * 27_io/basic_ios/locales/char/1.cc: New.
4405 * 27_io/basic_iostream/1.cc: New.
4406 * 27_io/basic_iostream/2.cc: New.
4407 * 27_io/basic_iostream/3.cc: New.
4408 * 27_io/basic_iostream/4.cc: New.
4409 * 27_io/basic_istream/1.cc: New.
4410 * 27_io/basic_istream/2.cc: New.
4411 * 27_io/basic_istream/3.cc: New.
4412 * 27_io/basic_istream/4.cc: New.
4413 * 27_io/basic_istream/exceptions/char/9561.cc: New.
4414 * 27_io/basic_istream/extractors_arithmetic/char/01.cc: New.
4415 * 27_io/basic_istream/extractors_arithmetic/char/02.cc: New.
4416 * 27_io/basic_istream/extractors_arithmetic/char/03.cc: New.
4417 * 27_io/basic_istream/extractors_arithmetic/char/06.cc: New.
4418 * 27_io/basic_istream/extractors_arithmetic/char/07.cc: New.
4419 * 27_io/basic_istream/extractors_arithmetic/char/08.cc: New.
4420 * 27_io/basic_istream/extractors_arithmetic/char/09.cc: New.
4421 * 27_io/basic_istream/extractors_arithmetic/char/10.cc: New.
4422 * 27_io/basic_istream/extractors_arithmetic/char/11.cc: New.
4423 * 27_io/basic_istream/extractors_arithmetic/char/12.cc: New.
4424 * 27_io/basic_istream/extractors_arithmetic/char/13.cc: New.
4425 * 27_io/basic_istream/extractors_character/char/1.cc: New.
4426 * 27_io/basic_istream/extractors_character/char/2.cc: New.
4427 * 27_io/basic_istream/extractors_character/char/3.cc: New.
4428 * 27_io/basic_istream/extractors_character/char/9826.cc: New.
4429 * 27_io/basic_istream/extractors_other/char/1.cc: New.
4430 * 27_io/basic_istream/extractors_other/char/2.cc: New.
4431 * 27_io/basic_istream/extractors_other/char/3.cc: New.
4432 * 27_io/basic_istream/extractors_other/char/9318-in.cc: New.
4433 * 27_io/basic_istream/extractors_other/char/9424-in.cc: New.
4434 * 27_io/basic_istream/get/char/1.cc: New.
4435 * 27_io/basic_istream/get/char/2.cc: New.
4436 * 27_io/basic_istream/getline/char/1.cc: New.
4437 * 27_io/basic_istream/getline/char/2.cc: New.
4438 * 27_io/basic_istream/getline/char/3.cc: New.
4439 * 27_io/basic_istream/ignore/char/1.cc: New.
4440 * 27_io/basic_istream/ignore/char/6360.cc: New.
4441 * 27_io/basic_istream/ignore/char/7220.cc: New.
4442 * 27_io/basic_istream/peek/char/1.cc: New.
4443 * 27_io/basic_istream/peek/char/6414.cc: New.
4444 * 27_io/basic_istream/putback/char/1.cc: New.
4445 * 27_io/basic_istream/read/char/1.cc: New.
4446 * 27_io/basic_istream/read/char/2.cc: New.
4447 * 27_io/basic_istream/read/char/3.cc: New.
4448 * 27_io/basic_istream/readsome/char/6746-1.cc: New.
4449 * 27_io/basic_istream/readsome/char/6746-2.cc: New.
4450 * 27_io/basic_istream/readsome/char/8258.cc: New.
4451 * 27_io/basic_istream/seekg/char/2346-fstream.cc: New.
4452 * 27_io/basic_istream/seekg/char/2346-sstream.cc: New.
4453 * 27_io/basic_istream/seekg/char/8348-1.cc: New.
4454 * 27_io/basic_istream/seekg/char/8348-2.cc: New.
4455 * 27_io/basic_istream/seekg/char/fstream.cc: New.
4456 * 27_io/basic_istream/seekg/char/sstream.cc: New.
4457 * 27_io/basic_istream/sentry/char/1.cc: New.
4458 * 27_io/basic_istream/sentry/char/2.cc: New.
4459 * 27_io/basic_istream/sentry/char/3.cc: New.
4460 * 27_io/basic_istream/sentry/char/3983-fstream.cc: New.
4461 * 27_io/basic_istream/sentry/char/3983-sstream.cc: New.
4462 * 27_io/basic_istream/tellg/char/1.cc: New.
4463 * 27_io/basic_istream/tellg/char/8348.cc: New.
4464 * 27_io/basic_istream/tellg/char/fstream.cc: New.
4465 * 27_io/basic_istream/tellg/char/sstream.cc: New.
4466 * 27_io/basic_istream/ws/char/1.cc: New.
4467 * 27_io/basic_istringstream/1.cc: New.
4468 * 27_io/basic_istringstream/2.cc: New.
4469 * 27_io/basic_istringstream/3.cc: New.
4470 * 27_io/basic_istringstream/4.cc: New.
4471 * 27_io/basic_istringstream/rdbuf/char/2832.cc: New.
4472 * 27_io/basic_istringstream/str/char/1.cc: New.
4473 * 27_io/basic_ofstream/1.cc: New.
4474 * 27_io/basic_ofstream/2.cc: New.
4475 * 27_io/basic_ofstream/3.cc: New.
4476 * 27_io/basic_ofstream/4.cc: New.
4477 * 27_io/basic_ofstream/cons/char/2.cc: New.
4478 * 27_io/basic_ofstream/open/char/1.cc: New.
4479 * 27_io/basic_ofstream/rdbuf/char/2832.cc: New.
4480 * 27_io/basic_ostream/1.cc: New.
4481 * 27_io/basic_ostream/2.cc: New.
4482 * 27_io/basic_ostream/3.cc: New.
4483 * 27_io/basic_ostream/4.cc: New.
4484 * 27_io/basic_ostream/cons/char/9827.cc: New.
4485 * 27_io/basic_ostream/endl/char/1.cc: New.
4486 * 27_io/basic_ostream/ends/char/1.cc: New.
4487 * 27_io/basic_ostream/ends/char/2.cc: New.
4488 * 27_io/basic_ostream/exceptions/char/9561.cc: New.
4489 * 27_io/basic_ostream/flush/char/1.cc: New.
4490 * 27_io/basic_ostream/inserters_arithmetic/char/1.cc: New.
4491 * 27_io/basic_ostream/inserters_arithmetic/char/2.cc: New.
4492 * 27_io/basic_ostream/inserters_arithmetic/char/3.cc: New.
4493 * 27_io/basic_ostream/inserters_arithmetic/char/4.cc: New.
4494 * 27_io/basic_ostream/inserters_arithmetic/char/4402.cc: New.
4495 * 27_io/basic_ostream/inserters_arithmetic/char/5.cc: New.
4496 * 27_io/basic_ostream/inserters_arithmetic/char/6.cc: New.
4497 * 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: New.
4498 * 27_io/basic_ostream/inserters_character/char/1.cc: New.
4499 * 27_io/basic_ostream/inserters_character/char/2.cc: New.
4500 * 27_io/basic_ostream/inserters_character/char/3.cc: New.
4501 * 27_io/basic_ostream/inserters_character/char/4.cc: New.
4502 * 27_io/basic_ostream/inserters_character/char/5.cc: New.
4503 * 27_io/basic_ostream/inserters_character/char/6.cc: New.
4504 * 27_io/basic_ostream/inserters_character/char/8.cc: New.
4505 * 27_io/basic_ostream/inserters_character/wchar_t/7.cc: New.
4506 * 27_io/basic_ostream/inserters_character/wchar_t/8.cc: New.
4507 * 27_io/basic_ostream/inserters_other/char/1.cc: New.
4508 * 27_io/basic_ostream/inserters_other/char/2.cc: New.
4509 * 27_io/basic_ostream/inserters_other/char/3.cc: New.
4510 * 27_io/basic_ostream/inserters_other/char/4.cc: New.
4511 * 27_io/basic_ostream/inserters_other/char/9318-out.cc: New.
4512 * 27_io/basic_ostream/inserters_other/char/9424-out.cc: New.
4513 * 27_io/basic_ostream/sentry/char/1.cc: New.
4514 * 27_io/basic_ostream/sentry/char/2.cc: New.
4515 * 27_io/basic_ostream/sentry/char/3983-fstream.cc: New.
4516 * 27_io/basic_ostream/sentry/char/3983-sstream.cc: New.
4517 * 27_io/basic_ostream/tellp/char/1.cc: New.
4518 * 27_io/basic_ostream/tellp/char/2.cc: New.
4519 * 27_io/basic_ostringstream/1.cc: New.
4520 * 27_io/basic_ostringstream/2.cc: New.
4521 * 27_io/basic_ostringstream/3.cc: New.
4522 * 27_io/basic_ostringstream/4.cc: New.
4523 * 27_io/basic_ostringstream/cons/char/3.cc: New.
4524 * 27_io/basic_ostringstream/rdbuf/char/2832.cc: New.
4525 * 27_io/basic_ostringstream/str/char/1.cc: New.
4526 * 27_io/basic_ostringstream/str/char/2.cc: New.
4527 * 27_io/basic_streambuf/1.cc: New.
4528 * 27_io/basic_streambuf/2.cc: New.
4529 * 27_io/basic_streambuf/3.cc: New.
4530 * 27_io/basic_streambuf/cons/char/1.cc: New.
4531 * 27_io/basic_streambuf/imbue/char/1.cc: New.
4532 * 27_io/basic_streambuf/imbue/char/9322.cc: New.
4533 * 27_io/basic_streambuf/overflow/char/1.cc: New.
4534 * 27_io/basic_streambuf/overflow/char/2.cc: New.
4535 * 27_io/basic_streambuf/overflow/char/3599.cc: New.
4536 * 27_io/basic_streambuf/sgetc/char/1.cc: New.
4537 * 27_io/basic_streambuf/sgetn/char/1.cc: New.
4538 * 27_io/basic_streambuf/sputbackc/char/9538.cc: New.
4539 * 27_io/basic_streambuf/sputc/char/1057.cc: New.
4540 * 27_io/basic_streambuf/sputn/char/1.cc: New.
4541 * 27_io/basic_streambuf/sputn/char/1057.cc: New.
4542 * 27_io/basic_streambuf/sync/char/1057.cc: New.
4543 * 27_io/basic_stringbuf/1.cc: New.
4544 * 27_io/basic_stringbuf/2.cc: New.
4545 * 27_io/basic_stringbuf/3.cc: New.
4546 * 27_io/basic_stringbuf/4.cc: New.
4547 * 27_io/basic_stringbuf/5.cc: New.
4548 * 27_io/basic_stringbuf/imbue/char/1.cc: New.
4549 * 27_io/basic_stringbuf/imbue/char/9322.cc: New.
4550 * 27_io/basic_stringbuf/in_avail/char/1.cc: New.
4551 * 27_io/basic_stringbuf/overflow/char/2.cc: New.
4552 * 27_io/basic_stringbuf/overflow/char/3599.cc: New.
4553 * 27_io/basic_stringbuf/overflow/char/9988.cc: New.
4554 * 27_io/basic_stringbuf/sbumpc/char/1.cc: New.
4555 * 27_io/basic_stringbuf/sbumpc/char/9825.cc: New.
4556 * 27_io/basic_stringbuf/seekoff/char/1.cc: New.
4557 * 27_io/basic_stringbuf/seekoff/char/2.cc: New.
4558 * 27_io/basic_stringbuf/seekpos/char/1.cc: New.
4559 * 27_io/basic_stringbuf/seekpos/char/2.cc: New.
4560 * 27_io/basic_stringbuf/setbuf/char/1.cc: New.
4561 * 27_io/basic_stringbuf/setbuf/char/2.cc: New.
4562 * 27_io/basic_stringbuf/setbuf/char/3.cc: New.
4563 * 27_io/basic_stringbuf/sgetc/char/1.cc: New.
4564 * 27_io/basic_stringbuf/sgetn/char/1.cc: New.
4565 * 27_io/basic_stringbuf/snextc/char/1.cc: New.
4566 * 27_io/basic_stringbuf/sputbackc/char/1.cc: New.
4567 * 27_io/basic_stringbuf/sputbackc/char/9425.cc: New.
4568 * 27_io/basic_stringbuf/sputc/char/1.cc: New.
4569 * 27_io/basic_stringbuf/sputc/char/1057.cc: New.
4570 * 27_io/basic_stringbuf/sputc/char/9404-1.cc: New.
4571 * 27_io/basic_stringbuf/sputn/char/1.cc: New.
4572 * 27_io/basic_stringbuf/sputn/char/1057.cc: New.
4573 * 27_io/basic_stringbuf/sputn/char/9404-2.cc: New.
4574 * 27_io/basic_stringbuf/str/char/1.cc: New.
4575 * 27_io/basic_stringbuf/str/char/2.cc: New.
4576 * 27_io/basic_stringbuf/str/char/3.cc: New.
4577 * 27_io/basic_stringbuf/str/char/3955.cc: New.
4578 * 27_io/basic_stringbuf/sungetc/char/1.cc: New.
4579 * 27_io/basic_stringbuf/sync/char/1057.cc: New.
4580 * 27_io/basic_stringstream/1.cc: New.
4581 * 27_io/basic_stringstream/2.cc: New.
4582 * 27_io/basic_stringstream/3.cc: New.
4583 * 27_io/basic_stringstream/4.cc: New.
4584 * 27_io/basic_stringstream/rdbuf/char/2832.cc: New.
4585 * 27_io/basic_stringstream/str/char/1.cc: New.
4586 * 27_io/basic_stringstream/str/char/2.cc: New.
4587 * 27_io/basic_stringstream/str/char/3.cc: New.
4588 * 27_io/basic_stringstream/str/char/4.cc: New.
4589 * 27_io/fpos/1.cc: New.
4590 * 27_io/fpos/2.cc: New.
4591 * 27_io/fpos/3.cc: New.
4592 * 27_io/ios_base/callbacks/1.cc: New.
4593 * 27_io/ios_base/state/1.cc: New.
4594 * 27_io/ios_base/storage/1.cc: New.
4595 * 27_io/ios_base/storage/2.cc: New.
4596 * 27_io/ios_base/storage/3.cc: New.
4597 * 27_io/ios_base/sync_with_stdio/1.cc: New.
4598 * 27_io/ios_base/sync_with_stdio/2.cc: New.
4599 * 27_io/manipulators/adjustfield/char/1.cc: New.
4600 * 27_io/manipulators/adjustfield/char/2.cc: New.
4601 * 27_io/manipulators/basefield/char/1.cc: New.
4602 * 27_io/manipulators/standard/char/1.cc: New.
4603 * 27_io/manipulators/standard/char/2.cc: New.
4604 * 27_io/objects/char/1.cc: New.
4605 * 27_io/objects/char/2.cc: New.
4606 * 27_io/objects/char/2523-1_xin.cc: New.
4607 * 27_io/objects/char/2523-1_xin.in: New.
4608 * 27_io/objects/char/2523-2_xin.cc: New.
4609 * 27_io/objects/char/2523-2_xin.in: New.
4610 * 27_io/objects/char/3045.cc: New.
4611 * 27_io/objects/char/3647.cc: New.
4612 * 27_io/objects/char/3_xin.cc: New.
4613 * 27_io/objects/char/3_xin.in: New.
4614 * 27_io/objects/char/4_xin.cc: New.
4615 * 27_io/objects/char/4_xin.in: New.
4616 * 27_io/objects/char/5268.cc: New.
4617 * 27_io/objects/char/5280_xin.cc: New.
4618 * 27_io/objects/char/5280_xin.in: New.
4619 * 27_io/objects/char/6548_xin.cc: New.
4620 * 27_io/objects/char/6548_xin.in: New.
4621 * 27_io/objects/char/6648-1_xin.cc: New.
4622 * 27_io/objects/char/6648-1_xin.in: New.
4623 * 27_io/objects/char/6648-2_xin.cc: New.
4624 * 27_io/objects/char/6648-2_xin.in: New.
4625 * 27_io/objects/char/7744_xin.cc: New.
4626 * 27_io/objects/char/7744_xin.in: New.
4627 * 27_io/objects/wchar_t/1.cc: New.
4628 * 27_io/types/1.cc: New.
4629 * 27_io/types/2.cc: New.
4630 * data/filebuf_members-1.tst: New.
4631 * data/filebuf_members-1.txt: New.
4632 * data/filebuf_virtuals-1.tst: New.
4633 * data/filebuf_virtuals-1.txt: New.
4634 * data/filebuf_virtuals-2.tst: New.
4635 * data/filebuf_virtuals-3.tst: New.
4636 * data/ifstream_members-1.tst: New.
4637 * data/ifstream_members-1.txt: New.
4638 * data/ios_base_members_static-1.tst: New.
4639 * data/istream_extractor_other-1.tst: New.
4640 * data/istream_extractor_other-1.txt: New.
4641 * data/istream_extractor_other-2.tst: New.
4642 * data/istream_seeks-1.tst: New.
4643 * data/istream_seeks-1.txt: New.
4644 * data/istream_seeks-2.tst: New.
4645 * data/istream_seeks-3.tst: New.
4646 * data/istream_unformatted-1.tst: New.
4647 * data/istream_unformatted-1.txt: New.
4648 * data/ofstream_members-1.tst: New.
4649 * data/ostream_inserter_char-1.tst: New.
4650 * data/ostream_inserter_char-1.txt: New.
4651 * data/ostream_inserter_other-1.tst: New.
4652 * data/ostream_inserter_other-2.tst: New.
4653 * data/ostream_seeks-1.tst: New.
4655 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
4657 * include/bits/sstream.tcc (basic_stringbuf::seekpos): Remove
4658 requirement that __mode must be strict input or output.
4660 * include/std/std_streambuf.h (basic_streambuf::setp): Set
4663 * include/std/std_sstream.h (basic_strinbuf::str): Zero length
4664 output string shouldn't core.
4665 (basic_stringbuf::_M_really_sync): Add base argument. Remove rturn
4667 * include/bits/sstream.tcc: Adjust _M_really_sync bits here.
4669 * include/bits/istream.tcc (basic_istream::putback): Set gcount to
4672 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
4674 * testsuite/data: New directory.
4675 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
4676 to copy files from the testsuite data directory.
4677 (libstdc++-v3-list-sourcefiles): Add another test list filter, for
4678 testfiles containing _xin, which now means this is an interactive
4679 test and should be run with the interactive dejagnu hooks.
4680 * testsuite/Makefile.am: Remove testsuite_* files.
4681 * testsuite/Makefile.in: Regenerate.
4683 2003-04-09 Zack Weinberg <zack@codesourcery.com>
4685 * docs/html/install.html: Document complete list of locales
4686 required by test suite. Document procedure for installing
4687 said locales under Debian. Solicit instructions for other
4690 2003-04-08 Alexandre Oliva <aoliva@redhat.com>
4692 * include/bits/sstream.tcc (overflow): Make sure operands of min
4693 and max have the same type.
4695 2003-04-04 Jerry Quinn <jlquinn@optonline.net>
4698 * src/ios.cc (ios_base::_M_init): Remove _M_callbacks
4701 2003-03-31 Paolo Carlini <pcarlini@unitus.it>
4703 * include/std/std_streambuf.h (_M_out_buf_size()): Remove.
4704 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
4705 Don't set _M_out_end.
4706 (basic_filebuf::overflow): Replace _M_out_buf_size() with
4707 this->_M_out_cur && this->_M_out_cur < this->_M_out_end.
4708 * include/bits/sstream.tcc (basic_stringbuf::overflow):
4709 Replace _M_out_buf_size() with this->_M_out_cur < this->_M_out_end;
4710 * include/bits/streambuf.tcc (basic_streambuf::sputc):
4711 Replace _M_out_buf_size() with _M_out_cur && _M_out_cur < _M_out_end.
4712 (basic_streambuf::xsputn): Replace _M_out_buf_size() with
4713 _M_out_end - _M_out_cur.
4714 (__copy_streambufs): Likewise.
4715 * include/std/std_fstream.h (_M_set_determinate): Set
4718 2003-03-30 Paolo Carlini <pcarlini@unitus.it>
4720 * include/bits/fstream.tcc (basic_filebuf::showmanyc,
4721 _M_convert_to_external, _M_really_overflow, seekoff): Fix
4722 test for synced buffer.
4723 * include/std/std_fstream.h (sync): Likewise.
4724 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
4725 basic_filebuf<wchar_t>::_M_underflow_common): Likewise.
4727 2003-03-28 Benjamin Kosnik <bkoz@redhat.com>
4729 * include/std/std_sstream.h (basic_istringstream): Adjust
4731 (basic_ostringstream): Same.
4732 (basic_stringstream): Same.
4733 * include/std/std_fstream.h (basic_ifstream): Adjust initialization.
4734 (basic_ofstream): Same.
4735 (basic_fstream): Same.
4736 * include/std/std_ostream.h (basic_ostrem): Add protected ctor
4737 that does not call init.
4738 * include/std/std_istream.h (basic_istream): Same.
4739 (basic_iostream): Construct istream, ostream uninitialized, use
4740 init to initialize just once. Add protected ctor that does not
4743 2003-03-28 Paolo Carlini <pcarlini@unitus.it>
4744 Nathan Myers <ncm@cantrip.org>
4747 * include/bits/fstream.tcc (basic_filebuf<>::open): Don't
4749 (basic_filebuf<>::showmanyc): Use the information provided
4750 by codecvt and __basic_file<>::showmanyc_helper to implement
4751 a non-trivial showmanyc.
4752 * config/io/basic_file_stdio.h
4753 (__basic_file<>::showmanyc_helper): New, declare.
4754 * config/io/basic_file_stdio.cc
4755 (__basic_file<>::showmanyc_helper): Define.
4756 (__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
4757 (__basic_file<char>::open): Don't call fcntl().
4758 * acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
4759 GLIBCPP_CHECK_POLL): New macros.
4760 * configure.in: Call here.
4761 * acconfig.h: Add #undefs for the corresponding symbols.
4762 * aclocal.m4: Regenerate.
4763 * configure: Regenerate.
4764 * config.h.in: Regenerate.
4766 2003-03-24 Benjamin Kosnik <bkoz@redhat.com>
4768 * config/linker-map.gnu: Remove string export restrictions.
4770 2003-03-24 Paolo Carlini <pcarlini@unitus.it>
4772 * testsuite/21_strings/basic_string/find/char/1.cc: Remove
4773 find_first_of, find_last_of and find_last_not_of tests.
4774 * testsuite/21_strings/basic_string/find/char/2.cc: find_first_of
4775 tests here, new file.
4776 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise,
4777 remove wchar_t find_first_of, find_last_of and find_last_not_of tests.
4778 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise,
4779 wchar_t find_first_of tests here, new file.
4780 * testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of
4782 * testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of
4784 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise,
4785 wchar_t find_last_of tests here.
4786 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise,
4787 wchar_t find_last_not_of tests here.
4789 2003-03-22 Loren J. Rittle <ljrittle@acm.org>
4791 * config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
4792 Correct return value.
4794 2003-03-21 Jerry Quinn <jlquinn@optonline.net>
4797 * include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
4798 * include/std/std_complex.h (norm): Use faster,
4799 less accurate computation for builtin float types under --fast-math.
4801 2003-03-21 Magnus Fromreide <gnats@magfr.user.lysator.liu.se>
4803 * testsuite/testsuite_hooks.h: Fix warning nits.
4805 2003-03-19 Alexandre Oliva <aoliva@redhat.com>
4807 * config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):
4808 Only .set mips2 for the o32 ABI.
4810 2003-03-19 Paolo Carlini <pcarlini@unitus.it>
4812 * testsuite/21_strings/char_traits/requirements/char/1.cc:
4813 Test char not wchar_t.
4815 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
4817 * testsuite/21_strings/basic_string/append/wchar_t/1.cc:
4818 Correct size, taking into account sizeof(wchar_t).
4820 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
4822 Reshuffle 21_strings testsuite.
4823 * testsuite/21_strings/append.cc, c_strings.cc, invariants.cc,
4824 assign.cc, ctor_copy_dtor.cc, nonmember.cc, capacity.cc,
4825 element_access.cc, operations.cc, char_traits_requirements.cc,
4826 find.cc, replace.cc, char_traits_typedefs.cc, insert.cc, rfind.cc,
4827 compare.cc, inserters_extractors.cc, substr.cc: Split up, add
4828 wchar_t tests as follows.
4829 * 21_strings/basic_string/append/char/1.cc: New.
4830 * 21_strings/basic_string/append/wchar_t/1.cc: New.
4831 * 21_strings/basic_string/assign/char/1.cc: New.
4832 * 21_strings/basic_string/assign/char/2.cc: New.
4833 * 21_strings/basic_string/assign/char/3.cc: New.
4834 * 21_strings/basic_string/assign/wchar_t/1.cc: New.
4835 * 21_strings/basic_string/assign/wchar_t/2.cc: New.
4836 * 21_strings/basic_string/assign/wchar_t/3.cc: New.
4837 * 21_strings/basic_string/capacity/1.cc: New.
4838 * 21_strings/basic_string/capacity/char/1.cc: New.
4839 * 21_strings/basic_string/capacity/char/2.cc: New.
4840 * 21_strings/basic_string/capacity/wchar_t/1.cc: New.
4841 * 21_strings/basic_string/capacity/wchar_t/2.cc: New.
4842 * 21_strings/basic_string/compare/char/1.cc: New.
4843 * 21_strings/basic_string/compare/wchar_t/1.cc: New.
4844 * 21_strings/basic_string/cons/char/1.cc: New.
4845 * 21_strings/basic_string/cons/char/2.cc: New.
4846 * 21_strings/basic_string/cons/char/3.cc: New.
4847 * 21_strings/basic_string/cons/char/4.cc: New.
4848 * 21_strings/basic_string/cons/char/5.cc: New.
4849 * 21_strings/basic_string/cons/wchar_t/1.cc: New.
4850 * 21_strings/basic_string/cons/wchar_t/2.cc: New.
4851 * 21_strings/basic_string/cons/wchar_t/3.cc: New.
4852 * 21_strings/basic_string/cons/wchar_t/4.cc: New.
4853 * 21_strings/basic_string/cons/wchar_t/5.cc: New.
4854 * 21_strings/basic_string/element_access/char/1.cc: New.
4855 * 21_strings/basic_string/element_access/char/2.cc: New.
4856 * 21_strings/basic_string/element_access/char/3.cc: New.
4857 * 21_strings/basic_string/element_access/wchar_t/1.cc: New.
4858 * 21_strings/basic_string/element_access/wchar_t/2.cc: New.
4859 * 21_strings/basic_string/element_access/wchar_t/3.cc: New.
4860 * 21_strings/basic_string/find/char/1.cc: New.
4861 * 21_strings/basic_string/find/wchar_t/1.cc: New.
4862 * 21_strings/basic_string/insert/char/1.cc: New.
4863 * 21_strings/basic_string/insert/char/2.cc: New.
4864 * 21_strings/basic_string/insert/wchar_t/1.cc: New.
4865 * 21_strings/basic_string/insert/wchar_t/2.cc: New.
4866 * 21_strings/basic_string/inserters_extractors/char/1.cc: New.
4867 * 21_strings/basic_string/inserters_extractors/char/4.cc: New.
4868 * 21_strings/basic_string/inserters_extractors/char/5.cc: New.
4869 * 21_strings/basic_string/inserters_extractors/char/6.cc: New.
4870 * 21_strings/basic_string/inserters_extractors/char/7.cc: New.
4871 * 21_strings/basic_string/inserters_extractors/char/8.cc: New.
4872 * 21_strings/basic_string/inserters_extractors/char/9.cc: New.
4873 * 21_strings/basic_string/inserters_extractors/wchar_t/1.cc: New.
4874 * 21_strings/basic_string/inserters_extractors/wchar_t/4.cc: New.
4875 * 21_strings/basic_string/inserters_extractors/wchar_t/5.cc: New.
4876 * 21_strings/basic_string/inserters_extractors/wchar_t/6.cc: New.
4877 * 21_strings/basic_string/inserters_extractors/wchar_t/7.cc: New.
4878 * 21_strings/basic_string/inserters_extractors/wchar_t/8.cc: New.
4879 * 21_strings/basic_string/inserters_extractors/wchar_t/9.cc: New.
4880 * 21_strings/basic_string/operators/char/1.cc: New.
4881 * 21_strings/basic_string/operators/char/2.cc: New.
4882 * 21_strings/basic_string/operators/wchar_t/1.cc: New.
4883 * 21_strings/basic_string/operators/wchar_t/2.cc: New.
4884 * 21_strings/basic_string/replace/char/1.cc: New.
4885 * 21_strings/basic_string/replace/char/2.cc: New.
4886 * 21_strings/basic_string/replace/char/3.cc: New.
4887 * 21_strings/basic_string/replace/char/4.cc: New.
4888 * 21_strings/basic_string/replace/char/5.cc: New.
4889 * 21_strings/basic_string/replace/wchar_t/1.cc: New.
4890 * 21_strings/basic_string/replace/wchar_t/2.cc: New.
4891 * 21_strings/basic_string/replace/wchar_t/3.cc: New.
4892 * 21_strings/basic_string/replace/wchar_t/4.cc: New.
4893 * 21_strings/basic_string/replace/wchar_t/5.cc: New.
4894 * 21_strings/basic_string/rfind/char/1.cc: New.
4895 * 21_strings/basic_string/rfind/char/2.cc: New.
4896 * 21_strings/basic_string/rfind/char/3.cc: New.
4897 * 21_strings/basic_string/rfind/wchar_t/1.cc: New.
4898 * 21_strings/basic_string/rfind/wchar_t/2.cc: New.
4899 * 21_strings/basic_string/rfind/wchar_t/3.cc: New.
4900 * 21_strings/basic_string/substr/char/1.cc: New.
4901 * 21_strings/basic_string/substr/wchar_t/1.cc: New.
4902 * 21_strings/c_strings/char/1.cc: New.
4903 * 21_strings/c_strings/char/2.cc: New.
4904 * 21_strings/c_strings/wchar_t/1.cc: New.
4905 * 21_strings/c_strings/wchar_t/2.cc: New.
4906 * 21_strings/char_traits/requirements/char/1.cc: New.
4907 * 21_strings/char_traits/requirements/wchar_t/1.cc: New.
4908 * 21_strings/char_traits/typedefs/char/1.cc: New.
4910 2003-03-17 Paolo Carlini <pcarlini@unitus.it>
4911 Petur Runolfsson <peturr02@ru.is>
4914 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
4915 basic_filebuf<wchar_t>::_M_underflow_common):
4916 if (gptr() < egptr()) return *gptr().
4917 * testsuite/27_io/filebuf_virtuals.cc (test16): Add.
4919 * testsuite/27_io/filebuf_members.cc (test_04): Minor
4920 changes: unlink fifo before making it, fix spelling error.
4922 2003-03-17 Benjamin Kosnik <bkoz@redhat.com>
4924 * testsuite/Makefile.am (CLEANFILES): Add tmp*.
4925 * testsuite/Makefile.in: Regenerate.
4926 * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
4929 2003-03-17 Petur Runolfsson <peturr02@ru.is>
4932 * include/bits/fstream.tcc (basic_filebuf::close):
4933 Always close file, even when write fails.
4934 * testsuite/27_io/filebuf_members.cc (test_07): New test.
4936 2003-03-17 Danny Smith <dannysmith@users.sourceforge.net>
4938 * libsupc++/Makefile.am (C_COMPILE): Remove.
4939 (LTCOMPILE): Likewise.
4940 * libsupc++/Makefile.in: Regenerate.
4942 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
4944 * testsuite/23_containers/bitset_members.cc: Add test variable.
4945 * testsuite/23_containers/map_insert.cc: Same.
4946 * testsuite/22_locale/ctype/cons/char/1.cc: Same.
4947 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
4948 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
4949 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
4950 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
4951 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
4952 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
4953 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
4954 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
4955 * testsuite/27_io/istream_exception.cc: Same.
4956 * testsuite/27_io/filebuf_virtuals.cc: Same.
4957 * testsuite/27_io/stringbuf_virtuals.cc: Same.
4958 * testsuite/27_io/ostream_inserter_arith.cc: Same.
4959 * testsuite/26_numerics/valarray_operators.cc: Same.
4960 * testsuite/26_numerics/slice.cc: Same.
4961 * testsuite/26_numerics/slice_array_assignment.cc: Same.
4962 * testsuite/24_iterators/istream_iterator.cc: Same.
4963 * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
4965 2003-03-14 Petur Runolfsson <peturr02@ru.is>
4969 * config/locale/generic/ctype_members.cc,
4970 * config/locale/gnu/ctype_members.cc
4971 (ctype<wchar_t>::do_widen(char)): Cast argument to
4972 unsigned char before passing to btowc.
4973 (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
4974 Convert characters with btowc instead of mbsrtowcs.
4975 (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
4977 Convert characters with wctob instead of wcsrtombs.
4978 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: New test.
4979 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: New test.
4980 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: New test.
4982 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
4984 * include/stdc++.h: New.
4985 * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
4986 * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
4987 * include/Makefile.in: Regenerate.
4988 * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
4989 (--cxxflags): Put -g -O2 here.
4990 * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
4992 2003-03-14 Loren J. Rittle <ljrittle@acm.org>
4994 * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
4995 missing named locale.
4997 2003-03-14 Andreas Schwab <schwab@suse.de>
4999 * configure.in: Only append to makefiles that are newly created to
5000 avoid multiple multi-do/multi-clean rules.
5001 * configure: Rebuilt.
5003 2003-03-13 Jonathan Wakely <redi@gcc.gnu.org>
5005 * docs/html/configopts.html, docs/html/documentation.html,
5006 docs/html/explanations.html, docs/html/install.html,
5007 docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
5008 invalid XHTML and make page header style consistent.
5010 2003-03-12 Jonathan Wakely <redi@gcc.gnu.org>
5012 * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
5013 * docs/html/faq/index.txt: Regenerate.
5014 * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
5016 2003-03-12 Andreas Schwab <schwab@suse.de>
5018 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
5019 glibcpp_toolexeclibdir.
5020 * aclocal.m4, configure: Rebuilt.
5022 2003-03-11 Jonathan Wakely <redi@gcc.gnu.org>
5024 * docs/html/faq/index.html: Update text about location of headers.
5025 * docs/html/faq/index.txt: Regenerate.
5027 2003-03-11 Carlo Wood <carlo@alinoe.com>
5029 * include/bits/demangle.h: Prepend accessors of
5030 class qualifier with 'get_' in order to fix warnings
5031 when compiling with -Wshadow.
5033 2003-03-11 Loren J. Rittle <ljrittle@acm.org>
5035 * config/os/bsd/freebsd/ctype_inline.h: Support _M_table
5037 * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
5039 * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
5040 report lack of setenv().
5042 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
5044 * config/io/basic_file_stdio.cc: include <unistd.h>.
5046 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
5047 Nathan Myers <ncm@cantrip.org>
5050 * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
5051 seekoff, seekpos): Add a boolean parameter __stdio.
5052 * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
5053 seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
5054 fseek/ftell, respectively), otherwise read (write, lseek, lseek,
5056 * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
5057 _M_really_overflow, seekoff): Use the boolean parameter in the calls.
5058 * include/std/std_fstream.h (sync): Likewise.
5059 * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
5060 * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
5061 libstdc++/8399 commit involving isatty(0).
5062 * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
5063 (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
5064 * configure.in: Remove call.
5065 * aclocal.m4: Regenerate.
5066 * config.h.in: Regenerate.
5067 * configure: Regenerate.
5068 * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
5070 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
5073 * include/bits/fstream.tcc (overflow): don't write EOF to file.
5074 * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
5076 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
5079 * include/bits/basic_ios.h (_M_setstate): New.
5080 * include/bits/ostream.tcc (operator<<): Use it.
5081 * include/bits/istream.tcc (operator>>): Use it.
5082 * include/std/std_ostream.h (operator<<): Make friends.
5083 * include/std/std_istream.h (operator>>): Make friends.
5084 * testsuite/27_io/ostream_exception.cc,
5085 testsuite/27_io/istream_exception.cc: New tests.
5087 2003-03-08 Benjamin Kosnik <bkoz@redhat.com>
5089 * include/bits/locale_facets.tcc: Fix typo.
5091 2003-03-08 Loren J. Rittle <ljrittle@acm.org>
5093 * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
5095 * config/locale/generic/c_locale.cc
5096 (locale::facet::_S_create_c_locale): Throw runtime exception when
5097 unsupported language is specified.
5098 * testsuite/testsuite_hooks.h
5099 (run_test_wrapped_generic_locale_exception_catcher): New function.
5100 * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
5101 Suppress runtime exception thrown by generic implementation.
5102 (run_tests_wrapped_env): Likewise.
5103 (run_test_wrapped_generic_locale_exception_catcher): New function.
5104 * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
5105 * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
5106 * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
5107 * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
5108 * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
5109 * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
5110 * testsuite/22_locale/collate_byname/1.cc: New test wrap.
5111 * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
5112 * testsuite/22_locale/facet/2.cc: New test wrap.
5113 * testsuite/22_locale/locale/cons/4.cc: New test wrap.
5114 * testsuite/22_locale/locale/cons/5.cc: New test wrap.
5115 * testsuite/22_locale/locale/cons/7.cc: New test wrap.
5116 * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
5117 * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
5118 * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
5119 * testsuite/22_locale/messages_byname/1.cc: New test wrap.
5120 * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
5121 * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
5122 * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
5123 * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
5124 * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
5125 * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
5126 * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
5127 * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
5128 * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
5129 * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
5130 * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
5131 * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
5132 * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
5133 * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
5134 * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
5135 * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
5136 * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
5137 * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
5138 * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
5139 * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
5140 * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
5141 * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
5142 * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
5143 * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
5144 * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
5145 * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
5146 * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
5147 * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
5148 * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
5149 * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
5150 * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
5151 * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
5152 * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
5153 * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
5154 * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
5155 * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
5156 * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
5157 * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
5158 * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
5159 * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
5160 * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
5161 * testsuite/27_io/ios_members.cc: New test wrap.
5162 * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
5164 * testsuite/27_io/streambuf_members.cc: New test wrap.
5165 * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
5167 2003-03-08 Paolo Carlini <pcarlini@unitus.it>
5168 Petur Runolfsson <peturr02@ru.is>
5171 * include/bits/streambuf.tcc (__copy_streambufs): Use
5172 sgetn-sputn only when sputn cannot fail, otherwise fall back
5173 to safe snextc-sputc.
5174 * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
5176 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
5178 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
5179 locale cache for truename and falsename.
5181 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
5183 * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
5184 _M_word_size initialization.
5186 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5188 * include/bits/fstream.tcc (_M_convert_to_external):
5189 Set __elen to zero if codecvt::out eventually fails.
5191 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5194 * include/bits/fstream.tcc (_M_really_overflow): Check
5195 for _M_convert_to_external possible failures.
5196 * include/std/std_fstream.h (sync): Check _M_really_overflow
5197 return value and return -1 in case of failure.
5198 * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
5200 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5203 * include/bits/istream.tcc (operator>>(_CharT*),
5204 operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
5205 * testsuite/27_io/stringstream.cc (test02): Add.
5207 * include/bits/istream.tcc (operator>>(_CharT*)):
5208 Assign a char_type to *__s.
5210 2003-03-07 Petur Runolfsson <peturr02@ru.is>
5213 * include/bits/locale_facets.tcc
5214 (collate::do_compare, collate::do_transform):
5215 Handle nul characters in input.
5216 * testsuite/22_locale/collate/compare/char/3.cc: New test.
5217 * testsuite/22_locale/collate/compare/wchar_t/3.cc: New test.
5218 * testsuite/22_locale/collate/transform/char/3.cc: New test.
5219 * testsuite/22_locale/collate/transform/wchar_t/3.cc: New test.
5221 2003-03-07 Jerry Quinn <jlquinn@optonline.net>
5223 * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
5225 * testsuite/27_io/ostream_fail.cc: New test.
5227 2003-03-07 Matthias Klose <doko@debian.org>
5229 * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
5230 FLAGS_TO_PASS: Set to AM_MAKEFLAGS
5231 * Makefile.in: Regenerate.
5232 * libsupc++/Makefile.am: Express glibcppinstalldir in terms
5234 AM_MAKEFLAGS: Pass gxx_include_dir.
5235 * libsupc++/Makefile.in: Regenerate.
5237 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
5239 * testsuite/27_io/ios_base_storage.cc (test02): Set exception
5240 mask. Test setting small-numbered pword and iword slots. Test
5241 behavior at limit of numeric_limits::max. Check that values are
5242 still good after failures.
5244 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
5246 * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
5247 (ios_base::ios_base): Set _M_word, _M_word_size.
5248 (ios_base::~ios_base): Remove redundant test.
5249 * testsuite/27_io/ios_base_storage.cc (test03): New.
5251 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
5253 * src/strstream.cc, include/bits/basic_string.tcc: Remove
5254 incorrect whitespace added in my previous change.
5256 2003-03-05 Carlo Wood <carlo@alinoe.com>
5258 * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
5259 _S_initialized() in order to allow debugging libraries to detect
5260 when the std streams are initialized from an overloaded operator
5263 2003-03-05 Benjamin Kosnik <bkoz@redhat.com>
5265 * libsupc++/demangle.h: Move to..
5266 * include/bits/demangle.h: ...here.
5267 * src/demangle.cc: Adjust include.
5268 * include/Makefile.am (bits_headers): Add.
5269 * include/Makefile.in: Regenerate.
5271 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
5273 * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
5275 * config/linker-map.gnu: Filter typeinfo and vtable info.
5277 2003-03-04 Jerry Quinn <jlquinn@optonline.net>
5279 * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
5280 new failure. Throw exception if badbit and exception mask when ix
5281 >= numeric_limits<int>::max().
5283 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
5285 * src/strstream.cc (strstreambuf::overflow): Make sure operands of
5286 min and max have the same type.
5287 * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
5289 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
5291 * include/Makefile.am (allstamps): Remove stamp-std-precompile.
5292 * include/Makefile.in: Regenerate.
5294 2003-03-03 Benjamin Kosnik <bkoz@redhat.com>
5296 * testsuite/abi_check.cc (report_symbol_info): Add version info.
5298 * config/linker-map.gnu: Hide more stuff.
5299 * include/Makefile.am: Cleanups.
5300 * include/Makefile.in: Regenerate.
5302 2003-02-27 Jerry Quinn <jlquinn@optonline.net>
5304 * config/locale/generic/messages_members.h (messages::messages):
5305 Remove name from unused parameter.
5307 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
5309 * src/Makefile.am (sources): Add demangle.cc.
5312 * src/Makefile.in: Regenerate.
5313 * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
5314 * libsupc++/Makefile.in: Regenerate.
5316 * testsuite/testsuite_hooks.h
5317 (__gnu_cxx_test::verify_demangle): New.
5318 * testsuite/testsuite_hooks.cc: Define.
5320 2003-02-27 Carlo Wood <carlo@alinoe.com>
5322 * src/demangle.cc: New.
5323 * libsupc++/demangle.h: New.
5325 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
5326 Carlo Wood <carlo@alinoe.com>
5328 * testsuite/demangle/abi_examples/01.cc: New.
5329 * testsuite/demangle/abi_examples/02.cc: New.
5330 * testsuite/demangle/abi_examples/03.cc: New.
5331 * testsuite/demangle/abi_examples/04.cc: New.
5332 * testsuite/demangle/abi_examples/05.cc: New.
5333 * testsuite/demangle/abi_examples/06.cc: New.
5334 * testsuite/demangle/abi_examples/07.cc: New.
5335 * testsuite/demangle/abi_examples/08.cc: New.
5336 * testsuite/demangle/abi_examples/09.cc: New.
5337 * testsuite/demangle/abi_examples/10.cc: New.
5338 * testsuite/demangle/abi_examples/11.cc: New.
5339 * testsuite/demangle/abi_examples/12.cc: New.
5340 * testsuite/demangle/abi_examples/13.cc: New.
5341 * testsuite/demangle/abi_examples/14.cc: New.
5342 * testsuite/demangle/abi_examples/15.cc: New.
5343 * testsuite/demangle/abi_examples/16.cc: New.
5344 * testsuite/demangle/abi_examples/17.cc: New.
5345 * testsuite/demangle/abi_examples/18.cc: New.
5346 * testsuite/demangle/abi_examples/19.cc: New.
5347 * testsuite/demangle/abi_examples/20.cc: New.
5348 * testsuite/demangle/abi_examples/21.cc: New.
5349 * testsuite/demangle/abi_examples/22.cc: New.
5350 * testsuite/demangle/abi_examples/23.cc: New.
5351 * testsuite/demangle/abi_examples/24.cc: New.
5352 * testsuite/demangle/abi_examples/25.cc: New.
5353 * testsuite/demangle/abi_examples/26.cc: New.
5354 * testsuite/demangle/abi_text/01.cc: New.
5355 * testsuite/demangle/abi_text/02.cc: New.
5356 * testsuite/demangle/abi_text/03.cc: New.
5357 * testsuite/demangle/abi_text/04.cc: New.
5358 * testsuite/demangle/abi_text/05.cc: New.
5359 * testsuite/demangle/abi_text/06.cc: New.
5360 * testsuite/demangle/abi_text/07.cc: New.
5361 * testsuite/demangle/abi_text/08.cc: New.
5362 * testsuite/demangle/abi_text/09.cc: New.
5363 * testsuite/demangle/abi_text/10.cc: New.
5364 * testsuite/demangle/abi_text/11.cc: New.
5365 * testsuite/demangle/abi_text/12.cc: New.
5366 * testsuite/demangle/abi_text/13.cc: New.
5367 * testsuite/demangle/abi_text/14.cc: New.
5368 * testsuite/demangle/regression/3111-1.cc: New.
5369 * testsuite/demangle/regression/3111-2.cc: New.
5370 * testsuite/demangle/regression/7986-01.cc: New.
5371 * testsuite/demangle/regression/7986-02.cc: New.
5372 * testsuite/demangle/regression/7986-03.cc: New.
5373 * testsuite/demangle/regression/7986-04.cc: New.
5374 * testsuite/demangle/regression/7986-05.cc: New.
5375 * testsuite/demangle/regression/7986-06.cc: New.
5376 * testsuite/demangle/regression/7986-07.cc: New.
5377 * testsuite/demangle/regression/7986-08.cc: New.
5378 * testsuite/demangle/regression/7986-09.cc: New.
5379 * testsuite/demangle/regression/7986-10.cc: New.
5380 * testsuite/demangle/regression/7986-11.cc: New.
5381 * testsuite/demangle/regression/7986-12.cc: New.
5382 * testsuite/demangle/regression/7986.cc: New.
5383 * testsuite/demangle/regression/8897.cc: New.
5384 * testsuite/demangle/regression/cw-01.cc: New.
5385 * testsuite/demangle/regression/cw-02.cc: New.
5386 * testsuite/demangle/regression/cw-03.cc: New.
5387 * testsuite/demangle/regression/cw-04.cc: New.
5388 * testsuite/demangle/regression/cw-05.cc: New.
5389 * testsuite/demangle/regression/cw-06.cc: New.
5390 * testsuite/demangle/regression/cw-07.cc: New.
5391 * testsuite/demangle/regression/cw-08.cc: New.
5392 * testsuite/demangle/regression/cw-09.cc: New.
5393 * testsuite/demangle/regression/cw-10.cc: New.
5394 * testsuite/demangle/regression/cw-11.cc: New.
5395 * testsuite/demangle/regression/cw-12.cc: New.
5396 * testsuite/demangle/regression/cw-13.cc: New.
5397 * testsuite/demangle/regression/cw-14.cc: New.
5398 * testsuite/demangle/regression/old.cc: New.
5400 2003-02-25 Phil Edwards <pme@gcc.gnu.org>
5402 * docs/doxygen/Intro.3: Update with new (proper) names.
5403 * docs/doxygen/TODO: Update.
5404 * docs/doxygen/run_doxygen: More comments, fix up man pages.
5405 Fake entries for standard typedefs.
5406 * docs/doxygen/user.cfg.in: Turn INLINE_INHERITED_MEMB back on.
5407 * docs/html/documentation.html: Top-level man page is now called
5409 * include/std/std_limits.h: Doxygenate.
5411 2003-02-25 Scott Snyder <snyder@fnal.gov>
5414 * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
5415 Correct documentation.
5416 * include/bits/stl_multimap.h (lower_bound, upper_bound,
5417 equal_range): Likewise.
5419 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
5423 (basic_filebuf<char/wchar_t>::_M_underflow_common): When
5424 __bump is true (uflow), always increment the read pointer
5425 (_M_in_cur) before returning successfully.
5426 * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
5428 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
5429 Nathan Myers <ncm@cantrip.org>
5431 PR libstdc++/9404, PR libstdc++/9701 (partial)
5432 (aka pptr == epptr implies overflow)
5433 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
5434 Consistently, _M_out_end points to the end of the buffer just
5436 (overflow): Tweak to use _M_out_buf_size().
5437 (_M_convert_to_external): The role of the old _M_out_end is
5438 now played by _M_out_lim.
5439 (_M_really_overflow): Likewise.
5440 (seekoff): Likewise.
5441 (setbuf): _M_out_end points to the end of the external buffer.
5442 * include/bits/sstream.tcc (overflow): Rewrote, taking into
5443 account the resolution of DR 169 (TC).
5444 (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
5445 (seekpos): Use _M_string.capacity(); tweak.
5446 * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
5447 * include/std/std_fstream.h (sync): The role of the old
5448 _M_out_end is now played by _M_out_lim.
5449 (_M_set_indeterminate): Use _M_set_determinate.
5450 (_M_set_determinate): _M_out_end is now _M_out_lim.
5451 (_M_is_indeterminate): Likewise.
5452 * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
5453 (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
5454 which have the information readily available as _M_string.capacity();
5455 for ate and app modes, pass the string size to _M_really_sync.
5456 (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
5457 point to the end of the buffer (i.e., epptr) and to the string end,
5459 * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
5460 which points to the right limit of the used put area.
5461 (_M_out_cur_move): The role of the old _M_out_end is now played
5463 (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
5464 _M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter
5466 (basic_streambuf()): Initialize _M_out_lim too.
5467 * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
5468 * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
5469 * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
5471 2003-02-24 Benjamin Kosnik <bkoz@redhat.com>
5473 * testsuite/27_io/ios_base_storage.cc (main): Call
5476 2003-02-21 Jerry Quinn <jlquinn@optonline.net>
5478 * include/bits/locale_facets.tcc (_M_convert_float): Replace
5479 numpunct facet accesses with data from __locale_cache.
5481 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
5483 * docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD.
5484 * docs/html/faq/index.txt: Regenerate.
5486 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
5488 * config/linker-map.gnu: Also export locking symbols needed for the
5489 generic atomicity.h case.
5491 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
5493 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
5495 * configure: Rebuilt.
5497 2003-02-19 Paolo Carlini <pcarlini@unitus.it>
5499 * include/bits/sstream.tcc (overflow): According to
5500 27.7.1.3, p5, actual output is performed by sputc(c).
5502 2003-02-19 Phil Edwards <pme@gcc.gnu.org>
5505 * include/bits/stl_alloc.h: Remove all traces of assert().
5507 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
5509 * include/std/std_sstream.h (str()): the size of the
5510 current string may be different from the initial one
5511 whenever _M_out_end > _M_out_beg.
5512 * testsuite/27_io/stringbuf_members.cc (test07): Add.
5514 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
5517 * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
5519 2003-02-17 Benjamin Kosnik <bkoz@redhat.com>
5521 * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
5522 * testsuite/27_io/ios_members.cc (test03): New.
5524 2003-02-17 Jerry Quinn <jlquinn@optonline.net>
5526 * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
5527 (basic_ios::_M_cache_facets): Move into above.
5528 * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
5530 (basic_ios::imbue): Force locale cache to be built.
5531 (basic_ios::_M_init): Create and initialize locale cache.
5532 * include/bits/ios_base.h (__locale_cache_base): Declare.
5533 (ios_base::_M_locale_cache): New.
5534 (ios_base::_M_cache): Define.
5535 * include/bits/locale_facets.h: (__num_base): Fix comment. Add
5537 (__locale_cache_base,__locale_cache<_CharT>): New classes.
5538 (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
5539 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
5540 cache literal string, grouping flag, thousands separator.
5541 (__locale_cache<_CharT>::__locale_cache): New.
5542 (__locale_cache<_CharT>::_M_init): New.
5543 * src/ios.cc: Clear _M_locale_cache in constructor.
5544 * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
5547 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
5549 * src/locale-inst.cc: Do not include <cassert>.
5550 * src/locale.cc: Likewise.
5552 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
5555 * include/std/std_fstream.h: Declare underflow and uflow
5556 specializations, change generic definitions to do nothing.
5557 * src/fstream.cc: Add underflow and uflow specializations.
5559 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
5562 * include/bits/fstream.tcc (_M_convert_to_external):
5563 Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
5564 * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
5566 2003-02-13 Benjamin Kosnik <bkoz@redhat.com>
5568 * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
5569 * include/bits/basic_ios.tcc: Guard use of extern template.
5570 * include/std/std_iomanip.h: Same.
5571 * include/bits/streambuf.tcc: Same.
5572 * include/bits/stl_alloc.h: Same.
5573 * include/bits/locale_facets.tcc: Same.
5574 * include/bits/ostream.tcc: Same.
5575 * include/bits/istream.tcc: Same.
5576 * include/bits/fstream.tcc: Same.
5577 * include/bits/basic_string.tcc: Same.
5579 2003-02-13 Paolo Carlini <pcarlini@unitus.it>
5581 * include/bits/ostream.tcc (sentry::sentry): Improve
5582 performance-wise the fix for libstdc++/9563.
5584 2003-02-12 Phil Edwards <pme@gcc.gnu.org>
5586 * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
5587 (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file.
5588 (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare
5589 when we don't have static mutex initialization.
5590 (__exchange_and_add): Use _Atomic_add_mutex_once.
5591 * src/misc-inst.cc: Definitions of all the above.
5593 2003-02-12 Paolo Carlini <pcarlini@unitus.it>
5596 * include/bits/ostream.tcc (sentry::sentry): Check
5597 the state of the stream after the preparation.
5598 * testsuite/27_io/ostream_sentry.cc (test02): Add.
5600 2003-02-11 Benjamin Kosnik <bkoz@redhat.com>
5602 * include/Makefile.am (stamp-std-precompile): Add rule.
5603 * include/Makefile.in: Regenerated.
5605 2003-02-11 Jerry Quinn <jlquinn@optonline.net>
5606 Benjamin Kosnik <benjamin@redhat.com>
5608 * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
5609 Add indexes into this array.
5610 (__num_base::_S_atoms): To _S_atoms_in.
5611 (num_put::_M_insert): Rename to _M_pad.
5612 (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
5613 (num_put::_M_widen_int): Rename to _M_group_int.
5614 (num_put::_M_widen_float): Rename to _M_group_float.
5615 * include/bits/locale_facets.tcc (__int_to_char): New inline
5616 function and adapter functions.
5617 (num_put::_M_group_int): Streamline.
5618 (num_put::_M_group_float): Streamline.
5619 (num_put::_M_convert_int): Remove unused parameter names. Choose
5620 large enough buffer for text. Use __int_to_char instead of
5621 __convert_from_v. Formatted text is now at the end of the buffer.
5622 (num_put::_M_convert_float): Preliminary fixups.
5623 * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
5624 (__int_to_char<unsigned long long>): Same.
5625 (__int_to_char<char, unsigned long>): New.
5626 (__int_to_char<char, unsigned long long>): New.
5627 (__int_to_char<wchar_t, unsigned long>): New.
5628 (__int_to_char<wchar_t, unsigned long long>): New.
5630 2003-02-11 Scott Snyder <snyder@fnal.gov>
5633 * include/bits/fstream.tcc (seekoff): Avoid operator+
5636 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
5639 * include/ext/stdio_filebuf.h
5640 (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
5641 stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
5642 Change to take a __size parameter of type size_t, not
5643 of type (template parameter dependent) int_type.
5644 * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
5645 size vars to size_t.
5646 * testsuite/ext/stdio_filebuf.cc: Add.
5648 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
5649 Petur Runolfsson <peturr02@ru.is>
5652 * include/bits/streambuf.tcc (__copy_streambufs):
5653 Don't conditionalize the copy to __testput.
5654 * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
5656 2002-02-11 DJ Delorie <dj@redhat.com>
5658 * acinclude.m4: Check for native targets that can't link at
5659 this point in the build.
5660 * aclocal.m4: Regenerate.
5661 * configure: Regenerate.
5663 2003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5665 * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
5667 (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
5670 2003-02-07 Paolo Carlini <pcarlini@unitus.it>
5672 * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
5673 unsigned char platforms.
5675 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
5678 * include/std/std_istream.h
5679 (basic_istream::sentry::operator bool()): Make const.
5680 * include/std/std_ostream.h
5681 (basic_ostream::sentry::operator bool()): Likewise.
5682 * testsuite/27_io/istream_sentry.cc (test03): Add.
5683 * testsuite/27_io/ostream_sentry.cc: Add.
5685 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
5688 Implement resolution of DR 231 (Ready)
5689 * include/bits/locale_facets.h (__num_base::_S_format_float):
5690 Change declaration: return void, remove __prec parameter.
5691 * src/locale.cc (__num_base::_S_format_float): Implement
5692 resolution of DR 231.
5693 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
5694 Tweak uses. Check for negative precision.
5695 * testsuite/22_locale/num_put/put/char/6.cc: Add
5696 * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
5698 2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
5700 * config/io/basic_file_libio.h: Fixups.
5701 * config/io/c_io_libio.h: Same.
5702 * libio/Makefile.am: Same.
5703 * libio/Makefile.in: Regenerated.
5705 2003-02-06 Benjamin Kosnik <bkoz@redhat.com>
5707 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
5708 Explicitly use the "C" locale.
5709 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
5711 2003-02-06 Petur Runolfsson <peturr02@ru.is>
5715 PR libstdc++/9028 (partial)
5721 (codecvt<wchar_t, char, mbstate_t>::do_encoding,
5722 codecvt<wchar_t, char, mbstate_t>::do_length,
5723 codecvt<wchar_t, char, mbstate_t>::do_max_length):
5725 * config/locale/generic/codecvt_members.cc: ...here.
5726 * config/locale/gnu/codecvt_members.cc: ...and here.
5728 * config/locale/generic/codecvt_members.cc,
5729 * config/locale/gnu/codecvt_members.cc
5730 (codecvt<wchar_t, char, mbstate_t>::do_encoding
5731 codecvt<wchar_t, char, mbstate_t>::do_in,
5732 codecvt<wchar_t, char, mbstate_t>::do_length,
5733 codecvt<wchar_t, char, mbstate_t>::do_max_length,
5734 codecvt<wchar_t, char, mbstate_t>::do_out):
5735 New implementation that handles stateless encodings,
5738 * config/locale/generic/codecvt_members.cc,
5739 * config/locale/gnu/codecvt_members.cc,
5740 * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
5741 * include/bits/codecvt.h,
5743 (codecvt::length, codecvt::do_length):
5744 Change type of first argument of length and do_length from
5745 'const state_type&' to 'state_type&' according to DR 75.
5747 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Cleanup.
5748 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: New test.
5749 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: New test.
5750 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: New test.
5751 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
5752 Cleanup and check for correct return value from encoding
5754 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: New test.
5755 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: New test.
5756 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: New test.
5757 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Cleanup.
5758 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: New test.
5759 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: New test.
5760 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: New test.
5761 * testsuite/22_locale/codecvt/in/wchar_t/5.cc: New test.
5762 * testsuite/22_locale/codecvt/in/wchar_t/6.cc: New test.
5763 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: New test.
5764 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: New test.
5765 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: New test.
5766 * testsuite/22_locale/codecvt/length/char/1.cc: Cleanup.
5767 * testsuite/22_locale/codecvt/length/char/2.cc: New test.
5768 * testsuite/22_locale/codecvt/length/wchar_t/1.cc: Cleanup.
5769 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: New test.
5770 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: New test.
5771 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: New test.
5772 * testsuite/22_locale/codecvt/length/wchar_t/5.cc: New test.
5773 * testsuite/22_locale/codecvt/length/wchar_t/6.cc: New test.
5774 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: New test.
5775 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Cleanup.
5776 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: New test.
5777 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: New test.
5778 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: New test.
5779 * testsuite/22_locale/codecvt/out/wchar_t/1.cc: Cleanup.
5780 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: New test.
5781 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: New test.
5782 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: New test.
5783 * testsuite/22_locale/codecvt/out/wchar_t/5.cc: New test.
5784 * testsuite/22_locale/codecvt/out/wchar_t/6.cc: New test.
5785 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: New test.
5786 * testsuite/22_locale/codecvt/unicode/1.cc: New test.
5787 * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Cleanup.
5788 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: New test.
5789 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: New test.
5790 * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc: New test.
5792 2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
5794 * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
5795 (money_put::do_put): Same.
5797 2003-02-05 Jerry Quinn <jlquinn@optonline.net>
5799 * include/bits/ios_base.h (ios_base): Document reserved storage.
5801 * include/bits/locale_facets.h: (struct __pad): Comment on
5803 (__verify_grouping): Same.
5804 (__add_grouping): Same.
5805 * include/bits/locale_facets.tcc (__verify_grouping): Move
5806 comments to declaration.
5807 (__add_grouping): Same.
5809 * include/bits/locale_facets.tcc:
5810 (__write<_CharT, _OutIter>): New function.
5811 (__write<_CharT>): New function specialization.
5812 (num_put::_M_insert): Remove explicit loop over iterator. Use
5814 (num_put::_M_widen_float): Remove __basefield.
5815 (num_put::_M_widen_int): Move __basefield to within grouping block.
5817 * include/bits/streambuf_iterator.h: Include <streambuf>.
5818 (ostreambuf_iterator::_M_put): Add.
5820 2003-02-05 Paolo Carlini <pcarlini@unitus.it>
5822 * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
5824 2003-02-04 Nathan Myers <ncm@cantrip.org>
5826 * testsuite/25_algorithms/min_max.cc (test02): Add.
5828 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
5830 PR libstdc++/9439, PR libstdc++/9425
5831 * config/io/basic_file_stdio.cc
5832 (__basic_file<char>::seekoff, seekpos): Return -1L if
5834 * include/bits/fstream.tcc (basic_filebuf::seekoff):
5835 Check _M_file.seekoff return value; always return
5836 pos_type(off_type(-1)) in case of failure.
5837 (basic_filebuf::pbackfail): Check this->seekoff return
5838 value and return traits_type::eof() in case of failure.
5839 * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
5841 2003-02-04 Jerry Quinn <jlquinn@optonline.net>
5843 * include/std/std_ostream.h (ostream::_M_write): Declare.
5844 * ostream.tcc (ostream::_M_write): Define.
5845 (basic_ostream::write): Use it.
5846 (operator<<(basic_ostream, _CharT)): Ditto.
5847 (operator<<(basic_ostream, char)): Ditto.
5848 (operator<<(basic_ostream, _CharT*)): Ditto.
5849 (operator<<(basic_ostream, char*)): Ditto.
5850 (operator<<(basic_ostream, basic_string)): Ditto.
5852 2003-02-04 Benjamin Kosnik <bkoz@redhat.com>
5854 * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
5856 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
5858 * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
5859 add HTML comment about updating links if numbering changes.
5861 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
5864 * include/bits/streambuf.tcc (sputbackc): Access
5865 this->gptr()[-1] only if _M_in_beg < _M_in_cur.
5866 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
5868 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
5871 * include/bits/fstream.tcc (open): If the 'ate' repositioning
5872 operation fails, calls close _and_ returns a null pointer
5873 to indicate failure (27.8.1.3,4).
5874 * testsuite/27_io/filebuf_members.cc (test_06): Add.
5876 2003-02-04 Petur Runolfsson <peturr02@ru.is>
5878 * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
5880 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
5882 * docs/html/27_io/howto.html: New section on stdio_filebuf.
5883 * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
5884 * docs/html/documentation.html: Regenerate.
5886 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
5888 * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
5889 * docs/html/17_intro/porting.html: Regenerate.
5891 2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
5892 Phil Edwards <pme@gcc.gnu.org>
5894 * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
5895 numeric_limits for bits-per-word values.
5896 (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
5897 Use __builtin_popcountl instead.
5898 (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
5899 _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
5900 Use __builtin_ctzl instead.
5901 (_S_bit_count, _S_first_one): Remove.
5902 * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
5903 * src/Makefile.am (sources): Remove bitset.cc.
5904 * src/bitset.cc: Delete file.
5905 * src/Makefile.in: Regenerate.
5907 2003-02-03 Phil Edwards <pme@gcc.gnu.org>
5909 PR libstdc++/9527, PR libstdc++/8713
5910 * docs/html/install.html: Mention glibc version requirement.
5911 * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed
5912 with 3.2.1+ (formatting bugfixes).
5913 * docs/html/faq/index.txt: Regenerate.
5915 2003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
5918 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
5921 * include/bits/valarray_before.h (__not_equal_to): Use != instead
5924 * testsuite/26_numerics/valarray_operators.cc: New test.
5926 2003-02-01 Phil Edwards <pme@gcc.gnu.org>
5928 * docs/html/faq/index.html: Correct link to libg++ information.
5929 * docs/html/faq/index.txt: Regenerated.
5931 2003-02-01 Paolo Carlini <pcarlini@unitus.it>
5932 Benjamin Kosnik <bkoz@redhat.com>
5934 Const correctness issue:
5935 http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
5936 * include/bits/locale_classes.h
5937 (locale::_Impl::_M_facets): Change type to const facet**.
5938 (locale::_Impl::_M_install_facet): Change declaration to
5940 (locale::facet::_M_references): Make mutable.
5941 (locale::facet::_M_add_reference): Declare const.
5942 (locale::facet::_M_remove_reference): Likewise.
5943 * include/bits/locale_facets.tcc
5944 (use_facet(const locale&)): Tweak for const facet** _M_facets.
5945 (has_facet(const locale&)): Likewise.
5947 (locale::facet::_M_add_reference): Adjust definition.
5948 (locale::facet::_M_remove_reference): Likewise.
5950 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
5951 const facet** _M_facets.
5952 (locale::_Impl::_Impl(const char*, size_t)): Likewise.
5953 (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
5954 (locale::_Impl::_M_install_facet): Adjust definition to take
5955 const facet* and for const facet** _M_facets.
5956 * testsuite/22_locale/locale/cons/8.cc: Add.
5958 2003-01-29 Mark Mitchell <mark@codesourcery.com>
5960 * include/std/std_limits.h (numeric_limits<float>::has_infinity):
5961 Use __FLT_HAS_INIFINITY__ to initialize.
5962 (numeric_limits<float>::has_quiet_NaN): Likewise.
5963 (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
5965 (numeric_limits<double>::has_quiet_NaN): Likewise.
5966 (numeric_limits<long double>::has_infinity): Use
5967 __LDBL_HAS_INIFINITY__ to initialize.
5968 (numeric_limits<long_double>::has_quiet_NaN): Likewise.
5970 2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
5973 * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
5974 with bases which are very ambiguous.
5976 2003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
5978 * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
5979 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
5980 * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
5981 * src/Makefile.in: Regenerate.
5982 * libsupc++/Makefile.in: Regenerate.
5984 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
5986 * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
5987 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
5988 version_specific_libs is enabled.
5989 * aclocal.m4, configure: Rebuilt.
5991 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
5993 * include/bits/valarray_meta.h: Remove, split into ...
5994 * include/bits/valarray_before.h: ... this, and ...
5995 * include/bits/valarray_after.h: ... this.
5996 * include/std/std_valarray.h: Adjust.
5997 * include/Makefile.am (bits_headers): Adjust.
5998 * include/Makefile.in: Regenerate.
6000 2003-01-24 Andreas Schwab <schwab@suse.de>
6002 * config/linker-map.gnu: Fix for size_t variance.
6004 2003-01-23 Petur Runolfsson <peturr02@ru.is>
6007 * include/std/std_streambuf.h
6008 (basic_streambuf::basic_streambuf,
6009 basic_streambuf::~basic_streambuf,
6010 basic_streambuf::getloc, basic_streambuf::imbue):
6011 Remove _M_buf_locale_init
6012 * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
6013 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
6014 * testsuite/27_io/streambuf_members.cc (test08): Add.
6015 * testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
6017 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
6019 Revert include ordering.
6020 * config/locale/generic/c_locale.h: Add include guards.
6021 * config/locale/gnu/c_locale.h: Same.
6022 * include/bits/locale_classes.h: Remove cctype include.
6023 * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
6024 * include/std/std_fstream.h: Remove streambuf include.
6025 * include/std/std_sstream.h: Remove streambuf include.
6027 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
6029 * configure.in (libtool_VERSION): To 6:0:0.
6030 * configure: Regenerated.
6031 * config/linker-map.gnu: Clean.
6033 * src/misc-inst.cc: Remove instantiations.
6035 * include/bits/stl_alloc.h (__malloc_alloc_template):
6037 (__default_alloc_template): To __pool_alloc.
6038 * src/stl-inst.cc: Same.
6039 * include/backward/alloc.h: Update.
6040 * testsuite/ext/allocators.cc: Update.
6042 * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
6043 really try to remove these if possible.
6044 * src/locale.cc (std): Same.
6046 * testsuite/abi_check.cc (check_version): Add.
6048 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
6049 Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
6050 Mark Mitchell <mark@codesourcery.com>
6053 * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
6054 (basic_filebuf::underflow): Declare.
6057 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
6059 * include/bits/locale_facets.h: Move non-facet classes requiring
6061 * include/bits/locale_classes.h: New.
6062 * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
6063 * include/bits/Makefile.in: Regenerate.
6065 * include/bits/locale_facets.tcc (__convert_from_v): Move to...
6066 * config/locale/gnu/c_locale.h: ...here.
6067 * config/locale/generic/c_locale.h: Same.
6069 * include/bits/locale_facets.tcc: Move declarations to...
6070 * include/bits/locale_facets.h: ...here.
6071 * include/bits/basic_ios.h: Tweak includes accordingly.
6072 * include/std/std_sstream.h: Add streambuf include.
6073 * include/std/std_fstream.h: Ditto.
6074 * include/std/std_locale.h: Add locale_classes.h include.
6075 * include/std/std_iosfwd.h: Tweak.
6076 * src/concept-inst.cc: Add iterator include.
6078 * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
6079 bits as unexported in the future.
6081 2003-01-21 Benjamin Kosnik <bkoz@redhat.com>
6083 Reshuffle 22_locale testsuite.
6084 * 22_locale/(codecvt.cc money_get.cc
6085 codecvt_members_char_char.cc money_get_members_char.cc
6086 codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
6087 codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
6088 codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
6089 moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
6090 collate_members_char.cc money_put.cc collate_members_wchar_t.cc
6091 money_put_members_char.cc ctor_copy_dtor.cc
6092 money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
6093 num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
6094 ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
6095 numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
6096 ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
6097 num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
6098 ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
6099 operators.cc ctype_widen_char.cc static_members.cc
6100 ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
6101 global_templates.cc time_get_members_wchar_t.cc, members.cc,
6102 time_put.cc, messages_byname.cc, time_put_members_char.cc,
6103 messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
6104 Split up into individual test cases...
6105 * 22_locale/codecvt/1.cc: New.
6106 * 22_locale/codecvt/2.cc: New.
6107 * 22_locale/codecvt/always_noconv/char/1.cc: New.
6108 * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
6109 * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
6110 * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
6111 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
6112 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
6113 * 22_locale/codecvt/encoding/char/1.cc: New.
6114 * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
6115 * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
6116 * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
6117 * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
6118 * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
6119 * 22_locale/codecvt/in/char/1.cc: New.
6120 * 22_locale/codecvt/in/char/wrapped_env.cc: New.
6121 * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
6122 * 22_locale/codecvt/in/wchar_t/1.cc: New.
6123 * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
6124 * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
6125 * 22_locale/codecvt/length/char/1.cc: New.
6126 * 22_locale/codecvt/length/char/wrapped_env.cc: New.
6127 * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
6128 * 22_locale/codecvt/length/wchar_t/1.cc: New.
6129 * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
6130 * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
6131 * 22_locale/codecvt/max_length/char/1.cc: New.
6132 * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
6133 * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
6134 * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
6135 * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
6136 * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
6137 * 22_locale/codecvt/out/char/1.cc: New.
6138 * 22_locale/codecvt/out/char/wrapped_env.cc: New.
6139 * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
6140 * 22_locale/codecvt/out/wchar_t/1.cc: New.
6141 * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
6142 * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
6143 * 22_locale/codecvt/unicode/char.cc: New.
6144 * 22_locale/codecvt/unicode/wchar_t.cc: New.
6145 * 22_locale/codecvt/unshift/char/1.cc: New.
6146 * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
6147 * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
6148 * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
6149 * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
6150 * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
6151 * 22_locale/collate/1.cc: New.
6152 * 22_locale/collate/2.cc: New.
6153 * 22_locale/collate/compare/char/1.cc: New.
6154 * 22_locale/collate/compare/char/2.cc: New.
6155 * 22_locale/collate/compare/char/wrapped_env.cc: New.
6156 * 22_locale/collate/compare/char/wrapped_locale.cc: New.
6157 * 22_locale/collate/compare/wchar_t/1.cc: New.
6158 * 22_locale/collate/compare/wchar_t/2.cc: New.
6159 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
6160 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
6161 * 22_locale/collate/hash/char/1.cc: New.
6162 * 22_locale/collate/hash/char/2.cc: New.
6163 * 22_locale/collate/hash/char/wrapped_env.cc: New.
6164 * 22_locale/collate/hash/char/wrapped_locale.cc: New.
6165 * 22_locale/collate/hash/wchar_t/1.cc: New.
6166 * 22_locale/collate/hash/wchar_t/2.cc: New.
6167 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
6168 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
6169 * 22_locale/collate/transform/char/2.cc: New.
6170 * 22_locale/collate/transform/char/wrapped_env.cc: New.
6171 * 22_locale/collate/transform/char/wrapped_locale.cc: New.
6172 * 22_locale/collate/transform/wchar_t/2.cc: New.
6173 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
6174 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
6175 * 22_locale/collate_byname/1.cc: New.
6176 * 22_locale/ctype/1.cc: New.
6177 * 22_locale/ctype/2.cc: New.
6178 * 22_locale/ctype/cons/char/1.cc: New.
6179 * 22_locale/ctype/cons/char/wrapped_env.cc: New.
6180 * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
6181 * 22_locale/ctype/is/char/1.cc: New.
6182 * 22_locale/ctype/is/char/2.cc: New.
6183 * 22_locale/ctype/is/char/3.cc: New.
6184 * 22_locale/ctype/is/char/wrapped_env.cc: New.
6185 * 22_locale/ctype/is/char/wrapped_locale.cc: New.
6186 * 22_locale/ctype/is/wchar_t/1.cc: New.
6187 * 22_locale/ctype/is/wchar_t/2.cc: New.
6188 * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
6189 * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
6190 * 22_locale/ctype/narrow/char/1.cc: New.
6191 * 22_locale/ctype/narrow/char/2.cc: New.
6192 * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
6193 * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
6194 * 22_locale/ctype/narrow/wchar_t/1.cc: New.
6195 * 22_locale/ctype/narrow/wchar_t/2.cc: New.
6196 * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
6197 * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
6198 * 22_locale/ctype/scan/char/1.cc: New.
6199 * 22_locale/ctype/scan/char/wrapped_env.cc: New.
6200 * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
6201 * 22_locale/ctype/scan/wchar_t/1.cc: New.
6202 * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
6203 * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
6204 * 22_locale/ctype/to/char/1.cc: New.
6205 * 22_locale/ctype/to/char/wrapped_env.cc: New.
6206 * 22_locale/ctype/to/char/wrapped_locale.cc: New.
6207 * 22_locale/ctype/to/wchar_t/1.cc: New.
6208 * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
6209 * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
6210 * 22_locale/ctype/widen/char/1.cc: New.
6211 * 22_locale/ctype/widen/char/wrapped_env.cc: New.
6212 * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
6213 * 22_locale/ctype/widen/wchar_t/1.cc: New.
6214 * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
6215 * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
6216 * 22_locale/facet/1.cc: New.
6217 * 22_locale/facet/2.cc: New.
6218 * 22_locale/global_templates/1.cc: New.
6219 * 22_locale/locale/cons/1.cc: New.
6220 * 22_locale/locale/cons/2.cc: New.
6221 * 22_locale/locale/cons/3.cc: New.
6222 * 22_locale/locale/cons/4.cc: New.
6223 * 22_locale/locale/cons/5.cc: New.
6224 * 22_locale/locale/cons/6.cc: New.
6225 * 22_locale/locale/cons/7.cc: New.
6226 * 22_locale/locale/global_locale_objects/1.cc: New.
6227 * 22_locale/locale/global_locale_objects/2.cc: New.
6228 * 22_locale/locale/global_locale_objects/3.cc: New.
6229 * 22_locale/locale/operations/1.cc: New.
6230 * 22_locale/locale/operations/2.cc: New.
6231 * 22_locale/messages/1.cc: New.
6232 * 22_locale/messages/2.cc: New.
6233 * 22_locale/messages/members/char/1.cc: New.
6234 * 22_locale/messages/members/char/2.cc: New.
6235 * 22_locale/messages/members/char/3.cc: New.
6236 * 22_locale/messages/members/char/wrapped_env.cc: New.
6237 * 22_locale/messages/members/char/wrapped_locale.cc: New.
6238 * 22_locale/messages_byname/1.cc: New.
6239 * 22_locale/money_get/1.cc: New.
6240 * 22_locale/money_get/2.cc: New.
6241 * 22_locale/money_get/get/char/1.cc: New.
6242 * 22_locale/money_get/get/char/2.cc: New.
6243 * 22_locale/money_get/get/char/3.cc: New.
6244 * 22_locale/money_get/get/char/4.cc: New.
6245 * 22_locale/money_get/get/char/5.cc: New.
6246 * 22_locale/money_get/get/char/6.cc: New.
6247 * 22_locale/money_get/get/char/7.cc: New.
6248 * 22_locale/money_get/get/char/8.cc: New.
6249 * 22_locale/money_get/get/char/wrapped_env.cc: New.
6250 * 22_locale/money_get/get/char/wrapped_locale.cc: New.
6251 * 22_locale/money_get/get/wchar_t/1.cc: New.
6252 * 22_locale/money_get/get/wchar_t/2.cc: New.
6253 * 22_locale/money_get/get/wchar_t/3.cc: New.
6254 * 22_locale/money_get/get/wchar_t/4.cc: New.
6255 * 22_locale/money_get/get/wchar_t/5.cc: New.
6256 * 22_locale/money_get/get/wchar_t/6.cc: New.
6257 * 22_locale/money_get/get/wchar_t/7.cc: New.
6258 * 22_locale/money_get/get/wchar_t/8.cc: New.
6259 * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
6260 * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
6261 * 22_locale/money_put/1.cc: New.
6262 * 22_locale/money_put/2.cc: New.
6263 * 22_locale/money_put/put/char/1.cc: New.
6264 * 22_locale/money_put/put/char/2.cc: New.
6265 * 22_locale/money_put/put/char/3.cc: New.
6266 * 22_locale/money_put/put/char/4.cc: New.
6267 * 22_locale/money_put/put/char/5.cc: New.
6268 * 22_locale/money_put/put/char/6.cc: New.
6269 * 22_locale/money_put/put/char/wrapped_env.cc: New.
6270 * 22_locale/money_put/put/char/wrapped_locale.cc: New.
6271 * 22_locale/money_put/put/wchar_t/1.cc: New.
6272 * 22_locale/money_put/put/wchar_t/2.cc: New.
6273 * 22_locale/money_put/put/wchar_t/3.cc: New.
6274 * 22_locale/money_put/put/wchar_t/4.cc: New.
6275 * 22_locale/money_put/put/wchar_t/5.cc: New.
6276 * 22_locale/money_put/put/wchar_t/6.cc: New.
6277 * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
6278 * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
6279 * 22_locale/moneypunct/1.cc: New.
6280 * 22_locale/moneypunct/2.cc: New.
6281 * 22_locale/moneypunct/3.cc: New.
6282 * 22_locale/moneypunct/members/char/1.cc: New.
6283 * 22_locale/moneypunct/members/char/2.cc: New.
6284 * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
6285 * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
6286 * 22_locale/moneypunct/members/wchar_t/1.cc: New.
6287 * 22_locale/moneypunct/members/wchar_t/2.cc: New.
6288 * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
6289 * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
6290 * 22_locale/moneypunct_byname/1.cc: New.
6291 * 22_locale/num_get/1.cc: New.
6292 * 22_locale/num_get/2.cc: New.
6293 * 22_locale/num_get/get/char/1.cc: New.
6294 * 22_locale/num_get/get/char/2.cc: New.
6295 * 22_locale/num_get/get/char/3.cc: New.
6296 * 22_locale/num_get/get/char/4.cc: New.
6297 * 22_locale/num_get/get/char/5.cc: New.
6298 * 22_locale/num_get/get/char/6.cc: New.
6299 * 22_locale/num_get/get/char/wrapped_env.cc: New.
6300 * 22_locale/num_get/get/char/wrapped_locale.cc: New.
6301 * 22_locale/num_get/get/wchar_t/1.cc: New.
6302 * 22_locale/num_get/get/wchar_t/2.cc: New.
6303 * 22_locale/num_get/get/wchar_t/3.cc: New.
6304 * 22_locale/num_get/get/wchar_t/4.cc: New.
6305 * 22_locale/num_get/get/wchar_t/5.cc: New.
6306 * 22_locale/num_get/get/wchar_t/6.cc: New.
6307 * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
6308 * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
6309 * 22_locale/num_put/1.cc: New.
6310 * 22_locale/num_put/2.cc: New.
6311 * 22_locale/num_put/put/char/1.cc: New.
6312 * 22_locale/num_put/put/char/2.cc: New.
6313 * 22_locale/num_put/put/char/3.cc: New.
6314 * 22_locale/num_put/put/char/4.cc: New.
6315 * 22_locale/num_put/put/char/5.cc: New.
6316 * 22_locale/num_put/put/char/wrapped_env.cc: New.
6317 * 22_locale/num_put/put/char/wrapped_locale.cc: New.
6318 * 22_locale/num_put/put/wchar_t/1.cc: New.
6319 * 22_locale/num_put/put/wchar_t/2.cc: New.
6320 * 22_locale/num_put/put/wchar_t/3.cc: New.
6321 * 22_locale/num_put/put/wchar_t/4.cc: New.
6322 * 22_locale/num_put/put/wchar_t/5.cc: New.
6323 * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
6324 * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
6325 * 22_locale/numpunct/1.cc: New.
6326 * 22_locale/numpunct/2.cc: New.
6327 * 22_locale/numpunct/members/char/1.cc: New.
6328 * 22_locale/numpunct/members/char/2.cc: New.
6329 * 22_locale/numpunct/members/char/wrapped_env.cc: New.
6330 * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
6331 * 22_locale/numpunct/members/wchar_t/1.cc: New.
6332 * 22_locale/numpunct/members/wchar_t/2.cc: New.
6333 * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
6334 * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
6335 * 22_locale/numpunct_byname/1.cc: New.
6336 * 22_locale/numpunct_byname/2.cc: New.
6337 * 22_locale/time_get/1.cc: New.
6338 * 22_locale/time_get/2.cc: New.
6339 * 22_locale/time_get/date_order/char/1.cc: New.
6340 * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
6341 * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
6342 * 22_locale/time_get/date_order/wchar_t/1.cc: New.
6343 * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
6344 * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
6345 * 22_locale/time_get/get_date/char/1.cc: New.
6346 * 22_locale/time_get/get_date/char/2.cc: New.
6347 * 22_locale/time_get/get_date/char/3.cc: New.
6348 * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
6349 * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
6350 * 22_locale/time_get/get_date/wchar_t/1.cc: New.
6351 * 22_locale/time_get/get_date/wchar_t/2.cc: New.
6352 * 22_locale/time_get/get_date/wchar_t/3.cc: New.
6353 * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
6354 * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
6355 * 22_locale/time_get/get_monthname/char/1.cc: New.
6356 * 22_locale/time_get/get_monthname/char/2.cc: New.
6357 * 22_locale/time_get/get_monthname/char/3.cc: New.
6358 * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
6359 * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
6360 * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
6361 * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
6362 * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
6363 * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
6364 * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
6365 * 22_locale/time_get/get_time/char/1.cc: New.
6366 * 22_locale/time_get/get_time/char/2.cc: New.
6367 * 22_locale/time_get/get_time/char/3.cc: New.
6368 * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
6369 * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
6370 * 22_locale/time_get/get_time/wchar_t/1.cc: New.
6371 * 22_locale/time_get/get_time/wchar_t/2.cc: New.
6372 * 22_locale/time_get/get_time/wchar_t/3.cc: New.
6373 * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
6374 * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
6375 * 22_locale/time_get/get_weekday/char/1.cc: New.
6376 * 22_locale/time_get/get_weekday/char/2.cc: New.
6377 * 22_locale/time_get/get_weekday/char/3.cc: New.
6378 * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
6379 * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
6380 * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
6381 * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
6382 * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
6383 * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
6384 * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
6385 * 22_locale/time_get/get_year/char/1.cc: New.
6386 * 22_locale/time_get/get_year/char/3.cc: New.
6387 * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
6388 * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
6389 * 22_locale/time_get/get_year/wchar_t/1.cc: New.
6390 * 22_locale/time_get/get_year/wchar_t/3.cc: New.
6391 * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
6392 * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
6393 * 22_locale/time_put/1.cc: New.
6394 * 22_locale/time_put/2.cc: New.
6395 * 22_locale/time_put/put/char/1.cc: New.
6396 * 22_locale/time_put/put/char/10.cc: New.
6397 * 22_locale/time_put/put/char/2.cc: New.
6398 * 22_locale/time_put/put/char/3.cc: New.
6399 * 22_locale/time_put/put/char/4.cc: New.
6400 * 22_locale/time_put/put/char/5.cc: New.
6401 * 22_locale/time_put/put/char/6.cc: New.
6402 * 22_locale/time_put/put/char/7.cc: New.
6403 * 22_locale/time_put/put/char/8.cc: New.
6404 * 22_locale/time_put/put/char/9.cc: New.
6405 * 22_locale/time_put/put/char/wrapped_env.cc: New.
6406 * 22_locale/time_put/put/char/wrapped_locale.cc: New.
6407 * 22_locale/time_put/put/wchar_t/1.cc: New.
6408 * 22_locale/time_put/put/wchar_t/10.cc: New.
6409 * 22_locale/time_put/put/wchar_t/2.cc: New.
6410 * 22_locale/time_put/put/wchar_t/3.cc: New.
6411 * 22_locale/time_put/put/wchar_t/4.cc: New.
6412 * 22_locale/time_put/put/wchar_t/5.cc: New.
6413 * 22_locale/time_put/put/wchar_t/6.cc: New.
6414 * 22_locale/time_put/put/wchar_t/7.cc: New.
6415 * 22_locale/time_put/put/wchar_t/8.cc: New.
6416 * 22_locale/time_put/put/wchar_t/9.cc: New.
6417 * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
6418 * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
6420 2003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
6422 * config/locale/generic/messages_members.h
6423 (messages_byname<_CharT>::messages_byname): Use this-> to refer to
6424 unqualified members of base clasess.
6426 2003-01-16 Mark Mitchell <mark@codesourcery.com>
6427 Jeffrey Oldham <oldham@codesourcery.com>
6429 * config/locale/gnu/messages_members.h: Use this-> to refer to
6430 unqualified members of base clasess.
6431 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
6432 * include/bits/codecvt.h: Likewise.
6433 * include/bits/deque.tcc: Likewise.
6434 * include/bits/fstream.tcc: Likewise.
6435 * include/bits/istream.tcc: Likewise.
6436 * include/bits/list.tcc: Likewise.
6437 * include/bits/locale_facets.h: Likewise.
6438 * include/bits/ostream.tcc: Likewise.
6439 * include/bits/sstream.tcc: Likewise.
6440 * include/bits/stl_bvector.h: Likewise.
6441 * include/bits/stl_deque.h: Likewise.
6442 * include/bits/stl_list.h: Likewise.
6443 * include/bits/stl_tree.h: Likewise.
6444 * include/bits/stl_vector.h: Likewise.
6445 * include/bits/vector.tcc: Likewise.
6446 * include/ext/ropeimpl.h: Likewise.
6447 * include/ext/stdio_filebuf.h: Likewise.
6448 * include/ext/stl_rope.h: Likewise.
6449 * include/std/std_fstream.h: Likewise.
6450 * include/std/std_sstream.h: Likewise.
6452 2003-01-15 Phil Edwards <pme@gcc.gnu.org>
6454 * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
6456 2003-01-15 Benjamin Kosnik <bkoz@redhat.com>
6458 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
6459 GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
6460 * aclocal.m4: Regenerate.
6461 * configure: Regenerate.
6462 * testsuite/Makefile.am (all-local): Add conditional rule to
6463 generate testsuite_wchar_t.
6464 * testsuite/Makefile.in: Regenerate.
6465 * testsuite/lib/libstdc++-v3-dg.exp
6466 (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
6467 testsuite_wchar_t is not present in the build directory.
6468 * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
6469 Remove setulimit bits.
6470 * testsuite/26_numerics/complex_value.cc: Set to noopts.
6471 * testsuite/Makefile.am (CLEANFILES): Add.
6472 * testsuite/Makefile.in: Regenerate.
6474 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
6476 * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
6479 2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
6481 Further conform g++'s __vmi_class_type_info to the C++ ABI
6483 * libsupc++/cxxabi.h
6484 (__vmi_class_type_info::__flags_masks): Remove enumerations not
6485 required by the specification.
6487 2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
6489 Renames, namespaces for testsuite utilities.
6490 * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
6491 (gnu_allocator_tracker): Rename to allocation_tracker.
6492 (gnu_new_allocator): Rename to tracker_alloc.
6493 (__set_testsuite_memlimit): Rename to set_memory_limits.
6494 (gnu_assignment_operator): Rename to assignment_operator.
6495 (gnu_destructor): Rename to destructor.
6496 (gnu_copy_tracker): Rename to copy_tracker.
6497 (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
6498 (run_tests_wrapped_locale): New.
6499 (run_tests_wrapped_env): New.
6500 * testsuite/testsuite_hooks.cc: Same.
6501 (class locale_data): Add.
6502 (class enviornment_variable): Add.
6503 (class not_found): Add.
6504 * testsuite/testsuite_allocator.h: Same.
6505 * testsuite/testsuite_allocator.cc: Same.
6506 * testsuite/23_containers/deque_ctor.cc
6507 (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
6509 Change gnu_new_allocator to tracker_alloc.
6510 Change gnu_counting_struct to counter.
6511 Change gnu_copy_tracker to copy_tracker.
6512 Change gnu_copy_constructor to copy_constructor.
6513 Change gnu_assignment_operator to assignment_operator.
6515 * testsuite/23_containers/vector_capacity.cc: Same.
6516 * testsuite/23_containers/vector_ctor.cc (test01): Same.
6517 * testsuite/23_containers/list_modifiers.cc: Change
6518 gnu_copy_tracker to copy_tracker.
6519 * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
6520 __set_testsuite_memlimit to set_memory_limits.
6521 * testsuite/21_strings/insert.cc (main): Same.
6522 * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
6523 * testsuite/27_io/stringstream.cc: Same.
6524 * testsuite/27_io/stringbuf.cc: Same.
6525 * testsuite/27_io/streambuf.cc: Same.
6526 * testsuite/27_io/ostream.cc: Same.
6527 * testsuite/27_io/istream.cc: Same.
6528 * testsuite/27_io/fstream.cc: Same.
6529 * testsuite/lib/libstdc++-v3-dg.exp
6530 (libstdc++-v3-list-sourcefiles): Additionally handle files two and
6531 three levels deeper in glob patterns.
6533 2003-01-11 Phil Edwards <pme@gcc.gnu.org>
6535 * docs/doxygen/tables.html: Finished now.
6536 * docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
6537 * include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
6540 * include/bits/deque.tcc, include/bits/stl_alloc.h,
6541 include/bits/stl_deque.h, include/bits/stl_list.h,
6542 include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
6545 2003-01-09 Benjamin Kosnik <bkoz@redhat.com>
6547 * configure.in: Revert.
6548 * configure: Regenerate.
6550 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
6552 * include/Makefile.am (install-data-local): Prepend
6553 $(DESTDIR) to destination paths in all (un)installation
6554 commands. Use ${c_base_builddir} and ${std_builddir}
6555 as destination subdirectories to achieve consistency with
6556 preceding mkinstalldirs commands. No effect because both
6557 variables contain "." only.
6558 * include/Makefile.in: Regenerate.
6560 2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
6562 * include/Makefile.am (stamp-*): Add checks for existing stamps.
6563 * include/Makefile.in: Regenerate.
6565 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
6566 * aclocal.m4: Regenerate.
6568 * configure.in: Don't add new multi-do rules every time the
6569 directory is reconfigured.
6570 * configure: Regenerate.
6572 2003-01-08 Brad Spencer <spencer@infointeractive.com>
6573 Nathan Myers <ncm@cantrip.org>
6575 * src/Makefile.am (stamp-debug): Clean.
6576 * src/Makefile.in: Regenerate.
6578 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
6581 * Makefile.am (distclean-multi): Fix.
6582 * Makefile.in: Regenerate.
6584 2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
6586 * include/bits/locale_facets.h (messages): Move ctor, dtor
6588 (__timepunct): Same.
6589 * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
6590 definitions. Conditionalize for GNU systems.
6591 * config/locale/generic/messages_members.h (messages): Add dtor, ctor
6593 * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
6594 definitions. Conditionalize for GNU systems.
6595 * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
6597 * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
6598 * src/locale.cc: Define.
6599 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
6601 * config/locale/gnu/time_members.h: Use it.
6602 * config/locale/gnu/messages_members.h: Use it.
6603 * config/linker-map.gnu: Add locale::facets details.
6604 * include/Makefile.am (target_headers_extra): Add time_members.h.
6605 * include/Makefile.in: Regenerate.
6606 * acinclude.m4: Export CTIME_H.
6607 * aclocal.m4: Regenerate.
6608 * configure: Regnerate.
6610 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
6613 (codecvt<char, char, mbstate_t>::do_in, do_out):
6614 Tweak parameters to avoid unused parameter warnings.
6616 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
6619 * include/bits/locale_facets.cc (num_put::_M_convert_float):
6620 Limit __prec to digits10 + 2, not digits10 + 1, taking into
6621 account the possibility of %{g,G} conversion specifiers
6622 inside _S_format_float.
6623 * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
6625 2003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6627 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
6628 libstdc++-v3-list-sourcefiles): Additionally handle files one
6629 level deeper in glob patterns.
6631 * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
6632 * testsuite/27_io/istream_extractor_arith/01.cc,
6633 testsuite/27_io/istream_extractor_arith/02.cc,
6634 testsuite/27_io/istream_extractor_arith/03.cc,
6635 testsuite/27_io/istream_extractor_arith/06.cc,
6636 testsuite/27_io/istream_extractor_arith/07.cc,
6637 testsuite/27_io/istream_extractor_arith/08.cc,
6638 testsuite/27_io/istream_extractor_arith/09.cc,
6639 testsuite/27_io/istream_extractor_arith/10.cc,
6640 testsuite/27_io/istream_extractor_arith/11.cc,
6641 testsuite/27_io/istream_extractor_arith/12.cc,
6642 testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
6643 * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
6646 2003-01-05 Paolo Carlini <pcarlini@unitus.it>
6650 (codecvt<char, char, mbstate_t>::do_in, do_out):
6651 Implement the resolution of DR19 (TC).
6652 * testsuite/22_locale/codecvt_members_char_char.cc
6655 2003-01-02 Jason Merrill <jason@redhat.com>
6657 * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
6658 *__mem is also an output.
6659 * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.