1 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
3 * config/cpu/*/bits/*: Move header files up a level. Remove bits.
4 * config/os/*/bits/*: Likewise.
5 * configure.in: Update.
6 * configure: Regenerate.
7 * configure.target: Update.
8 * docs/html/17_intro/porting.texi: Update.
10 2002-06-21 Phil Edwards <pme@gcc.gnu.org>
12 * include/bits/stl_map.h, include/bits/stl_multimap.h,
13 include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
14 complete doxygenation.
15 * include/bits/boost_concept_check.h: Minor comment.
17 2002-06-21 Benjamin Kosnik <bkoz@redhat.com>
19 * include/c_compatibility: New.
20 * include/c_compatibility/assert.h: New.
21 * include/c_compatibility/ctype.h: New.
22 * include/c_compatibility/errno.h: New.
23 * include/c_compatibility/float.h: New.
24 * include/c_compatibility/iso646.h: New.
25 * include/c_compatibility/limits.h: New.
26 * include/c_compatibility/locale.h: New.
27 * include/c_compatibility/math.h: New.
28 * include/c_compatibility/setjmp.h: New.
29 * include/c_compatibility/signal.h: New.
30 * include/c_compatibility/stdarg.h: New.
31 * include/c_compatibility/stddef.h: New.
32 * include/c_compatibility/stdio.h: New.
33 * include/c_compatibility/stdlib.h: New.
34 * include/c_compatibility/string.h: New.
35 * include/c_compatibility/time.h: New.
36 * include/c_compatibility/wchar.h: New.
37 * include/c_compatibility/wctype.h: New.
39 * include/c/std_cerrno.h: Get out of the way... define errno.
40 * include/c/std_cmath.h: Add abs, modf overloads.
41 Undefine C99 isms. Still not sure how to deal with this sanely.
42 * include/c/std_csetjmp.h: Tweak.
43 * include/c/std_cwchar.h: Include cstddef for size_t.
45 * include/c_std/std_cmath.h: Remove extra function.
47 Pendantic std usage in testsuites.
48 * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
50 * testsuite/17_intro/header_cwchar.cc: Tweak.
51 * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
53 * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
54 * testsuite/22_locale/ctype_to_char.cc (test05): Same.
55 * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
56 * testsuite/22_locale/ctype_is_char.cc (test05): Same.
57 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
58 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
59 * testsuite/22_locale/time_get_members_char.cc (test08): Same.
60 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
61 * testsuite/22_locale/time_put_members_char.cc (test04): Same.
62 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
63 * testsuite/22_locale/num_put_members_char.cc (test04): Same.
64 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
65 * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
66 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
67 * testsuite/22_locale/num_get_members_char.cc: Same.
68 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
69 * testsuite/22_locale/money_put_members_char.cc (test07): Same.
70 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
71 * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
72 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
73 * testsuite/22_locale/money_get_members_char.cc (test08): Same.
74 * testsuite/22_locale/messages_members_char.cc (test03): Same.
75 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
76 * testsuite/22_locale/collate_members_char.cc (test04): Same.
77 * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
78 * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
79 * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
81 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
83 * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
86 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
88 * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
89 Use size_type instead of unsigned long.
91 2002-06-20 Steve Ellcey <sje@cup.hp.com>
93 * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
97 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
99 * include/Makefile.am: Add rules.
100 * include/Makefile.in: Regenerate.
102 * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
103 * aclocal.m4: Regenerate.
104 * configure: Regenerate.
105 * configure.target (c_model, c_compatibility): Add.
107 * libsupc++/Makefile.am (c_sources): New.
108 (libsupc___la_SOURCES): Add c_sources.
109 (LTCOMPILE): Remove INCLUDES.
111 (C_COMPILE): New, like COMPILE but without INCLUDES.
112 (cxa_demangle.o): Use C_COMPILE.
113 (dyn-string.o): Use C_COMPILE.
115 * include/c/std_cstdarg.h: Define __need___va_list.
116 * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
117 need_NULL, need_offsetof.
119 2002-06-19 Steve Ellcey <sje@cup.hp.com>
121 * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*): Remove
122 definitions in hpux11 cross-build because these functions do
123 not exist on hpux11 (but some exist on hpux10); move defaults out
124 into existing sections.
125 * configure: Regenerate.
127 2002-06-18 Benjamin Kosnik <bkoz@redhat.com>
129 * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
130 * include/c/std_cwctype.h: Guard.
132 * libsupc++/eh_alloc.cc: Tweak include order.
133 * libsupc++/pure.cc: Use cstdio.
134 * libsupc++/new_op.cc: Remove malloc forward declaration, as
135 cstdlib brings it in. Use std::malloc.
137 * src/Makefile.am (sources): Remove cmath.cc.
138 * src/Makefile.in: Regenerate.
139 * src/cmath.cc: Remove.
141 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
143 * configure.target: Force mips to use the generic cpu routines.
145 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
147 * configure.host: Delete file.
148 * configure.target: More documentation. Factor out common parts of
149 script into "intelligent" settings about defaults. Remove redundancy.
151 * acinclude.m4: Update comments. Do not call configure.host.
152 (GLIBCPP_ENABLE_SYMVERS): If disabled, do not bother checking for
154 * configure.in: Slight reformatting, more comments. Factor out
155 "config/" from all the directories.
156 * docs/html/17_intro/porting.texi: Update and expand.
157 * testsuite/Makefile.am (AM_RUNTESTFLAGS): Move empty setting
160 * aclocal.m4, configure, docs/html/17_intro/porting.html,
161 testsuite/Makefile.in: Regenerate.
163 2002-06-16 Phil Edwards <pme@gcc.gnu.org>
165 * docs/doxygen/TODO: Update.
166 * docs/doxygen/tables.html: Uncomment magical middle column.
167 * docs/doxygen/user.cfg.in: Kludge to ignore function-like macros.
168 * include/bits/stl_queue.h: Doxygenate and reformat.
169 * include/bits/ios_base.h, include/std/std_streambuf.h: Add comment
170 for deprecated names required by the standard.
172 2002-06-14 J.T. Conklin <jtc@acorntoolworks.com>
174 * configure.in (target_alias): Fix.
175 * configure: Regenerate.
176 * aclocal.m4: Regenerate.
178 2002-06-12 Phil Edwards <pme@gcc.gnu.org>
180 * include/Makefile.am: Add new files.
181 * include/Makefile.in: Regenerate.
183 * include/bits/stl_deque.h, include/bits/stl_list.h,
184 include/bits/stl_vector.h: Clean up, reformat. Move definitions...
185 * include/bits/deque.tcc, include/bits/list.tcc,
186 include/bits/vector.tcc: ...to here. New files.
188 * include/ext/stl_hashtable.h: Inclide correct full headers.
189 * include/std/std_deque.h: Include .tcc files for now.
190 * include/std/std_list.h: Likewise.
191 * include/std/std_vector.h: Likewise.
193 2002-06-12 Daniel Jacobowitz <drow@mvista.com>
195 * Makefile.am: Add FLAGS_TO_PASS.
196 * Makefile.in: Regenerated.
198 2002-06-11 J.T. Conklin <jtc@acorntoolworks.com>
199 Benjamin Kosnik <bkoz@redhat.com>
201 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
203 * configure.in: Add support for *-qnx6.[12]*.
204 * configure: Regenerate.
206 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
208 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
209 ctype_noninline.h, os_defines.h: New files.
211 2002-06-10 Loren J. Rittle <ljrittle@acm.org>
213 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
214 include all required headers for test against older POSIX standard.
215 (GLIBCPP_CHECK_SETRLIMIT): Likewise.
216 (ac_setrlimit): Likewise.
217 * aclocal.m4: Regenerate.
218 * configure: Regenerate.
219 * testsuite/testsuite_hooks.cc: Reorder and include all
220 required headers for use against older POSIX standard.
222 2002-06-08 Paolo Carlini <pcarlini@unitus.it>
224 * testsuite/backwards/strstream_members.cc: New.
226 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
228 * include/backwards/strstream: Format.
229 * src/strstream.cc: Format.
231 2002-06-08 Andreas Schwab <schwab@suse.de>
233 * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
234 _M_buf_size and _M_buf_size_opt to the new buffer and size.
236 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
238 * config/os/generic/bits/ctype_noninline.h: Tweak format.
240 2002-06-07 Steve Ellcey <sje@cup.hp.com>
242 * src/locale-inst.cc (__codecvt_abstract_base):
243 Put inside _GLIBCPP_USE_WCHAR_T ifdef.
244 * include/bits/istream.tcc (basic_istream): Ditto.
247 * include/bits/ostream.tcc (basic_ostream): Ditto.
253 2002-06-07 Phil Edwards <pme@gcc.gnu.org>
255 * mkcheck.in: Link against local testsuite library.
256 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
257 implementation out...
258 * testsuite/testsuite_hooks.cc: ...to here.
260 2002-06-06 Loren J. Rittle <ljrittle@acm.org>
262 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
263 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
264 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
265 * src/Makefile.in: Regenerate (explicitly with --cygnus option).
266 * testsuite/Makefile.in: Likewise.
268 2002-06-05 David Edelsohn <edelsohn@gnu.org>
270 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
271 Call external symbol.
273 2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
275 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
276 Search correct multilib testsuite dir for libv3test.
278 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
279 Gaby Dos Reis <gdr@codesourcery.com>
281 * include/bits/basic_string.tcc
282 (basic_string::_S_construct(forward_iterator_tag):
283 Fix typo in null pointer check.
284 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
286 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
288 * testsuite/22_locale/money_get_members_char.cc
289 (test02): Add decimal point to long double constants.
290 * testsuite/22_locale/money_get_members_wchar_t.cc
292 * testsuite/22_locale/money_put_members_char.cc
293 (test02, test03, test06): Likewise.
294 * testsuite/22_locale/money_put_members_wchar_t.cc:
295 (test02, test03, test06): Likewise.
296 * testsuite/22_locale/num_get_members_char.cc:
297 (test02, test01): Likewise; suffix long long constants with LL.
298 * testsuite/22_locale/num_get_members_wchar_t.cc:
299 (test02, test01): Likewise.
300 * testsuite/22_locale/num_put_members_char.cc:
301 (test02, test01): Likewise.
302 * testsuite/22_locale/num_put_members_wchar_t.cc:
303 (test02, test01): Likewise.
305 2002-06-03 Marc Espie <espie@openbsd.org>
307 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
308 assembly for old assemblers.
310 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
312 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
314 (vector<bool>::swap(reference,reference)): ...to this.
316 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
318 * docs/doxygen/TODO: Update.
319 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
320 some class members are in 14882 order.
321 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
323 * include/std/std_bitset.h: Update comment.
324 * src/bitset.cc: Update comments, clean up spacing.
326 * src/Makefile.am (sources): Alphabetize for convenience.
327 * src/Makefile.in: Regenerate.
329 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
331 * include/bits/stl_deque.h, include/bits/stl_list.h,
332 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
333 Reorder to match 14882. Doxygen blocks for all public members.
335 2002-05-31 Marcus Meissner <meissner@suse.de>
338 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
339 * testsuite/23_containers/vector_bool.cc (test02): New test.
341 2002-05-30 Marc Espie <espie@openbsd.org>
343 * configure.in: Always check for sys/types.h
344 * configure: Regenerate.
346 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
348 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
349 Rebuild the wrapper file every time this proc is called.
351 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
353 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
355 * testsuite/Makefile.in: Regenerate.
356 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
357 list_modifiers.cc and rename from 'T'. Move code bodies...
358 * testsuite/testsuite_hooks.cc: ...to here. New file.
359 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
360 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
361 Add libv3test.a to link options.
363 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
365 * src/misc-inst.cc: Define unnecessary algorithm
366 instantiations. Break apart instantiations into groupings below.
367 * src/fstream-inst.cc: New.
368 * src/io-inst.cc: New.
369 * src/istream-inst.cc: New.
370 * src/ostream-inst.cc: New.
371 * src/streambuf-inst.cc: New.
372 * src/sstream-inst.cc: New.
373 * src/Makefile.am (sources): Add files.
374 * src/Makefile.in: Regenerate.
376 * acinclude.m4: Work around automake 1.4-p5 bug, change
377 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
379 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
382 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
383 (classic_table): Fix.
384 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
386 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
388 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
389 _GLIBCPP_USE_WCHAR_T.
390 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
391 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
392 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
394 2002-05-26 Carlo Wood <carlo@alinoe.com>
395 Paolo Carlini <pcarlini@unitus.it>
398 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
399 (__enc_traits::operator=): add missing return statement.
401 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
404 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
405 (operator>>): If nothing was extracted, don't fail in the
407 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
409 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
412 * testsuite/22_locale/ctype_narrow_char.cc: New.
413 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
414 * testsuite/22_locale/ctype_widen_char.cc: New.
415 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
416 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
417 * testsuite/22_locale/ctype_is_char.cc: ...this.
418 * testsuite/22_locale/ctype_to_char.cc: ...and this.
419 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
420 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
421 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
423 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
425 2002-05-24 Dale Peakall <dale@peakall.net>
428 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
429 * config/locale/generic/ctype_members.cc: Same.
431 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
434 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
435 for empty string literal.
436 (ostream::operator<<(const _CharT*)): Same.
437 (ostream<char>::operator<<(const char*)): Same.
438 (ostream<char>::operator<<(streambuf*)): Same.
439 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
440 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
442 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
444 * configure.in (release_VERSION): Update to 3.1.1.
445 (libtool_VERSION): Update to 4:1:0.
446 * configure: Regenerate.
448 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
450 * include/bits/stl_pair.h: Tweak comment markup.
452 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
454 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
456 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
458 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
460 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
462 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
463 Doxygenate all public members. Reorder to follow 14882.
464 (vector::push_back(void)): Remove previously-deprecated fn.
465 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
466 Deprecate for removal in 3.3.
468 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
470 * docs/html/faq/index.html (5.4): Recommend against -I options for
471 finding the ext headers.
472 * docs/html/faq/index.txt: Regenerate.
474 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
476 * testsuite/23_containers/deque_operators.cc (test01):
477 Fix minor typo in last commit.
479 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
482 * include/bits/stl_deque.h (_Deque_iterator::operator==,
483 operator!=, operator<, operator>, operator>=, operator<=):
484 Make non-member functions, to allow comparing const and
485 non-const iterators in any order.
486 * testsuite/23_containers/deque_operators.cc: New testfile.
488 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
490 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
491 * docs/html/faq/index.txt: Regenerate.
493 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
495 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
496 * acinclude.m4: Likewise.
497 * docs/html/Makefile: Likewise.
498 * aclocal.m4: Regenerate.
499 * configure: Regenerate.
500 * Makefile.in: Regenerate.
502 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
505 * include/bits/c++config (__USE_MALLOC): Report case where
506 the user improperly defined it on the command line.
508 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
510 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
511 Retrieve current limits before setting.
513 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
516 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
518 (ostream::operator<<(const _CharT*)): Same.
519 (ostream<char>::operator<<(const char*)): Same.
520 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
522 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
525 * src/strstream.cc (strstreambuf): Fix leak.
527 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
530 * include/bits/istream.tcc (istream::getline, ignore):
531 Upon __idelim (__delim) call sbumpc() not snextc().
532 * testsuite/27_io/narrow_stream_objects.cc:
533 Add test08 and test09.
535 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
537 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
538 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
540 * docs/html/install.html: Fix.
542 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
544 * include/bits/fstream.tcc
545 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
547 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
549 * docs/html/install.html: Tweak, add bits about required locales
550 for the 22_locale tests when using the gnu model.
552 * testsuite/27_io/istream_sentry.cc: Tweak.
554 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
556 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
557 Fix typo, use this->is() rather than manually (and perhaps
558 incorrectly) inlining it.
559 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
561 * testsuite/22_locale/ctype_scan_char.cc: New file.
563 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
564 Jakub Jelinek <jakub@redhat.com>
566 * testsuite/22_locale/money_get_members_char.cc
567 (test01, test02, test04): Use the de_DE@euro named locale
568 instead of de_DE to allow for an uniform behaviour with
569 both old and Euro-era localedata; tweak some tests.
570 * testsuite/22_locale/money_get_members_wchar_t.cc
571 (test01, test02, test04): Likewise.
572 * testsuite/22_locale/money_put_members_char.cc
573 (test01, test02, test04): Likewise.
574 * testsuite/22_locale/money_put_members_wchar_t.cc
575 (test01, test02, test04): Likewise.
577 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
579 * testsuite/22_locale/codecvt_members_char_char.cc
580 (test03): Robustify wrt localedata.
581 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
582 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
583 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
584 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
585 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
586 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
587 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
588 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
589 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
590 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
591 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
592 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
593 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
594 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
595 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
596 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
597 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
598 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
599 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
600 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
601 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
602 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
604 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
606 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
609 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
611 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
612 to 64 for hppa 64-bit port.
613 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
615 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
617 * acinclude.m4 (enable_symvers): Quote $LD.
618 * aclocal.m4: Regenerate.
619 * configure: Likewise.
621 2002-05-09 Jakub Jelinek <jakub@redhat.com>
623 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
624 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
627 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
629 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
630 script entry, and set LD to it when configuring multilibs.
631 * configure: Rebuilt.
633 2002-05-07 Mark Mitchell <mark@codesourcery.com>
635 * configure.in: Add support for WindISS.
636 * configure: Regenerated.
637 * configure.target: Add support for WindISS.
638 * config/os/windiss/bits/ctype_base.h: New file.
639 * config/os/windiss/bits/ctype_inline.h: Likewise.
640 * config/os/windiss/bits/ctype_noninline.h: Likewise.
641 * config/os/windiss/bits/os_defines.h: Likewise.
643 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
645 Test all the facets for the temporary "C" locale switch issue.
646 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
647 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
648 * testsuite/22_locale/collate_members_char.cc: Add test04.
649 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
650 * testsuite/22_locale/ctype_members_char.cc: Add test05.
651 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
652 * testsuite/22_locale/messages_members_char.cc: Add test03.
653 * testsuite/22_locale/money_get_members_char.cc: Add test08.
654 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
655 * testsuite/22_locale/money_put_members_char.cc: Add test07.
656 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
657 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
658 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
659 * testsuite/22_locale/num_get_members_char.cc: Add test06.
660 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
661 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
662 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
663 * testsuite/22_locale/time_get_members_char.cc: Add test08.
664 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
665 * testsuite/22_locale/time_put_members_char.cc: Add test04.
666 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
668 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
669 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
671 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
673 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
674 __EXTENSIONS__): Ensure they are always defined.
676 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
678 * docs/html/documentation.html: Fix broken link.
680 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
681 Paolo Carlini <pcarlini@unitus.it>
683 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
684 testing for the locale_facets.tcc entry of the previous commit.
685 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
687 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
689 * config/locale/generic/c_locale.cc
690 (__convert_to_v(float, double, long double)):
691 Fix the temporary switch to the "C" locale, saving and
692 restoring in the proper way the current locale.
693 * config/locale/generic/time_members.cc
694 (__timepunct<char, wchar_t>::_M_put): Likewise.
695 * config/locale/gnu/messages_members.cc
696 (messages<char>::do_get): Likewise.
697 * config/locale/gnu/messages_members.h
698 (messages<_CharT>::do_get): Likewise.
699 * config/locale/gnu/time_members.cc
700 (__timepunct<char, wchar_t>::_M_put): Likewise.
701 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
703 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
705 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
706 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
708 * Makefile.in, config.h.in, configure: Regenerate.
710 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
713 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
714 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
716 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
718 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
720 (ctype:_M_table): Initialize to classic_table(), not __ctype.
722 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
724 * configure.in: Update local install.html, configopts.html paths.
725 * configure: Regenerate.
727 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
729 * config/os/irix/irix5.2/bits/os_defines.h
730 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
732 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
735 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
737 * docs/html/faq/index.html: Update list in #4.1.
738 * docs/html/faq/index.txt: Regenerated.
740 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
742 * docs/html/17_intro/RELEASE-NOTES (New): Update.
744 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
746 * include/std/std_bitset.h: Fix doxygen comments.
747 * docs/html/documentation.html: Minor tweaks for 3.1.
748 * docs/html/27_io/howto.html: Likewise.
749 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
750 * docs/html/faq/index.html: Likewise.
751 * docs/html/faq/index.txt: Regenerated.
753 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
756 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
757 (istreambuf_iterator::equal): Use it.
758 (istreambuf_iterator::operator*): Use it.
760 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
763 * include/bits/stl_uninitialized.h
764 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
765 Fix typo in 2001-07-17 commit: typedef _ValueType to
766 iterator_traits<_ForwardIter> not <_InputIter>.
767 * testsuite/23_containers/vector_ctor.cc: Add test04.
769 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
772 * include/c_std/std_cctype.h: Include bits/c++config.h.
773 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
775 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
777 * include/ext/stdio_filebuf.h: New file.
778 * include/ext/enc_filebuf.h: New file.
779 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
780 * config/io/basic_file_stdio.cc: Same.
781 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
782 Remove _M_unbuf hacks.
783 (filebuf::_M_destroy_internal_buffer): Same.
784 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
785 (filebuf::fd): Remove.
786 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
787 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
788 (filebuf::fd): Remove.
789 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
791 (ios_base::_S_ios_destroy): Same.
792 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
793 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
794 stdio_filebuf.h. * include/Makefile.in: Regenerate.
796 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
799 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
801 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
804 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
806 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
807 (istreambuf_iterator::operator++): Invalidate on eof.
808 (istreambuf_iterator::operator++(int)): Same.
809 (istreambuf_iterator::operator*): Same.
811 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
813 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
814 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
817 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
820 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
821 (__basic_file::sys_ungetc): Take int.
822 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
823 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
824 Use sys_getc for unbuffered input.
825 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
827 * src/ios.cc (_M_grow_words): Adjust error checking.
828 * testsuite/27_io/ios_base_storage.cc: Same.
830 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
832 * include/ext/stl_hashtable.h: Import __iterator_category
834 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
835 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
837 * testsuite/ext/hash_set.cc: New testfile.
839 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
841 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
843 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
844 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
846 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
848 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
849 Fix and tighten __throw_length_error check.
850 * testsuite/21_strings/replace.cc (test05): New.
851 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
853 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
855 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
856 unconditional flush on lower-layer handle to here...
857 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
858 ...from here. Optimize remaining _M_file.sync() call pattern.
859 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
862 2002-04-23 Jason Merrill <jason@redhat.com>
864 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
865 output-only filebufs.
866 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
868 (basic_filebuf::_M_set_determinate): Likewise.
871 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
872 value properly in the trivial case.
873 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
874 tellg() returns the right value after a read.
876 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
878 * config/cpu/mmix/bits/cpu_limits.h: New file.
879 * configure.target (CPULIMITSH): Use it.
881 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
883 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
884 * docs/html/17_intro/porting.html: Rebuilt.
886 2002-04-20 Jason Merrill <jason@redhat.com>
889 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
891 (basic_streambuf::_M_set_determinate): Likewise.
892 (basic_streambuf::_M_is_indeterminate): Likewise.
893 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
894 non-static data member.
895 (basic_filebuf::_M_underflow_common): New non-static member function.
896 (basic_filebuf::_M_underflow, _M_uflow): Call it.
897 (basic_filebuf::sync): Avoid useless seeking.
898 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
900 (basic_filebuf::_M_set_determinate): Likewise.
901 (basic_filebuf::_M_is_indeterminate): Likewise.
902 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
903 back to _M_out_beg if necessary.
904 (basic_filebuf::seekoff): Likewise.
905 (basic_filebuf::_M_underflow_common): Generalization of old
906 underflow(). Don't seek back to _M_in_beg.
907 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
908 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
909 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
910 * config/os/mingw32/bits/os_defines.h: Likewise.
911 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
914 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
916 * include/bits/istream.tcc (istream::read): Fix.
917 * testsuite/27_io/istream_unformatted.cc (main): Add.
919 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
922 * include/bits/istream.tcc (istream::ignore): Streamline, use
924 * include/bits/streambuf.tcc: Use this->gptr.
925 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
927 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
929 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
930 as type safety is important, especially on solaris.
931 * include/bits/istream.tcc (istream::read): Clean.
932 (istream::readsome): Same.
933 * locale.cc: Wrap lines.
935 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
936 * testsuite/27_io/instantiations.cc (test): Add bool variable...
937 * testsuite/21_strings/capacity.cc: Clean.
939 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
941 * docs/doxygen/doxygroups.cc: New group on binary searching.
942 * include/bits/stl_algo.h: Document binary searches and merges.
943 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
945 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
947 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
948 * docs/doxygen/run_doxygen: Bump required version.
949 * docs/doxygen/user.cfg.in: Revert accidental change.
950 * docs/html/faq/index.html: Reindent a block of links.
951 (4.4): New note on using dlsym.
952 * docs/html/faq/index.txt: Regenerated.
954 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
956 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
958 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
960 * config/linker-map.gnu (__malloc_alloc_template): Add.
961 (__default_alloc_template): Same.
962 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
964 (__default_alloc_template): Same.
966 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
968 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
970 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
972 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
973 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
974 (__malloc_alloc_template): Conditionalize.
976 * include/bits/istream.tcc: Remove sputbackc calls.
978 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
980 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
982 * testsuite/24_iterators/rel_ops.cc: New test.
984 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
986 * include/bits/type_traits.h (__normal_iterator): Declare in
987 __gnu_cxx. Adjust use at global namespace.
988 * include/bits/stl_iterator.h (__normal_iterator): Move definition
989 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
990 * include/bits/basic_string.h (basic_string): Adjust use of
992 * include/bits/stl_vector.h (_Alloc>): Likewise.
993 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
994 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
996 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
1000 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
1002 (__basic_file::close): Call fflush. Correct return if fclose ok.
1003 (__basic_file::is_open): Make const.
1004 Change __c_file_type to __c_file.
1005 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
1006 (__basic_file::is_open): Make const.
1007 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
1008 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
1009 (filebuf::_M_unbuf): Add.
1010 (filebuf::_M_file): Change to non-pointer.
1011 (filebuf::_M_allocate_pback_buffer): Remove.
1012 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
1013 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
1014 Change initialization list for _M_file change.
1015 (filebuf::_M_allocate_pback_buffer): Remove.
1016 Change _M_file usage to reflect non-pointer data member.
1018 * config/locale/generic/c_locale.cc
1019 (locale::facet::_S_create_c_locale): Add parameter.
1020 * config/locale/generic/collate_members.cc: Change
1021 _M_compare_helper to _M_compare.
1022 Change _M_transform_helper to _M_transform.
1023 * config/locale/generic/monetary_members.cc: Changeup data types.
1025 * config/locale/generic/numeric_members.cc: Add dtors.
1026 * config/locale/generic/time_members.cc: Add dtors.
1027 * config/locale/gnu/c_locale.cc: Add parameter.
1028 * config/locale/gnu/collate_members.cc:Change
1029 _M_compare_helper to _M_compare.
1030 Change _M_transform_helper to _M_transform.
1031 * config/locale/gnu/ctype_members.cc: Better error checking.
1032 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
1033 * config/locale/gnu/messages_members.cc: Tweak comment.
1034 * config/locale/gnu/monetary_members.cc: Change data types.
1036 * config/locale/gnu/numeric_members.cc: Add dtors, better error
1038 * config/locale/gnu/time_members.cc: Same.
1039 * config/locale/ieee_1003.1-2001/c_locale.cc
1040 (locale::facet::_S_create_c_locale): Add parameter.
1041 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
1042 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
1045 * include/bits/locale_facets.h (moneypunct): Use string literals.
1048 (__timepunct): Same.
1049 (locale::_Impl::_M_facets): Change from vector to array.
1050 (locale::_Impl::_M_names): Change from array of strings to array
1052 (locale::facet::_S_create_c_locale): Add parameter.
1053 (locale::locale::_S_num_facets): Move to...
1054 (locale::_Impl::_M_facets_size): Here.
1055 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
1057 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
1058 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
1059 (locale::_Impl::_Impl(string, size_t)): Change to
1060 (locale::_Impl::_Impl(const char*, size_t)): This.
1062 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
1063 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
1064 (streambuf::_S_pback_size): This.
1066 * src/globals.cc: Add pre-allocations for "C" facets.
1067 * src/locale-inst.cc: Remove vector instantiations.
1068 * src/locale.cc: Remove vector include. Fixups for _M_names,
1070 * src/localename.cc: Same.
1072 * include/bits/stl_vector.h: Fix odd formatting.
1074 * include/bits/basic_string.tcc: Tweak comment.
1076 * libsupc++/new: Make sure parameters are uglified.
1077 * libsupc++/typeinfo: Same.
1079 * testsuite/22_locale/num_get_members_char.cc: Fixup.
1080 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
1081 * testsuite/27_io/filebuf_members.cc: Same.
1083 2002-04-12 Steve Ellcey <sje@cup.hp.com>
1085 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
1086 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
1087 does not define strtoll or strtoull, but does define strtol
1088 and strtoul which are the same since in 64 bit mode
1089 sizeof(long) == sizeof(long long).
1091 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
1093 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
1094 trailing spaces, indentation, and macro names. Make exception
1095 messages more informative.
1097 2002-04-11 Richard Henderson <rth@redhat.com>
1099 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
1100 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
1101 (basic_ostream<>::operator<<(long long)): Same.
1103 2002-04-11 Richard Henderson <rth@redhat.com>
1105 * config/linker-map.gnu: Add __gxx_personality_sj0.
1107 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1110 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
1112 Remove forward declaration of vector.
1114 * include/bits/locale_facets.tcc: Remove vector include.
1115 (use_locale): Adjust.
1116 (has_locale): Adjust.
1117 * src/locale.cc: Adjust.
1118 * src/localename.cc: Same.
1120 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1121 Richard Henderson <rth@redhat.com>
1123 * include/bits/sstream.tcc: Clean up bit ops.
1124 * include/bits/fstream.tcc: Same.
1126 2002-04-09 Jakub Jelinek <jakub@redhat.com>
1128 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
1129 (__num_base::_S_scale_oct): Remove.
1130 * src/locale.cc (__num_base::_S_scale_hex): Remove.
1131 (__num_base::_S_scale_oct): Remove.
1133 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1136 * testsuite/23_containers/bitset_members.cc: New test.
1137 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
1138 (_S_bit_count): Here.
1139 (_First_one::_S_first_one): Move...
1140 (_S_first_one): Here.
1142 * src/bitset.cc: Adjust.
1143 * config/linker-map.gnu: Export.
1145 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
1148 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
1149 * include/std/std_fstream.h: Clean.
1150 * include/bits/ostream.tcc: Remove extraneous variables.
1151 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
1152 open modes and which modes.
1153 (stringbuf::seekpos): Same.
1154 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
1156 2002-04-05 Jonathan Wakely <jw@kayari.org>
1158 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
1159 random_shuffle, partition, stable_partition, sort, stable_sort,
1160 partial_sort, partial_sort_copy, nth_element): Doxygenate.
1162 2002-04-05 David S. Miller <davem@redhat.com>
1164 * config/os/gnu-linux/bits/os_defines.h
1165 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
1167 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
1170 via gawrilow@math.tu-berlin.de
1171 * acinclude.m4 (version_specific_libs): Fix combo usage with
1172 --with-gxx-include-dir.
1173 * aclocal.m4: Regenerate.
1176 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
1178 As per DR 184, libstdc++/3139
1179 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
1180 (numeric_limits<bool>::is_iec559): False.
1181 (numeric_limits<bool>::is_modulo): False.
1183 * testsuite/27_io/ios_init.cc: Add instantiations.
1185 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
1188 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
1189 * testsuite/27_io/ios_init.cc (tests04): Add test.
1192 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
1193 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
1194 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
1195 * include/bits/istream.tcc: Use _M_fctype, make consistent with
1197 * testsuite/27_io/ios_init.cc (tests03): Add test.
1199 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
1201 * include/Makefile.am (install-data-local): Use mkinstalldirs.
1202 * include/Makefile.in: Regenerate.
1204 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
1205 Nathan Myers <ncm@cantrip.org>
1206 Philip Martin <philip@codematters.co.uk>
1208 * include/bits/basic_string.h
1209 (replace(i1, i2, _CharT* k1, _CharT* k2),
1210 replace(i2, i2, const _CharT* k1, const _CharT* k2),
1211 replace(i1, i2, iterator k1, iterator k2,
1212 replace(i1, i2, const_iterator k1, const_iterator k2):
1213 New specializations to optimize for the common cases of
1214 pointers and iterators.
1215 (replace(pos, n1, s, n2)): Tweak.
1216 * include/bits/basic_string.tcc: Tweak comments.
1217 * testsuite/21_strings/replace.cc (test04): New tests.
1219 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
1222 * acinclude: More extensive checks for msgfmt, --enable-nls.
1223 * aclocal.m4: Regenerate.
1224 * configure: Regenerate.
1226 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
1228 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
1229 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
1230 * docs/html/18_support/howto.html: Document the demangler.
1231 * docs/html/17_intro/howto.html: And link to it.
1233 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
1234 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
1236 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
1238 * config/linker-map.gnu: Export __verbose_terminate_handler.
1239 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
1240 Make new LTCOMPILE variable, use it in new special build rules.
1241 * libsupc++/Makefile.in: Rebuild.
1242 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
1243 runtime __cxa_demangle.
1245 * docs/html/install.html: Update prereqs and instructions.
1246 * docs/html/19_diagnostics/howto.html: Bring naming for
1247 verbose_terminate_handler into line with reality.
1249 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
1252 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
1253 (basic_ios::_M_streambuf_state): Move.
1254 * include/bits/ios_base (ios_base): To here.
1255 * include/bits/ios_base.h (ios_base::_S_local_words): To
1257 (ios_base::_M_word_array): To _M_local_word.
1258 (ios_base::_M_words_limit): To _M_word_size.
1259 (ios_base::_M_words): To _M_word.
1261 * include/bits/basic_ios.tcc: Adjust.
1262 * src/ios.cc (ios_base::_M_grow_words): Tweak.
1263 * testsuite/27_io/ios_base_storage.cc: Add tests.
1266 Kenny Simpson <theonetruekenny@yahoo.com>
1267 * include/bits/ios_base.h: Fix.
1269 Richard Henderson <rth@redhat.com>
1270 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
1273 * include/bits/basic_string.h: Tweak formatting.
1275 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
1277 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1278 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
1279 By definition, sizeof(char) == 1.
1280 * include/bits/locale_facets.tcc (money_get::do_get,
1281 money_put::do_put): Ditto.
1282 * testsuite/21_strings/inserters_extractors.cc
1285 2002-03-30 Richard Henderson <rth@redhat.com>
1288 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
1289 data out of the exception struct before calling unexpectedHandler.
1291 2002-03-28 Roger Sayle <roger@eyesopen.com>
1293 * include/c_std/std_cmath.h: To prevent problems overloading
1294 g++ builtins, use the double variants from the global namespace
1295 before defining float and long double variants in std::.
1297 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
1299 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
1301 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
1303 * testsuite/24_iterators/istream_iterator.cc
1304 (test02): New tests.
1306 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1307 Paolo Carlini <pcarlini@unitus.it>
1309 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
1310 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
1311 fix i_lit_base e_lit_base arrays, making them independent
1312 from the endianness of the platform; tweak UCS4 to UCS-4BE.
1314 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
1316 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
1317 allocate at least a byte.
1319 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
1321 * testsuite/27_io/streambuf.cc (test07): Fix.
1324 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
1326 * docs/doxygen/Intro.3: Date tweak.
1327 * docs/doxygen/TODO: Update.
1328 * docs/doxygen/doxygroups.cc: Point to tables.html.
1329 * docs/doxygen/mainpage.html: Date tweak.
1330 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
1331 * docs/doxygen/tables.html: Fill in the blanks.
1333 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
1334 * include/bits/stl_algo.h: Likewise; use expanded form.
1335 * include/bits/stl_alloc.h: Likewise.
1336 * include/bits/stl_construct.h: Likewise.
1337 * include/bits/stl_deque.h: Likewise.
1338 * include/bits/stl_iterator_base_types.h: Likewise.
1339 * include/bits/stl_list.h: Likewise.
1340 * include/bits/stl_relops.h: Likewise.
1341 * include/bits/stl_tempbuf.h: Likewise.
1342 * include/bits/stl_vector.h: Likewise.
1343 * include/std/std_memory.h: Likewise.
1345 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
1346 * include/bits/stl_list.h: Likewise.
1347 * include/bits/stl_vector.h: Likewise.
1349 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
1351 * include/c/: Guard with _CPP_.
1352 * include/c_std/: Same.
1353 * include/Makefile.am: Fixup install, link routines for null
1354 c_base_headers_extra scenarios.
1355 * include/Makefile.in: Regerate.
1357 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
1358 Richard Henderson <rth@redhat.com>
1360 * testsuite/22_locale/codecvt_members_unicode_char.cc
1361 (test01, test02): make sure that the i_lit_base array
1362 is sufficiently aligned.
1364 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
1366 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
1369 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
1371 * testsuite/22_locale/collate_byname.cc
1372 (test01): compare the result of collate::compare with
1373 that of collate::transform + string::compare, not with
1374 that of collate::transform + collate::compare; values
1375 returned by collate::compare are normalized, therefore
1378 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
1379 Jakub Jelinek <jakub@redhat.com>
1381 * config/locale/gnu/messages_members.h: Correct conditional.
1382 * config/locale/gnu/messages_members.cc: Same.
1383 * config/locale/gnu/time_members.cc: Same.
1385 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1386 Paolo Carlini <pcarlini@unitus.it>
1388 * testsuite/22_locale/codecvt_members_unicode_char.cc
1389 (test01, test02): Fix i_lit_base arrays, making them
1390 independent from the endianness of the platform.
1392 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1394 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
1395 signbit and __signbit directly.
1396 * aclocal.m4: Regenerate.
1397 * configure: Regenerate.
1398 * config.h.in: Regenerate.
1399 * libmath/Makefile.am: Simplify.
1400 * libmath/Makefile.in: Regenerate.
1401 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
1403 * include/Makefile.am: Clean up handling of extra "C" header files.
1404 Add hooks for "C" compatibility headers.
1405 * include/Makefile.in: Regenerate.
1407 * include/c/*: Formatting tweaks, cleanups.
1408 * include/c_std/*: Same.
1410 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1412 * config/locale/gnu/messages_members.h: Add __uselocale bits.
1413 * config/locale/gnu/messages_members.cc: Same.
1414 * config/locale/gnu/time_members.cc: Same.
1416 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1418 * src/vterminate.cc: Format, -fno-exceptions cleanup.
1420 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1422 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
1423 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
1424 * aclocal.m4: Regenerate.
1425 * configure: Likewise.
1427 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
1428 Ulrich Drepper <drepper@redhat.com>
1430 * src/locale-inst.cc (__convert_from_v): Add an additional
1431 __size parameter in the declarations.
1432 * include/bits/locale_facets.tcc
1433 (__convert_from_v): When available (that is,
1434 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
1435 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
1436 being defined or not, call and use __convert_from_v in the
1438 (num_put::_M_convert_int): Same here.
1439 (money_put::do_put(long double)): Same here.
1441 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
1443 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
1444 * docs/html/faq/index.txt: Regenerate.
1446 2002-03-19 Steve Ellcey <sje@cup.hp.com>
1448 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
1449 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
1450 --enable-libunwind-exceptions is set.
1451 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
1452 macro to check for libunwind.
1453 * configure: Regenerate.
1454 * src/Makefile.am (libstdc___la_LDFLAGS): Add
1455 LIBUNWIND_FLAG to libstdc link line.
1456 * src/Makefile.in: Regenerate.
1458 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
1460 * docs/html/faq/index.html: Add OS X workaround.
1461 * docs/html/17_intro/TODO: Update.
1463 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
1465 * include/bits/locale_facets.tcc
1466 (money_put::do_put(long double)): Fix dimensioning of
1467 temporary buffers to avoid risk of overruns.
1468 (money_put::do_put(string)): Same for the buffer used to
1469 add the grouping chars.
1470 * testsuite/22_locale/money_put_members_char.cc: Add test06.
1471 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
1473 * include/bits/locale_facets.tcc
1474 (collate::do_transform): Simplify.
1476 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
1478 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
1479 * configure.in: Add comments pointing the way for autoconf 2.5x.
1480 * aclocal.m4, config.h.in, configure: Regenerate.
1482 2002-03-18 Philipp Thomas <pthomas@suse.de>
1484 * include/backward/hash_map.h: hash, hashtable, hash_map and
1485 hash_multimap are in namespace __gnu_cxx.
1486 include/backward/hash_set.h: hash, hashtable, hash_set and
1487 hash_multiset are in namespace __gnu_cxx.
1488 include/backward/hashtable.h: hash and hashtable are in
1489 namespace __gnu_cxx.
1490 include/backward/rope.h: char_producer, sequence_buffer,
1491 rope, crope and wrope are in namespace __gnu_cxx.
1492 include/backward/slist.h: slist is in namespace __gnu_cxx.
1493 * testsuite/backward/header_hash_map_h.cc
1494 testsuite/backward/header_hash_set_h.cc
1495 testsuite/backward/header_hashtable_h.cc
1496 testsuite/backward/header_rope_h.cc
1497 testsuite/backward/header_slist_h.cc
1498 testsuite/backward/header_tempbuf_h.cc: New tests for
1499 checking that we're using the correct namespace.
1501 2002-03-17 Jason Merrill <jason@redhat.com>
1504 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
1505 (check_exception_spec): Call it. Take the thrown pointer.
1506 (__cxa_call_unexpected): Pass it.
1507 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
1509 2002-03-15 Anthony Green <green@redhat.com>
1511 * configure.in: Remove useless is_mingw32.
1512 * configure: Rebuilt.
1514 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
1516 * testsuite/22_locale/collate_members_char.cc
1517 (test01): compare the result of collate::compare with
1518 that of collate::transform + string::compare, not with
1519 that of collate::transform + collate::compare.
1520 (test01): values returned by collate::compare are
1521 normalized, therefore test against +-1.
1522 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
1524 2002-03-12 Loren Rittle <ljrittle@acm.org>
1526 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1527 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
1529 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
1530 Per Liboriussen <liborius@stofanet.dk>
1532 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
1534 * config/os/gnu-linux/bits/ctype_inline.h: Same.
1536 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
1538 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
1539 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1541 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
1542 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1544 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
1545 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1547 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
1549 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
1551 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
1552 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
1553 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
1554 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
1555 that memory limits are in place.
1556 (test03): Add tests.
1558 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
1560 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
1561 * aclocal.m4: Regenerate.
1562 * config.h.in: Regenerate.
1563 * configure: Regenerate.
1564 * include/c_std/std_cwctype.h: Guard.
1566 2002-03-11 Chris Demetriou <cgd@broadcom.com>
1568 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
1569 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
1570 * aclocal.m4: Regenerate.
1571 * configure: Regenerate.
1573 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
1575 * include/bits/stl_bvector.h: Fix warning.
1577 2002-03-11 Richard Henderson <rth@redhat.com>
1579 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
1581 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
1583 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
1584 New function. Build the list of tests to run in testsuite_files.
1585 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
1587 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
1589 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
1590 platforms with no weak support.
1591 * testsuite/27_io/ios_init.cc: Likewise.
1593 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
1595 * include/bits/locale_facets.tcc (time_put::do_put):
1596 Consider sizeof(char_type) in allocating the buffer.
1598 * include/bits/locale_facets.tcc (collate::do_tranform):
1599 Remove redundant variable.
1601 2002-03-10 Ulrich Drepper <drepper@redhat.com>
1602 Paolo Carlini <pcarlini@unitus.it>
1604 * config/locale/generic/collate_members.cc
1605 (collate<char,wchar_t>::_M_compare_helper): normalize
1606 values returned by strcoll and wcscoll.
1607 * config/locale/gnu/collate_members.cc
1608 (collate<char,wchar_t>::_M_compare_helper): ditto
1609 for __strcoll_l and __wcscoll_l.
1611 2002-03-10 Anthony Green <green@redhat.com>
1613 * configure.in: Support cross builds to mingw32 target.
1614 * configure: Rebuilt.
1616 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
1618 * include/bits/locale_facets.tcc (collate::do_transform):
1619 Rewrite to fix problems with long transformed strings.
1621 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
1623 * c_locale_generic.cc: Move to...
1624 * generic/c_locale.cc
1625 * c_locale_generic.h: Move to...
1626 * generic/c_locale.h
1627 * codecvt_specializations_generic.h: Move to...
1628 * generic/codecvt_specializations.h
1629 * collate_members_generic.cc: Move to...
1630 * generic/collate_members.cc
1631 * ctype_members_generic.cc: Move to...
1632 * generic/ctype_members.cc
1633 * messages_members_generic.cc: Move to...
1634 * generic/messages_members.cc
1635 * messages_members_generic.h: Move to...
1636 * generic/messages_members.h
1637 * moneypunct_members_generic.cc: Move to...
1638 * generic/monetary_members.cc
1639 * numpunct_members_generic.cc: Move to...
1640 * generic/numeric_members.cc
1641 * time_members_generic.cc: Move to...
1642 * generic/time_members.cc
1643 * c_locale_gnu.cc: Move to...
1645 * c_locale_gnu.h: Move to...
1647 * collate_members_gnu.cc: Move to...
1648 * gnu/collate_members.cc
1649 * ctype_members_gnu.cc: Move to...
1650 * gnu/ctype_members.cc
1651 * messages_members_gnu.cc: Move to...
1652 * gnu/messages_members.cc
1653 * messages_members_gnu.h: Move to...
1654 * gnu/messages_members.h
1655 * moneypunct_members_gnu.cc: Move to...
1656 * gnu/monetary_members.cc
1657 * numpunct_members_gnu.cc: Move to...
1658 * gnu/numeric_members.cc
1659 * time_members_gnu.cc: Move to...
1660 * gnu/time_members.cc
1661 * c_locale_ieee_1003.1-200x.cc: Move to...
1662 * ieee_1003.1-2001/c_locale.cc
1663 * c_locale_ieee_1003.1-200x.h: Move to...
1664 * ieee_1003.1-2001/c_locale.h
1665 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
1666 * ieee_1003.1-2001/codecvt_specializations.h
1667 * messages_members_ieee_1003.1-200x.cc: Move to...
1668 * ieee_1003.1-2001/messages_members.cc
1669 * messages_members_ieee_1003.1-200x.h: Move to...
1670 * ieee_1003.1-2001/messages_members.h
1672 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
1673 * aclocal.m4: Regenerate.
1674 * configure: Regenerate.
1675 * src/Makefile.am (sources): Change to monetary and numeric.
1676 * src/Makefile.in: Regenerate.
1677 * docs/html/configopts.html: Update to ieee_1003.1-2001.
1679 2002-03-08 scott snyder <snyder@fnal.gov>
1682 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1683 Allow one more digit of precision.
1684 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
1685 write a double and read back in the same value.
1687 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
1689 * include/std/std_limits.h: Move static const data members out of
1690 generic template, into base class __numeric_limits_base.
1691 * src/limits.cc: Add definitions.
1692 * config/linker-map.gnu: Add __numeric_limits_base.
1693 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
1695 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
1697 * include/bits/stl_alloc.h: Add extern implicit allocator
1699 * include/bits/basic_string.tcc: Tweak.
1700 * include/bits/locale_facets.tcc: Remove default args. Add
1701 has_facet, use_facet extern instantiations.
1702 * src/stl-inst.cc: Add explicit instantiation.
1703 * src/locale-inst.cc: Clean. Remove locale member template
1706 * testsuite/22_locale/operators.cc (test02): Enable.
1708 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
1709 Stephen M. Webb <stephen.webb@bregmasoft.com>
1711 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
1712 (_S_rb_tree_black): Make enum.
1714 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
1715 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
1716 (__stl_threshold): _M_threshold, enum.
1717 * src/stl-inst.cc: Same.
1718 * config/linker-map.gnu: Remove.
1720 * testsuite/23_containers/vector_bool.cc: New.
1722 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
1724 * docs/doxygen/user.cfg.in: Also document deprecated entries.
1725 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
1726 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
1727 referring to the collection as a whole. New section on which macros
1728 can be redefined by the user.
1729 * docs/html/19_diagnostics/howto.html: Update note for concepts.
1730 * docs/html/20_util/howto.html: Update link to SGI.
1731 * docs/html/faq/index.html: Update snapshot versions. New entry
1732 on why g++ (but not gcc) must currently predefine certain macros.
1733 * docs/html/faq/index.txt: Regenerated.
1735 * include/bits/basic_string.h (basic_string::_S_construct): Fix
1736 names in declaration.
1737 (basic_string::compare): These are no longer optional.
1738 * include/bits/ostream.tcc: Tweak closing brace placement.
1739 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
1740 * include/std/std_sstream.h: Fix typo in comment.
1741 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
1742 * src/locale.cc: Likewise.
1744 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
1747 * include/bits/stl_vector.h (vector::push_back()): Guard with
1748 _GLIBCPP_DEPRECATED.
1750 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
1752 * include/bits/c++config: Fix misplaced leading blanks on first line.
1754 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
1756 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
1757 * README (libmath): Make clear.
1759 2002-03-05 Jakub Jelinek <jakub@redhat.com>
1761 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
1762 script globbing in ld.
1763 * aclocal.m4: Rebuilt.
1764 * configure: Rebuilt.
1766 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
1768 * docs/html/17_intro/RELEASE-NOTES: Update.
1769 * README: Format subdirectories.
1771 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
1774 * include/bits/locale_facets.tcc
1775 (num_get::_M_extract_float): Fix the parsing of __dec, since
1776 the standard prescribes that if no grouping characters are
1777 seen, no grouping check is applied.
1778 * testsuite/22_locale/num_get_members_char.cc: Add test05
1779 distilled from the PR.
1780 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
1782 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
1784 * docs/html/17_intro/porting-howto.xml: Refer to
1785 http://www.oasis-open.org for docbookx.dtd.
1786 * docs/html/17_intro/porting-howto.html: Regenerated.
1788 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
1791 * include/std/std_sstream.h: Remove trailing spaces.
1792 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
1793 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
1795 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
1797 * testsuite/22_locale/num_get_members_char.cc (test04):
1798 Use a named locale expecting grouping (de_DE).
1799 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
1801 * testsuite/27_io/ios_manip_basefield.cc (test01):
1802 Extend coverage, uniform treatment of hexs and octs.
1804 2002-02-28 Richard Henderson <rth@redhat.com>
1806 * config/linker-map.gnu: Export operator new with unsigned long,
1807 and with std::nothrow_t. Likewise operator delete.
1809 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
1811 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
1812 Admit grouping for octals and hexadecimals too.
1813 * testsuite/22_locale/num_get_members_char.cc: Add test04.
1814 (test01): Tweak "." -> "," in void* test.
1815 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
1817 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
1818 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
1820 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
1822 * testsuite/27_io/ios_manip_basefield.cc (test01):
1823 Fix for 64 bit machines.
1825 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
1828 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
1830 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
1831 (basic_ios::_M_fill_init): New.
1832 (basic_ios::fill()): Delay dealing with _M_fill.
1834 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
1835 (ios_base::_M_call_callbacks): Adjust.
1836 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
1838 2002-02-26 Loren Rittle <ljrittle@acm.org>
1840 * include/Makefile.am (thread_target_headers): Unconditionally
1841 stage and install gthr-posix.h.
1842 (${target_builddir}/gthr-posix.h): New rule cloned off
1843 ${target_builddir}/gthr-default.h.
1844 (${target_builddir}/gthr-default.h): Support chained inclusion
1845 of gthr support headers.
1846 * include/Makefile.in: Rebuilt.
1848 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
1850 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
1851 Group all the integral types, not only decs.
1852 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
1853 tests, add a few more.
1855 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
1857 * src/ios.cc (ios_base::~ios_base): Tweak.
1858 (ios_base::_M_call_callbacks): Deal with null __p.
1859 (ios_base::ios_base): Set _M_callbacks.
1860 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
1861 * testsuite/27_io/ios_init.cc (test02): Fix.
1863 * mkcheck.in (static_fail): Failed links go to output file.
1865 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
1867 * docs/html/faq/index.html: Update.
1868 * docs/html/faq/index.txt: Regenerate.
1870 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
1872 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
1873 * aclocal.m4: Regenerate.
1874 * docs/html/configopts.html: Document --enable-symvers.
1875 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
1877 2002-02-22 Philipp Thomas <pthomas@suse.de>
1879 * include/backward/tempbuf.h: get_temporary_buffer and
1880 return_temporary_buffer are in namespace std, not in __gnu_cxx.
1882 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
1884 * configure.in (target_alias): Default to yes.
1885 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
1886 libgcc to default case.
1888 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
1890 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
1891 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
1892 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
1893 * aclocal.m4: Regenerate.
1894 * configure: Regenerate.
1895 * config/linker-map.dummy: New file. Contains nothing useful.
1897 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
1899 * testsuite/22_locale/money_put_members_char.cc: Fix.
1900 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
1902 * testsuite/27_io/standard_manipulators.cc: New file.
1904 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
1905 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
1907 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
1909 * config/os/mingw32/bits/ctype_noninline.h
1910 (ctype<char>::ctype): Remove default args from parm list.
1911 * config/os/djgpp/bits/ctype_noninline.h: Same.
1913 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
1915 * include/std/std_iomanip.h: Inline, tweaks.
1916 * config/linker-map.gnu: Remove hacks.
1918 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
1919 * testsuite/27_io/ios_init.cc: Same.
1920 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
1921 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
1923 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
1925 * config/linker-map.gnu: Export global vtable, typeinfo, guard
1926 variable, and thunk info as per CXXABI docs.
1928 2002-02-19 Loren Rittle <ljrittle@acm.org>
1930 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
1931 * include/Makefile.in: Rebuilt.
1933 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1935 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
1936 with size3 for the string collations of str5.
1938 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
1941 * include/bits/locale_facets.tcc (money_put::do_put):
1942 For the space field use __fill instead of ' ', uniformly.
1943 * testsuite/22_locale/money_put_members_char.cc:
1944 Add test05 distilled from PR.
1945 (test01-02-03): Trim some '*' to ' '.
1946 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
1948 2002-02-18 Loren Rittle <ljrittle@acm.org>
1951 * include/Makefile.am (thread_builddir): Remove (map all
1952 existing uses to target_builddir).
1953 (thread_headers): Rename to...
1954 (thread_target_headers): ...this.
1955 (stamp-thread): Remove.
1956 (stamp-target): Correctly state the position as built.
1957 Update all dependencies to match the new reality. Remove all
1958 dependency calculations on directories.
1959 * include/Makefile.in: Rebuilt.
1961 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
1963 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
1964 * include/bits/fstream.tcc: Same.
1965 * include/bits/sstream.tcc: Same.
1966 * include/bits/ostream.tcc: Same.
1967 * include/bits/istream.tcc: Same.
1968 * include/bits/streambuf.tcc: Same.
1969 * include/bits/basic_ios.tcc: Same.
1970 * include/bits/basic_string.tcc: Same.
1972 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
1974 * include/std/std_iosfwd.h: Don't guard typedefs with
1975 _GLIBCPP_USE_WCHAR_T
1976 * include/bits/stringfwd.h: Same.
1978 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
1980 * src/locale.cc (moneypunct_byname): Remove definitions.
1981 * include/std/std_streambuf.h (streambuf::operator=): Return.
1983 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
1986 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
1987 explicit instantiation.
1988 (string::_Rep::_S_max_size): Same.
1989 * include/bits/basic_string.tcc: Add extern explicit
1990 instantiations for string, wstring.
1991 * include/bits/basic_ios.tcc: Add extern explicit instantiations
1993 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
1994 * include/bits/istream.tcc: Same, for istream, wistream.
1995 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
1997 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
1998 istringstream, wistringstream, ostringstream, wostringstream,
1999 stringstream, wstringstream.
2000 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
2001 wifstream, ofstream, wofstream, fstream, wfstream.
2002 * src/misc-inst.cc: Correct comments.
2003 Add iomanip instantiations for wide streams.
2004 * include/std/std_iomanip.h: Same.
2005 * include/bits/locale_facets.tcc: Same.
2007 * include/std/std_streambuf.h: Correct
2008 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
2009 * include/std/std_sstream.h: Same.
2010 * include/std/std_ostream.h: Same.
2011 * include/std/std_istream.h: Same.
2012 * include/std/std_fstream.h: Same.
2014 * include/std/std_streambuf.h: Add definitions for private copy
2015 ctor and assignment operator.
2016 * include/std/std_istream.h: Remove declared but undefined copy
2017 ctor and assignment operator. This is taken care of in ios_base,
2018 so adding it in the derived class as well is superfluous.
2019 * include/std/std_ostream.h: Same.
2021 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
2022 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
2024 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
2026 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
2027 Add typeinfo bits. Smooth.
2028 * aclocal.m4: Regenerate.
2030 * src/Makefile.in: Same.
2032 2001-02-14 Joel Sherrill <joel@OARcorp.com>
2034 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
2035 which do not have a CAS instruction.
2037 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
2039 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
2040 * configure.in: Call it.
2041 * config/linker-map.gnu: New file, initial incomplete revision.
2042 * src/Makefile.am: Optionally pass version script to the linker.
2043 * aclocal.m4: Regenerate.
2044 * configure: Regenerate.
2045 * src/Makefile.in: Regenerate.
2047 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
2049 * src/localename.cc: Remove stdexcept include.
2050 * src/locale-inst.cc: Same.
2051 * src/locale.cc: Same.
2052 * src/functexcept.cc: Remove string includes.
2053 * include/std/std_bitset.h: Remove stdexcept include.
2054 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
2055 * testsuite/23_containers/bitset_ctor.cc: Same.
2057 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
2059 * include/bits/stl_algo (__stl_threshold): Declare external.
2060 (__stl_chunk_size): Same.
2061 * include/bits/stl_bvector.h (__WORD_BIT): Same.
2062 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
2063 (_S_rb_tree_black): Same.
2064 * src/stl-inst.cc (__stl_threshold): Define.
2065 (__stl_chunk_size): Same.
2067 (_S_rb_tree_red): Same.
2068 (_S_rb_tree_black): Same.
2070 * config/io/basic_file_libio.h (__basic_file): Add declarations.
2071 * include/bits/basic_file.h: Remove.
2072 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
2073 Declare generic types, specialization.
2074 * config/io/basic_file_stdio.cc: Definitions.
2075 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
2076 Declare generic types.
2077 * include/Makefile.am (bits_headers): Remove basic_file.h.
2078 (extra_target_headers): Change basic_file_model.h to basic_file.h.
2079 (stamp-target): Same.
2081 * include/bits/stl_alloc.h: Tweaks.
2082 * include/bits/localefwd.h: Same.
2084 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
2086 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
2087 * testsuite/22_locale/collate_members_char.cc (test03): New test.
2088 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
2090 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
2092 * include/bits/stl_algo.h (transform (both signatures), generate_n):
2093 Use __typeof__ in concept checks.
2095 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
2097 * include/bits/stl_algo.h (__median, for_each, find, find_if,
2098 adjacent_find, count, count_if, search, search_n, swap_ranges,
2099 transform, replace, replace_if, replace_copy, replace_copy_if,
2100 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
2101 unique, unique_copy, reverse, reverse_copy): Doxygenate.
2103 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
2105 * include/bits/locale_facets.h
2106 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
2107 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
2108 (__timepunct<_CharT>::_M_put_helper): Same.
2109 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
2111 * include/bits/fstream.tcc (filebuf::underflow): Remove
2112 __codecvt_type typedef.
2113 (filebuf::_M_convert_to_external): Same.
2115 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
2117 * docs/doxygen/TODO: Update.
2118 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
2119 * docs/doxygen/mainpage.html: Add TODO list link.
2120 * docs/doxygen/user.cfg.in: Add @doctodo hook.
2121 * docs/doxygen/tables.html: New file, emoty structure only.
2123 * include/bits/stl_iterator.h: Doxygenate just about everything.
2124 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
2125 * include/bits/stl_iterator_base_types.h: Add notes.
2127 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
2129 * include/bits/stl_map.h: Tweak doxygen markup.
2130 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
2131 * include/bits/stl_vector.h: Likewise.
2133 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
2137 * include/std/std_fstream.h (filebuf::__file_type): Change to
2139 (filebuf::_M_convert_to_external): Declare.
2140 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
2141 codecvt bits for wide streams.
2142 (filebuf::_M_really_overflow): Use it.
2143 (filebuf::underflow): Use codecvt.
2144 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2145 (codecvt<__enc_traits>::do_out): Deal with partial.
2146 (codecvt<__enc_traits>::do_encoding): Return something useful.
2147 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
2149 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
2150 Change expected encoding output.
2152 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
2155 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
2156 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
2158 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
2159 (basic_ios::widen): Same.
2161 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
2163 * testsuite/22_locale/money_get_members_char.cc:
2164 Add comment, tidy up.
2165 (test01): more "en_HK" tests (without showbase).
2166 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
2168 2002-02-06 Loren Rittle <ljrittle@acm.org>
2170 * config/locale/c_locale_generic.cc: Do not trust
2171 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
2174 2002-02-06 Loren Rittle <ljrittle@acm.org>
2176 * acinclude.m4: Add C++ linkage check for strtof.
2177 * aclocal.m4: Rebuilt.
2178 * config.h.in: Rebuilt.
2179 * configure: Rebuilt.
2180 * config/locale/c_locale_generic.cc: Conditionally include
2181 <ieeefp.h>. Improve handling and error checking of float
2182 and long double input for non-C99 configurations.
2184 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
2186 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2187 In case money_base::symbol deal properly with multi-char sign
2188 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
2189 * testsuite/22_locale/money_get_members_char.cc: Add test07.
2190 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
2192 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
2194 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2195 First construct a tentative returned string, then, only if the
2196 parsing succeeds, copy it into the string passed by reference.
2197 * testsuite/22_locale/money_get_members_char.cc: Add test06.
2198 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
2200 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
2202 * docs/doxygen/TODO: Impl-defined behavior now documented...
2203 * docs/html/17_intro/howto.html: ...here.
2204 * docs/doxygen/mainpage.doxy: Remove, rename...
2205 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
2206 * docs/doxygen/style.css: Add small text.
2207 * docs/doxygen/run_doxygen: Adjust for new mainpage.
2208 * docs/doxygen/user.cfg.in: Likewise.
2210 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
2212 * include/bits/stl_map.h: Initial doxygen markup.
2213 * include/std/std_fstream.h: Initial doxygen markup.
2215 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
2218 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2219 Deal correctly with !(__io.flags() & ios_base::showbase)
2220 for case money_base::symbol.
2221 * testsuite/22_locale/money_get_members_char.cc: Add test05.
2222 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
2224 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
2226 * testsuite/22_locale/operators.cc
2227 (gnu_collate::do_compare()): Add return statement to
2228 suppress "no return statement" warning.
2230 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
2232 * testsuite/27_io/ostream_manip.cc: Enable test02.
2234 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
2236 * docs/html/documentation.html: Update for 3.0.96.
2237 * docs/html/faq/index.html: Update for 3.0.96.
2238 * docs/html/faq/index.txt: Regenerated.
2239 * docs/doxygen/TODO: Update notes.
2240 * docs/html/17_intro/howto.html: Initial impl-specific listing.
2242 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
2244 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2245 Initialize all data members in copy ctor. Make ctors explicit.
2246 (__enc_traits::__enc_traits()): Default ctor does nothing.
2247 (__enc_traits::_M_init): Guard against multiple iconv_opens.
2248 * include/std/std_sstream.h (basic_stringbuf): Make data members
2250 * include/std/std_fstream.h (basic_filebuf): Same.
2251 * include/std/std_streambuf.h: Tweak.
2252 * include/bits/streambuf.tcc: Same.
2253 * include/bits/sstream.tcc: Same.
2254 * include/bits/fstream.tcc: Same.
2256 2002-01-31 Loren Rittle <ljrittle@acm.org>
2258 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
2259 allow NULL argument to be passed to setenv().
2260 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
2261 * testsuite/22_locale/collate_members_char.cc: Likewise.
2262 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
2263 * testsuite/22_locale/ctype_members_char.cc: Likewise.
2264 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
2265 * testsuite/22_locale/messages_members_char.cc: Likewise.
2266 * testsuite/22_locale/money_get_members_char.cc: Likewise.
2267 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
2268 * testsuite/22_locale/money_put_members_char.cc: Likewise.
2269 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2270 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
2271 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
2272 * testsuite/22_locale/num_get_members_char.cc: Likewise.
2273 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
2274 * testsuite/22_locale/num_put_members_char.cc: Likewise.
2275 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
2276 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
2277 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
2278 * testsuite/22_locale/time_get_members_char.cc: Likewise.
2279 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
2280 * testsuite/22_locale/time_put_members_char.cc: Likewise.
2281 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
2283 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
2285 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
2287 * ChangeLog-2001: Fix spelling errors...
2288 * docs/html/17_intro/RELEASE-NOTES: Update.
2289 * docs/html/17_intro/TODO: Update.
2290 * README (file): Update.
2292 2002-01-30 Loren Rittle <ljrittle@acm.org>
2294 * config/locale/c_locale_generic.cc: Check errno for ERANGE
2295 instead of non-zero to aid portability.
2297 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2299 * docs/html/22_locale/messages.html: Fix example code.
2301 2002-01-30 Richard Henderson <rth@redhat.com>
2303 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
2304 out from test03 and templatize.
2307 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
2309 * config/locale/numpunct_members_gnu.cc
2310 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
2311 Fix initialization of _M_grouping for locales which have
2312 _M_thousands_sep == '\0'(L'\0', respectively).
2313 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
2315 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
2317 * testsuite/27_io/ostream_inserter_arith.cc (test03):
2318 Better fix for 32/64 bit architectures, avoiding the
2319 implicit assumption that CHAR_BIT == 8.
2321 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
2323 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
2324 * Makefile.in: Regenerate.
2326 * docs/doxygen/run_doxygen: Update, mostly for man pages.
2327 * docs/doxygen/Intro.3: Update.
2328 * docs/doxygen/TODO: Update.
2329 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
2330 * docs/doxygen/mainpage.doxy: Update.
2331 * docs/doxygen/user.cfg.in: Update for header rename. Also
2332 regenerate comments and variables with 1.2.12.
2333 * docs/doxygen/maint.cfg.in: Remove file.
2335 * include/bits/stl_relops.h: Doxygenate.
2336 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
2338 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
2339 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
2340 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
2341 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
2342 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
2343 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
2344 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
2345 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
2346 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
2347 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
2348 include/ext/hash_set, include/ext/iterator, include/ext/memory,
2349 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
2350 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
2351 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
2352 include/std/std_algorithm.h, include/std/std_bitset.h,
2353 include/std/std_complex.h, include/std/std_deque.h,
2354 include/std/std_fstream.h, include/std/std_functional.h,
2355 include/std/std_iomanip.h, include/std/std_ios.h,
2356 include/std/std_iosfwd.h, include/std/std_iostream.h,
2357 include/std/std_istream.h, include/std/std_iterator.h,
2358 include/std/std_limits.h, include/std/std_list.h,
2359 include/std/std_locale.h, include/std/std_map.h,
2360 include/std/std_memory.h, include/std/std_numeric.h,
2361 include/std/std_ostream.h, include/std/std_queue.h,
2362 include/std/std_set.h, include/std/std_sstream.h,
2363 include/std/std_stack.h, include/std/std_stdexcept.h,
2364 include/std/std_streambuf.h, include/std/std_string.h,
2365 include/std/std_utility.h, include/std/std_valarray.h,
2366 include/std/std_vector.h: Add/correct @file doxygen hook.
2368 * include/ext/memory: Doxygenate most of rest of file.
2369 * libsupc++/exception: Doxygen output formatting.
2370 * libsupc++/new: Say which header it is.
2372 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
2373 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
2374 * docs/html/23_containers/howto.html: Describe O(n) list::size().
2375 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
2377 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
2378 Charles Leggett <CGLeggett@lbl.gov>
2380 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
2382 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
2384 * testsuite/27_io/ostream_inserter_arith.cc (test03):
2385 Fix to deal correctly with both 32 bit and 64 bit architectures
2387 2002-01-25 Loren Rittle <ljrittle@acm.org>
2389 * testsuite/thread/pthread1.cc: Use one condition variable
2390 per predicate instead of tricky use of one condition variable.
2392 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
2394 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
2396 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
2397 * testsuite/27_io/filebuf.cc: Compile only.
2398 * testsuite/27_io/filebuf_members.cc: Move tests to here.
2399 * testsuite/27_io/filebuf_virtuals.cc: And here.
2400 Revert sungetc, sync changes for expected values.
2401 * testsuite/27_io/filebuf-*: Move to...
2402 * testsuite/27_io/filebuf_virtuals-*: ...here.
2403 * testsuite/27_io/istream.cc: Compile only, activate.
2404 * testsuite/27_io/ostream.cc: Same.
2405 * testsuite/27_io/iostream.cc: New.
2406 * testsuite/27_io/iostream_members.cc: New.
2408 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
2410 * testsuite/thread/pthread1.cc: Enable on cygwin.
2411 * testsuite/thread/pthread2.cc: Likewise.
2412 * testsuite/thread/pthread3.cc: Likewise.
2413 * testsuite/thread/pthread4.cc: Likewise.
2414 * testsuite/thread/pthread5.cc: Likewise.
2415 * testsuite/thread/pthread6.cc: Likewise.
2417 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
2419 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
2421 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
2423 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
2425 (basic_ios::fill(char_type)): Use fill().
2426 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
2427 (basic_ios::narrow): Same.
2428 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
2429 if they are invalid.
2430 (basic_ios::init): Comment.
2431 * testsuite/27_io/ios_init.cc (test02): New.
2433 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
2435 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
2436 * include/bits/stl_algo.h: Include stl_tempbuf.h.
2437 * include/ext/memory: Do not include stl_tempbuf.h.
2438 (temporary_buffer): Add doxygen hook.
2439 (__get_temporary_buffer, get_temporary_buffer,
2440 return_temporary_buffer): Move back to std:: header...
2441 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
2442 * include/ext/rope: Do not include stl_tempbuf.h.
2443 * include/ext/stl_hashtable.h: Likewise.
2444 * include/std/std_algorithm.h: Likewise.
2445 * testsuite/20_util/temporary_buffer.cc: New file.
2447 2002-01-24 andrew@andypo.net
2448 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
2451 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
2452 * include/bits/localefwd.h: Likewise.
2453 Also use for std::locale::id::_S_highwater.
2454 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
2455 * src/locale.cc: Support new usage of _Atomic_word.
2456 (std::locale::classic): Guard entire function against reentry.
2457 * src/localename.cc: Support new usage of _Atomic_word.
2459 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
2461 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
2462 _GLIBCPP_HAVE_SETENV.
2463 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
2464 * testsuite/22_locale/collate_members_char.cc (test02): Same.
2465 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
2466 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
2467 * testsuite/22_locale/messages_members_char.cc (test02): Same.
2468 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
2469 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
2470 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
2471 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
2472 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
2473 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
2474 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
2475 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
2476 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
2477 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
2478 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
2479 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
2480 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
2481 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
2482 * aclocal.m4: Regenerate.
2483 * configure: Regenerate.
2484 * config.h.in: Regenerate.
2486 2002-01-23 Loren Rittle <ljrittle@acm.org>
2488 * testsuite/thread/pthread1.cc: New test.
2489 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
2490 * testsuite/thread/pthread3.cc: Likewise.
2491 * testsuite/thread/pthread4.cc: New test adapted from
2492 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
2493 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
2494 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
2496 2002-01-23 Richard Henderson <rth@redhat.com>
2499 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
2500 CAS on the cpu variants that support it. Add versions that use
2501 TAS and that disable interrupts.
2502 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
2504 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
2506 * include/bits/locale_facets.tcc: Remove old comments.
2508 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
2510 * include/bits/locale_facets.tcc (__convert_to_v): Change template
2512 (__convert_from_v): Same.
2514 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
2516 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
2518 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
2519 __max_digits checks, adjust arguments.
2520 (num_get::do_get(*)): Changeup.
2522 2002-01-23 Loren Rittle <ljrittle@acm.org>
2524 * config/locale/c_locale_generic.cc: Fix typename usage.
2526 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2528 * config/locale/c_locale_generic.cc: Fix.
2530 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2532 * docs/html/22_locale/messages.html: Remove angle brackets.
2533 * docs/html/17_intro/TODO: Add.
2535 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
2537 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
2538 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
2539 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
2540 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
2542 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2544 Audit for LANG independence.
2545 * include/bits/localefwd.h: Tweaks.
2546 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
2548 (time_get::do_get_year): Same.
2549 (__convert_from_v): Add.
2550 (num_put::_M_convert_float): Use.
2551 (num_put::_M_convert_int): Same.
2552 (money_put::do_put): Same.
2554 * src/locale-inst.cc: Add instantiations for __convert_from_v.
2555 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
2556 * config/locale/time_members_generic.cc:
2557 * config/locale/messages_members_gnu.cc: Same.
2558 * config/locale/messages_members_gnu.h: Same.
2560 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
2561 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
2562 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
2563 * testsuite/22_locale/collate_members_char.cc (test02): New.
2564 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
2565 * testsuite/22_locale/ctype_members_char.cc (test03): New.
2566 * testsuite/22_locale/messages_members_char.cc (test02): New.
2567 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
2568 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
2569 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
2570 * testsuite/22_locale/money_get_members_char.cc (test04): New.
2571 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
2572 * testsuite/22_locale/money_put_members_char.cc (test04): New.
2573 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
2574 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
2575 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
2576 * testsuite/22_locale/time_put_members_char.cc (test03): New.
2577 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
2578 * testsuite/22_locale/time_get_members_char.cc (test07): New.
2579 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
2580 * testsuite/22_locale/num_get_members_char.cc (test03): New.
2581 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
2582 * testsuite/22_locale/num_put_members_char.cc (test03): New.
2584 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
2586 * testsuite/22_locale/time_get_members_char.cc: Same.
2588 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2591 * include/bits/localefwd.h: Tweak comments.
2592 * include/bits/locale_facets.h (__convert_to_v): Add.
2593 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
2594 (num_get::do_get(float)): Same.
2595 (num_get::do_get(long double)): Same.
2596 (num_get::do_get(bool)): Same.
2597 (num_get::do_get(long)): Same.
2598 (num_get::do_get(long long)): Same.
2599 (num_get::do_get(unsigned int)): Same.
2600 (num_get::do_get(unsigned short)): Same.
2601 (num_get::do_get(unsigned long)): Same.
2602 (num_get::do_get(unsigned long long)): Same.
2603 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
2604 * config/locale/c_locale_generic.cc: Same.
2606 2002-01-22 Loren Rittle <ljrittle@acm.org>
2608 * include/Makefile.am (c_base_builddir): Remove redundant slash.
2609 (std_builddir): Likewise.
2610 (std_headers_rename): Fix cut-n-paste typo.
2611 (install-data-local): Concat path per element instead of once to
2612 first element of list.
2613 * include/Makefile.in: Rebuilt.
2615 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2617 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
2618 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
2619 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
2621 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
2623 * include/bits/locale_facets.h (ctype<char>::classic_table):
2625 (ctype<char>::_S_ctable): Remove.
2626 * config/os/gnu-linux/bits/ctype_noninline.h
2627 (ctype<char>::_S_table): Remove definition.
2628 (ctype<char>::classic_table): Define.
2629 (ctype<char>::ctype): Replace _S_ctable with classic_table().
2630 * config/os/aix/bits/ctype_noninline.h: Same.
2631 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
2632 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
2633 * config/os/djgpp/bits/ctype_noninline.h: Same.
2634 * config/os/generic/bits/ctype_noninline.h: Same.
2635 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
2636 * config/os/hpux/bits/ctype_noninline.h: Same.
2637 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
2638 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
2639 * config/os/mingw32/bits/ctype_noninline.h: Same.
2640 * config/os/newlib/bits/ctype_noninline.h: Same.
2641 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2642 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2643 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2645 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
2647 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
2648 of _pctype. Use to define _S_ctable. Add definition for alternate
2649 ctor. Initialise _M_ctable to _S_ctable in ctors.
2650 (do_toupper, do_tolower): Use inline code appropriate for C-locale
2651 rather than ::toupper, ::tolower.
2653 2002-01-18 Loren Rittle <ljrittle@acm.org>
2655 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
2656 Add specialization for FreeBSD systems only to avoid losing test
2657 only due to extra precision unmentioned in system headers.
2659 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
2661 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
2663 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
2665 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
2666 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
2668 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2670 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
2672 2002-01-17 David Edelsohn <edelsohn@gnu.org>
2674 * configure.target: Define OPT_LDFLAGS for AIX case.
2676 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2678 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
2679 __glibcpp_double_has_quiet_NaN): Correct mispelling.
2681 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
2683 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
2685 2002-01-16 David Edelsohn <dje@watson.ibm.com>
2687 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
2688 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
2689 * aclocal.m4: Regenerate.
2690 * configure: Regenerate.
2692 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
2694 * include/Makefile.am (c_base_headers_rename): New.
2695 (c_base_headers_extra): New.
2696 (stamp-c_base): Modify.
2697 (install-data-local): Use both.
2698 * include/Makefile.in: Regenerate.
2699 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
2700 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
2701 cstdio ctime cwctype]: Move to..
2702 * include/c/std_*: Here.
2703 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
2704 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
2705 cstdio ctime cwctype]: Move to..
2706 * include/c_std/std_*: Here.
2708 Alexandre Oliva <aoliva@redhat.com>
2709 * include/Makefile.am (.PRECIOUS): Add rule.
2710 * include/Makefile.in: Regenerate.
2712 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
2713 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2715 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
2716 Deuglify, should be current.
2717 (back_insert_iterator::_M_container): Deuglify, should be container.
2718 (front_insert_iterator::_M_container): Same.
2719 (insert_iterator::_M_container): Same.
2720 * testsuite/24_iterators/reverse_iterator.cc: Add check.
2721 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
2722 * testsuite/24_iterators/front_insert_iterator.cc: Same.
2723 * testsuite/24_iterators/insert_iterator.cc: Same.
2725 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
2727 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
2729 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
2730 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
2731 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2732 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2733 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2734 * config/os/newlib/bits/ctype_noninline.h: Same.
2735 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
2736 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
2737 * config/os/hpux/bits/ctype_noninline.h: Same.
2738 * config/os/djgpp/bits/ctype_noninline.h: Same.
2739 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
2740 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
2741 * config/os/aix/bits/ctype_noninline.h: Same.
2743 Testcase by Dietmar Kühl via Peter Schmid
2744 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
2747 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
2749 * libmath/signbitl.c: Copyright years as list, not range.
2750 * libmath/Makefile.am: Same.
2751 * libmath/Makefie.in: Regenerate.
2752 * libmath/signbit.c: Same.
2753 * libmath/nan.c: Same.
2754 * libmath/copysignf.c: Same.
2755 * libmath/signbitf.c: Same.
2756 * testsuite/22_locale/money_get_members_char.cc: Same.
2757 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
2758 * testsuite/22_locale/money_put_members_char.cc: Same.
2759 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
2760 * testsuite/22_locale/time_get_members_char.cc: Same.
2761 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
2762 * testsuite/22_locale/time_put_members_char.cc: Same.
2763 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
2764 * testsuite/21_strings/nonmember.cc: Same.
2765 * testsuite/21_strings/compare.cc: Same.
2766 * testsuite/27_io/stringstream.cc: Same.
2767 * testsuite/27_io/stringbuf.cc: Same.
2768 * testsuite/27_io/filebuf.cc: Same.
2769 * testsuite/27_io/ios_manip_basefield.cc: Same.
2770 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
2771 * include/bits/cpp_type_traits.h: Same.
2772 * include/bits/generic_shadow.h: Same.
2773 * include/bits/gslice_array.h: Same.
2774 * include/bits/gslice.h: Same.
2775 * include/bits/indirect_array.h: Same.
2776 * include/bits/slice_array.h: Same.
2777 * include/bits/sstream.tcc: Same.
2778 * include/bits/streambuf_iterator.h: Same.
2779 * include/bits/valarray_array.tcc: Same.
2780 * include/bits/valarray_meta.h: Same.
2781 * include/bits/valarray_array.h: Same.
2782 * config/os/mingw32/bits/ctype_noninline.h: Same.
2783 * config/os/mingw32/bits/ctype_base.h: Same.
2784 * config/os/hpux/bits/ctype_noninline.h: Same.
2785 * config/os/hpux/bits/ctype_base.h: Same.
2786 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
2787 * config/os/gnu-linux/bits/ctype_base.h: Same.
2788 * config/os/generic/bits/ctype_noninline.h: Same.
2789 * config/os/generic/bits/ctype_base.h: Same.
2791 * libsupc++/tinfo.h: Tweaks.
2793 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
2795 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
2796 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
2797 * testsuite/22_locale/ctype_members_char.cc: Tweak.
2799 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
2801 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
2802 (num_put::do_put(void*)): Fix.
2803 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
2804 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
2805 * testsuite/22_locale/num_get_members_char.cc (test02): Add
2806 long double, void, bool types.
2807 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
2809 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
2810 Alexandre Oliva <aoliva@redhat.com>
2812 * libmath/Makefile.am (LINK): Add --tag CC.
2813 * libmath/Makefile.in: Regenerate.
2815 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
2817 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
2818 of character to attribute mapping table.
2820 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
2822 * testsuite/26_numerics/c99_classification_macros_c.cc
2823 Remove dg-error and dg-excess-errors comments.
2825 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
2827 * include/bits/locale_facets.tcc (time_put::put): Correct output
2829 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
2830 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
2831 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
2832 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
2834 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
2836 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
2838 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
2839 Nathan Myers <ncm@cantrip.org>
2841 * include/bits/basic_string.h
2842 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
2843 temporaries (i.e., call _M_replace_safe) when possible.
2844 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
2845 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
2846 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
2847 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
2848 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
2849 * include/bits/basic_string.tcc
2850 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
2851 replace(__pos, __n1, __s, __n2).
2852 * testsuite/21_strings/replace.cc (test03): New testcases.
2854 * include/bits/basic_string.h (insert(__pos, __s, __n)):
2855 Adjust comparison wrt overflow.
2857 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
2859 * include/Makefile.am (std_headers_rename): New variable.
2860 (install-data-local): Use it.
2861 * include/Makefile.in: Regenerate.
2863 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
2865 * include/bits/locale_facets.tcc (money_put::do_put(string):
2866 Correct output iterator value.
2867 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
2868 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
2870 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
2872 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
2875 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
2877 * include/Makefile.am (std_headers): Update list with new names.
2878 (stamp-std): Link to standardized name.
2879 * include/Makefile.in: Regenerate.
2881 * include/std/algorithm, include/std/bitset, include/std/complex,
2882 include/std/deque, include/std/fstream, include/std/functional,
2883 include/std/iomanip, include/std/ios, include/std/iosfwd,
2884 include/std/iostream, include/std/istream, include/std/iterator,
2885 include/std/limits, include/std/list, include/std/locale,
2886 include/std/map, include/std/memory, include/std/numeric,
2887 include/std/ostream, include/std/queue, include/std/set,
2888 include/std/sstream, include/std/stack, include/std/stdexcept,
2889 include/std/streambuf, include/std/string, include/std/utility,
2890 include/std/valarray, include/std/vector: Rename to...
2892 * include/std/std_algorithm.h, include/std/std_bitset.h,
2893 include/std/std_complex.h, include/std/std_deque.h,
2894 include/std/std_fstream.h, include/std/std_functional.h,
2895 include/std/std_iomanip.h, include/std/std_ios.h,
2896 include/std/std_iosfwd.h, include/std/std_iostream.h,
2897 include/std/std_istream.h, include/std/std_iterator.h,
2898 include/std/std_limits.h, include/std/std_list.h,
2899 include/std/std_locale.h, include/std/std_map.h,
2900 include/std/std_memory.h, include/std/std_numeric.h,
2901 include/std/std_ostream.h, include/std/std_queue.h,
2902 include/std/std_set.h, include/std/std_sstream.h,
2903 include/std/std_stack.h, include/std/std_stdexcept.h,
2904 include/std/std_streambuf.h, include/std/std_string.h,
2905 include/std/std_utility.h, include/std/std_valarray.h,
2906 include/std/std_vector.h: ...this.
2908 2002-01-11 Loren Rittle <ljrittle@acm.org>
2910 * include/Makefile.am (extra_target_headers): New list of all
2911 target files built with ad hoc naming rules.
2912 (stamp-*): Handle LN_S failure in manner portable across make
2914 (install-data-local): Install header files from human-maintained
2915 file lists and directory components instead of non-robust find.
2916 * include/Makefile.in: Rebuilt.
2918 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
2920 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2921 Check for zero-length negative sign before adding it to output
2923 (money_get::do_get(long double)): Return beg.
2924 * testsuite/22_locale/money_get_members_char.cc (test02): Add
2926 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
2928 2002-01-10 David Seymour <seymour_dj@yahoo.com>
2931 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
2932 for _M_extract_float and _M_extract_int
2933 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
2934 (num_get<>::_M_extract_int): Likewise, all callers changed
2935 * testsuite/22_locale/num_get_members_char.cc: Testcase
2937 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
2939 * libsupc++/exception (bad_exception): Add comment.
2940 * libsupc++/new (bad_alloc): Same.
2941 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
2943 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
2945 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
2946 that the destructors should be removed from the descriptions
2947 in the standard: writing them explicitly allows the vtable
2948 heuristic to work. For additional information see:
2949 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
2950 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
2951 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
2952 * libsupc++/exception (bad_exception::~bad_exception()):
2953 Reintroduce declaration.
2954 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
2955 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
2956 (bad_typeid::~bad_typeid()): Same.
2957 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
2958 Reintroduce definition.
2959 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
2960 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
2961 (bad_typeid::~bad_typeid()): Same.
2963 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
2965 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
2966 * include/Makefile.in: Regenerate.
2968 2002-01-09 Bo Thorsen <bo@suse.co.uk>
2970 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
2973 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
2977 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
2978 return value of _M_file->sync().
2979 (filebuf::showmanyc): Check for is_open.
2980 * include/std/fstream (filebuf::sync): Tweak.
2981 * testsuite/27_io/filebuf.cc: Tweak.
2983 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
2984 Brad Garcia <garsh@attbi.com>
2986 * testsuite/27_io/filebuf_members.cc: Add test.
2988 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
2989 Craig Rodrigues <rodrigc@mediaone.net>
2992 * po/Makefile.am (mkinstalldirs): Add.
2993 * po/Makefile.in: Regenerate.
2995 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
2997 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
2998 testsuite/lib/prune.exp: Delete lines ":In function ..." from
3000 * testsuite/23_containers/map_operators.cc: Remove
3001 dg-excess-errors comment.
3002 * testsuite/23_containers/set_operators.cc: Likewise.
3004 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
3006 * include/bits/stl_function.h: Remove two lines of comments;
3007 adjust copyright years.
3009 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
3011 * include/Makefile.am (std_headers): Remove cXXX from list.
3012 (c_base_srcdir): No bits subdirectory.
3013 (c_base_builddir): Same.
3014 (c_base_headers): Adjust names, add ciso646.
3015 (bits_headers): Remove std_xxx.h headers.
3016 * include/Makefile.in: Regenerate.
3018 * include/ext/iterator: Adjust includes.
3019 * include/ext/ropeimpl.h: Same.
3020 * include/ext/stl_hash_fun.h: Same.
3021 * include/ext/algorithm: Same.
3023 * include/backward/bvector.h: Adjust includes.
3024 * include/backward/vector.h: Same.
3025 * include/backward/strstream: Same.
3026 * include/backward/streambuf.h: Same.
3027 * include/backward/stack.h: Same.
3028 * include/backward/set.h: Same.
3029 * include/backward/queue.h: Same.
3030 * include/backward/multiset.h: Same.
3031 * include/backward/multimap.h: Same.
3032 * include/backward/map.h: Same.
3033 * include/backward/list.h: Same.
3034 * include/backward/iterator.h: Same.
3035 * include/backward/iostream.h: Same.
3036 * include/backward/iomanip.h: Same.
3037 * include/backward/fstream.h: Same.
3038 * include/backward/deque.h: Same.
3039 * include/backward/complex.h: Same.
3041 * include/bits/std_algorithm.h: Move to...
3042 * include/std/algorithm: ...here.
3043 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
3044 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
3045 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
3046 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
3047 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
3048 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
3049 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
3052 * include/c_std/bits/std_cassert.h: Move to...
3053 * include/c_std/cassert: Here.
3054 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
3055 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3056 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3057 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3058 std_cwctype.h: Same.
3059 * include/c_std/cmath: Adjust cmath.tcc include.
3060 * include/c_std/cstdlib: Adjust includes.
3061 * include/c_std/cwchar: Same.
3062 * include/c_std/ctime: Same.
3063 * include/c_std/cstring: Same.
3064 * include/c_std/cstdio: Same.
3065 * include/c_std/bits: Remove directory.
3067 * include/c/bits/std_cassert.h: Move to...
3068 * include/c/cassert: Here.
3069 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
3070 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3071 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3072 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3073 std_cwctype.h: Same.
3074 * include/c/bits: Remove directory.
3076 * include/std/cwctype: Remove.
3077 * include/std/cwchar: Remove.
3078 * include/std/ctime: Remove.
3079 * include/std/cstring: Remove.
3080 * include/std/cstdlib: Remove.
3081 * include/std/cstdio: Remove.
3082 * include/std/cstddef: Remove.
3083 * include/std/cstdarg: Remove.
3084 * include/std/csignal: Remove.
3085 * include/std/csetjmp: Remove.
3086 * include/std/cmath: Remove.
3087 * include/std/clocale: Remove.
3088 * include/std/climits: Remove.
3089 * include/std/ciso646: Remove.
3090 * include/std/cfloat: Remove.
3091 * include/std/cerrno: Remove.
3092 * include/std/cctype: Remove.
3093 * include/std/cassert: Remove.
3095 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
3096 files and subsituting <xxx>.
3097 * include/bits/valarray_array.h: Same.
3098 * include/bits/stl_uninitialized.h: Same.
3099 * include/bits/stl_alloc.h: Same.
3100 * include/bits/stl_algobase.h: Same.
3101 * include/bits/sstream.tcc: Same.
3102 * include/bits/pthread_allocimpl.h: Same.
3103 * include/bits/ostream.tcc: Same.
3104 * include/bits/localefwd.h: Same.
3105 * include/bits/locale_facets.tcc: Same.
3106 * include/bits/locale_facets.h: Same.
3107 * include/bits/istream.tcc: Same.
3108 * include/bits/char_traits.h: Same.
3109 * include/bits/boost_concept_check.h: Same.
3110 * include/bits/basic_file.h: Same.
3111 * include/std/bitset: Same.
3112 * include/std/complex: Same.
3113 * include/std/fstream: Same.
3114 * include/std/functional: Same.
3115 * include/std/ios: Same.
3116 * include/std/iostream: Same.
3117 * include/std/ostream: Same.
3118 * include/std/sstream: Same.
3119 * include/std/streambuf: Same.
3120 * include/std/string: Same.
3121 * include/std/iterator: Same.
3122 * include/std/valarray: Same.
3124 * src/ios.cc: Adjust includes.
3125 * src/valarray-inst.cc: Same.
3126 * src/string-inst.cc: Same.
3127 * src/stl-inst.cc: Same.
3128 * src/stdexcept.cc: Same.
3129 * src/misc-inst.cc: Same.
3130 * src/localename.cc: Same.
3131 * src/locale-inst.cc: Same.
3132 * src/locale.cc: Same.
3133 * src/limits.cc: Same.
3134 * src/concept-inst.cc: Same.
3135 * src/complex_io.cc: Same.
3136 * src/codecvt.cc: Same.
3137 * src/bitset.cc: Same.
3138 * src/cmath.cc: Same.
3140 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
3142 * include/bits/stl_tree.h (rb_tree): Move to...
3143 * include/ext/rb_tree: ...here, new file.
3144 * include/Makefile.am (ext_headers): Add new file.
3145 * include/Makefile.in: Regenerate.
3146 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
3147 return_temporary_buffer, struct temporary_buffer): Move to...
3148 * include/ext/memory: ...here.
3149 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
3150 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
3151 * include/backward/tree.h: Include <ext/rb_tree), tweak.
3153 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
3155 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
3156 * include/ext/numeric: ...here, new file.
3157 * include/bits/stl_function.h (identity_element, unary_compose,
3158 binary_compose, compose1, compose2, identity, select1st,
3159 select2nd, project1st + helper, project2nd + helper,
3160 constant_void_fun + helper, constant_unary_fun + helper,
3161 costant_binary_fun + helper, constant0, constant1, constant2,
3162 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
3163 * include/ext/functional: ...here, new file.
3164 * include/Makefile.am (ext_headers): Add new files.
3165 * include/Makefile.in: Regenerate.
3166 * testsuite/ext/headers.cc: Include <ext/numeric> and
3168 * include/backward/algo.h: Include <ext/numeric>, tweak.
3169 * include/backward/function.h: Include <ext/functional>, tweak.
3170 * include/ext/ropeimpl.h: Include <ext/numeric>.
3172 2002-01-03 Jeffrey A Law <law@redhat.com>
3174 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
3175 __strtoull declarations with __extension__.
3177 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
3179 * testsuite/lib/prune.exp: Correct regular expression for
3182 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
3184 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
3185 Change concept checks, as with lower_bound and PR 2054.
3186 * testsuite/ext/concept_checks.cc: Expand test to include those.
3188 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
3190 * include/bits/boost_concept_check.h: Import some changes from
3191 upsteam (Boost) version.
3193 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
3195 * include/bits/stl_algobase.h (copy_n + helpers,
3196 lexicographical_compare_3way + helpers): Move to...
3197 * include/ext/algorithm: ...here.
3198 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
3199 helpers): Move to...
3200 * include/ext/memory: ...here, new file.
3201 * include/Makefile.am (ext_headers): Add new file.
3202 * include/Makefile.in: Regenerate.
3203 * testsuite/ext/headers.cc: Include <ext/memory>.
3204 * include/backward/algobase.h: Include <ext/memory> and
3205 <ext/algorithm>, tweak.
3206 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
3207 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
3209 2002-01-01 Roger Sayle <roger@eyesopen.com>
3211 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
3212 equivalent ___builtin__ versions.
3214 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
3215 are available in libstdc++ as the necessary stub implementations
3216 are provided by libmath/stubs.c.
3218 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
3220 * configure.in: Add support for NetBSD cross compiles.
3221 * configure: Regenerate.