1 2003-02-25 Scott Snyder <snyder@fnal.gov>
4 * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
6 * include/bits/stl_multimap.h (lower_bound, upper_bound,
7 equal_range): Likewise.
9 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
13 (basic_filebuf<char/wchar_t>::_M_underflow_common): When
14 __bump is true (uflow), always increment the read pointer
15 (_M_in_cur) before returning successfully.
16 * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
18 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
19 Nathan Myers <ncm@cantrip.org>
21 PR libstdc++/9404, PR libstdc++/9701 (partial)
22 (aka pptr == epptr implies overflow)
23 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
24 Consistently, _M_out_end points to the end of the buffer just
26 (overflow): Tweak to use _M_out_buf_size().
27 (_M_convert_to_external): The role of the old _M_out_end is
28 now played by _M_out_lim.
29 (_M_really_overflow): Likewise.
31 (setbuf): _M_out_end points to the end of the external buffer.
32 * include/bits/sstream.tcc (overflow): Rewrote, taking into
33 account the resolution of DR 169 (TC).
34 (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
35 (seekpos): Use _M_string.capacity(); tweak.
36 * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
37 * include/std/std_fstream.h (sync): The role of the old
38 _M_out_end is now played by _M_out_lim.
39 (_M_set_indeterminate): Use _M_set_determinate.
40 (_M_set_determinate): _M_out_end is now _M_out_lim.
41 (_M_is_indeterminate): Likewise.
42 * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
43 (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
44 which have the information readily available as _M_string.capacity();
45 for ate and app modes, pass the string size to _M_really_sync.
46 (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
47 point to the end of the buffer (i.e., epptr) and to the string end,
49 * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
50 which points to the right limit of the used put area.
51 (_M_out_cur_move): The role of the old _M_out_end is now played
53 (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
54 _M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter
56 (basic_streambuf()): Initialize _M_out_lim too.
57 * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
58 * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
59 * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
61 2003-02-24 Benjamin Kosnik <bkoz@redhat.com>
63 * testsuite/27_io/ios_base_storage.cc (main): Call
66 2003-02-21 Jerry Quinn <jlquinn@optonline.net>
68 * include/bits/locale_facets.tcc (_M_convert_float): Replace
69 numpunct facet accesses with data from __locale_cache.
71 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
73 * docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD.
74 * docs/html/faq/index.txt: Regenerate.
76 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
78 * config/linker-map.gnu: Also export locking symbols needed for the
79 generic atomicity.h case.
81 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
83 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
87 2003-02-19 Paolo Carlini <pcarlini@unitus.it>
89 * include/bits/sstream.tcc (overflow): According to
90 27.7.1.3, p5, actual output is performed by sputc(c).
92 2003-02-19 Phil Edwards <pme@gcc.gnu.org>
95 * include/bits/stl_alloc.h: Remove all traces of assert().
97 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
99 * include/std/std_sstream.h (str()): the size of the
100 current string may be different from the initial one
101 whenever _M_out_end > _M_out_beg.
102 * testsuite/27_io/stringbuf_members.cc (test07): Add.
104 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
107 * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
109 2003-02-17 Benjamin Kosnik <bkoz@redhat.com>
111 * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
112 * testsuite/27_io/ios_members.cc (test03): New.
114 2003-02-17 Jerry Quinn <jlquinn@optonline.net>
116 * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
117 (basic_ios::_M_cache_facets): Move into above.
118 * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
120 (basic_ios::imbue): Force locale cache to be built.
121 (basic_ios::_M_init): Create and initialize locale cache.
122 * include/bits/ios_base.h (__locale_cache_base): Declare.
123 (ios_base::_M_locale_cache): New.
124 (ios_base::_M_cache): Define.
125 * include/bits/locale_facets.h: (__num_base): Fix comment. Add
127 (__locale_cache_base,__locale_cache<_CharT>): New classes.
128 (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
129 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
130 cache literal string, grouping flag, thousands separator.
131 (__locale_cache<_CharT>::__locale_cache): New.
132 (__locale_cache<_CharT>::_M_init): New.
133 * src/ios.cc: Clear _M_locale_cache in constructor.
134 * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
137 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
139 * src/locale-inst.cc: Do not include <cassert>.
140 * src/locale.cc: Likewise.
142 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
145 * include/std/std_fstream.h: Declare underflow and uflow
146 specializations, change generic definitions to do nothing.
147 * src/fstream.cc: Add underflow and uflow specializations.
149 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
152 * include/bits/fstream.tcc (_M_convert_to_external):
153 Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
154 * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
156 2003-02-13 Benjamin Kosnik <bkoz@redhat.com>
158 * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
159 * include/bits/basic_ios.tcc: Guard use of extern template.
160 * include/std/std_iomanip.h: Same.
161 * include/bits/streambuf.tcc: Same.
162 * include/bits/stl_alloc.h: Same.
163 * include/bits/locale_facets.tcc: Same.
164 * include/bits/ostream.tcc: Same.
165 * include/bits/istream.tcc: Same.
166 * include/bits/fstream.tcc: Same.
167 * include/bits/basic_string.tcc: Same.
169 2003-02-13 Paolo Carlini <pcarlini@unitus.it>
171 * include/bits/ostream.tcc (sentry::sentry): Improve
172 performance-wise the fix for libstdc++/9563.
174 2003-02-12 Phil Edwards <pme@gcc.gnu.org>
176 * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
177 (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file.
178 (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare
179 when we don't have static mutex initialization.
180 (__exchange_and_add): Use _Atomic_add_mutex_once.
181 * src/misc-inst.cc: Definitions of all the above.
183 2003-02-12 Paolo Carlini <pcarlini@unitus.it>
186 * include/bits/ostream.tcc (sentry::sentry): Check
187 the state of the stream after the preparation.
188 * testsuite/27_io/ostream_sentry.cc (test02): Add.
190 2003-02-11 Benjamin Kosnik <bkoz@redhat.com>
192 * include/Makefile.am (stamp-std-precompile): Add rule.
193 * include/Makefile.in: Regenerated.
195 2003-02-11 Jerry Quinn <jlquinn@optonline.net>
196 Benjamin Kosnik <benjamin@redhat.com>
198 * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
199 Add indexes into this array.
200 (__num_base::_S_atoms): To _S_atoms_in.
201 (num_put::_M_insert): Rename to _M_pad.
202 (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
203 (num_put::_M_widen_int): Rename to _M_group_int.
204 (num_put::_M_widen_float): Rename to _M_group_float.
205 * include/bits/locale_facets.tcc (__int_to_char): New inline
206 function and adapter functions.
207 (num_put::_M_group_int): Streamline.
208 (num_put::_M_group_float): Streamline.
209 (num_put::_M_convert_int): Remove unused parameter names. Choose
210 large enough buffer for text. Use __int_to_char instead of
211 __convert_from_v. Formatted text is now at the end of the buffer.
212 (num_put::_M_convert_float): Preliminary fixups.
213 * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
214 (__int_to_char<unsigned long long>): Same.
215 (__int_to_char<char, unsigned long>): New.
216 (__int_to_char<char, unsigned long long>): New.
217 (__int_to_char<wchar_t, unsigned long>): New.
218 (__int_to_char<wchar_t, unsigned long long>): New.
220 2003-02-11 Scott Snyder <snyder@fnal.gov>
223 * include/bits/fstream.tcc (seekoff): Avoid operator+
226 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
229 * include/ext/stdio_filebuf.h
230 (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
231 stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
232 Change to take a __size parameter of type size_t, not
233 of type (template parameter dependent) int_type.
234 * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
236 * testsuite/ext/stdio_filebuf.cc: Add.
238 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
239 Petur Runolfsson <peturr02@ru.is>
242 * include/bits/streambuf.tcc (__copy_streambufs):
243 Don't conditionalize the copy to __testput.
244 * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
246 2002-02-11 DJ Delorie <dj@redhat.com>
248 * acinclude.m4: Check for native targets that can't link at
249 this point in the build.
250 * aclocal.m4: Regenerate.
251 * configure: Regenerate.
253 2003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
255 * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
257 (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
260 2003-02-07 Paolo Carlini <pcarlini@unitus.it>
262 * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
263 unsigned char platforms.
265 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
268 * include/std/std_istream.h
269 (basic_istream::sentry::operator bool()): Make const.
270 * include/std/std_ostream.h
271 (basic_ostream::sentry::operator bool()): Likewise.
272 * testsuite/27_io/istream_sentry.cc (test03): Add.
273 * testsuite/27_io/ostream_sentry.cc: Add.
275 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
278 Implement resolution of DR 231 (Ready)
279 * include/bits/locale_facets.h (__num_base::_S_format_float):
280 Change declaration: return void, remove __prec parameter.
281 * src/locale.cc (__num_base::_S_format_float): Implement
282 resolution of DR 231.
283 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
284 Tweak uses. Check for negative precision.
285 * testsuite/22_locale/num_put/put/char/6.cc: Add
286 * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
288 2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
290 * config/io/basic_file_libio.h: Fixups.
291 * config/io/c_io_libio.h: Same.
292 * libio/Makefile.am: Same.
293 * libio/Makefile.in: Regenerated.
295 2003-02-06 Benjamin Kosnik <bkoz@redhat.com>
297 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
298 Explicitly use the "C" locale.
299 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
301 2003-02-06 Petur Runolfsson <peturr02@ru.is>
305 PR libstdc++/9028 (partial)
311 (codecvt<wchar_t, char, mbstate_t>::do_encoding,
312 codecvt<wchar_t, char, mbstate_t>::do_length,
313 codecvt<wchar_t, char, mbstate_t>::do_max_length):
315 * config/locale/generic/codecvt_members.cc: ...here.
316 * config/locale/gnu/codecvt_members.cc: ...and here.
318 * config/locale/generic/codecvt_members.cc,
319 * config/locale/gnu/codecvt_members.cc
320 (codecvt<wchar_t, char, mbstate_t>::do_encoding
321 codecvt<wchar_t, char, mbstate_t>::do_in,
322 codecvt<wchar_t, char, mbstate_t>::do_length,
323 codecvt<wchar_t, char, mbstate_t>::do_max_length,
324 codecvt<wchar_t, char, mbstate_t>::do_out):
325 New implementation that handles stateless encodings,
328 * config/locale/generic/codecvt_members.cc,
329 * config/locale/gnu/codecvt_members.cc,
330 * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
331 * include/bits/codecvt.h,
333 (codecvt::length, codecvt::do_length):
334 Change type of first argument of length and do_length from
335 'const state_type&' to 'state_type&' according to DR 75.
337 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Cleanup.
338 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: New test.
339 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: New test.
340 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: New test.
341 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
342 Cleanup and check for correct return value from encoding
344 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: New test.
345 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: New test.
346 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: New test.
347 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Cleanup.
348 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: New test.
349 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: New test.
350 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: New test.
351 * testsuite/22_locale/codecvt/in/wchar_t/5.cc: New test.
352 * testsuite/22_locale/codecvt/in/wchar_t/6.cc: New test.
353 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: New test.
354 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: New test.
355 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: New test.
356 * testsuite/22_locale/codecvt/length/char/1.cc: Cleanup.
357 * testsuite/22_locale/codecvt/length/char/2.cc: New test.
358 * testsuite/22_locale/codecvt/length/wchar_t/1.cc: Cleanup.
359 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: New test.
360 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: New test.
361 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: New test.
362 * testsuite/22_locale/codecvt/length/wchar_t/5.cc: New test.
363 * testsuite/22_locale/codecvt/length/wchar_t/6.cc: New test.
364 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: New test.
365 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Cleanup.
366 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: New test.
367 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: New test.
368 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: New test.
369 * testsuite/22_locale/codecvt/out/wchar_t/1.cc: Cleanup.
370 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: New test.
371 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: New test.
372 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: New test.
373 * testsuite/22_locale/codecvt/out/wchar_t/5.cc: New test.
374 * testsuite/22_locale/codecvt/out/wchar_t/6.cc: New test.
375 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: New test.
376 * testsuite/22_locale/codecvt/unicode/1.cc: New test.
377 * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Cleanup.
378 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: New test.
379 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: New test.
380 * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc: New test.
382 2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
384 * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
385 (money_put::do_put): Same.
387 2003-02-05 Jerry Quinn <jlquinn@optonline.net>
389 * include/bits/ios_base.h (ios_base): Document reserved storage.
391 * include/bits/locale_facets.h: (struct __pad): Comment on
393 (__verify_grouping): Same.
394 (__add_grouping): Same.
395 * include/bits/locale_facets.tcc (__verify_grouping): Move
396 comments to declaration.
397 (__add_grouping): Same.
399 * include/bits/locale_facets.tcc:
400 (__write<_CharT, _OutIter>): New function.
401 (__write<_CharT>): New function specialization.
402 (num_put::_M_insert): Remove explicit loop over iterator. Use
404 (num_put::_M_widen_float): Remove __basefield.
405 (num_put::_M_widen_int): Move __basefield to within grouping block.
407 * include/bits/streambuf_iterator.h: Include <streambuf>.
408 (ostreambuf_iterator::_M_put): Add.
410 2003-02-05 Paolo Carlini <pcarlini@unitus.it>
412 * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
414 2003-02-04 Nathan Myers <ncm@cantrip.org>
416 * testsuite/25_algorithms/min_max.cc (test02): Add.
418 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
420 PR libstdc++/9439, PR libstdc++/9425
421 * config/io/basic_file_stdio.cc
422 (__basic_file<char>::seekoff, seekpos): Return -1L if
424 * include/bits/fstream.tcc (basic_filebuf::seekoff):
425 Check _M_file.seekoff return value; always return
426 pos_type(off_type(-1)) in case of failure.
427 (basic_filebuf::pbackfail): Check this->seekoff return
428 value and return traits_type::eof() in case of failure.
429 * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
431 2003-02-04 Jerry Quinn <jlquinn@optonline.net>
433 * include/std/std_ostream.h (ostream::_M_write): Declare.
434 * ostream.tcc (ostream::_M_write): Define.
435 (basic_ostream::write): Use it.
436 (operator<<(basic_ostream, _CharT)): Ditto.
437 (operator<<(basic_ostream, char)): Ditto.
438 (operator<<(basic_ostream, _CharT*)): Ditto.
439 (operator<<(basic_ostream, char*)): Ditto.
440 (operator<<(basic_ostream, basic_string)): Ditto.
442 2003-02-04 Benjamin Kosnik <bkoz@redhat.com>
444 * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
446 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
448 * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
449 add HTML comment about updating links if numbering changes.
451 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
454 * include/bits/streambuf.tcc (sputbackc): Access
455 this->gptr()[-1] only if _M_in_beg < _M_in_cur.
456 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
458 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
461 * include/bits/fstream.tcc (open): If the 'ate' repositioning
462 operation fails, calls close _and_ returns a null pointer
463 to indicate failure (27.8.1.3,4).
464 * testsuite/27_io/filebuf_members.cc (test_06): Add.
466 2003-02-04 Petur Runolfsson <peturr02@ru.is>
468 * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
470 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
472 * docs/html/27_io/howto.html: New section on stdio_filebuf.
473 * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
474 * docs/html/documentation.html: Regenerate.
476 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
478 * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
479 * docs/html/17_intro/porting.html: Regenerate.
481 2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
482 Phil Edwards <pme@gcc.gnu.org>
484 * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
485 numeric_limits for bits-per-word values.
486 (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
487 Use __builtin_popcountl instead.
488 (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
489 _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
490 Use __builtin_ctzl instead.
491 (_S_bit_count, _S_first_one): Remove.
492 * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
493 * src/Makefile.am (sources): Remove bitset.cc.
494 * src/bitset.cc: Delete file.
495 * src/Makefile.in: Regenerate.
497 2003-02-03 Phil Edwards <pme@gcc.gnu.org>
499 PR libstdc++/9527, PR libstdc++/8713
500 * docs/html/install.html: Mention glibc version requirement.
501 * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed
502 with 3.2.1+ (formatting bugfixes).
503 * docs/html/faq/index.txt: Regenerate.
505 2003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
508 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
511 * include/bits/valarray_before.h (__not_equal_to): Use != instead
514 * testsuite/26_numerics/valarray_operators.cc: New test.
516 2003-02-01 Phil Edwards <pme@gcc.gnu.org>
518 * docs/html/faq/index.html: Correct link to libg++ information.
519 * docs/html/faq/index.txt: Regenerated.
521 2003-02-01 Paolo Carlini <pcarlini@unitus.it>
522 Benjamin Kosnik <bkoz@redhat.com>
524 Const correctness issue:
525 http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
526 * include/bits/locale_classes.h
527 (locale::_Impl::_M_facets): Change type to const facet**.
528 (locale::_Impl::_M_install_facet): Change declaration to
530 (locale::facet::_M_references): Make mutable.
531 (locale::facet::_M_add_reference): Declare const.
532 (locale::facet::_M_remove_reference): Likewise.
533 * include/bits/locale_facets.tcc
534 (use_facet(const locale&)): Tweak for const facet** _M_facets.
535 (has_facet(const locale&)): Likewise.
537 (locale::facet::_M_add_reference): Adjust definition.
538 (locale::facet::_M_remove_reference): Likewise.
540 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
541 const facet** _M_facets.
542 (locale::_Impl::_Impl(const char*, size_t)): Likewise.
543 (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
544 (locale::_Impl::_M_install_facet): Adjust definition to take
545 const facet* and for const facet** _M_facets.
546 * testsuite/22_locale/locale/cons/8.cc: Add.
548 2003-01-29 Mark Mitchell <mark@codesourcery.com>
550 * include/std/std_limits.h (numeric_limits<float>::has_infinity):
551 Use __FLT_HAS_INIFINITY__ to initialize.
552 (numeric_limits<float>::has_quiet_NaN): Likewise.
553 (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
555 (numeric_limits<double>::has_quiet_NaN): Likewise.
556 (numeric_limits<long double>::has_infinity): Use
557 __LDBL_HAS_INIFINITY__ to initialize.
558 (numeric_limits<long_double>::has_quiet_NaN): Likewise.
560 2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
563 * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
564 with bases which are very ambiguous.
566 2003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
568 * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
569 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
570 * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
571 * src/Makefile.in: Regenerate.
572 * libsupc++/Makefile.in: Regenerate.
574 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
576 * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
577 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
578 version_specific_libs is enabled.
579 * aclocal.m4, configure: Rebuilt.
581 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
583 * include/bits/valarray_meta.h: Remove, split into ...
584 * include/bits/valarray_before.h: ... this, and ...
585 * include/bits/valarray_after.h: ... this.
586 * include/std/std_valarray.h: Adjust.
587 * include/Makefile.am (bits_headers): Adjust.
588 * include/Makefile.in: Regenerate.
590 2003-01-24 Andreas Schwab <schwab@suse.de>
592 * config/linker-map.gnu: Fix for size_t variance.
594 2003-01-23 Petur Runolfsson <peturr02@ru.is>
597 * include/std/std_streambuf.h
598 (basic_streambuf::basic_streambuf,
599 basic_streambuf::~basic_streambuf,
600 basic_streambuf::getloc, basic_streambuf::imbue):
601 Remove _M_buf_locale_init
602 * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
603 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
604 * testsuite/27_io/streambuf_members.cc (test08): Add.
605 * testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
607 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
609 Revert include ordering.
610 * config/locale/generic/c_locale.h: Add include guards.
611 * config/locale/gnu/c_locale.h: Same.
612 * include/bits/locale_classes.h: Remove cctype include.
613 * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
614 * include/std/std_fstream.h: Remove streambuf include.
615 * include/std/std_sstream.h: Remove streambuf include.
617 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
619 * configure.in (libtool_VERSION): To 6:0:0.
620 * configure: Regenerated.
621 * config/linker-map.gnu: Clean.
623 * src/misc-inst.cc: Remove instantiations.
625 * include/bits/stl_alloc.h (__malloc_alloc_template):
627 (__default_alloc_template): To __pool_alloc.
628 * src/stl-inst.cc: Same.
629 * include/backward/alloc.h: Update.
630 * testsuite/ext/allocators.cc: Update.
632 * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
633 really try to remove these if possible.
634 * src/locale.cc (std): Same.
636 * testsuite/abi_check.cc (check_version): Add.
638 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
639 Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
640 Mark Mitchell <mark@codesourcery.com>
643 * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
644 (basic_filebuf::underflow): Declare.
647 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
649 * include/bits/locale_facets.h: Move non-facet classes requiring
651 * include/bits/locale_classes.h: New.
652 * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
653 * include/bits/Makefile.in: Regenerate.
655 * include/bits/locale_facets.tcc (__convert_from_v): Move to...
656 * config/locale/gnu/c_locale.h: ...here.
657 * config/locale/generic/c_locale.h: Same.
659 * include/bits/locale_facets.tcc: Move declarations to...
660 * include/bits/locale_facets.h: ...here.
661 * include/bits/basic_ios.h: Tweak includes accordingly.
662 * include/std/std_sstream.h: Add streambuf include.
663 * include/std/std_fstream.h: Ditto.
664 * include/std/std_locale.h: Add locale_classes.h include.
665 * include/std/std_iosfwd.h: Tweak.
666 * src/concept-inst.cc: Add iterator include.
668 * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
669 bits as unexported in the future.
671 2003-01-21 Benjamin Kosnik <bkoz@redhat.com>
673 Reshuffle 22_locale testsuite.
674 * 22_locale/(codecvt.cc money_get.cc
675 codecvt_members_char_char.cc money_get_members_char.cc
676 codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
677 codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
678 codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
679 moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
680 collate_members_char.cc money_put.cc collate_members_wchar_t.cc
681 money_put_members_char.cc ctor_copy_dtor.cc
682 money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
683 num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
684 ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
685 numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
686 ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
687 num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
688 ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
689 operators.cc ctype_widen_char.cc static_members.cc
690 ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
691 global_templates.cc time_get_members_wchar_t.cc, members.cc,
692 time_put.cc, messages_byname.cc, time_put_members_char.cc,
693 messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
694 Splint up into individual test cases...
695 * 22_locale/codecvt/1.cc: New.
696 * 22_locale/codecvt/2.cc: New.
697 * 22_locale/codecvt/always_noconv/char/1.cc: New.
698 * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
699 * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
700 * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
701 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
702 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
703 * 22_locale/codecvt/encoding/char/1.cc: New.
704 * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
705 * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
706 * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
707 * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
708 * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
709 * 22_locale/codecvt/in/char/1.cc: New.
710 * 22_locale/codecvt/in/char/wrapped_env.cc: New.
711 * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
712 * 22_locale/codecvt/in/wchar_t/1.cc: New.
713 * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
714 * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
715 * 22_locale/codecvt/length/char/1.cc: New.
716 * 22_locale/codecvt/length/char/wrapped_env.cc: New.
717 * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
718 * 22_locale/codecvt/length/wchar_t/1.cc: New.
719 * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
720 * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
721 * 22_locale/codecvt/max_length/char/1.cc: New.
722 * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
723 * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
724 * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
725 * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
726 * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
727 * 22_locale/codecvt/out/char/1.cc: New.
728 * 22_locale/codecvt/out/char/wrapped_env.cc: New.
729 * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
730 * 22_locale/codecvt/out/wchar_t/1.cc: New.
731 * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
732 * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
733 * 22_locale/codecvt/unicode/char.cc: New.
734 * 22_locale/codecvt/unicode/wchar_t.cc: New.
735 * 22_locale/codecvt/unshift/char/1.cc: New.
736 * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
737 * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
738 * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
739 * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
740 * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
741 * 22_locale/collate/1.cc: New.
742 * 22_locale/collate/2.cc: New.
743 * 22_locale/collate/compare/char/1.cc: New.
744 * 22_locale/collate/compare/char/2.cc: New.
745 * 22_locale/collate/compare/char/wrapped_env.cc: New.
746 * 22_locale/collate/compare/char/wrapped_locale.cc: New.
747 * 22_locale/collate/compare/wchar_t/1.cc: New.
748 * 22_locale/collate/compare/wchar_t/2.cc: New.
749 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
750 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
751 * 22_locale/collate/hash/char/1.cc: New.
752 * 22_locale/collate/hash/char/2.cc: New.
753 * 22_locale/collate/hash/char/wrapped_env.cc: New.
754 * 22_locale/collate/hash/char/wrapped_locale.cc: New.
755 * 22_locale/collate/hash/wchar_t/1.cc: New.
756 * 22_locale/collate/hash/wchar_t/2.cc: New.
757 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
758 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
759 * 22_locale/collate/transform/char/2.cc: New.
760 * 22_locale/collate/transform/char/wrapped_env.cc: New.
761 * 22_locale/collate/transform/char/wrapped_locale.cc: New.
762 * 22_locale/collate/transform/wchar_t/2.cc: New.
763 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
764 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
765 * 22_locale/collate_byname/1.cc: New.
766 * 22_locale/ctype/1.cc: New.
767 * 22_locale/ctype/2.cc: New.
768 * 22_locale/ctype/cons/char/1.cc: New.
769 * 22_locale/ctype/cons/char/wrapped_env.cc: New.
770 * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
771 * 22_locale/ctype/is/char/1.cc: New.
772 * 22_locale/ctype/is/char/2.cc: New.
773 * 22_locale/ctype/is/char/3.cc: New.
774 * 22_locale/ctype/is/char/wrapped_env.cc: New.
775 * 22_locale/ctype/is/char/wrapped_locale.cc: New.
776 * 22_locale/ctype/is/wchar_t/1.cc: New.
777 * 22_locale/ctype/is/wchar_t/2.cc: New.
778 * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
779 * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
780 * 22_locale/ctype/narrow/char/1.cc: New.
781 * 22_locale/ctype/narrow/char/2.cc: New.
782 * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
783 * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
784 * 22_locale/ctype/narrow/wchar_t/1.cc: New.
785 * 22_locale/ctype/narrow/wchar_t/2.cc: New.
786 * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
787 * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
788 * 22_locale/ctype/scan/char/1.cc: New.
789 * 22_locale/ctype/scan/char/wrapped_env.cc: New.
790 * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
791 * 22_locale/ctype/scan/wchar_t/1.cc: New.
792 * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
793 * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
794 * 22_locale/ctype/to/char/1.cc: New.
795 * 22_locale/ctype/to/char/wrapped_env.cc: New.
796 * 22_locale/ctype/to/char/wrapped_locale.cc: New.
797 * 22_locale/ctype/to/wchar_t/1.cc: New.
798 * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
799 * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
800 * 22_locale/ctype/widen/char/1.cc: New.
801 * 22_locale/ctype/widen/char/wrapped_env.cc: New.
802 * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
803 * 22_locale/ctype/widen/wchar_t/1.cc: New.
804 * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
805 * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
806 * 22_locale/facet/1.cc: New.
807 * 22_locale/facet/2.cc: New.
808 * 22_locale/global_templates/1.cc: New.
809 * 22_locale/locale/cons/1.cc: New.
810 * 22_locale/locale/cons/2.cc: New.
811 * 22_locale/locale/cons/3.cc: New.
812 * 22_locale/locale/cons/4.cc: New.
813 * 22_locale/locale/cons/5.cc: New.
814 * 22_locale/locale/cons/6.cc: New.
815 * 22_locale/locale/cons/7.cc: New.
816 * 22_locale/locale/global_locale_objects/1.cc: New.
817 * 22_locale/locale/global_locale_objects/2.cc: New.
818 * 22_locale/locale/global_locale_objects/3.cc: New.
819 * 22_locale/locale/operations/1.cc: New.
820 * 22_locale/locale/operations/2.cc: New.
821 * 22_locale/messages/1.cc: New.
822 * 22_locale/messages/2.cc: New.
823 * 22_locale/messages/members/char/1.cc: New.
824 * 22_locale/messages/members/char/2.cc: New.
825 * 22_locale/messages/members/char/3.cc: New.
826 * 22_locale/messages/members/char/wrapped_env.cc: New.
827 * 22_locale/messages/members/char/wrapped_locale.cc: New.
828 * 22_locale/messages_byname/1.cc: New.
829 * 22_locale/money_get/1.cc: New.
830 * 22_locale/money_get/2.cc: New.
831 * 22_locale/money_get/get/char/1.cc: New.
832 * 22_locale/money_get/get/char/2.cc: New.
833 * 22_locale/money_get/get/char/3.cc: New.
834 * 22_locale/money_get/get/char/4.cc: New.
835 * 22_locale/money_get/get/char/5.cc: New.
836 * 22_locale/money_get/get/char/6.cc: New.
837 * 22_locale/money_get/get/char/7.cc: New.
838 * 22_locale/money_get/get/char/8.cc: New.
839 * 22_locale/money_get/get/char/wrapped_env.cc: New.
840 * 22_locale/money_get/get/char/wrapped_locale.cc: New.
841 * 22_locale/money_get/get/wchar_t/1.cc: New.
842 * 22_locale/money_get/get/wchar_t/2.cc: New.
843 * 22_locale/money_get/get/wchar_t/3.cc: New.
844 * 22_locale/money_get/get/wchar_t/4.cc: New.
845 * 22_locale/money_get/get/wchar_t/5.cc: New.
846 * 22_locale/money_get/get/wchar_t/6.cc: New.
847 * 22_locale/money_get/get/wchar_t/7.cc: New.
848 * 22_locale/money_get/get/wchar_t/8.cc: New.
849 * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
850 * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
851 * 22_locale/money_put/1.cc: New.
852 * 22_locale/money_put/2.cc: New.
853 * 22_locale/money_put/put/char/1.cc: New.
854 * 22_locale/money_put/put/char/2.cc: New.
855 * 22_locale/money_put/put/char/3.cc: New.
856 * 22_locale/money_put/put/char/4.cc: New.
857 * 22_locale/money_put/put/char/5.cc: New.
858 * 22_locale/money_put/put/char/6.cc: New.
859 * 22_locale/money_put/put/char/wrapped_env.cc: New.
860 * 22_locale/money_put/put/char/wrapped_locale.cc: New.
861 * 22_locale/money_put/put/wchar_t/1.cc: New.
862 * 22_locale/money_put/put/wchar_t/2.cc: New.
863 * 22_locale/money_put/put/wchar_t/3.cc: New.
864 * 22_locale/money_put/put/wchar_t/4.cc: New.
865 * 22_locale/money_put/put/wchar_t/5.cc: New.
866 * 22_locale/money_put/put/wchar_t/6.cc: New.
867 * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
868 * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
869 * 22_locale/moneypunct/1.cc: New.
870 * 22_locale/moneypunct/2.cc: New.
871 * 22_locale/moneypunct/3.cc: New.
872 * 22_locale/moneypunct/members/char/1.cc: New.
873 * 22_locale/moneypunct/members/char/2.cc: New.
874 * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
875 * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
876 * 22_locale/moneypunct/members/wchar_t/1.cc: New.
877 * 22_locale/moneypunct/members/wchar_t/2.cc: New.
878 * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
879 * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
880 * 22_locale/moneypunct_byname/1.cc: New.
881 * 22_locale/num_get/1.cc: New.
882 * 22_locale/num_get/2.cc: New.
883 * 22_locale/num_get/get/char/1.cc: New.
884 * 22_locale/num_get/get/char/2.cc: New.
885 * 22_locale/num_get/get/char/3.cc: New.
886 * 22_locale/num_get/get/char/4.cc: New.
887 * 22_locale/num_get/get/char/5.cc: New.
888 * 22_locale/num_get/get/char/6.cc: New.
889 * 22_locale/num_get/get/char/wrapped_env.cc: New.
890 * 22_locale/num_get/get/char/wrapped_locale.cc: New.
891 * 22_locale/num_get/get/wchar_t/1.cc: New.
892 * 22_locale/num_get/get/wchar_t/2.cc: New.
893 * 22_locale/num_get/get/wchar_t/3.cc: New.
894 * 22_locale/num_get/get/wchar_t/4.cc: New.
895 * 22_locale/num_get/get/wchar_t/5.cc: New.
896 * 22_locale/num_get/get/wchar_t/6.cc: New.
897 * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
898 * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
899 * 22_locale/num_put/1.cc: New.
900 * 22_locale/num_put/2.cc: New.
901 * 22_locale/num_put/put/char/1.cc: New.
902 * 22_locale/num_put/put/char/2.cc: New.
903 * 22_locale/num_put/put/char/3.cc: New.
904 * 22_locale/num_put/put/char/4.cc: New.
905 * 22_locale/num_put/put/char/5.cc: New.
906 * 22_locale/num_put/put/char/wrapped_env.cc: New.
907 * 22_locale/num_put/put/char/wrapped_locale.cc: New.
908 * 22_locale/num_put/put/wchar_t/1.cc: New.
909 * 22_locale/num_put/put/wchar_t/2.cc: New.
910 * 22_locale/num_put/put/wchar_t/3.cc: New.
911 * 22_locale/num_put/put/wchar_t/4.cc: New.
912 * 22_locale/num_put/put/wchar_t/5.cc: New.
913 * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
914 * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
915 * 22_locale/numpunct/1.cc: New.
916 * 22_locale/numpunct/2.cc: New.
917 * 22_locale/numpunct/members/char/1.cc: New.
918 * 22_locale/numpunct/members/char/2.cc: New.
919 * 22_locale/numpunct/members/char/wrapped_env.cc: New.
920 * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
921 * 22_locale/numpunct/members/wchar_t/1.cc: New.
922 * 22_locale/numpunct/members/wchar_t/2.cc: New.
923 * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
924 * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
925 * 22_locale/numpunct_byname/1.cc: New.
926 * 22_locale/numpunct_byname/2.cc: New.
927 * 22_locale/time_get/1.cc: New.
928 * 22_locale/time_get/2.cc: New.
929 * 22_locale/time_get/date_order/char/1.cc: New.
930 * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
931 * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
932 * 22_locale/time_get/date_order/wchar_t/1.cc: New.
933 * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
934 * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
935 * 22_locale/time_get/get_date/char/1.cc: New.
936 * 22_locale/time_get/get_date/char/2.cc: New.
937 * 22_locale/time_get/get_date/char/3.cc: New.
938 * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
939 * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
940 * 22_locale/time_get/get_date/wchar_t/1.cc: New.
941 * 22_locale/time_get/get_date/wchar_t/2.cc: New.
942 * 22_locale/time_get/get_date/wchar_t/3.cc: New.
943 * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
944 * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
945 * 22_locale/time_get/get_monthname/char/1.cc: New.
946 * 22_locale/time_get/get_monthname/char/2.cc: New.
947 * 22_locale/time_get/get_monthname/char/3.cc: New.
948 * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
949 * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
950 * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
951 * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
952 * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
953 * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
954 * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
955 * 22_locale/time_get/get_time/char/1.cc: New.
956 * 22_locale/time_get/get_time/char/2.cc: New.
957 * 22_locale/time_get/get_time/char/3.cc: New.
958 * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
959 * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
960 * 22_locale/time_get/get_time/wchar_t/1.cc: New.
961 * 22_locale/time_get/get_time/wchar_t/2.cc: New.
962 * 22_locale/time_get/get_time/wchar_t/3.cc: New.
963 * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
964 * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
965 * 22_locale/time_get/get_weekday/char/1.cc: New.
966 * 22_locale/time_get/get_weekday/char/2.cc: New.
967 * 22_locale/time_get/get_weekday/char/3.cc: New.
968 * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
969 * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
970 * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
971 * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
972 * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
973 * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
974 * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
975 * 22_locale/time_get/get_year/char/1.cc: New.
976 * 22_locale/time_get/get_year/char/3.cc: New.
977 * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
978 * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
979 * 22_locale/time_get/get_year/wchar_t/1.cc: New.
980 * 22_locale/time_get/get_year/wchar_t/3.cc: New.
981 * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
982 * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
983 * 22_locale/time_put/1.cc: New.
984 * 22_locale/time_put/2.cc: New.
985 * 22_locale/time_put/put/char/1.cc: New.
986 * 22_locale/time_put/put/char/10.cc: New.
987 * 22_locale/time_put/put/char/2.cc: New.
988 * 22_locale/time_put/put/char/3.cc: New.
989 * 22_locale/time_put/put/char/4.cc: New.
990 * 22_locale/time_put/put/char/5.cc: New.
991 * 22_locale/time_put/put/char/6.cc: New.
992 * 22_locale/time_put/put/char/7.cc: New.
993 * 22_locale/time_put/put/char/8.cc: New.
994 * 22_locale/time_put/put/char/9.cc: New.
995 * 22_locale/time_put/put/char/wrapped_env.cc: New.
996 * 22_locale/time_put/put/char/wrapped_locale.cc: New.
997 * 22_locale/time_put/put/wchar_t/1.cc: New.
998 * 22_locale/time_put/put/wchar_t/10.cc: New.
999 * 22_locale/time_put/put/wchar_t/2.cc: New.
1000 * 22_locale/time_put/put/wchar_t/3.cc: New.
1001 * 22_locale/time_put/put/wchar_t/4.cc: New.
1002 * 22_locale/time_put/put/wchar_t/5.cc: New.
1003 * 22_locale/time_put/put/wchar_t/6.cc: New.
1004 * 22_locale/time_put/put/wchar_t/7.cc: New.
1005 * 22_locale/time_put/put/wchar_t/8.cc: New.
1006 * 22_locale/time_put/put/wchar_t/9.cc: New.
1007 * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
1008 * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
1010 2003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
1012 * config/locale/generic/messages_members.h
1013 (messages_byname<_CharT>::messages_byname): Use this-> to refer to
1014 unqualified members of base clasess.
1016 2003-01-16 Mark Mitchell <mark@codesourcery.com>
1017 Jeffrey Oldham <oldham@codesourcery.com>
1019 * config/locale/gnu/messages_members.h: Use this-> to refer to
1020 unqualified members of base clasess.
1021 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
1022 * include/bits/codecvt.h: Likewise.
1023 * include/bits/deque.tcc: Likewise.
1024 * include/bits/fstream.tcc: Likewise.
1025 * include/bits/istream.tcc: Likewise.
1026 * include/bits/list.tcc: Likewise.
1027 * include/bits/locale_facets.h: Likewise.
1028 * include/bits/ostream.tcc: Likewise.
1029 * include/bits/sstream.tcc: Likewise.
1030 * include/bits/stl_bvector.h: Likewise.
1031 * include/bits/stl_deque.h: Likewise.
1032 * include/bits/stl_list.h: Likewise.
1033 * include/bits/stl_tree.h: Likewise.
1034 * include/bits/stl_vector.h: Likewise.
1035 * include/bits/vector.tcc: Likewise.
1036 * include/ext/ropeimpl.h: Likewise.
1037 * include/ext/stdio_filebuf.h: Likewise.
1038 * include/ext/stl_rope.h: Likewise.
1039 * include/std/std_fstream.h: Likewise.
1040 * include/std/std_sstream.h: Likewise.
1042 2003-01-15 Phil Edwards <pme@gcc.gnu.org>
1044 * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
1046 2003-01-15 Benjamin Kosnik <bkoz@redhat.com>
1048 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
1049 GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
1050 * aclocal.m4: Regenerate.
1051 * configure: Regenerate.
1052 * testsuite/Makefile.am (all-local): Add conditional rule to
1053 generate testsuite_wchar_t.
1054 * testsuite/Makefile.in: Regenerate.
1055 * testsuite/lib/libstdc++-v3-dg.exp
1056 (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
1057 testsuite_wchar_t is not present in the build directory.
1058 * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
1059 Remove setulimit bits.
1060 * testsuite/26_numerics/complex_value.cc: Set to noopts.
1061 * testsuite/Makefile.am (CLEANFILES): Add.
1062 * testsuite/Makefile.in: Regenerate.
1064 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
1066 * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
1069 2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
1071 Further conform g++'s __vmi_class_type_info to the C++ ABI
1073 * libsupc++/cxxabi.h
1074 (__vmi_class_type_info::__flags_masks): Remove enumerations not
1075 required by the specification.
1077 2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
1079 Renames, namespaces for testsuite utilities.
1080 * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
1081 (gnu_allocator_tracker): Rename to allocation_tracker.
1082 (gnu_new_allocator): Rename to tracker_alloc.
1083 (__set_testsuite_memlimit): Rename to set_memory_limits.
1084 (gnu_assignment_operator): Rename to assignment_operator.
1085 (gnu_destructor): Rename to destructor.
1086 (gnu_copy_tracker): Rename to copy_tracker.
1087 (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
1088 (run_tests_wrapped_locale): New.
1089 (run_tests_wrapped_env): New.
1090 * testsuite/testsuite_hooks.cc: Same.
1091 (class locale_data): Add.
1092 (class enviornment_variable): Add.
1093 (class not_found): Add.
1094 * testsuite/testsuite_allocator.h: Same.
1095 * testsuite/testsuite_allocator.cc: Same.
1096 * testsuite/23_containers/deque_ctor.cc
1097 (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
1099 Change gnu_new_allocator to tracker_alloc.
1100 Change gnu_counting_struct to counter.
1101 Change gnu_copy_tracker to copy_tracker.
1102 Change gnu_copy_constructor to copy_constructor.
1103 Change gnu_assignment_operator to assignment_operator.
1105 * testsuite/23_containers/vector_capacity.cc: Same.
1106 * testsuite/23_containers/vector_ctor.cc (test01): Same.
1107 * testsuite/23_containers/list_modifiers.cc: Change
1108 gnu_copy_tracker to copy_tracker.
1109 * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
1110 __set_testsuite_memlimit to set_memory_limits.
1111 * testsuite/21_strings/insert.cc (main): Same.
1112 * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
1113 * testsuite/27_io/stringstream.cc: Same.
1114 * testsuite/27_io/stringbuf.cc: Same.
1115 * testsuite/27_io/streambuf.cc: Same.
1116 * testsuite/27_io/ostream.cc: Same.
1117 * testsuite/27_io/istream.cc: Same.
1118 * testsuite/27_io/fstream.cc: Same.
1119 * testsuite/lib/libstdc++-v3-dg.exp
1120 (libstdc++-v3-list-sourcefiles): Additionally handle files two and
1121 three levels deeper in glob patterns.
1123 2003-01-11 Phil Edwards <pme@gcc.gnu.org>
1125 * docs/doxygen/tables.html: Finished now.
1126 * docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
1127 * include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
1130 * include/bits/deque.tcc, include/bits/stl_alloc.h,
1131 include/bits/stl_deque.h, include/bits/stl_list.h,
1132 include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
1135 2003-01-09 Benjamin Kosnik <bkoz@redhat.com>
1137 * configure.in: Revert.
1138 * configure: Regenerate.
1140 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
1142 * include/Makefile.am (install-data-local): Prepend
1143 $(DESTDIR) to destination paths in all (un)installation
1144 commands. Use ${c_base_builddir} and ${std_builddir}
1145 as destination subdirectories to achieve consistency with
1146 preceding mkinstalldirs commands. No effect because both
1147 variables contain "." only.
1148 * include/Makefile.in: Regenerate.
1150 2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
1152 * include/Makefile.am (stamp-*): Add checks for existing stamps.
1153 * include/Makefile.in: Regenerate.
1155 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
1156 * aclocal.m4: Regenerate.
1158 * configure.in: Don't add new multi-do rules every time the
1159 directory is reconfigured.
1160 * configure: Regenerate.
1162 2003-01-08 Brad Spencer <spencer@infointeractive.com>
1163 Nathan Myers <ncm@cantrip.org>
1165 * src/Makefile.am (stamp-debug): Clean.
1166 * src/Makefile.in: Regenerate.
1168 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
1171 * Makefile.am (distclean-multi): Fix.
1172 * Makefile.in: Regenerate.
1174 2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
1176 * include/bits/locale_facets.h (messages): Move ctor, dtor
1178 (__timepunct): Same.
1179 * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
1180 definitions. Conditionalize for GNU systems.
1181 * config/locale/generic/messages_members.h (messages): Add dtor, ctor
1183 * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
1184 definitions. Conditionalize for GNU systems.
1185 * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
1187 * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
1188 * src/locale.cc: Define.
1189 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
1191 * config/locale/gnu/time_members.h: Use it.
1192 * config/locale/gnu/messages_members.h: Use it.
1193 * config/linker-map.gnu: Add locale::facets details.
1194 * include/Makefile.am (target_headers_extra): Add time_members.h.
1195 * include/Makefile.in: Regenerate.
1196 * acinclude.m4: Export CTIME_H.
1197 * aclocal.m4: Regenerate.
1198 * configure: Regnerate.
1200 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
1203 (codecvt<char, char, mbstate_t>::do_in, do_out):
1204 Tweak parameters to avoid unused parameter warnings.
1206 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
1209 * include/bits/locale_facets.cc (num_put::_M_convert_float):
1210 Limit __prec to digits10 + 2, not digits10 + 1, taking into
1211 account the possibility of %{g,G} conversion specifiers
1212 inside _S_format_float.
1213 * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
1215 2003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1217 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
1218 libstdc++-v3-list-sourcefiles): Additionally handle files one
1219 level deeper in glob patterns.
1221 * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
1222 * testsuite/27_io/istream_extractor_arith/01.cc,
1223 testsuite/27_io/istream_extractor_arith/02.cc,
1224 testsuite/27_io/istream_extractor_arith/03.cc,
1225 testsuite/27_io/istream_extractor_arith/06.cc,
1226 testsuite/27_io/istream_extractor_arith/07.cc,
1227 testsuite/27_io/istream_extractor_arith/08.cc,
1228 testsuite/27_io/istream_extractor_arith/09.cc,
1229 testsuite/27_io/istream_extractor_arith/10.cc,
1230 testsuite/27_io/istream_extractor_arith/11.cc,
1231 testsuite/27_io/istream_extractor_arith/12.cc,
1232 testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
1233 * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
1236 2003-01-05 Paolo Carlini <pcarlini@unitus.it>
1240 (codecvt<char, char, mbstate_t>::do_in, do_out):
1241 Implement the resolution of DR19 (TC).
1242 * testsuite/22_locale/codecvt_members_char_char.cc
1245 2003-01-02 Jason Merrill <jason@redhat.com>
1247 * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
1248 *__mem is also an output.
1249 * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.