1 2003-10-20 Benjamin Kosnik <bkoz@redhat.com>
4 * testsuite_hooks.h: Add pod_type, ctype and numpunct specializations.
5 * testsuite_hooks.cc: Same.
6 * 22_locale/numpunct/members/pod/1.cc: Edit.
7 * 22_locale/numpunct/members/pod/2.cc: Same.
8 * 27_io/basic_istream/sentry/char/3983-fstream.cc: Move ...
9 * 27_io/basic_istream/sentry/char/3983-sstream.cc: Move ...
10 * 27_io/basic_istream/extractors_arithmetic/pod/3983-1.cc: Here.
11 * 27_io/basic_istream/extractors_character/pod/3983-2.cc: Here.
12 * 27_io/basic_istream/extractors_other/pod/3983-3.cc: Here.
13 * 27_io/basic_ostream/sentry/char/3983-fstream.cc: Remove.
14 * 27_io/basic_ostream/sentry/char/3983-sstream.cc: Remove.
15 * 27_io/basic_istream/sentry/pod/1.cc: New.
16 * 27_io/basic_ostream/sentry/pod/1.cc: New.
17 * 21_strings/basic_string/inserters_extractors/pod/10081-in.cc: New.
18 * 21_strings/basic_string/inserters_extractors/pod/10081-out.cc: New.
20 2003-10-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
22 * config/cpu/mips/atomicity.h (__atomic_add): Use _ABIO32 instead
23 of external _MIPS_SIM_ABI32.
25 2003-10-20 Phil Edwards <phil@codesourcery.com>
27 * configure.ac: Fix comment typo.
28 * configure.host: Add vxworks to host_os switch.
29 * crossconfig.m4: Remove old commented os_include_dir variables
30 left over from autotools transition.
31 (*-vxworks): New stanza.
32 (*-windiss): Add missing symbols.
33 * configure: Regenerate.
34 * config/os/vxworks/ctype_base.h, config/os/vxworks/ctype_inline.h,
35 config/os/vxworks/ctype_noninline.h, config/os/vxworks/os_defines.h:
37 * config/os/windiss/os_defines.h: Define __C9X__.
39 2003-10-19 David Edelsohn <edelsohn@gnu.org>
42 * configure.host (aix4,aix*): Define os_include_dir to os/generic.
44 2003-10-18 Andreas Tobler <a.tobler@schweiz.ch>
46 * src/locale.cc (locale::_S_initialize): Re-apply workaround a
47 confusion of the use of the gthr API when __gthread_active_p()
50 2003-10-17 Benjamin Kosnik <bkoz@redhat.com>
52 * src/Makefile.am: Add new files.
53 * src/Makefile.in: Regenerate.
54 * src/globals.cc: Split into..
55 * src/globals_io.cc: New.
56 * src/globals_locale.cc: New.
57 * src/ios.cc: Split into...
58 * src/ios_init.cc: New.
59 * src/ios_locale.cc: New.
60 * src/locale-inst.cc: Split into..
61 * src/wlocale-inst.cc: New.
62 * src/locale-misc-inst.cc: New.
63 * src/locale.cc, src/localename: Split into...
64 * src/locale_facets.cc: New.
65 * src/locale_init.cc: New.
66 * src/wstring-inst.cc: Add copyright info.
68 2003-10-16 Petur Runolfsson <peturr02@ru.is>
73 * config/io/basic_file_stdio.cc (__basic_file::seekoff):
74 Change return value from streampos to streamoff.
75 (__basic_file::seekpos): Delete.
76 * config/io/basic_file_stdio.h: Same.
77 * config/io/c_io_stdio.h: Remove streamoff and wstreamsize typedefs.
78 * include/Makefile.am (bits_headers): Add bits/postypes.h.
79 * include/bits/char_traits.h: Include bits/postypes.h instead of
81 * include/bits/fstream.tcc (basic_filebuf::open,
82 basic_filebuf::pbackfail): Don't use < or >= to compare pos_type
83 values, use == and != instead.
84 (basic_filebuf::_M_seek): Use explicit conversion from streamoff
86 (basic_filebuf::imbue): Don't use ! on pos_type values, use
87 == instead. Don't use __check_facet(_M_codecvt) unless is_open().
88 * include/bits/postypes.h: New file.
89 Add __streamoff_base_type typedef, streamsize.
90 (streamoff, streampos, wstreampos): Define typedefs, with
91 streamoff defined as...
92 (streamoff): New class. Document implementation defined
94 (fpos): New implementation. Document implementation defined
96 * include/bits/sstream.tcc (basic_stringbuf::seekpos): Use
97 explicit conversion from pos_type to off_type.
98 * include/std/std_iosfwd.h: Include bits/postypes.h instead
100 * testsuite/27_io/basic_filebuf/seekoff/char/11543.cc: New test.
101 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc: New test.
102 * testsuite/27_io/fpos/11450.cc: New test.
103 * testsuite/27_io/fpos/mbstate_t/12065.cc: New test.
104 * testsuite/27_io/fpos/mbstate_t/4_neg.cc: New test.
105 * testsuite/27_io/types/3.cc: New test.
107 2003-10-16 Benjamin Kosnik <bkoz@redhat.com>
109 * configure.host: Remove fpos_include_dir.
110 * configure.ac: Remove FPOS_INC_SRCDIR.
111 * configure: Regenerate.
112 * acinclude.m4 (GLIBCXX_ENABLE_CSTDIO): Remove FPOS_H.
113 * aclocal.m4: Regenerate.
114 * include/Makefile.am (host_headers): Remove fpos.h.
115 (bits_headers): Add postypes.h.
116 * include/Makefile.in: Regenerate.
117 * config/os/gnu-linux/fposh: Remove.
118 * config/os/generic/fpos.h: Remove.
120 * testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Fixup.
121 * testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Same.
122 * testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Same.
123 * testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Same.
124 * testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Same.
125 * testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Same.
126 * testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc: Same.
127 * testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc: Same.
128 * testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Same.
129 * testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc: Same.
130 * testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc: Same.
131 * testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc: Same.
132 * testsuite/27_io/basic_istream/seekg/char/2.cc: Same.
133 * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Same.
134 * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Same.
135 * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
136 * testsuite/27_io/objects/char/10.cc: Same.
138 2003-10-16 Paolo Carlini <pcarlini@suse.de>
140 * src/locale.cc (locale::locale(const char*)): ... one
141 more comparison missed in the previous commit.
143 2003-10-16 Benjamin Kosnik <bkoz@redhat.com>
145 * acconfig.h: Add HAVE_DRAND48.
146 * crossconfig.m4: Remove ISATTY.
147 * aclocal.m4: Regenerated.
148 * config.h.in: Regenerated.
149 * configure: Regenerated.
151 2003-10-16 Bernardo Innocenti <bernie@develer.com>
153 * config/cpu/m68k/atomicity.h (__exchange_and_add): Use TAS on
154 __mcf5400__. Don't rely on __mc68000__ to detect a bare 68000.
155 Document SMP safeness of asm macros.
157 2003-10-16 Paolo Carlini <pcarlini@suse.de>
159 * src/locale.cc (locale::locale(const char*)): Tweak
160 a couple of comparisons to use basic_string operators.
162 2003-10-16 Paolo Carlini <pcarlini@suse.de>
165 * config/locale/gnu/monetary_members.cc
166 (moneypunct<wchar_t, true/false>::_M_initialize_moneypunct):
167 Don't leak memory if new throws.
168 * src/locale.cc (locale::locale(const char*)): In order not
169 to leak memory in case new throws, use a basic_string type
170 for __res too and avoid strdup.
172 2003-10-14 Jeff Bailey <jbailey@nisa.net>
175 * crossconfig.m4: Share the config between *-linux* and *-gnu*.
176 * configure: Regenerate.
178 2003-10-14 Carlo Wood <carlo@alinoe.com>
181 * include/bits/demangle.h (session<Allocator>::
182 decode_unqualified_name(string_type& output)): Fail on a
183 <operator-name> when decoding <template-argument>.
184 * testsuite/demangle/regression/cw-15.cc: New.
186 2003-10-14 Paolo Carlini <pcarlini@unitus.it>
189 * include/bits/stl_algo.h (unique): Fix.
190 * testsuite/25_algorithms/unique.cc: Move to unique/1.cc.
191 * testsuite/25_algorithms/unique/11480.cc: New, from the PR.
192 * testsuite/25_algorithms/unique/2.cc: New.
194 2003-10-14 Paolo Carlini <pcarlini@unitus.it>
196 * src/localename.cc (_M_replace_categories, M_replace_facet):
197 Const-ify a couple of variables.
199 2003-10-14 Petur Runolfsson <peturr02@ru.is>
200 Andreas Tobler <a.tobler@schweiz.ch>
202 * src/locale.cc (locale::_S_initialize): Workaround a confusion
203 of the use of the gthr API when __gthread_active_p() returns true.
205 2003-10-12 Petur Runolfsson <peturr02@ru.is>
206 Paolo Carlini <pcarlini@unitus.it>
209 * src/strstream.cc (pbackfail): Fix to use to_int_type.
210 * testsuite/backward/11460.cc: New, from the PR.
212 2003-10-12 Paolo Carlini <pcarlini@unitus.it>
214 * config/locale/ieee_1003.1-2001/codecvt_specializations.h:
215 Change #ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS to a comment.
216 * include/bits/basic_string.tcc: Likewise.
217 * include/bits/ios_base.h: Likewise.
218 * include/bits/istream.tcc: Likewise.
219 * include/bits/locale_facets.tcc: Likewise.
220 * include/bits/ostream.tcc: Likewise.
221 * include/bits/stl_function.h: Likewise.
222 * include/bits/stl_multiset.h: Likewise.
223 * include/bits/stl_pair.h: Likewise.
224 * include/bits/stl_set.h: Likewise.
225 * include/bits/streambuf_iterator.h
226 * include/std/std_iosfwd.h: Likewise.
227 * include/std/std_istream.h: Likewise.
228 * include/std/std_sstream.h: Likewise.
229 * include/std/std_streambuf.h: Likewise.
230 * src/ios.cc: Likewise.
231 * include/bits/c++config:
232 Comment out #define _GLIBCXX_RESOLVE_LIB_DEFECTS 1.
233 * testsuite/27_io/ios_base/cons/assign_neg.cc: Tweak a
234 dg-error directive due to removal of a blank line.
235 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
237 2003-10-12 Andreas Tobler <a.tobler@schweiz.ch>
238 Paolo Carlini <pcarlini@unitus.it>
240 PR libstdc++/11844/11740 (cont)
241 * config/os/generic/ctype_inline.h (ctype<char>::is):
242 Generically, use a bitmasksize of 15 (instead of 10);
243 Fix the logic to actually return (M & m) != 0 as per
246 2003-10-11 Bernardo Innocenti <bernie@develer.com>
248 * crossconfig.m4 (*-uclinux*): New target.
249 * configure: Regenerate.
251 2003-10-10 Paolo Carlini <pcarlini@unitus.it>
253 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT))
254 Avoid unnecessarily calling __builtin_alloca and dealing
255 explicitly with width() smaller than zero.
256 (operator<<(basic_ostream&, char), operator<<(basic_ostream&,
257 const _CharT*), operator<<(basic_ostream<_CharT, _Traits>&,
258 const char*), operator<<(basic_ostream<char, _Traits>&,
259 const char*), operator<<(basic_ostream, const basic_string&)):
262 2003-10-09 Benjamin Kosnik <bkoz@redhat.com>
264 * config/linker-map.gnu: Make more *_type_info bits visible.
265 Move new/delete bits back into GLIBCXX space.
267 * include/bits/locale_classes.h: Move _M_id out of line, so that
268 locale::id::_S_highwater can be removed from the export list.
269 * src/locale.cc (locale::id::_M_id): Define.
271 2003-10-09 Andreas Tobler <a.tobler@schweiz.ch>
273 * testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_64 for
276 2003-10-09 Paolo Carlini <pcarlini@unitus.it>
279 * config/os/aix/ctype_base.h: Fix 'alnum' and 'graph'
280 to conform to the requirements of 22.2.1.
281 * config/os/bsd/freebsd/ctype_base.h: Likewise.
282 * config/os/djgpp/ctype_base.h: Likewise.
283 * config/os/generic/ctype_base.h: Likewise.
284 * config/os/gnu-linux/ctype_base.h: Likewise.
285 * config/os/hpux/ctype_base.h: Likewise.
286 * config/os/irix/irix6.5/ctype_base.h: Likewise.
287 * config/os/solaris/solaris2.6/ctype_base.h: Likewise.
288 * config/os/solaris/solaris2.7/ctype_base.h: Likewise.
289 * testsuite/22_locale/ctype/11844.cc: New.
291 * config/locale/generic/ctype_members.cc (do_is):
292 Generically, use a bitmasksize of 15 (instead of 10), since
293 we don't know the numerical encoding of the various categories
294 in the underlying /usr/include/ctype.h.
296 2003-10-09 Benjamin Kosnik <bkoz@redhat.com>
298 * src/string-inst.cc: Prune.
299 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
300 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
302 2003-10-09 Petur Runolfsson <peturr02@ru.is>
304 * src/io-inst.cc: Don't include iostream.
305 * include/bits/ios_base.h (ios_base::failure): Use string.
306 * src/Makefile.am: Add ios_failure.cc.
307 * src/Makefile.in: Regenerate.
308 * src/ios.cc: Move ios_base::failure definitions to...
309 * src/ios_failure.cc: ...here. New.
311 2003-10-09 Petur Runolfsson <peturr02@ru.is>
314 * include/bits/fstream.tcc (basic_filebuf::seekoff):
315 Move code needed for both seekoff and seekpos...
316 (basic_filebuf::_M_seek): ...here. New function.
317 (basic_filebuf::seekpos): Don't call seekoff, call _M_seek.
318 * include/std/std_fstream.h (basic_filebuf::_M_seek): Declare it.
319 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: New test.
321 * testsuite/22_locale/locale/cons/12438.cc: Increase memory limit.
323 2003-10-08 Paolo Carlini <pcarlini@unitus.it>
325 * include/bits/locale_facets.tcc: More minor cosmetic
326 changes and const-ifications of some variables.
328 2003-10-07 Paolo Carlini <pcarlini@unitus.it>
330 * include/bits/locale_facets.tcc: Minor cosmetic changes
331 and const-ifications of some variables.
333 * include/bits/locale_facets.tcc
334 (money_get::do_get(..., string_type&)): Simplify an if-else.
336 2003-10-06 Paolo Carlini <pcarlini@unitus.it>
339 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is):
340 Fix to actually return (M & m) != 0 as per 22.2.1.1.2.
341 * config/locale/generic/ctype_members.cc: Same.
342 * testsuite/22_locale/ctype/is/wchar_t/11740.cc: New.
344 2003-10-06 Paolo Carlini <pcarlini@unitus.it>
346 * include/bits/locale_facets.tcc (__pad<>::_S_pad):
347 Improve performance-wise: avoid one traits::copy, avoid
348 the __builtin_alloca, streamline.
350 2003-10-05 Paolo Carlini <pcarlini@unitus.it>
352 * include/bits/locale_facets.tcc
353 (num_put::do_put(..., bool)): Prefer ?: to if-else.
354 (time_get::_M_extract_name): Qualify min with std::.
355 (__pad<>::_S_pad): Constify two variables; simplify an
356 if-else statement factoring out some code.
358 * include/bits/locale_facets.tcc: Minor cosmetic changes.
360 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
362 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
363 Constify a couple of variables.
364 (num_get::do_get(..., bool&)): Constify __c; prefer *__beg,
367 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
368 Petur Runolfsson <peturr02@ru.is>
370 * include/ext/stdio_sync_filebuf.h: Don't include the whole
371 <fstream>, only <streambuf> and <cstdio>.
373 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
376 * include/bits/fstream.tcc (imbue): In case a codecvt facet
377 is not available, set _M_codecvt = 0.
378 * testsuite/27_io/basic_filebuf/imbue/12206.cc: New.
380 2003-10-02 Harald Boehme <boehme@informatik.hu-berlin.de>
383 * libsupc++/cxxabi.h: Move forward declaration of __class_type_info.
385 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
387 * include/bits/locale_classes.h (locale::facet::_S_get_c_name): Add.
388 * src/locale.cc: Define.
389 * src/localename.cc: Use it.
390 * config/locale/generic/time_members.h: Same.
391 * config/locale/gnu/messages_members.h: Same.
392 * config/locale/gnu/time_members.h: Same.
394 2003-10-02 Paolo Carlini <pcarlini@unitus.it>
397 * include/bits/fstream.tcc (seekoff): Ignore the openmode
399 * config/io/basic_file_stdio.h (__basic_file<char>::seekoff,
400 seekpos): Remove the openmode argument.
401 * config/io/basic_file_stdio.cc (__basic_file<char>::seekoff,
402 seekpos): Remove redundant placeholder for the openmode argument.
403 * testsuite/27_io/basic_filebuf/seekoff/char/12232.cc: New.
404 * testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Tweak.
405 * testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Likewise.
406 * testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Likewise.
407 * testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Likewise.
409 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
411 * src/locale.cc (locale::_S_initialize): Use __gthread_active_p.
412 (locale::facet::_S_get_c_locale): Same.
414 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
416 * config/linker-map.gnu: Export _S_get_c_locale instead of
419 2003-10-02 Petur Runolfsson <peturr02@ru.is>
421 * config/locale/generic/c_locale.cc
422 (category_names, locale::_S_categories): Const qualify.
423 * config/locale/gnu/c_locale.cc: Same.
424 * config/locale/generic/time_members.h (__timepunct::__timepunct):
425 Copy string contents before assigning to _M_name_timepunct,
426 qualify strcpy and strlen with std::.
427 * config/locale/gnu/time_members.h: Same.
428 * config/locale/gnu/messages_members.h (messages::messages):
429 Copy string contents before assigning to _M_name_messages,
430 qualify strcpy and strlen with std::.
431 * config/os/gnu-linux/ctype_noninline.h
432 (ctype<char>::classic_table()): Don't call locale::classic().
433 * include/bits/locale_classes.h
434 (locale::_S_categories): Const qualify.
435 (locale::_S_once, locale::_S_initialize_once,
436 locale::facet::_S_once, locale::facet::_S_initialize_once,
437 locale::facet::_S_get_c_locale): Declare.
438 (locale::_S_initialize): Don't define.
439 (locale::facet::_S_c_locale): Make private.
440 (locale::facet::_S_c_name): Same, const qualify.
441 (locale::_Impl::_Impl(facet**, size_t, bool)): Drop unused
442 parameters, add throw() specifier.
443 * include/bits/locale_facets.h (__timepunct::_M_name_timepunct,
444 messages::_M_name_messages): Const qualify.
446 (locale::_S_once, locale::facet::_S_once): Define.
447 (locale::classic): Move initialization code...
448 (locale::_S_initialize_once): ...here.
449 (locale::_S_initialize): Call _S_initialize_once through
451 (locale::facet::_S_initialize_once): Initialize _S_c_locale.
452 (locale::facet::_S_get_c_locale): Call _S_initialize_once through
453 __gthread_once before returning _S_c_locale.
454 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool)):
455 Drop unused parameters, add throw() specifier, don't initialize
456 locale::facet::_S_c_locale and _S_c_name.
458 * config/locale/generic/messages_members.h:
459 Replace _S_c_locale with _S_get_c_locale().
460 * config/locale/gnu/c_locale.cc: Same.
461 * config/locale/gnu/messages_members.h: Same.
462 * config/locale/gnu/numeric_members.cc: Same.
463 * config/locale/gnu/time_members.cc: Same.
464 * config/os/gnu-linux/ctype_noninline.h: Same.
465 * include/bits/locale_facets.h: Same.
466 * include/bits/locale_facets.tcc: Same.
467 * src/codecvt.cc: Same.
468 * src/ctype.cc: Same.
470 2003-10-02 Carlo Wood <carlo@alinoe.com>
472 * include/bits/demangle.h (demangle<Allocator>::symbol(char const*)):
473 Decode symbols that start with _GLOBAL_[ID]_ differently: the
474 trailing part ends with a terminating zero and is not necessarily an
476 * src/demangle.cc (): Same.
477 * testsuite/demangle/regression/cw-13.cc: Adjust for new output.
479 2003-10-02 Paolo Carlini <pcarlini@unitus.it>
481 * testsuite/22_locale/locale/cons/12438.cc: Use
482 __gnu_test::try_named_locale("").
484 2003-10-01 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
486 * linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_0): Define.
487 (GLIBCXX_CHECK_STDLIB_SUPPORT): Use it to test for lrand48
489 * acconfig.h (HAVE_DRAND48): Renamed to HAVE_LRAND48.
490 * crossconfig.m4 (*-freebsd*): Define HAVE_LRAND48 instead of
492 * config.h.in, configure: Regenerate.
493 * include/bits/stl_algo.h: Use _GLIBCXX_HAVE_LRAND48 to guard
496 2003-10-01 Nathan Myers <ncm@cantrip.org>
498 * include/bits/locale_facets.tcc (time_put::put): Avoid
499 expensive *__s++, in favor of *__s, ++__s.
501 2003-10-01 Paolo Carlini <pcarlini@unitus.it>
503 * include/bits/locale_facets.tcc (time_put::put): Minor
504 tweak to the previous commit.
506 2003-10-01 Paolo Carlini <pcarlini@unitus.it>
509 * include/bits/locale_facets.tcc (time_put::put): Deal
510 with the three issues pointed out by the PR.
511 * testsuite/22_locale/time_put/put/char/12439_1.cc: New.
512 * testsuite/22_locale/time_put/put/char/12439_3.cc: New.
513 * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: New.
514 * testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: New.
515 * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: New.
517 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
519 * include/bits/stl_algo.h: Minor cosmetic reformattings.
521 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
523 * include/bits/stl_algo.h (search_n): Tweak, to spare the
526 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
528 * testsuite/22_locale/locale/cons/12352.cc: Explicitly
529 qualify exception name.
531 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
534 * include/bits/locale_facets.tcc (locale::combine): Don't
535 leak memory if _M_replace_facet throws.
536 * testsuite/22_locale/locale/cons/12438.cc: New, from the PR.
538 * include/bits/locale_classes.h (locale::locale(const locale&,
539 _Facet*)): Tweak, use consistently _M_remove_reference.
541 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
543 PR libstdc++/12352 (cont)
544 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
545 Don't leak __cloc; don't leak if any of the _M_init_facet(...)
547 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak.
548 (locale::_Impl::~_Impl): Don't do anything if !_M_facets,
549 !_M_caches, !_M_names.
551 2003-09-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
553 * configure.host: Handle Solaris 2.5 micro releases explicitly.
554 Remove wildcards from Solaris 2.6, 7-9: there were no
556 Treat Solaris 10 and up like 7-9.
558 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
560 * include/bits/stl_algo.h (search_n): Improve the previous
561 fix as suggested by Martin.
563 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
566 * include/bits/istream.tcc (peek): Set eofbit if sgetc
568 * testsuite/27_io/basic_istream/peek/char/12296.cc:
571 2003-09-29 Nathan Myers <ncm@cantrip.org>
572 Paolo Carlini <pcarlini@unitus.it>
575 * include/bits/stl_algo.h (search_n):
576 Use iterator_traits<>::difference_type for __n.
577 * testsuite/25_algorithms/search_n/11400.cc: New, from the PR.
579 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
581 * testsuite/22_locale/locale/cons/12352.cc:
582 Use __attribute__((unused)) for test.
584 2003-09-26 Ulrich Weigand <uweigand@de.ibm.com>
586 * testsuite/22_locale/time_put/put/char/2.cc (test_02): Allow either
587 "Son" or "So" as abbreviated name for Sunday in de_DE locale.
588 * testsuite/22_locale/time_put/put/wchar_t/2.cc (test_02): Likewise.
590 2003-09-26 Brad Spencer <spencer@infointeractive.com>
592 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc:
593 Explicitly qualify exceptions.
594 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Same.
595 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
596 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
597 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
599 2003-09-25 Paolo Carlini <pcarlini@unitus.it>
602 * src/localename.cc (locale::_Impl::_Impl(const _Impl&,
603 size_t)): Don't leak if memory allocations for _M_facets,
604 _M_caches, and _M_names fail.
605 (locale::_Impl::_Impl(const char*, size_t)): Ditto.
606 (locale::_Impl::_M_replace_categories(const _Impl*,
608 (locale::_Impl::_M_install_facet(const locale::id*,
609 const facet*)): Ditto.
610 * include/bits/locale_classes.h (locale::locale(const locale&,
611 _Facet*)): Don't leak memory.
612 * testsuite/22_locale/locale/cons/12352.cc: New, from the PR.
614 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t,
615 bool)): Qualify with std:: strcpy, tweak.
616 * include/bits/locale_classes.h
617 (locale::_Impl::_M_check_same_name): Qualify strcmp.
619 2003-09-25 Brad Spencer <spencer@infointeractive.com>
622 * acinclude.m4: Split out checks for vfwscanf, vswscanf, vwscanf,
624 * aclocal.m4: Regenerate.
625 * config.h.in: Regenerate.
626 * configure: Regenerate.
627 * crossconfig.m4: Add in wchar_t bits for solaris crosses.
628 * config/io/basic_file_stdio.cc: Guard unistd.h.
629 * include/c_compatibility/wchar.h: Guard extra wchar_t functionality.
630 * include/c_std/std_cwchar.h: Same.
631 * include/c_std/std_cwctype.h: Same.
633 2003-09-25 Benjamin Kosnik <bkoz@redhat.com>
636 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): Fix.
637 * config/locale/generic/ctype_members.cc: Same.
638 * testsuite/22_locale/ctype/is/char/1.cc: Initialize mask.
639 * testsuite/22_locale/ctype/is/wchar_t/1.cc: Same.
641 * config/os/generic/ctype_inline.h: Update.
643 2003-09-25 Ulrich Weigand <uweigand@de.ibm.com>
645 * src/Makefile.am (version_dep): New variable.
646 (libstdc___la_DEPENDENCIES): Use it to add dependency on
647 libstdc++-symbol.ver only when using symbol versioning.
648 * src/Makefile.in: Regenerate.
650 2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
652 * include/bits/locale_facets.tcc: Tweak to avoid warnings.
653 * testsuite/testsuite_hooks.h: Same.
654 * testsuite/*/*.cc: Same.
656 2003-09-22 Petur Runolfsson <peturr02@ru.is>
658 * include/bits/istream.tcc (basic_istream::read,
659 basic_istream::readsome, basic_istream::putback,
660 basic_istream::unget, operator>>(basic_istream, CharT)):
661 Avoid redundant setstate(failbit) calls when sentry::operator bool()
664 2003-09-22 Carlo Wood <carlo@alinoe.com>
667 * include/bits/demangle.h (qualifier(int, cv_qualifier_nt,
668 char const*, int, int)): Remove unused identifier
669 cv_qualifier for overloaded constructor.
671 2003-09-18 Benjamin Kosnik <bkoz@redhat.com>
674 * acinclude.m4 (GLIBCXX_EXPORT_FLAGS): Add -Wcast-qual to
675 WARN_FLAGS, remove -Wno-format.
676 * aclocal.m4: Regenerate.
677 * configure: Regenerate.
679 2003-09-18 Petur Runolfsson <peturr02@ru.is>
681 * config/io/basic_file_stdio.cc (sys_getc, sys_ungetc): Delete.
682 * config/io/basic_file_stdio.h: Same.
683 * include/std/std_fstream.h (__ctype_type): Delete.
684 * include/std/std_streambuf.h (__ctype_type, __state_type): Delete.
686 2003-09-17 Benjamin Kosnik <bkoz@redhat.com>
689 * configure.host (abi_baseline_pair): Error out on solaris2
690 configurations without a minor version number.
692 2003-09-13 Phil Edwards <phil@codesourcery.com>
694 * docs/doxygen/run_doxygen: Clear GENERATE_TAGFILE entirely
696 * docs/doxygen/user.cfg.in: And here.
698 2003-09-10 Daniel Jacobowitz <drow@mvista.com>
699 Andreas Jaeger <aj@suse.de>
702 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't build
703 abi_check if cross compiling.
704 * aclocal.m4: Regenerated.
705 * configure: Regenerated.
707 2003-09-10 Jeffrey D. Oldham <oldham@codesourcery.com>
709 * libsupc++/vec.cc (__cxa_vec_new2): If the allocator returns
710 NULL, return NULL. This reflects a C++ ABI change 2003 Sep 05.
711 (__cxa_vec_new3): Likewise.
713 2003-09-10 Petur Runolfsson <peturr02@ru.is>
715 * include/bits/fstream.tcc (basic_filebuf::seekoff):
716 Use codecvt::length to handle variable-width stateless encodings
718 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: New test.
719 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: New test.
721 2003-09-10 Alan Modra <amodra@bigpond.net.au>
723 * config/io/basic_file_stdio.cc (_M_open_mode): Assign __p_mode
726 2003-09-09 Alan Modra <amodra@bigpond.net.au>
728 * configure: Regenerate.
730 2003-09-09 David Edelsohn <edelsohn@gnu.org>
732 * src/ios.cc (ios_base::Init::Init): Remove unnecessary
733 qualifier from _S_synced_with_stdio.
735 2003-09-09 Bernardo Innocenti <bernie@develer.com>
737 * include/c_std/std_cstdlib.h: Avoid using missing C library symbols.
739 2003-09-04 Petur Runolfsson <peturr02@ru.is>
742 * include/bits/fstream.tcc
743 (basic_filebuf::_M_destroy_internal_buffer): Destroy _M_ext_buf.
744 (basic_filebuf::basic_filebuf): Initialize _M_ext_buf,
745 _M_ext_buf_size, _M_ext_next and _M_ext_end.
746 (basic_filebuf::underflow): Handle variable-width stateless
747 encodings (codecvt::encoding() == 0), including UTF-8.
748 * include/std/std_fstream.h (basic_filebuf):
749 Declare _M_ext_buf, _M_ext_buf_size, _M_ext_next, _M_ext_end.
750 * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: New test.
751 * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: New test.
752 * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: New test.
753 * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: New test.
754 * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: New test.
755 * testsuite/27_io/objects/wchar_t/12.cc: New test.
756 * testsuite/27_io/objects/wchar_t/13.cc: New test.
758 2003-09-04 Jonathan Wakely <redi@gcc.gnu.org>
760 * docs/html/faq/index.html: Note that a namespace alias can't be
761 used when specialising templates in extension namespace.
762 * docs/html/faq/index.txt: Regenerate.
764 2003-09-03 Petur Runolfsson <peturr02@ru.is>
767 * include/ext/stdio_sync_filebuf.h
768 (stdio_sync_filebuf::_M_unget_buf): Declare it.
769 (stdio_sync_filebuf::stdio_sync_filebuf): Initialize _M_unget_buf.
770 (stdio_sync_filebuf::uflow): Store the returned character in
772 (stdio_sync_filebuf::pbackfail): If argument is eof(), pass
773 _M_unget_buf to syncungetc(). Set _M_unget_buf to eof().
774 (stdio_sync_filebuf<char>::xsgetn): Store last read character in
775 _M_unget_buf, if any, else eof().
776 (stdio_sync_filebuf<wchar_t>::xsgetn: Store last read character in
777 _M_unget_buf, if any, else eof().
778 * testsuite/27_io/objects/char/12048.cc: Rename to...
779 * testsuite/27_io/objects/char/12048-1.cc: ...this.
780 * testsuite/27_io/objects/char/12048-2.cc: New test.
781 * testsuite/27_io/objects/char/12048-3.cc: New test.
782 * testsuite/27_io/objects/char/12048-4.cc: New test.
783 * testsuite/27_io/objects/char/12048-5.cc: New test. XFAIL.
784 * testsuite/27_io/objects/wchar_t/12048-1.cc: New test.
785 * testsuite/27_io/objects/wchar_t/12048-2.cc: New test.
786 * testsuite/27_io/objects/wchar_t/12048-3.cc: New test.
787 * testsuite/27_io/objects/wchar_t/12048-4.cc: New test.
788 * testsuite/27_io/objects/wchar_t/12048-5.cc: New test. XFAIL.
789 * testsuite/ext/stdio_sync_filebuf_char.cc
790 (test02, test03, test04, test05): New tests.
791 * testsuite/ext/stdio_sync_filebuf_wchar_t.cc
792 (test02, test03, test04, test05): New tests.
794 2003-09-03 Petur Runolfsson <peturr02@ru.is>
796 * docs/html/27_io/howto.html: setbuf(0, 0) has no effect on
797 stringbuf or strstreambuf. Fix typos.
799 2003-09-02 Phil Edwards <phil@codesourcery.com>
801 * acinclude.m4 (GLIBCXX_ENABLE_HOSTED): #define _GLIBCXX_HOSTED
803 * config.h.in: Add _GLIBCXX_HOSTED.
804 * libsupc++/eh_term_handler.cc: Test it here; initialize
805 __terminate_handler to std::abort if freestanding.
806 * aclocal.m4, configure: Regenerated.
807 * docs/html/configopts.html: Document --disable-hosted-libstdcxx.
809 2003-08-29 Nathan Myers <ncm@cantrip.org>
812 * include/bits/locale_facets.tcc (__pad): delete dead code.
814 2003-08-28 Alan Modra <amodra@bigpond.net.au>
816 * configure.ac: Test $with_cross_host against $build_alias, not $build.
817 * configure: Regenerate.
819 2003-08-27 Petur Runolfsson <peturr02@ru.is>
821 * testsuite/27_io/objects/wchar_t/10.cc: Move wcout stuff...
822 * testsuite/27_io/objects/wchar_t/11.cc: ...here. New file.
824 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
826 * Makefile.am: Remove trailing whitespace. Remove needless
827 "foo = @foo@" assignments. Replace direct uses of @foo@ with $(foo).
828 * include/Makefile.am: Likewise.
829 * libmath/Makefile.am: Likewise.
830 * libsupc++/Makefile.am: Likewise.
831 * po/Makefile.am: Likewise.
832 * src/Makefile.am: Likewise.
833 * testsuite/Makefile.am: Likewise.
835 * Makefile.in, include/Makefile.in, libmath/Makefile.in,
836 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
837 testsuite/Makefile.in: Regenerated.
839 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
841 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Change quoting of
843 * aclocal.m4, configure: Regenerate.
845 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
847 * acinclude.m4: Include no-executables.m4.
848 * configure.ac: Uncomment GCC_NO_EXECUTABLES.
849 * aclocal.m4: Regenerated.
850 * configure: Regenerated.
852 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
854 * acinclude.m4: Don't call AC_ISC_POSIX.
855 * aclocal.m4: Regenerated.
856 * configure: Regenerated.
858 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
860 * acinclude.m4 (GLIBCXX_CONDITIONAL): New macro. Wrap
861 AM_CONDITIONAL. Replace all calls to AM_CONDITIONAL with this one.
862 (GLIBCXX_ENABLE_HOSTED): New macro, sets new variable is_hosted,
863 used elsewhere in this file.
864 (GLIBCXX_EVALUATE_CONDITIONALS): New macro...
865 * configure.ac: ...called here to expand all conditionals.
866 * Makefile.am: Conditionalize SUBDIRS on GLIBCXX_HOSTED.
867 * include/Makefile.am: Remove redundant gxx_include_dir assignment.
868 (install-freestanding-headers): New target, a subset of
869 install-headers. Conditionalize install-data-local on GLIBCXX_HOSTED.
871 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
872 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
873 src/Makefile.in, testsuite/Makefile.in: Regenerated.
875 2003-08-26 Phil Edwards <pme@gcc.gnu.org>
877 * docs/doxygen/run_doxygen: Shell fixes. Remove hardcoded local
878 pathnames from generated tag file.
880 2003-08-26 Phil Edwards <pme@gcc.gnu.org>
882 * Makefile.am: Add comment.
883 * acinclude.m4 (GLIBCXX_CONFIGURE): Set new glibcxx_SUBDIRS and
885 * configure.ac: Use them both here, instead of hardcoded lists.
887 * fragment.am: Add STAMP varaible.
888 * include/Makefile.am: Cosmetic whitespace cleanup. Use $(LN_S)
890 (stamp-*): Move file creation rule outside of 'if' branches to
891 ensure the stamp-* files are actually updated. Use $(STAMP).
892 * src/Makefile.am: Remove now-nonexistant variable.
893 * libsupc++/Makefile.am: Likewise. Snap the assignment chain
895 * po/Makefile.am: Include same fragment as all the others.
897 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
898 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in: Regenerated.
900 2003-08-26 Loren J. Rittle <ljrittle@acm.org>
902 * testsuite/data/cin_unget-1.txt: New.
903 * testsuite/27_io/objects/char/12048.cc: New.
905 2003-08-25 Zack Weinberg <zack@codesourcery.com>
907 * config/os/hpux/os_defines.h: Unconditionally define
908 _GLIBCXX_GTHREAD_USE_WEAK to 0.
910 2003-08-19 Geoffrey Keating <geoffk@apple.com>
912 * crossconfig.m4 (*-darwin*): Add a large and boring stanza for
913 crosses to Darwin targets.
914 * configure: Regenerate.
916 2003-08-19 Petur Runolfsson <peturr02@ru.is>
918 * include/ext/ropeimpl.h: #include <ostream> instead of <iostream>
920 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
922 * configure.ac: GCC_NO_EXECUTABLES was supposed to be commented
923 in the patch from 3 minutes ago. Boy, is my face red.
924 * configure: At least I remembered to regenerate this.
926 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
928 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Remove LIBMATH_INCLUDES
929 and LIBSUPCXX_INCLUDES. Re-purpose TOPLEVEL_INCLUDES to refer to
930 things from the top level.
931 * configure.ac (GLIBCXX_IS_NATIVE): Determine earlier and re-order.
932 Comment out the conditionals for CANADIAN and GLIBCXX_BUILD_LIBMATH
933 (currently unused). Strip the fake-VPATH shell fragment from
934 automake-generated rules, if present.
935 * linkage.m4: Add comment.
937 * fragment.am: New file, containing factored-out common settings.
938 (AM_CPPFLAGS): Absorb the deprecated INCLUDES variable contents.
939 * Makefile.am: Include fragment.am. Remove common variables.
940 * include/Makefile.am: Likewise.
941 * libmath/Makefile.am: Likewise.
942 * libsupc++/Makefile.am: Likewise.
943 * po/Makefile.am: Likewise. Print rules during check.
944 * src/Makefile.am: Likewise.
945 * testsuite/Makefile.am: Likewise.
947 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
948 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
949 src/Makefile.in, testsuite/Makefile.in: Regenerate.
951 2003-08-11 John Levon <levon@movementarian.org>
953 * docs/html/ext/howto/guide.html (GLIBCXX_FORCE_NEW): Update
954 remaining places for the name change from GLIBCPP_FORCE_NEW
957 2003-08-11 Benjamin Kosnik <bkoz@redhat.com>
959 * include/bits/basic_ios.h: Remove *_iter typedefs, change num*
961 * include/bits/basic_ios.tcc: Same.
962 * include/bits/istream.tcc: Same.
963 * include/bits/locale_facets.h: Same.
964 * include/bits/ostream.tcc: Same.
965 * include/std/std_istream.h: Same.
966 * include/std/std_ostream.h: Same.
967 * testsuite/26_numerics/complex_inserters_extractors.cc: Fix.
969 * include/ext/rope: Remove build warning.
971 2003-08-11 Andreas Jaeger <aj@suse.de>
973 * include/Makefile.am (stamp-c_base): Add dependency on stamp-bits
975 * include/Makefile.in: Regenerated.
977 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
979 * acinclude.m4 (GLIBCXX_CONFIGURE): Unprecious CC and CFLAGS
980 when calling AC_PROG_CC.
981 * aclocal.m4, configure: Regenerate.
983 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
985 * acinclude.m4: Properly quote variable which will be expanded
986 inside makefiles. Use CXX instead of CC to extract compiler info.
987 * configure.ac (AC_INIT): Use the new 4-arg form to finally get the
988 correct form in PACKAGE.
989 * aclocal.m4, configure: Regenerate.
991 2003-08-08 Benjamin Kosnik <bkoz@redhat.com>
993 * testsuite/Makefile.am (check-abi): Change libstdc++-v3 to libstdc++.
994 (check-abi-verbose): Same.
995 * testsuite/testsuite_performance.h (report_performance): Same.
997 2003-08-08 Loren J. Rittle <ljrittle@acm.org>
999 * testsuite/testsuite_performance.h (__FreeBSD__): Add fake mallinfo.
1001 2003-08-07 Doug Gregor <dgregor@apple.com>
1003 * include/bits/char_traits.h (char_traits::not_eof): Match operand
1006 2003-08-07 Bernardo Innocenti <bernie@develer.com>
1009 * libstdc++-v3/config/cpu/m68k/atomicity.h (__exchange_and_add):
1010 Replace variants with new BSET-based version.
1012 2003-08-07 Carlo Wood <carlo@alinoe.com>
1014 * include/bits/demangle.h: Do not use cctype functions that depend
1017 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
1019 * configure.in: Rename...
1020 * configure.ac: ...to this.
1021 * docs/html/17_intro/porting.texi: Update name.
1023 * docs/html/17_intro/porting.html: Regenerate.
1024 * config.h.in, Makefile.in, include/Makefile.in, libmath/Makefile.in,
1025 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
1026 testsuite/Makefile.in: Regenerate (picks up new dependancy).
1028 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
1030 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Put down the crack
1031 pipe, open the window to let out the fumes, redo the option-handling
1032 logic to properly execute the detection test.
1033 * aclocal.m4, configure: Regenerate.
1035 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
1037 Convert to new autotools.
1038 * acconfig.h: Update with correct names.
1039 * configure.host (ATOMICITYH): Rename to atomicity_include_dir.
1040 (qnx6.[12]*): 'q' comes before 's', not after 'w'.
1041 * configure.in: Update. Split hardcoded cross-configury settings
1043 * crossconfig.m4: ...here. New file. Contents untouched.
1044 * acinclude.m4: Reorganize and rewrite as needed. Split large
1046 * linkage.m4: ...here. New file. Math and stdlib linkage tests.
1048 * scripts/testsuite_flags.in: Update.
1050 * Makefile.am: Remove unneeded AUTOMAKE_OPTIONS settings and other
1051 variables (already generated by automake).
1052 * include/Makefile.am: Ditto.
1053 * libmath/Makefile.am: Ditto.
1054 * libsupc++/Makefile.am: Ditto.
1055 * po/Makefile.am: Ditto.
1056 * src/Makefile.am: Ditto.
1058 * aclocal.m4: Regenerate using new versions.
1059 * config.h.in: Ditto.
1061 * Makefile.in: Ditto.
1062 * include/Makefile.in: Ditto.
1063 * libmath/Makefile.in: Ditto.
1064 * libsupc++/Makefile.in: Ditto.
1065 * po/Makefile.in: Ditto.
1066 * src/Makefile.in: Ditto.
1067 * testsuite/Makefile.in: Ditto.
1069 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
1071 * po/libstdc++.pot: Re-extract/regenerate.
1073 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
1075 * testsuite/Makefile.am (DEJATOOL,EXPECT,RUNTEST,RUNTESTFLAGS):
1076 Remove unneeded variable assignments. Leave them for automake.
1077 * testsuite/lib/libstdc++-v3.exp: Rename...
1078 * testsuite/lib/libstdc++.exp: ...to this. Adjust function names
1080 * testsuite/libstdc++-v3.dg/dg.exp: Rename...
1081 * testsuite/libstdc++-dg/normal.exp: ...to this. Adjust function
1084 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
1086 * docs/doxygen/guide.html: run_doxygen uses bash.
1087 * docs/doxygen/mainpage.html: We'll be shipping tag files.
1088 * docs/doxygen/run_doxygen: Tweaks and improvements.
1089 * docs/doxygen/user.cfg.in: Set GENERATE_TAGFILE.
1090 * docs/html/install.html: Update autoconf/automake requirements.
1091 * docs/html/test.html: Add section describing DejaGNU support.
1092 * docs/html/17_intro/confdeps.dot: New file, generates...
1093 * docs/html/17_intro/confdeps.png: ...this new file.
1094 * docs/html/Makefile: Generated here.
1095 * docs/html/17_intro/configury.html: New file.
1097 2003-07-31 Phil Edwards <pme@gcc.gnu.org>
1099 * testsuite/lib/libstdc++-v3-dg.exp: Rename...
1100 * testsuite/lib/libstdc++-v3.exp: ...to this.
1101 * testsuite/libstdc++-v3.dg/dg.exp: No special case needed now.
1103 2003-07-31 Doug Gregor <dgregor@apple.com>
1105 Add user specialization tests.
1106 * testsuite/23_containers/deque/1.cc: New.
1107 * testsuite/23_containers/list/1.cc: New.
1108 * testsuite/23_containers/map/1.cc: New.
1109 * testsuite/23_containers/multimap/1.cc: New.
1110 * testsuite/23_containers/multiset/1.cc: New.
1111 * testsuite/23_containers/set/1.cc: New.
1112 * testsuite/23_containers/vector/1.cc: New.
1114 2003-07-31 Benjamin Kosnik <bkoz@redhat.com>
1116 Reshuffle 23_containers testsuite.
1117 * 23_containers/adaptors.cc, bitset_ctor.cc,bitset_members.cc,
1118 bitset_shift.cc, deque_ctor.cc, deque_operators.cc,
1119 list_capacity.cc, list_ctor.cc, list_modifiers.cc, list_operators.cc,
1120 map_insert.cc, map_operators.cc, map_operators_neg.cc, multiset.cc,
1121 set_operators_neg.cc, vector_bool.cc, vector_capacity.cc,
1122 vector_ctor.cc, vector_element_access.cc, vector_modifiers.cc,
1123 vector_resize.cc: Split into...
1124 * 23_containers/bitset/cons/1.cc: New.
1125 * 23_containers/bitset/cons/6282.cc: New.
1126 * 23_containers/bitset/count/6124.cc: New.
1127 * 23_containers/bitset/operations/1.cc: New.
1128 * 23_containers/bitset/operations/2.cc: New.
1129 * 23_containers/bitset/test/1.cc: New.
1130 * 23_containers/bitset/to_ulong/1.cc: New.
1131 * 23_containers/deque/cons/1.cc: New.
1132 * 23_containers/deque/cons/2.cc: New.
1133 * 23_containers/deque/operators/1.cc: New.
1134 * 23_containers/list/capacity/1.cc: New.
1135 * 23_containers/list/cons/1.cc: New.
1136 * 23_containers/list/cons/2.cc: New.
1137 * 23_containers/list/cons/3.cc: New.
1138 * 23_containers/list/cons/4.cc: New.
1139 * 23_containers/list/cons/5.cc: New.
1140 * 23_containers/list/cons/6.cc: New.
1141 * 23_containers/list/cons/7.cc: New.
1142 * 23_containers/list/cons/8.cc: New.
1143 * 23_containers/list/cons/9.cc: New.
1144 * 23_containers/list/modifiers/1.cc: New.
1145 * 23_containers/list/modifiers/2.cc: New.
1146 * 23_containers/list/modifiers/3.cc: New.
1147 * 23_containers/list/operators/1.cc: New.
1148 * 23_containers/list/operators/2.cc: New.
1149 * 23_containers/list/operators/3.cc: New.
1150 * 23_containers/list/operators/4.cc: New.
1151 * 23_containers/map/insert/1.cc: New.
1152 * 23_containers/map/operators/1.cc: New.
1153 * 23_containers/map/operators/1_neg.cc: New.
1154 * 23_containers/multiset/insert/1.cc: New.
1155 * 23_containers/priority_queue/members/7161.cc: New.
1156 * 23_containers/queue/members/7157.cc: New.
1157 * 23_containers/set/operators/1_neg.cc: New.
1158 * 23_containers/stack/members/7158.cc: New.
1159 * 23_containers/vector/bool/1.cc: New.
1160 * 23_containers/vector/bool/6886.cc: New.
1161 * 23_containers/vector/capacity/1.cc: New.
1162 * 23_containers/vector/capacity/2.cc: New.
1163 * 23_containers/vector/capacity/8230.cc: New.
1164 * 23_containers/vector/cons/1.cc: New.
1165 * 23_containers/vector/cons/2.cc: New.
1166 * 23_containers/vector/cons/3.cc: New.
1167 * 23_containers/vector/cons/4.cc: New.
1168 * 23_containers/vector/cons/6513.cc: New.
1169 * 23_containers/vector/element_access/1.cc: New.
1170 * 23_containers/vector/modifiers/1.cc: New.
1171 * 23_containers/vector/modifiers/2.cc: New.
1172 * 23_containers/vector/resize/1.cc: New.
1174 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1176 * testsuite/thread/pthread1.cc: Add alpha*-*-osf* to dg-do run,
1178 * testsuite/thread/pthread2.cc: Likewise.
1179 * testsuite/thread/pthread3.cc: Likewise.
1180 * testsuite/thread/pthread4.cc: Likewise.
1181 * testsuite/thread/pthread5.cc: Likewise.
1182 * testsuite/thread/pthread6.cc: Likewise.
1183 * testsuite/thread/pthread7-rope.cc: Likewise.
1185 2003-07-30 Phil Edwards <pme@gcc.gnu.org>
1187 * include/bits/c++config: Partial reversion (comment placement) of
1190 2003-07-30 Benjamin Kosnik <bkoz@redhat.com>
1192 * include/bits/c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove.
1193 (_GLIBCXX_NO_TEMPLATE_EXPORT): To _GLIBCXX_EXPORT_TEMPLATE.
1194 (_GLIBCXX_AT_AT): Remove.
1195 (__USE_MALLOC): Remove.
1196 * include/std/std_fstream.h: Modify.
1197 * include/bits/basic_ios.h: Same.
1198 * include/bits/valarray_array.h: Same.
1199 * include/c_std/std_cmath.h: Same.
1200 * include/c_std/cmath.tcc: Same.
1201 * include/std/std_vector.h: Same.
1202 * include/std/std_string.h: Same.
1203 * include/std/std_stack.h: Same.
1204 * include/std/std_queue.h: Same.
1205 * include/std/std_list.h: Same.
1206 * include/std/std_deque.h: Same.
1207 * include/std/std_streambuf.h: Same.
1208 * include/std/std_sstream.h: Same.
1209 * include/std/std_ostream.h: Same.
1210 * include/std/std_istream.h: Same.
1211 * include/bits/valarray_array.tcc: Same, format.
1213 * include/c/std_cctype.h: Fix include guards.
1214 * include/c/std_cerrno.h: Same.
1215 * include/c/std_cfloat.h: Same.
1216 * include/c/std_climits.h: Same.
1217 * include/c/std_clocale.h: Same.
1218 * include/c/std_cmath.h: Same.
1219 * include/c/std_csetjmp.h: Same.
1220 * include/c/std_csignal.h: Same.
1221 * include/c/std_cstdarg.h: Same.
1222 * include/c/std_cstddef.h: Same.
1223 * include/c/std_cstdio.h: Same.
1224 * include/c/std_cstdlib.h: Same.
1225 * include/c/std_cstring.h: Same.
1226 * include/c/std_ctime.h: Same.
1227 * include/c/std_cwchar.h: Same.
1228 * include/c/std_cwctype.h: Same.
1229 * include/c_std/cmath.tcc: Same.
1230 * include/c_std/std_cmath.h: Same.
1232 2003-07-30 Gawain Bolton <gp.bolton@computer.org>
1235 * include/bits/stl_tree.h: Replace C-style casts with C++-style
1236 casts. Changes to avoid casting away constness. Eliminate
1237 _Rb_tree_base_iterator class. Change _Rb_tree_iterator to use
1238 initialization lists. Move out implementation of __black_count()
1240 * src/stl_tree.cc: ...here and rename _Rb_tree_black_count().
1241 Rename_Rb_tree_base_iterator::_M_increment() to
1242 _Rb_tree_increment and _Rb_tree_base_iterator::_M_decrement() to
1244 * config/linker-map.gnu: Add and change symbols here.
1246 2003-07-30 Jonathan Wakely <redi@gcc.gnu.org>
1248 * docs/html/22_locale/howto.html: Use locale::classic() instead
1251 2003-07-28 Benjamin Kosnik <bkoz@redhat.com>
1253 * testsuite/testsuite_hooks.h: Remove list include.
1254 (func_callback): Define as unique type, not std::list.
1255 Change DEBUG_ASSERT to _GLIBCXX_ASSERT.
1256 * testsuite/libstdc++-v3.dg/dg.exp: Same.
1257 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Same.
1258 * testsuite/23_containers/bitset_ctor.cc:
1259 * testsuite/17_intro/header_ciso646.cc: Remove DEBUG_ASSERT.
1260 * testsuite/18_support/numeric_limits.cc: Same.
1261 * testsuite/21_strings/basic_string/append/char/1.cc: Same.
1262 * testsuite/21_strings/basic_string/append/wchar_t/1.cc: Same.
1263 * testsuite/21_strings/basic_string/compare/char/1.cc: Same.
1264 * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Same.
1265 * testsuite/21_strings/basic_string/element_access/char/1.cc: Same.
1266 * testsuite/21_strings/basic_string/element_access/char/2.cc: Same.
1267 * testsuite/21_strings/basic_string/element_access/char/3.cc: Same.
1268 * testsuite/21_strings/basic_string/element_access/wchar_t/1.cc: Same.
1269 * testsuite/21_strings/basic_string/element_access/wchar_t/2.cc: Same.
1270 * testsuite/21_strings/basic_string/element_access/wchar_t/3.cc: Same.
1271 * testsuite/21_strings/basic_string/find/char/1.cc: Same.
1272 * testsuite/21_strings/basic_string/find/char/2.cc: Same.
1273 * testsuite/21_strings/basic_string/find/char/3.cc: Same.
1274 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Same.
1275 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Same.
1276 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Same.
1277 * testsuite/21_strings/basic_string/insert/char/1.cc: Same.
1278 * testsuite/21_strings/basic_string/insert/char/2.cc: Same.
1279 * testsuite/21_strings/basic_string/insert/wchar_t/1.cc: Same.
1280 * testsuite/21_strings/basic_string/insert/wchar_t/2.cc: Same.
1281 * testsuite/21_strings/basic_string/inserters_extractors/char/1.cc:
1282 * testsuite/21_strings/basic_string/inserters_extractors/char/4.cc:
1283 * testsuite/21_strings/basic_string/inserters_extractors/char/5.cc:
1284 * testsuite/21_strings/basic_string/inserters_extractors/char/6.cc:
1285 * testsuite/21_strings/basic_string/inserters_extractors/char/7.cc:
1286 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/1.cc:
1287 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/4.cc:
1288 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc:
1289 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/6.cc:
1290 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/7.cc:
1291 * testsuite/21_strings/basic_string/operators/char/1.cc: Same.
1292 * testsuite/21_strings/basic_string/operators/char/2.cc: Same.
1293 * testsuite/21_strings/basic_string/operators/wchar_t/1.cc: Same.
1294 * testsuite/21_strings/basic_string/operators/wchar_t/2.cc: Same.
1295 * testsuite/21_strings/basic_string/replace/char/1.cc: Same.
1296 * testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Same.
1297 * testsuite/21_strings/basic_string/rfind/char/1.cc: Same.
1298 * testsuite/21_strings/basic_string/rfind/char/2.cc: Same.
1299 * testsuite/21_strings/basic_string/rfind/char/3.cc: Same.
1300 * testsuite/21_strings/basic_string/rfind/wchar_t/1.cc: Same.
1301 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: Same.
1302 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: Same.
1303 * testsuite/21_strings/basic_string/substr/char/1.cc: Same.
1304 * testsuite/21_strings/basic_string/substr/wchar_t/1.cc: Same.
1305 * testsuite/23_containers/bitset_ctor.cc: Same.
1306 * testsuite/23_containers/bitset_shift.cc: Same.
1307 * testsuite/23_containers/vector_ctor.cc: Same.
1308 * testsuite/23_containers/vector_element_access.cc: Same.
1309 * testsuite/24_iterators/istreambuf_iterator.cc: Same.
1310 * testsuite/24_iterators/iterator.cc: Same.
1311 * testsuite/24_iterators/ostreambuf_iterator.cc: Same.
1312 * testsuite/25_algorithms/lower_bound.cc: Same.
1313 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
1314 * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: Same.
1315 * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: Same.
1316 * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: Same.
1317 * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: Same.
1318 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: Same.
1319 * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: Same.
1320 * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: Same.
1321 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: Same.
1322 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: Same.
1323 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
1326 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1328 * docs/doxygen/user.cfg.in, docs/html/abi.txt, docs/html/debug.html,
1329 docs/html/test.html, docs/html/17_intro/headers_cc.txt,
1330 docs/html/17_intro/howto.html, docs/html/ext/howto.html: Change
1331 GLIBCPP to GLIBCXX (and explain as needed).
1333 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1337 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1339 * testsuite/22_locale/messages/members/char/1.cc,
1340 testsuite/22_locale/messages/members/char/2.cc,
1341 testsuite/22_locale/messages/members/char/3.cc,
1342 testsuite/22_locale/messages_byname/1.cc: Update comment regarding
1343 the origin of LOCALEDIR.
1344 * testsuite/lib/libstdc++-v3.exp: New file.
1346 2003-07-25 Benjamin Kosnik <bkoz@redhat.com>
1348 * include/bits/char_traits.h: Update copyright, tweak.
1349 * testsuite/ext/pod_char_traits.cc: Explicitly qualify namespace
1352 2003-07-24 Matt Austern <austern@apple.com>
1354 * /include/bits/char_traits.h (class char_traits): Put all the
1355 real work into the new class template __gnu_cxx::char_traits.
1356 Gave generic definitions for member functions. Types are taken
1357 from the new class template __gnu_cxx::_Char_types.
1358 * testsuite/21_strings/char_traits/requirements/short/1.cc: New
1359 file. Test of std::char_traits<short>, which serves as a test of
1360 the char_traits primary template.
1362 2003-07-24 Benjamin Kosnik <bkoz@redhat.com>
1364 * testsuite/*: Change __gnu_cxx_test to __gnu_test.
1366 2003-07-24 Nathan Myers <ncm-nospam@cantrip.org>
1368 * testsuite/23_containers/map_operators.cc: Conform to
1369 container requirement as value must be Assignable.
1371 2003-07-23 Alexandre Oliva <aoliva@redhat.com>
1373 * acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it
1374 tests not only generation of pch files, but also their use.
1375 * aclocal.m4, configure: Rebuilt.
1377 2003-07-23 Steve Ellcey <sje@cup.hp.com>
1379 * config/cpu/hppa/atomicity.h: Change
1380 _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK to _GLIBCXX_INST_ATOMICITY_LOCK
1381 to match misc-inst.cc
1383 2003-07-23 Steve Ellcey <sje@cup.hp.com>
1385 * include/c_std/cmath.tcc: Use _GLIBCXX_ prefix on file guard.
1386 * include/c_std/std_cctype.h: Ditto.
1387 * include/c_std/std_cerrno.h: Ditto.
1388 * include/c_std/std_cfloat.h: Ditto.
1389 * include/c_std/std_climits.h: Ditto.
1390 * include/c_std/std_clocale.h: Ditto.
1391 * include/c_std/std_cmath.h: Ditto.
1392 * include/c_std/std_csetjmp.h: Ditto.
1393 * include/c_std/std_csignal.h: Ditto.
1394 * include/c_std/std_cstdarg.h: Ditto.
1395 * include/c_std/std_cstddef.h: Ditto.
1396 * include/c_std/std_cstdio.h: Ditto.
1397 * include/c_std/std_cstdlib.h: Ditto.
1398 * include/c_std/std_cstring.h: Ditto.
1399 * include/c_std/std_ctime.h: Ditto.
1400 * include/c_std/std_cwchar.h: Ditto.
1401 * include/c_std/std_cwctype.h: Ditto.
1402 * include/std/std_algorithm.h: Ditto.
1403 * include/std/std_bitset.h: Ditto.
1404 * include/std/std_complex.h: Ditto.
1405 * include/std/std_deque.h: Ditto.
1406 * include/std/std_fstream.h: Ditto.
1407 * include/std/std_functional.h: Ditto.
1408 * include/std/std_iomanip.h: Ditto.
1409 * include/std/std_ios.h: Ditto.
1410 * include/std/std_iosfwd.h: Ditto.
1411 * include/std/std_iostream.h: Ditto.
1412 * include/std/std_istream.h: Ditto.
1413 * include/std/std_iterator.h: Ditto.
1414 * include/std/std_limits.h: Ditto.
1415 * include/std/std_list.h: Ditto.
1416 * include/std/std_locale.h: Ditto.
1417 * include/std/std_map.h: Ditto.
1418 * include/std/std_memory.h: Ditto.
1419 * include/std/std_numeric.h: Ditto.
1420 * include/std/std_ostream.h: Ditto.
1421 * include/std/std_queue.h: Ditto.
1422 * include/std/std_set.h: Ditto.
1423 * include/std/std_sstream.h: Ditto.
1424 * include/std/std_stack.h: Ditto.
1425 * include/std/std_stdexcept.h: Ditto.
1426 * include/std/std_streambuf.h: Ditto.
1427 * include/std/std_string.h: Ditto.
1428 * include/std/std_utility.h: Ditto.
1429 * include/std/std_valarray.h: Ditto.
1430 * include/std/std_vector.h: Ditto.
1432 2003-07-22 Doug Gregor <dgregor@apple.com>
1434 * include/bits/basic_string.h (basic_string::insert): Deprecate
1437 2003-07-21 Benjamin Kosnik <bkoz@redhat.com>
1439 * scripts/testsuite_flags.in (--build-includes): Remove extraneous
1441 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc
1442 (test03): Include typeinfo for bad_cast.
1443 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
1444 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
1445 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
1447 2003-07-21 Doug Gregor <dgregor@apple.com>
1449 * include/bits/boost_concept_check.h:
1450 (_EqualityComparableConcept::__constraints): Remove != from the
1451 list of constraints; it is not listed in Table 28 of the C++98
1454 2003-07-18 Andreas Jaeger <aj@suse.de>
1456 * config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
1457 * config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
1458 * config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
1459 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
1461 2003-07-17 Benjamin Kosnik <bkoz@redhat.com>
1463 * config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache.
1464 * config/locale/generic/messages_members.h: Tweaks.
1465 * config/locale/generic/monetary_members.cc
1466 (moneypunct::_M_initialize_moneypunct): Use cache.
1467 (moneypunct::~moneypunct): Delete cache.
1468 * config/locale/generic/time_members.cc:
1469 (__timepunct::_M_initialize_timepunct): Use cache.
1470 * config/locale/generic/time_members.h:
1471 (__timepunct::~__timepunct): Delete cache.
1472 (__timepunct::__timepunct): Set cache.
1473 * config/locale/gnu/messages_members.h: Tweaks.
1474 * config/locale/gnu/monetary_members.cc:
1475 (moneypunct::_M_initialize_moneypunct): Use cache.
1476 (moneypunct::~moneypunct): Delete cache.
1477 * config/locale/gnu/time_members.cc:
1478 (__timepunct::_M_initialize_timepunct): Use cache.
1479 * config/locale/gnu/time_members.h:
1480 (__timepunct::~__timepunct): Delete cache.
1481 (__timepunct::__timepunct): Set cache.
1482 * include/bits/locale_facets.h (__timepunct_cache): New.
1483 (__moneypunct_cache): New.
1484 * include/bits/locale_facets.tcc: Tweak.
1485 * src/locale.cc (__timepunct::_S_timezones): Adjust for cache.
1486 * src/locale-inst.cc: Instantiate caches.
1487 * src/globals.cc: Add "C" caches.
1488 * src/localename.cc: Use external "C" caches.
1490 2003-07-17 Phil Edwards <pme@gcc.gnu.org>
1492 * docs/doxygen/guide.html: Fix typo.
1494 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
1496 * include/ext/pod_char_traits.h: Add state template argument.
1498 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
1500 * include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX.
1501 (num_get::_M_convert_int): To _M_insert_int.
1502 (num_get::_M_convert_float): To _M_insert_float.
1503 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
1504 Use caches for ctype, num_get.
1505 (num_get::_M_extract_int): Same.
1506 (num_get::get(bool)): Same.
1507 (__verify_grouping): Use size_t.
1508 * src/locale-inst.cc: Update.
1509 * src/locale.cc: Adjust _S_atoms_in.
1511 2003-07-16 Phil Edwards <pme@gcc.gnu.org>
1513 * docs/doxygen/mainpage.html: Move building/writing instructions...
1514 * docs/doxygen/guide.html: ...to here. New file.
1516 2003-07-16 Jonathan Wakely <redi@gcc.gnu.org>
1518 * docs/html/ext/howto.html: Update URL for SGI STL docs.
1519 * docs/html/faq/index.html: Same.
1520 * docs/html/faq/index.txt: Regenerate.
1522 2003-07-16 Paolo Carlini <pcarlini@unitus.it>
1525 * include/bits/locale_facets.tcc (money_get::do_get):
1526 Strip only _leading_ zeros.
1527 * testsuite/22_locale/money_get/get/char/11528.cc: Add.
1528 * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add.
1530 2003-07-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1532 * include/ext/hash_map (class hash_multimap): Remove extra
1533 semicolons from __glibcxx_class_requires3 entries.
1534 * include/ext/hash_set (class hash_set): Ditto.
1535 (class hash_multiset): Ditto.
1537 2003-07-15 Petur Runolfsson <peturr02@ru.is>
1539 * include/bits/char_traits.h (char_traits<wchar_t>::move):
1540 Change last parameter from int_type to size_t.
1542 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1544 * include/bits/stl_algo.h (includes, set_union, set_intersection,
1545 set_difference, set_symmetric_difference, max_element, min_element,
1546 next_permutation, prev_permutation, find_first_of, find_end):
1548 * include/bits/stl_algobase.h (copy,copy_backward): Clarify overlap
1549 restrictions in docs.
1550 * include/bits/stl_heap.h (push_heap, pop_heap, make_heap, sort_heap):
1552 * docs/doxygen/doxygroups.cc (setoperations): New group.
1554 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1556 * include/bits/basic_string.h: Document public functions.
1557 * docs/doxygen/TODO: Update c21 todo.
1559 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1561 * include/bits/stl_list.h: Document more functions.
1562 * docs/doxygen/TODO: Update c23 todo.
1564 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1566 * config/locale/gnu/c_locale.h (__convert_from_v): One more
1569 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1571 * include/bits/stl_tempbuf.h: Qualify free with std::.
1572 * src/locale.cc: Include <cstdlib>, qualify getenv.
1574 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1576 * config/locale/gnu/c_locale.h (__convert_from_v): Include
1577 <cstdio>. Qualify names.
1578 * config/locale/generic/c_locale.h (__convert_from_v): Ditto.
1580 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1581 Nathan C. Myers <ncm-nospam@cantrip.org>
1584 * include/std/std_fstream.h (xsputn): Declare only.
1585 * include/bits/fstream.tcc (xsputn): Define, optimize for the
1586 always_noconv() case: when __n is sufficiently large flush
1587 the buffer and issue a direct write, if possible combining the
1588 two with writev in __basic_file<>::xsputn_2.
1589 * config/io/basic_file_stdio.h (__basic_file<>::xsputn_2):
1591 * config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2):
1593 * acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for
1594 the availability of writev in <sys/uio.h>.
1595 * configure.in: Call here.
1596 * acconfig.h: Add undef for the corresponding symbol.
1597 * aclocal.m4: Regenerate.
1598 * configure: Regenerate.
1599 * config.h.in: Regenerate.
1600 * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak.
1602 * include/std/std_fstream.h (sync): Constify a variable.
1604 2003-07-14 Benjamin Kosnik <bkoz@redhat.com>
1606 * testsuite/27_io/ios_base/cons/assign_neg.cc: Fix line numbers.
1607 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1609 2003-07-14 Gabriel Dos Reis <gcc@integrable-solutions.net>
1611 * config/locale/gnu/c_locale.h (__convert_from_v): Include
1612 <cstring> and <cstdlib>. Qualify names.
1614 2003-07-13 Mark Mitchell <mark@codesourcery.com>
1616 * config/locale/generic/c_locale.h: Include <cstdlib> and
1618 * include/bits/boost_concept_check.h: Add this-> to unqualified
1620 * include/bits/deque.tcc: Likewise.
1621 * include/bits/locale_facets.h : Likewise.
1622 * include/bits/ostream.tcc: Likewise.
1623 * include/bits/stl_algo.h: Likewise.
1624 * include/bits/stl_bvector.h: Likewise.
1625 * include/bits/stl_deque.h: Likewise.
1626 * include/bits/stl_list.h: Likewise.
1627 * include/bits/stl_tree.h: Likewise.
1628 * include/bits/stl_vector.h: Likewise.
1629 * include/bits/vector.tcc: Likewise.
1630 * include/ext/rope: Likewise.
1631 * include/ext/ropeimpl.h: Likewise.
1632 * include/ext/stdio_filebuf.h: Likewise.
1634 2003-07-11 Jerry Quinn <jlquinn@optonline.net>
1636 * include/bits/basic_ios.h (copyfmt): Document.
1637 * include/bits/ios_base.h (event, event_callback, register_callback,
1638 xalloc, iword, pword): Document.
1639 (imbue, ~ios_base): Update docs on callbacks.
1641 2003-07-11 Phil Edwards <pme@gcc.gnu.org>
1643 * acinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments. Add
1644 warning messages if the environment cannot support symbol versioning.
1645 (port_specific_symbol_file): It's plural, add an 's' on the end.
1646 * configure.host: Likewise.
1647 * src/Makefile.am: Likewise.
1648 * config/linker-map.gnu: Remove one semicolon, heh.
1649 * scripts/extract_symvers: Don't assume useful 'export' syntax.
1650 Set LANG as well as LC_ALL for possibly-broken sort(1)s.
1651 * aclocal.m4, configure, src/Makefile.in: Regenerated.
1653 2003-07-09 Benjamin Kosnik <bkoz@redhat.com>
1655 * include/bits/locale_facets.tcc: Use function object for
1656 __use_cache instead of template function. Partially specialize for
1658 * include/bits/locale_classes.h: Update friend declaration for
1660 (_M_install_cache): No throw exception specs.
1661 * src/locale.cc: Remove __use_cache specializations.
1662 * include/ext/pod_char_traits.h (length): Tweak.
1663 * include/bits/locale_facets.h (__numpunct_cache): Remove
1665 * testsuite/testsuite_hooks.h (pod_unsigned_int): Remove.
1667 * testsuite/22_locale/numpunct/members/char/cache_1.cc: New.
1668 * testsuite/22_locale/numpunct/members/char/cache_2.cc: New.
1669 * testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: New.
1670 * testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: New.
1671 * testsuite/22_locale/numpunct/members/pod/1.cc: New.
1672 * testsuite/22_locale/numpunct/members/pod/2.cc: New.
1674 2003-07-09 Jerry Quinn <jlquinn@optonline.net>
1676 * src/ios.cc (_M_grow_words): Fix spelling.
1678 2003-07-09 Gawain Bolton <gp.bolton@computer.org>
1680 * include/bits/stl_tree.h: Move larger member functions in
1681 _Rb_tree_base_iterator and _Rb_tree_node to...
1682 * src/stl_tree.cc: Here.
1683 * src/Makefile.in: Add stl_tree.cc.
1684 * src/Makefile.in: Regenerated.
1685 * config/linker-map.gnu: Add symbols here.
1687 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
1689 * testsuite/ext/pod_char_traits.cc: New.
1690 * include/ext/pod_char_traits.h: New.
1691 * include/Makefile.am (ext_headers): Add pod_char_traits.h.
1692 * include/Makefile.in: Regenerate.
1693 * docs/html/21_strings/howto.html: Update.
1695 2003-07-08 Gawain Bolton <gp.bolton@computer.org>
1697 * testsuite/performance/list_create_fill_sort.cc: New.
1699 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
1701 * config/locale/generic/numeric_members.cc: Correct type info.
1702 * config/locale/gnu/numeric_members.cc: Same.
1703 * include/bits/locale_facets.h: Same.
1705 * include/bits/char_traits.h: Correct spacing.
1707 * src/locale.cc: Wrap to 80 col.
1709 2003-07-07 Paolo Carlini <pcarlini@unitus.it>
1711 * include/std/std_complex.h: Partially revert last
1712 changes: cmath functions must not be qualified.
1714 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
1716 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils
1717 2.11 with globbing backport fix.
1718 * aclocal.m4, configure: Regenerated.
1720 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
1722 * include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback:
1723 if output is at all possible (!_M_reading), cannot be active.
1725 * include/std/std_fstream.h: Tweak comments to doxygen style.
1727 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
1729 * include/bits/locale_classes.h: Fully qualify standard
1730 functions with std::, thus avoiding Koenig lookup.
1731 * include/bits/locale_facets.tcc: Likewise.
1732 * src/locale.cc: Likewise.
1733 * src/localename.cc: Likewise.
1735 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
1737 * include/bits/allocator_traits.h: Fix doxygen markup.
1738 * include/ext/mt_allocator.h: Likewise.
1740 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
1742 * testsuite/testsuite_hooks.h: Guard against a missing unlink().
1744 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
1746 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Bump minimal version
1747 requirement. Add port_specific_symbol_file variable.
1748 * configure.host: Add docs for port_specific_symbol_file.
1749 Clean up try_cpu block for x86.
1750 * config/linker-map.gnu: No more "last symbol can't have a
1751 semicolon" kaka. Add hook for port-specific symbols.
1752 * src/Makefile.am: Remove trailing whitespace.
1753 (libstdc++-symbol.ver): Detect the presence of port-specific
1754 symbols, and add them accordingly.
1756 * docs/html/17_intro/porting.texi: Bring up to date.
1758 * src/Makefile.in, aclocal.m4, configure,
1759 docs/html/17_intro/porting.html: Regenerated.
1761 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
1763 * scripts/create_testsuite_files: New file.
1764 * testsuite/Makefile.am (all-local, check-performance): Use it.
1765 * testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests): Remove.
1766 * testsuite/Makefile.in: Regenerated.
1768 * testsuite/performance/filebuf_sputc.cc: Remove the temporary
1770 * testsuite/performance/fstream_seek_write.cc: Likewise.
1771 * testsuite/performance/ofstream_insert_float.cc: Likewise.
1772 * testsuite/performance/ofstream_insert_int.cc: Likewise.
1773 * testsuite/abi_check.cc (main): Nicer spacing in usage output.
1775 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
1777 * include/bits/stl_list.h: Performance and memory usage
1778 improvements. In particular, the behaviour of the constructor and
1779 destructor as the list header node is no longer dynamically
1780 allocated/de-allocated.
1781 * include/bits/list.tcc: Likewise.
1783 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
1785 * include/std/std_complex.h: Fully qualify standard
1786 functions with std::, thus avoiding Koenig lookup.
1787 * include/std/std_memory.h: Likewise.
1788 * include/std/std_valarray.h: Likewise.
1790 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
1792 * include/bits/stl_tree.h: _Rb_tree_rebalance(): Add local
1793 variable for grandparent and use const
1795 2003-07-05 David Billinghurst <David.Billinghurst@riotinto.com>
1797 * testsuite/27_io/basic_filebuf/close/char/4879.cc: xfail on cygwin
1798 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Ditto
1799 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Ditto
1800 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Ditto
1801 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Ditto
1802 * testsuite/27_io/objects/char/7.cc: Ditto
1803 * testsuite/27_io/objects/char/9661-1.cc: Ditto
1805 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
1807 * include/std/std_bitset.h: Fully qualify standard
1808 functions with std::, thus avoiding Koenig lookup.
1810 * include/std/std_fstream.h: Change comment to doxygen style.
1812 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
1814 * include/std/std_limits.h: More CPP->CXX changes.
1815 * scripts/check_survey.in: Likewise.
1817 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1819 Move from CPP to CXX.
1820 * include/bits/c++config: Move to GLIBCXX from GLIBCPP.
1821 * testsuite/Makefile.am: Same.
1822 * testsuite/Makefile.in: Regenerate.
1823 * po/Makefile.am: Same.
1824 * po/Makefile.in: Regenerate.
1825 * libsupc++/Makefile.am: Same.
1826 * libsupc++/Makefile.in: Regenerate.
1827 * libmath/Makefile.am: Same.
1828 * libmath/Makefile.in: Regenerate.
1829 * include/Makefile.am: Same.
1830 * include/Makefile.in: Regenerate.
1831 * src/Makefile.am: Same.
1832 * src/Makefile.in: Regenerate.
1834 * configure.host: Same.
1835 * configure.in: Same.
1836 * configure: Regenerate.
1837 * acinclude.m4: Same.
1839 * src: Change all files in this directory.
1841 * include: Same, standardize include guards.
1845 2003-07-04 Zack Weinberg <zack@codesourcery.com>
1847 * testsuite/22_locale/collate/compare/wchar_t/2.cc
1848 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc
1849 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc
1850 * testsuite/22_locale/collate/hash/wchar_t/2.cc
1851 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc
1852 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc
1853 * testsuite/22_locale/collate/transform/wchar_t/2.cc
1854 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc
1855 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
1856 XFAIL on all targets.
1858 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1860 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix missed variable.
1861 * aclocal.m4: Regenerate.
1862 * configure: Regenerate.
1864 2003-07-04 Jerry Quinn <jlquinn@optonline.net>
1866 * include/bits/locale_facets.tcc (__int_to_char): Move common case
1869 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1870 Petur Runolfsson <peturr02@ru.is>
1872 * config/io/basic_file_stdio.cc: Revert.
1874 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1876 * include/bits/deque.tcc: Fully qualify standard
1877 functions with std::, thus avoiding Koenig lookup.
1878 * include/bits/gslice_array.h: Likewise.
1879 * include/bits/indirect_array.h: Likewise.
1880 * include/bits/list.tcc: Likewise.
1881 * include/bits/mask_array.h: Likewise.
1882 * include/bits/slice_array.h: Likewise.
1884 2003-07-04 Gawain Bolton <gbolton@free.fr>
1886 * include/bits/stl_tree.h: Performance and memory usage
1889 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
1891 * Makefile.am: Replace PWD with PWD_COMMAND.
1892 * Makefile.in: Regenerated.
1893 * docs/html/Makefile: Likewise.
1895 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1897 * include/bits/valarray_array.h: Fully qualify standard
1898 functions with std::, thus avoiding Koenig lookup.
1899 * include/bits/vector.tcc: Likewise.
1901 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1903 * include/Makefile.am: Update target_ to host_.
1904 * include/Makefile.in: Regenerate.
1905 * src/Makefile.am: Same.
1906 * src/Makefile.in: Regenerate.
1908 * config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support.
1910 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1912 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To
1913 --enable-libstdcxx-debug-flags.
1914 (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug.
1915 (GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch.
1916 * aclocal.m4: Regenerate.
1918 * docs/html/configopts.html: Update.
1920 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1922 Revert the fix for libstdc++/11378.
1924 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1927 * include/std/std_fstream.h (xsputn): In the unbuffered case,
1928 provided always_noconv(), issue directly _M_file.xsputn.
1929 * testsuite/performance/filebuf_unbuf_sputn.cc: New.
1931 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1933 * include/bits/stl_list.h: Fully qualify standard
1934 functions with std::, thus avoiding Koenig lookup.
1935 * include/bits/stl_queue.h: Likewise.
1936 * include/bits/stl_raw_storage_iter.h: Likewise.
1937 * include/bits/stl_tempbuf.h: Likewise.
1938 * include/bits/stl_tree.h: Likewise.
1939 * include/bits/stl_uninitialized.h: Likewise.
1940 * include/bits/stl_vector.h: Likewise.
1941 * include/ext/rope: Change includes order.
1943 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1945 * configure.host (fpos_include_dir): Fix.
1947 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1949 * include/bits/stl_heap.h: Fully qualify standard
1950 functions with std::, thus avoiding Koenig lookup.
1951 * include/bits/stl_iterator_base_funcs.h: Likewise.
1953 * include/bits/stl_algo.h: Qualify __iterator_category too.
1954 * include/bits/stl_algobase.h: Likewise.
1955 * include/bits/stl_bvector.h: Likewise.
1957 * include/bits/stl_algo.h: Don't qualify the pair type.
1959 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
1961 * include/Makefile.am (target_headers): Add fpos.h
1962 (bits_headers): Remove.
1963 * include/Makefile.in: Regenerate.
1964 * configure.in: Add FPOS_INC_SRCDIR, substitute it.
1965 * configure: Regenerate.
1966 * configure.host: Add fpos_include_dir.
1967 * config/os/gnu-linux/fpos.h: New.
1968 * config/os/generic/fpos.h: Add.
1969 * include/bits/fpos.h: Remove.
1971 * config/io/c_io_stdio.h: Remove fpos_t typedef.
1973 * include/bits/fstream.tcc: Tweaks.
1974 * include/std/std_fstream.h: Same.
1976 * testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to...
1977 * testsuite/27_io/fpos/mbstate_t/1.cc: ...here.
1978 * testsuite/27_io/fpos/mbstate_t/2.cc: Same.
1979 * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
1980 * testsuite/27_io/fpos/1.cc: New.
1982 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
1983 Petur Runolfsson <peturr02@ru.is>
1985 * include/std/std_streambuf.h: Remove _M_pos.
1986 * config/io/basic_file_stdio.h: Use seekpos instead of seekoff.
1987 * config/io/basic_file_stdio.cc: Same, use fseek instead of lseek,
1988 use fread/fwrite instead of read/write.
1989 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix.
1990 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs
1991 before reading again.
1992 * testsuite/27_io/objects/char/6.cc: Tweak.
1994 2003-07-03 David Edelsohn <edelsohn@gnu.org>
1996 * testsuite/22_locale/num_put/put/char/7.cc: Guard with
1997 _GLIBCPP_USE_WCHAR_T.
1999 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
2001 * include/bits/basic_string.tcc (_M_replace_aux): Constify
2004 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
2006 * include/bits/stl_bvector.h: Fully qualify standard
2007 functions with std::, thus avoiding Koenig lookup.
2008 * include/bits/stl_construct.h: Likewise.
2009 * include/bits/stl_deque.h: Likewise.
2011 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
2013 * testsuite/22_locale/num_put/put/char/7.cc: Include
2014 <testsuite_hooks.h>, tweak.
2015 * testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise.
2017 2003-07-01 Phil Edwards <pme@gcc.gnu.org>
2019 * testsuite/Makefile.am (AM_MAKEFLAGS): Set to -j1 (affects
2020 check* targets, but not libs/programs).
2021 * testsuite/Makefile.in: Regenerate.
2023 2003-07-01 Roger Sayle <roger@eyesopen.com>
2025 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS.
2026 (GLIBCPP_CHECK_MATH_SUPPORT): Likewise.
2027 * aclocal.m4: Regenerate.
2028 * configure: Regenerate.
2030 2003-07-01 Benjamin Kosnik <bkoz@redhat.com>
2032 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error.
2033 * aclocal.m4: Regenerated.
2034 * configure: Regenerated.
2036 2003-07-01 Paolo Carlini <pcarlini@unitus.it>
2039 * include/bits/fstream.tcc (underflow): For encoding() == 0
2040 don't read more than __buflen chars.
2041 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: New.
2042 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: New.
2043 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: New.
2044 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: New.
2046 2003-07-01 Jerry Quinn <jlquinn@optonline.net>
2048 * 22_locale/num_put/put/char/7.cc: New.
2049 * 22_locale/num_put/put/wchar_t/7.cc: New.
2051 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
2053 * src/locale.cc (__use_cache<numpunct>): Revert previous relocation.
2054 * include/bits/locale_facets.tcc (__use_cache<numpunct>): Ditto.
2056 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
2058 * 27_io/basic_filebuf/seekoff/char/1-in.cc: New.
2059 * 27_io/basic_filebuf/seekoff/char/1-io.cc: New.
2060 * 27_io/basic_filebuf/seekoff/char/1-out.cc: New.
2061 * 27_io/basic_filebuf/seekoff/char/2-in.cc: New.
2062 * 27_io/basic_filebuf/seekoff/char/2-io.cc: New.
2063 * 27_io/basic_filebuf/seekoff/char/2-out.cc: New.
2064 * 27_io/basic_filebuf/seekoff/char/2.cc: Remove.
2065 * 27_io/basic_filebuf/seekoff/char/3-in.cc: New.
2066 * 27_io/basic_filebuf/seekoff/char/3-io.cc: Change.
2067 * 27_io/basic_filebuf/seekoff/char/3-out.cc: New.
2068 * 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove.
2069 * 27_io/basic_filebuf/seekpos/char/1-in.cc: New.
2070 * 27_io/basic_filebuf/seekpos/char/1-io.cc: New.
2071 * 27_io/basic_filebuf/seekpos/char/1-out.cc: New.
2072 * 27_io/basic_filebuf/seekpos/char/2-in.cc: New.
2073 * 27_io/basic_filebuf/seekpos/char/2-io.cc: New.
2074 * 27_io/basic_filebuf/seekpos/char/2-out.cc: New.
2075 * 27_io/basic_filebuf/seekpos/char/2.cc: Change.
2076 * 27_io/basic_filebuf/seekpos/char/3-in.cc: New.
2077 * 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove.
2078 * 27_io/basic_filebuf/seekpos/char/3-out.cc: New.
2079 * 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove.
2080 * data/seekoff-1.tst: Remove.
2081 * data/seekoff-1io.tst: New.
2082 * data/seekoff-1out.tst: New.
2083 * data/seekoff-2.tst: Remove.
2084 * data/seekoff-2io.tst: New.
2085 * data/seekoff-2out.tst: New.
2087 * data/seekpos-1.tst: Remove.
2088 * data/seekpos-1io.tst: New.
2089 * data/seekpos-1out.tst: New.
2090 * data/seekpos-2.tst: Remove.
2091 * data/seekpos-2io.tst: New.
2092 * data/seekpos-2out.tst: New.
2093 * data/seekpos.txt: New.
2095 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
2097 * src/locale.cc (__use_cache<numpunct>): Move from here ...
2098 * include/bits/locale_facets.tcc (__use_cache<numpunct>): To
2101 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
2103 * include/bits/stl_algobase.h: Fully qualify standard
2104 functions with std::, thus avoiding Koenig lookup.
2106 2003-06-30 Doug Gregor <dgregor@apple.com>
2108 * include/bits/locale_facets.tcc (money_get::do_get): Avoid
2109 subscripting empty string.
2111 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
2113 * testsuite/Makefile.am (check-am): Do not override.
2114 (baseline_symbols): Declare as PHONY, so no need to 'touch' it.
2115 * testsuite/Makefile.in: Regenerate.
2117 2003-06-30 Doug Gregor <dgregor@apple.com>
2119 * testsuite/24_iterators/insert_iterator.cc (test01, test02):
2120 Don't initialize an insert_iterator with a singular iterator.
2122 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
2124 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch.
2125 * aclocal.m4: Regenerate.
2126 * configure.in (GLIBCPP_CHECK_PCH): Move, change to
2127 GLIBCPP_ENABLE_PCH, default to yes.
2128 * configure: Regenerate.
2129 * docs/html/configopts.html: Add --enable-pch.
2131 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
2133 * testsuite/lib/libstdc++-v3-dg.exp: Add comments.
2134 (libstdc++-v3-init): Also set LD_RUN_PATH.
2136 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
2138 * include/std/std_streambuf.h (_M_mode): Unused by streambuf, move
2139 from here to filebuf and stringbuf.
2140 (~basic_streambuf()): Don't set _M_mode.
2141 (basic_streambuf()): Don't set _M_mode.
2142 * include/std/std_fstream.h (_M_mode): Move here, from streambuf.
2143 (~basic_filebuf()): Clean up.
2144 * include/bits/fstream.tcc (basic_filebuf()): Set _M_mode.
2145 * include/std/std_sstream.h (_M_mode): Move here, from streambuf.
2146 * testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode.
2147 * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
2148 * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
2149 * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
2150 * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
2152 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
2154 * include/std/std_fstream.h (_M_underflow): Remove.
2155 (uflow): Remove, inherited from streambuf.
2156 (underflow): Only declare.
2157 * include/bits/fstream.tcc (_M_underflow): Rename to
2158 underflow, to which is equivalent for __bump == false,
2160 * include/std/std_sstream.h (_M_underflow): Remove.
2161 (uflow): Remove, inherited from streambuf.
2162 (underflow): Only declare.
2163 * include/bits/sstream.tcc (_M_underflow): Rename to
2164 underflow, to which is equivalent for __bump == false,
2167 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
2169 * include/bits/stl_algo.h: Fully qualify standard functions
2170 with std::, thus avoiding Koenig lookup.
2172 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
2174 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc:
2175 Improve type correctness-wise.
2176 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc:
2178 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc:
2180 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc:
2183 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
2185 * include/std/std_streambuf.h (uflow): According to
2186 27.5.2.4.3,p16, don't check gptr() < egptr().
2188 2003-06-28 Paolo Carlini <pcarlini@unitus.it>
2191 * include/bits/fstream.tcc (seekoff): Fix for encoding() > 0.
2192 (seekpos): Likewise.
2193 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc:
2195 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc:
2198 2003-06-27 Benjamin Kosnik <bkoz@redhat.com>
2200 * testsuite/testsuite_performance.h (__gnu_cxx_test): Change
2201 output name to libstdc++-v3-performance.sum.
2202 * testsuite/Makefile.am (CLEANFILES): Remove .performance.
2203 * testsuite/Makefile.in: Regenerate.
2205 2003-06-27 Matthias Klose <doko@debian.org>
2207 * testsuite/Makefile.am (check-abi, check-abi-verbose): Save
2208 output of abi-check in libstdc++-v3-abi.sum.
2209 * testsuite/Makefile.in: Regenerate.
2211 2003-06-27 Krister Walfridsson <cato@df.lth.se>
2213 * config/os/bsd/netbsd/ctype_noninline.h
2214 (_C_ctype_): Declare.
2215 (ctype<char>::classic_table): Return _C_ctype_ + 1.
2216 (ctype<char>::ctype): Use classic_table.
2218 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
2219 Nathan C. Myers <ncm-nospam@cantrip.org>
2222 * include/bits/fstream.tcc (_M_underflow): Properly estimate
2223 the worst-case number of external bytes for a given get area.
2224 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New.
2226 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
2227 Petur Runolfsson <peturr02@ru.is>
2230 * include/bits/fstream.tcc (overflow): Properly estimate the
2231 worst-case number of external bytes for a given put area
2232 (by using codecvt::max_length()).
2233 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New.
2234 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New.
2235 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New.
2236 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New.
2238 2003-06-27 Nathan Sidwell <nathan@codesourcery.com>
2240 * config/linker-map.gnu: Remove ; after __numpunct_cache.
2242 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
2244 * include/bits/ios_base.h (ios_base::_M_getloc): Return reference
2245 to the imbued locale.
2246 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use
2248 (num_put::_M_convert_float): Use.
2250 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
2251 Jerry Quinn <jlquinn@optonline.net>
2253 * config/linker-map.gnu: Add __numpunct_cache.
2254 * config/locale/gnu/numeric_members.cc
2255 (numpunct::_M_initialize_numpunct): Account for _M_data, fill in
2256 all elements for "C" locale.
2257 (numpunct::~numpunct): Delete _M_data.
2258 * config/locale/generic/numeric_members.cc: Same.
2259 * include/bits/basic_ios.tcc
2260 (basic_ios::init): Remove __locale_cache bits.
2261 (basic_ios::_M_cache_locale): Same.
2262 * include/bits/ios_base.h: Same. Tweaks.
2263 * include/bits/locale_classes.h: Tweaks. Reorder classes.
2264 (__use_cache): Make friends with _Impl, locale.
2265 (_Impl::_M_caches): Add.
2266 (_Impl::_M_install_cache): Add.
2267 * include/bits/locale_facets.h (__numpunct_cache): New.
2268 (numpunct): Encapsulate data members in __numpunct_cache member,
2269 _M_data. Adjust virtuals.
2270 (numpunct::numpunct): New ctor for the same.
2271 (__locale_cache_base): Remove.
2272 (__locale_cache): Remove.
2273 * include/bits/locale_facets.tcc (__use_cache): New function,
2275 (num_put::_M_convert_int, _M_convert_float, do_put): Use it.
2276 * src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w.
2277 * src/ios.cc (ios_base::ios_base): Remove __locale_cache.
2278 * src/locale-inst.cc: Same. Add __numpunct_cache.
2279 * src/locale.cc: Tweak inlines.
2280 (__use_cache): Define specializations.
2281 * src/localename.cc: Use global bits.
2282 (_Impl::~Impl): Deal with __numpunct_cache destruction.
2283 (_Impl::_Impl): Same. Pre-cache standard numpunct facets.
2284 (_Impl::_M_init_facet): Take into account __numpunct_cache.
2285 * testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers.
2286 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
2288 2003-06-26 Nathan C. Myers <ncm-nospam@cantrip.org>
2289 Paolo Carlini <pcarlini@unitus.it>
2291 * testsuite/performance/filebuf_copy.cc: New, testing char
2294 2003-06-26 Paolo Carlini <pcarlini@unitus.it>
2295 Nathan C. Myers <ncm-nospam@cantrip.org>
2297 * include/bits/fstream.tcc (_M_underflow): When the actual
2298 end of file is reached, set 'uncommitted' mode to allow a
2299 next write without an intervening seek (see C++98 27.8.1.1,2
2301 * testsuite/27_io/basic_filebuf/underflow/char/2.cc: New.
2303 2003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org>
2305 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
2306 sputc): Move inline, from here...
2307 * include/std/std_streambuf.h: ... to here.
2309 * include/std/std_streambuf.h (snextc, sbumpc, sgetc,
2310 sputbackc, sungetc, sputc): Use __builtin_expect.
2312 2003-06-24 Phil Edwards <pme@gcc.gnu.org>
2314 * docs/doxygen/mainpage.html: Use a useful title.
2316 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
2318 * docs/html/documentation.html: Remove assignment info.
2319 * docs/html/17_intro/contribute.html: Edits.
2320 * docs/html/17_intro/libstdc++-assign.tx: Remove.
2322 * docs/html/test.html: Update.
2326 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
2327 Ulrich Drepper <drepper@redhat.com>
2329 * testsuite/testsuite_performance.h: Tweak mallinfo.
2331 2003-06-24 Paolo Carlini <pcarlini@unitus.it>
2332 Nathan C. Myers <ncm-nospam@cantrip.org>
2334 * include/std/std_fstream.h (_M_filepos): Remove.
2335 (_M_reading, _M_writing): New, encode the various I/O modes:
2336 'read', 'write' and 'uncommitted'.
2337 (sync): If there is something to flush, do it, then go to
2339 * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal
2340 with three different cases: __off > 0 (upon underflow),
2341 __off == 0 (upon overflow), __off == -1 (upon open, setbuf,
2343 (_M_underflow): Don't call overflow, set _M_reading to true
2345 (pbackfail): Set _M_reading to true on pback creation, tweak.
2346 (overflow): Don't seek, deal with overflow in 'uncommitted' mode,
2347 set _M_writing to true on success, tweak.
2348 (seekoff): Simplify, set _M_reading, _M_writing to false, call
2349 _M_set_buffer(-1) ('uncommitted').
2350 (open, close, setbuf): Set _M_reading, _M_writing to false and
2351 call _M_set_buffer(-1), tweak.
2352 (basic_filebuf): Don't set _M_buf_unified.
2353 (_M_destroy_internal_buffer): Don't call setg and setp.
2354 * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading,
2355 _M_writing and _M_set_buffer(-1).
2356 * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur,
2357 _M_out_lim, _M_buf_unified): Remove.
2358 (basic_streambuf): Don't set _M_out_lim and _M_buf_unified.
2359 (setp): Don't set _M_out_lim.
2360 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for
2361 the new logic ('read', 'write' and 'uncommitted' modes): e.g.,
2362 upon open the mode is 'uncommitted' and therefore the put area
2364 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto.
2365 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto.
2366 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto.
2367 * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto.
2368 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto.
2369 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto.
2370 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
2371 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto.
2372 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto.
2373 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto.
2374 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto.
2375 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto.
2376 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto.
2377 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto.
2378 * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto.
2379 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto.
2380 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto.
2381 * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto.
2382 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto.
2383 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto.
2385 * include/bits/fstream.tcc (showmanyc): Use only the
2386 documented derivation interface to basic_streambuf (gptr(),
2387 setg(), etc.) to work right with user specializations.
2388 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
2389 sputc, xsgetn, xsputn, __copy_streambufs): Likewise.
2390 * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc):
2392 * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback,
2395 2003-06-23 Loren J. Rittle <ljrittle@acm.org>
2397 * configure.host (freebsd*): Set abi_baseline_pair.
2398 * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2
2399 (at or near first release) to 3.3.
2400 * config/abi/i386-freebsd5/baseline_symbols.txt: New file.
2401 * config/abi/alpha-freebsd5/baseline_symbols.txt: New file.
2402 * config/abi/sparc-freebsd5/baseline_symbols.txt: New file.
2404 * include/ext/mt_allocator.h: Portability.
2405 * testsuite/testsuite_performance.h: Likewise.
2407 2003-06-23 Benjamin Kosnik <bkoz@redhat.com>
2409 * docs/html/17_intro/libstdc++-assign.txt: Update address.
2411 * testsuite/performance/ifstream_getline.cc: Fix.
2413 2003-06-23 Doug Gregor <dgregor@apple.com>
2415 * include/bits/boost_concept_check.h: Don't use _D or _R for type
2418 2003-06-22 Paolo Carlini <pcarlini@unitus.it>
2419 Nathan C. Myers <ncm-nospam@cantrip.org>
2421 * include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim
2422 is now used only for filebuf, when _M_buf_unified is true.
2423 epgtr() plays the role of _M_out_lim but it's only updated
2424 upon overflow, underflow, uflow, seekoff/pos.
2425 * include/bits/sstream.tcc (_M_underflow): New, implements
2426 stringbuf::underflow and uflow.
2427 (seekoff, seekpos): Tweak, use _M_update_egptr.
2428 * include/std/std_sstream.h (str): Rewrote, deal correctly
2429 with the new logic, in particular, when pptr() > egptr().
2430 (_M_sync): When __testout && !__testin set all the get area
2431 pointers to the current string end.
2432 (_M_update_egptr): New, internal function updating egptr()
2433 to the actual string end.
2434 (_M_underflow): New, declare.
2435 (underflow): Dispatch to _M_underflow(false).
2436 (uflow): Dispatch to _M_underflow(true).
2438 * include/bits/sstream.tcc (pbackfail, overflow, seekoff,
2439 seekpos): Use only the documented derivation interface to
2440 basic_streambuf (gptr(), setg(), etc.) to work right with
2441 user specializations.
2442 * include/std/std_sstream.h (str, _M_sync): Likewise.
2444 2003-06-20 Doug Gregor <dgregor@apple.com>
2446 * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr
2447 * testsuite/21_strings/basic_string/replace/char/4.cc: Don't
2448 dereference end iterator.
2449 * testsuite/21_strings/basic_string/replace/wchar_t/4.cc: Same.
2450 * testsuite/22_locale/ctype/narrow/char/1.cc: Don't subscript with
2451 index equal to the length of a string.
2452 * testsuite/22_locale/ctype/narrow/char/2.cc: Same.
2453 * testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Same.
2454 * testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Same.
2455 * testsuite/22_locale/ctype/widen/char/1.cc: Same.
2456 * testsuite/22_locale/ctype/widen/wchar_t/1.cc: Same.
2457 * testsuite/23_containers/list_modifiers.cc: Don't dereference
2458 singular reverse iterator.
2459 * testsuite/23_containers/vector_bool.cc: Don't increment singular
2461 * testsuite/24_iterators/rel_ops.cc: Don't compare singular iterator.
2463 2003-06-20 Doug Gregor <dgregor@apple.com>
2465 * include/bits/basic_string.h (basic_string::replace): Dispatch
2466 _InputIterator version based on _Is_integer.
2467 * include/bits/basic_string.tcc (basic_string::replace):
2468 Renamed replace(iterator, iterator, size_type, _CharT) to
2470 * testsuite/21_strings/basic_string/assign/char/1.cc (test01):
2471 Test basic_string::assign(_InputIterator, _InputIterator),
2472 which calls basic_string::replace(iterator, iterator,
2473 _Input_iterator, _InputIterator).
2475 2003-06-20 Benjamin Kosnik <bkoz@redhat.com>
2477 * testsuite/testsuite_performance.h (resource_counter): Don't use
2478 mallinfo at the moment.
2480 2003-06-20 Matthias Klose <doko@debian.org>
2482 * configure.host: Set try_cpu to target_cpu for existing
2485 2003-06-19 Andreas Jaeger <aj@suse.de>
2487 * testsuite/Makefile.am (extract_symvers): Revert accidental
2489 * testsuite/Makefile.in: Regenerate.
2491 * configure.in: Pass MULTISUBDIR to testsuite/Makefile.
2492 * configure: Regenerated.
2494 2003-06-19 Paolo Carlini <pcarlini@unitus.it>
2496 * include/std/std_sstream.h (_M_sync): Make non virtual.
2498 2003-06-18 Benjamin Kosnik <bkoz@redhat.com>
2500 * testsuite/testsuite_performance.h (time_counter): New.
2501 (resource_counter): New.
2502 (report_performance): New.
2503 (start_counters): New.
2504 (stop_counters): New.
2505 (clear_counters): New.
2506 * testsuite/performance/allocator.cc: Instrument.
2507 * testsuite/performance/cout_insert_int.cc: Same.
2508 * testsuite/performance/complex_norm.cc: Same.
2509 * testsuite/performance/filebuf_sputc.cc: New.
2510 * testsuite/performance/fstream_seek_write.cc: Same.
2511 * testsuite/performance/ifstream_getline.cc: Same.
2512 * testsuite/performance/map_create_fill.cc: Same.
2513 * testsuite/performance/ofstream_insert_float.cc: Same.
2514 * testsuite/performance/ofstream_insert_int.cc: Same.
2515 * testsuite/performance/string_append.cc: Convert.
2516 * scripts/check_performance: New.
2517 * testsuite/Makefile.am (check-performance): New.
2520 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
2521 Benjamin Kosnik <bkoz@redhat.com>
2523 * include/std/std_sstream.h (setbuf): Check __n >= 0.
2524 * include/bits/fstream.tcc (setbuf): Tweak.
2526 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
2528 * include/bits/sstream.tcc (seekoff): We can't seek beyond
2529 _M_out_lim, therefore _M_move_out_cur boils down to simply
2530 updating _M_out_cur.
2531 (seekpos): Likewise, clean up.
2533 2003-06-18 Nathan C. Myers <ncm-nospam@cantrip.org>
2534 Paolo Carlini <pcarlini@unitus.it>
2536 * include/bits/fstream.tcc (setbuf): Allow (__s, 1) too,
2537 simply equivalent to the unbuffered case (0, 0) as far as
2538 _M_buf_size is concerned.
2540 2003-06-18 Andreas Jaeger <aj@suse.de>
2542 * testsuite/Makefile.am (new-abi-baseline): Create baseline
2544 (baseline_file): Use baseline_dir.
2545 (baseline_dir): New.
2546 (mkinstalldirs): New.
2548 * acinclude.m4: Rename baseline_file to baseline_dir, strip
2549 filename from baseline_dir.
2551 * testsuite/Makefile.in: Regenerated.
2552 * Makefile.in: Regenerated.
2553 * aclocal.m4: Regenerated.
2554 * configure: Regenerated.
2556 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2558 * configure.in: Missed check_survey bit.
2559 * configure: Regenerated.
2561 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2564 * config/abi/extract_symvers: Move to...
2565 * scripts/extract_symvers: ...here.
2566 * mkcheck.in: Move to..
2567 * scripts/check_survey.in: ...here.
2568 * testsuite_flags.in: Move to..
2569 * scripts/testsuite_flags.in: ...here.
2570 * configure.in: Change check and testsuite_flags locations.
2571 * configure: Regenerate.
2572 * testsuite/Makefile.am (current_symbols.txt): Change location.
2573 * testsuite/Makefile.in: Regenerate.
2574 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
2575 location of testsuite_flags.
2576 * Makefile.am (check-script): Move..
2577 (check-script-install): Move...
2578 * testsuite/Makefile.am: ... here.
2579 * testsuite/Makefile.in: Regenerate.
2580 * Makefile.in: Regenerate.
2582 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2584 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.
2586 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
2588 * Makefile.am (check-abi): Move...
2589 (new-abi-baseline): Move...
2590 * testsuite/Makefile.am: ...here.
2591 (new-abi-baseline): Conditionalize.
2592 (check-abi): Conditionalize.
2593 (check-abi-verbose): New.
2594 * Makefile.in: Regenerate.
2595 * testsuite/Makefile.in: Regenerate.
2596 * configure.in: Consolidate testsuite configure bits.
2597 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
2598 * configure: Regenerate.
2599 * aclocal.m4: Regenerate.
2600 * testsuite/abi_check.cc: Add --check-verbose.
2601 Only output detailed information if --check-verbose.
2603 2003-06-16 Andreas Jaeger <aj@suse.de>
2605 * testsuite/abi_check.cc: Create summary report.
2607 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
2609 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix
2610 for systems with BUFSIZ != 8192.
2611 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
2612 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc:
2615 2003-06-16 Andreas Jaeger <aj@suse.de>
2617 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make
2618 check-abi multilib aware.
2619 * aclocal.m4: Regenerate.
2620 * configure: Regenerate.
2622 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
2623 Andreas Jaeger <aj@suse.de>
2625 * configure.host: Set x86_64 abi_baseline pair correctly.
2627 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
2629 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and
2630 fix for missing seeks between gets and puts into...
2631 * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New.
2632 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New.
2633 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New.
2634 * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New.
2635 * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New.
2636 * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New.
2638 2003-06-15 Richard Henderson <rth@redhat.com>
2640 * config/linker-map.gnu: Export virtual function thunks for
2643 2003-06-13 Benjamin Kosnik <bkoz@redhat.com>
2645 * config/abi/i686-pc-linux-gnu: To..
2646 * config/abi/i486-linux-gnu: ...this.
2647 * config/abi/alphaev67-unknown-linux-gnu: To..
2648 * config/abi/alpha-linux-gnu: ...this.
2649 * config/abi/ia64-unknown-linux-gnu: To...
2650 * config/abi/ia64-linux-gnu: ...this.
2651 * config/abi/x86_64-unknown-linux-gnu: To...
2652 * config/abi/x86_64-linux-gnu: ...this.
2653 * config/abi/i386-unknown-freebsd4: To...
2654 * config/abi/i386-freebsd4: ...this.
2655 * config/linker-map.gnu: Cleanups, move libsupc++ bits into
2657 * configure.host: abi_baseline_triplet to abi_baseline_pair.
2658 Simplify cpu bits so that abi_baseline_pair can use the same
2660 * acinclude.m4: Same.
2661 * aclocal.m4: Regenerate.
2662 * configure.in: Can't get enable_abi_check to yes unless native.
2663 * configure: Regenerate.
2665 2003-06-13 Paolo Carlini <pcarlini@unitus.it>
2667 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and
2668 fix for missing seeks between gets and puts into...
2669 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New.
2670 * testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New.
2671 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into...
2672 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New.
2673 * testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New.
2674 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix
2675 for missing seeks between gets and puts.
2676 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto.
2677 * testsuite/data/seekoff-1.tst: New.
2678 * testsuite/data/seekoff-2.tst: New.
2679 * testsuite/data/seekpos-1.tst: New.
2680 * testsuite/data/seekpos-2.tst: New.
2682 2003-06-13 Nathan C. Myers <ncm-nospam@cantrip.org>
2684 Avoid multi-processor bus contention on increment/decrement-and-
2685 test of the reference count in the empty-string object, by comparing
2686 addresses first, and never touching the reference count of the empty-
2688 * include/bits/basic_string.h:
2689 (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its
2691 (_Rep::_S_empty_rep()): New accessor.
2692 (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to
2693 a base class _Rep_base.
2694 (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string.
2695 (basic_string()): Change to use _M_refdata() in place of _M_refcopy(),
2696 since no longer must increment its refcount.
2697 * include/bits/basic_string.tcc:
2698 (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and
2699 return immediately. The former might be unnecessary. The latter
2700 prevents begin() and end() from cloning it unnecessarily.
2701 (_S_construct(_InIterator, _InIterator, const _Alloc&,
2702 input_iterator_tag), _S_construct(_InIterator, _InIterator,
2703 const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT,
2704 const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy().
2705 (_M_mutate): Check for the empty string and treat it as shared.
2706 This is necessary here because _M_mutate is sometimes called with
2707 all-zero arguments; in all other uses of _M_is_shared, the test comes
2710 2003-06-12 Benjamin Kosnik <bkoz@redhat.com>
2712 * src/allocator-inst.cc: Explicitly instantiate.
2713 * include/ext/pool_allocator.h: Inhibit implicit instantiations.
2715 * config/linker-map.gnu: Add __pool_alloc bits. Tweaks.
2717 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
2719 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
2720 * aclocal.m4: Regenerate.
2721 * Makefile.am (SUBDIRS): Remove libio.
2722 * Makefile.in: Regenerate.
2723 * configure.in: Same.
2724 * configure: Regenerate.
2725 * config/io/basic_file_libio.cc: Remove.
2726 * config/io/basic_file_libio.h: Remove.
2727 * config/io/c_io_libio_codecvt.c: Remove.
2728 * config/io/c_io_libio.h: Remove.
2730 * src/Makefile.am: Same.
2731 * src/Makefile.in: Regenerate.
2732 * docs/html/configopts.html: Edits.
2733 * docs/html/explanations.html: Edits.
2735 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
2737 * include/bits/stl_alloc.h (__debug_alloc): Move out.
2738 (__malloc_alloc): Same.
2739 (__pool_alloc): Same.
2740 (__new_alloc): Same.
2742 * include/bits/allocator.h: ...this.
2743 * include/bits/stl_deque.h: Modify comment.
2744 * include/bits/stl_tree.h: Modify include.
2745 * include/std/std_memory.h: Same.
2746 * include/ext/rope: Same.
2747 * include/ext/slist: Same.
2748 * include/std/std_vector.h: Same.
2749 * include/std/std_stack.h: Same.
2750 * include/std/std_queue.h: Same.
2751 * include/std/std_list.h: Same.
2752 * include/std/std_deque.h: Same.
2753 * include/backward/alloc.h: Same.
2754 * include/ext/debug_allocator.h: New.
2755 * include/ext/malloc_allocator.h: New.
2756 * include/ext/pool_allocator.h: New.
2757 * include/ext/new_allocator.h: New.
2758 * include/bits/pthread_allocimpl.h: Remove.
2759 * include/bits/stl_pthread_alloc.h: Remove.
2760 * include/Makefile.am (ext_headers): Add.
2761 * include/Makefile.in: Regenerate.
2762 * src/stl-inst.cc: Use __gnu_cxx namespace.
2763 * src/stl-inst.cc: Move to...
2764 * src/allocator-inst.cc: Here.
2765 * src/Makefile.am (sources): Update.
2766 * src/Makefile.in: Regenerate.
2767 * config/linker-map.gnu: Remove __pool_alloc bits.
2768 * testsuite/ext/headers.cc: Add.
2769 * testsuite/ext/allocators.cc: Fixup.
2771 2003-06-11 Stefan Olsson <stefan@snon.net>
2772 Ola Rönnerup <fnolis@home.se>
2774 * include/Makefile.am (ext_headers): Add.
2775 * include/Makefile.in: Regenerate.
2776 * include/ext/mt_allocator.h: New file.
2778 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
2780 * include/bits/fstream.tcc (close): Clean up a bit.
2782 * include/bits/streambuf.tcc (sbumpc): Clean up a bit.
2784 * include/std/std_fstream.h (_M_destroy_pback): _M_pback_cur_save
2785 - the saved _M_in_cur, that is - cannot be null.
2786 (sync): Constify a variable.
2788 * include/std/std_streambuf.h: Tweak a comment.
2789 (in_avail): Constify a variable.
2791 2003-06-10 Phil Edwards <pme@gcc.gnu.org>
2793 * docs/html/17_intro/BUGS: Update from 2.90.8 snapshot.
2794 * docs/html/17_intro/CHECKLIST: Bring up to date with respect to
2795 correctness of container::iterator typedefs. Fix whitespace.
2796 * docs/html/20_util/howto.html, docs/html/ext/howto.html: Add links
2798 * docs/html/documentation.html: Regenerate.
2800 * include/bits/basic_string.h, include/bits/basic_string.tcc,
2801 include/bits/deque.tcc, include/bits/list.tcc, include/bits/stl_algo.h,
2802 include/bits/stl_algobase.h, include/bits/stl_bvector.h,
2803 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
2804 include/bits/stl_list.h, include/bits/stl_uninitialized.h,
2805 include/bits/stl_vector.h, include/bits/vector.tcc,
2806 include/ext/algorithm, include/ext/slist, include/std/std_bitset.h:
2807 Change _Iter names to _Iterator, and __pos to __position.
2809 * include/bits/stl_relops.h, include/bits/stl_numeric.h,
2810 include/bits/stl_multiset.h, include/bits/stl_set.h:
2811 Remove emacs markers.
2813 * include/bits/stl_threads.h (_STL_auto_lock): Add __unused__.
2815 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
2817 * include/bits/fstream.tcc (overflow): According to
2818 27.5.2.4.5, overflow() returns not_eof(eof()).
2819 * testsuite/27_io/basic_filebuf/overflow/char/2.cc: New.
2820 * testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Ditto.
2822 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
2824 * include/bits/fstream.tcc (_M_underflow): Check overflow return
2825 value; tweak slightly.
2827 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
2829 * include/bits/fstream.tcc (_M_underflow): Do not special
2830 case the unbuffered case, which really means simply a one char
2832 (basic_filebuf): Initialize _M_buf_size.
2833 (setbuf): Unbuffered means _M_buf_size == 1, since only
2834 _M_buf_size - 1 == 0 chars are going to be used for the
2835 put area and 1 for the get area.
2836 * include/std/std_streambuf.h (_M_buf_size): Move to basic_filebuf.
2837 (~basic_streambuf): Tweak.
2838 (basic_streambuf): Do not initialize _M_buf_size.
2839 * include/std/std_fstream.h (_M_buf_size): Add from basic_streambuf.
2840 (~basic_filebuf): Tweak.
2841 (_M_set_buffer): Tweak, considering that _M_buf_size == 1 is the
2842 unbuffered situation (i.e., put area pointers NULL).
2843 * include/bits/streambuf.tcc (sbumpc): Clean up.
2844 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Split into...
2845 * testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: New.
2846 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: New.
2847 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: New.
2848 * testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: New.
2849 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: New.
2850 * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: New.
2852 2003-06-09 Phil Edwards <pme@gcc.gnu.org>
2854 * acinclude.m4: Move all AM_CONDITIONAL calls out.
2855 (GLIBCPP_CONFIGURE): Set defaults for variables used in AM_CONDITIONAL
2857 * configure.in: Centralize AM_CONDITIONALs so that they are always
2858 run. Make use of GLIBCPP_IS_CROSS_COMPILING.
2859 * aclocal.m4, configure: Regenerated.
2861 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
2863 * docs/html/ext/howto.html ('LWG Issues'): Add issue 235.
2865 2003-06-06 Nathan Myers <ncm-nospam@cantrip.org>
2867 * include/bits/stl_iterator.h
2868 (reverse_iterator::reverse_iterator()): Apply DR235: default
2869 constructor default-initializes data member. Instantiated on a
2870 pointer type, the member has to end up equal to zero.
2872 2003-06-06 Benjamin Kosnik <bkoz@redhat.com>
2874 * include/bits/stl_alloc.h: Cleanups.
2875 * include/ext/functional: Same.
2876 * include/ext/hash_map: Same.
2877 * include/ext/hash_set: Same.
2878 * include/ext/iterator: Same.
2879 * include/ext/memory: Same.
2880 * include/ext/numeric: Same.
2881 * include/ext/rb_tree: Same.
2882 * include/ext/ropeimpl.h: Same.
2883 * include/ext/slist: Same.
2884 * include/ext/stdio_filebuf.h: Same.
2885 * include/ext/stdio_sync_filebuf.h: Same.
2886 * include/ext/stl_rope.h: Move to...
2887 * include/ext/rope: ...here.
2888 * include/ext/stl_hash_fun.h: Move to...
2889 * include/ext/hash_fun.h: ...here.
2890 * include/ext/stl_hashtable.h: Move to...
2891 * include/ext/hashtable.h: ...here.
2892 * include/backward/hashtable.h: Reflect new names.
2893 * include/Makefile.am: Same.
2894 * include/Makefile.in: Regenerated.
2896 2003-06-05 Benjamin Kosnik <bkoz@redhat.com>
2899 * include/bits/fstream.tcc (_M_underflow): Fix for unbuffered.
2900 * include/bits/stl_algobase.h: Tweak.
2901 * include/std/std_fstream.h: Move _M_buf_size to...
2902 * include/std/std_streambuf.h: ...here. Modify.
2903 * include/bits/streambuf.tcc: Same.
2904 * testsuite/testsuite_hooks.h: Tweak.
2905 * testsuite/testsuite_io.h (constraint_filebuf): New.
2906 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Split into...
2907 * testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: New.
2908 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: New.
2909 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: New.
2910 * testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: New.
2911 * testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: New.
2912 * testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: New.
2913 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Split into...
2914 * testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: New.
2915 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: New.
2916 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: New.
2917 * testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: New.
2918 * testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: New.
2919 * testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: New.
2920 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Split into...
2921 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: New.
2922 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: New.
2923 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: New.
2924 * testsuite/27_io/basic_filebuf/sgetn/char/2.cc: Split into...
2925 * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: New.
2926 * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: New.
2927 * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: New.
2928 * testsuite/27_io/basic_filebuf/sgetn/char/3.cc: New.
2929 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Split into...
2930 * testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: New.
2931 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: New.
2932 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: New.
2933 * testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: New.
2934 * testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: New.
2935 * testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: New.
2936 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Split into...
2937 * testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: New.
2938 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: New.
2939 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: New.
2940 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Split into...
2941 * testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: New.
2942 * testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: New.
2943 * testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: New.
2944 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Split into...
2945 * testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: New.
2946 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: New.
2947 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: New.
2948 * testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: New.
2949 * testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: New.
2950 * testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: New.
2951 * testsuite/data/sgetc.txt: New.
2952 * testsuite/data/sgetn.txt: New.
2954 2003-06-05 Paolo Carlini <pcarlini@unitus.it>
2957 * include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
2958 Deal with width() smaller than zero.
2959 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
2960 operator<<(basic_ostream&, char), operator<<(basic_ostream&, const
2961 _CharT*), operator<<(basic_ostream<_CharT, _Traits>&, const
2962 char*), operator<<(basic_ostream<char, _Traits>&, const char*),
2963 operator<<(basic_ostream, const basic_string&)): Likewise.
2965 * testsuite/27_io/basic_istream/extractors_character/char/
2966 (11095-i.cc, 11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
2967 * testsuite/27_io/basic_ostream/inserters_character/char/
2968 (11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
2969 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
2970 (11095-od.cc, 11095-oe.cc, 11095-of.cc): New.
2972 2003-06-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2974 * acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if
2975 .gch compilation works.
2976 * aclocal.m4, configure: Regenerate.
2977 * testsuite_flags.in (--build-cxx): Use glibcpp_PCHFLAGS to
2978 initialize PCHFLAGS.
2980 2003-06-04 Paolo Carlini <pcarlini@unitus.it>
2982 * include/bits/basic_string.h (_M_fold, insert(iterator, _CharT),
2983 erase(iterator), erase(iterator, iterator), c_str,
2984 compare(const basic_string&)): Constify various variables.
2985 * include/bits/basic_string.tcc (_S_construct(_InIter, _InIter,
2986 const _Alloc&, input_iterator_tag), _M_destroy, _M_mutate,
2987 _S_create, resize, _M_replace, _M_replace_safe,
2988 append(const basic_string&), append(const basic_string&, size_type,
2989 size_type), append(const _CharT*, size_type), append(size_type,
2990 _CharT), operator+(const _CharT*, const basic_string&),
2991 operator+(_CharT, const basic_string&), replace(iterator, iterator,
2992 size_type, _CharT), find(const _CharT*, size_type, size_type),
2993 find(_CharT, size_type), rfind(const _CharT*, size_type, size_type),
2994 rfind(_CharT, size_type), compare(size_type, size_type,
2995 const basic_string&), compare(size_type, size_type,
2996 const basic_string&, size_type, size_type), compare(const _CharT*),
2997 compare(size_type, size_type, const _CharT*), compare(size_type,
2998 size_type, const _CharT*, size_type)): Likewise.
3000 2003-06-03 Benjamin Kosnik <bkoz@redhat.com>
3002 * include/bits/fstream.tcc (pbackfail): Make a rarely taken
3003 'if' branch less obscure.
3005 2003-06-02 Andrew Pinski <pinskia@physics.uc.edu>
3008 * config/cpu/i386/atomicity.h (__exchange_and_add): add intel
3010 * config/cpu/i486/atomicity.h (__exchange_and_add): Likewise.
3011 (__atomic_add): likewise.
3013 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3015 * include/bits/sstream.tcc (pbackfail): Minor clean up and
3016 reformatting, consistent with basic_filebuf::pbackfail.
3018 2003-06-02 Richard Kreckel <Richard.Kreckel@GiNaC.DE>
3021 * config/cpu/mips/atomicity.h: Change __attribute__ ((unused)) to
3022 __attribute__ ((__unused__)).
3023 * config/os/aix/atomicity.h: Likewise.
3025 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3028 * include/bits/fstream.tcc (pbackfail): If the pback buffer
3029 is already active don't try to store in it a second char.
3030 * testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: New.
3032 * include/bits/fstream.tcc (pbackfail): Add unbuffered bits.
3034 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3036 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak
3039 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3041 * include/std/std_fstream.h (_M_destroy_pback): Use _M_in_beg
3042 instead of unnecessarily taking the address of _M_pback.
3043 (xsgetn): Simplify slightly for a single char pback buffer.
3045 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3047 * include/bits/sstream.tcc (seekoff): Remove four unnecessary
3048 variables and two 'if', clean up.
3050 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3052 * include/bits/sstream.tcc (seekpos): Test against _M_out_lim
3053 not _M_out_end, since the former actually points to the string
3054 end (vs buffer end).
3055 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: New.
3057 2003-05-30 Phil Edwards <pme@gcc.gnu.org>
3059 * docs/doxygen/filter: New file.
3060 * docs/doxygen/filter.sed: New file.
3061 * docs/doxygen/run_doxygen: Add g flag to sed substitutions. Duh.
3062 * docs/doxygen/user.cfg.in (INPUT_FILTER): Point to new filter.
3063 * docs/html/documentation.html: Fix links to doxygen pages.
3065 2003-05-30 Paolo Carlini <pcarlini@unitus.it>
3067 * include/bits/fstream.tcc (_M_convert_to_external): Don't
3068 check for __ilen > 0.
3070 2003-05-29 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
3073 * include/bits/stl_iterator.h (class __normal_iterator):
3074 Don't inherit from iterator, add missing typedefs.
3076 2003-05-29 Paolo Carlini <pcarlini@unitus.it>
3078 * testsuite/24_iterators/reverse_iterator.cc: Split up, as follows.
3079 * testsuite/24_iterators/reverse_iterator/1.cc: New.
3080 * testsuite/24_iterators/reverse_iterator/2.cc: New.
3081 * testsuite/24_iterators/reverse_iterator/3.cc: New, from
3084 2003-05-27 Steve Ellcey <sje@cup.hp.com>
3086 * config/os/hpux/os_defines.h: Define _LIBUNWIND_STD_ABI if we are
3088 * libsupc++/eh_throw.cc: Don't call _Unwind_Resume_or_Rethrow if
3089 _LIBUNWIND_STD_ABI is set.
3091 2003-05-26 Brendan Kehoe <brendan@zen.org>
3093 * include/bits/locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and
3094 make sure the number of digits required after the decimal-point
3095 (if any) is exactly the value returned by frac_digits().
3096 * testsuite/22_locale/money_get/get/char/9.cc: New.
3097 * testsuite/22_locale/money_get/get/wchar_t/9.cc: New.
3099 2003-05-27 Jonathan Wakely <redi@gcc.gnu.org>
3101 * include/std/std_istream.h, include/std/std_ostream.h: Typo in
3104 2003-05-26 Benjamin Kosnik <bkoz@redhat.com>
3107 * include/std/std_fstream.h (basic_filebuf::_M_overflow): Remove.
3108 (_M_pback): No array necessary.
3109 * include/bits/fstream.tcc (basic_filebuf::_M_overflow): Add
3110 unbuffered case, coalesec into ...
3111 (basic_filebuf::overflow): ...this.
3112 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: New.
3113 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Unbuffered.
3115 2003-05-24 Nathanael Nerode <neroden@gcc.gnu.org>
3117 * libsupc++/Makefile.am, libsupc++/cxxabi.h, libsupc++/del_op.cc,
3118 libsupc++/del_opnt.cc, libsupc++/del_opv.cc, libsupc++/del_opvnt.cc,
3119 libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc,
3120 libsupc++/eh_catch.cc, libsupc++/eh_exception.cc,
3121 libsupc++/eh_globals.cc, libsupc++/eh_personality.cc,
3122 libsupc++/eh_term_handler.cc, libsupc++/eh_terminate.cc,
3123 libsupc++/eh_throw.cc, libsupc++/eh_type.cc,
3124 libsupc++/eh_unex_handler.cc, libsupc++/exception,
3125 libsupc++/new, libsupc++/new_handler.cc, libsupc++/new_op.cc,
3126 libsupc++/new_opnt.cc, libsupc++/new_opv.cc, libsupc++/new_opvnt.cc,
3127 libsupc++/pure.cc, libsupc++/tinfo.cc, libsupc++/tinfo2.cc,
3128 libsupc++/typeinfo, libsupc++/unwind-cxx.h, libsupc++/vec.cc:
3129 Replace "GNU CC" with "GCC".
3131 * include/backward/new.h: Replace "GNU CC" with "GCC".
3133 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
3136 * configure.in: Switch target to host, don't assume newlib.
3137 (target_alias): Remove.
3138 * configure: Regenerate.
3139 * acinclude.m4: Same.
3140 * aclocal.m4: Regenerate.
3141 * configure.target: Same. Rename to...
3142 * configure.host: This.
3144 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
3146 * include/std/std_fstream.h (_S_pback_size): Remove definition.
3147 (_M_create_pback(), _M_destroy_pback()): Simplify for a single-char
3149 * include/bits/fstream.tcc (_S_pback_size): Remove declaration.
3150 * testsuite/27_io/basic_filebuf/3.cc: Remove explicit instantiation
3151 of _S_pback_size for systems with no COMDAT or weak support.
3152 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
3153 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
3154 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Likewise.
3155 * testsuite/27_io/basic_fstream/3.cc: Likewise.
3156 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
3157 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Likewise.
3158 * testsuite/27_io/basic_ofstream/3.cc: Likewise.
3159 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Likewise.
3160 * testsuite/27_io/basic_streambuf/3.cc: Likewise.
3162 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
3164 * include/bits/fstream.tcc (_M_underflow): Simplify:
3165 !__testout implies _M_filepos == _M_in_end, therefore
3166 the first _M_file.seekoff call is never issued.
3168 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
3170 * configure.in: Sort cross table.
3171 * configure: Regenerate.
3173 2003-05-22 Brad Spencer <spencer@infointeractive.com>
3176 * configure.in: Add Solaris cross bits.
3178 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3180 * libstdc++-v3/config/os/mingw32/os_defines.h
3181 (__GTHREAD_HIDE_WIN32API): Define to 1 by defualt.
3182 (NOMINMAX): Define. Update copyright year.
3184 2003-05-21 Paolo Carlini <pcarlini@unitus.it>
3186 * include/std/std_fstream.h (_M_set_buffer): Fix indentation.
3188 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
3190 * docs/html/faq/index.html: Fix typo.
3191 * docs/html/faq/index.txt: Regenerate.
3193 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
3195 * docs/html/test.html: Fix markup.
3197 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3199 * libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by
3201 Update copyright year.
3203 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
3205 * testsuite/27_io/basic_filebuf/close/char/4.cc: Fix typo.
3207 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
3209 * testsuite/27_io/basic_filebuf/close/char/5.cc: New file,
3210 further testing that upon filebuf::close() 27.8.1.1,3 is enforced.
3212 2003-05-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3214 * include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc):
3215 Cast via void* to avoid -Wcast-align warnings.
3216 (__default_alloc_template::_S_refill): Likewise.
3218 2003-05-20 Benjamin Kosnik <bkoz@redhat.com>
3220 * testsuite/README: Move to...
3221 * docs/html/test.html: ...here. Add documentation.
3222 * docs/html/install.html: Move testing bits out..
3223 * docs/html/documentation.html: Add separate testing link.
3224 * testsuite/performance: Add.
3225 * testsuite/performance/allocator.cc: New.
3226 * testsuite/performance/complex_norm.cc: New.
3227 * testsuite/performance/cout_insert_int.cc: New.
3228 * testsuite/performance/fstream_seek_write.cc: New.
3229 * testsuite/performance/ifstream_getline.cc: New.
3230 * testsuite/performance/map_create_fill.cc: New.
3231 * testsuite/performance/ofstream_insert_float.cc: New.
3232 * testsuite/performance/ofstream_insert_int.cc: New.
3233 * testsuite/performance/string_append.cc: New.
3234 * testsuite/lib/libstdc++-v3-dg.exp (v3-compute-tests): Filter
3237 2003-05-20 Gabriel Dos Reis <gdr@integrable-solutions.net>
3240 * include/std/std_complex.h (pow): Tidy.
3242 2003-05-19 Paolo Carlini <pcarlini@unitus.it>
3244 * testsuite/27_io/basic_filebuf/close/char/4.cc: New file, testing
3245 that upon filebuf::close() 27.8.1.1,3 is enforced.
3247 2003-05-15 Loren J. Rittle <ljrittle@acm.org>
3249 * testsuite/thread/pthread4.cc: Further tweak to avoid fini race.
3251 2003-05-15 Paolo Carlini <pcarlini@unitus.it>
3252 Nathan Myers <ncm@cantrip.org>
3254 * include/bits/fstream.tcc (_M_overflow): Rewrote to call
3255 _M_convert_to_external only once (_M_buf_size is now the size of
3256 the put area + 1 for the overflow char of a full area); call
3257 _M_set_buffer instead of _M_set_indeterminate.
3258 (setbuf): Don't accept a buffer smaller than 2 chars.
3259 (_M_underflow): Refill _M_buf_size - 1 chars; call _M_set_buffer,
3260 instead of _M_set_determinate.
3261 (open): Call _M_set_buffer, instead of _M_set_indeterminate.
3262 (seekoff): Likewise.
3263 * include/ext/stdio_filebuf.h (stdio_filebuf(int,
3264 std::ios_base::openmode, bool, size_t),
3265 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t):
3267 * include/std/std_fstream.h (_M_set_indeterminate): Remove.
3268 (_M_set_determinate): Rename as _M_set_buffer, _M_buf_size ->
3270 * include/std/std_streambuf.h: Tweak _M_out_lim comment.
3271 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Tweak, taking
3272 into account that, for _M_buf_size == BUFSIZ == 8192, the size of
3273 the put area is now BUFSIZ - 1.
3274 * testsuite/ext/stdio_filebuf_2.cc: Tweak, taking into account
3275 that now the smallest _M_buf_size is 2 (still fails, for the same
3278 2003-05-14 Loren J. Rittle <ljrittle@acm.org>
3280 * testsuite/thread/pthread4.cc: Tweak test.
3282 2003-05-13 Benjamin Kosnik <bkoz@redhat.com>
3284 * testsuite/27_io/ios_base/cons/copy_neg.cc: Remove
3285 excess errors dg marker, use dg-errors instead.
3286 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
3287 * testsuite/20_util/auto_ptr_neg.cc: Same.
3289 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3291 * include/std/std_fstream.h (basic_filebuf::_M_codecvt): Add
3293 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf):
3294 Initialize _M_codecvt.
3295 (basic_filebuf::imbue): Same.
3296 (basic_filebuf::showmanyc): Use it.
3297 (basic_filebuf::underflow): Use it.
3298 (basic_filebuf::_M_convert_to_external): Use it.
3299 (basic_filebuf::seekoff): Use it.
3300 (basic_filebuf::imbue): Use it, tweaks.
3301 * include/bits/localefwd.h (__check_facet): New.
3302 * include/bits/locale_classes.h: Tweaks.
3303 * include/bits/locale_facets.tcc: Tweaks.
3304 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Remove.
3305 _M_fctype to _M_ctype, _M_fnumput to _M_num_put, _M_fnumget to
3306 _M_num_get. Change _M_check_facet to __check_facet. Tweaks.
3307 * include/bits/basic_ios.tcc: Same.
3308 * include/bits/istream.tcc: Same.
3309 * include/bits/ostream.tcc: Same.
3310 * include/std/std_streambuf.h: Same.
3311 * testsuite/27_io/basic_filebuf/imbue/char/2.cc: New.
3312 * testsuite/27_io/basic_filebuf/imbue/char/3.cc: New.
3313 * testsuite/27_io/basic_filebuf/imbue/wchar_t/1.cc: New.
3314 * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: New.
3315 * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: New.
3316 * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: New.
3318 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
3320 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Remove
3321 unnecessary includes and unused string literals.
3322 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
3323 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
3324 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
3325 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
3327 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3329 * include/bits/fstream.tcc (_M_overflow): Remove unbuffered bits.
3331 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
3333 * include/std/std_fstream.h (_M_convert_to_external): Change
3334 to return bool, take two less streamsize parameters.
3335 * include/bits/fstream.tcc (_M_convert_to_external): Tweak
3336 consistently definition.
3337 (_M_overflow): Adjust call points.
3339 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3341 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Add weak bits.
3343 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
3345 * testsuite/Makefile.am: Properly quote /both/ LD_RUN_PATHs.
3346 * testsuite/Makefile.in: Regenerate.
3348 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
3350 * testsuite/Makefile.am: Properly quote LD_RUN_PATH.
3351 * testsuite/Makefile.in: Regenerate.
3353 2003-05-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
3356 * include/c_std/std_cmath.h: #include <bits/cpp_type_traits.h>
3357 (acos): Handle integer argument.
3376 * include/bits/cpp_type_traits.h (__are_same<>): New traits.
3377 (__enable_if): Likewise.
3378 * testsuite/26_numerics/cmath/overloads.C: New test.
3380 2003-05-10 Petur Runolfsson <peturr02@ru.is>
3385 * include/bits/fstream.tcc (basic_file::_M_underflow): Add generic
3386 implementation, based on old wchar_t specialization, add support
3387 for codecvt::in() return value of codecvt_base::noconv, remove
3388 _M_file.sys_ungetc() call.
3389 * include/std/std_fstream.h (basic_file::underflow,
3390 basic_file::uflow, basic_file::_M_underflow): Remove
3391 specialization declarations, call _M_underflow from generic versions
3392 of underflow and uflow.
3393 * src/fstream.cc (basic_file::underflow, basic_file::uflow,
3394 basic_file::_M_underflow): Remove specializations.
3395 * src/Makefile.am (sources): Remove fstream.cc.
3396 * src/Makefile.in: Regenerated.
3397 * testsuite/27_io/basic_filebuf/underflow/10096.cc: New test.
3398 * testsuite/27_io/basic_filebuf/underflow/char/1.cc: New test.
3399 * testsuite/27_io/basic_filebuf/underflow/char/9027.cc: New test.
3400 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: New test.
3402 2003-05-10 Benjamin Kosnik <bkoz@redhat.com>
3404 * include/ext/stdio_filebuf.h (__stdio_filebuf): Remove stack
3406 * config/io/basic_file_stdio.h (__basic_file::xsgetn): Remove
3408 (__basic_file::xsputn): Same.
3409 (__basic_file::seekoff): Same.
3410 (__basic_file::seekpos): Same.
3411 (__basic_file::showmanyc): Same.
3412 * config/io/basic_file_stdio.cc: Same.
3413 * include/std/std_fstream.h: Same.
3414 * include/bits/fstream.tcc: Same.
3415 * src/fstream.cc: Same.
3416 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc (test05): Tidy.
3418 2003-05-10 Petur Runolfsson <peturr02@ru.is>
3423 * include/ext/stdio_sync_filebuf.h: New file.
3424 (basic_stdiobuf): New.
3425 * include/Makefile.am (ext_headers): Add ext/stdio_sync_filebuf.h
3426 * include/Makefile.in: Regenerate.
3427 * include/bits/ios_base.h (Init::_S_create_buffers,
3428 Init::_S_destroy_buffers): Remove declarations.
3429 * src/globals.cc (buf_cout_sync, buf_cin_sync, buf_cerr_sync,
3430 buf_wcout_sync, buf_wcin_sync, buf_wcerr_sync): Define.
3431 * src/ios.cc (Init::_S_create_buffers,
3432 Init::_S_destroy_buffers): Remove.
3433 (Init::Init): Create and use syncronized buffers.
3434 (ios_base::sync_with_stdio): Destroy syncronized buffers,
3435 create and install unsyncronized buffers.
3436 * testsuite/27_io/objects/char/10.cc: New test.
3437 * testsuite/27_io/objects/char/9.cc: New test.
3438 * testsuite/27_io/objects/char/9661-1.cc: New test.
3439 * testsuite/27_io/objects/char/9661-2_xin.cc: New test.
3440 * testsuite/27_io/objects/char/9661-2_xin.in: New.
3441 * testsuite/27_io/objects/wchar_t/1.cc: New test.
3442 * testsuite/27_io/objects/wchar_t/10.cc: New test.
3443 * testsuite/27_io/objects/wchar_t/2.cc: New test.
3444 * testsuite/27_io/objects/wchar_t/2523-1_xin.cc: New test.
3445 * testsuite/27_io/objects/wchar_t/2523-1_xin.in: New.
3446 * testsuite/27_io/objects/wchar_t/2523-2_xin.cc: New test.
3447 * testsuite/27_io/objects/wchar_t/2523-2_xin.in: New.
3448 * testsuite/27_io/objects/wchar_t/3045.cc: New test.
3449 * testsuite/27_io/objects/wchar_t/3647.cc: New test.
3450 * testsuite/27_io/objects/wchar_t/3_xin.cc: New test.
3451 * testsuite/27_io/objects/wchar_t/3_xin.in: New.
3452 * testsuite/27_io/objects/wchar_t/4_xin.cc: New test.
3453 * testsuite/27_io/objects/wchar_t/4_xin.in: New.
3454 * testsuite/27_io/objects/wchar_t/5.cc: New test.
3455 * testsuite/27_io/objects/wchar_t/5268.cc: New test.
3456 * testsuite/27_io/objects/wchar_t/5280_xin.cc: New test.
3457 * testsuite/27_io/objects/wchar_t/5280_xin.in: New.
3458 * testsuite/27_io/objects/wchar_t/6.cc: New test.
3459 * testsuite/27_io/objects/wchar_t/6548_xin.cc: New test.
3460 * testsuite/27_io/objects/wchar_t/6548_xin.in: New.
3461 * testsuite/27_io/objects/wchar_t/6648-1_xin.cc: New test.
3462 * testsuite/27_io/objects/wchar_t/6648-1_xin.in: New.
3463 * testsuite/27_io/objects/wchar_t/6648-2_xin.cc: New test.
3464 * testsuite/27_io/objects/wchar_t/6648-2_xin.in: New.
3465 * testsuite/27_io/objects/wchar_t/7.cc: New test.
3466 * testsuite/27_io/objects/wchar_t/7744_xin.cc: New test.
3467 * testsuite/27_io/objects/wchar_t/7744_xin.in: New.
3468 * testsuite/27_io/objects/wchar_t/8.cc: New test.
3469 * testsuite/27_io/objects/wchar_t/9_xin.cc: New test.
3470 * testsuite/27_io/objects/wchar_t/9_xin.in: New.
3471 * testsuite/27_io/objects/wchar_t/9520.cc: New test.
3472 * testsuite/27_io/objects/wchar_t/9661-1.cc: New test.
3473 * testsuite/27_io/objects/wchar_t/9661-2_xin.cc: New test.
3474 * testsuite/27_io/objects/wchar_t/9661-2_xin.in: New.
3475 * testsuite/27_io/objects/wchar_t/9662.cc: New test.
3476 * testsuite/ext/stdiobuf_char.cc: New test.
3477 * testsuite/ext/stdiobuf_wchar_t.cc: New test.
3479 2003-05-10 Paolo Carlini <pcarlini@unitus.it>
3481 * testsuite/27_io/basic_filebuf/close/char/3.cc: Remove
3482 unnecessary includes and unused string literals.
3483 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
3485 2003-05-08 Paolo Carlini <pcarlini@unitus.it>
3487 * include/std/std_streambuf.h (setg, setp): Don't touch _M_mode.
3489 2003-05-07 Richard Henderson <rth@redhat.com>
3492 * libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
3493 (__cxa_end_catch): Likewise.
3494 * libsupc++/eh_throw.cc (__cxa_rethrow): Likewise. Use
3495 _Unwind_Resume_or_Rethrow.
3496 * libsupc++/eh_personality.cc (empty_exception_spec): New.
3497 (PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
3498 for _UA_FORCE_UNWIND. Honor empty filter spec for foreign
3499 exceptions. Don't push terminate/unexpected to cxa functions.
3500 (__cxa_call_unexpected): Remove foreign exception fixmes.
3502 2003-05-07 Benjamin Kosnik <bkoz@redhat.com>
3504 * testsuite/27_io/ios_base/cons: New.
3505 * testsuite/27_io/ios_base/cons/assign_neg.cc: New.
3506 * testsuite/27_io/ios_base/cons/copy_neg.cc: New.
3508 2003-05-07 Paolo Carlini <pcarlini@unitus.it>
3510 * include/std/std_fstream.h (_M_is_indeterminate): Remove.
3512 (basic_filebuf<char/wchar_t>::_M_underflow): Simplify: either
3513 there is no buffer or __testget == !__testinit.
3516 (basic_filebuf<char/wchar_t>::_M_underflow): _M_set_determinate()
3517 automatically sets, if appropriate, _M_out_cur == _M_in_cur.
3519 * include/std/std_fstream.h (_M_destroy_pback): Don't set
3520 unnecessarily _M_pback_cur_save and _M_pback_end_save.
3522 * include/std/std_fstream.h (_M_set_determinate): Minor tweak.
3524 * include/std/std_sstream.h (_M_sync): Minor tweak.
3526 * include/bits/fstream.tcc (close): No need to call
3527 _M_destroy_pback, setting _M_pback_init to false suffices
3530 2003-05-06 Benjamin Kosnik <bkoz@redhat.com>
3532 * include/bits/stl_algo.h: Enums as _S_.
3533 * include/bits/stl_tree.h: Same.
3534 * include/bits/stl_bvector.h: Same.
3535 * include/bits/ios_base.h: Same.
3536 * include/bits/stl_alloc.h: Same.
3537 * include/ext/stl_hashtable.h: Same.
3538 * src/ios.cc: And here.
3540 * include/std/std_sstream.h: Replace _M_really_sync to _M_sync.
3541 * include/bits/sstream.tcc: Same.
3543 * include/bits/basic_ios.h: Correct spacing for '< ctype'.
3545 * include/bits/locale_facets.tcc: Replace __temp to __tmp.
3547 * include/bits/locale_facets.h (__num_base): Remove protected.
3548 Use _S_[io]* names for enumerations.
3549 (_S_format_int): Remove.
3550 * include/bits/locale_facets.tcc: Same.
3551 * src/locale.cc: Same.
3553 * include/std/std_sstream.h (stringbuf::str): Tweak formatting.
3555 2003-05-06 Phil Edwards <pme@gcc.gnu.org>
3557 * docs/html/faq/index.html (3.10): Add note about mips atomicity.h.
3558 * docs/html/faq/index.txt: Regenerated.
3560 2003-05-06 Michael Ritzert <Ritzert@t-online.de>
3561 Matt Kraai <kraai@alumni.cmu.edu>
3563 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
3566 2003-05-06 Richard Sandiford <rsandifo@redhat.com>
3568 * configure.target (mips*): Use the generic atomicity.h by default.
3570 2003-05-05 Loren J. Rittle <ljrittle@acm.org>
3571 (Inspired by an alternate patch from Danny Smith.)
3573 * include/bits/stl_threads.h (_Atomic_swap): Kill it...
3574 (_Swap_lock_struct<>): ...and the horse it rode in on.
3575 * src/globals.cc (_Swap_lock_struct<>): Likewise.
3576 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New
3577 member to support...
3578 * include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory
3579 visibility rules related to POSIX threads.
3580 * testsuite/thread/pthread7-rope.cc: New test.
3582 2003-05-04 Paolo Carlini <pcarlini@unitus.it>
3584 * testsuite/21_strings/basic_string/find/char/3.cc: New
3585 file, testing basic_string<char>::find_first_not_of.
3586 * testsuite/21_strings/basic_string/find/wchar_t/3.cc:
3587 Likewise for basic_string<wchar_t>.
3589 2003-05-03 Loren J. Rittle <ljrittle@acm.org>
3591 * testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
3593 2003-05-02 Benjamin Kosnik <bkoz@redhat.com>
3595 * include/Makefile.am (CLEANFILES): Remove PCH files in target
3597 * include/Makefile.in: Regenerate.
3599 2003-05-02 Paolo Carlini <pcarlini@unitus.it>
3601 * include/std/std_sstream.h (str()): Tidy.
3603 2003-05-02 Nathan Myers <ncm@cantrip.org>
3604 Paolo Carlini <pcarlini@unitus.it>
3606 * include/bits/streambuf.tcc (__copy_streambufs): Rewrote.
3608 2003-05-02 Jonathan Wakely <redi@gcc.gnu.org>
3610 * include/bits/basic_string.h (swap): Remove redundant template
3611 parameters from declaration of non-template member function.
3613 2003-05-01 Phil Edwards <pme@gcc.gnu.org>
3615 * acconfig.h (_GLIBCPP_USE_NLS): New symbol.
3616 * configure.in: Move libintl.h header test...
3617 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): ...to here. Gather all
3618 the NLS-related test results into one symbol.
3619 * src/functexcept.cc: Use it here.
3620 * aclocal.m4, config.h.in, configure: Regenerated.
3622 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3624 * include/bits/sstream.tcc (overflow): Instead of calling
3625 str(), then _M_string.reserve, thus copying the contents
3626 of the current buffer two times, just copy the latter in
3627 a temporary, then use the 'swap trick'.
3629 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3631 * include/std/std_sstream.h (str()): Revert the best of the
3632 previous 'improvement', incorrect due to the COW nature of
3633 v3 basic_string; simplify.
3635 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3637 * include/bits/streambuf.tcc (__copy_streambufs): Adjust the
3638 type of __avail to ptrdiff_t to avoid signed-unsigned warning.
3640 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
3642 * testsuite/abi_check.cc (check_version): Update known versions.
3643 Check added symbols for version_name != base version. Add missing
3644 symbols to incompatible list.
3646 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
3648 * acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
3649 * aclocal.m4: Regenerated.
3650 * configure: Regenerated.
3652 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3654 * include/bits/streambuf.tcc (basic_streambuf::xsgetn):
3655 Const-ify some variables.
3656 (basic_streambuf::xsputn): Likewise; change the type of some
3657 variables to size_t.
3658 (__copy_streambufs): Change some variables to size_t.
3660 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3662 * include/std/std_sstream.h (str()): Avoid constructing
3663 a basic_string temporary not only when it would turn out
3664 to be zero-sized but also when identical to the current
3667 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3669 * include/ext/stdio_filebuf.h
3670 (stdio_filebuf(int, std::ios_base::openmode, bool, size_t),
3671 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t)):
3672 Shorten a bit (-10 lines) by factoring out some code.
3674 2003-04-30 Phil Edwards <pme@gcc.gnu.org>
3676 * acinclude.m4: Add bit missing from previous patch.
3677 * aclocal.m4, configure: Regenerated.
3679 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
3681 * docs/doxygen/mainpage.html: Bring up to date.
3682 * docs/doxygen/run_doxygen: Cosmetic tweaks. Work around a bug
3684 * docs/doxygen/user.cfg.in: Scanning the precompiled headers
3685 breaks everything. Don't scan them.
3686 * docs/html/documentation.html: Point to "Write after approval"
3689 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
3691 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Search for gettext outside
3692 of libc if message translations are being used. Fix info text in
3693 xieee_1003.1-2001 case.
3694 * aclocal.m4, configure: Regenerate.
3696 2003-04-29 Joel Sherrill <joel.sherrill@OARcorp.com>
3697 Loren J. Rittle <ljrittle@acm.org>
3698 Martin v. Loewis <martin@v.loewis.de>
3700 * config/cpu/i386/atomicity.h: New file.
3702 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
3704 * include/bits/fstream.tcc (open): Change to single return.
3706 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
3708 * include/std/std_sstream.h (underflow): Change to single return.
3710 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3712 * include/std/std_streambuf.h (_M_buf): is currently
3713 used only for basic_filebuf, therefore move it there.
3714 (basic_streambuf(), ~basic_streambuf()): Adjust.
3715 * include/std/std_fstream.h (_M_buf): Moved here.
3716 * include/std/std_sstream.h (setbuf): Don't set _M_buf,
3717 is actually redundant for basic_stringbuf.
3718 (_M_really_sync): Likewise.
3719 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
3720 * include/bits/sstream.tcc (seekoff): Adjust.
3722 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
3724 * src/localename.cc: Standardize exception strings.
3725 * src/locale.cc: Same.
3727 * include/bits/basic_string.tcc: Same.
3728 * include/bits/basic_ios.tcc: Same.
3729 * include/std/std_bitset.h: Same.
3730 * include/ext/ropeimpl.h: Same.
3731 * include/bits/stl_vector.h: Same.
3732 * include/bits/stl_deque.h: Same.
3733 * include/bits/stl_bvector.h: Same.
3734 * config/locale/generic/c_locale.cc: Same.
3735 * config/locale/gnu/c_locale.cc: Same.
3736 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
3738 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify.
3740 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3742 * include/std/std_streambuf.h (_M_buf_size): is currently
3743 used only for basic_filebuf, therefore move it there.
3744 (basic_streambuf(), ~basic_streambuf()): Adjust.
3745 * include/std/std_fstream.h (_M_buf_size): Moved here.
3746 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
3748 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3750 * include/bits/streambuf.tcc (__copy_streambufs): Don't use
3751 _M_buf_size (synced input is now correctly dealt with
3752 elsewhere); when the output buffer is full don't fall back
3753 to a snextc-sputc loop, call overflow instead.
3755 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3757 * include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
3758 the innermost 'if' by factoring out some code.
3760 2003-04-28 Phil Edwards <pme@gcc.gnu.org>
3762 * configure.in: Test for libintl.h.
3763 * include/bits/c++config: Define __N for everybody.
3764 * include/bits/basic_string.h, include/bits/stl_bvector.h,
3765 include/bits/stl_deque.h, include/bits/stl_vector.h,
3766 include/std/std_bitset.h: Wrap all __throw* text with __N.
3767 * po/Makefile.am (pot): New rule, mostly working.
3768 * src/functexcept.cc: Call gettext on all __throw* arguments when
3769 -fexceptions is in effect.
3770 * po/Makefile.in, config.h.in, configure: Regenerate.
3772 2003-04-28 Petur Runolfsson <peturr02@ru.is>
3775 * include/bits/ios_base.h (Init::_S_ios_create,
3776 Init::_S_ios_destroy): Remove declarations.
3777 (Init::_S_create_buffers,
3778 Init::_S_destroy_buffers): Declare
3779 * src/ios.cc (Init::_S_ios_create): Remove
3780 (Init::_S_create_buffers): Create buffers and add to streams.
3781 (Init::_S_ios_destroy): Rename to...
3782 (Init::_S_destroy_buffers): this.
3783 (Init::Init): Only construct streams once.
3784 (Init::~Init): Flush streams, don't destroy them.
3785 (ios_base::sync_with_stdio): Don't destroy streams, only buffers.
3786 * testsuite/27_io/ios_base/sync_with_stdio/9523.cc: New test.
3787 * testsuite/27_io/objects/char/5.cc: New test.
3788 * testsuite/27_io/objects/char/5268.cc: Avoid undefined behavior.
3789 * testsuite/27_io/objects/char/6.cc: New test.
3790 * testsuite/27_io/objects/char/7.cc: New test.
3792 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
3794 * testsuite/27_io/objects/char/8.cc: New test.
3796 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
3798 * testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage.
3799 * testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same.
3801 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
3803 * include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to
3804 _M_destroy_pback. _M_pback_create to
3805 _M_create_pback. _M_underflow_common to
3806 _M_underflow. _M_really_overflow to _M_overflow.
3807 * include/bits/fstream.tcc: Same.
3808 * src/fstream.cc: Same.
3809 * include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to
3810 _M_move_in_cur. _M_out_cur_move to _M_move_out_cur.
3811 * include/bits/streambuf.tcc: Same.
3812 * include/bits/fstream.tcc: Same.
3813 * include/bits/sstream.tcc: Same.
3815 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
3817 * include/bits/locale_classes.h (locale::_Impl): Change _M_names
3818 from fixed size array.
3819 (locale): Change _S_categories as well.
3821 * include/bits/locale_facets.tcc: Tweak.
3822 * config/locale/gnu/c_locale.cc: Assign _S_categories.
3823 * config/locale/generic/c_locale.cc: Same.
3824 * src/locale.cc: Tweak.
3825 * src/globals.cc: Change facet_name to name_vec, add names_c.
3826 * src/localename.cc: Use them.
3827 (locale::_Impl::~_Impl): Destroy _M_names.
3828 (locale::_Impl::_Impl): Create _M_names.
3830 2003-04-27 Andreas Schwab <schwab@suse.de>
3832 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
3833 (__enc_traits): Use __ibom and __ebom instead of ignoring them.
3835 2003-04-27 Nathan Myers <ncm@cantrip.org>
3837 Move some basic_string members out of line because
3838 they are too big to reasonably be inline.
3839 * include/bits/basic_string.h
3840 (assign(const basic_string&, size_type, size_type),
3841 assign(const _CharT*, size_type),
3842 insert(size_type, const basic_string&, size_type, size_type),
3843 insert(size_type, const _CharT*, size_type),
3844 replace(size_type, size_type, const _CharT*, size_type)):
3845 Move from here to...
3846 * include/bits/basic_string.tcc: ...here.
3848 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
3850 * include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines)
3851 the innermost 'if' by factoring out some code.
3853 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
3855 * include/bits/streambuf.tcc (__copy_streambufs): Don't
3856 use in_avail(), simplify.
3858 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
3860 * include/std/std_sstream.h (setbuf): don't set _M_buf_size,
3861 in basic_stringbuf it's unused.
3863 * include/std/std_sstream.h (underflow): consistently use
3864 _M_in_cur, not gptr().
3866 2003-04-25 Ranjit Mathew <rmathew@hotmail.com>
3867 Phil Edwards <pme@gcc.gnu.org>
3869 * testsuite_flags.in: Guard against the possibility
3870 of having "xgcc" as a part of a folder name in the
3871 path to the GCC build folder.
3872 * testsuite/Makefile.am: Likewise.
3873 * testsuite/Makefile.in: Regenerated.
3875 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
3878 * include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
3879 exception specifications.
3880 (basic_filebuf::close): Same.
3881 (basic_filebuf::_M_pback_destroy): Same.
3882 (basic_filebuf::_M_destroy_internal_buffer): Same.
3883 (basic_filebuf): Remove __res_type typedef.
3884 * src/fstream.cc: Same.
3885 * include/bits/fstream.tcc
3886 (basic_filebuf::_M_convert_to_external): Simplify.
3887 (basic_filebuf::seekoff): Use has_facet before use_facet.
3888 (basic_filebuf::close): Add exception specification of throw().
3889 * testsuite/27_io/basic_filebuf/cons: New.
3890 * testsuite/27_io/basic_filebuf/cons/wchar_t: New.
3891 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.
3892 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
3893 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.
3895 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
3897 * include/bits/locale_classes.h
3898 (locale::_S_extra_categories_size): Remove.
3899 * src/locale.cc: Remove _S_extra_categories_size.
3900 * src/localename.cc: Same.
3901 * config/locale/gnu/c_locale.cc: Same.
3902 * config/locale/generic/c_locale.cc: Same.
3904 2003-04-24 Richard Sandiford <rsandifo@redhat.com>
3906 * src/localename.cc (__gnu_cxx::facet_vec): Correct types.
3908 2003-04-24 Phil Edwards <pme@gcc.gnu.org>
3910 * docs/html/17_intro/howto.html: Update some links.
3911 * docs/html/18_support/howto.html: Link doxygen numeric_limits notes.
3912 * docs/html/27_io/howto.html: Link doxygen stdio_filebuf notes.
3913 * docs/html/ext/howto.html: Link to demangler notes and API.
3914 * docs/html/faq/index.html: Remove trailing whitespace.
3915 (1.4, 2.4, 3.8, 4.1): Bring up to date.
3916 (5.6): Change to a bulleted list.
3918 * docs/html/faq/index.txt, docs/html/documentation.html,
3919 docs/html/17_intro/porting.html: Regenerate.
3921 2003-04-23 Paolo Carlini <pcarlini@unitus.it>
3923 * testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now
3924 belongs to basic_filebuf.
3925 * testsuite/27_io/basic_fstream/3.cc: Likewise.
3926 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
3927 * testsuite/27_io/basic_ios/3.cc: Remove _S_pback_size
3928 instantiation (now belongs to basic_filebuf).
3929 * testsuite/27_io/basic_iostream/3.cc: Likewise.
3930 * testsuite/27_io/basic_istream/3.cc: Likewise.
3931 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
3932 _S_pback_size now belongs to basic_filebuf.
3933 * testsuite/27_io/basic_istringstream/3.cc: Remove _S_pback_size
3934 instantiation (now belongs to basic_filebuf).
3935 * testsuite/27_io/basic_ofstream/3.cc: _S_pback_size now
3936 belongs to basic_filebuf.
3937 * testsuite/27_io/basic_ostream/3.cc: Remove _S_pback_size
3938 instantiation (now belongs to basic_filebuf).
3939 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc:
3940 _S_pback_size now belongs to basic_filebuf.
3941 * testsuite/27_io/basic_ostringstream/3.cc: Remove _S_pback_size
3942 instantiation (now belongs to basic_filebuf).
3943 * testsuite/27_io/basic_streambuf/3.cc: _S_pback_size now belongs
3945 * testsuite/27_io/basic_stringbuf/3.cc: Remove _S_pback_size
3946 instantiation (now belongs to basic_filebuf).
3947 * testsuite/27_io/basic_stringstream/3.cc: Likewise.
3949 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
3951 * configure.in: Move GLIBCPP_CHECK_PCH before native/cross conditions.
3952 * configure: Regenerated.
3954 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
3956 * config/locale/generic/c_locale.h (__convert_from_v): Use
3959 2003-04-23 Phil Edwards <pme@gcc.gnu.org>
3961 * docs/html/ext/howto.html ('LWG Issues'): Add issue 60, partial
3962 implementation only.
3963 * include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
3964 Comment and change to comply with DR 60 and the effect on gcount().
3965 * include/std/std_istream.h: Update comments.
3966 * testsuite/27_io/basic_istream/putback/char/1.cc (test01): Add
3967 comments about reasons for tests. Test sync() against gcount().
3968 * testsuite/27_io/basic_istream/seekg/char/2.cc: New file, test
3969 for effect on gcount().
3970 * testsuite/27_io/basic_istream/tellg/char/2.cc: New file, test
3971 for effect on gcount().
3973 2003-04-22 Loren J. Rittle <ljrittle@acm.org>
3975 * testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
3978 2003-04-22 Paolo Carlini <pcarlini@unitus.it>
3980 * include/std/std_streambuf.h (_S_pback_size, _M_pback,
3981 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
3982 _M_pback_create(), _M_pback_destroy()): Move to basic_filebuf.
3983 (basic_streambuf::basic_streambuf()): Adjust.
3984 * include/std/std_fstream.h (_S_pback_size, _M_pback,
3985 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
3986 _M_pback_create(), _M_pback_destroy()): Moved here
3987 from basic_streambuf.
3988 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf()):
3990 (basic_filebuf::_S_pback_size): Add declaration.
3991 * include/bits/streambuf.tcc (basic_streambuf::_S_pback_size):
3994 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
3996 Consistently use _M_in_beg instead of eback(), _M_in_cur
3997 instead of gptr(), and so on.
3998 * include/bits/fstream.tcc (pbackfail, imbue): Here.
3999 * include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto.
4000 * include/bits/streambuf.tcc (sbumpc, sputbackc,
4001 __copy_streambufs): Ditto.
4002 * include/std/std_streambuf.h (sgetc): Ditto.
4004 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
4006 * include/bits/sstream.tcc (pbackfail, overflow):
4009 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
4011 * include/std/std_streambuf.h (uflow()): It's used only by
4012 basic_stringbuf (i.e., basic_filebuf provide its own uflow()),
4013 therefore do not consider the _M_buf_unified == true case.
4015 * include/std/std_streambuf.h (sgetc()): Restore __ret variable.
4017 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
4019 * docs/html/ext/howto.html ('LWG Issues'):
4020 Add issues 19, 90, 171, 231, 271.
4022 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
4024 * include/bits/sstream.tcc (pbackfail): Remove redundant
4025 NULL pointer check from test involving _M_in_*.
4026 (overflow, seekoff, seekpos): Const qualify bool variables.
4027 * include/std/std_sstream.h (underflow): Remove redundant
4028 NULL pointer check from test involving _M_in_*.
4029 (_M_really_sync): Const qualify bool variables.
4030 * src/fstream.cc (_M_underflow_common): Remove redundant
4031 NULL pointer check from test involving _M_in_*, const qualify
4034 * include/std/std_streambuf.h (sgetc): Remove redundant
4037 2003-04-18 Paolo Carlini <pcarlini@unitus.it>
4039 According to 5.9 para 2 (second bullet) for pointers p, q
4040 pointing to the same type, with p == 0 and q == 0, (p < q)
4042 * include/bits/fstream.tcc (close, overflow, _M_really_overflow,
4043 seekoff): Remove redundant NULL pointer checks from tests
4044 involving _M_out_* and _M_in_*, const qualify bool variables.
4045 (showmanyc, pbackfail, _M_convert_to_external, imbue): Const
4046 qualify bool variables.
4047 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc):
4048 Remove redundant NULL pointer checks from tests involving
4049 _M_out_* and _M_in_*, const qualify bool variables.
4050 * include/std/std_fstream.h (sync): Likewise.
4051 (_M_is_indeterminate): Const qualify bool variables.
4052 * include/std/std_streambuf.h (sgetc, uflow): Remove redundant
4053 NULL pointer checks from tests involving _M_out_* and _M_in_*,
4054 const qualify bool variables.
4055 (_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool
4058 2003-04-18 Loren J. Rittle <ljrittle@acm.org>
4060 * include/c_std/std_cmath.h (C99 FP capture): Only undefine said
4061 C99 FP macros, if actually captured.
4063 * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
4064 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
4065 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
4066 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
4067 * config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
4069 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
4070 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
4071 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
4072 * include/c_std/std_cstdlib.h: Use new macros.
4073 * include/c_std/std_cstdio.h: Use new macros.
4074 * include/c_std/std_cwchar.h: Use new macros.
4076 2003-04-17 Benjamin Kosnik <bkoz@redhat.com>
4079 * include/bits/ostream.tcc: Catch all exceptions for formatted
4080 output, instead of std::exception and derivatives.
4081 * include/bits/istream.tcc: Same.
4082 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
4083 * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
4084 * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
4085 * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
4086 * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
4087 * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
4090 2003-04-17 Phil Edwards <pme@gcc.gnu.org>
4092 * include/bits/c++config: Minor cosmetic tweaks.
4094 2003-04-17 Loren J. Rittle <ljrittle@acm.org>
4096 * testsuite_flags.in (PCHFLAGS): Find PCH in new home.
4097 * include/Makefile.am (pch_input): Find in ${target_builddir}.
4098 (pch_output): Rename to...
4099 (pch_output_builddir): ..this. Find in ${target_builddir}.
4100 (pch_source): Tweak.
4101 (pch_build): Key off a built file.
4102 (pch_output rule): Rename to...
4103 (pch_input rule): ...this. Produce ${pch_output_builddir}
4104 instead of ${pch_output}.
4105 (install-pch rule): Install ${pch_output_builddir}.
4106 * include/Makefile.in: Regenerated.
4108 2003-04-17 Paolo Carlini <pcarlini@unitus.it>
4110 * include/std/std_streambuf.h (setp): _M_out_lim, being
4111 the end limit of used put area, is set equal to _M_out_beg.
4113 2003-04-16 Benjamin Kosnik <bkoz@redhat.com>
4115 * acinclude.m4 (GLIBCPP_CHECK_PCH): New.
4116 * aclocal.m4: Regenerated.
4117 * configure.in: Remove old demangler bits.
4119 * configure: Regenerate.
4120 * config.h.in: Regenerate.
4121 * include/Makefile.am (allstamps): Now allstamped.
4122 (allcreated): Define this.
4123 (all-local): Use 'em.
4124 Conditionally define pch_build, pch_install based on
4126 (${pch_output}): New rule.
4127 (install-pch): New rule.
4128 (install-headers): New rule.
4129 (install-data-local): Install headers and conditionally pch.
4130 * include/Makefile.in: Regenerate.
4131 * testsuite_flags.in (--build-cxx): Use pch file.
4133 2003-04-16 Jonathan Wakely <redi@gcc.gnu.org>
4135 * docs/html/ext/sgiexts.html: Fix path to stylesheet.
4137 2003-04-15 Benjamin Kosnik <bkoz at redhat dot com>
4138 Paolo Carlini <pcarlini at unitus dot it>
4141 * docs/html/27_io/howto.html
4142 ('The buffering is screwing up my program!'): Explain that
4143 opening counts as an I/O operation.
4145 2003-04-15 Andreas Tobler <a.tobler@schweiz.ch>
4147 * testsuite/thread/pthread1.cc: Enable for darwin test.
4148 * testsuite/thread/pthread2.cc: Same.
4149 * testsuite/thread/pthread3.cc: Same.
4150 * testsuite/thread/pthread4.cc: Same.
4151 * testsuite/thread/pthread5.cc: Same.
4152 * testsuite/thread/pthread6.cc: Same.
4154 2003-04-15 Loren J. Rittle <ljrittle@acm.org>
4157 * include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
4158 Populate it with multiple legal ways to obtain the C99 float
4159 transcendentals. Use them instead of direct global reference.
4160 (C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
4161 * docs/html/17_intro/porting.texi
4162 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
4163 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
4164 (_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
4165 * config/os/bsd/freebsd/os_defines.h
4166 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
4167 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
4168 * testsuite/26_numerics/c_math_dynamic.cc: New file.
4170 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
4171 Benjamin Kosnik <bkoz@redhat.com>
4173 * config/os/generic/ctype_inline.h: Fix.
4175 2003-04-14 Benjamin Kosnik <bkoz@redhat.com>
4177 * testsuite/testsuite_hooks.h
4178 (__gnu_cxx_test::run_test_wrapped_generic_locale_exception_catcher):
4179 Change to try_named_locale.
4180 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Same.
4182 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Use
4184 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
4185 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
4186 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Same.
4187 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Same.
4188 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Same.
4189 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Same.
4190 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Same.
4191 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Same.
4192 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Same.
4193 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Same.
4194 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Same.
4195 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Same.
4196 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Same.
4197 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Same.
4198 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Same.
4199 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
4200 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
4201 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
4202 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Same.
4203 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Same.
4204 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Same.
4205 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Same.
4206 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Same.
4207 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Same.
4208 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Same.
4209 * testsuite/22_locale/collate/compare/char/1.cc: Same.
4210 * testsuite/22_locale/collate/compare/char/2.cc: Same.
4211 * testsuite/22_locale/collate/compare/char/3.cc: Same.
4212 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Same.
4213 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Same.
4214 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Same.
4215 * testsuite/22_locale/collate/hash/char/2.cc: Same.
4216 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
4217 * testsuite/22_locale/collate/transform/char/2.cc: Same.
4218 * testsuite/22_locale/collate/transform/char/3.cc: Same.
4219 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
4220 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Same.
4221 * testsuite/22_locale/collate_byname/1.cc: Same.
4222 * testsuite/22_locale/ctype/is/char/2.cc: Same.
4223 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
4224 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Same.
4225 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Same.
4226 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Same.
4227 * testsuite/22_locale/facet/2.cc: Same.
4228 * testsuite/22_locale/locale/cons/2.cc: Same.
4229 * testsuite/22_locale/locale/cons/4.cc: Same.
4230 * testsuite/22_locale/locale/cons/5.cc: Same.
4231 * testsuite/22_locale/locale/cons/7.cc: Same.
4232 * testsuite/22_locale/locale/cons/7222-c.cc: Same.
4233 * testsuite/22_locale/locale/cons/7222-env.cc: Same.
4234 * testsuite/22_locale/locale/global_locale_objects/2.cc: Same.
4235 * testsuite/22_locale/messages/members/char/1.cc: Same.
4236 * testsuite/22_locale/messages/members/char/2.cc: Same.
4237 * testsuite/22_locale/messages/members/char/3.cc: Same.
4238 * testsuite/22_locale/messages_byname/1.cc: Same.
4239 * testsuite/22_locale/money_get/get/char/1.cc: Same.
4240 * testsuite/22_locale/money_get/get/char/2.cc: Same.
4241 * testsuite/22_locale/money_get/get/char/3.cc: Same.
4242 * testsuite/22_locale/money_get/get/char/4.cc: Same.
4243 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Same.
4244 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Same.
4245 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Same.
4246 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Same.
4247 * testsuite/22_locale/money_put/put/char/1.cc: Same.
4248 * testsuite/22_locale/money_put/put/char/2.cc: Same.
4249 * testsuite/22_locale/money_put/put/char/3.cc: Same.
4250 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Same.
4251 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Same.
4252 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Same.
4253 * testsuite/22_locale/moneypunct/members/char/2.cc: Same.
4254 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Same.
4255 * testsuite/22_locale/moneypunct_byname/1.cc: Same.
4256 * testsuite/22_locale/num_get/get/char/1.cc: Same.
4257 * testsuite/22_locale/num_get/get/char/2.cc: Same.
4258 * testsuite/22_locale/num_get/get/char/3.cc: Same.
4259 * testsuite/22_locale/num_get/get/char/5.cc: Same.
4260 * testsuite/22_locale/num_get/get/char/6.cc: Same.
4261 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Same.
4262 * testsuite/22_locale/num_get/get/wchar_t/2.cc: Same.
4263 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Same.
4264 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Same.
4265 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Same.
4266 * testsuite/22_locale/num_put/put/char/1.cc: Same.
4267 * testsuite/22_locale/num_put/put/char/2.cc: Same.
4268 * testsuite/22_locale/num_put/put/char/3.cc: Same.
4269 * testsuite/22_locale/num_put/put/char/5.cc: Same.
4270 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Same.
4271 * testsuite/22_locale/num_put/put/wchar_t/2.cc: Same.
4272 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Same.
4273 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Same.
4274 * testsuite/22_locale/numpunct/members/char/1.cc: Same.
4275 * testsuite/22_locale/numpunct/members/char/2.cc: Same.
4276 * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Same.
4277 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Same.
4278 * testsuite/22_locale/numpunct_byname/1.cc: Same.
4279 * testsuite/22_locale/numpunct_byname/2.cc: Same.
4280 * testsuite/22_locale/time_get/date_order/char/1.cc: Same.
4281 * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Same.
4282 * testsuite/22_locale/time_get/get_date/char/1.cc: Same.
4283 * testsuite/22_locale/time_get/get_date/char/2.cc: Same.
4284 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Same.
4285 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Same.
4286 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Same.
4287 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Same.
4288 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Same.
4289 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Same.
4290 * testsuite/22_locale/time_get/get_time/char/1.cc: Same.
4291 * testsuite/22_locale/time_get/get_time/char/2.cc: Same.
4292 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Same.
4293 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Same.
4294 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Same.
4295 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Same.
4296 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Same.
4297 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Same.
4298 * testsuite/22_locale/time_get/get_year/char/1.cc: Same.
4299 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Same.
4300 * testsuite/22_locale/time_put/put/char/1.cc: Same.
4301 * testsuite/22_locale/time_put/put/char/2.cc: Same.
4302 * testsuite/22_locale/time_put/put/char/3.cc: Same.
4303 * testsuite/22_locale/time_put/put/char/4.cc: Same.
4304 * testsuite/22_locale/time_put/put/char/5.cc: Same.
4305 * testsuite/22_locale/time_put/put/char/6.cc: Same.
4306 * testsuite/22_locale/time_put/put/char/7.cc: Same.
4307 * testsuite/22_locale/time_put/put/char/8.cc: Same.
4308 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Same.
4309 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Same.
4310 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Same.
4311 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Same.
4312 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Same.
4313 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Same.
4314 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Same.
4315 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Same.
4316 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Same.
4317 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Same.
4318 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Same.
4319 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Same.
4320 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Same.
4322 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
4324 * configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
4325 solaris includes, not generic.
4327 2003-04-14 Loren J. Rittle <ljrittle@acm.org>
4329 * testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
4331 * include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit.
4332 * include/bits/concept_check.h: Fix multi-line comment.
4333 * testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
4334 when target is *-*-freebsd*.
4336 2003-04-14 Nathan Myers <ncm@cantrip.org>
4337 Paolo Carlini <pcarlini@unitus.it>
4339 PR libstdc++/9701 (in_avail())
4340 * include/std/std_streambuf.h (in_avail): Simplify, in_avail
4341 doesn't care if there is anything in some putback cell.
4342 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add.
4344 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some
4345 unused string literals.
4347 2003-04-14 Paolo Carlini <pcarlini@unitus.it>
4349 * include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set
4350 _M_out_end, _M_set_indeterminate() does it.
4352 2003-04-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4354 * os/hpux/ctype_inline.h: Replace with gnu-linux version.
4356 2003-04-12 David Edelsohn <edelsohn@gnu.org>
4358 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
4359 Change basic_streambuf instantiation to "unsigned char".
4360 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
4362 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
4364 Remove _M_buf_size_opt, use directly _M_buf_size instead.
4365 * include/bits/fstream.tcc
4366 (basic_filebuf::_M_allocate_internal_buffer, setbuf): Remove
4367 references to _M_buf_size_opt.
4368 * include/bits/sstream.tcc (basic_stringbuf::overflow): Likewise.
4369 * include/bits/streambuf.tcc (__copy_streambufs): Likewise, rename
4370 __bufsize to __in_avail and __size_opt to __buf_size.
4371 * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): Likewise.
4372 * include/std/std_sstream.h (_M_stringbuf_init, setbuf): Likewise.
4373 * include/std/std_streambuf.h (~basic_streambuf(),
4374 basic_streambuf()): Likewise, remove _M_buf_size_opt member.
4375 * testsuite/27_io/basic_filebuf/close/char/3.cc: Set _M_buf_size.
4376 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
4377 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Likewise.
4378 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Likewise.
4379 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Likewise.
4380 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Likewise.
4381 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Likewise.
4382 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Likewise.
4383 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
4384 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
4385 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
4386 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
4388 2003-04-12 Paolo Carlini <pcarlini at unitus dot it>
4390 * include/ext/stdio_filebuf.h
4391 (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
4392 stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
4393 _M_buf_size_opt == 0 only means "not to use an allocated buffer"
4394 since a stack-based buffer is used for small values of the size_t
4396 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
4397 If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
4398 * testsuite/ext/stdio_filebuf_2.cc: New testfile.
4400 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
4403 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: New.
4404 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Ditto.
4406 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4408 * testsuite/22_locale/locale/cons/3.cc: Split.
4409 * testsuite/22_locale/locale/cons/7222-c.cc: New.
4410 * testsuite/22_locale/locale/cons/7222-env.cc: New.
4411 Check before trying to create a locale from the environment.
4412 * testsuite/27_io/ios_base/state/1.cc (test02): Use "C" locale.
4413 * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
4416 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4418 * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic
4419 locale to construct this hybrid locale, not the global locale.
4421 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4423 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
4424 instantiation for AIX.
4425 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
4426 * testsuite/25_algorithms/min_max.cc: Same.
4428 2003-04-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4430 * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
4431 twice. Always set _M_cfile to 0 when stream was open.
4433 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
4435 Reshuffle 27_io testsuite. * testsuite/27_io/filebuf.cc,
4436 filebuf_members-1.tst, filebuf_members-1.txt, filebuf_members.cc,
4437 filebuf_virtuals-1.tst, filebuf_virtuals-1.txt,
4438 filebuf_virtuals-2.tst, filebuf_virtuals-3.tst,
4439 filebuf_virtuals.cc, fpos.cc, fstream.cc, fstream_members.cc,
4440 ifstream.cc, ifstream_members-1.tst, ifstream_members-1.txt,
4441 ifstream_members.cc, instantiations.cc, ios.cc,
4442 ios_base_callbacks.cc, ios_base_members_static-1.tst,
4443 ios_base_members_static.cc, ios_base_storage.cc,
4444 ios_base_types.cc, ios_ctor.cc, ios_init.cc,
4445 ios_manip_basefield.cc, ios_manip_fmtflags.cc, ios_members.cc,
4446 iostream.cc, iostream_members.cc, istream.cc,
4447 istream_exception.cc, istream_extractor_char.cc,
4448 istream_extractor_other-1.tst, istream_extractor_other-1.txt,
4449 istream_extractor_other-2.tst, istream_extractor_other.cc,
4450 istream_manip.cc, istream_seeks-1.tst, istream_seeks-1.txt,
4451 istream_seeks-2.tst, istream_seeks-3.tst, istream_seeks.cc,
4452 istream_sentry.cc, istream_unformatted-1.tst,
4453 istream_unformatted-1.txt, istream_unformatted.cc,
4454 istringstream.cc, istringstream_members.cc,
4455 narrow_stream_objects.cc, ofstream.cc, ofstream_members-1.tst,
4456 ofstream_members.cc, ostream.cc, ostream_exception.cc,
4457 ostream_fail.cc, ostream_inserter_arith.cc,
4458 ostream_inserter_char-1.tst, ostream_inserter_char-1.txt,
4459 ostream_inserter_char.cc, ostream_inserter_other-1.tst,
4460 ostream_inserter_other-2.tst, ostream_inserter_other.cc,
4461 ostream_manip.cc, ostream_seeks-1.tst, ostream_seeks.cc,
4462 ostream_sentry.cc, ostream_unformatted.cc, ostringstream.cc,
4463 ostringstream_members.cc, standard_manipulators.cc, streambuf.cc,
4464 streambuf_members.cc, stringbuf.cc, stringbuf_members.cc,
4465 stringbuf_virtuals.cc, stringstream.cc, stringstream_members.cc,
4466 wide_stream_objects.cc, istream_extractor_arith/01.cc,
4467 istream_extractor_arith/02.cc, istream_extractor_arith/03.cc,
4468 istream_extractor_arith/06.cc, istream_extractor_arith/07.cc,
4469 istream_extractor_arith/08.cc, istream_extractor_arith/09.cc,
4470 istream_extractor_arith/10.cc, istream_extractor_arith/11.cc,
4471 istream_extractor_arith/12.cc, istream_extractor_arith/13.cc:
4473 * 27_io/basic_filebuf/1.cc: New.
4474 * 27_io/basic_filebuf/2.cc: New.
4475 * 27_io/basic_filebuf/3.cc: New.
4476 * 27_io/basic_filebuf/4.cc: New.
4477 * 27_io/basic_filebuf/close/char/1.cc: New.
4478 * 27_io/basic_filebuf/close/char/2.cc: New.
4479 * 27_io/basic_filebuf/close/char/3.cc: New.
4480 * 27_io/basic_filebuf/close/char/4879.cc: New.
4481 * 27_io/basic_filebuf/close/char/9964.cc: New.
4482 * 27_io/basic_filebuf/imbue/char/1.cc: New.
4483 * 27_io/basic_filebuf/imbue/char/9322.cc: New.
4484 * 27_io/basic_filebuf/in_avail/char/1.cc: New.
4485 * 27_io/basic_filebuf/is_open/char/1.cc: New.
4486 * 27_io/basic_filebuf/open/char/1.cc: New.
4487 * 27_io/basic_filebuf/open/char/2.cc: New.
4488 * 27_io/basic_filebuf/open/char/3.cc: New.
4489 * 27_io/basic_filebuf/open/char/9507.cc: New.
4490 * 27_io/basic_filebuf/overflow/char/1.cc: New.
4491 * 27_io/basic_filebuf/overflow/char/3599.cc: New.
4492 * 27_io/basic_filebuf/overflow/char/9169.cc: New.
4493 * 27_io/basic_filebuf/overflow/char/9182-2.cc: New.
4494 * 27_io/basic_filebuf/overflow/char/9988.cc: New.
4495 * 27_io/basic_filebuf/sbumpc/char/1.cc: New.
4496 * 27_io/basic_filebuf/sbumpc/char/9825.cc: New.
4497 * 27_io/basic_filebuf/seekoff/char/1.cc: New.
4498 * 27_io/basic_filebuf/seekoff/char/2.cc: New.
4499 * 27_io/basic_filebuf/seekpos/char/1.cc: New.
4500 * 27_io/basic_filebuf/seekpos/char/2.cc: New.
4501 * 27_io/basic_filebuf/setbuf/char/1.cc: New.
4502 * 27_io/basic_filebuf/setbuf/char/2.cc: New.
4503 * 27_io/basic_filebuf/setbuf/char/3.cc: New.
4504 * 27_io/basic_filebuf/sgetc/char/1.cc: New.
4505 * 27_io/basic_filebuf/sgetn/char/1.cc: New.
4506 * 27_io/basic_filebuf/sgetn/char/2.cc: New.
4507 * 27_io/basic_filebuf/snextc/char/1.cc: New.
4508 * 27_io/basic_filebuf/sputbackc/char/1.cc: New.
4509 * 27_io/basic_filebuf/sputbackc/char/9425.cc: New.
4510 * 27_io/basic_filebuf/sputc/char/1.cc: New.
4511 * 27_io/basic_filebuf/sputc/char/1057.cc: New.
4512 * 27_io/basic_filebuf/sputc/char/9701-2.cc: New.
4513 * 27_io/basic_filebuf/sputn/char/1.cc: New.
4514 * 27_io/basic_filebuf/sputn/char/1057.cc: New.
4515 * 27_io/basic_filebuf/sputn/char/9701-1.cc: New.
4516 * 27_io/basic_filebuf/sungetc/char/1.cc: New.
4517 * 27_io/basic_filebuf/sync/char/1057.cc: New.
4518 * 27_io/basic_filebuf/sync/char/9182-1.cc: New.
4519 * 27_io/basic_filebuf/underflow/char/10097.cc: New.
4520 * 27_io/basic_fstream/1.cc: New.
4521 * 27_io/basic_fstream/2.cc: New.
4522 * 27_io/basic_fstream/3.cc: New.
4523 * 27_io/basic_fstream/4.cc: New.
4524 * 27_io/basic_fstream/rdbuf/char/2832.cc: New.
4525 * 27_io/basic_ifstream/1.cc: New.
4526 * 27_io/basic_ifstream/2.cc: New.
4527 * 27_io/basic_ifstream/3.cc: New.
4528 * 27_io/basic_ifstream/4.cc: New.
4529 * 27_io/basic_ifstream/cons/char/1.cc: New.
4530 * 27_io/basic_ifstream/open/char/1.cc: New.
4531 * 27_io/basic_ifstream/rdbuf/char/2832.cc: New.
4532 * 27_io/basic_ios/1.cc: New.
4533 * 27_io/basic_ios/2.cc: New.
4534 * 27_io/basic_ios/3.cc: New.
4535 * 27_io/basic_ios/4.cc: New.
4536 * 27_io/basic_ios/clear/char/1.cc: New.
4537 * 27_io/basic_ios/cons/char/1.cc: New.
4538 * 27_io/basic_ios/cons/char/2.cc: New.
4539 * 27_io/basic_ios/cons/char/3.cc: New.
4540 * 27_io/basic_ios/copyfmt/char/1.cc: New.
4541 * 27_io/basic_ios/copyfmt/char/2.cc: New.
4542 * 27_io/basic_ios/exceptions/char/1.cc: New.
4543 * 27_io/basic_ios/locales/char/1.cc: New.
4544 * 27_io/basic_iostream/1.cc: New.
4545 * 27_io/basic_iostream/2.cc: New.
4546 * 27_io/basic_iostream/3.cc: New.
4547 * 27_io/basic_iostream/4.cc: New.
4548 * 27_io/basic_istream/1.cc: New.
4549 * 27_io/basic_istream/2.cc: New.
4550 * 27_io/basic_istream/3.cc: New.
4551 * 27_io/basic_istream/4.cc: New.
4552 * 27_io/basic_istream/exceptions/char/9561.cc: New.
4553 * 27_io/basic_istream/extractors_arithmetic/char/01.cc: New.
4554 * 27_io/basic_istream/extractors_arithmetic/char/02.cc: New.
4555 * 27_io/basic_istream/extractors_arithmetic/char/03.cc: New.
4556 * 27_io/basic_istream/extractors_arithmetic/char/06.cc: New.
4557 * 27_io/basic_istream/extractors_arithmetic/char/07.cc: New.
4558 * 27_io/basic_istream/extractors_arithmetic/char/08.cc: New.
4559 * 27_io/basic_istream/extractors_arithmetic/char/09.cc: New.
4560 * 27_io/basic_istream/extractors_arithmetic/char/10.cc: New.
4561 * 27_io/basic_istream/extractors_arithmetic/char/11.cc: New.
4562 * 27_io/basic_istream/extractors_arithmetic/char/12.cc: New.
4563 * 27_io/basic_istream/extractors_arithmetic/char/13.cc: New.
4564 * 27_io/basic_istream/extractors_character/char/1.cc: New.
4565 * 27_io/basic_istream/extractors_character/char/2.cc: New.
4566 * 27_io/basic_istream/extractors_character/char/3.cc: New.
4567 * 27_io/basic_istream/extractors_character/char/9826.cc: New.
4568 * 27_io/basic_istream/extractors_other/char/1.cc: New.
4569 * 27_io/basic_istream/extractors_other/char/2.cc: New.
4570 * 27_io/basic_istream/extractors_other/char/3.cc: New.
4571 * 27_io/basic_istream/extractors_other/char/9318-in.cc: New.
4572 * 27_io/basic_istream/extractors_other/char/9424-in.cc: New.
4573 * 27_io/basic_istream/get/char/1.cc: New.
4574 * 27_io/basic_istream/get/char/2.cc: New.
4575 * 27_io/basic_istream/getline/char/1.cc: New.
4576 * 27_io/basic_istream/getline/char/2.cc: New.
4577 * 27_io/basic_istream/getline/char/3.cc: New.
4578 * 27_io/basic_istream/ignore/char/1.cc: New.
4579 * 27_io/basic_istream/ignore/char/6360.cc: New.
4580 * 27_io/basic_istream/ignore/char/7220.cc: New.
4581 * 27_io/basic_istream/peek/char/1.cc: New.
4582 * 27_io/basic_istream/peek/char/6414.cc: New.
4583 * 27_io/basic_istream/putback/char/1.cc: New.
4584 * 27_io/basic_istream/read/char/1.cc: New.
4585 * 27_io/basic_istream/read/char/2.cc: New.
4586 * 27_io/basic_istream/read/char/3.cc: New.
4587 * 27_io/basic_istream/readsome/char/6746-1.cc: New.
4588 * 27_io/basic_istream/readsome/char/6746-2.cc: New.
4589 * 27_io/basic_istream/readsome/char/8258.cc: New.
4590 * 27_io/basic_istream/seekg/char/2346-fstream.cc: New.
4591 * 27_io/basic_istream/seekg/char/2346-sstream.cc: New.
4592 * 27_io/basic_istream/seekg/char/8348-1.cc: New.
4593 * 27_io/basic_istream/seekg/char/8348-2.cc: New.
4594 * 27_io/basic_istream/seekg/char/fstream.cc: New.
4595 * 27_io/basic_istream/seekg/char/sstream.cc: New.
4596 * 27_io/basic_istream/sentry/char/1.cc: New.
4597 * 27_io/basic_istream/sentry/char/2.cc: New.
4598 * 27_io/basic_istream/sentry/char/3.cc: New.
4599 * 27_io/basic_istream/sentry/char/3983-fstream.cc: New.
4600 * 27_io/basic_istream/sentry/char/3983-sstream.cc: New.
4601 * 27_io/basic_istream/tellg/char/1.cc: New.
4602 * 27_io/basic_istream/tellg/char/8348.cc: New.
4603 * 27_io/basic_istream/tellg/char/fstream.cc: New.
4604 * 27_io/basic_istream/tellg/char/sstream.cc: New.
4605 * 27_io/basic_istream/ws/char/1.cc: New.
4606 * 27_io/basic_istringstream/1.cc: New.
4607 * 27_io/basic_istringstream/2.cc: New.
4608 * 27_io/basic_istringstream/3.cc: New.
4609 * 27_io/basic_istringstream/4.cc: New.
4610 * 27_io/basic_istringstream/rdbuf/char/2832.cc: New.
4611 * 27_io/basic_istringstream/str/char/1.cc: New.
4612 * 27_io/basic_ofstream/1.cc: New.
4613 * 27_io/basic_ofstream/2.cc: New.
4614 * 27_io/basic_ofstream/3.cc: New.
4615 * 27_io/basic_ofstream/4.cc: New.
4616 * 27_io/basic_ofstream/cons/char/2.cc: New.
4617 * 27_io/basic_ofstream/open/char/1.cc: New.
4618 * 27_io/basic_ofstream/rdbuf/char/2832.cc: New.
4619 * 27_io/basic_ostream/1.cc: New.
4620 * 27_io/basic_ostream/2.cc: New.
4621 * 27_io/basic_ostream/3.cc: New.
4622 * 27_io/basic_ostream/4.cc: New.
4623 * 27_io/basic_ostream/cons/char/9827.cc: New.
4624 * 27_io/basic_ostream/endl/char/1.cc: New.
4625 * 27_io/basic_ostream/ends/char/1.cc: New.
4626 * 27_io/basic_ostream/ends/char/2.cc: New.
4627 * 27_io/basic_ostream/exceptions/char/9561.cc: New.
4628 * 27_io/basic_ostream/flush/char/1.cc: New.
4629 * 27_io/basic_ostream/inserters_arithmetic/char/1.cc: New.
4630 * 27_io/basic_ostream/inserters_arithmetic/char/2.cc: New.
4631 * 27_io/basic_ostream/inserters_arithmetic/char/3.cc: New.
4632 * 27_io/basic_ostream/inserters_arithmetic/char/4.cc: New.
4633 * 27_io/basic_ostream/inserters_arithmetic/char/4402.cc: New.
4634 * 27_io/basic_ostream/inserters_arithmetic/char/5.cc: New.
4635 * 27_io/basic_ostream/inserters_arithmetic/char/6.cc: New.
4636 * 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: New.
4637 * 27_io/basic_ostream/inserters_character/char/1.cc: New.
4638 * 27_io/basic_ostream/inserters_character/char/2.cc: New.
4639 * 27_io/basic_ostream/inserters_character/char/3.cc: New.
4640 * 27_io/basic_ostream/inserters_character/char/4.cc: New.
4641 * 27_io/basic_ostream/inserters_character/char/5.cc: New.
4642 * 27_io/basic_ostream/inserters_character/char/6.cc: New.
4643 * 27_io/basic_ostream/inserters_character/char/8.cc: New.
4644 * 27_io/basic_ostream/inserters_character/wchar_t/7.cc: New.
4645 * 27_io/basic_ostream/inserters_character/wchar_t/8.cc: New.
4646 * 27_io/basic_ostream/inserters_other/char/1.cc: New.
4647 * 27_io/basic_ostream/inserters_other/char/2.cc: New.
4648 * 27_io/basic_ostream/inserters_other/char/3.cc: New.
4649 * 27_io/basic_ostream/inserters_other/char/4.cc: New.
4650 * 27_io/basic_ostream/inserters_other/char/9318-out.cc: New.
4651 * 27_io/basic_ostream/inserters_other/char/9424-out.cc: New.
4652 * 27_io/basic_ostream/sentry/char/1.cc: New.
4653 * 27_io/basic_ostream/sentry/char/2.cc: New.
4654 * 27_io/basic_ostream/sentry/char/3983-fstream.cc: New.
4655 * 27_io/basic_ostream/sentry/char/3983-sstream.cc: New.
4656 * 27_io/basic_ostream/tellp/char/1.cc: New.
4657 * 27_io/basic_ostream/tellp/char/2.cc: New.
4658 * 27_io/basic_ostringstream/1.cc: New.
4659 * 27_io/basic_ostringstream/2.cc: New.
4660 * 27_io/basic_ostringstream/3.cc: New.
4661 * 27_io/basic_ostringstream/4.cc: New.
4662 * 27_io/basic_ostringstream/cons/char/3.cc: New.
4663 * 27_io/basic_ostringstream/rdbuf/char/2832.cc: New.
4664 * 27_io/basic_ostringstream/str/char/1.cc: New.
4665 * 27_io/basic_ostringstream/str/char/2.cc: New.
4666 * 27_io/basic_streambuf/1.cc: New.
4667 * 27_io/basic_streambuf/2.cc: New.
4668 * 27_io/basic_streambuf/3.cc: New.
4669 * 27_io/basic_streambuf/cons/char/1.cc: New.
4670 * 27_io/basic_streambuf/imbue/char/1.cc: New.
4671 * 27_io/basic_streambuf/imbue/char/9322.cc: New.
4672 * 27_io/basic_streambuf/overflow/char/1.cc: New.
4673 * 27_io/basic_streambuf/overflow/char/2.cc: New.
4674 * 27_io/basic_streambuf/overflow/char/3599.cc: New.
4675 * 27_io/basic_streambuf/sgetc/char/1.cc: New.
4676 * 27_io/basic_streambuf/sgetn/char/1.cc: New.
4677 * 27_io/basic_streambuf/sputbackc/char/9538.cc: New.
4678 * 27_io/basic_streambuf/sputc/char/1057.cc: New.
4679 * 27_io/basic_streambuf/sputn/char/1.cc: New.
4680 * 27_io/basic_streambuf/sputn/char/1057.cc: New.
4681 * 27_io/basic_streambuf/sync/char/1057.cc: New.
4682 * 27_io/basic_stringbuf/1.cc: New.
4683 * 27_io/basic_stringbuf/2.cc: New.
4684 * 27_io/basic_stringbuf/3.cc: New.
4685 * 27_io/basic_stringbuf/4.cc: New.
4686 * 27_io/basic_stringbuf/5.cc: New.
4687 * 27_io/basic_stringbuf/imbue/char/1.cc: New.
4688 * 27_io/basic_stringbuf/imbue/char/9322.cc: New.
4689 * 27_io/basic_stringbuf/in_avail/char/1.cc: New.
4690 * 27_io/basic_stringbuf/overflow/char/2.cc: New.
4691 * 27_io/basic_stringbuf/overflow/char/3599.cc: New.
4692 * 27_io/basic_stringbuf/overflow/char/9988.cc: New.
4693 * 27_io/basic_stringbuf/sbumpc/char/1.cc: New.
4694 * 27_io/basic_stringbuf/sbumpc/char/9825.cc: New.
4695 * 27_io/basic_stringbuf/seekoff/char/1.cc: New.
4696 * 27_io/basic_stringbuf/seekoff/char/2.cc: New.
4697 * 27_io/basic_stringbuf/seekpos/char/1.cc: New.
4698 * 27_io/basic_stringbuf/seekpos/char/2.cc: New.
4699 * 27_io/basic_stringbuf/setbuf/char/1.cc: New.
4700 * 27_io/basic_stringbuf/setbuf/char/2.cc: New.
4701 * 27_io/basic_stringbuf/setbuf/char/3.cc: New.
4702 * 27_io/basic_stringbuf/sgetc/char/1.cc: New.
4703 * 27_io/basic_stringbuf/sgetn/char/1.cc: New.
4704 * 27_io/basic_stringbuf/snextc/char/1.cc: New.
4705 * 27_io/basic_stringbuf/sputbackc/char/1.cc: New.
4706 * 27_io/basic_stringbuf/sputbackc/char/9425.cc: New.
4707 * 27_io/basic_stringbuf/sputc/char/1.cc: New.
4708 * 27_io/basic_stringbuf/sputc/char/1057.cc: New.
4709 * 27_io/basic_stringbuf/sputc/char/9404-1.cc: New.
4710 * 27_io/basic_stringbuf/sputn/char/1.cc: New.
4711 * 27_io/basic_stringbuf/sputn/char/1057.cc: New.
4712 * 27_io/basic_stringbuf/sputn/char/9404-2.cc: New.
4713 * 27_io/basic_stringbuf/str/char/1.cc: New.
4714 * 27_io/basic_stringbuf/str/char/2.cc: New.
4715 * 27_io/basic_stringbuf/str/char/3.cc: New.
4716 * 27_io/basic_stringbuf/str/char/3955.cc: New.
4717 * 27_io/basic_stringbuf/sungetc/char/1.cc: New.
4718 * 27_io/basic_stringbuf/sync/char/1057.cc: New.
4719 * 27_io/basic_stringstream/1.cc: New.
4720 * 27_io/basic_stringstream/2.cc: New.
4721 * 27_io/basic_stringstream/3.cc: New.
4722 * 27_io/basic_stringstream/4.cc: New.
4723 * 27_io/basic_stringstream/rdbuf/char/2832.cc: New.
4724 * 27_io/basic_stringstream/str/char/1.cc: New.
4725 * 27_io/basic_stringstream/str/char/2.cc: New.
4726 * 27_io/basic_stringstream/str/char/3.cc: New.
4727 * 27_io/basic_stringstream/str/char/4.cc: New.
4728 * 27_io/fpos/1.cc: New.
4729 * 27_io/fpos/2.cc: New.
4730 * 27_io/fpos/3.cc: New.
4731 * 27_io/ios_base/callbacks/1.cc: New.
4732 * 27_io/ios_base/state/1.cc: New.
4733 * 27_io/ios_base/storage/1.cc: New.
4734 * 27_io/ios_base/storage/2.cc: New.
4735 * 27_io/ios_base/storage/3.cc: New.
4736 * 27_io/ios_base/sync_with_stdio/1.cc: New.
4737 * 27_io/ios_base/sync_with_stdio/2.cc: New.
4738 * 27_io/manipulators/adjustfield/char/1.cc: New.
4739 * 27_io/manipulators/adjustfield/char/2.cc: New.
4740 * 27_io/manipulators/basefield/char/1.cc: New.
4741 * 27_io/manipulators/standard/char/1.cc: New.
4742 * 27_io/manipulators/standard/char/2.cc: New.
4743 * 27_io/objects/char/1.cc: New.
4744 * 27_io/objects/char/2.cc: New.
4745 * 27_io/objects/char/2523-1_xin.cc: New.
4746 * 27_io/objects/char/2523-1_xin.in: New.
4747 * 27_io/objects/char/2523-2_xin.cc: New.
4748 * 27_io/objects/char/2523-2_xin.in: New.
4749 * 27_io/objects/char/3045.cc: New.
4750 * 27_io/objects/char/3647.cc: New.
4751 * 27_io/objects/char/3_xin.cc: New.
4752 * 27_io/objects/char/3_xin.in: New.
4753 * 27_io/objects/char/4_xin.cc: New.
4754 * 27_io/objects/char/4_xin.in: New.
4755 * 27_io/objects/char/5268.cc: New.
4756 * 27_io/objects/char/5280_xin.cc: New.
4757 * 27_io/objects/char/5280_xin.in: New.
4758 * 27_io/objects/char/6548_xin.cc: New.
4759 * 27_io/objects/char/6548_xin.in: New.
4760 * 27_io/objects/char/6648-1_xin.cc: New.
4761 * 27_io/objects/char/6648-1_xin.in: New.
4762 * 27_io/objects/char/6648-2_xin.cc: New.
4763 * 27_io/objects/char/6648-2_xin.in: New.
4764 * 27_io/objects/char/7744_xin.cc: New.
4765 * 27_io/objects/char/7744_xin.in: New.
4766 * 27_io/objects/wchar_t/1.cc: New.
4767 * 27_io/types/1.cc: New.
4768 * 27_io/types/2.cc: New.
4769 * data/filebuf_members-1.tst: New.
4770 * data/filebuf_members-1.txt: New.
4771 * data/filebuf_virtuals-1.tst: New.
4772 * data/filebuf_virtuals-1.txt: New.
4773 * data/filebuf_virtuals-2.tst: New.
4774 * data/filebuf_virtuals-3.tst: New.
4775 * data/ifstream_members-1.tst: New.
4776 * data/ifstream_members-1.txt: New.
4777 * data/ios_base_members_static-1.tst: New.
4778 * data/istream_extractor_other-1.tst: New.
4779 * data/istream_extractor_other-1.txt: New.
4780 * data/istream_extractor_other-2.tst: New.
4781 * data/istream_seeks-1.tst: New.
4782 * data/istream_seeks-1.txt: New.
4783 * data/istream_seeks-2.tst: New.
4784 * data/istream_seeks-3.tst: New.
4785 * data/istream_unformatted-1.tst: New.
4786 * data/istream_unformatted-1.txt: New.
4787 * data/ofstream_members-1.tst: New.
4788 * data/ostream_inserter_char-1.tst: New.
4789 * data/ostream_inserter_char-1.txt: New.
4790 * data/ostream_inserter_other-1.tst: New.
4791 * data/ostream_inserter_other-2.tst: New.
4792 * data/ostream_seeks-1.tst: New.
4794 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
4796 * include/bits/sstream.tcc (basic_stringbuf::seekpos): Remove
4797 requirement that __mode must be strict input or output.
4799 * include/std/std_streambuf.h (basic_streambuf::setp): Set
4802 * include/std/std_sstream.h (basic_strinbuf::str): Zero length
4803 output string shouldn't core.
4804 (basic_stringbuf::_M_really_sync): Add base argument. Remove rturn
4806 * include/bits/sstream.tcc: Adjust _M_really_sync bits here.
4808 * include/bits/istream.tcc (basic_istream::putback): Set gcount to
4811 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
4813 * testsuite/data: New directory.
4814 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
4815 to copy files from the testsuite data directory.
4816 (libstdc++-v3-list-sourcefiles): Add another test list filter, for
4817 testfiles containing _xin, which now means this is an interactive
4818 test and should be run with the interactive dejagnu hooks.
4819 * testsuite/Makefile.am: Remove testsuite_* files.
4820 * testsuite/Makefile.in: Regenerate.
4822 2003-04-09 Zack Weinberg <zack@codesourcery.com>
4824 * docs/html/install.html: Document complete list of locales
4825 required by test suite. Document procedure for installing
4826 said locales under Debian. Solicit instructions for other
4829 2003-04-08 Alexandre Oliva <aoliva@redhat.com>
4831 * include/bits/sstream.tcc (overflow): Make sure operands of min
4832 and max have the same type.
4834 2003-04-04 Jerry Quinn <jlquinn@optonline.net>
4837 * src/ios.cc (ios_base::_M_init): Remove _M_callbacks
4840 2003-03-31 Paolo Carlini <pcarlini@unitus.it>
4842 * include/std/std_streambuf.h (_M_out_buf_size()): Remove.
4843 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
4844 Don't set _M_out_end.
4845 (basic_filebuf::overflow): Replace _M_out_buf_size() with
4846 this->_M_out_cur && this->_M_out_cur < this->_M_out_end.
4847 * include/bits/sstream.tcc (basic_stringbuf::overflow):
4848 Replace _M_out_buf_size() with this->_M_out_cur < this->_M_out_end;
4849 * include/bits/streambuf.tcc (basic_streambuf::sputc):
4850 Replace _M_out_buf_size() with _M_out_cur && _M_out_cur < _M_out_end.
4851 (basic_streambuf::xsputn): Replace _M_out_buf_size() with
4852 _M_out_end - _M_out_cur.
4853 (__copy_streambufs): Likewise.
4854 * include/std/std_fstream.h (_M_set_determinate): Set
4857 2003-03-30 Paolo Carlini <pcarlini@unitus.it>
4859 * include/bits/fstream.tcc (basic_filebuf::showmanyc,
4860 _M_convert_to_external, _M_really_overflow, seekoff): Fix
4861 test for synced buffer.
4862 * include/std/std_fstream.h (sync): Likewise.
4863 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
4864 basic_filebuf<wchar_t>::_M_underflow_common): Likewise.
4866 2003-03-28 Benjamin Kosnik <bkoz@redhat.com>
4868 * include/std/std_sstream.h (basic_istringstream): Adjust
4870 (basic_ostringstream): Same.
4871 (basic_stringstream): Same.
4872 * include/std/std_fstream.h (basic_ifstream): Adjust initialization.
4873 (basic_ofstream): Same.
4874 (basic_fstream): Same.
4875 * include/std/std_ostream.h (basic_ostrem): Add protected ctor
4876 that does not call init.
4877 * include/std/std_istream.h (basic_istream): Same.
4878 (basic_iostream): Construct istream, ostream uninitialized, use
4879 init to initialize just once. Add protected ctor that does not
4882 2003-03-28 Paolo Carlini <pcarlini@unitus.it>
4883 Nathan Myers <ncm@cantrip.org>
4886 * include/bits/fstream.tcc (basic_filebuf<>::open): Don't
4888 (basic_filebuf<>::showmanyc): Use the information provided
4889 by codecvt and __basic_file<>::showmanyc_helper to implement
4890 a non-trivial showmanyc.
4891 * config/io/basic_file_stdio.h
4892 (__basic_file<>::showmanyc_helper): New, declare.
4893 * config/io/basic_file_stdio.cc
4894 (__basic_file<>::showmanyc_helper): Define.
4895 (__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
4896 (__basic_file<char>::open): Don't call fcntl().
4897 * acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
4898 GLIBCPP_CHECK_POLL): New macros.
4899 * configure.in: Call here.
4900 * acconfig.h: Add #undefs for the corresponding symbols.
4901 * aclocal.m4: Regenerate.
4902 * configure: Regenerate.
4903 * config.h.in: Regenerate.
4905 2003-03-24 Benjamin Kosnik <bkoz@redhat.com>
4907 * config/linker-map.gnu: Remove string export restrictions.
4909 2003-03-24 Paolo Carlini <pcarlini@unitus.it>
4911 * testsuite/21_strings/basic_string/find/char/1.cc: Remove
4912 find_first_of, find_last_of and find_last_not_of tests.
4913 * testsuite/21_strings/basic_string/find/char/2.cc: find_first_of
4914 tests here, new file.
4915 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise,
4916 remove wchar_t find_first_of, find_last_of and find_last_not_of tests.
4917 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise,
4918 wchar_t find_first_of tests here, new file.
4919 * testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of
4921 * testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of
4923 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise,
4924 wchar_t find_last_of tests here.
4925 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise,
4926 wchar_t find_last_not_of tests here.
4928 2003-03-22 Loren J. Rittle <ljrittle@acm.org>
4930 * config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
4931 Correct return value.
4933 2003-03-21 Jerry Quinn <jlquinn@optonline.net>
4936 * include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
4937 * include/std/std_complex.h (norm): Use faster,
4938 less accurate computation for builtin float types under --fast-math.
4940 2003-03-21 Magnus Fromreide <gnats@magfr.user.lysator.liu.se>
4942 * testsuite/testsuite_hooks.h: Fix warning nits.
4944 2003-03-19 Alexandre Oliva <aoliva@redhat.com>
4946 * config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):
4947 Only .set mips2 for the o32 ABI.
4949 2003-03-19 Paolo Carlini <pcarlini@unitus.it>
4951 * testsuite/21_strings/char_traits/requirements/char/1.cc:
4952 Test char not wchar_t.
4954 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
4956 * testsuite/21_strings/basic_string/append/wchar_t/1.cc:
4957 Correct size, taking into account sizeof(wchar_t).
4959 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
4961 Reshuffle 21_strings testsuite.
4962 * testsuite/21_strings/append.cc, c_strings.cc, invariants.cc,
4963 assign.cc, ctor_copy_dtor.cc, nonmember.cc, capacity.cc,
4964 element_access.cc, operations.cc, char_traits_requirements.cc,
4965 find.cc, replace.cc, char_traits_typedefs.cc, insert.cc, rfind.cc,
4966 compare.cc, inserters_extractors.cc, substr.cc: Split up, add
4967 wchar_t tests as follows.
4968 * 21_strings/basic_string/append/char/1.cc: New.
4969 * 21_strings/basic_string/append/wchar_t/1.cc: New.
4970 * 21_strings/basic_string/assign/char/1.cc: New.
4971 * 21_strings/basic_string/assign/char/2.cc: New.
4972 * 21_strings/basic_string/assign/char/3.cc: New.
4973 * 21_strings/basic_string/assign/wchar_t/1.cc: New.
4974 * 21_strings/basic_string/assign/wchar_t/2.cc: New.
4975 * 21_strings/basic_string/assign/wchar_t/3.cc: New.
4976 * 21_strings/basic_string/capacity/1.cc: New.
4977 * 21_strings/basic_string/capacity/char/1.cc: New.
4978 * 21_strings/basic_string/capacity/char/2.cc: New.
4979 * 21_strings/basic_string/capacity/wchar_t/1.cc: New.
4980 * 21_strings/basic_string/capacity/wchar_t/2.cc: New.
4981 * 21_strings/basic_string/compare/char/1.cc: New.
4982 * 21_strings/basic_string/compare/wchar_t/1.cc: New.
4983 * 21_strings/basic_string/cons/char/1.cc: New.
4984 * 21_strings/basic_string/cons/char/2.cc: New.
4985 * 21_strings/basic_string/cons/char/3.cc: New.
4986 * 21_strings/basic_string/cons/char/4.cc: New.
4987 * 21_strings/basic_string/cons/char/5.cc: New.
4988 * 21_strings/basic_string/cons/wchar_t/1.cc: New.
4989 * 21_strings/basic_string/cons/wchar_t/2.cc: New.
4990 * 21_strings/basic_string/cons/wchar_t/3.cc: New.
4991 * 21_strings/basic_string/cons/wchar_t/4.cc: New.
4992 * 21_strings/basic_string/cons/wchar_t/5.cc: New.
4993 * 21_strings/basic_string/element_access/char/1.cc: New.
4994 * 21_strings/basic_string/element_access/char/2.cc: New.
4995 * 21_strings/basic_string/element_access/char/3.cc: New.
4996 * 21_strings/basic_string/element_access/wchar_t/1.cc: New.
4997 * 21_strings/basic_string/element_access/wchar_t/2.cc: New.
4998 * 21_strings/basic_string/element_access/wchar_t/3.cc: New.
4999 * 21_strings/basic_string/find/char/1.cc: New.
5000 * 21_strings/basic_string/find/wchar_t/1.cc: New.
5001 * 21_strings/basic_string/insert/char/1.cc: New.
5002 * 21_strings/basic_string/insert/char/2.cc: New.
5003 * 21_strings/basic_string/insert/wchar_t/1.cc: New.
5004 * 21_strings/basic_string/insert/wchar_t/2.cc: New.
5005 * 21_strings/basic_string/inserters_extractors/char/1.cc: New.
5006 * 21_strings/basic_string/inserters_extractors/char/4.cc: New.
5007 * 21_strings/basic_string/inserters_extractors/char/5.cc: New.
5008 * 21_strings/basic_string/inserters_extractors/char/6.cc: New.
5009 * 21_strings/basic_string/inserters_extractors/char/7.cc: New.
5010 * 21_strings/basic_string/inserters_extractors/char/8.cc: New.
5011 * 21_strings/basic_string/inserters_extractors/char/9.cc: New.
5012 * 21_strings/basic_string/inserters_extractors/wchar_t/1.cc: New.
5013 * 21_strings/basic_string/inserters_extractors/wchar_t/4.cc: New.
5014 * 21_strings/basic_string/inserters_extractors/wchar_t/5.cc: New.
5015 * 21_strings/basic_string/inserters_extractors/wchar_t/6.cc: New.
5016 * 21_strings/basic_string/inserters_extractors/wchar_t/7.cc: New.
5017 * 21_strings/basic_string/inserters_extractors/wchar_t/8.cc: New.
5018 * 21_strings/basic_string/inserters_extractors/wchar_t/9.cc: New.
5019 * 21_strings/basic_string/operators/char/1.cc: New.
5020 * 21_strings/basic_string/operators/char/2.cc: New.
5021 * 21_strings/basic_string/operators/wchar_t/1.cc: New.
5022 * 21_strings/basic_string/operators/wchar_t/2.cc: New.
5023 * 21_strings/basic_string/replace/char/1.cc: New.
5024 * 21_strings/basic_string/replace/char/2.cc: New.
5025 * 21_strings/basic_string/replace/char/3.cc: New.
5026 * 21_strings/basic_string/replace/char/4.cc: New.
5027 * 21_strings/basic_string/replace/char/5.cc: New.
5028 * 21_strings/basic_string/replace/wchar_t/1.cc: New.
5029 * 21_strings/basic_string/replace/wchar_t/2.cc: New.
5030 * 21_strings/basic_string/replace/wchar_t/3.cc: New.
5031 * 21_strings/basic_string/replace/wchar_t/4.cc: New.
5032 * 21_strings/basic_string/replace/wchar_t/5.cc: New.
5033 * 21_strings/basic_string/rfind/char/1.cc: New.
5034 * 21_strings/basic_string/rfind/char/2.cc: New.
5035 * 21_strings/basic_string/rfind/char/3.cc: New.
5036 * 21_strings/basic_string/rfind/wchar_t/1.cc: New.
5037 * 21_strings/basic_string/rfind/wchar_t/2.cc: New.
5038 * 21_strings/basic_string/rfind/wchar_t/3.cc: New.
5039 * 21_strings/basic_string/substr/char/1.cc: New.
5040 * 21_strings/basic_string/substr/wchar_t/1.cc: New.
5041 * 21_strings/c_strings/char/1.cc: New.
5042 * 21_strings/c_strings/char/2.cc: New.
5043 * 21_strings/c_strings/wchar_t/1.cc: New.
5044 * 21_strings/c_strings/wchar_t/2.cc: New.
5045 * 21_strings/char_traits/requirements/char/1.cc: New.
5046 * 21_strings/char_traits/requirements/wchar_t/1.cc: New.
5047 * 21_strings/char_traits/typedefs/char/1.cc: New.
5049 2003-03-17 Paolo Carlini <pcarlini@unitus.it>
5050 Petur Runolfsson <peturr02@ru.is>
5053 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
5054 basic_filebuf<wchar_t>::_M_underflow_common):
5055 if (gptr() < egptr()) return *gptr().
5056 * testsuite/27_io/filebuf_virtuals.cc (test16): Add.
5058 * testsuite/27_io/filebuf_members.cc (test_04): Minor
5059 changes: unlink fifo before making it, fix spelling error.
5061 2003-03-17 Benjamin Kosnik <bkoz@redhat.com>
5063 * testsuite/Makefile.am (CLEANFILES): Add tmp*.
5064 * testsuite/Makefile.in: Regenerate.
5065 * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
5068 2003-03-17 Petur Runolfsson <peturr02@ru.is>
5071 * include/bits/fstream.tcc (basic_filebuf::close):
5072 Always close file, even when write fails.
5073 * testsuite/27_io/filebuf_members.cc (test_07): New test.
5075 2003-03-17 Danny Smith <dannysmith@users.sourceforge.net>
5077 * libsupc++/Makefile.am (C_COMPILE): Remove.
5078 (LTCOMPILE): Likewise.
5079 * libsupc++/Makefile.in: Regenerate.
5081 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
5083 * testsuite/23_containers/bitset_members.cc: Add test variable.
5084 * testsuite/23_containers/map_insert.cc: Same.
5085 * testsuite/22_locale/ctype/cons/char/1.cc: Same.
5086 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
5087 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
5088 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
5089 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
5090 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
5091 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
5092 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
5093 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
5094 * testsuite/27_io/istream_exception.cc: Same.
5095 * testsuite/27_io/filebuf_virtuals.cc: Same.
5096 * testsuite/27_io/stringbuf_virtuals.cc: Same.
5097 * testsuite/27_io/ostream_inserter_arith.cc: Same.
5098 * testsuite/26_numerics/valarray_operators.cc: Same.
5099 * testsuite/26_numerics/slice.cc: Same.
5100 * testsuite/26_numerics/slice_array_assignment.cc: Same.
5101 * testsuite/24_iterators/istream_iterator.cc: Same.
5102 * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
5104 2003-03-14 Petur Runolfsson <peturr02@ru.is>
5108 * config/locale/generic/ctype_members.cc,
5109 * config/locale/gnu/ctype_members.cc
5110 (ctype<wchar_t>::do_widen(char)): Cast argument to
5111 unsigned char before passing to btowc.
5112 (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
5113 Convert characters with btowc instead of mbsrtowcs.
5114 (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
5116 Convert characters with wctob instead of wcsrtombs.
5117 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: New test.
5118 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: New test.
5119 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: New test.
5121 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
5123 * include/stdc++.h: New.
5124 * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
5125 * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
5126 * include/Makefile.in: Regenerate.
5127 * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
5128 (--cxxflags): Put -g -O2 here.
5129 * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
5131 2003-03-14 Loren J. Rittle <ljrittle@acm.org>
5133 * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
5134 missing named locale.
5136 2003-03-14 Andreas Schwab <schwab@suse.de>
5138 * configure.in: Only append to makefiles that are newly created to
5139 avoid multiple multi-do/multi-clean rules.
5140 * configure: Rebuilt.
5142 2003-03-13 Jonathan Wakely <redi@gcc.gnu.org>
5144 * docs/html/configopts.html, docs/html/documentation.html,
5145 docs/html/explanations.html, docs/html/install.html,
5146 docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
5147 invalid XHTML and make page header style consistent.
5149 2003-03-12 Jonathan Wakely <redi@gcc.gnu.org>
5151 * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
5152 * docs/html/faq/index.txt: Regenerate.
5153 * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
5155 2003-03-12 Andreas Schwab <schwab@suse.de>
5157 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
5158 glibcpp_toolexeclibdir.
5159 * aclocal.m4, configure: Rebuilt.
5161 2003-03-11 Jonathan Wakely <redi@gcc.gnu.org>
5163 * docs/html/faq/index.html: Update text about location of headers.
5164 * docs/html/faq/index.txt: Regenerate.
5166 2003-03-11 Carlo Wood <carlo@alinoe.com>
5168 * include/bits/demangle.h: Prepend accessors of
5169 class qualifier with 'get_' in order to fix warnings
5170 when compiling with -Wshadow.
5172 2003-03-11 Loren J. Rittle <ljrittle@acm.org>
5174 * config/os/bsd/freebsd/ctype_inline.h: Support _M_table
5176 * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
5178 * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
5179 report lack of setenv().
5181 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
5183 * config/io/basic_file_stdio.cc: include <unistd.h>.
5185 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
5186 Nathan Myers <ncm@cantrip.org>
5189 * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
5190 seekoff, seekpos): Add a boolean parameter __stdio.
5191 * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
5192 seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
5193 fseek/ftell, respectively), otherwise read (write, lseek, lseek,
5195 * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
5196 _M_really_overflow, seekoff): Use the boolean parameter in the calls.
5197 * include/std/std_fstream.h (sync): Likewise.
5198 * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
5199 * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
5200 libstdc++/8399 commit involving isatty(0).
5201 * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
5202 (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
5203 * configure.in: Remove call.
5204 * aclocal.m4: Regenerate.
5205 * config.h.in: Regenerate.
5206 * configure: Regenerate.
5207 * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
5209 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
5212 * include/bits/fstream.tcc (overflow): don't write EOF to file.
5213 * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
5215 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
5218 * include/bits/basic_ios.h (_M_setstate): New.
5219 * include/bits/ostream.tcc (operator<<): Use it.
5220 * include/bits/istream.tcc (operator>>): Use it.
5221 * include/std/std_ostream.h (operator<<): Make friends.
5222 * include/std/std_istream.h (operator>>): Make friends.
5223 * testsuite/27_io/ostream_exception.cc,
5224 testsuite/27_io/istream_exception.cc: New tests.
5226 2003-03-08 Benjamin Kosnik <bkoz@redhat.com>
5228 * include/bits/locale_facets.tcc: Fix typo.
5230 2003-03-08 Loren J. Rittle <ljrittle@acm.org>
5232 * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
5234 * config/locale/generic/c_locale.cc
5235 (locale::facet::_S_create_c_locale): Throw runtime exception when
5236 unsupported language is specified.
5237 * testsuite/testsuite_hooks.h
5238 (run_test_wrapped_generic_locale_exception_catcher): New function.
5239 * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
5240 Suppress runtime exception thrown by generic implementation.
5241 (run_tests_wrapped_env): Likewise.
5242 (run_test_wrapped_generic_locale_exception_catcher): New function.
5243 * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
5244 * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
5245 * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
5246 * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
5247 * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
5248 * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
5249 * testsuite/22_locale/collate_byname/1.cc: New test wrap.
5250 * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
5251 * testsuite/22_locale/facet/2.cc: New test wrap.
5252 * testsuite/22_locale/locale/cons/4.cc: New test wrap.
5253 * testsuite/22_locale/locale/cons/5.cc: New test wrap.
5254 * testsuite/22_locale/locale/cons/7.cc: New test wrap.
5255 * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
5256 * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
5257 * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
5258 * testsuite/22_locale/messages_byname/1.cc: New test wrap.
5259 * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
5260 * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
5261 * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
5262 * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
5263 * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
5264 * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
5265 * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
5266 * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
5267 * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
5268 * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
5269 * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
5270 * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
5271 * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
5272 * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
5273 * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
5274 * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
5275 * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
5276 * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
5277 * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
5278 * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
5279 * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
5280 * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
5281 * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
5282 * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
5283 * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
5284 * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
5285 * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
5286 * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
5287 * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
5288 * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
5289 * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
5290 * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
5291 * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
5292 * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
5293 * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
5294 * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
5295 * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
5296 * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
5297 * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
5298 * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
5299 * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
5300 * testsuite/27_io/ios_members.cc: New test wrap.
5301 * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
5303 * testsuite/27_io/streambuf_members.cc: New test wrap.
5304 * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
5306 2003-03-08 Paolo Carlini <pcarlini@unitus.it>
5307 Petur Runolfsson <peturr02@ru.is>
5310 * include/bits/streambuf.tcc (__copy_streambufs): Use
5311 sgetn-sputn only when sputn cannot fail, otherwise fall back
5312 to safe snextc-sputc.
5313 * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
5315 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
5317 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
5318 locale cache for truename and falsename.
5320 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
5322 * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
5323 _M_word_size initialization.
5325 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5327 * include/bits/fstream.tcc (_M_convert_to_external):
5328 Set __elen to zero if codecvt::out eventually fails.
5330 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5333 * include/bits/fstream.tcc (_M_really_overflow): Check
5334 for _M_convert_to_external possible failures.
5335 * include/std/std_fstream.h (sync): Check _M_really_overflow
5336 return value and return -1 in case of failure.
5337 * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
5339 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5342 * include/bits/istream.tcc (operator>>(_CharT*),
5343 operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
5344 * testsuite/27_io/stringstream.cc (test02): Add.
5346 * include/bits/istream.tcc (operator>>(_CharT*)):
5347 Assign a char_type to *__s.
5349 2003-03-07 Petur Runolfsson <peturr02@ru.is>
5352 * include/bits/locale_facets.tcc
5353 (collate::do_compare, collate::do_transform):
5354 Handle nul characters in input.
5355 * testsuite/22_locale/collate/compare/char/3.cc: New test.
5356 * testsuite/22_locale/collate/compare/wchar_t/3.cc: New test.
5357 * testsuite/22_locale/collate/transform/char/3.cc: New test.
5358 * testsuite/22_locale/collate/transform/wchar_t/3.cc: New test.
5360 2003-03-07 Jerry Quinn <jlquinn@optonline.net>
5362 * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
5364 * testsuite/27_io/ostream_fail.cc: New test.
5366 2003-03-07 Matthias Klose <doko@debian.org>
5368 * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
5369 FLAGS_TO_PASS: Set to AM_MAKEFLAGS
5370 * Makefile.in: Regenerate.
5371 * libsupc++/Makefile.am: Express glibcppinstalldir in terms
5373 AM_MAKEFLAGS: Pass gxx_include_dir.
5374 * libsupc++/Makefile.in: Regenerate.
5376 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
5378 * testsuite/27_io/ios_base_storage.cc (test02): Set exception
5379 mask. Test setting small-numbered pword and iword slots. Test
5380 behavior at limit of numeric_limits::max. Check that values are
5381 still good after failures.
5383 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
5385 * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
5386 (ios_base::ios_base): Set _M_word, _M_word_size.
5387 (ios_base::~ios_base): Remove redundant test.
5388 * testsuite/27_io/ios_base_storage.cc (test03): New.
5390 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
5392 * src/strstream.cc, include/bits/basic_string.tcc: Remove
5393 incorrect whitespace added in my previous change.
5395 2003-03-05 Carlo Wood <carlo@alinoe.com>
5397 * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
5398 _S_initialized() in order to allow debugging libraries to detect
5399 when the std streams are initialized from an overloaded operator
5402 2003-03-05 Benjamin Kosnik <bkoz@redhat.com>
5404 * libsupc++/demangle.h: Move to..
5405 * include/bits/demangle.h: ...here.
5406 * src/demangle.cc: Adjust include.
5407 * include/Makefile.am (bits_headers): Add.
5408 * include/Makefile.in: Regenerate.
5410 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
5412 * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
5414 * config/linker-map.gnu: Filter typeinfo and vtable info.
5416 2003-03-04 Jerry Quinn <jlquinn@optonline.net>
5418 * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
5419 new failure. Throw exception if badbit and exception mask when ix
5420 >= numeric_limits<int>::max().
5422 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
5424 * src/strstream.cc (strstreambuf::overflow): Make sure operands of
5425 min and max have the same type.
5426 * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
5428 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
5430 * include/Makefile.am (allstamps): Remove stamp-std-precompile.
5431 * include/Makefile.in: Regenerate.
5433 2003-03-03 Benjamin Kosnik <bkoz@redhat.com>
5435 * testsuite/abi_check.cc (report_symbol_info): Add version info.
5437 * config/linker-map.gnu: Hide more stuff.
5438 * include/Makefile.am: Cleanups.
5439 * include/Makefile.in: Regenerate.
5441 2003-02-27 Jerry Quinn <jlquinn@optonline.net>
5443 * config/locale/generic/messages_members.h (messages::messages):
5444 Remove name from unused parameter.
5446 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
5448 * src/Makefile.am (sources): Add demangle.cc.
5451 * src/Makefile.in: Regenerate.
5452 * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
5453 * libsupc++/Makefile.in: Regenerate.
5455 * testsuite/testsuite_hooks.h
5456 (__gnu_cxx_test::verify_demangle): New.
5457 * testsuite/testsuite_hooks.cc: Define.
5459 2003-02-27 Carlo Wood <carlo@alinoe.com>
5461 * src/demangle.cc: New.
5462 * libsupc++/demangle.h: New.
5464 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
5465 Carlo Wood <carlo@alinoe.com>
5467 * testsuite/demangle/abi_examples/01.cc: New.
5468 * testsuite/demangle/abi_examples/02.cc: New.
5469 * testsuite/demangle/abi_examples/03.cc: New.
5470 * testsuite/demangle/abi_examples/04.cc: New.
5471 * testsuite/demangle/abi_examples/05.cc: New.
5472 * testsuite/demangle/abi_examples/06.cc: New.
5473 * testsuite/demangle/abi_examples/07.cc: New.
5474 * testsuite/demangle/abi_examples/08.cc: New.
5475 * testsuite/demangle/abi_examples/09.cc: New.
5476 * testsuite/demangle/abi_examples/10.cc: New.
5477 * testsuite/demangle/abi_examples/11.cc: New.
5478 * testsuite/demangle/abi_examples/12.cc: New.
5479 * testsuite/demangle/abi_examples/13.cc: New.
5480 * testsuite/demangle/abi_examples/14.cc: New.
5481 * testsuite/demangle/abi_examples/15.cc: New.
5482 * testsuite/demangle/abi_examples/16.cc: New.
5483 * testsuite/demangle/abi_examples/17.cc: New.
5484 * testsuite/demangle/abi_examples/18.cc: New.
5485 * testsuite/demangle/abi_examples/19.cc: New.
5486 * testsuite/demangle/abi_examples/20.cc: New.
5487 * testsuite/demangle/abi_examples/21.cc: New.
5488 * testsuite/demangle/abi_examples/22.cc: New.
5489 * testsuite/demangle/abi_examples/23.cc: New.
5490 * testsuite/demangle/abi_examples/24.cc: New.
5491 * testsuite/demangle/abi_examples/25.cc: New.
5492 * testsuite/demangle/abi_examples/26.cc: New.
5493 * testsuite/demangle/abi_text/01.cc: New.
5494 * testsuite/demangle/abi_text/02.cc: New.
5495 * testsuite/demangle/abi_text/03.cc: New.
5496 * testsuite/demangle/abi_text/04.cc: New.
5497 * testsuite/demangle/abi_text/05.cc: New.
5498 * testsuite/demangle/abi_text/06.cc: New.
5499 * testsuite/demangle/abi_text/07.cc: New.
5500 * testsuite/demangle/abi_text/08.cc: New.
5501 * testsuite/demangle/abi_text/09.cc: New.
5502 * testsuite/demangle/abi_text/10.cc: New.
5503 * testsuite/demangle/abi_text/11.cc: New.
5504 * testsuite/demangle/abi_text/12.cc: New.
5505 * testsuite/demangle/abi_text/13.cc: New.
5506 * testsuite/demangle/abi_text/14.cc: New.
5507 * testsuite/demangle/regression/3111-1.cc: New.
5508 * testsuite/demangle/regression/3111-2.cc: New.
5509 * testsuite/demangle/regression/7986-01.cc: New.
5510 * testsuite/demangle/regression/7986-02.cc: New.
5511 * testsuite/demangle/regression/7986-03.cc: New.
5512 * testsuite/demangle/regression/7986-04.cc: New.
5513 * testsuite/demangle/regression/7986-05.cc: New.
5514 * testsuite/demangle/regression/7986-06.cc: New.
5515 * testsuite/demangle/regression/7986-07.cc: New.
5516 * testsuite/demangle/regression/7986-08.cc: New.
5517 * testsuite/demangle/regression/7986-09.cc: New.
5518 * testsuite/demangle/regression/7986-10.cc: New.
5519 * testsuite/demangle/regression/7986-11.cc: New.
5520 * testsuite/demangle/regression/7986-12.cc: New.
5521 * testsuite/demangle/regression/7986.cc: New.
5522 * testsuite/demangle/regression/8897.cc: New.
5523 * testsuite/demangle/regression/cw-01.cc: New.
5524 * testsuite/demangle/regression/cw-02.cc: New.
5525 * testsuite/demangle/regression/cw-03.cc: New.
5526 * testsuite/demangle/regression/cw-04.cc: New.
5527 * testsuite/demangle/regression/cw-05.cc: New.
5528 * testsuite/demangle/regression/cw-06.cc: New.
5529 * testsuite/demangle/regression/cw-07.cc: New.
5530 * testsuite/demangle/regression/cw-08.cc: New.
5531 * testsuite/demangle/regression/cw-09.cc: New.
5532 * testsuite/demangle/regression/cw-10.cc: New.
5533 * testsuite/demangle/regression/cw-11.cc: New.
5534 * testsuite/demangle/regression/cw-12.cc: New.
5535 * testsuite/demangle/regression/cw-13.cc: New.
5536 * testsuite/demangle/regression/cw-14.cc: New.
5537 * testsuite/demangle/regression/old.cc: New.
5539 2003-02-25 Phil Edwards <pme@gcc.gnu.org>
5541 * docs/doxygen/Intro.3: Update with new (proper) names.
5542 * docs/doxygen/TODO: Update.
5543 * docs/doxygen/run_doxygen: More comments, fix up man pages.
5544 Fake entries for standard typedefs.
5545 * docs/doxygen/user.cfg.in: Turn INLINE_INHERITED_MEMB back on.
5546 * docs/html/documentation.html: Top-level man page is now called
5548 * include/std/std_limits.h: Doxygenate.
5550 2003-02-25 Scott Snyder <snyder@fnal.gov>
5553 * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
5554 Correct documentation.
5555 * include/bits/stl_multimap.h (lower_bound, upper_bound,
5556 equal_range): Likewise.
5558 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
5562 (basic_filebuf<char/wchar_t>::_M_underflow_common): When
5563 __bump is true (uflow), always increment the read pointer
5564 (_M_in_cur) before returning successfully.
5565 * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
5567 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
5568 Nathan Myers <ncm@cantrip.org>
5570 PR libstdc++/9404, PR libstdc++/9701 (partial)
5571 (aka pptr == epptr implies overflow)
5572 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
5573 Consistently, _M_out_end points to the end of the buffer just
5575 (overflow): Tweak to use _M_out_buf_size().
5576 (_M_convert_to_external): The role of the old _M_out_end is
5577 now played by _M_out_lim.
5578 (_M_really_overflow): Likewise.
5579 (seekoff): Likewise.
5580 (setbuf): _M_out_end points to the end of the external buffer.
5581 * include/bits/sstream.tcc (overflow): Rewrote, taking into
5582 account the resolution of DR 169 (TC).
5583 (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
5584 (seekpos): Use _M_string.capacity(); tweak.
5585 * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
5586 * include/std/std_fstream.h (sync): The role of the old
5587 _M_out_end is now played by _M_out_lim.
5588 (_M_set_indeterminate): Use _M_set_determinate.
5589 (_M_set_determinate): _M_out_end is now _M_out_lim.
5590 (_M_is_indeterminate): Likewise.
5591 * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
5592 (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
5593 which have the information readily available as _M_string.capacity();
5594 for ate and app modes, pass the string size to _M_really_sync.
5595 (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
5596 point to the end of the buffer (i.e., epptr) and to the string end,
5598 * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
5599 which points to the right limit of the used put area.
5600 (_M_out_cur_move): The role of the old _M_out_end is now played
5602 (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
5603 _M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter
5605 (basic_streambuf()): Initialize _M_out_lim too.
5606 * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
5607 * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
5608 * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
5610 2003-02-24 Benjamin Kosnik <bkoz@redhat.com>
5612 * testsuite/27_io/ios_base_storage.cc (main): Call
5615 2003-02-21 Jerry Quinn <jlquinn@optonline.net>
5617 * include/bits/locale_facets.tcc (_M_convert_float): Replace
5618 numpunct facet accesses with data from __locale_cache.
5620 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
5622 * docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD.
5623 * docs/html/faq/index.txt: Regenerate.
5625 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
5627 * config/linker-map.gnu: Also export locking symbols needed for the
5628 generic atomicity.h case.
5630 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
5632 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
5634 * configure: Rebuilt.
5636 2003-02-19 Paolo Carlini <pcarlini@unitus.it>
5638 * include/bits/sstream.tcc (overflow): According to
5639 27.7.1.3, p5, actual output is performed by sputc(c).
5641 2003-02-19 Phil Edwards <pme@gcc.gnu.org>
5644 * include/bits/stl_alloc.h: Remove all traces of assert().
5646 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
5648 * include/std/std_sstream.h (str()): the size of the
5649 current string may be different from the initial one
5650 whenever _M_out_end > _M_out_beg.
5651 * testsuite/27_io/stringbuf_members.cc (test07): Add.
5653 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
5656 * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
5658 2003-02-17 Benjamin Kosnik <bkoz@redhat.com>
5660 * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
5661 * testsuite/27_io/ios_members.cc (test03): New.
5663 2003-02-17 Jerry Quinn <jlquinn@optonline.net>
5665 * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
5666 (basic_ios::_M_cache_facets): Move into above.
5667 * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
5669 (basic_ios::imbue): Force locale cache to be built.
5670 (basic_ios::_M_init): Create and initialize locale cache.
5671 * include/bits/ios_base.h (__locale_cache_base): Declare.
5672 (ios_base::_M_locale_cache): New.
5673 (ios_base::_M_cache): Define.
5674 * include/bits/locale_facets.h: (__num_base): Fix comment. Add
5676 (__locale_cache_base,__locale_cache<_CharT>): New classes.
5677 (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
5678 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
5679 cache literal string, grouping flag, thousands separator.
5680 (__locale_cache<_CharT>::__locale_cache): New.
5681 (__locale_cache<_CharT>::_M_init): New.
5682 * src/ios.cc: Clear _M_locale_cache in constructor.
5683 * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
5686 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
5688 * src/locale-inst.cc: Do not include <cassert>.
5689 * src/locale.cc: Likewise.
5691 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
5694 * include/std/std_fstream.h: Declare underflow and uflow
5695 specializations, change generic definitions to do nothing.
5696 * src/fstream.cc: Add underflow and uflow specializations.
5698 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
5701 * include/bits/fstream.tcc (_M_convert_to_external):
5702 Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
5703 * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
5705 2003-02-13 Benjamin Kosnik <bkoz@redhat.com>
5707 * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
5708 * include/bits/basic_ios.tcc: Guard use of extern template.
5709 * include/std/std_iomanip.h: Same.
5710 * include/bits/streambuf.tcc: Same.
5711 * include/bits/stl_alloc.h: Same.
5712 * include/bits/locale_facets.tcc: Same.
5713 * include/bits/ostream.tcc: Same.
5714 * include/bits/istream.tcc: Same.
5715 * include/bits/fstream.tcc: Same.
5716 * include/bits/basic_string.tcc: Same.
5718 2003-02-13 Paolo Carlini <pcarlini@unitus.it>
5720 * include/bits/ostream.tcc (sentry::sentry): Improve
5721 performance-wise the fix for libstdc++/9563.
5723 2003-02-12 Phil Edwards <pme@gcc.gnu.org>
5725 * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
5726 (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file.
5727 (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare
5728 when we don't have static mutex initialization.
5729 (__exchange_and_add): Use _Atomic_add_mutex_once.
5730 * src/misc-inst.cc: Definitions of all the above.
5732 2003-02-12 Paolo Carlini <pcarlini@unitus.it>
5735 * include/bits/ostream.tcc (sentry::sentry): Check
5736 the state of the stream after the preparation.
5737 * testsuite/27_io/ostream_sentry.cc (test02): Add.
5739 2003-02-11 Benjamin Kosnik <bkoz@redhat.com>
5741 * include/Makefile.am (stamp-std-precompile): Add rule.
5742 * include/Makefile.in: Regenerated.
5744 2003-02-11 Jerry Quinn <jlquinn@optonline.net>
5745 Benjamin Kosnik <benjamin@redhat.com>
5747 * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
5748 Add indexes into this array.
5749 (__num_base::_S_atoms): To _S_atoms_in.
5750 (num_put::_M_insert): Rename to _M_pad.
5751 (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
5752 (num_put::_M_widen_int): Rename to _M_group_int.
5753 (num_put::_M_widen_float): Rename to _M_group_float.
5754 * include/bits/locale_facets.tcc (__int_to_char): New inline
5755 function and adapter functions.
5756 (num_put::_M_group_int): Streamline.
5757 (num_put::_M_group_float): Streamline.
5758 (num_put::_M_convert_int): Remove unused parameter names. Choose
5759 large enough buffer for text. Use __int_to_char instead of
5760 __convert_from_v. Formatted text is now at the end of the buffer.
5761 (num_put::_M_convert_float): Preliminary fixups.
5762 * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
5763 (__int_to_char<unsigned long long>): Same.
5764 (__int_to_char<char, unsigned long>): New.
5765 (__int_to_char<char, unsigned long long>): New.
5766 (__int_to_char<wchar_t, unsigned long>): New.
5767 (__int_to_char<wchar_t, unsigned long long>): New.
5769 2003-02-11 Scott Snyder <snyder@fnal.gov>
5772 * include/bits/fstream.tcc (seekoff): Avoid operator+
5775 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
5778 * include/ext/stdio_filebuf.h
5779 (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
5780 stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
5781 Change to take a __size parameter of type size_t, not
5782 of type (template parameter dependent) int_type.
5783 * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
5784 size vars to size_t.
5785 * testsuite/ext/stdio_filebuf.cc: Add.
5787 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
5788 Petur Runolfsson <peturr02@ru.is>
5791 * include/bits/streambuf.tcc (__copy_streambufs):
5792 Don't conditionalize the copy to __testput.
5793 * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
5795 2002-02-11 DJ Delorie <dj@redhat.com>
5797 * acinclude.m4: Check for native targets that can't link at
5798 this point in the build.
5799 * aclocal.m4: Regenerate.
5800 * configure: Regenerate.
5802 2003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5804 * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
5806 (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
5809 2003-02-07 Paolo Carlini <pcarlini@unitus.it>
5811 * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
5812 unsigned char platforms.
5814 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
5817 * include/std/std_istream.h
5818 (basic_istream::sentry::operator bool()): Make const.
5819 * include/std/std_ostream.h
5820 (basic_ostream::sentry::operator bool()): Likewise.
5821 * testsuite/27_io/istream_sentry.cc (test03): Add.
5822 * testsuite/27_io/ostream_sentry.cc: Add.
5824 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
5827 Implement resolution of DR 231 (Ready)
5828 * include/bits/locale_facets.h (__num_base::_S_format_float):
5829 Change declaration: return void, remove __prec parameter.
5830 * src/locale.cc (__num_base::_S_format_float): Implement
5831 resolution of DR 231.
5832 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
5833 Tweak uses. Check for negative precision.
5834 * testsuite/22_locale/num_put/put/char/6.cc: Add
5835 * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
5837 2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
5839 * config/io/basic_file_libio.h: Fixups.
5840 * config/io/c_io_libio.h: Same.
5841 * libio/Makefile.am: Same.
5842 * libio/Makefile.in: Regenerated.
5844 2003-02-06 Benjamin Kosnik <bkoz@redhat.com>
5846 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
5847 Explicitly use the "C" locale.
5848 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
5850 2003-02-06 Petur Runolfsson <peturr02@ru.is>
5854 PR libstdc++/9028 (partial)
5860 (codecvt<wchar_t, char, mbstate_t>::do_encoding,
5861 codecvt<wchar_t, char, mbstate_t>::do_length,
5862 codecvt<wchar_t, char, mbstate_t>::do_max_length):
5864 * config/locale/generic/codecvt_members.cc: ...here.
5865 * config/locale/gnu/codecvt_members.cc: ...and here.
5867 * config/locale/generic/codecvt_members.cc,
5868 * config/locale/gnu/codecvt_members.cc
5869 (codecvt<wchar_t, char, mbstate_t>::do_encoding
5870 codecvt<wchar_t, char, mbstate_t>::do_in,
5871 codecvt<wchar_t, char, mbstate_t>::do_length,
5872 codecvt<wchar_t, char, mbstate_t>::do_max_length,
5873 codecvt<wchar_t, char, mbstate_t>::do_out):
5874 New implementation that handles stateless encodings,
5877 * config/locale/generic/codecvt_members.cc,
5878 * config/locale/gnu/codecvt_members.cc,
5879 * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
5880 * include/bits/codecvt.h,
5882 (codecvt::length, codecvt::do_length):
5883 Change type of first argument of length and do_length from
5884 'const state_type&' to 'state_type&' according to DR 75.
5886 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Cleanup.
5887 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: New test.
5888 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: New test.
5889 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: New test.
5890 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
5891 Cleanup and check for correct return value from encoding
5893 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: New test.
5894 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: New test.
5895 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: New test.
5896 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Cleanup.
5897 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: New test.
5898 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: New test.
5899 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: New test.
5900 * testsuite/22_locale/codecvt/in/wchar_t/5.cc: New test.
5901 * testsuite/22_locale/codecvt/in/wchar_t/6.cc: New test.
5902 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: New test.
5903 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: New test.
5904 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: New test.
5905 * testsuite/22_locale/codecvt/length/char/1.cc: Cleanup.
5906 * testsuite/22_locale/codecvt/length/char/2.cc: New test.
5907 * testsuite/22_locale/codecvt/length/wchar_t/1.cc: Cleanup.
5908 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: New test.
5909 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: New test.
5910 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: New test.
5911 * testsuite/22_locale/codecvt/length/wchar_t/5.cc: New test.
5912 * testsuite/22_locale/codecvt/length/wchar_t/6.cc: New test.
5913 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: New test.
5914 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Cleanup.
5915 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: New test.
5916 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: New test.
5917 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: New test.
5918 * testsuite/22_locale/codecvt/out/wchar_t/1.cc: Cleanup.
5919 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: New test.
5920 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: New test.
5921 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: New test.
5922 * testsuite/22_locale/codecvt/out/wchar_t/5.cc: New test.
5923 * testsuite/22_locale/codecvt/out/wchar_t/6.cc: New test.
5924 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: New test.
5925 * testsuite/22_locale/codecvt/unicode/1.cc: New test.
5926 * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Cleanup.
5927 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: New test.
5928 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: New test.
5929 * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc: New test.
5931 2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
5933 * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
5934 (money_put::do_put): Same.
5936 2003-02-05 Jerry Quinn <jlquinn@optonline.net>
5938 * include/bits/ios_base.h (ios_base): Document reserved storage.
5940 * include/bits/locale_facets.h: (struct __pad): Comment on
5942 (__verify_grouping): Same.
5943 (__add_grouping): Same.
5944 * include/bits/locale_facets.tcc (__verify_grouping): Move
5945 comments to declaration.
5946 (__add_grouping): Same.
5948 * include/bits/locale_facets.tcc:
5949 (__write<_CharT, _OutIter>): New function.
5950 (__write<_CharT>): New function specialization.
5951 (num_put::_M_insert): Remove explicit loop over iterator. Use
5953 (num_put::_M_widen_float): Remove __basefield.
5954 (num_put::_M_widen_int): Move __basefield to within grouping block.
5956 * include/bits/streambuf_iterator.h: Include <streambuf>.
5957 (ostreambuf_iterator::_M_put): Add.
5959 2003-02-05 Paolo Carlini <pcarlini@unitus.it>
5961 * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
5963 2003-02-04 Nathan Myers <ncm@cantrip.org>
5965 * testsuite/25_algorithms/min_max.cc (test02): Add.
5967 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
5969 PR libstdc++/9439, PR libstdc++/9425
5970 * config/io/basic_file_stdio.cc
5971 (__basic_file<char>::seekoff, seekpos): Return -1L if
5973 * include/bits/fstream.tcc (basic_filebuf::seekoff):
5974 Check _M_file.seekoff return value; always return
5975 pos_type(off_type(-1)) in case of failure.
5976 (basic_filebuf::pbackfail): Check this->seekoff return
5977 value and return traits_type::eof() in case of failure.
5978 * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
5980 2003-02-04 Jerry Quinn <jlquinn@optonline.net>
5982 * include/std/std_ostream.h (ostream::_M_write): Declare.
5983 * ostream.tcc (ostream::_M_write): Define.
5984 (basic_ostream::write): Use it.
5985 (operator<<(basic_ostream, _CharT)): Ditto.
5986 (operator<<(basic_ostream, char)): Ditto.
5987 (operator<<(basic_ostream, _CharT*)): Ditto.
5988 (operator<<(basic_ostream, char*)): Ditto.
5989 (operator<<(basic_ostream, basic_string)): Ditto.
5991 2003-02-04 Benjamin Kosnik <bkoz@redhat.com>
5993 * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
5995 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
5997 * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
5998 add HTML comment about updating links if numbering changes.
6000 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
6003 * include/bits/streambuf.tcc (sputbackc): Access
6004 this->gptr()[-1] only if _M_in_beg < _M_in_cur.
6005 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
6007 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
6010 * include/bits/fstream.tcc (open): If the 'ate' repositioning
6011 operation fails, calls close _and_ returns a null pointer
6012 to indicate failure (27.8.1.3,4).
6013 * testsuite/27_io/filebuf_members.cc (test_06): Add.
6015 2003-02-04 Petur Runolfsson <peturr02@ru.is>
6017 * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
6019 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
6021 * docs/html/27_io/howto.html: New section on stdio_filebuf.
6022 * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
6023 * docs/html/documentation.html: Regenerate.
6025 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
6027 * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
6028 * docs/html/17_intro/porting.html: Regenerate.
6030 2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
6031 Phil Edwards <pme@gcc.gnu.org>
6033 * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
6034 numeric_limits for bits-per-word values.
6035 (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
6036 Use __builtin_popcountl instead.
6037 (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
6038 _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
6039 Use __builtin_ctzl instead.
6040 (_S_bit_count, _S_first_one): Remove.
6041 * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
6042 * src/Makefile.am (sources): Remove bitset.cc.
6043 * src/bitset.cc: Delete file.
6044 * src/Makefile.in: Regenerate.
6046 2003-02-03 Phil Edwards <pme@gcc.gnu.org>
6048 PR libstdc++/9527, PR libstdc++/8713
6049 * docs/html/install.html: Mention glibc version requirement.
6050 * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed
6051 with 3.2.1+ (formatting bugfixes).
6052 * docs/html/faq/index.txt: Regenerate.
6054 2003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
6057 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
6060 * include/bits/valarray_before.h (__not_equal_to): Use != instead
6063 * testsuite/26_numerics/valarray_operators.cc: New test.
6065 2003-02-01 Phil Edwards <pme@gcc.gnu.org>
6067 * docs/html/faq/index.html: Correct link to libg++ information.
6068 * docs/html/faq/index.txt: Regenerated.
6070 2003-02-01 Paolo Carlini <pcarlini@unitus.it>
6071 Benjamin Kosnik <bkoz@redhat.com>
6073 Const correctness issue:
6074 http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
6075 * include/bits/locale_classes.h
6076 (locale::_Impl::_M_facets): Change type to const facet**.
6077 (locale::_Impl::_M_install_facet): Change declaration to
6079 (locale::facet::_M_references): Make mutable.
6080 (locale::facet::_M_add_reference): Declare const.
6081 (locale::facet::_M_remove_reference): Likewise.
6082 * include/bits/locale_facets.tcc
6083 (use_facet(const locale&)): Tweak for const facet** _M_facets.
6084 (has_facet(const locale&)): Likewise.
6086 (locale::facet::_M_add_reference): Adjust definition.
6087 (locale::facet::_M_remove_reference): Likewise.
6089 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
6090 const facet** _M_facets.
6091 (locale::_Impl::_Impl(const char*, size_t)): Likewise.
6092 (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
6093 (locale::_Impl::_M_install_facet): Adjust definition to take
6094 const facet* and for const facet** _M_facets.
6095 * testsuite/22_locale/locale/cons/8.cc: Add.
6097 2003-01-29 Mark Mitchell <mark@codesourcery.com>
6099 * include/std/std_limits.h (numeric_limits<float>::has_infinity):
6100 Use __FLT_HAS_INIFINITY__ to initialize.
6101 (numeric_limits<float>::has_quiet_NaN): Likewise.
6102 (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
6104 (numeric_limits<double>::has_quiet_NaN): Likewise.
6105 (numeric_limits<long double>::has_infinity): Use
6106 __LDBL_HAS_INIFINITY__ to initialize.
6107 (numeric_limits<long_double>::has_quiet_NaN): Likewise.
6109 2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
6112 * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
6113 with bases which are very ambiguous.
6115 2003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
6117 * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
6118 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
6119 * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
6120 * src/Makefile.in: Regenerate.
6121 * libsupc++/Makefile.in: Regenerate.
6123 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
6125 * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
6126 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
6127 version_specific_libs is enabled.
6128 * aclocal.m4, configure: Rebuilt.
6130 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
6132 * include/bits/valarray_meta.h: Remove, split into ...
6133 * include/bits/valarray_before.h: ... this, and ...
6134 * include/bits/valarray_after.h: ... this.
6135 * include/std/std_valarray.h: Adjust.
6136 * include/Makefile.am (bits_headers): Adjust.
6137 * include/Makefile.in: Regenerate.
6139 2003-01-24 Andreas Schwab <schwab@suse.de>
6141 * config/linker-map.gnu: Fix for size_t variance.
6143 2003-01-23 Petur Runolfsson <peturr02@ru.is>
6146 * include/std/std_streambuf.h
6147 (basic_streambuf::basic_streambuf,
6148 basic_streambuf::~basic_streambuf,
6149 basic_streambuf::getloc, basic_streambuf::imbue):
6150 Remove _M_buf_locale_init
6151 * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
6152 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
6153 * testsuite/27_io/streambuf_members.cc (test08): Add.
6154 * testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
6156 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
6158 Revert include ordering.
6159 * config/locale/generic/c_locale.h: Add include guards.
6160 * config/locale/gnu/c_locale.h: Same.
6161 * include/bits/locale_classes.h: Remove cctype include.
6162 * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
6163 * include/std/std_fstream.h: Remove streambuf include.
6164 * include/std/std_sstream.h: Remove streambuf include.
6166 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
6168 * configure.in (libtool_VERSION): To 6:0:0.
6169 * configure: Regenerated.
6170 * config/linker-map.gnu: Clean.
6172 * src/misc-inst.cc: Remove instantiations.
6174 * include/bits/stl_alloc.h (__malloc_alloc_template):
6176 (__default_alloc_template): To __pool_alloc.
6177 * src/stl-inst.cc: Same.
6178 * include/backward/alloc.h: Update.
6179 * testsuite/ext/allocators.cc: Update.
6181 * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
6182 really try to remove these if possible.
6183 * src/locale.cc (std): Same.
6185 * testsuite/abi_check.cc (check_version): Add.
6187 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
6188 Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
6189 Mark Mitchell <mark@codesourcery.com>
6192 * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
6193 (basic_filebuf::underflow): Declare.
6196 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
6198 * include/bits/locale_facets.h: Move non-facet classes requiring
6200 * include/bits/locale_classes.h: New.
6201 * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
6202 * include/bits/Makefile.in: Regenerate.
6204 * include/bits/locale_facets.tcc (__convert_from_v): Move to...
6205 * config/locale/gnu/c_locale.h: ...here.
6206 * config/locale/generic/c_locale.h: Same.
6208 * include/bits/locale_facets.tcc: Move declarations to...
6209 * include/bits/locale_facets.h: ...here.
6210 * include/bits/basic_ios.h: Tweak includes accordingly.
6211 * include/std/std_sstream.h: Add streambuf include.
6212 * include/std/std_fstream.h: Ditto.
6213 * include/std/std_locale.h: Add locale_classes.h include.
6214 * include/std/std_iosfwd.h: Tweak.
6215 * src/concept-inst.cc: Add iterator include.
6217 * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
6218 bits as unexported in the future.
6220 2003-01-21 Benjamin Kosnik <bkoz@redhat.com>
6222 Reshuffle 22_locale testsuite.
6223 * 22_locale/(codecvt.cc money_get.cc
6224 codecvt_members_char_char.cc money_get_members_char.cc
6225 codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
6226 codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
6227 codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
6228 moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
6229 collate_members_char.cc money_put.cc collate_members_wchar_t.cc
6230 money_put_members_char.cc ctor_copy_dtor.cc
6231 money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
6232 num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
6233 ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
6234 numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
6235 ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
6236 num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
6237 ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
6238 operators.cc ctype_widen_char.cc static_members.cc
6239 ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
6240 global_templates.cc time_get_members_wchar_t.cc, members.cc,
6241 time_put.cc, messages_byname.cc, time_put_members_char.cc,
6242 messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
6243 Split up into individual test cases...
6244 * 22_locale/codecvt/1.cc: New.
6245 * 22_locale/codecvt/2.cc: New.
6246 * 22_locale/codecvt/always_noconv/char/1.cc: New.
6247 * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
6248 * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
6249 * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
6250 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
6251 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
6252 * 22_locale/codecvt/encoding/char/1.cc: New.
6253 * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
6254 * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
6255 * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
6256 * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
6257 * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
6258 * 22_locale/codecvt/in/char/1.cc: New.
6259 * 22_locale/codecvt/in/char/wrapped_env.cc: New.
6260 * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
6261 * 22_locale/codecvt/in/wchar_t/1.cc: New.
6262 * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
6263 * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
6264 * 22_locale/codecvt/length/char/1.cc: New.
6265 * 22_locale/codecvt/length/char/wrapped_env.cc: New.
6266 * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
6267 * 22_locale/codecvt/length/wchar_t/1.cc: New.
6268 * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
6269 * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
6270 * 22_locale/codecvt/max_length/char/1.cc: New.
6271 * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
6272 * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
6273 * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
6274 * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
6275 * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
6276 * 22_locale/codecvt/out/char/1.cc: New.
6277 * 22_locale/codecvt/out/char/wrapped_env.cc: New.
6278 * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
6279 * 22_locale/codecvt/out/wchar_t/1.cc: New.
6280 * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
6281 * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
6282 * 22_locale/codecvt/unicode/char.cc: New.
6283 * 22_locale/codecvt/unicode/wchar_t.cc: New.
6284 * 22_locale/codecvt/unshift/char/1.cc: New.
6285 * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
6286 * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
6287 * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
6288 * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
6289 * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
6290 * 22_locale/collate/1.cc: New.
6291 * 22_locale/collate/2.cc: New.
6292 * 22_locale/collate/compare/char/1.cc: New.
6293 * 22_locale/collate/compare/char/2.cc: New.
6294 * 22_locale/collate/compare/char/wrapped_env.cc: New.
6295 * 22_locale/collate/compare/char/wrapped_locale.cc: New.
6296 * 22_locale/collate/compare/wchar_t/1.cc: New.
6297 * 22_locale/collate/compare/wchar_t/2.cc: New.
6298 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
6299 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
6300 * 22_locale/collate/hash/char/1.cc: New.
6301 * 22_locale/collate/hash/char/2.cc: New.
6302 * 22_locale/collate/hash/char/wrapped_env.cc: New.
6303 * 22_locale/collate/hash/char/wrapped_locale.cc: New.
6304 * 22_locale/collate/hash/wchar_t/1.cc: New.
6305 * 22_locale/collate/hash/wchar_t/2.cc: New.
6306 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
6307 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
6308 * 22_locale/collate/transform/char/2.cc: New.
6309 * 22_locale/collate/transform/char/wrapped_env.cc: New.
6310 * 22_locale/collate/transform/char/wrapped_locale.cc: New.
6311 * 22_locale/collate/transform/wchar_t/2.cc: New.
6312 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
6313 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
6314 * 22_locale/collate_byname/1.cc: New.
6315 * 22_locale/ctype/1.cc: New.
6316 * 22_locale/ctype/2.cc: New.
6317 * 22_locale/ctype/cons/char/1.cc: New.
6318 * 22_locale/ctype/cons/char/wrapped_env.cc: New.
6319 * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
6320 * 22_locale/ctype/is/char/1.cc: New.
6321 * 22_locale/ctype/is/char/2.cc: New.
6322 * 22_locale/ctype/is/char/3.cc: New.
6323 * 22_locale/ctype/is/char/wrapped_env.cc: New.
6324 * 22_locale/ctype/is/char/wrapped_locale.cc: New.
6325 * 22_locale/ctype/is/wchar_t/1.cc: New.
6326 * 22_locale/ctype/is/wchar_t/2.cc: New.
6327 * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
6328 * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
6329 * 22_locale/ctype/narrow/char/1.cc: New.
6330 * 22_locale/ctype/narrow/char/2.cc: New.
6331 * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
6332 * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
6333 * 22_locale/ctype/narrow/wchar_t/1.cc: New.
6334 * 22_locale/ctype/narrow/wchar_t/2.cc: New.
6335 * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
6336 * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
6337 * 22_locale/ctype/scan/char/1.cc: New.
6338 * 22_locale/ctype/scan/char/wrapped_env.cc: New.
6339 * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
6340 * 22_locale/ctype/scan/wchar_t/1.cc: New.
6341 * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
6342 * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
6343 * 22_locale/ctype/to/char/1.cc: New.
6344 * 22_locale/ctype/to/char/wrapped_env.cc: New.
6345 * 22_locale/ctype/to/char/wrapped_locale.cc: New.
6346 * 22_locale/ctype/to/wchar_t/1.cc: New.
6347 * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
6348 * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
6349 * 22_locale/ctype/widen/char/1.cc: New.
6350 * 22_locale/ctype/widen/char/wrapped_env.cc: New.
6351 * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
6352 * 22_locale/ctype/widen/wchar_t/1.cc: New.
6353 * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
6354 * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
6355 * 22_locale/facet/1.cc: New.
6356 * 22_locale/facet/2.cc: New.
6357 * 22_locale/global_templates/1.cc: New.
6358 * 22_locale/locale/cons/1.cc: New.
6359 * 22_locale/locale/cons/2.cc: New.
6360 * 22_locale/locale/cons/3.cc: New.
6361 * 22_locale/locale/cons/4.cc: New.
6362 * 22_locale/locale/cons/5.cc: New.
6363 * 22_locale/locale/cons/6.cc: New.
6364 * 22_locale/locale/cons/7.cc: New.
6365 * 22_locale/locale/global_locale_objects/1.cc: New.
6366 * 22_locale/locale/global_locale_objects/2.cc: New.
6367 * 22_locale/locale/global_locale_objects/3.cc: New.
6368 * 22_locale/locale/operations/1.cc: New.
6369 * 22_locale/locale/operations/2.cc: New.
6370 * 22_locale/messages/1.cc: New.
6371 * 22_locale/messages/2.cc: New.
6372 * 22_locale/messages/members/char/1.cc: New.
6373 * 22_locale/messages/members/char/2.cc: New.
6374 * 22_locale/messages/members/char/3.cc: New.
6375 * 22_locale/messages/members/char/wrapped_env.cc: New.
6376 * 22_locale/messages/members/char/wrapped_locale.cc: New.
6377 * 22_locale/messages_byname/1.cc: New.
6378 * 22_locale/money_get/1.cc: New.
6379 * 22_locale/money_get/2.cc: New.
6380 * 22_locale/money_get/get/char/1.cc: New.
6381 * 22_locale/money_get/get/char/2.cc: New.
6382 * 22_locale/money_get/get/char/3.cc: New.
6383 * 22_locale/money_get/get/char/4.cc: New.
6384 * 22_locale/money_get/get/char/5.cc: New.
6385 * 22_locale/money_get/get/char/6.cc: New.
6386 * 22_locale/money_get/get/char/7.cc: New.
6387 * 22_locale/money_get/get/char/8.cc: New.
6388 * 22_locale/money_get/get/char/wrapped_env.cc: New.
6389 * 22_locale/money_get/get/char/wrapped_locale.cc: New.
6390 * 22_locale/money_get/get/wchar_t/1.cc: New.
6391 * 22_locale/money_get/get/wchar_t/2.cc: New.
6392 * 22_locale/money_get/get/wchar_t/3.cc: New.
6393 * 22_locale/money_get/get/wchar_t/4.cc: New.
6394 * 22_locale/money_get/get/wchar_t/5.cc: New.
6395 * 22_locale/money_get/get/wchar_t/6.cc: New.
6396 * 22_locale/money_get/get/wchar_t/7.cc: New.
6397 * 22_locale/money_get/get/wchar_t/8.cc: New.
6398 * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
6399 * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
6400 * 22_locale/money_put/1.cc: New.
6401 * 22_locale/money_put/2.cc: New.
6402 * 22_locale/money_put/put/char/1.cc: New.
6403 * 22_locale/money_put/put/char/2.cc: New.
6404 * 22_locale/money_put/put/char/3.cc: New.
6405 * 22_locale/money_put/put/char/4.cc: New.
6406 * 22_locale/money_put/put/char/5.cc: New.
6407 * 22_locale/money_put/put/char/6.cc: New.
6408 * 22_locale/money_put/put/char/wrapped_env.cc: New.
6409 * 22_locale/money_put/put/char/wrapped_locale.cc: New.
6410 * 22_locale/money_put/put/wchar_t/1.cc: New.
6411 * 22_locale/money_put/put/wchar_t/2.cc: New.
6412 * 22_locale/money_put/put/wchar_t/3.cc: New.
6413 * 22_locale/money_put/put/wchar_t/4.cc: New.
6414 * 22_locale/money_put/put/wchar_t/5.cc: New.
6415 * 22_locale/money_put/put/wchar_t/6.cc: New.
6416 * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
6417 * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
6418 * 22_locale/moneypunct/1.cc: New.
6419 * 22_locale/moneypunct/2.cc: New.
6420 * 22_locale/moneypunct/3.cc: New.
6421 * 22_locale/moneypunct/members/char/1.cc: New.
6422 * 22_locale/moneypunct/members/char/2.cc: New.
6423 * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
6424 * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
6425 * 22_locale/moneypunct/members/wchar_t/1.cc: New.
6426 * 22_locale/moneypunct/members/wchar_t/2.cc: New.
6427 * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
6428 * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
6429 * 22_locale/moneypunct_byname/1.cc: New.
6430 * 22_locale/num_get/1.cc: New.
6431 * 22_locale/num_get/2.cc: New.
6432 * 22_locale/num_get/get/char/1.cc: New.
6433 * 22_locale/num_get/get/char/2.cc: New.
6434 * 22_locale/num_get/get/char/3.cc: New.
6435 * 22_locale/num_get/get/char/4.cc: New.
6436 * 22_locale/num_get/get/char/5.cc: New.
6437 * 22_locale/num_get/get/char/6.cc: New.
6438 * 22_locale/num_get/get/char/wrapped_env.cc: New.
6439 * 22_locale/num_get/get/char/wrapped_locale.cc: New.
6440 * 22_locale/num_get/get/wchar_t/1.cc: New.
6441 * 22_locale/num_get/get/wchar_t/2.cc: New.
6442 * 22_locale/num_get/get/wchar_t/3.cc: New.
6443 * 22_locale/num_get/get/wchar_t/4.cc: New.
6444 * 22_locale/num_get/get/wchar_t/5.cc: New.
6445 * 22_locale/num_get/get/wchar_t/6.cc: New.
6446 * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
6447 * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
6448 * 22_locale/num_put/1.cc: New.
6449 * 22_locale/num_put/2.cc: New.
6450 * 22_locale/num_put/put/char/1.cc: New.
6451 * 22_locale/num_put/put/char/2.cc: New.
6452 * 22_locale/num_put/put/char/3.cc: New.
6453 * 22_locale/num_put/put/char/4.cc: New.
6454 * 22_locale/num_put/put/char/5.cc: New.
6455 * 22_locale/num_put/put/char/wrapped_env.cc: New.
6456 * 22_locale/num_put/put/char/wrapped_locale.cc: New.
6457 * 22_locale/num_put/put/wchar_t/1.cc: New.
6458 * 22_locale/num_put/put/wchar_t/2.cc: New.
6459 * 22_locale/num_put/put/wchar_t/3.cc: New.
6460 * 22_locale/num_put/put/wchar_t/4.cc: New.
6461 * 22_locale/num_put/put/wchar_t/5.cc: New.
6462 * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
6463 * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
6464 * 22_locale/numpunct/1.cc: New.
6465 * 22_locale/numpunct/2.cc: New.
6466 * 22_locale/numpunct/members/char/1.cc: New.
6467 * 22_locale/numpunct/members/char/2.cc: New.
6468 * 22_locale/numpunct/members/char/wrapped_env.cc: New.
6469 * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
6470 * 22_locale/numpunct/members/wchar_t/1.cc: New.
6471 * 22_locale/numpunct/members/wchar_t/2.cc: New.
6472 * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
6473 * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
6474 * 22_locale/numpunct_byname/1.cc: New.
6475 * 22_locale/numpunct_byname/2.cc: New.
6476 * 22_locale/time_get/1.cc: New.
6477 * 22_locale/time_get/2.cc: New.
6478 * 22_locale/time_get/date_order/char/1.cc: New.
6479 * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
6480 * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
6481 * 22_locale/time_get/date_order/wchar_t/1.cc: New.
6482 * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
6483 * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
6484 * 22_locale/time_get/get_date/char/1.cc: New.
6485 * 22_locale/time_get/get_date/char/2.cc: New.
6486 * 22_locale/time_get/get_date/char/3.cc: New.
6487 * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
6488 * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
6489 * 22_locale/time_get/get_date/wchar_t/1.cc: New.
6490 * 22_locale/time_get/get_date/wchar_t/2.cc: New.
6491 * 22_locale/time_get/get_date/wchar_t/3.cc: New.
6492 * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
6493 * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
6494 * 22_locale/time_get/get_monthname/char/1.cc: New.
6495 * 22_locale/time_get/get_monthname/char/2.cc: New.
6496 * 22_locale/time_get/get_monthname/char/3.cc: New.
6497 * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
6498 * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
6499 * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
6500 * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
6501 * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
6502 * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
6503 * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
6504 * 22_locale/time_get/get_time/char/1.cc: New.
6505 * 22_locale/time_get/get_time/char/2.cc: New.
6506 * 22_locale/time_get/get_time/char/3.cc: New.
6507 * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
6508 * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
6509 * 22_locale/time_get/get_time/wchar_t/1.cc: New.
6510 * 22_locale/time_get/get_time/wchar_t/2.cc: New.
6511 * 22_locale/time_get/get_time/wchar_t/3.cc: New.
6512 * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
6513 * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
6514 * 22_locale/time_get/get_weekday/char/1.cc: New.
6515 * 22_locale/time_get/get_weekday/char/2.cc: New.
6516 * 22_locale/time_get/get_weekday/char/3.cc: New.
6517 * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
6518 * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
6519 * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
6520 * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
6521 * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
6522 * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
6523 * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
6524 * 22_locale/time_get/get_year/char/1.cc: New.
6525 * 22_locale/time_get/get_year/char/3.cc: New.
6526 * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
6527 * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
6528 * 22_locale/time_get/get_year/wchar_t/1.cc: New.
6529 * 22_locale/time_get/get_year/wchar_t/3.cc: New.
6530 * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
6531 * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
6532 * 22_locale/time_put/1.cc: New.
6533 * 22_locale/time_put/2.cc: New.
6534 * 22_locale/time_put/put/char/1.cc: New.
6535 * 22_locale/time_put/put/char/10.cc: New.
6536 * 22_locale/time_put/put/char/2.cc: New.
6537 * 22_locale/time_put/put/char/3.cc: New.
6538 * 22_locale/time_put/put/char/4.cc: New.
6539 * 22_locale/time_put/put/char/5.cc: New.
6540 * 22_locale/time_put/put/char/6.cc: New.
6541 * 22_locale/time_put/put/char/7.cc: New.
6542 * 22_locale/time_put/put/char/8.cc: New.
6543 * 22_locale/time_put/put/char/9.cc: New.
6544 * 22_locale/time_put/put/char/wrapped_env.cc: New.
6545 * 22_locale/time_put/put/char/wrapped_locale.cc: New.
6546 * 22_locale/time_put/put/wchar_t/1.cc: New.
6547 * 22_locale/time_put/put/wchar_t/10.cc: New.
6548 * 22_locale/time_put/put/wchar_t/2.cc: New.
6549 * 22_locale/time_put/put/wchar_t/3.cc: New.
6550 * 22_locale/time_put/put/wchar_t/4.cc: New.
6551 * 22_locale/time_put/put/wchar_t/5.cc: New.
6552 * 22_locale/time_put/put/wchar_t/6.cc: New.
6553 * 22_locale/time_put/put/wchar_t/7.cc: New.
6554 * 22_locale/time_put/put/wchar_t/8.cc: New.
6555 * 22_locale/time_put/put/wchar_t/9.cc: New.
6556 * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
6557 * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
6559 2003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
6561 * config/locale/generic/messages_members.h
6562 (messages_byname<_CharT>::messages_byname): Use this-> to refer to
6563 unqualified members of base clasess.
6565 2003-01-16 Mark Mitchell <mark@codesourcery.com>
6566 Jeffrey Oldham <oldham@codesourcery.com>
6568 * config/locale/gnu/messages_members.h: Use this-> to refer to
6569 unqualified members of base clasess.
6570 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
6571 * include/bits/codecvt.h: Likewise.
6572 * include/bits/deque.tcc: Likewise.
6573 * include/bits/fstream.tcc: Likewise.
6574 * include/bits/istream.tcc: Likewise.
6575 * include/bits/list.tcc: Likewise.
6576 * include/bits/locale_facets.h: Likewise.
6577 * include/bits/ostream.tcc: Likewise.
6578 * include/bits/sstream.tcc: Likewise.
6579 * include/bits/stl_bvector.h: Likewise.
6580 * include/bits/stl_deque.h: Likewise.
6581 * include/bits/stl_list.h: Likewise.
6582 * include/bits/stl_tree.h: Likewise.
6583 * include/bits/stl_vector.h: Likewise.
6584 * include/bits/vector.tcc: Likewise.
6585 * include/ext/ropeimpl.h: Likewise.
6586 * include/ext/stdio_filebuf.h: Likewise.
6587 * include/ext/stl_rope.h: Likewise.
6588 * include/std/std_fstream.h: Likewise.
6589 * include/std/std_sstream.h: Likewise.
6591 2003-01-15 Phil Edwards <pme@gcc.gnu.org>
6593 * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
6595 2003-01-15 Benjamin Kosnik <bkoz@redhat.com>
6597 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
6598 GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
6599 * aclocal.m4: Regenerate.
6600 * configure: Regenerate.
6601 * testsuite/Makefile.am (all-local): Add conditional rule to
6602 generate testsuite_wchar_t.
6603 * testsuite/Makefile.in: Regenerate.
6604 * testsuite/lib/libstdc++-v3-dg.exp
6605 (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
6606 testsuite_wchar_t is not present in the build directory.
6607 * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
6608 Remove setulimit bits.
6609 * testsuite/26_numerics/complex_value.cc: Set to noopts.
6610 * testsuite/Makefile.am (CLEANFILES): Add.
6611 * testsuite/Makefile.in: Regenerate.
6613 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
6615 * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
6618 2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
6620 Further conform g++'s __vmi_class_type_info to the C++ ABI
6622 * libsupc++/cxxabi.h
6623 (__vmi_class_type_info::__flags_masks): Remove enumerations not
6624 required by the specification.
6626 2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
6628 Renames, namespaces for testsuite utilities.
6629 * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
6630 (gnu_allocator_tracker): Rename to allocation_tracker.
6631 (gnu_new_allocator): Rename to tracker_alloc.
6632 (__set_testsuite_memlimit): Rename to set_memory_limits.
6633 (gnu_assignment_operator): Rename to assignment_operator.
6634 (gnu_destructor): Rename to destructor.
6635 (gnu_copy_tracker): Rename to copy_tracker.
6636 (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
6637 (run_tests_wrapped_locale): New.
6638 (run_tests_wrapped_env): New.
6639 * testsuite/testsuite_hooks.cc: Same.
6640 (class locale_data): Add.
6641 (class enviornment_variable): Add.
6642 (class not_found): Add.
6643 * testsuite/testsuite_allocator.h: Same.
6644 * testsuite/testsuite_allocator.cc: Same.
6645 * testsuite/23_containers/deque_ctor.cc
6646 (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
6648 Change gnu_new_allocator to tracker_alloc.
6649 Change gnu_counting_struct to counter.
6650 Change gnu_copy_tracker to copy_tracker.
6651 Change gnu_copy_constructor to copy_constructor.
6652 Change gnu_assignment_operator to assignment_operator.
6654 * testsuite/23_containers/vector_capacity.cc: Same.
6655 * testsuite/23_containers/vector_ctor.cc (test01): Same.
6656 * testsuite/23_containers/list_modifiers.cc: Change
6657 gnu_copy_tracker to copy_tracker.
6658 * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
6659 __set_testsuite_memlimit to set_memory_limits.
6660 * testsuite/21_strings/insert.cc (main): Same.
6661 * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
6662 * testsuite/27_io/stringstream.cc: Same.
6663 * testsuite/27_io/stringbuf.cc: Same.
6664 * testsuite/27_io/streambuf.cc: Same.
6665 * testsuite/27_io/ostream.cc: Same.
6666 * testsuite/27_io/istream.cc: Same.
6667 * testsuite/27_io/fstream.cc: Same.
6668 * testsuite/lib/libstdc++-v3-dg.exp
6669 (libstdc++-v3-list-sourcefiles): Additionally handle files two and
6670 three levels deeper in glob patterns.
6672 2003-01-11 Phil Edwards <pme@gcc.gnu.org>
6674 * docs/doxygen/tables.html: Finished now.
6675 * docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
6676 * include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
6679 * include/bits/deque.tcc, include/bits/stl_alloc.h,
6680 include/bits/stl_deque.h, include/bits/stl_list.h,
6681 include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
6684 2003-01-09 Benjamin Kosnik <bkoz@redhat.com>
6686 * configure.in: Revert.
6687 * configure: Regenerate.
6689 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
6691 * include/Makefile.am (install-data-local): Prepend
6692 $(DESTDIR) to destination paths in all (un)installation
6693 commands. Use ${c_base_builddir} and ${std_builddir}
6694 as destination subdirectories to achieve consistency with
6695 preceding mkinstalldirs commands. No effect because both
6696 variables contain "." only.
6697 * include/Makefile.in: Regenerate.
6699 2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
6701 * include/Makefile.am (stamp-*): Add checks for existing stamps.
6702 * include/Makefile.in: Regenerate.
6704 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
6705 * aclocal.m4: Regenerate.
6707 * configure.in: Don't add new multi-do rules every time the
6708 directory is reconfigured.
6709 * configure: Regenerate.
6711 2003-01-08 Brad Spencer <spencer@infointeractive.com>
6712 Nathan Myers <ncm@cantrip.org>
6714 * src/Makefile.am (stamp-debug): Clean.
6715 * src/Makefile.in: Regenerate.
6717 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
6720 * Makefile.am (distclean-multi): Fix.
6721 * Makefile.in: Regenerate.
6723 2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
6725 * include/bits/locale_facets.h (messages): Move ctor, dtor
6727 (__timepunct): Same.
6728 * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
6729 definitions. Conditionalize for GNU systems.
6730 * config/locale/generic/messages_members.h (messages): Add dtor, ctor
6732 * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
6733 definitions. Conditionalize for GNU systems.
6734 * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
6736 * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
6737 * src/locale.cc: Define.
6738 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
6740 * config/locale/gnu/time_members.h: Use it.
6741 * config/locale/gnu/messages_members.h: Use it.
6742 * config/linker-map.gnu: Add locale::facets details.
6743 * include/Makefile.am (target_headers_extra): Add time_members.h.
6744 * include/Makefile.in: Regenerate.
6745 * acinclude.m4: Export CTIME_H.
6746 * aclocal.m4: Regenerate.
6747 * configure: Regnerate.
6749 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
6752 (codecvt<char, char, mbstate_t>::do_in, do_out):
6753 Tweak parameters to avoid unused parameter warnings.
6755 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
6758 * include/bits/locale_facets.cc (num_put::_M_convert_float):
6759 Limit __prec to digits10 + 2, not digits10 + 1, taking into
6760 account the possibility of %{g,G} conversion specifiers
6761 inside _S_format_float.
6762 * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
6764 2003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6766 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
6767 libstdc++-v3-list-sourcefiles): Additionally handle files one
6768 level deeper in glob patterns.
6770 * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
6771 * testsuite/27_io/istream_extractor_arith/01.cc,
6772 testsuite/27_io/istream_extractor_arith/02.cc,
6773 testsuite/27_io/istream_extractor_arith/03.cc,
6774 testsuite/27_io/istream_extractor_arith/06.cc,
6775 testsuite/27_io/istream_extractor_arith/07.cc,
6776 testsuite/27_io/istream_extractor_arith/08.cc,
6777 testsuite/27_io/istream_extractor_arith/09.cc,
6778 testsuite/27_io/istream_extractor_arith/10.cc,
6779 testsuite/27_io/istream_extractor_arith/11.cc,
6780 testsuite/27_io/istream_extractor_arith/12.cc,
6781 testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
6782 * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
6785 2003-01-05 Paolo Carlini <pcarlini@unitus.it>
6789 (codecvt<char, char, mbstate_t>::do_in, do_out):
6790 Implement the resolution of DR19 (TC).
6791 * testsuite/22_locale/codecvt_members_char_char.cc
6794 2003-01-02 Jason Merrill <jason@redhat.com>
6796 * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
6797 *__mem is also an output.
6798 * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.