1 2003-04-04 Jerry Quinn <jlquinn@optonline.net>
4 * src/ios.cc (ios_base::_M_init): Remove _M_callbacks
7 2003-03-31 Paolo Carlini <pcarlini@unitus.it>
9 * include/std/std_streambuf.h (_M_out_buf_size()): Remove.
10 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
12 (basic_filebuf::overflow): Replace _M_out_buf_size() with
13 this->_M_out_cur && this->_M_out_cur < this->_M_out_end.
14 * include/bits/sstream.tcc (basic_stringbuf::overflow):
15 Replace _M_out_buf_size() with this->_M_out_cur < this->_M_out_end;
16 * include/bits/streambuf.tcc (basic_streambuf::sputc):
17 Replace _M_out_buf_size() with _M_out_cur && _M_out_cur < _M_out_end.
18 (basic_streambuf::xsputn): Replace _M_out_buf_size() with
19 _M_out_end - _M_out_cur.
20 (__copy_streambufs): Likewise.
21 * include/std/std_fstream.h (_M_set_determinate): Set
24 2003-03-30 Paolo Carlini <pcarlini@unitus.it>
26 * include/bits/fstream.tcc (basic_filebuf::showmanyc,
27 _M_convert_to_external, _M_really_overflow, seekoff): Fix
28 test for synced buffer.
29 * include/std/std_fstream.h (sync): Likewise.
30 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
31 basic_filebuf<wchar_t>::_M_underflow_common): Likewise.
33 2003-03-28 Benjamin Kosnik <bkoz@redhat.com>
35 * include/std/std_sstream.h (basic_istringstream): Adjust
37 (basic_ostringstream): Same.
38 (basic_stringstream): Same.
39 * include/std/std_fstream.h (basic_ifstream): Adjust initialization.
40 (basic_ofstream): Same.
41 (basic_fstream): Same.
42 * include/std/std_ostream.h (basic_ostrem): Add protected ctor
43 that does not call init.
44 * include/std/std_istream.h (basic_istream): Same.
45 (basic_iostream): Construct istream, ostream uninitialized, use
46 init to initialize just once. Add protected ctor that does not
49 2003-03-28 Paolo Carlini <pcarlini@unitus.it>
50 Nathan Myers <ncm@cantrip.org>
53 * include/bits/fstream.tcc (basic_filebuf<>::open): Don't
55 (basic_filebuf<>::showmanyc): Use the information provided
56 by codecvt and __basic_file<>::showmanyc_helper to implement
57 a non-trivial showmanyc.
58 * config/io/basic_file_stdio.h
59 (__basic_file<>::showmanyc_helper): New, declare.
60 * config/io/basic_file_stdio.cc
61 (__basic_file<>::showmanyc_helper): Define.
62 (__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
63 (__basic_file<char>::open): Don't call fcntl().
64 * acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
65 GLIBCPP_CHECK_POLL): New macros.
66 * configure.in: Call here.
67 * acconfig.h: Add #undefs for the corresponding symbols.
68 * aclocal.m4: Regenerate.
69 * configure: Regenerate.
70 * config.h.in: Regenerate.
72 2003-03-24 Benjamin Kosnik <bkoz@redhat.com>
74 * config/linker-map.gnu: Remove string export restrictions.
76 2003-03-24 Paolo Carlini <pcarlini@unitus.it>
78 * testsuite/21_strings/basic_string/find/char/1.cc: Remove
79 find_first_of, find_last_of and find_last_not_of tests.
80 * testsuite/21_strings/basic_string/find/char/2.cc: find_first_of
82 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise,
83 remove wchar_t find_first_of, find_last_of and find_last_not_of tests.
84 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise,
85 wchar_t find_first_of tests here, new file.
86 * testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of
88 * testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of
90 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise,
91 wchar_t find_last_of tests here.
92 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise,
93 wchar_t find_last_not_of tests here.
95 2003-03-22 Loren J. Rittle <ljrittle@acm.org>
97 * config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
100 2003-03-21 Jerry Quinn <jlquinn@optonline.net>
103 * include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
104 * include/std/std_complex.h (norm): Use faster,
105 less accurate computation for builtin float types under --fast-math.
107 2003-03-21 Magnus Fromreide <gnats@magfr.user.lysator.liu.se>
109 * testsuite/testsuite_hooks.h: Fix warning nits.
111 2003-03-19 Alexandre Oliva <aoliva@redhat.com>
113 * config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):
114 Only .set mips2 for the o32 ABI.
116 2003-03-19 Paolo Carlini <pcarlini@unitus.it>
118 * testsuite/21_strings/char_traits/requirements/char/1.cc:
119 Test char not wchar_t.
121 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
123 * testsuite/21_strings/basic_string/append/wchar_t/1.cc:
124 Correct size, taking into account sizeof(wchar_t).
126 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
128 Reshuffle 21_strings testsuite.
129 * testsuite/21_strings/append.cc, c_strings.cc, invariants.cc,
130 assign.cc, ctor_copy_dtor.cc, nonmember.cc, capacity.cc,
131 element_access.cc, operations.cc, char_traits_requirements.cc,
132 find.cc, replace.cc, char_traits_typedefs.cc, insert.cc, rfind.cc,
133 compare.cc, inserters_extractors.cc, substr.cc: Split up, add
134 wchar_t tests as follows.
135 * 21_strings/basic_string/append/char/1.cc: New.
136 * 21_strings/basic_string/append/wchar_t/1.cc: New.
137 * 21_strings/basic_string/assign/char/1.cc: New.
138 * 21_strings/basic_string/assign/char/2.cc: New.
139 * 21_strings/basic_string/assign/char/3.cc: New.
140 * 21_strings/basic_string/assign/wchar_t/1.cc: New.
141 * 21_strings/basic_string/assign/wchar_t/2.cc: New.
142 * 21_strings/basic_string/assign/wchar_t/3.cc: New.
143 * 21_strings/basic_string/capacity/1.cc: New.
144 * 21_strings/basic_string/capacity/char/1.cc: New.
145 * 21_strings/basic_string/capacity/char/2.cc: New.
146 * 21_strings/basic_string/capacity/wchar_t/1.cc: New.
147 * 21_strings/basic_string/capacity/wchar_t/2.cc: New.
148 * 21_strings/basic_string/compare/char/1.cc: New.
149 * 21_strings/basic_string/compare/wchar_t/1.cc: New.
150 * 21_strings/basic_string/cons/char/1.cc: New.
151 * 21_strings/basic_string/cons/char/2.cc: New.
152 * 21_strings/basic_string/cons/char/3.cc: New.
153 * 21_strings/basic_string/cons/char/4.cc: New.
154 * 21_strings/basic_string/cons/char/5.cc: New.
155 * 21_strings/basic_string/cons/wchar_t/1.cc: New.
156 * 21_strings/basic_string/cons/wchar_t/2.cc: New.
157 * 21_strings/basic_string/cons/wchar_t/3.cc: New.
158 * 21_strings/basic_string/cons/wchar_t/4.cc: New.
159 * 21_strings/basic_string/cons/wchar_t/5.cc: New.
160 * 21_strings/basic_string/element_access/char/1.cc: New.
161 * 21_strings/basic_string/element_access/char/2.cc: New.
162 * 21_strings/basic_string/element_access/char/3.cc: New.
163 * 21_strings/basic_string/element_access/wchar_t/1.cc: New.
164 * 21_strings/basic_string/element_access/wchar_t/2.cc: New.
165 * 21_strings/basic_string/element_access/wchar_t/3.cc: New.
166 * 21_strings/basic_string/find/char/1.cc: New.
167 * 21_strings/basic_string/find/wchar_t/1.cc: New.
168 * 21_strings/basic_string/insert/char/1.cc: New.
169 * 21_strings/basic_string/insert/char/2.cc: New.
170 * 21_strings/basic_string/insert/wchar_t/1.cc: New.
171 * 21_strings/basic_string/insert/wchar_t/2.cc: New.
172 * 21_strings/basic_string/inserters_extractors/char/1.cc: New.
173 * 21_strings/basic_string/inserters_extractors/char/4.cc: New.
174 * 21_strings/basic_string/inserters_extractors/char/5.cc: New.
175 * 21_strings/basic_string/inserters_extractors/char/6.cc: New.
176 * 21_strings/basic_string/inserters_extractors/char/7.cc: New.
177 * 21_strings/basic_string/inserters_extractors/char/8.cc: New.
178 * 21_strings/basic_string/inserters_extractors/char/9.cc: New.
179 * 21_strings/basic_string/inserters_extractors/wchar_t/1.cc: New.
180 * 21_strings/basic_string/inserters_extractors/wchar_t/4.cc: New.
181 * 21_strings/basic_string/inserters_extractors/wchar_t/5.cc: New.
182 * 21_strings/basic_string/inserters_extractors/wchar_t/6.cc: New.
183 * 21_strings/basic_string/inserters_extractors/wchar_t/7.cc: New.
184 * 21_strings/basic_string/inserters_extractors/wchar_t/8.cc: New.
185 * 21_strings/basic_string/inserters_extractors/wchar_t/9.cc: New.
186 * 21_strings/basic_string/operators/char/1.cc: New.
187 * 21_strings/basic_string/operators/char/2.cc: New.
188 * 21_strings/basic_string/operators/wchar_t/1.cc: New.
189 * 21_strings/basic_string/operators/wchar_t/2.cc: New.
190 * 21_strings/basic_string/replace/char/1.cc: New.
191 * 21_strings/basic_string/replace/char/2.cc: New.
192 * 21_strings/basic_string/replace/char/3.cc: New.
193 * 21_strings/basic_string/replace/char/4.cc: New.
194 * 21_strings/basic_string/replace/char/5.cc: New.
195 * 21_strings/basic_string/replace/wchar_t/1.cc: New.
196 * 21_strings/basic_string/replace/wchar_t/2.cc: New.
197 * 21_strings/basic_string/replace/wchar_t/3.cc: New.
198 * 21_strings/basic_string/replace/wchar_t/4.cc: New.
199 * 21_strings/basic_string/replace/wchar_t/5.cc: New.
200 * 21_strings/basic_string/rfind/char/1.cc: New.
201 * 21_strings/basic_string/rfind/char/2.cc: New.
202 * 21_strings/basic_string/rfind/char/3.cc: New.
203 * 21_strings/basic_string/rfind/wchar_t/1.cc: New.
204 * 21_strings/basic_string/rfind/wchar_t/2.cc: New.
205 * 21_strings/basic_string/rfind/wchar_t/3.cc: New.
206 * 21_strings/basic_string/substr/char/1.cc: New.
207 * 21_strings/basic_string/substr/wchar_t/1.cc: New.
208 * 21_strings/c_strings/char/1.cc: New.
209 * 21_strings/c_strings/char/2.cc: New.
210 * 21_strings/c_strings/wchar_t/1.cc: New.
211 * 21_strings/c_strings/wchar_t/2.cc: New.
212 * 21_strings/char_traits/requirements/char/1.cc: New.
213 * 21_strings/char_traits/requirements/wchar_t/1.cc: New.
214 * 21_strings/char_traits/typedefs/char/1.cc: New.
216 2003-03-17 Paolo Carlini <pcarlini@unitus.it>
217 Petur Runolfsson <peturr02@ru.is>
220 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
221 basic_filebuf<wchar_t>::_M_underflow_common):
222 if (gptr() < egptr()) return *gptr().
223 * testsuite/27_io/filebuf_virtuals.cc (test16): Add.
225 * testsuite/27_io/filebuf_members.cc (test_04): Minor
226 changes: unlink fifo before making it, fix spelling error.
228 2003-03-17 Benjamin Kosnik <bkoz@redhat.com>
230 * testsuite/Makefile.am (CLEANFILES): Add tmp*.
231 * testsuite/Makefile.in: Regenerate.
232 * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
235 2003-03-17 Petur Runolfsson <peturr02@ru.is>
238 * include/bits/fstream.tcc (basic_filebuf::close):
239 Always close file, even when write fails.
240 * testsuite/27_io/filebuf_members.cc (test_07): New test.
242 2003-03-17 Danny Smith <dannysmith@users.sourceforge.net>
244 * libsupc++/Makefile.am (C_COMPILE): Remove.
245 (LTCOMPILE): Likewise.
246 * libsupc++/Makefile.in: Regenerate.
248 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
250 * testsuite/23_containers/bitset_members.cc: Add test variable.
251 * testsuite/23_containers/map_insert.cc: Same.
252 * testsuite/22_locale/ctype/cons/char/1.cc: Same.
253 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
254 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
255 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
256 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
257 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
258 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
259 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
260 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
261 * testsuite/27_io/istream_exception.cc: Same.
262 * testsuite/27_io/filebuf_virtuals.cc: Same.
263 * testsuite/27_io/stringbuf_virtuals.cc: Same.
264 * testsuite/27_io/ostream_inserter_arith.cc: Same.
265 * testsuite/26_numerics/valarray_operators.cc: Same.
266 * testsuite/26_numerics/slice.cc: Same.
267 * testsuite/26_numerics/slice_array_assignment.cc: Same.
268 * testsuite/24_iterators/istream_iterator.cc: Same.
269 * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
271 2003-03-14 Petur Runolfsson <peturr02@ru.is>
275 * config/locale/generic/ctype_members.cc,
276 * config/locale/gnu/ctype_members.cc
277 (ctype<wchar_t>::do_widen(char)): Cast argument to
278 unsigned char before passing to btowc.
279 (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
280 Convert characters with btowc instead of mbsrtowcs.
281 (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
283 Convert characters with wctob instead of wcsrtombs.
284 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: New test.
285 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: New test.
286 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: New test.
288 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
290 * include/stdc++.h: New.
291 * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
292 * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
293 * include/Makefile.in: Regenerate.
294 * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
295 (--cxxflags): Put -g -O2 here.
296 * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
298 2003-03-14 Loren J. Rittle <ljrittle@acm.org>
300 * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
301 missing named locale.
303 2003-03-14 Andreas Schwab <schwab@suse.de>
305 * configure.in: Only append to makefiles that are newly created to
306 avoid multiple multi-do/multi-clean rules.
307 * configure: Rebuilt.
309 2003-03-13 Jonathan Wakely <redi@gcc.gnu.org>
311 * docs/html/configopts.html, docs/html/documentation.html,
312 docs/html/explanations.html, docs/html/install.html,
313 docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
314 invalid XHTML and make page header style consistent.
316 2003-03-12 Jonathan Wakely <redi@gcc.gnu.org>
318 * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
319 * docs/html/faq/index.txt: Regenerate.
320 * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
322 2003-03-12 Andreas Schwab <schwab@suse.de>
324 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
325 glibcpp_toolexeclibdir.
326 * aclocal.m4, configure: Rebuilt.
328 2003-03-11 Jonathan Wakely <redi@gcc.gnu.org>
330 * docs/html/faq/index.html: Update text about location of headers.
331 * docs/html/faq/index.txt: Regenerate.
333 2003-03-11 Carlo Wood <carlo@alinoe.com>
335 * include/bits/demangle.h: Prepend accessors of
336 class qualifier with 'get_' in order to fix warnings
337 when compiling with -Wshadow.
339 2003-03-11 Loren J. Rittle <ljrittle@acm.org>
341 * config/os/bsd/freebsd/ctype_inline.h: Support _M_table
343 * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
345 * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
346 report lack of setenv().
348 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
350 * config/io/basic_file_stdio.cc: include <unistd.h>.
352 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
353 Nathan Myers <ncm@cantrip.org>
356 * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
357 seekoff, seekpos): Add a boolean parameter __stdio.
358 * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
359 seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
360 fseek/ftell, respectively), otherwise read (write, lseek, lseek,
362 * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
363 _M_really_overflow, seekoff): Use the boolean parameter in the calls.
364 * include/std/std_fstream.h (sync): Likewise.
365 * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
366 * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
367 libstdc++/8399 commit involving isatty(0).
368 * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
369 (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
370 * configure.in: Remove call.
371 * aclocal.m4: Regenerate.
372 * config.h.in: Regenerate.
373 * configure: Regenerate.
374 * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
376 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
379 * include/bits/fstream.tcc (overflow): don't write EOF to file.
380 * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
382 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
385 * include/bits/basic_ios.h (_M_setstate): New.
386 * include/bits/ostream.tcc (operator<<): Use it.
387 * include/bits/istream.tcc (operator>>): Use it.
388 * include/std/std_ostream.h (operator<<): Make friends.
389 * include/std/std_istream.h (operator>>): Make friends.
390 * testsuite/27_io/ostream_exception.cc,
391 testsuite/27_io/istream_exception.cc: New tests.
393 2003-03-08 Benjamin Kosnik <bkoz@redhat.com>
395 * include/bits/locale_facets.tcc: Fix typo.
397 2003-03-08 Loren J. Rittle <ljrittle@acm.org>
399 * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
401 * config/locale/generic/c_locale.cc
402 (locale::facet::_S_create_c_locale): Throw runtime exception when
403 unsupported language is specified.
404 * testsuite/testsuite_hooks.h
405 (run_test_wrapped_generic_locale_exception_catcher): New function.
406 * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
407 Suppress runtime exception thrown by generic implementation.
408 (run_tests_wrapped_env): Likewise.
409 (run_test_wrapped_generic_locale_exception_catcher): New function.
410 * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
411 * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
412 * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
413 * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
414 * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
415 * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
416 * testsuite/22_locale/collate_byname/1.cc: New test wrap.
417 * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
418 * testsuite/22_locale/facet/2.cc: New test wrap.
419 * testsuite/22_locale/locale/cons/4.cc: New test wrap.
420 * testsuite/22_locale/locale/cons/5.cc: New test wrap.
421 * testsuite/22_locale/locale/cons/7.cc: New test wrap.
422 * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
423 * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
424 * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
425 * testsuite/22_locale/messages_byname/1.cc: New test wrap.
426 * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
427 * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
428 * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
429 * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
430 * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
431 * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
432 * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
433 * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
434 * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
435 * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
436 * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
437 * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
438 * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
439 * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
440 * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
441 * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
442 * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
443 * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
444 * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
445 * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
446 * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
447 * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
448 * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
449 * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
450 * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
451 * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
452 * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
453 * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
454 * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
455 * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
456 * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
457 * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
458 * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
459 * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
460 * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
461 * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
462 * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
463 * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
464 * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
465 * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
466 * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
467 * testsuite/27_io/ios_members.cc: New test wrap.
468 * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
470 * testsuite/27_io/streambuf_members.cc: New test wrap.
471 * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
473 2003-03-08 Paolo Carlini <pcarlini@unitus.it>
474 Petur Runolfsson <peturr02@ru.is>
477 * include/bits/streambuf.tcc (__copy_streambufs): Use
478 sgetn-sputn only when sputn cannot fail, otherwise fall back
479 to safe snextc-sputc.
480 * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
482 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
484 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
485 locale cache for truename and falsename.
487 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
489 * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
490 _M_word_size initialization.
492 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
494 * include/bits/fstream.tcc (_M_convert_to_external):
495 Set __elen to zero if codecvt::out eventually fails.
497 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
500 * include/bits/fstream.tcc (_M_really_overflow): Check
501 for _M_convert_to_external possible failures.
502 * include/std/std_fstream.h (sync): Check _M_really_overflow
503 return value and return -1 in case of failure.
504 * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
506 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
509 * include/bits/istream.tcc (operator>>(_CharT*),
510 operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
511 * testsuite/27_io/stringstream.cc (test02): Add.
513 * include/bits/istream.tcc (operator>>(_CharT*)):
514 Assign a char_type to *__s.
516 2003-03-07 Petur Runolfsson <peturr02@ru.is>
519 * include/bits/locale_facets.tcc
520 (collate::do_compare, collate::do_transform):
521 Handle nul characters in input.
522 * testsuite/22_locale/collate/compare/char/3.cc: New test.
523 * testsuite/22_locale/collate/compare/wchar_t/3.cc: New test.
524 * testsuite/22_locale/collate/transform/char/3.cc: New test.
525 * testsuite/22_locale/collate/transform/wchar_t/3.cc: New test.
527 2003-03-07 Jerry Quinn <jlquinn@optonline.net>
529 * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
531 * testsuite/27_io/ostream_fail.cc: New test.
533 2003-03-07 Matthias Klose <doko@debian.org>
535 * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
536 FLAGS_TO_PASS: Set to AM_MAKEFLAGS
537 * Makefile.in: Regenerate.
538 * libsupc++/Makefile.am: Express glibcppinstalldir in terms
540 AM_MAKEFLAGS: Pass gxx_include_dir.
541 * libsupc++/Makefile.in: Regenerate.
543 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
545 * testsuite/27_io/ios_base_storage.cc (test02): Set exception
546 mask. Test setting small-numbered pword and iword slots. Test
547 behavior at limit of numeric_limits::max. Check that values are
548 still good after failures.
550 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
552 * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
553 (ios_base::ios_base): Set _M_word, _M_word_size.
554 (ios_base::~ios_base): Remove redundant test.
555 * testsuite/27_io/ios_base_storage.cc (test03): New.
557 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
559 * src/strstream.cc, include/bits/basic_string.tcc: Remove
560 incorrect whitespace added in my previous change.
562 2003-03-05 Carlo Wood <carlo@alinoe.com>
564 * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
565 _S_initialized() in order to allow debugging libraries to detect
566 when the std streams are initialized from an overloaded operator
569 2003-03-05 Benjamin Kosnik <bkoz@redhat.com>
571 * libsupc++/demangle.h: Move to..
572 * include/bits/demangle.h: ...here.
573 * src/demangle.cc: Adjust include.
574 * include/Makefile.am (bits_headers): Add.
575 * include/Makefile.in: Regenerate.
577 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
579 * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
581 * config/linker-map.gnu: Filter typeinfo and vtable info.
583 2003-03-04 Jerry Quinn <jlquinn@optonline.net>
585 * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
586 new failure. Throw exception if badbit and exception mask when ix
587 >= numeric_limits<int>::max().
589 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
591 * src/strstream.cc (strstreambuf::overflow): Make sure operands of
592 min and max have the same type.
593 * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
595 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
597 * include/Makefile.am (allstamps): Remove stamp-std-precompile.
598 * include/Makefile.in: Regenerate.
600 2003-03-03 Benjamin Kosnik <bkoz@redhat.com>
602 * testsuite/abi_check.cc (report_symbol_info): Add version info.
604 * config/linker-map.gnu: Hide more stuff.
605 * include/Makefile.am: Cleanups.
606 * include/Makefile.in: Regenerate.
608 2003-02-27 Jerry Quinn <jlquinn@optonline.net>
610 * config/locale/generic/messages_members.h (messages::messages):
611 Remove name from unused parameter.
613 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
615 * src/Makefile.am (sources): Add demangle.cc.
618 * src/Makefile.in: Regenerate.
619 * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
620 * libsupc++/Makefile.in: Regenerate.
622 * testsuite/testsuite_hooks.h
623 (__gnu_cxx_test::verify_demangle): New.
624 * testsuite/testsuite_hooks.cc: Define.
626 2003-02-27 Carlo Wood <carlo@alinoe.com>
628 * src/demangle.cc: New.
629 * libsupc++/demangle.h: New.
631 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
632 Carlo Wood <carlo@alinoe.com>
634 * testsuite/demangle/abi_examples/01.cc: New.
635 * testsuite/demangle/abi_examples/02.cc: New.
636 * testsuite/demangle/abi_examples/03.cc: New.
637 * testsuite/demangle/abi_examples/04.cc: New.
638 * testsuite/demangle/abi_examples/05.cc: New.
639 * testsuite/demangle/abi_examples/06.cc: New.
640 * testsuite/demangle/abi_examples/07.cc: New.
641 * testsuite/demangle/abi_examples/08.cc: New.
642 * testsuite/demangle/abi_examples/09.cc: New.
643 * testsuite/demangle/abi_examples/10.cc: New.
644 * testsuite/demangle/abi_examples/11.cc: New.
645 * testsuite/demangle/abi_examples/12.cc: New.
646 * testsuite/demangle/abi_examples/13.cc: New.
647 * testsuite/demangle/abi_examples/14.cc: New.
648 * testsuite/demangle/abi_examples/15.cc: New.
649 * testsuite/demangle/abi_examples/16.cc: New.
650 * testsuite/demangle/abi_examples/17.cc: New.
651 * testsuite/demangle/abi_examples/18.cc: New.
652 * testsuite/demangle/abi_examples/19.cc: New.
653 * testsuite/demangle/abi_examples/20.cc: New.
654 * testsuite/demangle/abi_examples/21.cc: New.
655 * testsuite/demangle/abi_examples/22.cc: New.
656 * testsuite/demangle/abi_examples/23.cc: New.
657 * testsuite/demangle/abi_examples/24.cc: New.
658 * testsuite/demangle/abi_examples/25.cc: New.
659 * testsuite/demangle/abi_examples/26.cc: New.
660 * testsuite/demangle/abi_text/01.cc: New.
661 * testsuite/demangle/abi_text/02.cc: New.
662 * testsuite/demangle/abi_text/03.cc: New.
663 * testsuite/demangle/abi_text/04.cc: New.
664 * testsuite/demangle/abi_text/05.cc: New.
665 * testsuite/demangle/abi_text/06.cc: New.
666 * testsuite/demangle/abi_text/07.cc: New.
667 * testsuite/demangle/abi_text/08.cc: New.
668 * testsuite/demangle/abi_text/09.cc: New.
669 * testsuite/demangle/abi_text/10.cc: New.
670 * testsuite/demangle/abi_text/11.cc: New.
671 * testsuite/demangle/abi_text/12.cc: New.
672 * testsuite/demangle/abi_text/13.cc: New.
673 * testsuite/demangle/abi_text/14.cc: New.
674 * testsuite/demangle/regression/3111-1.cc: New.
675 * testsuite/demangle/regression/3111-2.cc: New.
676 * testsuite/demangle/regression/7986-01.cc: New.
677 * testsuite/demangle/regression/7986-02.cc: New.
678 * testsuite/demangle/regression/7986-03.cc: New.
679 * testsuite/demangle/regression/7986-04.cc: New.
680 * testsuite/demangle/regression/7986-05.cc: New.
681 * testsuite/demangle/regression/7986-06.cc: New.
682 * testsuite/demangle/regression/7986-07.cc: New.
683 * testsuite/demangle/regression/7986-08.cc: New.
684 * testsuite/demangle/regression/7986-09.cc: New.
685 * testsuite/demangle/regression/7986-10.cc: New.
686 * testsuite/demangle/regression/7986-11.cc: New.
687 * testsuite/demangle/regression/7986-12.cc: New.
688 * testsuite/demangle/regression/7986.cc: New.
689 * testsuite/demangle/regression/8897.cc: New.
690 * testsuite/demangle/regression/cw-01.cc: New.
691 * testsuite/demangle/regression/cw-02.cc: New.
692 * testsuite/demangle/regression/cw-03.cc: New.
693 * testsuite/demangle/regression/cw-04.cc: New.
694 * testsuite/demangle/regression/cw-05.cc: New.
695 * testsuite/demangle/regression/cw-06.cc: New.
696 * testsuite/demangle/regression/cw-07.cc: New.
697 * testsuite/demangle/regression/cw-08.cc: New.
698 * testsuite/demangle/regression/cw-09.cc: New.
699 * testsuite/demangle/regression/cw-10.cc: New.
700 * testsuite/demangle/regression/cw-11.cc: New.
701 * testsuite/demangle/regression/cw-12.cc: New.
702 * testsuite/demangle/regression/cw-13.cc: New.
703 * testsuite/demangle/regression/cw-14.cc: New.
704 * testsuite/demangle/regression/old.cc: New.
706 2003-02-25 Phil Edwards <pme@gcc.gnu.org>
708 * docs/doxygen/Intro.3: Update with new (proper) names.
709 * docs/doxygen/TODO: Update.
710 * docs/doxygen/run_doxygen: More comments, fix up man pages.
711 Fake entries for standard typedefs.
712 * docs/doxygen/user.cfg.in: Turn INLINE_INHERITED_MEMB back on.
713 * docs/html/documentation.html: Top-level man page is now called
715 * include/std/std_limits.h: Doxygenate.
717 2003-02-25 Scott Snyder <snyder@fnal.gov>
720 * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
721 Correct documentation.
722 * include/bits/stl_multimap.h (lower_bound, upper_bound,
723 equal_range): Likewise.
725 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
729 (basic_filebuf<char/wchar_t>::_M_underflow_common): When
730 __bump is true (uflow), always increment the read pointer
731 (_M_in_cur) before returning successfully.
732 * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
734 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
735 Nathan Myers <ncm@cantrip.org>
737 PR libstdc++/9404, PR libstdc++/9701 (partial)
738 (aka pptr == epptr implies overflow)
739 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
740 Consistently, _M_out_end points to the end of the buffer just
742 (overflow): Tweak to use _M_out_buf_size().
743 (_M_convert_to_external): The role of the old _M_out_end is
744 now played by _M_out_lim.
745 (_M_really_overflow): Likewise.
747 (setbuf): _M_out_end points to the end of the external buffer.
748 * include/bits/sstream.tcc (overflow): Rewrote, taking into
749 account the resolution of DR 169 (TC).
750 (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
751 (seekpos): Use _M_string.capacity(); tweak.
752 * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
753 * include/std/std_fstream.h (sync): The role of the old
754 _M_out_end is now played by _M_out_lim.
755 (_M_set_indeterminate): Use _M_set_determinate.
756 (_M_set_determinate): _M_out_end is now _M_out_lim.
757 (_M_is_indeterminate): Likewise.
758 * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
759 (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
760 which have the information readily available as _M_string.capacity();
761 for ate and app modes, pass the string size to _M_really_sync.
762 (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
763 point to the end of the buffer (i.e., epptr) and to the string end,
765 * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
766 which points to the right limit of the used put area.
767 (_M_out_cur_move): The role of the old _M_out_end is now played
769 (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
770 _M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter
772 (basic_streambuf()): Initialize _M_out_lim too.
773 * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
774 * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
775 * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
777 2003-02-24 Benjamin Kosnik <bkoz@redhat.com>
779 * testsuite/27_io/ios_base_storage.cc (main): Call
782 2003-02-21 Jerry Quinn <jlquinn@optonline.net>
784 * include/bits/locale_facets.tcc (_M_convert_float): Replace
785 numpunct facet accesses with data from __locale_cache.
787 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
789 * docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD.
790 * docs/html/faq/index.txt: Regenerate.
792 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
794 * config/linker-map.gnu: Also export locking symbols needed for the
795 generic atomicity.h case.
797 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
799 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
801 * configure: Rebuilt.
803 2003-02-19 Paolo Carlini <pcarlini@unitus.it>
805 * include/bits/sstream.tcc (overflow): According to
806 27.7.1.3, p5, actual output is performed by sputc(c).
808 2003-02-19 Phil Edwards <pme@gcc.gnu.org>
811 * include/bits/stl_alloc.h: Remove all traces of assert().
813 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
815 * include/std/std_sstream.h (str()): the size of the
816 current string may be different from the initial one
817 whenever _M_out_end > _M_out_beg.
818 * testsuite/27_io/stringbuf_members.cc (test07): Add.
820 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
823 * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
825 2003-02-17 Benjamin Kosnik <bkoz@redhat.com>
827 * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
828 * testsuite/27_io/ios_members.cc (test03): New.
830 2003-02-17 Jerry Quinn <jlquinn@optonline.net>
832 * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
833 (basic_ios::_M_cache_facets): Move into above.
834 * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
836 (basic_ios::imbue): Force locale cache to be built.
837 (basic_ios::_M_init): Create and initialize locale cache.
838 * include/bits/ios_base.h (__locale_cache_base): Declare.
839 (ios_base::_M_locale_cache): New.
840 (ios_base::_M_cache): Define.
841 * include/bits/locale_facets.h: (__num_base): Fix comment. Add
843 (__locale_cache_base,__locale_cache<_CharT>): New classes.
844 (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
845 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
846 cache literal string, grouping flag, thousands separator.
847 (__locale_cache<_CharT>::__locale_cache): New.
848 (__locale_cache<_CharT>::_M_init): New.
849 * src/ios.cc: Clear _M_locale_cache in constructor.
850 * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
853 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
855 * src/locale-inst.cc: Do not include <cassert>.
856 * src/locale.cc: Likewise.
858 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
861 * include/std/std_fstream.h: Declare underflow and uflow
862 specializations, change generic definitions to do nothing.
863 * src/fstream.cc: Add underflow and uflow specializations.
865 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
868 * include/bits/fstream.tcc (_M_convert_to_external):
869 Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
870 * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
872 2003-02-13 Benjamin Kosnik <bkoz@redhat.com>
874 * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
875 * include/bits/basic_ios.tcc: Guard use of extern template.
876 * include/std/std_iomanip.h: Same.
877 * include/bits/streambuf.tcc: Same.
878 * include/bits/stl_alloc.h: Same.
879 * include/bits/locale_facets.tcc: Same.
880 * include/bits/ostream.tcc: Same.
881 * include/bits/istream.tcc: Same.
882 * include/bits/fstream.tcc: Same.
883 * include/bits/basic_string.tcc: Same.
885 2003-02-13 Paolo Carlini <pcarlini@unitus.it>
887 * include/bits/ostream.tcc (sentry::sentry): Improve
888 performance-wise the fix for libstdc++/9563.
890 2003-02-12 Phil Edwards <pme@gcc.gnu.org>
892 * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
893 (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file.
894 (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare
895 when we don't have static mutex initialization.
896 (__exchange_and_add): Use _Atomic_add_mutex_once.
897 * src/misc-inst.cc: Definitions of all the above.
899 2003-02-12 Paolo Carlini <pcarlini@unitus.it>
902 * include/bits/ostream.tcc (sentry::sentry): Check
903 the state of the stream after the preparation.
904 * testsuite/27_io/ostream_sentry.cc (test02): Add.
906 2003-02-11 Benjamin Kosnik <bkoz@redhat.com>
908 * include/Makefile.am (stamp-std-precompile): Add rule.
909 * include/Makefile.in: Regenerated.
911 2003-02-11 Jerry Quinn <jlquinn@optonline.net>
912 Benjamin Kosnik <benjamin@redhat.com>
914 * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
915 Add indexes into this array.
916 (__num_base::_S_atoms): To _S_atoms_in.
917 (num_put::_M_insert): Rename to _M_pad.
918 (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
919 (num_put::_M_widen_int): Rename to _M_group_int.
920 (num_put::_M_widen_float): Rename to _M_group_float.
921 * include/bits/locale_facets.tcc (__int_to_char): New inline
922 function and adapter functions.
923 (num_put::_M_group_int): Streamline.
924 (num_put::_M_group_float): Streamline.
925 (num_put::_M_convert_int): Remove unused parameter names. Choose
926 large enough buffer for text. Use __int_to_char instead of
927 __convert_from_v. Formatted text is now at the end of the buffer.
928 (num_put::_M_convert_float): Preliminary fixups.
929 * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
930 (__int_to_char<unsigned long long>): Same.
931 (__int_to_char<char, unsigned long>): New.
932 (__int_to_char<char, unsigned long long>): New.
933 (__int_to_char<wchar_t, unsigned long>): New.
934 (__int_to_char<wchar_t, unsigned long long>): New.
936 2003-02-11 Scott Snyder <snyder@fnal.gov>
939 * include/bits/fstream.tcc (seekoff): Avoid operator+
942 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
945 * include/ext/stdio_filebuf.h
946 (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
947 stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
948 Change to take a __size parameter of type size_t, not
949 of type (template parameter dependent) int_type.
950 * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
952 * testsuite/ext/stdio_filebuf.cc: Add.
954 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
955 Petur Runolfsson <peturr02@ru.is>
958 * include/bits/streambuf.tcc (__copy_streambufs):
959 Don't conditionalize the copy to __testput.
960 * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
962 2002-02-11 DJ Delorie <dj@redhat.com>
964 * acinclude.m4: Check for native targets that can't link at
965 this point in the build.
966 * aclocal.m4: Regenerate.
967 * configure: Regenerate.
969 2003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
971 * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
973 (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
976 2003-02-07 Paolo Carlini <pcarlini@unitus.it>
978 * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
979 unsigned char platforms.
981 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
984 * include/std/std_istream.h
985 (basic_istream::sentry::operator bool()): Make const.
986 * include/std/std_ostream.h
987 (basic_ostream::sentry::operator bool()): Likewise.
988 * testsuite/27_io/istream_sentry.cc (test03): Add.
989 * testsuite/27_io/ostream_sentry.cc: Add.
991 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
994 Implement resolution of DR 231 (Ready)
995 * include/bits/locale_facets.h (__num_base::_S_format_float):
996 Change declaration: return void, remove __prec parameter.
997 * src/locale.cc (__num_base::_S_format_float): Implement
998 resolution of DR 231.
999 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1000 Tweak uses. Check for negative precision.
1001 * testsuite/22_locale/num_put/put/char/6.cc: Add
1002 * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
1004 2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
1006 * config/io/basic_file_libio.h: Fixups.
1007 * config/io/c_io_libio.h: Same.
1008 * libio/Makefile.am: Same.
1009 * libio/Makefile.in: Regenerated.
1011 2003-02-06 Benjamin Kosnik <bkoz@redhat.com>
1013 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
1014 Explicitly use the "C" locale.
1015 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
1017 2003-02-06 Petur Runolfsson <peturr02@ru.is>
1021 PR libstdc++/9028 (partial)
1027 (codecvt<wchar_t, char, mbstate_t>::do_encoding,
1028 codecvt<wchar_t, char, mbstate_t>::do_length,
1029 codecvt<wchar_t, char, mbstate_t>::do_max_length):
1031 * config/locale/generic/codecvt_members.cc: ...here.
1032 * config/locale/gnu/codecvt_members.cc: ...and here.
1034 * config/locale/generic/codecvt_members.cc,
1035 * config/locale/gnu/codecvt_members.cc
1036 (codecvt<wchar_t, char, mbstate_t>::do_encoding
1037 codecvt<wchar_t, char, mbstate_t>::do_in,
1038 codecvt<wchar_t, char, mbstate_t>::do_length,
1039 codecvt<wchar_t, char, mbstate_t>::do_max_length,
1040 codecvt<wchar_t, char, mbstate_t>::do_out):
1041 New implementation that handles stateless encodings,
1044 * config/locale/generic/codecvt_members.cc,
1045 * config/locale/gnu/codecvt_members.cc,
1046 * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
1047 * include/bits/codecvt.h,
1049 (codecvt::length, codecvt::do_length):
1050 Change type of first argument of length and do_length from
1051 'const state_type&' to 'state_type&' according to DR 75.
1053 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Cleanup.
1054 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: New test.
1055 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: New test.
1056 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: New test.
1057 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
1058 Cleanup and check for correct return value from encoding
1060 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: New test.
1061 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: New test.
1062 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: New test.
1063 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Cleanup.
1064 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: New test.
1065 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: New test.
1066 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: New test.
1067 * testsuite/22_locale/codecvt/in/wchar_t/5.cc: New test.
1068 * testsuite/22_locale/codecvt/in/wchar_t/6.cc: New test.
1069 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: New test.
1070 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: New test.
1071 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: New test.
1072 * testsuite/22_locale/codecvt/length/char/1.cc: Cleanup.
1073 * testsuite/22_locale/codecvt/length/char/2.cc: New test.
1074 * testsuite/22_locale/codecvt/length/wchar_t/1.cc: Cleanup.
1075 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: New test.
1076 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: New test.
1077 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: New test.
1078 * testsuite/22_locale/codecvt/length/wchar_t/5.cc: New test.
1079 * testsuite/22_locale/codecvt/length/wchar_t/6.cc: New test.
1080 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: New test.
1081 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Cleanup.
1082 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: New test.
1083 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: New test.
1084 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: New test.
1085 * testsuite/22_locale/codecvt/out/wchar_t/1.cc: Cleanup.
1086 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: New test.
1087 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: New test.
1088 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: New test.
1089 * testsuite/22_locale/codecvt/out/wchar_t/5.cc: New test.
1090 * testsuite/22_locale/codecvt/out/wchar_t/6.cc: New test.
1091 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: New test.
1092 * testsuite/22_locale/codecvt/unicode/1.cc: New test.
1093 * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Cleanup.
1094 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: New test.
1095 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: New test.
1096 * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc: New test.
1098 2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
1100 * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
1101 (money_put::do_put): Same.
1103 2003-02-05 Jerry Quinn <jlquinn@optonline.net>
1105 * include/bits/ios_base.h (ios_base): Document reserved storage.
1107 * include/bits/locale_facets.h: (struct __pad): Comment on
1109 (__verify_grouping): Same.
1110 (__add_grouping): Same.
1111 * include/bits/locale_facets.tcc (__verify_grouping): Move
1112 comments to declaration.
1113 (__add_grouping): Same.
1115 * include/bits/locale_facets.tcc:
1116 (__write<_CharT, _OutIter>): New function.
1117 (__write<_CharT>): New function specialization.
1118 (num_put::_M_insert): Remove explicit loop over iterator. Use
1120 (num_put::_M_widen_float): Remove __basefield.
1121 (num_put::_M_widen_int): Move __basefield to within grouping block.
1123 * include/bits/streambuf_iterator.h: Include <streambuf>.
1124 (ostreambuf_iterator::_M_put): Add.
1126 2003-02-05 Paolo Carlini <pcarlini@unitus.it>
1128 * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
1130 2003-02-04 Nathan Myers <ncm@cantrip.org>
1132 * testsuite/25_algorithms/min_max.cc (test02): Add.
1134 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
1136 PR libstdc++/9439, PR libstdc++/9425
1137 * config/io/basic_file_stdio.cc
1138 (__basic_file<char>::seekoff, seekpos): Return -1L if
1140 * include/bits/fstream.tcc (basic_filebuf::seekoff):
1141 Check _M_file.seekoff return value; always return
1142 pos_type(off_type(-1)) in case of failure.
1143 (basic_filebuf::pbackfail): Check this->seekoff return
1144 value and return traits_type::eof() in case of failure.
1145 * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
1147 2003-02-04 Jerry Quinn <jlquinn@optonline.net>
1149 * include/std/std_ostream.h (ostream::_M_write): Declare.
1150 * ostream.tcc (ostream::_M_write): Define.
1151 (basic_ostream::write): Use it.
1152 (operator<<(basic_ostream, _CharT)): Ditto.
1153 (operator<<(basic_ostream, char)): Ditto.
1154 (operator<<(basic_ostream, _CharT*)): Ditto.
1155 (operator<<(basic_ostream, char*)): Ditto.
1156 (operator<<(basic_ostream, basic_string)): Ditto.
1158 2003-02-04 Benjamin Kosnik <bkoz@redhat.com>
1160 * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
1162 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
1164 * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
1165 add HTML comment about updating links if numbering changes.
1167 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
1170 * include/bits/streambuf.tcc (sputbackc): Access
1171 this->gptr()[-1] only if _M_in_beg < _M_in_cur.
1172 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
1174 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
1177 * include/bits/fstream.tcc (open): If the 'ate' repositioning
1178 operation fails, calls close _and_ returns a null pointer
1179 to indicate failure (27.8.1.3,4).
1180 * testsuite/27_io/filebuf_members.cc (test_06): Add.
1182 2003-02-04 Petur Runolfsson <peturr02@ru.is>
1184 * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
1186 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
1188 * docs/html/27_io/howto.html: New section on stdio_filebuf.
1189 * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
1190 * docs/html/documentation.html: Regenerate.
1192 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
1194 * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
1195 * docs/html/17_intro/porting.html: Regenerate.
1197 2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
1198 Phil Edwards <pme@gcc.gnu.org>
1200 * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
1201 numeric_limits for bits-per-word values.
1202 (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
1203 Use __builtin_popcountl instead.
1204 (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
1205 _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
1206 Use __builtin_ctzl instead.
1207 (_S_bit_count, _S_first_one): Remove.
1208 * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
1209 * src/Makefile.am (sources): Remove bitset.cc.
1210 * src/bitset.cc: Delete file.
1211 * src/Makefile.in: Regenerate.
1213 2003-02-03 Phil Edwards <pme@gcc.gnu.org>
1215 PR libstdc++/9527, PR libstdc++/8713
1216 * docs/html/install.html: Mention glibc version requirement.
1217 * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed
1218 with 3.2.1+ (formatting bugfixes).
1219 * docs/html/faq/index.txt: Regenerate.
1221 2003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1224 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
1227 * include/bits/valarray_before.h (__not_equal_to): Use != instead
1230 * testsuite/26_numerics/valarray_operators.cc: New test.
1232 2003-02-01 Phil Edwards <pme@gcc.gnu.org>
1234 * docs/html/faq/index.html: Correct link to libg++ information.
1235 * docs/html/faq/index.txt: Regenerated.
1237 2003-02-01 Paolo Carlini <pcarlini@unitus.it>
1238 Benjamin Kosnik <bkoz@redhat.com>
1240 Const correctness issue:
1241 http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
1242 * include/bits/locale_classes.h
1243 (locale::_Impl::_M_facets): Change type to const facet**.
1244 (locale::_Impl::_M_install_facet): Change declaration to
1246 (locale::facet::_M_references): Make mutable.
1247 (locale::facet::_M_add_reference): Declare const.
1248 (locale::facet::_M_remove_reference): Likewise.
1249 * include/bits/locale_facets.tcc
1250 (use_facet(const locale&)): Tweak for const facet** _M_facets.
1251 (has_facet(const locale&)): Likewise.
1253 (locale::facet::_M_add_reference): Adjust definition.
1254 (locale::facet::_M_remove_reference): Likewise.
1256 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
1257 const facet** _M_facets.
1258 (locale::_Impl::_Impl(const char*, size_t)): Likewise.
1259 (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
1260 (locale::_Impl::_M_install_facet): Adjust definition to take
1261 const facet* and for const facet** _M_facets.
1262 * testsuite/22_locale/locale/cons/8.cc: Add.
1264 2003-01-29 Mark Mitchell <mark@codesourcery.com>
1266 * include/std/std_limits.h (numeric_limits<float>::has_infinity):
1267 Use __FLT_HAS_INIFINITY__ to initialize.
1268 (numeric_limits<float>::has_quiet_NaN): Likewise.
1269 (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
1271 (numeric_limits<double>::has_quiet_NaN): Likewise.
1272 (numeric_limits<long double>::has_infinity): Use
1273 __LDBL_HAS_INIFINITY__ to initialize.
1274 (numeric_limits<long_double>::has_quiet_NaN): Likewise.
1276 2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
1279 * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
1280 with bases which are very ambiguous.
1282 2003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
1284 * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
1285 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
1286 * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
1287 * src/Makefile.in: Regenerate.
1288 * libsupc++/Makefile.in: Regenerate.
1290 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
1292 * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
1293 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
1294 version_specific_libs is enabled.
1295 * aclocal.m4, configure: Rebuilt.
1297 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
1299 * include/bits/valarray_meta.h: Remove, split into ...
1300 * include/bits/valarray_before.h: ... this, and ...
1301 * include/bits/valarray_after.h: ... this.
1302 * include/std/std_valarray.h: Adjust.
1303 * include/Makefile.am (bits_headers): Adjust.
1304 * include/Makefile.in: Regenerate.
1306 2003-01-24 Andreas Schwab <schwab@suse.de>
1308 * config/linker-map.gnu: Fix for size_t variance.
1310 2003-01-23 Petur Runolfsson <peturr02@ru.is>
1313 * include/std/std_streambuf.h
1314 (basic_streambuf::basic_streambuf,
1315 basic_streambuf::~basic_streambuf,
1316 basic_streambuf::getloc, basic_streambuf::imbue):
1317 Remove _M_buf_locale_init
1318 * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
1319 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
1320 * testsuite/27_io/streambuf_members.cc (test08): Add.
1321 * testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
1323 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
1325 Revert include ordering.
1326 * config/locale/generic/c_locale.h: Add include guards.
1327 * config/locale/gnu/c_locale.h: Same.
1328 * include/bits/locale_classes.h: Remove cctype include.
1329 * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
1330 * include/std/std_fstream.h: Remove streambuf include.
1331 * include/std/std_sstream.h: Remove streambuf include.
1333 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
1335 * configure.in (libtool_VERSION): To 6:0:0.
1336 * configure: Regenerated.
1337 * config/linker-map.gnu: Clean.
1339 * src/misc-inst.cc: Remove instantiations.
1341 * include/bits/stl_alloc.h (__malloc_alloc_template):
1343 (__default_alloc_template): To __pool_alloc.
1344 * src/stl-inst.cc: Same.
1345 * include/backward/alloc.h: Update.
1346 * testsuite/ext/allocators.cc: Update.
1348 * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
1349 really try to remove these if possible.
1350 * src/locale.cc (std): Same.
1352 * testsuite/abi_check.cc (check_version): Add.
1354 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
1355 Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
1356 Mark Mitchell <mark@codesourcery.com>
1359 * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
1360 (basic_filebuf::underflow): Declare.
1363 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
1365 * include/bits/locale_facets.h: Move non-facet classes requiring
1367 * include/bits/locale_classes.h: New.
1368 * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
1369 * include/bits/Makefile.in: Regenerate.
1371 * include/bits/locale_facets.tcc (__convert_from_v): Move to...
1372 * config/locale/gnu/c_locale.h: ...here.
1373 * config/locale/generic/c_locale.h: Same.
1375 * include/bits/locale_facets.tcc: Move declarations to...
1376 * include/bits/locale_facets.h: ...here.
1377 * include/bits/basic_ios.h: Tweak includes accordingly.
1378 * include/std/std_sstream.h: Add streambuf include.
1379 * include/std/std_fstream.h: Ditto.
1380 * include/std/std_locale.h: Add locale_classes.h include.
1381 * include/std/std_iosfwd.h: Tweak.
1382 * src/concept-inst.cc: Add iterator include.
1384 * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
1385 bits as unexported in the future.
1387 2003-01-21 Benjamin Kosnik <bkoz@redhat.com>
1389 Reshuffle 22_locale testsuite.
1390 * 22_locale/(codecvt.cc money_get.cc
1391 codecvt_members_char_char.cc money_get_members_char.cc
1392 codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
1393 codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
1394 codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
1395 moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
1396 collate_members_char.cc money_put.cc collate_members_wchar_t.cc
1397 money_put_members_char.cc ctor_copy_dtor.cc
1398 money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
1399 num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
1400 ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
1401 numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
1402 ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
1403 num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
1404 ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
1405 operators.cc ctype_widen_char.cc static_members.cc
1406 ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
1407 global_templates.cc time_get_members_wchar_t.cc, members.cc,
1408 time_put.cc, messages_byname.cc, time_put_members_char.cc,
1409 messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
1410 Split up into individual test cases...
1411 * 22_locale/codecvt/1.cc: New.
1412 * 22_locale/codecvt/2.cc: New.
1413 * 22_locale/codecvt/always_noconv/char/1.cc: New.
1414 * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
1415 * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
1416 * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
1417 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
1418 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
1419 * 22_locale/codecvt/encoding/char/1.cc: New.
1420 * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
1421 * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
1422 * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
1423 * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
1424 * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
1425 * 22_locale/codecvt/in/char/1.cc: New.
1426 * 22_locale/codecvt/in/char/wrapped_env.cc: New.
1427 * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
1428 * 22_locale/codecvt/in/wchar_t/1.cc: New.
1429 * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
1430 * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
1431 * 22_locale/codecvt/length/char/1.cc: New.
1432 * 22_locale/codecvt/length/char/wrapped_env.cc: New.
1433 * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
1434 * 22_locale/codecvt/length/wchar_t/1.cc: New.
1435 * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
1436 * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
1437 * 22_locale/codecvt/max_length/char/1.cc: New.
1438 * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
1439 * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
1440 * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
1441 * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
1442 * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
1443 * 22_locale/codecvt/out/char/1.cc: New.
1444 * 22_locale/codecvt/out/char/wrapped_env.cc: New.
1445 * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
1446 * 22_locale/codecvt/out/wchar_t/1.cc: New.
1447 * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
1448 * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
1449 * 22_locale/codecvt/unicode/char.cc: New.
1450 * 22_locale/codecvt/unicode/wchar_t.cc: New.
1451 * 22_locale/codecvt/unshift/char/1.cc: New.
1452 * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
1453 * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
1454 * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
1455 * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
1456 * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
1457 * 22_locale/collate/1.cc: New.
1458 * 22_locale/collate/2.cc: New.
1459 * 22_locale/collate/compare/char/1.cc: New.
1460 * 22_locale/collate/compare/char/2.cc: New.
1461 * 22_locale/collate/compare/char/wrapped_env.cc: New.
1462 * 22_locale/collate/compare/char/wrapped_locale.cc: New.
1463 * 22_locale/collate/compare/wchar_t/1.cc: New.
1464 * 22_locale/collate/compare/wchar_t/2.cc: New.
1465 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
1466 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
1467 * 22_locale/collate/hash/char/1.cc: New.
1468 * 22_locale/collate/hash/char/2.cc: New.
1469 * 22_locale/collate/hash/char/wrapped_env.cc: New.
1470 * 22_locale/collate/hash/char/wrapped_locale.cc: New.
1471 * 22_locale/collate/hash/wchar_t/1.cc: New.
1472 * 22_locale/collate/hash/wchar_t/2.cc: New.
1473 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
1474 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
1475 * 22_locale/collate/transform/char/2.cc: New.
1476 * 22_locale/collate/transform/char/wrapped_env.cc: New.
1477 * 22_locale/collate/transform/char/wrapped_locale.cc: New.
1478 * 22_locale/collate/transform/wchar_t/2.cc: New.
1479 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
1480 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
1481 * 22_locale/collate_byname/1.cc: New.
1482 * 22_locale/ctype/1.cc: New.
1483 * 22_locale/ctype/2.cc: New.
1484 * 22_locale/ctype/cons/char/1.cc: New.
1485 * 22_locale/ctype/cons/char/wrapped_env.cc: New.
1486 * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
1487 * 22_locale/ctype/is/char/1.cc: New.
1488 * 22_locale/ctype/is/char/2.cc: New.
1489 * 22_locale/ctype/is/char/3.cc: New.
1490 * 22_locale/ctype/is/char/wrapped_env.cc: New.
1491 * 22_locale/ctype/is/char/wrapped_locale.cc: New.
1492 * 22_locale/ctype/is/wchar_t/1.cc: New.
1493 * 22_locale/ctype/is/wchar_t/2.cc: New.
1494 * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
1495 * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
1496 * 22_locale/ctype/narrow/char/1.cc: New.
1497 * 22_locale/ctype/narrow/char/2.cc: New.
1498 * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
1499 * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
1500 * 22_locale/ctype/narrow/wchar_t/1.cc: New.
1501 * 22_locale/ctype/narrow/wchar_t/2.cc: New.
1502 * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
1503 * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
1504 * 22_locale/ctype/scan/char/1.cc: New.
1505 * 22_locale/ctype/scan/char/wrapped_env.cc: New.
1506 * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
1507 * 22_locale/ctype/scan/wchar_t/1.cc: New.
1508 * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
1509 * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
1510 * 22_locale/ctype/to/char/1.cc: New.
1511 * 22_locale/ctype/to/char/wrapped_env.cc: New.
1512 * 22_locale/ctype/to/char/wrapped_locale.cc: New.
1513 * 22_locale/ctype/to/wchar_t/1.cc: New.
1514 * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
1515 * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
1516 * 22_locale/ctype/widen/char/1.cc: New.
1517 * 22_locale/ctype/widen/char/wrapped_env.cc: New.
1518 * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
1519 * 22_locale/ctype/widen/wchar_t/1.cc: New.
1520 * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
1521 * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
1522 * 22_locale/facet/1.cc: New.
1523 * 22_locale/facet/2.cc: New.
1524 * 22_locale/global_templates/1.cc: New.
1525 * 22_locale/locale/cons/1.cc: New.
1526 * 22_locale/locale/cons/2.cc: New.
1527 * 22_locale/locale/cons/3.cc: New.
1528 * 22_locale/locale/cons/4.cc: New.
1529 * 22_locale/locale/cons/5.cc: New.
1530 * 22_locale/locale/cons/6.cc: New.
1531 * 22_locale/locale/cons/7.cc: New.
1532 * 22_locale/locale/global_locale_objects/1.cc: New.
1533 * 22_locale/locale/global_locale_objects/2.cc: New.
1534 * 22_locale/locale/global_locale_objects/3.cc: New.
1535 * 22_locale/locale/operations/1.cc: New.
1536 * 22_locale/locale/operations/2.cc: New.
1537 * 22_locale/messages/1.cc: New.
1538 * 22_locale/messages/2.cc: New.
1539 * 22_locale/messages/members/char/1.cc: New.
1540 * 22_locale/messages/members/char/2.cc: New.
1541 * 22_locale/messages/members/char/3.cc: New.
1542 * 22_locale/messages/members/char/wrapped_env.cc: New.
1543 * 22_locale/messages/members/char/wrapped_locale.cc: New.
1544 * 22_locale/messages_byname/1.cc: New.
1545 * 22_locale/money_get/1.cc: New.
1546 * 22_locale/money_get/2.cc: New.
1547 * 22_locale/money_get/get/char/1.cc: New.
1548 * 22_locale/money_get/get/char/2.cc: New.
1549 * 22_locale/money_get/get/char/3.cc: New.
1550 * 22_locale/money_get/get/char/4.cc: New.
1551 * 22_locale/money_get/get/char/5.cc: New.
1552 * 22_locale/money_get/get/char/6.cc: New.
1553 * 22_locale/money_get/get/char/7.cc: New.
1554 * 22_locale/money_get/get/char/8.cc: New.
1555 * 22_locale/money_get/get/char/wrapped_env.cc: New.
1556 * 22_locale/money_get/get/char/wrapped_locale.cc: New.
1557 * 22_locale/money_get/get/wchar_t/1.cc: New.
1558 * 22_locale/money_get/get/wchar_t/2.cc: New.
1559 * 22_locale/money_get/get/wchar_t/3.cc: New.
1560 * 22_locale/money_get/get/wchar_t/4.cc: New.
1561 * 22_locale/money_get/get/wchar_t/5.cc: New.
1562 * 22_locale/money_get/get/wchar_t/6.cc: New.
1563 * 22_locale/money_get/get/wchar_t/7.cc: New.
1564 * 22_locale/money_get/get/wchar_t/8.cc: New.
1565 * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
1566 * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
1567 * 22_locale/money_put/1.cc: New.
1568 * 22_locale/money_put/2.cc: New.
1569 * 22_locale/money_put/put/char/1.cc: New.
1570 * 22_locale/money_put/put/char/2.cc: New.
1571 * 22_locale/money_put/put/char/3.cc: New.
1572 * 22_locale/money_put/put/char/4.cc: New.
1573 * 22_locale/money_put/put/char/5.cc: New.
1574 * 22_locale/money_put/put/char/6.cc: New.
1575 * 22_locale/money_put/put/char/wrapped_env.cc: New.
1576 * 22_locale/money_put/put/char/wrapped_locale.cc: New.
1577 * 22_locale/money_put/put/wchar_t/1.cc: New.
1578 * 22_locale/money_put/put/wchar_t/2.cc: New.
1579 * 22_locale/money_put/put/wchar_t/3.cc: New.
1580 * 22_locale/money_put/put/wchar_t/4.cc: New.
1581 * 22_locale/money_put/put/wchar_t/5.cc: New.
1582 * 22_locale/money_put/put/wchar_t/6.cc: New.
1583 * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
1584 * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
1585 * 22_locale/moneypunct/1.cc: New.
1586 * 22_locale/moneypunct/2.cc: New.
1587 * 22_locale/moneypunct/3.cc: New.
1588 * 22_locale/moneypunct/members/char/1.cc: New.
1589 * 22_locale/moneypunct/members/char/2.cc: New.
1590 * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
1591 * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
1592 * 22_locale/moneypunct/members/wchar_t/1.cc: New.
1593 * 22_locale/moneypunct/members/wchar_t/2.cc: New.
1594 * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
1595 * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
1596 * 22_locale/moneypunct_byname/1.cc: New.
1597 * 22_locale/num_get/1.cc: New.
1598 * 22_locale/num_get/2.cc: New.
1599 * 22_locale/num_get/get/char/1.cc: New.
1600 * 22_locale/num_get/get/char/2.cc: New.
1601 * 22_locale/num_get/get/char/3.cc: New.
1602 * 22_locale/num_get/get/char/4.cc: New.
1603 * 22_locale/num_get/get/char/5.cc: New.
1604 * 22_locale/num_get/get/char/6.cc: New.
1605 * 22_locale/num_get/get/char/wrapped_env.cc: New.
1606 * 22_locale/num_get/get/char/wrapped_locale.cc: New.
1607 * 22_locale/num_get/get/wchar_t/1.cc: New.
1608 * 22_locale/num_get/get/wchar_t/2.cc: New.
1609 * 22_locale/num_get/get/wchar_t/3.cc: New.
1610 * 22_locale/num_get/get/wchar_t/4.cc: New.
1611 * 22_locale/num_get/get/wchar_t/5.cc: New.
1612 * 22_locale/num_get/get/wchar_t/6.cc: New.
1613 * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
1614 * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
1615 * 22_locale/num_put/1.cc: New.
1616 * 22_locale/num_put/2.cc: New.
1617 * 22_locale/num_put/put/char/1.cc: New.
1618 * 22_locale/num_put/put/char/2.cc: New.
1619 * 22_locale/num_put/put/char/3.cc: New.
1620 * 22_locale/num_put/put/char/4.cc: New.
1621 * 22_locale/num_put/put/char/5.cc: New.
1622 * 22_locale/num_put/put/char/wrapped_env.cc: New.
1623 * 22_locale/num_put/put/char/wrapped_locale.cc: New.
1624 * 22_locale/num_put/put/wchar_t/1.cc: New.
1625 * 22_locale/num_put/put/wchar_t/2.cc: New.
1626 * 22_locale/num_put/put/wchar_t/3.cc: New.
1627 * 22_locale/num_put/put/wchar_t/4.cc: New.
1628 * 22_locale/num_put/put/wchar_t/5.cc: New.
1629 * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
1630 * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
1631 * 22_locale/numpunct/1.cc: New.
1632 * 22_locale/numpunct/2.cc: New.
1633 * 22_locale/numpunct/members/char/1.cc: New.
1634 * 22_locale/numpunct/members/char/2.cc: New.
1635 * 22_locale/numpunct/members/char/wrapped_env.cc: New.
1636 * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
1637 * 22_locale/numpunct/members/wchar_t/1.cc: New.
1638 * 22_locale/numpunct/members/wchar_t/2.cc: New.
1639 * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
1640 * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
1641 * 22_locale/numpunct_byname/1.cc: New.
1642 * 22_locale/numpunct_byname/2.cc: New.
1643 * 22_locale/time_get/1.cc: New.
1644 * 22_locale/time_get/2.cc: New.
1645 * 22_locale/time_get/date_order/char/1.cc: New.
1646 * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
1647 * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
1648 * 22_locale/time_get/date_order/wchar_t/1.cc: New.
1649 * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
1650 * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
1651 * 22_locale/time_get/get_date/char/1.cc: New.
1652 * 22_locale/time_get/get_date/char/2.cc: New.
1653 * 22_locale/time_get/get_date/char/3.cc: New.
1654 * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
1655 * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
1656 * 22_locale/time_get/get_date/wchar_t/1.cc: New.
1657 * 22_locale/time_get/get_date/wchar_t/2.cc: New.
1658 * 22_locale/time_get/get_date/wchar_t/3.cc: New.
1659 * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
1660 * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
1661 * 22_locale/time_get/get_monthname/char/1.cc: New.
1662 * 22_locale/time_get/get_monthname/char/2.cc: New.
1663 * 22_locale/time_get/get_monthname/char/3.cc: New.
1664 * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
1665 * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
1666 * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
1667 * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
1668 * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
1669 * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
1670 * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
1671 * 22_locale/time_get/get_time/char/1.cc: New.
1672 * 22_locale/time_get/get_time/char/2.cc: New.
1673 * 22_locale/time_get/get_time/char/3.cc: New.
1674 * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
1675 * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
1676 * 22_locale/time_get/get_time/wchar_t/1.cc: New.
1677 * 22_locale/time_get/get_time/wchar_t/2.cc: New.
1678 * 22_locale/time_get/get_time/wchar_t/3.cc: New.
1679 * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
1680 * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
1681 * 22_locale/time_get/get_weekday/char/1.cc: New.
1682 * 22_locale/time_get/get_weekday/char/2.cc: New.
1683 * 22_locale/time_get/get_weekday/char/3.cc: New.
1684 * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
1685 * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
1686 * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
1687 * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
1688 * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
1689 * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
1690 * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
1691 * 22_locale/time_get/get_year/char/1.cc: New.
1692 * 22_locale/time_get/get_year/char/3.cc: New.
1693 * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
1694 * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
1695 * 22_locale/time_get/get_year/wchar_t/1.cc: New.
1696 * 22_locale/time_get/get_year/wchar_t/3.cc: New.
1697 * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
1698 * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
1699 * 22_locale/time_put/1.cc: New.
1700 * 22_locale/time_put/2.cc: New.
1701 * 22_locale/time_put/put/char/1.cc: New.
1702 * 22_locale/time_put/put/char/10.cc: New.
1703 * 22_locale/time_put/put/char/2.cc: New.
1704 * 22_locale/time_put/put/char/3.cc: New.
1705 * 22_locale/time_put/put/char/4.cc: New.
1706 * 22_locale/time_put/put/char/5.cc: New.
1707 * 22_locale/time_put/put/char/6.cc: New.
1708 * 22_locale/time_put/put/char/7.cc: New.
1709 * 22_locale/time_put/put/char/8.cc: New.
1710 * 22_locale/time_put/put/char/9.cc: New.
1711 * 22_locale/time_put/put/char/wrapped_env.cc: New.
1712 * 22_locale/time_put/put/char/wrapped_locale.cc: New.
1713 * 22_locale/time_put/put/wchar_t/1.cc: New.
1714 * 22_locale/time_put/put/wchar_t/10.cc: New.
1715 * 22_locale/time_put/put/wchar_t/2.cc: New.
1716 * 22_locale/time_put/put/wchar_t/3.cc: New.
1717 * 22_locale/time_put/put/wchar_t/4.cc: New.
1718 * 22_locale/time_put/put/wchar_t/5.cc: New.
1719 * 22_locale/time_put/put/wchar_t/6.cc: New.
1720 * 22_locale/time_put/put/wchar_t/7.cc: New.
1721 * 22_locale/time_put/put/wchar_t/8.cc: New.
1722 * 22_locale/time_put/put/wchar_t/9.cc: New.
1723 * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
1724 * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
1726 2003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
1728 * config/locale/generic/messages_members.h
1729 (messages_byname<_CharT>::messages_byname): Use this-> to refer to
1730 unqualified members of base clasess.
1732 2003-01-16 Mark Mitchell <mark@codesourcery.com>
1733 Jeffrey Oldham <oldham@codesourcery.com>
1735 * config/locale/gnu/messages_members.h: Use this-> to refer to
1736 unqualified members of base clasess.
1737 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
1738 * include/bits/codecvt.h: Likewise.
1739 * include/bits/deque.tcc: Likewise.
1740 * include/bits/fstream.tcc: Likewise.
1741 * include/bits/istream.tcc: Likewise.
1742 * include/bits/list.tcc: Likewise.
1743 * include/bits/locale_facets.h: Likewise.
1744 * include/bits/ostream.tcc: Likewise.
1745 * include/bits/sstream.tcc: Likewise.
1746 * include/bits/stl_bvector.h: Likewise.
1747 * include/bits/stl_deque.h: Likewise.
1748 * include/bits/stl_list.h: Likewise.
1749 * include/bits/stl_tree.h: Likewise.
1750 * include/bits/stl_vector.h: Likewise.
1751 * include/bits/vector.tcc: Likewise.
1752 * include/ext/ropeimpl.h: Likewise.
1753 * include/ext/stdio_filebuf.h: Likewise.
1754 * include/ext/stl_rope.h: Likewise.
1755 * include/std/std_fstream.h: Likewise.
1756 * include/std/std_sstream.h: Likewise.
1758 2003-01-15 Phil Edwards <pme@gcc.gnu.org>
1760 * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
1762 2003-01-15 Benjamin Kosnik <bkoz@redhat.com>
1764 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
1765 GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
1766 * aclocal.m4: Regenerate.
1767 * configure: Regenerate.
1768 * testsuite/Makefile.am (all-local): Add conditional rule to
1769 generate testsuite_wchar_t.
1770 * testsuite/Makefile.in: Regenerate.
1771 * testsuite/lib/libstdc++-v3-dg.exp
1772 (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
1773 testsuite_wchar_t is not present in the build directory.
1774 * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
1775 Remove setulimit bits.
1776 * testsuite/26_numerics/complex_value.cc: Set to noopts.
1777 * testsuite/Makefile.am (CLEANFILES): Add.
1778 * testsuite/Makefile.in: Regenerate.
1780 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
1782 * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
1785 2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
1787 Further conform g++'s __vmi_class_type_info to the C++ ABI
1789 * libsupc++/cxxabi.h
1790 (__vmi_class_type_info::__flags_masks): Remove enumerations not
1791 required by the specification.
1793 2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
1795 Renames, namespaces for testsuite utilities.
1796 * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
1797 (gnu_allocator_tracker): Rename to allocation_tracker.
1798 (gnu_new_allocator): Rename to tracker_alloc.
1799 (__set_testsuite_memlimit): Rename to set_memory_limits.
1800 (gnu_assignment_operator): Rename to assignment_operator.
1801 (gnu_destructor): Rename to destructor.
1802 (gnu_copy_tracker): Rename to copy_tracker.
1803 (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
1804 (run_tests_wrapped_locale): New.
1805 (run_tests_wrapped_env): New.
1806 * testsuite/testsuite_hooks.cc: Same.
1807 (class locale_data): Add.
1808 (class enviornment_variable): Add.
1809 (class not_found): Add.
1810 * testsuite/testsuite_allocator.h: Same.
1811 * testsuite/testsuite_allocator.cc: Same.
1812 * testsuite/23_containers/deque_ctor.cc
1813 (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
1815 Change gnu_new_allocator to tracker_alloc.
1816 Change gnu_counting_struct to counter.
1817 Change gnu_copy_tracker to copy_tracker.
1818 Change gnu_copy_constructor to copy_constructor.
1819 Change gnu_assignment_operator to assignment_operator.
1821 * testsuite/23_containers/vector_capacity.cc: Same.
1822 * testsuite/23_containers/vector_ctor.cc (test01): Same.
1823 * testsuite/23_containers/list_modifiers.cc: Change
1824 gnu_copy_tracker to copy_tracker.
1825 * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
1826 __set_testsuite_memlimit to set_memory_limits.
1827 * testsuite/21_strings/insert.cc (main): Same.
1828 * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
1829 * testsuite/27_io/stringstream.cc: Same.
1830 * testsuite/27_io/stringbuf.cc: Same.
1831 * testsuite/27_io/streambuf.cc: Same.
1832 * testsuite/27_io/ostream.cc: Same.
1833 * testsuite/27_io/istream.cc: Same.
1834 * testsuite/27_io/fstream.cc: Same.
1835 * testsuite/lib/libstdc++-v3-dg.exp
1836 (libstdc++-v3-list-sourcefiles): Additionally handle files two and
1837 three levels deeper in glob patterns.
1839 2003-01-11 Phil Edwards <pme@gcc.gnu.org>
1841 * docs/doxygen/tables.html: Finished now.
1842 * docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
1843 * include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
1846 * include/bits/deque.tcc, include/bits/stl_alloc.h,
1847 include/bits/stl_deque.h, include/bits/stl_list.h,
1848 include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
1851 2003-01-09 Benjamin Kosnik <bkoz@redhat.com>
1853 * configure.in: Revert.
1854 * configure: Regenerate.
1856 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
1858 * include/Makefile.am (install-data-local): Prepend
1859 $(DESTDIR) to destination paths in all (un)installation
1860 commands. Use ${c_base_builddir} and ${std_builddir}
1861 as destination subdirectories to achieve consistency with
1862 preceding mkinstalldirs commands. No effect because both
1863 variables contain "." only.
1864 * include/Makefile.in: Regenerate.
1866 2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
1868 * include/Makefile.am (stamp-*): Add checks for existing stamps.
1869 * include/Makefile.in: Regenerate.
1871 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
1872 * aclocal.m4: Regenerate.
1874 * configure.in: Don't add new multi-do rules every time the
1875 directory is reconfigured.
1876 * configure: Regenerate.
1878 2003-01-08 Brad Spencer <spencer@infointeractive.com>
1879 Nathan Myers <ncm@cantrip.org>
1881 * src/Makefile.am (stamp-debug): Clean.
1882 * src/Makefile.in: Regenerate.
1884 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
1887 * Makefile.am (distclean-multi): Fix.
1888 * Makefile.in: Regenerate.
1890 2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
1892 * include/bits/locale_facets.h (messages): Move ctor, dtor
1894 (__timepunct): Same.
1895 * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
1896 definitions. Conditionalize for GNU systems.
1897 * config/locale/generic/messages_members.h (messages): Add dtor, ctor
1899 * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
1900 definitions. Conditionalize for GNU systems.
1901 * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
1903 * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
1904 * src/locale.cc: Define.
1905 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
1907 * config/locale/gnu/time_members.h: Use it.
1908 * config/locale/gnu/messages_members.h: Use it.
1909 * config/linker-map.gnu: Add locale::facets details.
1910 * include/Makefile.am (target_headers_extra): Add time_members.h.
1911 * include/Makefile.in: Regenerate.
1912 * acinclude.m4: Export CTIME_H.
1913 * aclocal.m4: Regenerate.
1914 * configure: Regnerate.
1916 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
1919 (codecvt<char, char, mbstate_t>::do_in, do_out):
1920 Tweak parameters to avoid unused parameter warnings.
1922 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
1925 * include/bits/locale_facets.cc (num_put::_M_convert_float):
1926 Limit __prec to digits10 + 2, not digits10 + 1, taking into
1927 account the possibility of %{g,G} conversion specifiers
1928 inside _S_format_float.
1929 * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
1931 2003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1933 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
1934 libstdc++-v3-list-sourcefiles): Additionally handle files one
1935 level deeper in glob patterns.
1937 * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
1938 * testsuite/27_io/istream_extractor_arith/01.cc,
1939 testsuite/27_io/istream_extractor_arith/02.cc,
1940 testsuite/27_io/istream_extractor_arith/03.cc,
1941 testsuite/27_io/istream_extractor_arith/06.cc,
1942 testsuite/27_io/istream_extractor_arith/07.cc,
1943 testsuite/27_io/istream_extractor_arith/08.cc,
1944 testsuite/27_io/istream_extractor_arith/09.cc,
1945 testsuite/27_io/istream_extractor_arith/10.cc,
1946 testsuite/27_io/istream_extractor_arith/11.cc,
1947 testsuite/27_io/istream_extractor_arith/12.cc,
1948 testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
1949 * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
1952 2003-01-05 Paolo Carlini <pcarlini@unitus.it>
1956 (codecvt<char, char, mbstate_t>::do_in, do_out):
1957 Implement the resolution of DR19 (TC).
1958 * testsuite/22_locale/codecvt_members_char_char.cc
1961 2003-01-02 Jason Merrill <jason@redhat.com>
1963 * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
1964 *__mem is also an output.
1965 * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.