1 2003-03-17 Benjamin Kosnik <bkoz@redhat.com>
3 * testsuite/Makefile.am (CLEANFILES): Add tmp*.
4 * testsuite/Makefile.in: Regenerate.
5 * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
8 2003-03-17 Petur Runolfsson <peturr02@ru.is>
11 * include/bits/fstream.tcc (basic_filebuf::close):
12 Always close file, even when write fails.
13 * testsuite/27_io/filebuf_members.cc (test_07): New test.
15 2003-03-17 Danny Smith <dannysmith@users.sourceforge.net>
17 * libsupc++/Makefile.am (C_COMPILE): Remove.
18 (LTCOMPILE): Likewise.
19 * libsupc++/Makefile.in: Regenerate.
21 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
23 * testsuite/23_containers/bitset_members.cc: Add test variable.
24 * testsuite/23_containers/map_insert.cc: Same.
25 * testsuite/22_locale/ctype/cons/char/1.cc: Same.
26 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
27 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
28 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
29 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
30 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
31 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
32 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
33 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
34 * testsuite/27_io/istream_exception.cc: Same.
35 * testsuite/27_io/filebuf_virtuals.cc: Same.
36 * testsuite/27_io/stringbuf_virtuals.cc: Same.
37 * testsuite/27_io/ostream_inserter_arith.cc: Same.
38 * testsuite/26_numerics/valarray_operators.cc: Same.
39 * testsuite/26_numerics/slice.cc: Same.
40 * testsuite/26_numerics/slice_array_assignment.cc: Same.
41 * testsuite/24_iterators/istream_iterator.cc: Same.
42 * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
44 2003-03-14 Petur Runolfsson <peturr02@ru.is>
48 * config/locale/generic/ctype_members.cc,
49 * config/locale/gnu/ctype_members.cc
50 (ctype<wchar_t>::do_widen(char)): Cast argument to
51 unsigned char before passing to btowc.
52 (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
53 Convert characters with btowc instead of mbsrtowcs.
54 (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
56 Convert characters with wctob instead of wcsrtombs.
57 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: New test.
58 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: New test.
59 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: New test.
61 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
63 * include/stdc++.h: New.
64 * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
65 * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
66 * include/Makefile.in: Regenerate.
67 * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
68 (--cxxflags): Put -g -O2 here.
69 * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
71 2003-03-14 Loren J. Rittle <ljrittle@acm.org>
73 * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
76 2003-03-14 Andreas Schwab <schwab@suse.de>
78 * configure.in: Only append to makefiles that are newly created to
79 avoid multiple multi-do/multi-clean rules.
82 2003-03-13 Jonathan Wakely <redi@gcc.gnu.org>
84 * docs/html/configopts.html, docs/html/documentation.html,
85 docs/html/explanations.html, docs/html/install.html,
86 docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
87 invalid XHTML and make page header style consistent.
89 2003-03-12 Jonathan Wakely <redi@gcc.gnu.org>
91 * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
92 * docs/html/faq/index.txt: Regenerate.
93 * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
95 2003-03-12 Andreas Schwab <schwab@suse.de>
97 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
98 glibcpp_toolexeclibdir.
99 * aclocal.m4, configure: Rebuilt.
101 2003-03-11 Jonathan Wakely <redi@gcc.gnu.org>
103 * docs/html/faq/index.html: Update text about location of headers.
104 * docs/html/faq/index.txt: Regenerate.
106 2003-03-11 Carlo Wood <carlo@alinoe.com>
108 * include/bits/demangle.h: Prepend accessors of
109 class qualifier with 'get_' in order to fix warnings
110 when compiling with -Wshadow.
112 2003-03-11 Loren J. Rittle <ljrittle@acm.org>
114 * config/os/bsd/freebsd/ctype_inline.h: Support _M_table
116 * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
118 * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
119 report lack of setenv().
121 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
123 * config/io/basic_file_stdio.cc: include <unistd.h>.
125 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
126 Nathan Myers <ncm@cantrip.org>
129 * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
130 seekoff, seekpos): Add a boolean parameter __stdio.
131 * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
132 seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
133 fseek/ftell, respectively), otherwise read (write, lseek, lseek,
135 * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
136 _M_really_overflow, seekoff): Use the boolean parameter in the calls.
137 * include/std/std_fstream.h (sync): Likewise.
138 * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
139 * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
140 libstdc++/8399 commit involving isatty(0).
141 * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
142 (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
143 * configure.in: Remove call.
144 * aclocal.m4: Regenerate.
145 * config.h.in: Regenerate.
146 * configure: Regenerate.
147 * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
149 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
152 * include/bits/fstream.tcc (overflow): don't write EOF to file.
153 * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
155 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
158 * include/bits/basic_ios.h (_M_setstate): New.
159 * include/bits/ostream.tcc (operator<<): Use it.
160 * include/bits/istream.tcc (operator>>): Use it.
161 * include/std/std_ostream.h (operator<<): Make friends.
162 * include/std/std_istream.h (operator>>): Make friends.
163 * testsuite/27_io/ostream_exception.cc,
164 testsuite/27_io/istream_exception.cc: New tests.
166 2003-03-08 Benjamin Kosnik <bkoz@redhat.com>
168 * include/bits/locale_facets.tcc: Fix typo.
170 2003-03-08 Loren J. Rittle <ljrittle@acm.org>
172 * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
174 * config/locale/generic/c_locale.cc
175 (locale::facet::_S_create_c_locale): Throw runtime exception when
176 unsupported language is specified.
177 * testsuite/testsuite_hooks.h
178 (run_test_wrapped_generic_locale_exception_catcher): New function.
179 * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
180 Suppress runtime exception thrown by generic implementation.
181 (run_tests_wrapped_env): Likewise.
182 (run_test_wrapped_generic_locale_exception_catcher): New function.
183 * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
184 * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
185 * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
186 * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
187 * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
188 * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
189 * testsuite/22_locale/collate_byname/1.cc: New test wrap.
190 * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
191 * testsuite/22_locale/facet/2.cc: New test wrap.
192 * testsuite/22_locale/locale/cons/4.cc: New test wrap.
193 * testsuite/22_locale/locale/cons/5.cc: New test wrap.
194 * testsuite/22_locale/locale/cons/7.cc: New test wrap.
195 * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
196 * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
197 * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
198 * testsuite/22_locale/messages_byname/1.cc: New test wrap.
199 * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
200 * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
201 * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
202 * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
203 * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
204 * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
205 * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
206 * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
207 * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
208 * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
209 * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
210 * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
211 * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
212 * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
213 * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
214 * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
215 * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
216 * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
217 * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
218 * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
219 * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
220 * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
221 * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
222 * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
223 * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
224 * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
225 * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
226 * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
227 * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
228 * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
229 * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
230 * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
231 * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
232 * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
233 * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
234 * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
235 * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
236 * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
237 * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
238 * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
239 * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
240 * testsuite/27_io/ios_members.cc: New test wrap.
241 * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
243 * testsuite/27_io/streambuf_members.cc: New test wrap.
244 * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
246 2003-03-08 Paolo Carlini <pcarlini@unitus.it>
247 Petur Runolfsson <peturr02@ru.is>
250 * include/bits/streambuf.tcc (__copy_streambufs): Use
251 sgetn-sputn only when sputn cannot fail, otherwise fall back
252 to safe snextc-sputc.
253 * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
255 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
257 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
258 locale cache for truename and falsename.
260 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
262 * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
263 _M_word_size initialization.
265 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
267 * include/bits/fstream.tcc (_M_convert_to_external):
268 Set __elen to zero if codecvt::out eventually fails.
270 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
273 * include/bits/fstream.tcc (_M_really_overflow): Check
274 for _M_convert_to_external possible failures.
275 * include/std/std_fstream.h (sync): Check _M_really_overflow
276 return value and return -1 in case of failure.
277 * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
279 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
282 * include/bits/istream.tcc (operator>>(_CharT*),
283 operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
284 * testsuite/27_io/stringstream.cc (test02): Add.
286 * include/bits/istream.tcc (operator>>(_CharT*)):
287 Assign a char_type to *__s.
289 2003-03-07 Petur Runolfsson <peturr02@ru.is>
292 * include/bits/locale_facets.tcc
293 (collate::do_compare, collate::do_transform):
294 Handle nul characters in input.
295 * testsuite/22_locale/collate/compare/char/3.cc: New test.
296 * testsuite/22_locale/collate/compare/wchar_t/3.cc: New test.
297 * testsuite/22_locale/collate/transform/char/3.cc: New test.
298 * testsuite/22_locale/collate/transform/wchar_t/3.cc: New test.
300 2003-03-07 Jerry Quinn <jlquinn@optonline.net>
302 * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
304 * testsuite/27_io/ostream_fail.cc: New test.
306 2003-03-07 Matthias Klose <doko@debian.org>
308 * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
309 FLAGS_TO_PASS: Set to AM_MAKEFLAGS
310 * Makefile.in: Regenerate.
311 * libsupc++/Makefile.am: Express glibcppinstalldir in terms
313 AM_MAKEFLAGS: Pass gxx_include_dir.
314 * libsupc++/Makefile.in: Regenerate.
316 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
318 * testsuite/27_io/ios_base_storage.cc (test02): Set exception
319 mask. Test setting small-numbered pword and iword slots. Test
320 behavior at limit of numeric_limits::max. Check that values are
321 still good after failures.
323 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
325 * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
326 (ios_base::ios_base): Set _M_word, _M_word_size.
327 (ios_base::~ios_base): Remove redundant test.
328 * testsuite/27_io/ios_base_storage.cc (test03): New.
330 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
332 * src/strstream.cc, include/bits/basic_string.tcc: Remove
333 incorrect whitespace added in my previous change.
335 2003-03-05 Carlo Wood <carlo@alinoe.com>
337 * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
338 _S_initialized() in order to allow debugging libraries to detect
339 when the std streams are initialized from an overloaded operator
342 2003-03-05 Benjamin Kosnik <bkoz@redhat.com>
344 * libsupc++/demangle.h: Move to..
345 * include/bits/demangle.h: ...here.
346 * src/demangle.cc: Adjust include.
347 * include/Makefile.am (bits_headers): Add.
348 * include/Makefile.in: Regenerate.
350 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
352 * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
354 * config/linker-map.gnu: Filter typeinfo and vtable info.
356 2003-03-04 Jerry Quinn <jlquinn@optonline.net>
358 * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
359 new failure. Throw exception if badbit and exception mask when ix
360 >= numeric_limits<int>::max().
362 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
364 * src/strstream.cc (strstreambuf::overflow): Make sure operands of
365 min and max have the same type.
366 * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
368 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
370 * include/Makefile.am (allstamps): Remove stamp-std-precompile.
371 * include/Makefile.in: Regenerate.
373 2003-03-03 Benjamin Kosnik <bkoz@redhat.com>
375 * testsuite/abi_check.cc (report_symbol_info): Add version info.
377 * config/linker-map.gnu: Hide more stuff.
378 * include/Makefile.am: Cleanups.
379 * include/Makefile.in: Regenerate.
381 2003-02-27 Jerry Quinn <jlquinn@optonline.net>
383 * config/locale/generic/messages_members.h (messages::messages):
384 Remove name from unused parameter.
386 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
388 * src/Makefile.am (sources): Add demangle.cc.
391 * src/Makefile.in: Regenerate.
392 * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
393 * libsupc++/Makefile.in: Regenerate.
395 * testsuite/testsuite_hooks.h
396 (__gnu_cxx_test::verify_demangle): New.
397 * testsuite/testsuite_hooks.cc: Define.
399 2003-02-27 Carlo Wood <carlo@alinoe.com>
401 * src/demangle.cc: New.
402 * libsupc++/demangle.h: New.
404 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
405 Carlo Wood <carlo@alinoe.com>
407 * testsuite/demangle/abi_examples/01.cc: New.
408 * testsuite/demangle/abi_examples/02.cc: New.
409 * testsuite/demangle/abi_examples/03.cc: New.
410 * testsuite/demangle/abi_examples/04.cc: New.
411 * testsuite/demangle/abi_examples/05.cc: New.
412 * testsuite/demangle/abi_examples/06.cc: New.
413 * testsuite/demangle/abi_examples/07.cc: New.
414 * testsuite/demangle/abi_examples/08.cc: New.
415 * testsuite/demangle/abi_examples/09.cc: New.
416 * testsuite/demangle/abi_examples/10.cc: New.
417 * testsuite/demangle/abi_examples/11.cc: New.
418 * testsuite/demangle/abi_examples/12.cc: New.
419 * testsuite/demangle/abi_examples/13.cc: New.
420 * testsuite/demangle/abi_examples/14.cc: New.
421 * testsuite/demangle/abi_examples/15.cc: New.
422 * testsuite/demangle/abi_examples/16.cc: New.
423 * testsuite/demangle/abi_examples/17.cc: New.
424 * testsuite/demangle/abi_examples/18.cc: New.
425 * testsuite/demangle/abi_examples/19.cc: New.
426 * testsuite/demangle/abi_examples/20.cc: New.
427 * testsuite/demangle/abi_examples/21.cc: New.
428 * testsuite/demangle/abi_examples/22.cc: New.
429 * testsuite/demangle/abi_examples/23.cc: New.
430 * testsuite/demangle/abi_examples/24.cc: New.
431 * testsuite/demangle/abi_examples/25.cc: New.
432 * testsuite/demangle/abi_examples/26.cc: New.
433 * testsuite/demangle/abi_text/01.cc: New.
434 * testsuite/demangle/abi_text/02.cc: New.
435 * testsuite/demangle/abi_text/03.cc: New.
436 * testsuite/demangle/abi_text/04.cc: New.
437 * testsuite/demangle/abi_text/05.cc: New.
438 * testsuite/demangle/abi_text/06.cc: New.
439 * testsuite/demangle/abi_text/07.cc: New.
440 * testsuite/demangle/abi_text/08.cc: New.
441 * testsuite/demangle/abi_text/09.cc: New.
442 * testsuite/demangle/abi_text/10.cc: New.
443 * testsuite/demangle/abi_text/11.cc: New.
444 * testsuite/demangle/abi_text/12.cc: New.
445 * testsuite/demangle/abi_text/13.cc: New.
446 * testsuite/demangle/abi_text/14.cc: New.
447 * testsuite/demangle/regression/3111-1.cc: New.
448 * testsuite/demangle/regression/3111-2.cc: New.
449 * testsuite/demangle/regression/7986-01.cc: New.
450 * testsuite/demangle/regression/7986-02.cc: New.
451 * testsuite/demangle/regression/7986-03.cc: New.
452 * testsuite/demangle/regression/7986-04.cc: New.
453 * testsuite/demangle/regression/7986-05.cc: New.
454 * testsuite/demangle/regression/7986-06.cc: New.
455 * testsuite/demangle/regression/7986-07.cc: New.
456 * testsuite/demangle/regression/7986-08.cc: New.
457 * testsuite/demangle/regression/7986-09.cc: New.
458 * testsuite/demangle/regression/7986-10.cc: New.
459 * testsuite/demangle/regression/7986-11.cc: New.
460 * testsuite/demangle/regression/7986-12.cc: New.
461 * testsuite/demangle/regression/7986.cc: New.
462 * testsuite/demangle/regression/8897.cc: New.
463 * testsuite/demangle/regression/cw-01.cc: New.
464 * testsuite/demangle/regression/cw-02.cc: New.
465 * testsuite/demangle/regression/cw-03.cc: New.
466 * testsuite/demangle/regression/cw-04.cc: New.
467 * testsuite/demangle/regression/cw-05.cc: New.
468 * testsuite/demangle/regression/cw-06.cc: New.
469 * testsuite/demangle/regression/cw-07.cc: New.
470 * testsuite/demangle/regression/cw-08.cc: New.
471 * testsuite/demangle/regression/cw-09.cc: New.
472 * testsuite/demangle/regression/cw-10.cc: New.
473 * testsuite/demangle/regression/cw-11.cc: New.
474 * testsuite/demangle/regression/cw-12.cc: New.
475 * testsuite/demangle/regression/cw-13.cc: New.
476 * testsuite/demangle/regression/cw-14.cc: New.
477 * testsuite/demangle/regression/old.cc: New.
479 2003-02-25 Phil Edwards <pme@gcc.gnu.org>
481 * docs/doxygen/Intro.3: Update with new (proper) names.
482 * docs/doxygen/TODO: Update.
483 * docs/doxygen/run_doxygen: More comments, fix up man pages.
484 Fake entries for standard typedefs.
485 * docs/doxygen/user.cfg.in: Turn INLINE_INHERITED_MEMB back on.
486 * docs/html/documentation.html: Top-level man page is now called
488 * include/std/std_limits.h: Doxygenate.
490 2003-02-25 Scott Snyder <snyder@fnal.gov>
493 * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
494 Correct documentation.
495 * include/bits/stl_multimap.h (lower_bound, upper_bound,
496 equal_range): Likewise.
498 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
502 (basic_filebuf<char/wchar_t>::_M_underflow_common): When
503 __bump is true (uflow), always increment the read pointer
504 (_M_in_cur) before returning successfully.
505 * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
507 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
508 Nathan Myers <ncm@cantrip.org>
510 PR libstdc++/9404, PR libstdc++/9701 (partial)
511 (aka pptr == epptr implies overflow)
512 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
513 Consistently, _M_out_end points to the end of the buffer just
515 (overflow): Tweak to use _M_out_buf_size().
516 (_M_convert_to_external): The role of the old _M_out_end is
517 now played by _M_out_lim.
518 (_M_really_overflow): Likewise.
520 (setbuf): _M_out_end points to the end of the external buffer.
521 * include/bits/sstream.tcc (overflow): Rewrote, taking into
522 account the resolution of DR 169 (TC).
523 (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
524 (seekpos): Use _M_string.capacity(); tweak.
525 * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
526 * include/std/std_fstream.h (sync): The role of the old
527 _M_out_end is now played by _M_out_lim.
528 (_M_set_indeterminate): Use _M_set_determinate.
529 (_M_set_determinate): _M_out_end is now _M_out_lim.
530 (_M_is_indeterminate): Likewise.
531 * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
532 (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
533 which have the information readily available as _M_string.capacity();
534 for ate and app modes, pass the string size to _M_really_sync.
535 (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
536 point to the end of the buffer (i.e., epptr) and to the string end,
538 * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
539 which points to the right limit of the used put area.
540 (_M_out_cur_move): The role of the old _M_out_end is now played
542 (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
543 _M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter
545 (basic_streambuf()): Initialize _M_out_lim too.
546 * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
547 * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
548 * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
550 2003-02-24 Benjamin Kosnik <bkoz@redhat.com>
552 * testsuite/27_io/ios_base_storage.cc (main): Call
555 2003-02-21 Jerry Quinn <jlquinn@optonline.net>
557 * include/bits/locale_facets.tcc (_M_convert_float): Replace
558 numpunct facet accesses with data from __locale_cache.
560 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
562 * docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD.
563 * docs/html/faq/index.txt: Regenerate.
565 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
567 * config/linker-map.gnu: Also export locking symbols needed for the
568 generic atomicity.h case.
570 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
572 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
574 * configure: Rebuilt.
576 2003-02-19 Paolo Carlini <pcarlini@unitus.it>
578 * include/bits/sstream.tcc (overflow): According to
579 27.7.1.3, p5, actual output is performed by sputc(c).
581 2003-02-19 Phil Edwards <pme@gcc.gnu.org>
584 * include/bits/stl_alloc.h: Remove all traces of assert().
586 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
588 * include/std/std_sstream.h (str()): the size of the
589 current string may be different from the initial one
590 whenever _M_out_end > _M_out_beg.
591 * testsuite/27_io/stringbuf_members.cc (test07): Add.
593 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
596 * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
598 2003-02-17 Benjamin Kosnik <bkoz@redhat.com>
600 * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
601 * testsuite/27_io/ios_members.cc (test03): New.
603 2003-02-17 Jerry Quinn <jlquinn@optonline.net>
605 * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
606 (basic_ios::_M_cache_facets): Move into above.
607 * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
609 (basic_ios::imbue): Force locale cache to be built.
610 (basic_ios::_M_init): Create and initialize locale cache.
611 * include/bits/ios_base.h (__locale_cache_base): Declare.
612 (ios_base::_M_locale_cache): New.
613 (ios_base::_M_cache): Define.
614 * include/bits/locale_facets.h: (__num_base): Fix comment. Add
616 (__locale_cache_base,__locale_cache<_CharT>): New classes.
617 (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
618 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
619 cache literal string, grouping flag, thousands separator.
620 (__locale_cache<_CharT>::__locale_cache): New.
621 (__locale_cache<_CharT>::_M_init): New.
622 * src/ios.cc: Clear _M_locale_cache in constructor.
623 * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
626 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
628 * src/locale-inst.cc: Do not include <cassert>.
629 * src/locale.cc: Likewise.
631 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
634 * include/std/std_fstream.h: Declare underflow and uflow
635 specializations, change generic definitions to do nothing.
636 * src/fstream.cc: Add underflow and uflow specializations.
638 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
641 * include/bits/fstream.tcc (_M_convert_to_external):
642 Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
643 * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
645 2003-02-13 Benjamin Kosnik <bkoz@redhat.com>
647 * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
648 * include/bits/basic_ios.tcc: Guard use of extern template.
649 * include/std/std_iomanip.h: Same.
650 * include/bits/streambuf.tcc: Same.
651 * include/bits/stl_alloc.h: Same.
652 * include/bits/locale_facets.tcc: Same.
653 * include/bits/ostream.tcc: Same.
654 * include/bits/istream.tcc: Same.
655 * include/bits/fstream.tcc: Same.
656 * include/bits/basic_string.tcc: Same.
658 2003-02-13 Paolo Carlini <pcarlini@unitus.it>
660 * include/bits/ostream.tcc (sentry::sentry): Improve
661 performance-wise the fix for libstdc++/9563.
663 2003-02-12 Phil Edwards <pme@gcc.gnu.org>
665 * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
666 (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file.
667 (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare
668 when we don't have static mutex initialization.
669 (__exchange_and_add): Use _Atomic_add_mutex_once.
670 * src/misc-inst.cc: Definitions of all the above.
672 2003-02-12 Paolo Carlini <pcarlini@unitus.it>
675 * include/bits/ostream.tcc (sentry::sentry): Check
676 the state of the stream after the preparation.
677 * testsuite/27_io/ostream_sentry.cc (test02): Add.
679 2003-02-11 Benjamin Kosnik <bkoz@redhat.com>
681 * include/Makefile.am (stamp-std-precompile): Add rule.
682 * include/Makefile.in: Regenerated.
684 2003-02-11 Jerry Quinn <jlquinn@optonline.net>
685 Benjamin Kosnik <benjamin@redhat.com>
687 * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
688 Add indexes into this array.
689 (__num_base::_S_atoms): To _S_atoms_in.
690 (num_put::_M_insert): Rename to _M_pad.
691 (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
692 (num_put::_M_widen_int): Rename to _M_group_int.
693 (num_put::_M_widen_float): Rename to _M_group_float.
694 * include/bits/locale_facets.tcc (__int_to_char): New inline
695 function and adapter functions.
696 (num_put::_M_group_int): Streamline.
697 (num_put::_M_group_float): Streamline.
698 (num_put::_M_convert_int): Remove unused parameter names. Choose
699 large enough buffer for text. Use __int_to_char instead of
700 __convert_from_v. Formatted text is now at the end of the buffer.
701 (num_put::_M_convert_float): Preliminary fixups.
702 * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
703 (__int_to_char<unsigned long long>): Same.
704 (__int_to_char<char, unsigned long>): New.
705 (__int_to_char<char, unsigned long long>): New.
706 (__int_to_char<wchar_t, unsigned long>): New.
707 (__int_to_char<wchar_t, unsigned long long>): New.
709 2003-02-11 Scott Snyder <snyder@fnal.gov>
712 * include/bits/fstream.tcc (seekoff): Avoid operator+
715 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
718 * include/ext/stdio_filebuf.h
719 (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
720 stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
721 Change to take a __size parameter of type size_t, not
722 of type (template parameter dependent) int_type.
723 * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
725 * testsuite/ext/stdio_filebuf.cc: Add.
727 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
728 Petur Runolfsson <peturr02@ru.is>
731 * include/bits/streambuf.tcc (__copy_streambufs):
732 Don't conditionalize the copy to __testput.
733 * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
735 2002-02-11 DJ Delorie <dj@redhat.com>
737 * acinclude.m4: Check for native targets that can't link at
738 this point in the build.
739 * aclocal.m4: Regenerate.
740 * configure: Regenerate.
742 2003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
744 * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
746 (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
749 2003-02-07 Paolo Carlini <pcarlini@unitus.it>
751 * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
752 unsigned char platforms.
754 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
757 * include/std/std_istream.h
758 (basic_istream::sentry::operator bool()): Make const.
759 * include/std/std_ostream.h
760 (basic_ostream::sentry::operator bool()): Likewise.
761 * testsuite/27_io/istream_sentry.cc (test03): Add.
762 * testsuite/27_io/ostream_sentry.cc: Add.
764 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
767 Implement resolution of DR 231 (Ready)
768 * include/bits/locale_facets.h (__num_base::_S_format_float):
769 Change declaration: return void, remove __prec parameter.
770 * src/locale.cc (__num_base::_S_format_float): Implement
771 resolution of DR 231.
772 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
773 Tweak uses. Check for negative precision.
774 * testsuite/22_locale/num_put/put/char/6.cc: Add
775 * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
777 2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
779 * config/io/basic_file_libio.h: Fixups.
780 * config/io/c_io_libio.h: Same.
781 * libio/Makefile.am: Same.
782 * libio/Makefile.in: Regenerated.
784 2003-02-06 Benjamin Kosnik <bkoz@redhat.com>
786 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
787 Explicitly use the "C" locale.
788 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
790 2003-02-06 Petur Runolfsson <peturr02@ru.is>
794 PR libstdc++/9028 (partial)
800 (codecvt<wchar_t, char, mbstate_t>::do_encoding,
801 codecvt<wchar_t, char, mbstate_t>::do_length,
802 codecvt<wchar_t, char, mbstate_t>::do_max_length):
804 * config/locale/generic/codecvt_members.cc: ...here.
805 * config/locale/gnu/codecvt_members.cc: ...and here.
807 * config/locale/generic/codecvt_members.cc,
808 * config/locale/gnu/codecvt_members.cc
809 (codecvt<wchar_t, char, mbstate_t>::do_encoding
810 codecvt<wchar_t, char, mbstate_t>::do_in,
811 codecvt<wchar_t, char, mbstate_t>::do_length,
812 codecvt<wchar_t, char, mbstate_t>::do_max_length,
813 codecvt<wchar_t, char, mbstate_t>::do_out):
814 New implementation that handles stateless encodings,
817 * config/locale/generic/codecvt_members.cc,
818 * config/locale/gnu/codecvt_members.cc,
819 * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
820 * include/bits/codecvt.h,
822 (codecvt::length, codecvt::do_length):
823 Change type of first argument of length and do_length from
824 'const state_type&' to 'state_type&' according to DR 75.
826 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Cleanup.
827 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: New test.
828 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: New test.
829 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: New test.
830 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
831 Cleanup and check for correct return value from encoding
833 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: New test.
834 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: New test.
835 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: New test.
836 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Cleanup.
837 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: New test.
838 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: New test.
839 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: New test.
840 * testsuite/22_locale/codecvt/in/wchar_t/5.cc: New test.
841 * testsuite/22_locale/codecvt/in/wchar_t/6.cc: New test.
842 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: New test.
843 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: New test.
844 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: New test.
845 * testsuite/22_locale/codecvt/length/char/1.cc: Cleanup.
846 * testsuite/22_locale/codecvt/length/char/2.cc: New test.
847 * testsuite/22_locale/codecvt/length/wchar_t/1.cc: Cleanup.
848 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: New test.
849 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: New test.
850 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: New test.
851 * testsuite/22_locale/codecvt/length/wchar_t/5.cc: New test.
852 * testsuite/22_locale/codecvt/length/wchar_t/6.cc: New test.
853 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: New test.
854 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Cleanup.
855 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: New test.
856 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: New test.
857 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: New test.
858 * testsuite/22_locale/codecvt/out/wchar_t/1.cc: Cleanup.
859 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: New test.
860 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: New test.
861 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: New test.
862 * testsuite/22_locale/codecvt/out/wchar_t/5.cc: New test.
863 * testsuite/22_locale/codecvt/out/wchar_t/6.cc: New test.
864 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: New test.
865 * testsuite/22_locale/codecvt/unicode/1.cc: New test.
866 * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Cleanup.
867 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: New test.
868 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: New test.
869 * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc: New test.
871 2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
873 * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
874 (money_put::do_put): Same.
876 2003-02-05 Jerry Quinn <jlquinn@optonline.net>
878 * include/bits/ios_base.h (ios_base): Document reserved storage.
880 * include/bits/locale_facets.h: (struct __pad): Comment on
882 (__verify_grouping): Same.
883 (__add_grouping): Same.
884 * include/bits/locale_facets.tcc (__verify_grouping): Move
885 comments to declaration.
886 (__add_grouping): Same.
888 * include/bits/locale_facets.tcc:
889 (__write<_CharT, _OutIter>): New function.
890 (__write<_CharT>): New function specialization.
891 (num_put::_M_insert): Remove explicit loop over iterator. Use
893 (num_put::_M_widen_float): Remove __basefield.
894 (num_put::_M_widen_int): Move __basefield to within grouping block.
896 * include/bits/streambuf_iterator.h: Include <streambuf>.
897 (ostreambuf_iterator::_M_put): Add.
899 2003-02-05 Paolo Carlini <pcarlini@unitus.it>
901 * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
903 2003-02-04 Nathan Myers <ncm@cantrip.org>
905 * testsuite/25_algorithms/min_max.cc (test02): Add.
907 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
909 PR libstdc++/9439, PR libstdc++/9425
910 * config/io/basic_file_stdio.cc
911 (__basic_file<char>::seekoff, seekpos): Return -1L if
913 * include/bits/fstream.tcc (basic_filebuf::seekoff):
914 Check _M_file.seekoff return value; always return
915 pos_type(off_type(-1)) in case of failure.
916 (basic_filebuf::pbackfail): Check this->seekoff return
917 value and return traits_type::eof() in case of failure.
918 * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
920 2003-02-04 Jerry Quinn <jlquinn@optonline.net>
922 * include/std/std_ostream.h (ostream::_M_write): Declare.
923 * ostream.tcc (ostream::_M_write): Define.
924 (basic_ostream::write): Use it.
925 (operator<<(basic_ostream, _CharT)): Ditto.
926 (operator<<(basic_ostream, char)): Ditto.
927 (operator<<(basic_ostream, _CharT*)): Ditto.
928 (operator<<(basic_ostream, char*)): Ditto.
929 (operator<<(basic_ostream, basic_string)): Ditto.
931 2003-02-04 Benjamin Kosnik <bkoz@redhat.com>
933 * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
935 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
937 * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
938 add HTML comment about updating links if numbering changes.
940 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
943 * include/bits/streambuf.tcc (sputbackc): Access
944 this->gptr()[-1] only if _M_in_beg < _M_in_cur.
945 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
947 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
950 * include/bits/fstream.tcc (open): If the 'ate' repositioning
951 operation fails, calls close _and_ returns a null pointer
952 to indicate failure (27.8.1.3,4).
953 * testsuite/27_io/filebuf_members.cc (test_06): Add.
955 2003-02-04 Petur Runolfsson <peturr02@ru.is>
957 * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
959 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
961 * docs/html/27_io/howto.html: New section on stdio_filebuf.
962 * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
963 * docs/html/documentation.html: Regenerate.
965 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
967 * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
968 * docs/html/17_intro/porting.html: Regenerate.
970 2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
971 Phil Edwards <pme@gcc.gnu.org>
973 * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
974 numeric_limits for bits-per-word values.
975 (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
976 Use __builtin_popcountl instead.
977 (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
978 _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
979 Use __builtin_ctzl instead.
980 (_S_bit_count, _S_first_one): Remove.
981 * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
982 * src/Makefile.am (sources): Remove bitset.cc.
983 * src/bitset.cc: Delete file.
984 * src/Makefile.in: Regenerate.
986 2003-02-03 Phil Edwards <pme@gcc.gnu.org>
988 PR libstdc++/9527, PR libstdc++/8713
989 * docs/html/install.html: Mention glibc version requirement.
990 * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed
991 with 3.2.1+ (formatting bugfixes).
992 * docs/html/faq/index.txt: Regenerate.
994 2003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
997 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
1000 * include/bits/valarray_before.h (__not_equal_to): Use != instead
1003 * testsuite/26_numerics/valarray_operators.cc: New test.
1005 2003-02-01 Phil Edwards <pme@gcc.gnu.org>
1007 * docs/html/faq/index.html: Correct link to libg++ information.
1008 * docs/html/faq/index.txt: Regenerated.
1010 2003-02-01 Paolo Carlini <pcarlini@unitus.it>
1011 Benjamin Kosnik <bkoz@redhat.com>
1013 Const correctness issue:
1014 http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
1015 * include/bits/locale_classes.h
1016 (locale::_Impl::_M_facets): Change type to const facet**.
1017 (locale::_Impl::_M_install_facet): Change declaration to
1019 (locale::facet::_M_references): Make mutable.
1020 (locale::facet::_M_add_reference): Declare const.
1021 (locale::facet::_M_remove_reference): Likewise.
1022 * include/bits/locale_facets.tcc
1023 (use_facet(const locale&)): Tweak for const facet** _M_facets.
1024 (has_facet(const locale&)): Likewise.
1026 (locale::facet::_M_add_reference): Adjust definition.
1027 (locale::facet::_M_remove_reference): Likewise.
1029 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
1030 const facet** _M_facets.
1031 (locale::_Impl::_Impl(const char*, size_t)): Likewise.
1032 (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
1033 (locale::_Impl::_M_install_facet): Adjust definition to take
1034 const facet* and for const facet** _M_facets.
1035 * testsuite/22_locale/locale/cons/8.cc: Add.
1037 2003-01-29 Mark Mitchell <mark@codesourcery.com>
1039 * include/std/std_limits.h (numeric_limits<float>::has_infinity):
1040 Use __FLT_HAS_INIFINITY__ to initialize.
1041 (numeric_limits<float>::has_quiet_NaN): Likewise.
1042 (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
1044 (numeric_limits<double>::has_quiet_NaN): Likewise.
1045 (numeric_limits<long double>::has_infinity): Use
1046 __LDBL_HAS_INIFINITY__ to initialize.
1047 (numeric_limits<long_double>::has_quiet_NaN): Likewise.
1049 2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
1052 * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
1053 with bases which are very ambiguous.
1055 2003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
1057 * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
1058 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
1059 * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
1060 * src/Makefile.in: Regenerate.
1061 * libsupc++/Makefile.in: Regenerate.
1063 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
1065 * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
1066 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
1067 version_specific_libs is enabled.
1068 * aclocal.m4, configure: Rebuilt.
1070 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
1072 * include/bits/valarray_meta.h: Remove, split into ...
1073 * include/bits/valarray_before.h: ... this, and ...
1074 * include/bits/valarray_after.h: ... this.
1075 * include/std/std_valarray.h: Adjust.
1076 * include/Makefile.am (bits_headers): Adjust.
1077 * include/Makefile.in: Regenerate.
1079 2003-01-24 Andreas Schwab <schwab@suse.de>
1081 * config/linker-map.gnu: Fix for size_t variance.
1083 2003-01-23 Petur Runolfsson <peturr02@ru.is>
1086 * include/std/std_streambuf.h
1087 (basic_streambuf::basic_streambuf,
1088 basic_streambuf::~basic_streambuf,
1089 basic_streambuf::getloc, basic_streambuf::imbue):
1090 Remove _M_buf_locale_init
1091 * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
1092 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
1093 * testsuite/27_io/streambuf_members.cc (test08): Add.
1094 * testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
1096 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
1098 Revert include ordering.
1099 * config/locale/generic/c_locale.h: Add include guards.
1100 * config/locale/gnu/c_locale.h: Same.
1101 * include/bits/locale_classes.h: Remove cctype include.
1102 * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
1103 * include/std/std_fstream.h: Remove streambuf include.
1104 * include/std/std_sstream.h: Remove streambuf include.
1106 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
1108 * configure.in (libtool_VERSION): To 6:0:0.
1109 * configure: Regenerated.
1110 * config/linker-map.gnu: Clean.
1112 * src/misc-inst.cc: Remove instantiations.
1114 * include/bits/stl_alloc.h (__malloc_alloc_template):
1116 (__default_alloc_template): To __pool_alloc.
1117 * src/stl-inst.cc: Same.
1118 * include/backward/alloc.h: Update.
1119 * testsuite/ext/allocators.cc: Update.
1121 * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
1122 really try to remove these if possible.
1123 * src/locale.cc (std): Same.
1125 * testsuite/abi_check.cc (check_version): Add.
1127 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
1128 Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
1129 Mark Mitchell <mark@codesourcery.com>
1132 * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
1133 (basic_filebuf::underflow): Declare.
1136 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
1138 * include/bits/locale_facets.h: Move non-facet classes requiring
1140 * include/bits/locale_classes.h: New.
1141 * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
1142 * include/bits/Makefile.in: Regenerate.
1144 * include/bits/locale_facets.tcc (__convert_from_v): Move to...
1145 * config/locale/gnu/c_locale.h: ...here.
1146 * config/locale/generic/c_locale.h: Same.
1148 * include/bits/locale_facets.tcc: Move declarations to...
1149 * include/bits/locale_facets.h: ...here.
1150 * include/bits/basic_ios.h: Tweak includes accordingly.
1151 * include/std/std_sstream.h: Add streambuf include.
1152 * include/std/std_fstream.h: Ditto.
1153 * include/std/std_locale.h: Add locale_classes.h include.
1154 * include/std/std_iosfwd.h: Tweak.
1155 * src/concept-inst.cc: Add iterator include.
1157 * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
1158 bits as unexported in the future.
1160 2003-01-21 Benjamin Kosnik <bkoz@redhat.com>
1162 Reshuffle 22_locale testsuite.
1163 * 22_locale/(codecvt.cc money_get.cc
1164 codecvt_members_char_char.cc money_get_members_char.cc
1165 codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
1166 codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
1167 codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
1168 moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
1169 collate_members_char.cc money_put.cc collate_members_wchar_t.cc
1170 money_put_members_char.cc ctor_copy_dtor.cc
1171 money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
1172 num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
1173 ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
1174 numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
1175 ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
1176 num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
1177 ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
1178 operators.cc ctype_widen_char.cc static_members.cc
1179 ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
1180 global_templates.cc time_get_members_wchar_t.cc, members.cc,
1181 time_put.cc, messages_byname.cc, time_put_members_char.cc,
1182 messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
1183 Splint up into individual test cases...
1184 * 22_locale/codecvt/1.cc: New.
1185 * 22_locale/codecvt/2.cc: New.
1186 * 22_locale/codecvt/always_noconv/char/1.cc: New.
1187 * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
1188 * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
1189 * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
1190 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
1191 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
1192 * 22_locale/codecvt/encoding/char/1.cc: New.
1193 * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
1194 * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
1195 * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
1196 * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
1197 * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
1198 * 22_locale/codecvt/in/char/1.cc: New.
1199 * 22_locale/codecvt/in/char/wrapped_env.cc: New.
1200 * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
1201 * 22_locale/codecvt/in/wchar_t/1.cc: New.
1202 * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
1203 * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
1204 * 22_locale/codecvt/length/char/1.cc: New.
1205 * 22_locale/codecvt/length/char/wrapped_env.cc: New.
1206 * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
1207 * 22_locale/codecvt/length/wchar_t/1.cc: New.
1208 * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
1209 * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
1210 * 22_locale/codecvt/max_length/char/1.cc: New.
1211 * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
1212 * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
1213 * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
1214 * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
1215 * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
1216 * 22_locale/codecvt/out/char/1.cc: New.
1217 * 22_locale/codecvt/out/char/wrapped_env.cc: New.
1218 * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
1219 * 22_locale/codecvt/out/wchar_t/1.cc: New.
1220 * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
1221 * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
1222 * 22_locale/codecvt/unicode/char.cc: New.
1223 * 22_locale/codecvt/unicode/wchar_t.cc: New.
1224 * 22_locale/codecvt/unshift/char/1.cc: New.
1225 * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
1226 * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
1227 * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
1228 * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
1229 * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
1230 * 22_locale/collate/1.cc: New.
1231 * 22_locale/collate/2.cc: New.
1232 * 22_locale/collate/compare/char/1.cc: New.
1233 * 22_locale/collate/compare/char/2.cc: New.
1234 * 22_locale/collate/compare/char/wrapped_env.cc: New.
1235 * 22_locale/collate/compare/char/wrapped_locale.cc: New.
1236 * 22_locale/collate/compare/wchar_t/1.cc: New.
1237 * 22_locale/collate/compare/wchar_t/2.cc: New.
1238 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
1239 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
1240 * 22_locale/collate/hash/char/1.cc: New.
1241 * 22_locale/collate/hash/char/2.cc: New.
1242 * 22_locale/collate/hash/char/wrapped_env.cc: New.
1243 * 22_locale/collate/hash/char/wrapped_locale.cc: New.
1244 * 22_locale/collate/hash/wchar_t/1.cc: New.
1245 * 22_locale/collate/hash/wchar_t/2.cc: New.
1246 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
1247 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
1248 * 22_locale/collate/transform/char/2.cc: New.
1249 * 22_locale/collate/transform/char/wrapped_env.cc: New.
1250 * 22_locale/collate/transform/char/wrapped_locale.cc: New.
1251 * 22_locale/collate/transform/wchar_t/2.cc: New.
1252 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
1253 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
1254 * 22_locale/collate_byname/1.cc: New.
1255 * 22_locale/ctype/1.cc: New.
1256 * 22_locale/ctype/2.cc: New.
1257 * 22_locale/ctype/cons/char/1.cc: New.
1258 * 22_locale/ctype/cons/char/wrapped_env.cc: New.
1259 * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
1260 * 22_locale/ctype/is/char/1.cc: New.
1261 * 22_locale/ctype/is/char/2.cc: New.
1262 * 22_locale/ctype/is/char/3.cc: New.
1263 * 22_locale/ctype/is/char/wrapped_env.cc: New.
1264 * 22_locale/ctype/is/char/wrapped_locale.cc: New.
1265 * 22_locale/ctype/is/wchar_t/1.cc: New.
1266 * 22_locale/ctype/is/wchar_t/2.cc: New.
1267 * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
1268 * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
1269 * 22_locale/ctype/narrow/char/1.cc: New.
1270 * 22_locale/ctype/narrow/char/2.cc: New.
1271 * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
1272 * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
1273 * 22_locale/ctype/narrow/wchar_t/1.cc: New.
1274 * 22_locale/ctype/narrow/wchar_t/2.cc: New.
1275 * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
1276 * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
1277 * 22_locale/ctype/scan/char/1.cc: New.
1278 * 22_locale/ctype/scan/char/wrapped_env.cc: New.
1279 * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
1280 * 22_locale/ctype/scan/wchar_t/1.cc: New.
1281 * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
1282 * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
1283 * 22_locale/ctype/to/char/1.cc: New.
1284 * 22_locale/ctype/to/char/wrapped_env.cc: New.
1285 * 22_locale/ctype/to/char/wrapped_locale.cc: New.
1286 * 22_locale/ctype/to/wchar_t/1.cc: New.
1287 * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
1288 * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
1289 * 22_locale/ctype/widen/char/1.cc: New.
1290 * 22_locale/ctype/widen/char/wrapped_env.cc: New.
1291 * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
1292 * 22_locale/ctype/widen/wchar_t/1.cc: New.
1293 * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
1294 * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
1295 * 22_locale/facet/1.cc: New.
1296 * 22_locale/facet/2.cc: New.
1297 * 22_locale/global_templates/1.cc: New.
1298 * 22_locale/locale/cons/1.cc: New.
1299 * 22_locale/locale/cons/2.cc: New.
1300 * 22_locale/locale/cons/3.cc: New.
1301 * 22_locale/locale/cons/4.cc: New.
1302 * 22_locale/locale/cons/5.cc: New.
1303 * 22_locale/locale/cons/6.cc: New.
1304 * 22_locale/locale/cons/7.cc: New.
1305 * 22_locale/locale/global_locale_objects/1.cc: New.
1306 * 22_locale/locale/global_locale_objects/2.cc: New.
1307 * 22_locale/locale/global_locale_objects/3.cc: New.
1308 * 22_locale/locale/operations/1.cc: New.
1309 * 22_locale/locale/operations/2.cc: New.
1310 * 22_locale/messages/1.cc: New.
1311 * 22_locale/messages/2.cc: New.
1312 * 22_locale/messages/members/char/1.cc: New.
1313 * 22_locale/messages/members/char/2.cc: New.
1314 * 22_locale/messages/members/char/3.cc: New.
1315 * 22_locale/messages/members/char/wrapped_env.cc: New.
1316 * 22_locale/messages/members/char/wrapped_locale.cc: New.
1317 * 22_locale/messages_byname/1.cc: New.
1318 * 22_locale/money_get/1.cc: New.
1319 * 22_locale/money_get/2.cc: New.
1320 * 22_locale/money_get/get/char/1.cc: New.
1321 * 22_locale/money_get/get/char/2.cc: New.
1322 * 22_locale/money_get/get/char/3.cc: New.
1323 * 22_locale/money_get/get/char/4.cc: New.
1324 * 22_locale/money_get/get/char/5.cc: New.
1325 * 22_locale/money_get/get/char/6.cc: New.
1326 * 22_locale/money_get/get/char/7.cc: New.
1327 * 22_locale/money_get/get/char/8.cc: New.
1328 * 22_locale/money_get/get/char/wrapped_env.cc: New.
1329 * 22_locale/money_get/get/char/wrapped_locale.cc: New.
1330 * 22_locale/money_get/get/wchar_t/1.cc: New.
1331 * 22_locale/money_get/get/wchar_t/2.cc: New.
1332 * 22_locale/money_get/get/wchar_t/3.cc: New.
1333 * 22_locale/money_get/get/wchar_t/4.cc: New.
1334 * 22_locale/money_get/get/wchar_t/5.cc: New.
1335 * 22_locale/money_get/get/wchar_t/6.cc: New.
1336 * 22_locale/money_get/get/wchar_t/7.cc: New.
1337 * 22_locale/money_get/get/wchar_t/8.cc: New.
1338 * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
1339 * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
1340 * 22_locale/money_put/1.cc: New.
1341 * 22_locale/money_put/2.cc: New.
1342 * 22_locale/money_put/put/char/1.cc: New.
1343 * 22_locale/money_put/put/char/2.cc: New.
1344 * 22_locale/money_put/put/char/3.cc: New.
1345 * 22_locale/money_put/put/char/4.cc: New.
1346 * 22_locale/money_put/put/char/5.cc: New.
1347 * 22_locale/money_put/put/char/6.cc: New.
1348 * 22_locale/money_put/put/char/wrapped_env.cc: New.
1349 * 22_locale/money_put/put/char/wrapped_locale.cc: New.
1350 * 22_locale/money_put/put/wchar_t/1.cc: New.
1351 * 22_locale/money_put/put/wchar_t/2.cc: New.
1352 * 22_locale/money_put/put/wchar_t/3.cc: New.
1353 * 22_locale/money_put/put/wchar_t/4.cc: New.
1354 * 22_locale/money_put/put/wchar_t/5.cc: New.
1355 * 22_locale/money_put/put/wchar_t/6.cc: New.
1356 * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
1357 * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
1358 * 22_locale/moneypunct/1.cc: New.
1359 * 22_locale/moneypunct/2.cc: New.
1360 * 22_locale/moneypunct/3.cc: New.
1361 * 22_locale/moneypunct/members/char/1.cc: New.
1362 * 22_locale/moneypunct/members/char/2.cc: New.
1363 * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
1364 * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
1365 * 22_locale/moneypunct/members/wchar_t/1.cc: New.
1366 * 22_locale/moneypunct/members/wchar_t/2.cc: New.
1367 * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
1368 * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
1369 * 22_locale/moneypunct_byname/1.cc: New.
1370 * 22_locale/num_get/1.cc: New.
1371 * 22_locale/num_get/2.cc: New.
1372 * 22_locale/num_get/get/char/1.cc: New.
1373 * 22_locale/num_get/get/char/2.cc: New.
1374 * 22_locale/num_get/get/char/3.cc: New.
1375 * 22_locale/num_get/get/char/4.cc: New.
1376 * 22_locale/num_get/get/char/5.cc: New.
1377 * 22_locale/num_get/get/char/6.cc: New.
1378 * 22_locale/num_get/get/char/wrapped_env.cc: New.
1379 * 22_locale/num_get/get/char/wrapped_locale.cc: New.
1380 * 22_locale/num_get/get/wchar_t/1.cc: New.
1381 * 22_locale/num_get/get/wchar_t/2.cc: New.
1382 * 22_locale/num_get/get/wchar_t/3.cc: New.
1383 * 22_locale/num_get/get/wchar_t/4.cc: New.
1384 * 22_locale/num_get/get/wchar_t/5.cc: New.
1385 * 22_locale/num_get/get/wchar_t/6.cc: New.
1386 * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
1387 * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
1388 * 22_locale/num_put/1.cc: New.
1389 * 22_locale/num_put/2.cc: New.
1390 * 22_locale/num_put/put/char/1.cc: New.
1391 * 22_locale/num_put/put/char/2.cc: New.
1392 * 22_locale/num_put/put/char/3.cc: New.
1393 * 22_locale/num_put/put/char/4.cc: New.
1394 * 22_locale/num_put/put/char/5.cc: New.
1395 * 22_locale/num_put/put/char/wrapped_env.cc: New.
1396 * 22_locale/num_put/put/char/wrapped_locale.cc: New.
1397 * 22_locale/num_put/put/wchar_t/1.cc: New.
1398 * 22_locale/num_put/put/wchar_t/2.cc: New.
1399 * 22_locale/num_put/put/wchar_t/3.cc: New.
1400 * 22_locale/num_put/put/wchar_t/4.cc: New.
1401 * 22_locale/num_put/put/wchar_t/5.cc: New.
1402 * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
1403 * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
1404 * 22_locale/numpunct/1.cc: New.
1405 * 22_locale/numpunct/2.cc: New.
1406 * 22_locale/numpunct/members/char/1.cc: New.
1407 * 22_locale/numpunct/members/char/2.cc: New.
1408 * 22_locale/numpunct/members/char/wrapped_env.cc: New.
1409 * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
1410 * 22_locale/numpunct/members/wchar_t/1.cc: New.
1411 * 22_locale/numpunct/members/wchar_t/2.cc: New.
1412 * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
1413 * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
1414 * 22_locale/numpunct_byname/1.cc: New.
1415 * 22_locale/numpunct_byname/2.cc: New.
1416 * 22_locale/time_get/1.cc: New.
1417 * 22_locale/time_get/2.cc: New.
1418 * 22_locale/time_get/date_order/char/1.cc: New.
1419 * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
1420 * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
1421 * 22_locale/time_get/date_order/wchar_t/1.cc: New.
1422 * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
1423 * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
1424 * 22_locale/time_get/get_date/char/1.cc: New.
1425 * 22_locale/time_get/get_date/char/2.cc: New.
1426 * 22_locale/time_get/get_date/char/3.cc: New.
1427 * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
1428 * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
1429 * 22_locale/time_get/get_date/wchar_t/1.cc: New.
1430 * 22_locale/time_get/get_date/wchar_t/2.cc: New.
1431 * 22_locale/time_get/get_date/wchar_t/3.cc: New.
1432 * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
1433 * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
1434 * 22_locale/time_get/get_monthname/char/1.cc: New.
1435 * 22_locale/time_get/get_monthname/char/2.cc: New.
1436 * 22_locale/time_get/get_monthname/char/3.cc: New.
1437 * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
1438 * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
1439 * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
1440 * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
1441 * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
1442 * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
1443 * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
1444 * 22_locale/time_get/get_time/char/1.cc: New.
1445 * 22_locale/time_get/get_time/char/2.cc: New.
1446 * 22_locale/time_get/get_time/char/3.cc: New.
1447 * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
1448 * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
1449 * 22_locale/time_get/get_time/wchar_t/1.cc: New.
1450 * 22_locale/time_get/get_time/wchar_t/2.cc: New.
1451 * 22_locale/time_get/get_time/wchar_t/3.cc: New.
1452 * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
1453 * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
1454 * 22_locale/time_get/get_weekday/char/1.cc: New.
1455 * 22_locale/time_get/get_weekday/char/2.cc: New.
1456 * 22_locale/time_get/get_weekday/char/3.cc: New.
1457 * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
1458 * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
1459 * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
1460 * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
1461 * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
1462 * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
1463 * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
1464 * 22_locale/time_get/get_year/char/1.cc: New.
1465 * 22_locale/time_get/get_year/char/3.cc: New.
1466 * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
1467 * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
1468 * 22_locale/time_get/get_year/wchar_t/1.cc: New.
1469 * 22_locale/time_get/get_year/wchar_t/3.cc: New.
1470 * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
1471 * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
1472 * 22_locale/time_put/1.cc: New.
1473 * 22_locale/time_put/2.cc: New.
1474 * 22_locale/time_put/put/char/1.cc: New.
1475 * 22_locale/time_put/put/char/10.cc: New.
1476 * 22_locale/time_put/put/char/2.cc: New.
1477 * 22_locale/time_put/put/char/3.cc: New.
1478 * 22_locale/time_put/put/char/4.cc: New.
1479 * 22_locale/time_put/put/char/5.cc: New.
1480 * 22_locale/time_put/put/char/6.cc: New.
1481 * 22_locale/time_put/put/char/7.cc: New.
1482 * 22_locale/time_put/put/char/8.cc: New.
1483 * 22_locale/time_put/put/char/9.cc: New.
1484 * 22_locale/time_put/put/char/wrapped_env.cc: New.
1485 * 22_locale/time_put/put/char/wrapped_locale.cc: New.
1486 * 22_locale/time_put/put/wchar_t/1.cc: New.
1487 * 22_locale/time_put/put/wchar_t/10.cc: New.
1488 * 22_locale/time_put/put/wchar_t/2.cc: New.
1489 * 22_locale/time_put/put/wchar_t/3.cc: New.
1490 * 22_locale/time_put/put/wchar_t/4.cc: New.
1491 * 22_locale/time_put/put/wchar_t/5.cc: New.
1492 * 22_locale/time_put/put/wchar_t/6.cc: New.
1493 * 22_locale/time_put/put/wchar_t/7.cc: New.
1494 * 22_locale/time_put/put/wchar_t/8.cc: New.
1495 * 22_locale/time_put/put/wchar_t/9.cc: New.
1496 * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
1497 * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
1499 2003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
1501 * config/locale/generic/messages_members.h
1502 (messages_byname<_CharT>::messages_byname): Use this-> to refer to
1503 unqualified members of base clasess.
1505 2003-01-16 Mark Mitchell <mark@codesourcery.com>
1506 Jeffrey Oldham <oldham@codesourcery.com>
1508 * config/locale/gnu/messages_members.h: Use this-> to refer to
1509 unqualified members of base clasess.
1510 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
1511 * include/bits/codecvt.h: Likewise.
1512 * include/bits/deque.tcc: Likewise.
1513 * include/bits/fstream.tcc: Likewise.
1514 * include/bits/istream.tcc: Likewise.
1515 * include/bits/list.tcc: Likewise.
1516 * include/bits/locale_facets.h: Likewise.
1517 * include/bits/ostream.tcc: Likewise.
1518 * include/bits/sstream.tcc: Likewise.
1519 * include/bits/stl_bvector.h: Likewise.
1520 * include/bits/stl_deque.h: Likewise.
1521 * include/bits/stl_list.h: Likewise.
1522 * include/bits/stl_tree.h: Likewise.
1523 * include/bits/stl_vector.h: Likewise.
1524 * include/bits/vector.tcc: Likewise.
1525 * include/ext/ropeimpl.h: Likewise.
1526 * include/ext/stdio_filebuf.h: Likewise.
1527 * include/ext/stl_rope.h: Likewise.
1528 * include/std/std_fstream.h: Likewise.
1529 * include/std/std_sstream.h: Likewise.
1531 2003-01-15 Phil Edwards <pme@gcc.gnu.org>
1533 * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
1535 2003-01-15 Benjamin Kosnik <bkoz@redhat.com>
1537 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
1538 GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
1539 * aclocal.m4: Regenerate.
1540 * configure: Regenerate.
1541 * testsuite/Makefile.am (all-local): Add conditional rule to
1542 generate testsuite_wchar_t.
1543 * testsuite/Makefile.in: Regenerate.
1544 * testsuite/lib/libstdc++-v3-dg.exp
1545 (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
1546 testsuite_wchar_t is not present in the build directory.
1547 * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
1548 Remove setulimit bits.
1549 * testsuite/26_numerics/complex_value.cc: Set to noopts.
1550 * testsuite/Makefile.am (CLEANFILES): Add.
1551 * testsuite/Makefile.in: Regenerate.
1553 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
1555 * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
1558 2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
1560 Further conform g++'s __vmi_class_type_info to the C++ ABI
1562 * libsupc++/cxxabi.h
1563 (__vmi_class_type_info::__flags_masks): Remove enumerations not
1564 required by the specification.
1566 2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
1568 Renames, namespaces for testsuite utilities.
1569 * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
1570 (gnu_allocator_tracker): Rename to allocation_tracker.
1571 (gnu_new_allocator): Rename to tracker_alloc.
1572 (__set_testsuite_memlimit): Rename to set_memory_limits.
1573 (gnu_assignment_operator): Rename to assignment_operator.
1574 (gnu_destructor): Rename to destructor.
1575 (gnu_copy_tracker): Rename to copy_tracker.
1576 (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
1577 (run_tests_wrapped_locale): New.
1578 (run_tests_wrapped_env): New.
1579 * testsuite/testsuite_hooks.cc: Same.
1580 (class locale_data): Add.
1581 (class enviornment_variable): Add.
1582 (class not_found): Add.
1583 * testsuite/testsuite_allocator.h: Same.
1584 * testsuite/testsuite_allocator.cc: Same.
1585 * testsuite/23_containers/deque_ctor.cc
1586 (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
1588 Change gnu_new_allocator to tracker_alloc.
1589 Change gnu_counting_struct to counter.
1590 Change gnu_copy_tracker to copy_tracker.
1591 Change gnu_copy_constructor to copy_constructor.
1592 Change gnu_assignment_operator to assignment_operator.
1594 * testsuite/23_containers/vector_capacity.cc: Same.
1595 * testsuite/23_containers/vector_ctor.cc (test01): Same.
1596 * testsuite/23_containers/list_modifiers.cc: Change
1597 gnu_copy_tracker to copy_tracker.
1598 * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
1599 __set_testsuite_memlimit to set_memory_limits.
1600 * testsuite/21_strings/insert.cc (main): Same.
1601 * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
1602 * testsuite/27_io/stringstream.cc: Same.
1603 * testsuite/27_io/stringbuf.cc: Same.
1604 * testsuite/27_io/streambuf.cc: Same.
1605 * testsuite/27_io/ostream.cc: Same.
1606 * testsuite/27_io/istream.cc: Same.
1607 * testsuite/27_io/fstream.cc: Same.
1608 * testsuite/lib/libstdc++-v3-dg.exp
1609 (libstdc++-v3-list-sourcefiles): Additionally handle files two and
1610 three levels deeper in glob patterns.
1612 2003-01-11 Phil Edwards <pme@gcc.gnu.org>
1614 * docs/doxygen/tables.html: Finished now.
1615 * docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
1616 * include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
1619 * include/bits/deque.tcc, include/bits/stl_alloc.h,
1620 include/bits/stl_deque.h, include/bits/stl_list.h,
1621 include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
1624 2003-01-09 Benjamin Kosnik <bkoz@redhat.com>
1626 * configure.in: Revert.
1627 * configure: Regenerate.
1629 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
1631 * include/Makefile.am (install-data-local): Prepend
1632 $(DESTDIR) to destination paths in all (un)installation
1633 commands. Use ${c_base_builddir} and ${std_builddir}
1634 as destination subdirectories to achieve consistency with
1635 preceding mkinstalldirs commands. No effect because both
1636 variables contain "." only.
1637 * include/Makefile.in: Regenerate.
1639 2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
1641 * include/Makefile.am (stamp-*): Add checks for existing stamps.
1642 * include/Makefile.in: Regenerate.
1644 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
1645 * aclocal.m4: Regenerate.
1647 * configure.in: Don't add new multi-do rules every time the
1648 directory is reconfigured.
1649 * configure: Regenerate.
1651 2003-01-08 Brad Spencer <spencer@infointeractive.com>
1652 Nathan Myers <ncm@cantrip.org>
1654 * src/Makefile.am (stamp-debug): Clean.
1655 * src/Makefile.in: Regenerate.
1657 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
1660 * Makefile.am (distclean-multi): Fix.
1661 * Makefile.in: Regenerate.
1663 2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
1665 * include/bits/locale_facets.h (messages): Move ctor, dtor
1667 (__timepunct): Same.
1668 * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
1669 definitions. Conditionalize for GNU systems.
1670 * config/locale/generic/messages_members.h (messages): Add dtor, ctor
1672 * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
1673 definitions. Conditionalize for GNU systems.
1674 * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
1676 * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
1677 * src/locale.cc: Define.
1678 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
1680 * config/locale/gnu/time_members.h: Use it.
1681 * config/locale/gnu/messages_members.h: Use it.
1682 * config/linker-map.gnu: Add locale::facets details.
1683 * include/Makefile.am (target_headers_extra): Add time_members.h.
1684 * include/Makefile.in: Regenerate.
1685 * acinclude.m4: Export CTIME_H.
1686 * aclocal.m4: Regenerate.
1687 * configure: Regnerate.
1689 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
1692 (codecvt<char, char, mbstate_t>::do_in, do_out):
1693 Tweak parameters to avoid unused parameter warnings.
1695 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
1698 * include/bits/locale_facets.cc (num_put::_M_convert_float):
1699 Limit __prec to digits10 + 2, not digits10 + 1, taking into
1700 account the possibility of %{g,G} conversion specifiers
1701 inside _S_format_float.
1702 * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
1704 2003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1706 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
1707 libstdc++-v3-list-sourcefiles): Additionally handle files one
1708 level deeper in glob patterns.
1710 * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
1711 * testsuite/27_io/istream_extractor_arith/01.cc,
1712 testsuite/27_io/istream_extractor_arith/02.cc,
1713 testsuite/27_io/istream_extractor_arith/03.cc,
1714 testsuite/27_io/istream_extractor_arith/06.cc,
1715 testsuite/27_io/istream_extractor_arith/07.cc,
1716 testsuite/27_io/istream_extractor_arith/08.cc,
1717 testsuite/27_io/istream_extractor_arith/09.cc,
1718 testsuite/27_io/istream_extractor_arith/10.cc,
1719 testsuite/27_io/istream_extractor_arith/11.cc,
1720 testsuite/27_io/istream_extractor_arith/12.cc,
1721 testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
1722 * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
1725 2003-01-05 Paolo Carlini <pcarlini@unitus.it>
1729 (codecvt<char, char, mbstate_t>::do_in, do_out):
1730 Implement the resolution of DR19 (TC).
1731 * testsuite/22_locale/codecvt_members_char_char.cc
1734 2003-01-02 Jason Merrill <jason@redhat.com>
1736 * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
1737 *__mem is also an output.
1738 * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.