1 2003-02-17 Benjamin Kosnik <bkoz@redhat.com>
3 * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
4 * testsuite/27_io/ios_members.cc (test03): New.
6 2003-02-17 Jerry Quinn <jlquinn@optonline.net>
8 * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
9 (basic_ios::_M_cache_facets): Move into above.
10 * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
12 (basic_ios::imbue): Force locale cache to be built.
13 (basic_ios::_M_init): Create and initialize locale cache.
14 * include/bits/ios_base.h (__locale_cache_base): Declare.
15 (ios_base::_M_locale_cache): New.
16 (ios_base::_M_cache): Define.
17 * include/bits/locale_facets.h: (__num_base): Fix comment. Add
19 (__locale_cache_base,__locale_cache<_CharT>): New classes.
20 (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
21 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
22 cache literal string, grouping flag, thousands separator.
23 (__locale_cache<_CharT>::__locale_cache): New.
24 (__locale_cache<_CharT>::_M_init): New.
25 (__locale_cache<_CharT>::_M_populate): New.
26 * src/ios.cc: Clear _M_locale_cache in constructor.
27 * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
30 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
32 * src/locale-inst.cc: Do not include <cassert>.
33 * src/locale.cc: Likewise.
35 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
38 * include/std/std_fstream.h: Declare underflow and uflow
39 specializations, change generic definitions to do nothing.
40 * src/fstream.cc: Add underflow and uflow specializations.
42 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
45 * include/bits/fstream.tcc (_M_convert_to_external):
46 Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
47 * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
49 2003-02-13 Benjamin Kosnik <bkoz@redhat.com>
51 * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
52 * include/bits/basic_ios.tcc: Guard use of extern template.
53 * include/std/std_iomanip.h: Same.
54 * include/bits/streambuf.tcc: Same.
55 * include/bits/stl_alloc.h: Same.
56 * include/bits/locale_facets.tcc: Same.
57 * include/bits/ostream.tcc: Same.
58 * include/bits/istream.tcc: Same.
59 * include/bits/fstream.tcc: Same.
60 * include/bits/basic_string.tcc: Same.
62 2003-02-13 Paolo Carlini <pcarlini@unitus.it>
64 * include/bits/ostream.tcc (sentry::sentry): Improve
65 performance-wise the fix for libstdc++/9563.
67 2003-02-12 Phil Edwards <pme@gcc.gnu.org>
69 * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
70 (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file.
71 (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare
72 when we don't have static mutex initialization.
73 (__exchange_and_add): Use _Atomic_add_mutex_once.
74 * src/misc-inst.cc: Definitions of all the above.
76 2003-02-12 Paolo Carlini <pcarlini@unitus.it>
79 * include/bits/ostream.tcc (sentry::sentry): Check
80 the state of the stream after the preparation.
81 * testsuite/27_io/ostream_sentry.cc (test02): Add.
83 2003-02-11 Benjamin Kosnik <bkoz@redhat.com>
85 * include/Makefile.am (stamp-std-precompile): Add rule.
86 * include/Makefile.in: Regenerated.
88 2003-02-11 Jerry Quinn <jlquinn@optonline.net>
89 Benjamin Kosnik <benjamin@redhat.com>
91 * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
92 Add indexes into this array.
93 (__num_base::_S_atoms): To _S_atoms_in.
94 (num_put::_M_insert): Rename to _M_pad.
95 (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
96 (num_put::_M_widen_int): Rename to _M_group_int.
97 (num_put::_M_widen_float): Rename to _M_group_float.
98 * include/bits/locale_facets.tcc (__int_to_char): New inline
99 function and adapter functions.
100 (num_put::_M_group_int): Streamline.
101 (num_put::_M_group_float): Streamline.
102 (num_put::_M_convert_int): Remove unused parameter names. Choose
103 large enough buffer for text. Use __int_to_char instead of
104 __convert_from_v. Formatted text is now at the end of the buffer.
105 (num_put::_M_convert_float): Preliminary fixups.
106 * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
107 (__int_to_char<unsigned long long>): Same.
108 (__int_to_char<char, unsigned long>): New.
109 (__int_to_char<char, unsigned long long>): New.
110 (__int_to_char<wchar_t, unsigned long>): New.
111 (__int_to_char<wchar_t, unsigned long long>): New.
113 2003-02-11 Scott Snyder <snyder@fnal.gov>
116 * include/bits/fstream.tcc (seekoff): Avoid operator+
119 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
122 * include/ext/stdio_filebuf.h
123 (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
124 stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
125 Change to take a __size parameter of type size_t, not
126 of type (template parameter dependent) int_type.
127 * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
129 * testsuite/ext/stdio_filebuf.cc: Add.
131 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
132 Petur Runolfsson <peturr02@ru.is>
135 * include/bits/streambuf.tcc (__copy_streambufs):
136 Don't conditionalize the copy to __testput.
137 * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
139 2002-02-11 DJ Delorie <dj@redhat.com>
141 * acinclude.m4: Check for native targets that can't link at
142 this point in the build.
143 * aclocal.m4: Regenerate.
144 * configure: Regenerate.
146 2003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
148 * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
150 (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
153 2003-02-07 Paolo Carlini <pcarlini@unitus.it>
155 * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
156 unsigned char platforms.
158 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
161 * include/std/std_istream.h
162 (basic_istream::sentry::operator bool()): Make const.
163 * include/std/std_ostream.h
164 (basic_ostream::sentry::operator bool()): Likewise.
165 * testsuite/27_io/istream_sentry.cc (test03): Add.
166 * testsuite/27_io/ostream_sentry.cc: Add.
168 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
171 Implement resolution of DR 231 (Ready)
172 * include/bits/locale_facets.h (__num_base::_S_format_float):
173 Change declaration: return void, remove __prec parameter.
174 * src/locale.cc (__num_base::_S_format_float): Implement
175 resolution of DR 231.
176 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
177 Tweak uses. Check for negative precision.
178 * testsuite/22_locale/num_put/put/char/6.cc: Add
179 * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
181 2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
183 * config/io/basic_file_libio.h: Fixups.
184 * config/io/c_io_libio.h: Same.
185 * libio/Makefile.am: Same.
186 * libio/Makefile.in: Regenerated.
188 2003-02-06 Benjamin Kosnik <bkoz@redhat.com>
190 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
191 Explicitly use the "C" locale.
192 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
194 2003-02-06 Petur Runolfsson <peturr02@ru.is>
198 PR libstdc++/9028 (partial)
204 (codecvt<wchar_t, char, mbstate_t>::do_encoding,
205 codecvt<wchar_t, char, mbstate_t>::do_length,
206 codecvt<wchar_t, char, mbstate_t>::do_max_length):
208 * config/locale/generic/codecvt_members.cc: ...here.
209 * config/locale/gnu/codecvt_members.cc: ...and here.
211 * config/locale/generic/codecvt_members.cc,
212 * config/locale/gnu/codecvt_members.cc
213 (codecvt<wchar_t, char, mbstate_t>::do_encoding
214 codecvt<wchar_t, char, mbstate_t>::do_in,
215 codecvt<wchar_t, char, mbstate_t>::do_length,
216 codecvt<wchar_t, char, mbstate_t>::do_max_length,
217 codecvt<wchar_t, char, mbstate_t>::do_out):
218 New implementation that handles stateless encodings,
221 * config/locale/generic/codecvt_members.cc,
222 * config/locale/gnu/codecvt_members.cc,
223 * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
224 * include/bits/codecvt.h,
226 (codecvt::length, codecvt::do_length):
227 Change type of first argument of length and do_length from
228 'const state_type&' to 'state_type&' according to DR 75.
230 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Cleanup.
231 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: New test.
232 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: New test.
233 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: New test.
234 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
235 Cleanup and check for correct return value from encoding
237 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: New test.
238 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: New test.
239 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: New test.
240 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Cleanup.
241 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: New test.
242 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: New test.
243 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: New test.
244 * testsuite/22_locale/codecvt/in/wchar_t/5.cc: New test.
245 * testsuite/22_locale/codecvt/in/wchar_t/6.cc: New test.
246 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: New test.
247 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: New test.
248 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: New test.
249 * testsuite/22_locale/codecvt/length/char/1.cc: Cleanup.
250 * testsuite/22_locale/codecvt/length/char/2.cc: New test.
251 * testsuite/22_locale/codecvt/length/wchar_t/1.cc: Cleanup.
252 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: New test.
253 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: New test.
254 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: New test.
255 * testsuite/22_locale/codecvt/length/wchar_t/5.cc: New test.
256 * testsuite/22_locale/codecvt/length/wchar_t/6.cc: New test.
257 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: New test.
258 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Cleanup.
259 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: New test.
260 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: New test.
261 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: New test.
262 * testsuite/22_locale/codecvt/out/wchar_t/1.cc: Cleanup.
263 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: New test.
264 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: New test.
265 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: New test.
266 * testsuite/22_locale/codecvt/out/wchar_t/5.cc: New test.
267 * testsuite/22_locale/codecvt/out/wchar_t/6.cc: New test.
268 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: New test.
269 * testsuite/22_locale/codecvt/unicode/1.cc: New test.
270 * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Cleanup.
271 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: New test.
272 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: New test.
273 * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc: New test.
275 2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
277 * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
278 (money_put::do_put): Same.
280 2003-02-05 Jerry Quinn <jlquinn@optonline.net>
282 * include/bits/ios_base.h (ios_base): Document reserved storage.
284 * include/bits/locale_facets.h: (struct __pad): Comment on
286 (__verify_grouping): Same.
287 (__add_grouping): Same.
288 * include/bits/locale_facets.tcc (__verify_grouping): Move
289 comments to declaration.
290 (__add_grouping): Same.
292 * include/bits/locale_facets.tcc:
293 (__write<_CharT, _OutIter>): New function.
294 (__write<_CharT>): New function specialization.
295 (num_put::_M_insert): Remove explicit loop over iterator. Use
297 (num_put::_M_widen_float): Remove __basefield.
298 (num_put::_M_widen_int): Move __basefield to within grouping block.
300 * include/bits/streambuf_iterator.h: Include <streambuf>.
301 (ostreambuf_iterator::_M_put): Add.
303 2003-02-05 Paolo Carlini <pcarlini@unitus.it>
305 * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
307 2003-02-04 Nathan Myers <ncm@cantrip.org>
309 * testsuite/25_algorithms/min_max.cc (test02): Add.
311 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
313 PR libstdc++/9439, PR libstdc++/9425
314 * config/io/basic_file_stdio.cc
315 (__basic_file<char>::seekoff, seekpos): Return -1L if
317 * include/bits/fstream.tcc (basic_filebuf::seekoff):
318 Check _M_file.seekoff return value; always return
319 pos_type(off_type(-1)) in case of failure.
320 (basic_filebuf::pbackfail): Check this->seekoff return
321 value and return traits_type::eof() in case of failure.
322 * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
324 2003-02-04 Jerry Quinn <jlquinn@optonline.net>
326 * include/std/std_ostream.h (ostream::_M_write): Declare.
327 * ostream.tcc (ostream::_M_write): Define.
328 (basic_ostream::write): Use it.
329 (operator<<(basic_ostream, _CharT)): Ditto.
330 (operator<<(basic_ostream, char)): Ditto.
331 (operator<<(basic_ostream, _CharT*)): Ditto.
332 (operator<<(basic_ostream, char*)): Ditto.
333 (operator<<(basic_ostream, basic_string)): Ditto.
335 2003-02-04 Benjamin Kosnik <bkoz@redhat.com>
337 * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
339 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
341 * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
342 add HTML comment about updating links if numbering changes.
344 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
347 * include/bits/streambuf.tcc (sputbackc): Access
348 this->gptr()[-1] only if _M_in_beg < _M_in_cur.
349 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
351 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
354 * include/bits/fstream.tcc (open): If the 'ate' repositioning
355 operation fails, calls close _and_ returns a null pointer
356 to indicate failure (27.8.1.3,4).
357 * testsuite/27_io/filebuf_members.cc (test_06): Add.
359 2003-02-04 Petur Runolfsson <peturr02@ru.is>
361 * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
363 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
365 * docs/html/27_io/howto.html: New section on stdio_filebuf.
366 * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
367 * docs/html/documentation.html: Regenerate.
369 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
371 * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
372 * docs/html/17_intro/porting.html: Regenerate.
374 2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
375 Phil Edwards <pme@gcc.gnu.org>
377 * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
378 numeric_limits for bits-per-word values.
379 (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
380 Use __builtin_popcountl instead.
381 (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
382 _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
383 Use __builtin_ctzl instead.
384 (_S_bit_count, _S_first_one): Remove.
385 * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
386 * src/Makefile.am (sources): Remove bitset.cc.
387 * src/bitset.cc: Delete file.
388 * src/Makefile.in: Regenerate.
390 2003-02-03 Phil Edwards <pme@gcc.gnu.org>
392 PR libstdc++/9527, PR libstdc++/8713
393 * docs/html/install.html: Mention glibc version requirement.
394 * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed
395 with 3.2.1+ (formatting bugfixes).
396 * docs/html/faq/index.txt: Regenerate.
398 2003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
401 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
404 * include/bits/valarray_before.h (__not_equal_to): Use != instead
407 * testsuite/26_numerics/valarray_operators.cc: New test.
409 2003-02-01 Phil Edwards <pme@gcc.gnu.org>
411 * docs/html/faq/index.html: Correct link to libg++ information.
412 * docs/html/faq/index.txt: Regenerated.
414 2003-02-01 Paolo Carlini <pcarlini@unitus.it>
415 Benjamin Kosnik <bkoz@redhat.com>
417 Const correctness issue:
418 http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
419 * include/bits/locale_classes.h
420 (locale::_Impl::_M_facets): Change type to const facet**.
421 (locale::_Impl::_M_install_facet): Change declaration to
423 (locale::facet::_M_references): Make mutable.
424 (locale::facet::_M_add_reference): Declare const.
425 (locale::facet::_M_remove_reference): Likewise.
426 * include/bits/locale_facets.tcc
427 (use_facet(const locale&)): Tweak for const facet** _M_facets.
428 (has_facet(const locale&)): Likewise.
430 (locale::facet::_M_add_reference): Adjust definition.
431 (locale::facet::_M_remove_reference): Likewise.
433 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
434 const facet** _M_facets.
435 (locale::_Impl::_Impl(const char*, size_t)): Likewise.
436 (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
437 (locale::_Impl::_M_install_facet): Adjust definition to take
438 const facet* and for const facet** _M_facets.
439 * testsuite/22_locale/locale/cons/8.cc: Add.
441 2003-01-29 Mark Mitchell <mark@codesourcery.com>
443 * include/std/std_limits.h (numeric_limits<float>::has_infinity):
444 Use __FLT_HAS_INIFINITY__ to initialize.
445 (numeric_limits<float>::has_quiet_NaN): Likewise.
446 (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
448 (numeric_limits<double>::has_quiet_NaN): Likewise.
449 (numeric_limits<long double>::has_infinity): Use
450 __LDBL_HAS_INIFINITY__ to initialize.
451 (numeric_limits<long_double>::has_quiet_NaN): Likewise.
453 2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
456 * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
457 with bases which are very ambiguous.
459 2003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
461 * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
462 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
463 * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
464 * src/Makefile.in: Regenerate.
465 * libsupc++/Makefile.in: Regenerate.
467 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
469 * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
470 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
471 version_specific_libs is enabled.
472 * aclocal.m4, configure: Rebuilt.
474 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
476 * include/bits/valarray_meta.h: Remove, split into ...
477 * include/bits/valarray_before.h: ... this, and ...
478 * include/bits/valarray_after.h: ... this.
479 * include/std/std_valarray.h: Adjust.
480 * include/Makefile.am (bits_headers): Adjust.
481 * include/Makefile.in: Regenerate.
483 2003-01-24 Andreas Schwab <schwab@suse.de>
485 * config/linker-map.gnu: Fix for size_t variance.
487 2003-01-23 Petur Runolfsson <peturr02@ru.is>
490 * include/std/std_streambuf.h
491 (basic_streambuf::basic_streambuf,
492 basic_streambuf::~basic_streambuf,
493 basic_streambuf::getloc, basic_streambuf::imbue):
494 Remove _M_buf_locale_init
495 * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
496 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
497 * testsuite/27_io/streambuf_members.cc (test08): Add.
498 * testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
500 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
502 Revert include ordering.
503 * config/locale/generic/c_locale.h: Add include guards.
504 * config/locale/gnu/c_locale.h: Same.
505 * include/bits/locale_classes.h: Remove cctype include.
506 * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
507 * include/std/std_fstream.h: Remove streambuf include.
508 * include/std/std_sstream.h: Remove streambuf include.
510 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
512 * configure.in (libtool_VERSION): To 6:0:0.
513 * configure: Regenerated.
514 * config/linker-map.gnu: Clean.
516 * src/misc-inst.cc: Remove instantiations.
518 * include/bits/stl_alloc.h (__malloc_alloc_template):
520 (__default_alloc_template): To __pool_alloc.
521 * src/stl-inst.cc: Same.
522 * include/backward/alloc.h: Update.
523 * testsuite/ext/allocators.cc: Update.
525 * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
526 really try to remove these if possible.
527 * src/locale.cc (std): Same.
529 * testsuite/abi_check.cc (check_version): Add.
531 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
532 Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
533 Mark Mitchell <mark@codesourcery.com>
536 * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
537 (basic_filebuf::underflow): Declare.
540 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
542 * include/bits/locale_facets.h: Move non-facet classes requiring
544 * include/bits/locale_classes.h: New.
545 * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
546 * include/bits/Makefile.in: Regenerate.
548 * include/bits/locale_facets.tcc (__convert_from_v): Move to...
549 * config/locale/gnu/c_locale.h: ...here.
550 * config/locale/generic/c_locale.h: Same.
552 * include/bits/locale_facets.tcc: Move declarations to...
553 * include/bits/locale_facets.h: ...here.
554 * include/bits/basic_ios.h: Tweak includes accordingly.
555 * include/std/std_sstream.h: Add streambuf include.
556 * include/std/std_fstream.h: Ditto.
557 * include/std/std_locale.h: Add locale_classes.h include.
558 * include/std/std_iosfwd.h: Tweak.
559 * src/concept-inst.cc: Add iterator include.
561 * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
562 bits as unexported in the future.
564 2003-01-21 Benjamin Kosnik <bkoz@redhat.com>
566 Reshuffle 22_locale testsuite.
567 * 22_locale/(codecvt.cc money_get.cc
568 codecvt_members_char_char.cc money_get_members_char.cc
569 codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
570 codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
571 codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
572 moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
573 collate_members_char.cc money_put.cc collate_members_wchar_t.cc
574 money_put_members_char.cc ctor_copy_dtor.cc
575 money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
576 num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
577 ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
578 numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
579 ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
580 num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
581 ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
582 operators.cc ctype_widen_char.cc static_members.cc
583 ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
584 global_templates.cc time_get_members_wchar_t.cc, members.cc,
585 time_put.cc, messages_byname.cc, time_put_members_char.cc,
586 messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
587 Splint up into individual test cases...
588 * 22_locale/codecvt/1.cc: New.
589 * 22_locale/codecvt/2.cc: New.
590 * 22_locale/codecvt/always_noconv/char/1.cc: New.
591 * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
592 * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
593 * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
594 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
595 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
596 * 22_locale/codecvt/encoding/char/1.cc: New.
597 * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
598 * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
599 * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
600 * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
601 * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
602 * 22_locale/codecvt/in/char/1.cc: New.
603 * 22_locale/codecvt/in/char/wrapped_env.cc: New.
604 * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
605 * 22_locale/codecvt/in/wchar_t/1.cc: New.
606 * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
607 * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
608 * 22_locale/codecvt/length/char/1.cc: New.
609 * 22_locale/codecvt/length/char/wrapped_env.cc: New.
610 * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
611 * 22_locale/codecvt/length/wchar_t/1.cc: New.
612 * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
613 * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
614 * 22_locale/codecvt/max_length/char/1.cc: New.
615 * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
616 * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
617 * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
618 * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
619 * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
620 * 22_locale/codecvt/out/char/1.cc: New.
621 * 22_locale/codecvt/out/char/wrapped_env.cc: New.
622 * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
623 * 22_locale/codecvt/out/wchar_t/1.cc: New.
624 * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
625 * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
626 * 22_locale/codecvt/unicode/char.cc: New.
627 * 22_locale/codecvt/unicode/wchar_t.cc: New.
628 * 22_locale/codecvt/unshift/char/1.cc: New.
629 * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
630 * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
631 * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
632 * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
633 * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
634 * 22_locale/collate/1.cc: New.
635 * 22_locale/collate/2.cc: New.
636 * 22_locale/collate/compare/char/1.cc: New.
637 * 22_locale/collate/compare/char/2.cc: New.
638 * 22_locale/collate/compare/char/wrapped_env.cc: New.
639 * 22_locale/collate/compare/char/wrapped_locale.cc: New.
640 * 22_locale/collate/compare/wchar_t/1.cc: New.
641 * 22_locale/collate/compare/wchar_t/2.cc: New.
642 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
643 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
644 * 22_locale/collate/hash/char/1.cc: New.
645 * 22_locale/collate/hash/char/2.cc: New.
646 * 22_locale/collate/hash/char/wrapped_env.cc: New.
647 * 22_locale/collate/hash/char/wrapped_locale.cc: New.
648 * 22_locale/collate/hash/wchar_t/1.cc: New.
649 * 22_locale/collate/hash/wchar_t/2.cc: New.
650 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
651 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
652 * 22_locale/collate/transform/char/2.cc: New.
653 * 22_locale/collate/transform/char/wrapped_env.cc: New.
654 * 22_locale/collate/transform/char/wrapped_locale.cc: New.
655 * 22_locale/collate/transform/wchar_t/2.cc: New.
656 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
657 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
658 * 22_locale/collate_byname/1.cc: New.
659 * 22_locale/ctype/1.cc: New.
660 * 22_locale/ctype/2.cc: New.
661 * 22_locale/ctype/cons/char/1.cc: New.
662 * 22_locale/ctype/cons/char/wrapped_env.cc: New.
663 * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
664 * 22_locale/ctype/is/char/1.cc: New.
665 * 22_locale/ctype/is/char/2.cc: New.
666 * 22_locale/ctype/is/char/3.cc: New.
667 * 22_locale/ctype/is/char/wrapped_env.cc: New.
668 * 22_locale/ctype/is/char/wrapped_locale.cc: New.
669 * 22_locale/ctype/is/wchar_t/1.cc: New.
670 * 22_locale/ctype/is/wchar_t/2.cc: New.
671 * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
672 * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
673 * 22_locale/ctype/narrow/char/1.cc: New.
674 * 22_locale/ctype/narrow/char/2.cc: New.
675 * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
676 * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
677 * 22_locale/ctype/narrow/wchar_t/1.cc: New.
678 * 22_locale/ctype/narrow/wchar_t/2.cc: New.
679 * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
680 * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
681 * 22_locale/ctype/scan/char/1.cc: New.
682 * 22_locale/ctype/scan/char/wrapped_env.cc: New.
683 * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
684 * 22_locale/ctype/scan/wchar_t/1.cc: New.
685 * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
686 * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
687 * 22_locale/ctype/to/char/1.cc: New.
688 * 22_locale/ctype/to/char/wrapped_env.cc: New.
689 * 22_locale/ctype/to/char/wrapped_locale.cc: New.
690 * 22_locale/ctype/to/wchar_t/1.cc: New.
691 * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
692 * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
693 * 22_locale/ctype/widen/char/1.cc: New.
694 * 22_locale/ctype/widen/char/wrapped_env.cc: New.
695 * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
696 * 22_locale/ctype/widen/wchar_t/1.cc: New.
697 * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
698 * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
699 * 22_locale/facet/1.cc: New.
700 * 22_locale/facet/2.cc: New.
701 * 22_locale/global_templates/1.cc: New.
702 * 22_locale/locale/cons/1.cc: New.
703 * 22_locale/locale/cons/2.cc: New.
704 * 22_locale/locale/cons/3.cc: New.
705 * 22_locale/locale/cons/4.cc: New.
706 * 22_locale/locale/cons/5.cc: New.
707 * 22_locale/locale/cons/6.cc: New.
708 * 22_locale/locale/cons/7.cc: New.
709 * 22_locale/locale/global_locale_objects/1.cc: New.
710 * 22_locale/locale/global_locale_objects/2.cc: New.
711 * 22_locale/locale/global_locale_objects/3.cc: New.
712 * 22_locale/locale/operations/1.cc: New.
713 * 22_locale/locale/operations/2.cc: New.
714 * 22_locale/messages/1.cc: New.
715 * 22_locale/messages/2.cc: New.
716 * 22_locale/messages/members/char/1.cc: New.
717 * 22_locale/messages/members/char/2.cc: New.
718 * 22_locale/messages/members/char/3.cc: New.
719 * 22_locale/messages/members/char/wrapped_env.cc: New.
720 * 22_locale/messages/members/char/wrapped_locale.cc: New.
721 * 22_locale/messages_byname/1.cc: New.
722 * 22_locale/money_get/1.cc: New.
723 * 22_locale/money_get/2.cc: New.
724 * 22_locale/money_get/get/char/1.cc: New.
725 * 22_locale/money_get/get/char/2.cc: New.
726 * 22_locale/money_get/get/char/3.cc: New.
727 * 22_locale/money_get/get/char/4.cc: New.
728 * 22_locale/money_get/get/char/5.cc: New.
729 * 22_locale/money_get/get/char/6.cc: New.
730 * 22_locale/money_get/get/char/7.cc: New.
731 * 22_locale/money_get/get/char/8.cc: New.
732 * 22_locale/money_get/get/char/wrapped_env.cc: New.
733 * 22_locale/money_get/get/char/wrapped_locale.cc: New.
734 * 22_locale/money_get/get/wchar_t/1.cc: New.
735 * 22_locale/money_get/get/wchar_t/2.cc: New.
736 * 22_locale/money_get/get/wchar_t/3.cc: New.
737 * 22_locale/money_get/get/wchar_t/4.cc: New.
738 * 22_locale/money_get/get/wchar_t/5.cc: New.
739 * 22_locale/money_get/get/wchar_t/6.cc: New.
740 * 22_locale/money_get/get/wchar_t/7.cc: New.
741 * 22_locale/money_get/get/wchar_t/8.cc: New.
742 * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
743 * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
744 * 22_locale/money_put/1.cc: New.
745 * 22_locale/money_put/2.cc: New.
746 * 22_locale/money_put/put/char/1.cc: New.
747 * 22_locale/money_put/put/char/2.cc: New.
748 * 22_locale/money_put/put/char/3.cc: New.
749 * 22_locale/money_put/put/char/4.cc: New.
750 * 22_locale/money_put/put/char/5.cc: New.
751 * 22_locale/money_put/put/char/6.cc: New.
752 * 22_locale/money_put/put/char/wrapped_env.cc: New.
753 * 22_locale/money_put/put/char/wrapped_locale.cc: New.
754 * 22_locale/money_put/put/wchar_t/1.cc: New.
755 * 22_locale/money_put/put/wchar_t/2.cc: New.
756 * 22_locale/money_put/put/wchar_t/3.cc: New.
757 * 22_locale/money_put/put/wchar_t/4.cc: New.
758 * 22_locale/money_put/put/wchar_t/5.cc: New.
759 * 22_locale/money_put/put/wchar_t/6.cc: New.
760 * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
761 * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
762 * 22_locale/moneypunct/1.cc: New.
763 * 22_locale/moneypunct/2.cc: New.
764 * 22_locale/moneypunct/3.cc: New.
765 * 22_locale/moneypunct/members/char/1.cc: New.
766 * 22_locale/moneypunct/members/char/2.cc: New.
767 * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
768 * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
769 * 22_locale/moneypunct/members/wchar_t/1.cc: New.
770 * 22_locale/moneypunct/members/wchar_t/2.cc: New.
771 * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
772 * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
773 * 22_locale/moneypunct_byname/1.cc: New.
774 * 22_locale/num_get/1.cc: New.
775 * 22_locale/num_get/2.cc: New.
776 * 22_locale/num_get/get/char/1.cc: New.
777 * 22_locale/num_get/get/char/2.cc: New.
778 * 22_locale/num_get/get/char/3.cc: New.
779 * 22_locale/num_get/get/char/4.cc: New.
780 * 22_locale/num_get/get/char/5.cc: New.
781 * 22_locale/num_get/get/char/6.cc: New.
782 * 22_locale/num_get/get/char/wrapped_env.cc: New.
783 * 22_locale/num_get/get/char/wrapped_locale.cc: New.
784 * 22_locale/num_get/get/wchar_t/1.cc: New.
785 * 22_locale/num_get/get/wchar_t/2.cc: New.
786 * 22_locale/num_get/get/wchar_t/3.cc: New.
787 * 22_locale/num_get/get/wchar_t/4.cc: New.
788 * 22_locale/num_get/get/wchar_t/5.cc: New.
789 * 22_locale/num_get/get/wchar_t/6.cc: New.
790 * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
791 * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
792 * 22_locale/num_put/1.cc: New.
793 * 22_locale/num_put/2.cc: New.
794 * 22_locale/num_put/put/char/1.cc: New.
795 * 22_locale/num_put/put/char/2.cc: New.
796 * 22_locale/num_put/put/char/3.cc: New.
797 * 22_locale/num_put/put/char/4.cc: New.
798 * 22_locale/num_put/put/char/5.cc: New.
799 * 22_locale/num_put/put/char/wrapped_env.cc: New.
800 * 22_locale/num_put/put/char/wrapped_locale.cc: New.
801 * 22_locale/num_put/put/wchar_t/1.cc: New.
802 * 22_locale/num_put/put/wchar_t/2.cc: New.
803 * 22_locale/num_put/put/wchar_t/3.cc: New.
804 * 22_locale/num_put/put/wchar_t/4.cc: New.
805 * 22_locale/num_put/put/wchar_t/5.cc: New.
806 * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
807 * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
808 * 22_locale/numpunct/1.cc: New.
809 * 22_locale/numpunct/2.cc: New.
810 * 22_locale/numpunct/members/char/1.cc: New.
811 * 22_locale/numpunct/members/char/2.cc: New.
812 * 22_locale/numpunct/members/char/wrapped_env.cc: New.
813 * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
814 * 22_locale/numpunct/members/wchar_t/1.cc: New.
815 * 22_locale/numpunct/members/wchar_t/2.cc: New.
816 * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
817 * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
818 * 22_locale/numpunct_byname/1.cc: New.
819 * 22_locale/numpunct_byname/2.cc: New.
820 * 22_locale/time_get/1.cc: New.
821 * 22_locale/time_get/2.cc: New.
822 * 22_locale/time_get/date_order/char/1.cc: New.
823 * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
824 * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
825 * 22_locale/time_get/date_order/wchar_t/1.cc: New.
826 * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
827 * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
828 * 22_locale/time_get/get_date/char/1.cc: New.
829 * 22_locale/time_get/get_date/char/2.cc: New.
830 * 22_locale/time_get/get_date/char/3.cc: New.
831 * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
832 * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
833 * 22_locale/time_get/get_date/wchar_t/1.cc: New.
834 * 22_locale/time_get/get_date/wchar_t/2.cc: New.
835 * 22_locale/time_get/get_date/wchar_t/3.cc: New.
836 * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
837 * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
838 * 22_locale/time_get/get_monthname/char/1.cc: New.
839 * 22_locale/time_get/get_monthname/char/2.cc: New.
840 * 22_locale/time_get/get_monthname/char/3.cc: New.
841 * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
842 * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
843 * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
844 * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
845 * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
846 * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
847 * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
848 * 22_locale/time_get/get_time/char/1.cc: New.
849 * 22_locale/time_get/get_time/char/2.cc: New.
850 * 22_locale/time_get/get_time/char/3.cc: New.
851 * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
852 * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
853 * 22_locale/time_get/get_time/wchar_t/1.cc: New.
854 * 22_locale/time_get/get_time/wchar_t/2.cc: New.
855 * 22_locale/time_get/get_time/wchar_t/3.cc: New.
856 * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
857 * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
858 * 22_locale/time_get/get_weekday/char/1.cc: New.
859 * 22_locale/time_get/get_weekday/char/2.cc: New.
860 * 22_locale/time_get/get_weekday/char/3.cc: New.
861 * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
862 * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
863 * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
864 * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
865 * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
866 * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
867 * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
868 * 22_locale/time_get/get_year/char/1.cc: New.
869 * 22_locale/time_get/get_year/char/3.cc: New.
870 * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
871 * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
872 * 22_locale/time_get/get_year/wchar_t/1.cc: New.
873 * 22_locale/time_get/get_year/wchar_t/3.cc: New.
874 * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
875 * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
876 * 22_locale/time_put/1.cc: New.
877 * 22_locale/time_put/2.cc: New.
878 * 22_locale/time_put/put/char/1.cc: New.
879 * 22_locale/time_put/put/char/10.cc: New.
880 * 22_locale/time_put/put/char/2.cc: New.
881 * 22_locale/time_put/put/char/3.cc: New.
882 * 22_locale/time_put/put/char/4.cc: New.
883 * 22_locale/time_put/put/char/5.cc: New.
884 * 22_locale/time_put/put/char/6.cc: New.
885 * 22_locale/time_put/put/char/7.cc: New.
886 * 22_locale/time_put/put/char/8.cc: New.
887 * 22_locale/time_put/put/char/9.cc: New.
888 * 22_locale/time_put/put/char/wrapped_env.cc: New.
889 * 22_locale/time_put/put/char/wrapped_locale.cc: New.
890 * 22_locale/time_put/put/wchar_t/1.cc: New.
891 * 22_locale/time_put/put/wchar_t/10.cc: New.
892 * 22_locale/time_put/put/wchar_t/2.cc: New.
893 * 22_locale/time_put/put/wchar_t/3.cc: New.
894 * 22_locale/time_put/put/wchar_t/4.cc: New.
895 * 22_locale/time_put/put/wchar_t/5.cc: New.
896 * 22_locale/time_put/put/wchar_t/6.cc: New.
897 * 22_locale/time_put/put/wchar_t/7.cc: New.
898 * 22_locale/time_put/put/wchar_t/8.cc: New.
899 * 22_locale/time_put/put/wchar_t/9.cc: New.
900 * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
901 * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
903 2003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
905 * config/locale/generic/messages_members.h
906 (messages_byname<_CharT>::messages_byname): Use this-> to refer to
907 unqualified members of base clasess.
909 2003-01-16 Mark Mitchell <mark@codesourcery.com>
910 Jeffrey Oldham <oldham@codesourcery.com>
912 * config/locale/gnu/messages_members.h: Use this-> to refer to
913 unqualified members of base clasess.
914 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
915 * include/bits/codecvt.h: Likewise.
916 * include/bits/deque.tcc: Likewise.
917 * include/bits/fstream.tcc: Likewise.
918 * include/bits/istream.tcc: Likewise.
919 * include/bits/list.tcc: Likewise.
920 * include/bits/locale_facets.h: Likewise.
921 * include/bits/ostream.tcc: Likewise.
922 * include/bits/sstream.tcc: Likewise.
923 * include/bits/stl_bvector.h: Likewise.
924 * include/bits/stl_deque.h: Likewise.
925 * include/bits/stl_list.h: Likewise.
926 * include/bits/stl_tree.h: Likewise.
927 * include/bits/stl_vector.h: Likewise.
928 * include/bits/vector.tcc: Likewise.
929 * include/ext/ropeimpl.h: Likewise.
930 * include/ext/stdio_filebuf.h: Likewise.
931 * include/ext/stl_rope.h: Likewise.
932 * include/std/std_fstream.h: Likewise.
933 * include/std/std_sstream.h: Likewise.
935 2003-01-15 Phil Edwards <pme@gcc.gnu.org>
937 * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
939 2003-01-15 Benjamin Kosnik <bkoz@redhat.com>
941 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
942 GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
943 * aclocal.m4: Regenerate.
944 * configure: Regenerate.
945 * testsuite/Makefile.am (all-local): Add conditional rule to
946 generate testsuite_wchar_t.
947 * testsuite/Makefile.in: Regenerate.
948 * testsuite/lib/libstdc++-v3-dg.exp
949 (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
950 testsuite_wchar_t is not present in the build directory.
951 * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
952 Remove setulimit bits.
953 * testsuite/26_numerics/complex_value.cc: Set to noopts.
954 * testsuite/Makefile.am (CLEANFILES): Add.
955 * testsuite/Makefile.in: Regenerate.
957 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
959 * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
962 2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
964 Further conform g++'s __vmi_class_type_info to the C++ ABI
967 (__vmi_class_type_info::__flags_masks): Remove enumerations not
968 required by the specification.
970 2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
972 Renames, namespaces for testsuite utilities.
973 * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
974 (gnu_allocator_tracker): Rename to allocation_tracker.
975 (gnu_new_allocator): Rename to tracker_alloc.
976 (__set_testsuite_memlimit): Rename to set_memory_limits.
977 (gnu_assignment_operator): Rename to assignment_operator.
978 (gnu_destructor): Rename to destructor.
979 (gnu_copy_tracker): Rename to copy_tracker.
980 (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
981 (run_tests_wrapped_locale): New.
982 (run_tests_wrapped_env): New.
983 * testsuite/testsuite_hooks.cc: Same.
984 (class locale_data): Add.
985 (class enviornment_variable): Add.
986 (class not_found): Add.
987 * testsuite/testsuite_allocator.h: Same.
988 * testsuite/testsuite_allocator.cc: Same.
989 * testsuite/23_containers/deque_ctor.cc
990 (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
992 Change gnu_new_allocator to tracker_alloc.
993 Change gnu_counting_struct to counter.
994 Change gnu_copy_tracker to copy_tracker.
995 Change gnu_copy_constructor to copy_constructor.
996 Change gnu_assignment_operator to assignment_operator.
998 * testsuite/23_containers/vector_capacity.cc: Same.
999 * testsuite/23_containers/vector_ctor.cc (test01): Same.
1000 * testsuite/23_containers/list_modifiers.cc: Change
1001 gnu_copy_tracker to copy_tracker.
1002 * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
1003 __set_testsuite_memlimit to set_memory_limits.
1004 * testsuite/21_strings/insert.cc (main): Same.
1005 * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
1006 * testsuite/27_io/stringstream.cc: Same.
1007 * testsuite/27_io/stringbuf.cc: Same.
1008 * testsuite/27_io/streambuf.cc: Same.
1009 * testsuite/27_io/ostream.cc: Same.
1010 * testsuite/27_io/istream.cc: Same.
1011 * testsuite/27_io/fstream.cc: Same.
1012 * testsuite/lib/libstdc++-v3-dg.exp
1013 (libstdc++-v3-list-sourcefiles): Additionally handle files two and
1014 three levels deeper in glob patterns.
1016 2003-01-11 Phil Edwards <pme@gcc.gnu.org>
1018 * docs/doxygen/tables.html: Finished now.
1019 * docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
1020 * include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
1023 * include/bits/deque.tcc, include/bits/stl_alloc.h,
1024 include/bits/stl_deque.h, include/bits/stl_list.h,
1025 include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
1028 2003-01-09 Benjamin Kosnik <bkoz@redhat.com>
1030 * configure.in: Revert.
1031 * configure: Regenerate.
1033 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
1035 * include/Makefile.am (install-data-local): Prepend
1036 $(DESTDIR) to destination paths in all (un)installation
1037 commands. Use ${c_base_builddir} and ${std_builddir}
1038 as destination subdirectories to achieve consistency with
1039 preceding mkinstalldirs commands. No effect because both
1040 variables contain "." only.
1041 * include/Makefile.in: Regenerate.
1043 2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
1045 * include/Makefile.am (stamp-*): Add checks for existing stamps.
1046 * include/Makefile.in: Regenerate.
1048 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
1049 * aclocal.m4: Regenerate.
1051 * configure.in: Don't add new multi-do rules every time the
1052 directory is reconfigured.
1053 * configure: Regenerate.
1055 2003-01-08 Brad Spencer <spencer@infointeractive.com>
1056 Nathan Myers <ncm@cantrip.org>
1058 * src/Makefile.am (stamp-debug): Clean.
1059 * src/Makefile.in: Regenerate.
1061 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
1064 * Makefile.am (distclean-multi): Fix.
1065 * Makefile.in: Regenerate.
1067 2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
1069 * include/bits/locale_facets.h (messages): Move ctor, dtor
1071 (__timepunct): Same.
1072 * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
1073 definitions. Conditionalize for GNU systems.
1074 * config/locale/generic/messages_members.h (messages): Add dtor, ctor
1076 * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
1077 definitions. Conditionalize for GNU systems.
1078 * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
1080 * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
1081 * src/locale.cc: Define.
1082 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
1084 * config/locale/gnu/time_members.h: Use it.
1085 * config/locale/gnu/messages_members.h: Use it.
1086 * config/linker-map.gnu: Add locale::facets details.
1087 * include/Makefile.am (target_headers_extra): Add time_members.h.
1088 * include/Makefile.in: Regenerate.
1089 * acinclude.m4: Export CTIME_H.
1090 * aclocal.m4: Regenerate.
1091 * configure: Regnerate.
1093 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
1096 (codecvt<char, char, mbstate_t>::do_in, do_out):
1097 Tweak parameters to avoid unused parameter warnings.
1099 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
1102 * include/bits/locale_facets.cc (num_put::_M_convert_float):
1103 Limit __prec to digits10 + 2, not digits10 + 1, taking into
1104 account the possibility of %{g,G} conversion specifiers
1105 inside _S_format_float.
1106 * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
1108 2003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1110 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
1111 libstdc++-v3-list-sourcefiles): Additionally handle files one
1112 level deeper in glob patterns.
1114 * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
1115 * testsuite/27_io/istream_extractor_arith/01.cc,
1116 testsuite/27_io/istream_extractor_arith/02.cc,
1117 testsuite/27_io/istream_extractor_arith/03.cc,
1118 testsuite/27_io/istream_extractor_arith/06.cc,
1119 testsuite/27_io/istream_extractor_arith/07.cc,
1120 testsuite/27_io/istream_extractor_arith/08.cc,
1121 testsuite/27_io/istream_extractor_arith/09.cc,
1122 testsuite/27_io/istream_extractor_arith/10.cc,
1123 testsuite/27_io/istream_extractor_arith/11.cc,
1124 testsuite/27_io/istream_extractor_arith/12.cc,
1125 testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
1126 * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
1129 2003-01-05 Paolo Carlini <pcarlini@unitus.it>
1133 (codecvt<char, char, mbstate_t>::do_in, do_out):
1134 Implement the resolution of DR19 (TC).
1135 * testsuite/22_locale/codecvt_members_char_char.cc
1138 2003-01-02 Jason Merrill <jason@redhat.com>
1140 * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
1141 *__mem is also an output.
1142 * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.