1 2002-06-28 Phil Edwards <pme@gcc.gnu.org>
3 PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
4 * include/std/std_queue.h: Include deque.tcc, vector.tcc.
5 * include/std/std_stack.h: Include deque.tcc.
6 * testsuite/23_containers/adaptors.cc: New file.
8 2002-06-27 Phil Edwards <pme@gcc.gnu.org>
10 * include/bits/stl_alloc.h: Deprecate all 'reallocate' memfns.
11 * docs/html/ext/howto.html: Update allocator notes.
13 2002-06-26 Benjamin Kosnik <bkoz@redhat.com>
15 * configure.in (INTERFACE): Remove.
16 (release_VERSION): Remove.
17 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
18 (libstdcxx_interface): Change. Use gcc methods to determine version.
19 * configure: Regenerate.
20 * aclocal.m4: Regenerate.
22 2002-06-25 DJ Delorie <dj@redhat.com>
24 * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
25 GLIBCPP_TOPREL_CONFIGURE.
26 * aclocal.m4: Likewise.
27 * configure.in: Call it before AC_CANONICAL_SYSTEM.
28 * configure: Regenerate.
30 2002-06-25 Jessica Han <jessica@cup.hp.com>
32 * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
33 * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
34 _GLIBCPP_VTABLE_PADDING is defined.
36 2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
38 * include/bits/stl_alloc.h: Additional formatting.
40 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
42 * include/bits/stl_alloc.h: Reformat as per C++STYLE.
44 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
46 * config/cpu/*/bits/*: Move header files up a level. Remove bits.
47 * config/os/*/bits/*: Likewise.
48 * configure.in: Update.
49 * configure: Regenerate.
50 * configure.target: Update.
51 * docs/html/17_intro/porting.texi: Update.
53 2002-06-21 Phil Edwards <pme@gcc.gnu.org>
55 * include/bits/stl_map.h, include/bits/stl_multimap.h,
56 include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
57 complete doxygenation.
58 * include/bits/boost_concept_check.h: Minor comment.
60 2002-06-21 Benjamin Kosnik <bkoz@redhat.com>
62 * include/c_compatibility: New.
63 * include/c_compatibility/assert.h: New.
64 * include/c_compatibility/ctype.h: New.
65 * include/c_compatibility/errno.h: New.
66 * include/c_compatibility/float.h: New.
67 * include/c_compatibility/iso646.h: New.
68 * include/c_compatibility/limits.h: New.
69 * include/c_compatibility/locale.h: New.
70 * include/c_compatibility/math.h: New.
71 * include/c_compatibility/setjmp.h: New.
72 * include/c_compatibility/signal.h: New.
73 * include/c_compatibility/stdarg.h: New.
74 * include/c_compatibility/stddef.h: New.
75 * include/c_compatibility/stdio.h: New.
76 * include/c_compatibility/stdlib.h: New.
77 * include/c_compatibility/string.h: New.
78 * include/c_compatibility/time.h: New.
79 * include/c_compatibility/wchar.h: New.
80 * include/c_compatibility/wctype.h: New.
82 * include/c/std_cerrno.h: Get out of the way... define errno.
83 * include/c/std_cmath.h: Add abs, modf overloads.
84 Undefine C99 isms. Still not sure how to deal with this sanely.
85 * include/c/std_csetjmp.h: Tweak.
86 * include/c/std_cwchar.h: Include cstddef for size_t.
88 * include/c_std/std_cmath.h: Remove extra function.
90 Pendantic std usage in testsuites.
91 * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
93 * testsuite/17_intro/header_cwchar.cc: Tweak.
94 * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
96 * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
97 * testsuite/22_locale/ctype_to_char.cc (test05): Same.
98 * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
99 * testsuite/22_locale/ctype_is_char.cc (test05): Same.
100 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
101 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
102 * testsuite/22_locale/time_get_members_char.cc (test08): Same.
103 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
104 * testsuite/22_locale/time_put_members_char.cc (test04): Same.
105 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
106 * testsuite/22_locale/num_put_members_char.cc (test04): Same.
107 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
108 * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
109 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
110 * testsuite/22_locale/num_get_members_char.cc: Same.
111 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
112 * testsuite/22_locale/money_put_members_char.cc (test07): Same.
113 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
114 * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
115 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
116 * testsuite/22_locale/money_get_members_char.cc (test08): Same.
117 * testsuite/22_locale/messages_members_char.cc (test03): Same.
118 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
119 * testsuite/22_locale/collate_members_char.cc (test04): Same.
120 * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
121 * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
122 * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
124 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
126 * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
129 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
131 * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
132 Use size_type instead of unsigned long.
134 2002-06-20 Steve Ellcey <sje@cup.hp.com>
136 * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
140 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
142 * include/Makefile.am: Add rules.
143 * include/Makefile.in: Regenerate.
145 * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
146 * aclocal.m4: Regenerate.
147 * configure: Regenerate.
148 * configure.target (c_model, c_compatibility): Add.
150 * libsupc++/Makefile.am (c_sources): New.
151 (libsupc___la_SOURCES): Add c_sources.
152 (LTCOMPILE): Remove INCLUDES.
154 (C_COMPILE): New, like COMPILE but without INCLUDES.
155 (cxa_demangle.o): Use C_COMPILE.
156 (dyn-string.o): Use C_COMPILE.
158 * include/c/std_cstdarg.h: Define __need___va_list.
159 * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
160 need_NULL, need_offsetof.
162 2002-06-19 Steve Ellcey <sje@cup.hp.com>
164 * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*): Remove
165 definitions in hpux11 cross-build because these functions do
166 not exist on hpux11 (but some exist on hpux10); move defaults out
167 into existing sections.
168 * configure: Regenerate.
170 2002-06-18 Benjamin Kosnik <bkoz@redhat.com>
172 * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
173 * include/c/std_cwctype.h: Guard.
175 * libsupc++/eh_alloc.cc: Tweak include order.
176 * libsupc++/pure.cc: Use cstdio.
177 * libsupc++/new_op.cc: Remove malloc forward declaration, as
178 cstdlib brings it in. Use std::malloc.
180 * src/Makefile.am (sources): Remove cmath.cc.
181 * src/Makefile.in: Regenerate.
182 * src/cmath.cc: Remove.
184 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
186 * configure.target: Force mips to use the generic cpu routines.
188 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
190 * configure.host: Delete file.
191 * configure.target: More documentation. Factor out common parts of
192 script into "intelligent" settings about defaults. Remove redundancy.
194 * acinclude.m4: Update comments. Do not call configure.host.
195 (GLIBCPP_ENABLE_SYMVERS): If disabled, do not bother checking for
197 * configure.in: Slight reformatting, more comments. Factor out
198 "config/" from all the directories.
199 * docs/html/17_intro/porting.texi: Update and expand.
200 * testsuite/Makefile.am (AM_RUNTESTFLAGS): Move empty setting
203 * aclocal.m4, configure, docs/html/17_intro/porting.html,
204 testsuite/Makefile.in: Regenerate.
206 2002-06-16 Phil Edwards <pme@gcc.gnu.org>
208 * docs/doxygen/TODO: Update.
209 * docs/doxygen/tables.html: Uncomment magical middle column.
210 * docs/doxygen/user.cfg.in: Kludge to ignore function-like macros.
211 * include/bits/stl_queue.h: Doxygenate and reformat.
212 * include/bits/ios_base.h, include/std/std_streambuf.h: Add comment
213 for deprecated names required by the standard.
215 2002-06-14 J.T. Conklin <jtc@acorntoolworks.com>
217 * configure.in (target_alias): Fix.
218 * configure: Regenerate.
219 * aclocal.m4: Regenerate.
221 2002-06-12 Phil Edwards <pme@gcc.gnu.org>
223 * include/Makefile.am: Add new files.
224 * include/Makefile.in: Regenerate.
226 * include/bits/stl_deque.h, include/bits/stl_list.h,
227 include/bits/stl_vector.h: Clean up, reformat. Move definitions...
228 * include/bits/deque.tcc, include/bits/list.tcc,
229 include/bits/vector.tcc: ...to here. New files.
231 * include/ext/stl_hashtable.h: Inclide correct full headers.
232 * include/std/std_deque.h: Include .tcc files for now.
233 * include/std/std_list.h: Likewise.
234 * include/std/std_vector.h: Likewise.
236 2002-06-12 Daniel Jacobowitz <drow@mvista.com>
238 * Makefile.am: Add FLAGS_TO_PASS.
239 * Makefile.in: Regenerated.
241 2002-06-11 J.T. Conklin <jtc@acorntoolworks.com>
242 Benjamin Kosnik <bkoz@redhat.com>
244 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
246 * configure.in: Add support for *-qnx6.[12]*.
247 * configure: Regenerate.
249 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
251 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
252 ctype_noninline.h, os_defines.h: New files.
254 2002-06-10 Loren J. Rittle <ljrittle@acm.org>
256 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
257 include all required headers for test against older POSIX standard.
258 (GLIBCPP_CHECK_SETRLIMIT): Likewise.
259 (ac_setrlimit): Likewise.
260 * aclocal.m4: Regenerate.
261 * configure: Regenerate.
262 * testsuite/testsuite_hooks.cc: Reorder and include all
263 required headers for use against older POSIX standard.
265 2002-06-08 Paolo Carlini <pcarlini@unitus.it>
267 * testsuite/backwards/strstream_members.cc: New.
269 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
271 * include/backwards/strstream: Format.
272 * src/strstream.cc: Format.
274 2002-06-08 Andreas Schwab <schwab@suse.de>
276 * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
277 _M_buf_size and _M_buf_size_opt to the new buffer and size.
279 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
281 * config/os/generic/bits/ctype_noninline.h: Tweak format.
283 2002-06-07 Steve Ellcey <sje@cup.hp.com>
285 * src/locale-inst.cc (__codecvt_abstract_base):
286 Put inside _GLIBCPP_USE_WCHAR_T ifdef.
287 * include/bits/istream.tcc (basic_istream): Ditto.
290 * include/bits/ostream.tcc (basic_ostream): Ditto.
296 2002-06-07 Phil Edwards <pme@gcc.gnu.org>
298 * mkcheck.in: Link against local testsuite library.
299 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
300 implementation out...
301 * testsuite/testsuite_hooks.cc: ...to here.
303 2002-06-06 Loren J. Rittle <ljrittle@acm.org>
305 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
306 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
307 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
308 * src/Makefile.in: Regenerate (explicitly with --cygnus option).
309 * testsuite/Makefile.in: Likewise.
311 2002-06-05 David Edelsohn <edelsohn@gnu.org>
313 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
314 Call external symbol.
316 2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
318 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
319 Search correct multilib testsuite dir for libv3test.
321 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
322 Gaby Dos Reis <gdr@codesourcery.com>
324 * include/bits/basic_string.tcc
325 (basic_string::_S_construct(forward_iterator_tag):
326 Fix typo in null pointer check.
327 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
329 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
331 * testsuite/22_locale/money_get_members_char.cc
332 (test02): Add decimal point to long double constants.
333 * testsuite/22_locale/money_get_members_wchar_t.cc
335 * testsuite/22_locale/money_put_members_char.cc
336 (test02, test03, test06): Likewise.
337 * testsuite/22_locale/money_put_members_wchar_t.cc:
338 (test02, test03, test06): Likewise.
339 * testsuite/22_locale/num_get_members_char.cc:
340 (test02, test01): Likewise; suffix long long constants with LL.
341 * testsuite/22_locale/num_get_members_wchar_t.cc:
342 (test02, test01): Likewise.
343 * testsuite/22_locale/num_put_members_char.cc:
344 (test02, test01): Likewise.
345 * testsuite/22_locale/num_put_members_wchar_t.cc:
346 (test02, test01): Likewise.
348 2002-06-03 Marc Espie <espie@openbsd.org>
350 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
351 assembly for old assemblers.
353 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
355 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
357 (vector<bool>::swap(reference,reference)): ...to this.
359 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
361 * docs/doxygen/TODO: Update.
362 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
363 some class members are in 14882 order.
364 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
366 * include/std/std_bitset.h: Update comment.
367 * src/bitset.cc: Update comments, clean up spacing.
369 * src/Makefile.am (sources): Alphabetize for convenience.
370 * src/Makefile.in: Regenerate.
372 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
374 * include/bits/stl_deque.h, include/bits/stl_list.h,
375 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
376 Reorder to match 14882. Doxygen blocks for all public members.
378 2002-05-31 Marcus Meissner <meissner@suse.de>
381 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
382 * testsuite/23_containers/vector_bool.cc (test02): New test.
384 2002-05-30 Marc Espie <espie@openbsd.org>
386 * configure.in: Always check for sys/types.h
387 * configure: Regenerate.
389 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
391 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
392 Rebuild the wrapper file every time this proc is called.
394 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
396 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
398 * testsuite/Makefile.in: Regenerate.
399 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
400 list_modifiers.cc and rename from 'T'. Move code bodies...
401 * testsuite/testsuite_hooks.cc: ...to here. New file.
402 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
403 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
404 Add libv3test.a to link options.
406 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
408 * src/misc-inst.cc: Define unnecessary algorithm
409 instantiations. Break apart instantiations into groupings below.
410 * src/fstream-inst.cc: New.
411 * src/io-inst.cc: New.
412 * src/istream-inst.cc: New.
413 * src/ostream-inst.cc: New.
414 * src/streambuf-inst.cc: New.
415 * src/sstream-inst.cc: New.
416 * src/Makefile.am (sources): Add files.
417 * src/Makefile.in: Regenerate.
419 * acinclude.m4: Work around automake 1.4-p5 bug, change
420 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
422 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
425 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
426 (classic_table): Fix.
427 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
429 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
431 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
432 _GLIBCPP_USE_WCHAR_T.
433 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
434 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
435 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
437 2002-05-26 Carlo Wood <carlo@alinoe.com>
438 Paolo Carlini <pcarlini@unitus.it>
441 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
442 (__enc_traits::operator=): add missing return statement.
444 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
447 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
448 (operator>>): If nothing was extracted, don't fail in the
450 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
452 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
455 * testsuite/22_locale/ctype_narrow_char.cc: New.
456 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
457 * testsuite/22_locale/ctype_widen_char.cc: New.
458 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
459 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
460 * testsuite/22_locale/ctype_is_char.cc: ...this.
461 * testsuite/22_locale/ctype_to_char.cc: ...and this.
462 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
463 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
464 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
466 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
468 2002-05-24 Dale Peakall <dale@peakall.net>
471 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
472 * config/locale/generic/ctype_members.cc: Same.
474 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
477 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
478 for empty string literal.
479 (ostream::operator<<(const _CharT*)): Same.
480 (ostream<char>::operator<<(const char*)): Same.
481 (ostream<char>::operator<<(streambuf*)): Same.
482 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
483 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
485 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
487 * configure.in (release_VERSION): Update to 3.1.1.
488 (libtool_VERSION): Update to 4:1:0.
489 * configure: Regenerate.
491 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
493 * include/bits/stl_pair.h: Tweak comment markup.
495 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
497 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
499 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
501 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
503 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
505 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
506 Doxygenate all public members. Reorder to follow 14882.
507 (vector::push_back(void)): Remove previously-deprecated fn.
508 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
509 Deprecate for removal in 3.3.
511 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
513 * docs/html/faq/index.html (5.4): Recommend against -I options for
514 finding the ext headers.
515 * docs/html/faq/index.txt: Regenerate.
517 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
519 * testsuite/23_containers/deque_operators.cc (test01):
520 Fix minor typo in last commit.
522 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
525 * include/bits/stl_deque.h (_Deque_iterator::operator==,
526 operator!=, operator<, operator>, operator>=, operator<=):
527 Make non-member functions, to allow comparing const and
528 non-const iterators in any order.
529 * testsuite/23_containers/deque_operators.cc: New testfile.
531 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
533 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
534 * docs/html/faq/index.txt: Regenerate.
536 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
538 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
539 * acinclude.m4: Likewise.
540 * docs/html/Makefile: Likewise.
541 * aclocal.m4: Regenerate.
542 * configure: Regenerate.
543 * Makefile.in: Regenerate.
545 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
548 * include/bits/c++config (__USE_MALLOC): Report case where
549 the user improperly defined it on the command line.
551 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
553 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
554 Retrieve current limits before setting.
556 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
559 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
561 (ostream::operator<<(const _CharT*)): Same.
562 (ostream<char>::operator<<(const char*)): Same.
563 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
565 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
568 * src/strstream.cc (strstreambuf): Fix leak.
570 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
573 * include/bits/istream.tcc (istream::getline, ignore):
574 Upon __idelim (__delim) call sbumpc() not snextc().
575 * testsuite/27_io/narrow_stream_objects.cc:
576 Add test08 and test09.
578 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
580 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
581 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
583 * docs/html/install.html: Fix.
585 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
587 * include/bits/fstream.tcc
588 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
590 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
592 * docs/html/install.html: Tweak, add bits about required locales
593 for the 22_locale tests when using the gnu model.
595 * testsuite/27_io/istream_sentry.cc: Tweak.
597 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
599 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
600 Fix typo, use this->is() rather than manually (and perhaps
601 incorrectly) inlining it.
602 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
604 * testsuite/22_locale/ctype_scan_char.cc: New file.
606 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
607 Jakub Jelinek <jakub@redhat.com>
609 * testsuite/22_locale/money_get_members_char.cc
610 (test01, test02, test04): Use the de_DE@euro named locale
611 instead of de_DE to allow for an uniform behaviour with
612 both old and Euro-era localedata; tweak some tests.
613 * testsuite/22_locale/money_get_members_wchar_t.cc
614 (test01, test02, test04): Likewise.
615 * testsuite/22_locale/money_put_members_char.cc
616 (test01, test02, test04): Likewise.
617 * testsuite/22_locale/money_put_members_wchar_t.cc
618 (test01, test02, test04): Likewise.
620 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
622 * testsuite/22_locale/codecvt_members_char_char.cc
623 (test03): Robustify wrt localedata.
624 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
625 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
626 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
627 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
628 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
629 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
630 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
631 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
632 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
633 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
634 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
635 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
636 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
637 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
638 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
639 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
640 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
641 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
642 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
643 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
644 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
645 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
647 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
649 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
652 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
654 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
655 to 64 for hppa 64-bit port.
656 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
658 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
660 * acinclude.m4 (enable_symvers): Quote $LD.
661 * aclocal.m4: Regenerate.
662 * configure: Likewise.
664 2002-05-09 Jakub Jelinek <jakub@redhat.com>
666 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
667 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
670 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
672 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
673 script entry, and set LD to it when configuring multilibs.
674 * configure: Rebuilt.
676 2002-05-07 Mark Mitchell <mark@codesourcery.com>
678 * configure.in: Add support for WindISS.
679 * configure: Regenerated.
680 * configure.target: Add support for WindISS.
681 * config/os/windiss/bits/ctype_base.h: New file.
682 * config/os/windiss/bits/ctype_inline.h: Likewise.
683 * config/os/windiss/bits/ctype_noninline.h: Likewise.
684 * config/os/windiss/bits/os_defines.h: Likewise.
686 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
688 Test all the facets for the temporary "C" locale switch issue.
689 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
690 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
691 * testsuite/22_locale/collate_members_char.cc: Add test04.
692 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
693 * testsuite/22_locale/ctype_members_char.cc: Add test05.
694 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
695 * testsuite/22_locale/messages_members_char.cc: Add test03.
696 * testsuite/22_locale/money_get_members_char.cc: Add test08.
697 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
698 * testsuite/22_locale/money_put_members_char.cc: Add test07.
699 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
700 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
701 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
702 * testsuite/22_locale/num_get_members_char.cc: Add test06.
703 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
704 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
705 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
706 * testsuite/22_locale/time_get_members_char.cc: Add test08.
707 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
708 * testsuite/22_locale/time_put_members_char.cc: Add test04.
709 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
711 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
712 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
714 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
716 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
717 __EXTENSIONS__): Ensure they are always defined.
719 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
721 * docs/html/documentation.html: Fix broken link.
723 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
724 Paolo Carlini <pcarlini@unitus.it>
726 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
727 testing for the locale_facets.tcc entry of the previous commit.
728 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
730 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
732 * config/locale/generic/c_locale.cc
733 (__convert_to_v(float, double, long double)):
734 Fix the temporary switch to the "C" locale, saving and
735 restoring in the proper way the current locale.
736 * config/locale/generic/time_members.cc
737 (__timepunct<char, wchar_t>::_M_put): Likewise.
738 * config/locale/gnu/messages_members.cc
739 (messages<char>::do_get): Likewise.
740 * config/locale/gnu/messages_members.h
741 (messages<_CharT>::do_get): Likewise.
742 * config/locale/gnu/time_members.cc
743 (__timepunct<char, wchar_t>::_M_put): Likewise.
744 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
746 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
748 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
749 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
751 * Makefile.in, config.h.in, configure: Regenerate.
753 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
756 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
757 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
759 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
761 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
763 (ctype:_M_table): Initialize to classic_table(), not __ctype.
765 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
767 * configure.in: Update local install.html, configopts.html paths.
768 * configure: Regenerate.
770 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
772 * config/os/irix/irix5.2/bits/os_defines.h
773 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
775 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
778 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
780 * docs/html/faq/index.html: Update list in #4.1.
781 * docs/html/faq/index.txt: Regenerated.
783 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
785 * docs/html/17_intro/RELEASE-NOTES (New): Update.
787 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
789 * include/std/std_bitset.h: Fix doxygen comments.
790 * docs/html/documentation.html: Minor tweaks for 3.1.
791 * docs/html/27_io/howto.html: Likewise.
792 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
793 * docs/html/faq/index.html: Likewise.
794 * docs/html/faq/index.txt: Regenerated.
796 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
799 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
800 (istreambuf_iterator::equal): Use it.
801 (istreambuf_iterator::operator*): Use it.
803 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
806 * include/bits/stl_uninitialized.h
807 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
808 Fix typo in 2001-07-17 commit: typedef _ValueType to
809 iterator_traits<_ForwardIter> not <_InputIter>.
810 * testsuite/23_containers/vector_ctor.cc: Add test04.
812 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
815 * include/c_std/std_cctype.h: Include bits/c++config.h.
816 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
818 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
820 * include/ext/stdio_filebuf.h: New file.
821 * include/ext/enc_filebuf.h: New file.
822 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
823 * config/io/basic_file_stdio.cc: Same.
824 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
825 Remove _M_unbuf hacks.
826 (filebuf::_M_destroy_internal_buffer): Same.
827 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
828 (filebuf::fd): Remove.
829 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
830 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
831 (filebuf::fd): Remove.
832 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
834 (ios_base::_S_ios_destroy): Same.
835 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
836 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
837 stdio_filebuf.h. * include/Makefile.in: Regenerate.
839 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
842 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
844 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
847 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
849 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
850 (istreambuf_iterator::operator++): Invalidate on eof.
851 (istreambuf_iterator::operator++(int)): Same.
852 (istreambuf_iterator::operator*): Same.
854 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
856 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
857 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
860 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
863 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
864 (__basic_file::sys_ungetc): Take int.
865 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
866 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
867 Use sys_getc for unbuffered input.
868 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
870 * src/ios.cc (_M_grow_words): Adjust error checking.
871 * testsuite/27_io/ios_base_storage.cc: Same.
873 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
875 * include/ext/stl_hashtable.h: Import __iterator_category
877 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
878 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
880 * testsuite/ext/hash_set.cc: New testfile.
882 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
884 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
886 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
887 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
889 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
891 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
892 Fix and tighten __throw_length_error check.
893 * testsuite/21_strings/replace.cc (test05): New.
894 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
896 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
898 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
899 unconditional flush on lower-layer handle to here...
900 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
901 ...from here. Optimize remaining _M_file.sync() call pattern.
902 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
905 2002-04-23 Jason Merrill <jason@redhat.com>
907 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
908 output-only filebufs.
909 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
911 (basic_filebuf::_M_set_determinate): Likewise.
914 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
915 value properly in the trivial case.
916 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
917 tellg() returns the right value after a read.
919 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
921 * config/cpu/mmix/bits/cpu_limits.h: New file.
922 * configure.target (CPULIMITSH): Use it.
924 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
926 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
927 * docs/html/17_intro/porting.html: Rebuilt.
929 2002-04-20 Jason Merrill <jason@redhat.com>
932 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
934 (basic_streambuf::_M_set_determinate): Likewise.
935 (basic_streambuf::_M_is_indeterminate): Likewise.
936 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
937 non-static data member.
938 (basic_filebuf::_M_underflow_common): New non-static member function.
939 (basic_filebuf::_M_underflow, _M_uflow): Call it.
940 (basic_filebuf::sync): Avoid useless seeking.
941 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
943 (basic_filebuf::_M_set_determinate): Likewise.
944 (basic_filebuf::_M_is_indeterminate): Likewise.
945 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
946 back to _M_out_beg if necessary.
947 (basic_filebuf::seekoff): Likewise.
948 (basic_filebuf::_M_underflow_common): Generalization of old
949 underflow(). Don't seek back to _M_in_beg.
950 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
951 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
952 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
953 * config/os/mingw32/bits/os_defines.h: Likewise.
954 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
957 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
959 * include/bits/istream.tcc (istream::read): Fix.
960 * testsuite/27_io/istream_unformatted.cc (main): Add.
962 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
965 * include/bits/istream.tcc (istream::ignore): Streamline, use
967 * include/bits/streambuf.tcc: Use this->gptr.
968 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
970 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
972 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
973 as type safety is important, especially on solaris.
974 * include/bits/istream.tcc (istream::read): Clean.
975 (istream::readsome): Same.
976 * locale.cc: Wrap lines.
978 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
979 * testsuite/27_io/instantiations.cc (test): Add bool variable...
980 * testsuite/21_strings/capacity.cc: Clean.
982 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
984 * docs/doxygen/doxygroups.cc: New group on binary searching.
985 * include/bits/stl_algo.h: Document binary searches and merges.
986 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
988 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
990 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
991 * docs/doxygen/run_doxygen: Bump required version.
992 * docs/doxygen/user.cfg.in: Revert accidental change.
993 * docs/html/faq/index.html: Reindent a block of links.
994 (4.4): New note on using dlsym.
995 * docs/html/faq/index.txt: Regenerated.
997 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
999 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
1001 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
1003 * config/linker-map.gnu (__malloc_alloc_template): Add.
1004 (__default_alloc_template): Same.
1005 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
1007 (__default_alloc_template): Same.
1009 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
1011 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
1013 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
1015 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
1016 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
1017 (__malloc_alloc_template): Conditionalize.
1019 * include/bits/istream.tcc: Remove sputbackc calls.
1021 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
1023 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
1025 * testsuite/24_iterators/rel_ops.cc: New test.
1027 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1029 * include/bits/type_traits.h (__normal_iterator): Declare in
1030 __gnu_cxx. Adjust use at global namespace.
1031 * include/bits/stl_iterator.h (__normal_iterator): Move definition
1032 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
1033 * include/bits/basic_string.h (basic_string): Adjust use of
1035 * include/bits/stl_vector.h (_Alloc>): Likewise.
1036 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
1037 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
1039 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
1043 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
1045 (__basic_file::close): Call fflush. Correct return if fclose ok.
1046 (__basic_file::is_open): Make const.
1047 Change __c_file_type to __c_file.
1048 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
1049 (__basic_file::is_open): Make const.
1050 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
1051 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
1052 (filebuf::_M_unbuf): Add.
1053 (filebuf::_M_file): Change to non-pointer.
1054 (filebuf::_M_allocate_pback_buffer): Remove.
1055 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
1056 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
1057 Change initialization list for _M_file change.
1058 (filebuf::_M_allocate_pback_buffer): Remove.
1059 Change _M_file usage to reflect non-pointer data member.
1061 * config/locale/generic/c_locale.cc
1062 (locale::facet::_S_create_c_locale): Add parameter.
1063 * config/locale/generic/collate_members.cc: Change
1064 _M_compare_helper to _M_compare.
1065 Change _M_transform_helper to _M_transform.
1066 * config/locale/generic/monetary_members.cc: Changeup data types.
1068 * config/locale/generic/numeric_members.cc: Add dtors.
1069 * config/locale/generic/time_members.cc: Add dtors.
1070 * config/locale/gnu/c_locale.cc: Add parameter.
1071 * config/locale/gnu/collate_members.cc:Change
1072 _M_compare_helper to _M_compare.
1073 Change _M_transform_helper to _M_transform.
1074 * config/locale/gnu/ctype_members.cc: Better error checking.
1075 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
1076 * config/locale/gnu/messages_members.cc: Tweak comment.
1077 * config/locale/gnu/monetary_members.cc: Change data types.
1079 * config/locale/gnu/numeric_members.cc: Add dtors, better error
1081 * config/locale/gnu/time_members.cc: Same.
1082 * config/locale/ieee_1003.1-2001/c_locale.cc
1083 (locale::facet::_S_create_c_locale): Add parameter.
1084 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
1085 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
1088 * include/bits/locale_facets.h (moneypunct): Use string literals.
1091 (__timepunct): Same.
1092 (locale::_Impl::_M_facets): Change from vector to array.
1093 (locale::_Impl::_M_names): Change from array of strings to array
1095 (locale::facet::_S_create_c_locale): Add parameter.
1096 (locale::locale::_S_num_facets): Move to...
1097 (locale::_Impl::_M_facets_size): Here.
1098 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
1100 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
1101 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
1102 (locale::_Impl::_Impl(string, size_t)): Change to
1103 (locale::_Impl::_Impl(const char*, size_t)): This.
1105 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
1106 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
1107 (streambuf::_S_pback_size): This.
1109 * src/globals.cc: Add pre-allocations for "C" facets.
1110 * src/locale-inst.cc: Remove vector instantiations.
1111 * src/locale.cc: Remove vector include. Fixups for _M_names,
1113 * src/localename.cc: Same.
1115 * include/bits/stl_vector.h: Fix odd formatting.
1117 * include/bits/basic_string.tcc: Tweak comment.
1119 * libsupc++/new: Make sure parameters are uglified.
1120 * libsupc++/typeinfo: Same.
1122 * testsuite/22_locale/num_get_members_char.cc: Fixup.
1123 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
1124 * testsuite/27_io/filebuf_members.cc: Same.
1126 2002-04-12 Steve Ellcey <sje@cup.hp.com>
1128 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
1129 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
1130 does not define strtoll or strtoull, but does define strtol
1131 and strtoul which are the same since in 64 bit mode
1132 sizeof(long) == sizeof(long long).
1134 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
1136 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
1137 trailing spaces, indentation, and macro names. Make exception
1138 messages more informative.
1140 2002-04-11 Richard Henderson <rth@redhat.com>
1142 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
1143 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
1144 (basic_ostream<>::operator<<(long long)): Same.
1146 2002-04-11 Richard Henderson <rth@redhat.com>
1148 * config/linker-map.gnu: Add __gxx_personality_sj0.
1150 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1153 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
1155 Remove forward declaration of vector.
1157 * include/bits/locale_facets.tcc: Remove vector include.
1158 (use_locale): Adjust.
1159 (has_locale): Adjust.
1160 * src/locale.cc: Adjust.
1161 * src/localename.cc: Same.
1163 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1164 Richard Henderson <rth@redhat.com>
1166 * include/bits/sstream.tcc: Clean up bit ops.
1167 * include/bits/fstream.tcc: Same.
1169 2002-04-09 Jakub Jelinek <jakub@redhat.com>
1171 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
1172 (__num_base::_S_scale_oct): Remove.
1173 * src/locale.cc (__num_base::_S_scale_hex): Remove.
1174 (__num_base::_S_scale_oct): Remove.
1176 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1179 * testsuite/23_containers/bitset_members.cc: New test.
1180 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
1181 (_S_bit_count): Here.
1182 (_First_one::_S_first_one): Move...
1183 (_S_first_one): Here.
1185 * src/bitset.cc: Adjust.
1186 * config/linker-map.gnu: Export.
1188 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
1191 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
1192 * include/std/std_fstream.h: Clean.
1193 * include/bits/ostream.tcc: Remove extraneous variables.
1194 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
1195 open modes and which modes.
1196 (stringbuf::seekpos): Same.
1197 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
1199 2002-04-05 Jonathan Wakely <jw@kayari.org>
1201 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
1202 random_shuffle, partition, stable_partition, sort, stable_sort,
1203 partial_sort, partial_sort_copy, nth_element): Doxygenate.
1205 2002-04-05 David S. Miller <davem@redhat.com>
1207 * config/os/gnu-linux/bits/os_defines.h
1208 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
1210 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
1213 via gawrilow@math.tu-berlin.de
1214 * acinclude.m4 (version_specific_libs): Fix combo usage with
1215 --with-gxx-include-dir.
1216 * aclocal.m4: Regenerate.
1219 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
1221 As per DR 184, libstdc++/3139
1222 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
1223 (numeric_limits<bool>::is_iec559): False.
1224 (numeric_limits<bool>::is_modulo): False.
1226 * testsuite/27_io/ios_init.cc: Add instantiations.
1228 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
1231 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
1232 * testsuite/27_io/ios_init.cc (tests04): Add test.
1235 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
1236 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
1237 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
1238 * include/bits/istream.tcc: Use _M_fctype, make consistent with
1240 * testsuite/27_io/ios_init.cc (tests03): Add test.
1242 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
1244 * include/Makefile.am (install-data-local): Use mkinstalldirs.
1245 * include/Makefile.in: Regenerate.
1247 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
1248 Nathan Myers <ncm@cantrip.org>
1249 Philip Martin <philip@codematters.co.uk>
1251 * include/bits/basic_string.h
1252 (replace(i1, i2, _CharT* k1, _CharT* k2),
1253 replace(i2, i2, const _CharT* k1, const _CharT* k2),
1254 replace(i1, i2, iterator k1, iterator k2,
1255 replace(i1, i2, const_iterator k1, const_iterator k2):
1256 New specializations to optimize for the common cases of
1257 pointers and iterators.
1258 (replace(pos, n1, s, n2)): Tweak.
1259 * include/bits/basic_string.tcc: Tweak comments.
1260 * testsuite/21_strings/replace.cc (test04): New tests.
1262 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
1265 * acinclude: More extensive checks for msgfmt, --enable-nls.
1266 * aclocal.m4: Regenerate.
1267 * configure: Regenerate.
1269 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
1271 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
1272 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
1273 * docs/html/18_support/howto.html: Document the demangler.
1274 * docs/html/17_intro/howto.html: And link to it.
1276 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
1277 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
1279 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
1281 * config/linker-map.gnu: Export __verbose_terminate_handler.
1282 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
1283 Make new LTCOMPILE variable, use it in new special build rules.
1284 * libsupc++/Makefile.in: Rebuild.
1285 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
1286 runtime __cxa_demangle.
1288 * docs/html/install.html: Update prereqs and instructions.
1289 * docs/html/19_diagnostics/howto.html: Bring naming for
1290 verbose_terminate_handler into line with reality.
1292 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
1295 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
1296 (basic_ios::_M_streambuf_state): Move.
1297 * include/bits/ios_base (ios_base): To here.
1298 * include/bits/ios_base.h (ios_base::_S_local_words): To
1300 (ios_base::_M_word_array): To _M_local_word.
1301 (ios_base::_M_words_limit): To _M_word_size.
1302 (ios_base::_M_words): To _M_word.
1304 * include/bits/basic_ios.tcc: Adjust.
1305 * src/ios.cc (ios_base::_M_grow_words): Tweak.
1306 * testsuite/27_io/ios_base_storage.cc: Add tests.
1309 Kenny Simpson <theonetruekenny@yahoo.com>
1310 * include/bits/ios_base.h: Fix.
1312 Richard Henderson <rth@redhat.com>
1313 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
1316 * include/bits/basic_string.h: Tweak formatting.
1318 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
1320 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1321 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
1322 By definition, sizeof(char) == 1.
1323 * include/bits/locale_facets.tcc (money_get::do_get,
1324 money_put::do_put): Ditto.
1325 * testsuite/21_strings/inserters_extractors.cc
1328 2002-03-30 Richard Henderson <rth@redhat.com>
1331 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
1332 data out of the exception struct before calling unexpectedHandler.
1334 2002-03-28 Roger Sayle <roger@eyesopen.com>
1336 * include/c_std/std_cmath.h: To prevent problems overloading
1337 g++ builtins, use the double variants from the global namespace
1338 before defining float and long double variants in std::.
1340 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
1342 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
1344 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
1346 * testsuite/24_iterators/istream_iterator.cc
1347 (test02): New tests.
1349 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1350 Paolo Carlini <pcarlini@unitus.it>
1352 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
1353 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
1354 fix i_lit_base e_lit_base arrays, making them independent
1355 from the endianness of the platform; tweak UCS4 to UCS-4BE.
1357 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
1359 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
1360 allocate at least a byte.
1362 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
1364 * testsuite/27_io/streambuf.cc (test07): Fix.
1367 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
1369 * docs/doxygen/Intro.3: Date tweak.
1370 * docs/doxygen/TODO: Update.
1371 * docs/doxygen/doxygroups.cc: Point to tables.html.
1372 * docs/doxygen/mainpage.html: Date tweak.
1373 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
1374 * docs/doxygen/tables.html: Fill in the blanks.
1376 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
1377 * include/bits/stl_algo.h: Likewise; use expanded form.
1378 * include/bits/stl_alloc.h: Likewise.
1379 * include/bits/stl_construct.h: Likewise.
1380 * include/bits/stl_deque.h: Likewise.
1381 * include/bits/stl_iterator_base_types.h: Likewise.
1382 * include/bits/stl_list.h: Likewise.
1383 * include/bits/stl_relops.h: Likewise.
1384 * include/bits/stl_tempbuf.h: Likewise.
1385 * include/bits/stl_vector.h: Likewise.
1386 * include/std/std_memory.h: Likewise.
1388 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
1389 * include/bits/stl_list.h: Likewise.
1390 * include/bits/stl_vector.h: Likewise.
1392 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
1394 * include/c/: Guard with _CPP_.
1395 * include/c_std/: Same.
1396 * include/Makefile.am: Fixup install, link routines for null
1397 c_base_headers_extra scenarios.
1398 * include/Makefile.in: Regerate.
1400 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
1401 Richard Henderson <rth@redhat.com>
1403 * testsuite/22_locale/codecvt_members_unicode_char.cc
1404 (test01, test02): make sure that the i_lit_base array
1405 is sufficiently aligned.
1407 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
1409 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
1412 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
1414 * testsuite/22_locale/collate_byname.cc
1415 (test01): compare the result of collate::compare with
1416 that of collate::transform + string::compare, not with
1417 that of collate::transform + collate::compare; values
1418 returned by collate::compare are normalized, therefore
1421 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
1422 Jakub Jelinek <jakub@redhat.com>
1424 * config/locale/gnu/messages_members.h: Correct conditional.
1425 * config/locale/gnu/messages_members.cc: Same.
1426 * config/locale/gnu/time_members.cc: Same.
1428 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1429 Paolo Carlini <pcarlini@unitus.it>
1431 * testsuite/22_locale/codecvt_members_unicode_char.cc
1432 (test01, test02): Fix i_lit_base arrays, making them
1433 independent from the endianness of the platform.
1435 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1437 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
1438 signbit and __signbit directly.
1439 * aclocal.m4: Regenerate.
1440 * configure: Regenerate.
1441 * config.h.in: Regenerate.
1442 * libmath/Makefile.am: Simplify.
1443 * libmath/Makefile.in: Regenerate.
1444 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
1446 * include/Makefile.am: Clean up handling of extra "C" header files.
1447 Add hooks for "C" compatibility headers.
1448 * include/Makefile.in: Regenerate.
1450 * include/c/*: Formatting tweaks, cleanups.
1451 * include/c_std/*: Same.
1453 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1455 * config/locale/gnu/messages_members.h: Add __uselocale bits.
1456 * config/locale/gnu/messages_members.cc: Same.
1457 * config/locale/gnu/time_members.cc: Same.
1459 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1461 * src/vterminate.cc: Format, -fno-exceptions cleanup.
1463 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1465 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
1466 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
1467 * aclocal.m4: Regenerate.
1468 * configure: Likewise.
1470 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
1471 Ulrich Drepper <drepper@redhat.com>
1473 * src/locale-inst.cc (__convert_from_v): Add an additional
1474 __size parameter in the declarations.
1475 * include/bits/locale_facets.tcc
1476 (__convert_from_v): When available (that is,
1477 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
1478 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
1479 being defined or not, call and use __convert_from_v in the
1481 (num_put::_M_convert_int): Same here.
1482 (money_put::do_put(long double)): Same here.
1484 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
1486 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
1487 * docs/html/faq/index.txt: Regenerate.
1489 2002-03-19 Steve Ellcey <sje@cup.hp.com>
1491 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
1492 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
1493 --enable-libunwind-exceptions is set.
1494 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
1495 macro to check for libunwind.
1496 * configure: Regenerate.
1497 * src/Makefile.am (libstdc___la_LDFLAGS): Add
1498 LIBUNWIND_FLAG to libstdc link line.
1499 * src/Makefile.in: Regenerate.
1501 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
1503 * docs/html/faq/index.html: Add OS X workaround.
1504 * docs/html/17_intro/TODO: Update.
1506 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
1508 * include/bits/locale_facets.tcc
1509 (money_put::do_put(long double)): Fix dimensioning of
1510 temporary buffers to avoid risk of overruns.
1511 (money_put::do_put(string)): Same for the buffer used to
1512 add the grouping chars.
1513 * testsuite/22_locale/money_put_members_char.cc: Add test06.
1514 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
1516 * include/bits/locale_facets.tcc
1517 (collate::do_transform): Simplify.
1519 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
1521 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
1522 * configure.in: Add comments pointing the way for autoconf 2.5x.
1523 * aclocal.m4, config.h.in, configure: Regenerate.
1525 2002-03-18 Philipp Thomas <pthomas@suse.de>
1527 * include/backward/hash_map.h: hash, hashtable, hash_map and
1528 hash_multimap are in namespace __gnu_cxx.
1529 include/backward/hash_set.h: hash, hashtable, hash_set and
1530 hash_multiset are in namespace __gnu_cxx.
1531 include/backward/hashtable.h: hash and hashtable are in
1532 namespace __gnu_cxx.
1533 include/backward/rope.h: char_producer, sequence_buffer,
1534 rope, crope and wrope are in namespace __gnu_cxx.
1535 include/backward/slist.h: slist is in namespace __gnu_cxx.
1536 * testsuite/backward/header_hash_map_h.cc
1537 testsuite/backward/header_hash_set_h.cc
1538 testsuite/backward/header_hashtable_h.cc
1539 testsuite/backward/header_rope_h.cc
1540 testsuite/backward/header_slist_h.cc
1541 testsuite/backward/header_tempbuf_h.cc: New tests for
1542 checking that we're using the correct namespace.
1544 2002-03-17 Jason Merrill <jason@redhat.com>
1547 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
1548 (check_exception_spec): Call it. Take the thrown pointer.
1549 (__cxa_call_unexpected): Pass it.
1550 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
1552 2002-03-15 Anthony Green <green@redhat.com>
1554 * configure.in: Remove useless is_mingw32.
1555 * configure: Rebuilt.
1557 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
1559 * testsuite/22_locale/collate_members_char.cc
1560 (test01): compare the result of collate::compare with
1561 that of collate::transform + string::compare, not with
1562 that of collate::transform + collate::compare.
1563 (test01): values returned by collate::compare are
1564 normalized, therefore test against +-1.
1565 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
1567 2002-03-12 Loren Rittle <ljrittle@acm.org>
1569 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1570 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
1572 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
1573 Per Liboriussen <liborius@stofanet.dk>
1575 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
1577 * config/os/gnu-linux/bits/ctype_inline.h: Same.
1579 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
1581 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
1582 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1584 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
1585 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1587 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
1588 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1590 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
1592 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
1594 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
1595 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
1596 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
1597 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
1598 that memory limits are in place.
1599 (test03): Add tests.
1601 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
1603 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
1604 * aclocal.m4: Regenerate.
1605 * config.h.in: Regenerate.
1606 * configure: Regenerate.
1607 * include/c_std/std_cwctype.h: Guard.
1609 2002-03-11 Chris Demetriou <cgd@broadcom.com>
1611 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
1612 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
1613 * aclocal.m4: Regenerate.
1614 * configure: Regenerate.
1616 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
1618 * include/bits/stl_bvector.h: Fix warning.
1620 2002-03-11 Richard Henderson <rth@redhat.com>
1622 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
1624 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
1626 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
1627 New function. Build the list of tests to run in testsuite_files.
1628 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
1630 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
1632 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
1633 platforms with no weak support.
1634 * testsuite/27_io/ios_init.cc: Likewise.
1636 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
1638 * include/bits/locale_facets.tcc (time_put::do_put):
1639 Consider sizeof(char_type) in allocating the buffer.
1641 * include/bits/locale_facets.tcc (collate::do_tranform):
1642 Remove redundant variable.
1644 2002-03-10 Ulrich Drepper <drepper@redhat.com>
1645 Paolo Carlini <pcarlini@unitus.it>
1647 * config/locale/generic/collate_members.cc
1648 (collate<char,wchar_t>::_M_compare_helper): normalize
1649 values returned by strcoll and wcscoll.
1650 * config/locale/gnu/collate_members.cc
1651 (collate<char,wchar_t>::_M_compare_helper): ditto
1652 for __strcoll_l and __wcscoll_l.
1654 2002-03-10 Anthony Green <green@redhat.com>
1656 * configure.in: Support cross builds to mingw32 target.
1657 * configure: Rebuilt.
1659 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
1661 * include/bits/locale_facets.tcc (collate::do_transform):
1662 Rewrite to fix problems with long transformed strings.
1664 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
1666 * c_locale_generic.cc: Move to...
1667 * generic/c_locale.cc
1668 * c_locale_generic.h: Move to...
1669 * generic/c_locale.h
1670 * codecvt_specializations_generic.h: Move to...
1671 * generic/codecvt_specializations.h
1672 * collate_members_generic.cc: Move to...
1673 * generic/collate_members.cc
1674 * ctype_members_generic.cc: Move to...
1675 * generic/ctype_members.cc
1676 * messages_members_generic.cc: Move to...
1677 * generic/messages_members.cc
1678 * messages_members_generic.h: Move to...
1679 * generic/messages_members.h
1680 * moneypunct_members_generic.cc: Move to...
1681 * generic/monetary_members.cc
1682 * numpunct_members_generic.cc: Move to...
1683 * generic/numeric_members.cc
1684 * time_members_generic.cc: Move to...
1685 * generic/time_members.cc
1686 * c_locale_gnu.cc: Move to...
1688 * c_locale_gnu.h: Move to...
1690 * collate_members_gnu.cc: Move to...
1691 * gnu/collate_members.cc
1692 * ctype_members_gnu.cc: Move to...
1693 * gnu/ctype_members.cc
1694 * messages_members_gnu.cc: Move to...
1695 * gnu/messages_members.cc
1696 * messages_members_gnu.h: Move to...
1697 * gnu/messages_members.h
1698 * moneypunct_members_gnu.cc: Move to...
1699 * gnu/monetary_members.cc
1700 * numpunct_members_gnu.cc: Move to...
1701 * gnu/numeric_members.cc
1702 * time_members_gnu.cc: Move to...
1703 * gnu/time_members.cc
1704 * c_locale_ieee_1003.1-200x.cc: Move to...
1705 * ieee_1003.1-2001/c_locale.cc
1706 * c_locale_ieee_1003.1-200x.h: Move to...
1707 * ieee_1003.1-2001/c_locale.h
1708 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
1709 * ieee_1003.1-2001/codecvt_specializations.h
1710 * messages_members_ieee_1003.1-200x.cc: Move to...
1711 * ieee_1003.1-2001/messages_members.cc
1712 * messages_members_ieee_1003.1-200x.h: Move to...
1713 * ieee_1003.1-2001/messages_members.h
1715 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
1716 * aclocal.m4: Regenerate.
1717 * configure: Regenerate.
1718 * src/Makefile.am (sources): Change to monetary and numeric.
1719 * src/Makefile.in: Regenerate.
1720 * docs/html/configopts.html: Update to ieee_1003.1-2001.
1722 2002-03-08 scott snyder <snyder@fnal.gov>
1725 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1726 Allow one more digit of precision.
1727 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
1728 write a double and read back in the same value.
1730 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
1732 * include/std/std_limits.h: Move static const data members out of
1733 generic template, into base class __numeric_limits_base.
1734 * src/limits.cc: Add definitions.
1735 * config/linker-map.gnu: Add __numeric_limits_base.
1736 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
1738 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
1740 * include/bits/stl_alloc.h: Add extern implicit allocator
1742 * include/bits/basic_string.tcc: Tweak.
1743 * include/bits/locale_facets.tcc: Remove default args. Add
1744 has_facet, use_facet extern instantiations.
1745 * src/stl-inst.cc: Add explicit instantiation.
1746 * src/locale-inst.cc: Clean. Remove locale member template
1749 * testsuite/22_locale/operators.cc (test02): Enable.
1751 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
1752 Stephen M. Webb <stephen.webb@bregmasoft.com>
1754 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
1755 (_S_rb_tree_black): Make enum.
1757 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
1758 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
1759 (__stl_threshold): _M_threshold, enum.
1760 * src/stl-inst.cc: Same.
1761 * config/linker-map.gnu: Remove.
1763 * testsuite/23_containers/vector_bool.cc: New.
1765 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
1767 * docs/doxygen/user.cfg.in: Also document deprecated entries.
1768 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
1769 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
1770 referring to the collection as a whole. New section on which macros
1771 can be redefined by the user.
1772 * docs/html/19_diagnostics/howto.html: Update note for concepts.
1773 * docs/html/20_util/howto.html: Update link to SGI.
1774 * docs/html/faq/index.html: Update snapshot versions. New entry
1775 on why g++ (but not gcc) must currently predefine certain macros.
1776 * docs/html/faq/index.txt: Regenerated.
1778 * include/bits/basic_string.h (basic_string::_S_construct): Fix
1779 names in declaration.
1780 (basic_string::compare): These are no longer optional.
1781 * include/bits/ostream.tcc: Tweak closing brace placement.
1782 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
1783 * include/std/std_sstream.h: Fix typo in comment.
1784 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
1785 * src/locale.cc: Likewise.
1787 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
1790 * include/bits/stl_vector.h (vector::push_back()): Guard with
1791 _GLIBCPP_DEPRECATED.
1793 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
1795 * include/bits/c++config: Fix misplaced leading blanks on first line.
1797 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
1799 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
1800 * README (libmath): Make clear.
1802 2002-03-05 Jakub Jelinek <jakub@redhat.com>
1804 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
1805 script globbing in ld.
1806 * aclocal.m4: Rebuilt.
1807 * configure: Rebuilt.
1809 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
1811 * docs/html/17_intro/RELEASE-NOTES: Update.
1812 * README: Format subdirectories.
1814 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
1817 * include/bits/locale_facets.tcc
1818 (num_get::_M_extract_float): Fix the parsing of __dec, since
1819 the standard prescribes that if no grouping characters are
1820 seen, no grouping check is applied.
1821 * testsuite/22_locale/num_get_members_char.cc: Add test05
1822 distilled from the PR.
1823 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
1825 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
1827 * docs/html/17_intro/porting-howto.xml: Refer to
1828 http://www.oasis-open.org for docbookx.dtd.
1829 * docs/html/17_intro/porting-howto.html: Regenerated.
1831 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
1834 * include/std/std_sstream.h: Remove trailing spaces.
1835 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
1836 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
1838 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
1840 * testsuite/22_locale/num_get_members_char.cc (test04):
1841 Use a named locale expecting grouping (de_DE).
1842 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
1844 * testsuite/27_io/ios_manip_basefield.cc (test01):
1845 Extend coverage, uniform treatment of hexs and octs.
1847 2002-02-28 Richard Henderson <rth@redhat.com>
1849 * config/linker-map.gnu: Export operator new with unsigned long,
1850 and with std::nothrow_t. Likewise operator delete.
1852 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
1854 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
1855 Admit grouping for octals and hexadecimals too.
1856 * testsuite/22_locale/num_get_members_char.cc: Add test04.
1857 (test01): Tweak "." -> "," in void* test.
1858 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
1860 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
1861 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
1863 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
1865 * testsuite/27_io/ios_manip_basefield.cc (test01):
1866 Fix for 64 bit machines.
1868 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
1871 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
1873 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
1874 (basic_ios::_M_fill_init): New.
1875 (basic_ios::fill()): Delay dealing with _M_fill.
1877 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
1878 (ios_base::_M_call_callbacks): Adjust.
1879 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
1881 2002-02-26 Loren Rittle <ljrittle@acm.org>
1883 * include/Makefile.am (thread_target_headers): Unconditionally
1884 stage and install gthr-posix.h.
1885 (${target_builddir}/gthr-posix.h): New rule cloned off
1886 ${target_builddir}/gthr-default.h.
1887 (${target_builddir}/gthr-default.h): Support chained inclusion
1888 of gthr support headers.
1889 * include/Makefile.in: Rebuilt.
1891 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
1893 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
1894 Group all the integral types, not only decs.
1895 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
1896 tests, add a few more.
1898 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
1900 * src/ios.cc (ios_base::~ios_base): Tweak.
1901 (ios_base::_M_call_callbacks): Deal with null __p.
1902 (ios_base::ios_base): Set _M_callbacks.
1903 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
1904 * testsuite/27_io/ios_init.cc (test02): Fix.
1906 * mkcheck.in (static_fail): Failed links go to output file.
1908 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
1910 * docs/html/faq/index.html: Update.
1911 * docs/html/faq/index.txt: Regenerate.
1913 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
1915 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
1916 * aclocal.m4: Regenerate.
1917 * docs/html/configopts.html: Document --enable-symvers.
1918 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
1920 2002-02-22 Philipp Thomas <pthomas@suse.de>
1922 * include/backward/tempbuf.h: get_temporary_buffer and
1923 return_temporary_buffer are in namespace std, not in __gnu_cxx.
1925 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
1927 * configure.in (target_alias): Default to yes.
1928 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
1929 libgcc to default case.
1931 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
1933 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
1934 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
1935 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
1936 * aclocal.m4: Regenerate.
1937 * configure: Regenerate.
1938 * config/linker-map.dummy: New file. Contains nothing useful.
1940 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
1942 * testsuite/22_locale/money_put_members_char.cc: Fix.
1943 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
1945 * testsuite/27_io/standard_manipulators.cc: New file.
1947 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
1948 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
1950 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
1952 * config/os/mingw32/bits/ctype_noninline.h
1953 (ctype<char>::ctype): Remove default args from parm list.
1954 * config/os/djgpp/bits/ctype_noninline.h: Same.
1956 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
1958 * include/std/std_iomanip.h: Inline, tweaks.
1959 * config/linker-map.gnu: Remove hacks.
1961 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
1962 * testsuite/27_io/ios_init.cc: Same.
1963 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
1964 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
1966 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
1968 * config/linker-map.gnu: Export global vtable, typeinfo, guard
1969 variable, and thunk info as per CXXABI docs.
1971 2002-02-19 Loren Rittle <ljrittle@acm.org>
1973 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
1974 * include/Makefile.in: Rebuilt.
1976 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1978 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
1979 with size3 for the string collations of str5.
1981 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
1984 * include/bits/locale_facets.tcc (money_put::do_put):
1985 For the space field use __fill instead of ' ', uniformly.
1986 * testsuite/22_locale/money_put_members_char.cc:
1987 Add test05 distilled from PR.
1988 (test01-02-03): Trim some '*' to ' '.
1989 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
1991 2002-02-18 Loren Rittle <ljrittle@acm.org>
1994 * include/Makefile.am (thread_builddir): Remove (map all
1995 existing uses to target_builddir).
1996 (thread_headers): Rename to...
1997 (thread_target_headers): ...this.
1998 (stamp-thread): Remove.
1999 (stamp-target): Correctly state the position as built.
2000 Update all dependencies to match the new reality. Remove all
2001 dependency calculations on directories.
2002 * include/Makefile.in: Rebuilt.
2004 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
2006 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
2007 * include/bits/fstream.tcc: Same.
2008 * include/bits/sstream.tcc: Same.
2009 * include/bits/ostream.tcc: Same.
2010 * include/bits/istream.tcc: Same.
2011 * include/bits/streambuf.tcc: Same.
2012 * include/bits/basic_ios.tcc: Same.
2013 * include/bits/basic_string.tcc: Same.
2015 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2017 * include/std/std_iosfwd.h: Don't guard typedefs with
2018 _GLIBCPP_USE_WCHAR_T
2019 * include/bits/stringfwd.h: Same.
2021 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2023 * src/locale.cc (moneypunct_byname): Remove definitions.
2024 * include/std/std_streambuf.h (streambuf::operator=): Return.
2026 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2029 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
2030 explicit instantiation.
2031 (string::_Rep::_S_max_size): Same.
2032 * include/bits/basic_string.tcc: Add extern explicit
2033 instantiations for string, wstring.
2034 * include/bits/basic_ios.tcc: Add extern explicit instantiations
2036 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
2037 * include/bits/istream.tcc: Same, for istream, wistream.
2038 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
2040 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
2041 istringstream, wistringstream, ostringstream, wostringstream,
2042 stringstream, wstringstream.
2043 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
2044 wifstream, ofstream, wofstream, fstream, wfstream.
2045 * src/misc-inst.cc: Correct comments.
2046 Add iomanip instantiations for wide streams.
2047 * include/std/std_iomanip.h: Same.
2048 * include/bits/locale_facets.tcc: Same.
2050 * include/std/std_streambuf.h: Correct
2051 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
2052 * include/std/std_sstream.h: Same.
2053 * include/std/std_ostream.h: Same.
2054 * include/std/std_istream.h: Same.
2055 * include/std/std_fstream.h: Same.
2057 * include/std/std_streambuf.h: Add definitions for private copy
2058 ctor and assignment operator.
2059 * include/std/std_istream.h: Remove declared but undefined copy
2060 ctor and assignment operator. This is taken care of in ios_base,
2061 so adding it in the derived class as well is superfluous.
2062 * include/std/std_ostream.h: Same.
2064 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
2065 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
2067 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
2069 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
2070 Add typeinfo bits. Smooth.
2071 * aclocal.m4: Regenerate.
2073 * src/Makefile.in: Same.
2075 2001-02-14 Joel Sherrill <joel@OARcorp.com>
2077 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
2078 which do not have a CAS instruction.
2080 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
2082 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
2083 * configure.in: Call it.
2084 * config/linker-map.gnu: New file, initial incomplete revision.
2085 * src/Makefile.am: Optionally pass version script to the linker.
2086 * aclocal.m4: Regenerate.
2087 * configure: Regenerate.
2088 * src/Makefile.in: Regenerate.
2090 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
2092 * src/localename.cc: Remove stdexcept include.
2093 * src/locale-inst.cc: Same.
2094 * src/locale.cc: Same.
2095 * src/functexcept.cc: Remove string includes.
2096 * include/std/std_bitset.h: Remove stdexcept include.
2097 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
2098 * testsuite/23_containers/bitset_ctor.cc: Same.
2100 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
2102 * include/bits/stl_algo (__stl_threshold): Declare external.
2103 (__stl_chunk_size): Same.
2104 * include/bits/stl_bvector.h (__WORD_BIT): Same.
2105 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
2106 (_S_rb_tree_black): Same.
2107 * src/stl-inst.cc (__stl_threshold): Define.
2108 (__stl_chunk_size): Same.
2110 (_S_rb_tree_red): Same.
2111 (_S_rb_tree_black): Same.
2113 * config/io/basic_file_libio.h (__basic_file): Add declarations.
2114 * include/bits/basic_file.h: Remove.
2115 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
2116 Declare generic types, specialization.
2117 * config/io/basic_file_stdio.cc: Definitions.
2118 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
2119 Declare generic types.
2120 * include/Makefile.am (bits_headers): Remove basic_file.h.
2121 (extra_target_headers): Change basic_file_model.h to basic_file.h.
2122 (stamp-target): Same.
2124 * include/bits/stl_alloc.h: Tweaks.
2125 * include/bits/localefwd.h: Same.
2127 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
2129 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
2130 * testsuite/22_locale/collate_members_char.cc (test03): New test.
2131 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
2133 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
2135 * include/bits/stl_algo.h (transform (both signatures), generate_n):
2136 Use __typeof__ in concept checks.
2138 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
2140 * include/bits/stl_algo.h (__median, for_each, find, find_if,
2141 adjacent_find, count, count_if, search, search_n, swap_ranges,
2142 transform, replace, replace_if, replace_copy, replace_copy_if,
2143 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
2144 unique, unique_copy, reverse, reverse_copy): Doxygenate.
2146 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
2148 * include/bits/locale_facets.h
2149 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
2150 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
2151 (__timepunct<_CharT>::_M_put_helper): Same.
2152 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
2154 * include/bits/fstream.tcc (filebuf::underflow): Remove
2155 __codecvt_type typedef.
2156 (filebuf::_M_convert_to_external): Same.
2158 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
2160 * docs/doxygen/TODO: Update.
2161 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
2162 * docs/doxygen/mainpage.html: Add TODO list link.
2163 * docs/doxygen/user.cfg.in: Add @doctodo hook.
2164 * docs/doxygen/tables.html: New file, emoty structure only.
2166 * include/bits/stl_iterator.h: Doxygenate just about everything.
2167 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
2168 * include/bits/stl_iterator_base_types.h: Add notes.
2170 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
2172 * include/bits/stl_map.h: Tweak doxygen markup.
2173 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
2174 * include/bits/stl_vector.h: Likewise.
2176 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
2180 * include/std/std_fstream.h (filebuf::__file_type): Change to
2182 (filebuf::_M_convert_to_external): Declare.
2183 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
2184 codecvt bits for wide streams.
2185 (filebuf::_M_really_overflow): Use it.
2186 (filebuf::underflow): Use codecvt.
2187 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2188 (codecvt<__enc_traits>::do_out): Deal with partial.
2189 (codecvt<__enc_traits>::do_encoding): Return something useful.
2190 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
2192 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
2193 Change expected encoding output.
2195 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
2198 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
2199 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
2201 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
2202 (basic_ios::widen): Same.
2204 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
2206 * testsuite/22_locale/money_get_members_char.cc:
2207 Add comment, tidy up.
2208 (test01): more "en_HK" tests (without showbase).
2209 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
2211 2002-02-06 Loren Rittle <ljrittle@acm.org>
2213 * config/locale/c_locale_generic.cc: Do not trust
2214 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
2217 2002-02-06 Loren Rittle <ljrittle@acm.org>
2219 * acinclude.m4: Add C++ linkage check for strtof.
2220 * aclocal.m4: Rebuilt.
2221 * config.h.in: Rebuilt.
2222 * configure: Rebuilt.
2223 * config/locale/c_locale_generic.cc: Conditionally include
2224 <ieeefp.h>. Improve handling and error checking of float
2225 and long double input for non-C99 configurations.
2227 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
2229 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2230 In case money_base::symbol deal properly with multi-char sign
2231 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
2232 * testsuite/22_locale/money_get_members_char.cc: Add test07.
2233 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
2235 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
2237 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2238 First construct a tentative returned string, then, only if the
2239 parsing succeeds, copy it into the string passed by reference.
2240 * testsuite/22_locale/money_get_members_char.cc: Add test06.
2241 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
2243 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
2245 * docs/doxygen/TODO: Impl-defined behavior now documented...
2246 * docs/html/17_intro/howto.html: ...here.
2247 * docs/doxygen/mainpage.doxy: Remove, rename...
2248 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
2249 * docs/doxygen/style.css: Add small text.
2250 * docs/doxygen/run_doxygen: Adjust for new mainpage.
2251 * docs/doxygen/user.cfg.in: Likewise.
2253 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
2255 * include/bits/stl_map.h: Initial doxygen markup.
2256 * include/std/std_fstream.h: Initial doxygen markup.
2258 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
2261 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2262 Deal correctly with !(__io.flags() & ios_base::showbase)
2263 for case money_base::symbol.
2264 * testsuite/22_locale/money_get_members_char.cc: Add test05.
2265 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
2267 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
2269 * testsuite/22_locale/operators.cc
2270 (gnu_collate::do_compare()): Add return statement to
2271 suppress "no return statement" warning.
2273 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
2275 * testsuite/27_io/ostream_manip.cc: Enable test02.
2277 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
2279 * docs/html/documentation.html: Update for 3.0.96.
2280 * docs/html/faq/index.html: Update for 3.0.96.
2281 * docs/html/faq/index.txt: Regenerated.
2282 * docs/doxygen/TODO: Update notes.
2283 * docs/html/17_intro/howto.html: Initial impl-specific listing.
2285 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
2287 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2288 Initialize all data members in copy ctor. Make ctors explicit.
2289 (__enc_traits::__enc_traits()): Default ctor does nothing.
2290 (__enc_traits::_M_init): Guard against multiple iconv_opens.
2291 * include/std/std_sstream.h (basic_stringbuf): Make data members
2293 * include/std/std_fstream.h (basic_filebuf): Same.
2294 * include/std/std_streambuf.h: Tweak.
2295 * include/bits/streambuf.tcc: Same.
2296 * include/bits/sstream.tcc: Same.
2297 * include/bits/fstream.tcc: Same.
2299 2002-01-31 Loren Rittle <ljrittle@acm.org>
2301 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
2302 allow NULL argument to be passed to setenv().
2303 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
2304 * testsuite/22_locale/collate_members_char.cc: Likewise.
2305 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
2306 * testsuite/22_locale/ctype_members_char.cc: Likewise.
2307 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
2308 * testsuite/22_locale/messages_members_char.cc: Likewise.
2309 * testsuite/22_locale/money_get_members_char.cc: Likewise.
2310 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
2311 * testsuite/22_locale/money_put_members_char.cc: Likewise.
2312 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2313 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
2314 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
2315 * testsuite/22_locale/num_get_members_char.cc: Likewise.
2316 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
2317 * testsuite/22_locale/num_put_members_char.cc: Likewise.
2318 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
2319 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
2320 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
2321 * testsuite/22_locale/time_get_members_char.cc: Likewise.
2322 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
2323 * testsuite/22_locale/time_put_members_char.cc: Likewise.
2324 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
2326 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
2328 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
2330 * ChangeLog-2001: Fix spelling errors...
2331 * docs/html/17_intro/RELEASE-NOTES: Update.
2332 * docs/html/17_intro/TODO: Update.
2333 * README (file): Update.
2335 2002-01-30 Loren Rittle <ljrittle@acm.org>
2337 * config/locale/c_locale_generic.cc: Check errno for ERANGE
2338 instead of non-zero to aid portability.
2340 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2342 * docs/html/22_locale/messages.html: Fix example code.
2344 2002-01-30 Richard Henderson <rth@redhat.com>
2346 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
2347 out from test03 and templatize.
2350 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
2352 * config/locale/numpunct_members_gnu.cc
2353 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
2354 Fix initialization of _M_grouping for locales which have
2355 _M_thousands_sep == '\0'(L'\0', respectively).
2356 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
2358 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
2360 * testsuite/27_io/ostream_inserter_arith.cc (test03):
2361 Better fix for 32/64 bit architectures, avoiding the
2362 implicit assumption that CHAR_BIT == 8.
2364 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
2366 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
2367 * Makefile.in: Regenerate.
2369 * docs/doxygen/run_doxygen: Update, mostly for man pages.
2370 * docs/doxygen/Intro.3: Update.
2371 * docs/doxygen/TODO: Update.
2372 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
2373 * docs/doxygen/mainpage.doxy: Update.
2374 * docs/doxygen/user.cfg.in: Update for header rename. Also
2375 regenerate comments and variables with 1.2.12.
2376 * docs/doxygen/maint.cfg.in: Remove file.
2378 * include/bits/stl_relops.h: Doxygenate.
2379 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
2381 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
2382 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
2383 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
2384 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
2385 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
2386 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
2387 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
2388 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
2389 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
2390 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
2391 include/ext/hash_set, include/ext/iterator, include/ext/memory,
2392 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
2393 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
2394 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
2395 include/std/std_algorithm.h, include/std/std_bitset.h,
2396 include/std/std_complex.h, include/std/std_deque.h,
2397 include/std/std_fstream.h, include/std/std_functional.h,
2398 include/std/std_iomanip.h, include/std/std_ios.h,
2399 include/std/std_iosfwd.h, include/std/std_iostream.h,
2400 include/std/std_istream.h, include/std/std_iterator.h,
2401 include/std/std_limits.h, include/std/std_list.h,
2402 include/std/std_locale.h, include/std/std_map.h,
2403 include/std/std_memory.h, include/std/std_numeric.h,
2404 include/std/std_ostream.h, include/std/std_queue.h,
2405 include/std/std_set.h, include/std/std_sstream.h,
2406 include/std/std_stack.h, include/std/std_stdexcept.h,
2407 include/std/std_streambuf.h, include/std/std_string.h,
2408 include/std/std_utility.h, include/std/std_valarray.h,
2409 include/std/std_vector.h: Add/correct @file doxygen hook.
2411 * include/ext/memory: Doxygenate most of rest of file.
2412 * libsupc++/exception: Doxygen output formatting.
2413 * libsupc++/new: Say which header it is.
2415 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
2416 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
2417 * docs/html/23_containers/howto.html: Describe O(n) list::size().
2418 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
2420 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
2421 Charles Leggett <CGLeggett@lbl.gov>
2423 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
2425 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
2427 * testsuite/27_io/ostream_inserter_arith.cc (test03):
2428 Fix to deal correctly with both 32 bit and 64 bit architectures
2430 2002-01-25 Loren Rittle <ljrittle@acm.org>
2432 * testsuite/thread/pthread1.cc: Use one condition variable
2433 per predicate instead of tricky use of one condition variable.
2435 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
2437 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
2439 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
2440 * testsuite/27_io/filebuf.cc: Compile only.
2441 * testsuite/27_io/filebuf_members.cc: Move tests to here.
2442 * testsuite/27_io/filebuf_virtuals.cc: And here.
2443 Revert sungetc, sync changes for expected values.
2444 * testsuite/27_io/filebuf-*: Move to...
2445 * testsuite/27_io/filebuf_virtuals-*: ...here.
2446 * testsuite/27_io/istream.cc: Compile only, activate.
2447 * testsuite/27_io/ostream.cc: Same.
2448 * testsuite/27_io/iostream.cc: New.
2449 * testsuite/27_io/iostream_members.cc: New.
2451 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
2453 * testsuite/thread/pthread1.cc: Enable on cygwin.
2454 * testsuite/thread/pthread2.cc: Likewise.
2455 * testsuite/thread/pthread3.cc: Likewise.
2456 * testsuite/thread/pthread4.cc: Likewise.
2457 * testsuite/thread/pthread5.cc: Likewise.
2458 * testsuite/thread/pthread6.cc: Likewise.
2460 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
2462 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
2464 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
2466 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
2468 (basic_ios::fill(char_type)): Use fill().
2469 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
2470 (basic_ios::narrow): Same.
2471 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
2472 if they are invalid.
2473 (basic_ios::init): Comment.
2474 * testsuite/27_io/ios_init.cc (test02): New.
2476 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
2478 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
2479 * include/bits/stl_algo.h: Include stl_tempbuf.h.
2480 * include/ext/memory: Do not include stl_tempbuf.h.
2481 (temporary_buffer): Add doxygen hook.
2482 (__get_temporary_buffer, get_temporary_buffer,
2483 return_temporary_buffer): Move back to std:: header...
2484 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
2485 * include/ext/rope: Do not include stl_tempbuf.h.
2486 * include/ext/stl_hashtable.h: Likewise.
2487 * include/std/std_algorithm.h: Likewise.
2488 * testsuite/20_util/temporary_buffer.cc: New file.
2490 2002-01-24 andrew@andypo.net
2491 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
2494 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
2495 * include/bits/localefwd.h: Likewise.
2496 Also use for std::locale::id::_S_highwater.
2497 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
2498 * src/locale.cc: Support new usage of _Atomic_word.
2499 (std::locale::classic): Guard entire function against reentry.
2500 * src/localename.cc: Support new usage of _Atomic_word.
2502 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
2504 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
2505 _GLIBCPP_HAVE_SETENV.
2506 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
2507 * testsuite/22_locale/collate_members_char.cc (test02): Same.
2508 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
2509 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
2510 * testsuite/22_locale/messages_members_char.cc (test02): Same.
2511 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
2512 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
2513 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
2514 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
2515 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
2516 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
2517 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
2518 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
2519 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
2520 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
2521 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
2522 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
2523 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
2524 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
2525 * aclocal.m4: Regenerate.
2526 * configure: Regenerate.
2527 * config.h.in: Regenerate.
2529 2002-01-23 Loren Rittle <ljrittle@acm.org>
2531 * testsuite/thread/pthread1.cc: New test.
2532 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
2533 * testsuite/thread/pthread3.cc: Likewise.
2534 * testsuite/thread/pthread4.cc: New test adapted from
2535 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
2536 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
2537 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
2539 2002-01-23 Richard Henderson <rth@redhat.com>
2542 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
2543 CAS on the cpu variants that support it. Add versions that use
2544 TAS and that disable interrupts.
2545 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
2547 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
2549 * include/bits/locale_facets.tcc: Remove old comments.
2551 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
2553 * include/bits/locale_facets.tcc (__convert_to_v): Change template
2555 (__convert_from_v): Same.
2557 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
2559 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
2561 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
2562 __max_digits checks, adjust arguments.
2563 (num_get::do_get(*)): Changeup.
2565 2002-01-23 Loren Rittle <ljrittle@acm.org>
2567 * config/locale/c_locale_generic.cc: Fix typename usage.
2569 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2571 * config/locale/c_locale_generic.cc: Fix.
2573 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2575 * docs/html/22_locale/messages.html: Remove angle brackets.
2576 * docs/html/17_intro/TODO: Add.
2578 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
2580 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
2581 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
2582 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
2583 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
2585 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2587 Audit for LANG independence.
2588 * include/bits/localefwd.h: Tweaks.
2589 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
2591 (time_get::do_get_year): Same.
2592 (__convert_from_v): Add.
2593 (num_put::_M_convert_float): Use.
2594 (num_put::_M_convert_int): Same.
2595 (money_put::do_put): Same.
2597 * src/locale-inst.cc: Add instantiations for __convert_from_v.
2598 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
2599 * config/locale/time_members_generic.cc:
2600 * config/locale/messages_members_gnu.cc: Same.
2601 * config/locale/messages_members_gnu.h: Same.
2603 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
2604 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
2605 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
2606 * testsuite/22_locale/collate_members_char.cc (test02): New.
2607 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
2608 * testsuite/22_locale/ctype_members_char.cc (test03): New.
2609 * testsuite/22_locale/messages_members_char.cc (test02): New.
2610 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
2611 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
2612 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
2613 * testsuite/22_locale/money_get_members_char.cc (test04): New.
2614 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
2615 * testsuite/22_locale/money_put_members_char.cc (test04): New.
2616 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
2617 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
2618 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
2619 * testsuite/22_locale/time_put_members_char.cc (test03): New.
2620 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
2621 * testsuite/22_locale/time_get_members_char.cc (test07): New.
2622 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
2623 * testsuite/22_locale/num_get_members_char.cc (test03): New.
2624 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
2625 * testsuite/22_locale/num_put_members_char.cc (test03): New.
2627 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
2629 * testsuite/22_locale/time_get_members_char.cc: Same.
2631 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2634 * include/bits/localefwd.h: Tweak comments.
2635 * include/bits/locale_facets.h (__convert_to_v): Add.
2636 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
2637 (num_get::do_get(float)): Same.
2638 (num_get::do_get(long double)): Same.
2639 (num_get::do_get(bool)): Same.
2640 (num_get::do_get(long)): Same.
2641 (num_get::do_get(long long)): Same.
2642 (num_get::do_get(unsigned int)): Same.
2643 (num_get::do_get(unsigned short)): Same.
2644 (num_get::do_get(unsigned long)): Same.
2645 (num_get::do_get(unsigned long long)): Same.
2646 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
2647 * config/locale/c_locale_generic.cc: Same.
2649 2002-01-22 Loren Rittle <ljrittle@acm.org>
2651 * include/Makefile.am (c_base_builddir): Remove redundant slash.
2652 (std_builddir): Likewise.
2653 (std_headers_rename): Fix cut-n-paste typo.
2654 (install-data-local): Concat path per element instead of once to
2655 first element of list.
2656 * include/Makefile.in: Rebuilt.
2658 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2660 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
2661 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
2662 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
2664 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
2666 * include/bits/locale_facets.h (ctype<char>::classic_table):
2668 (ctype<char>::_S_ctable): Remove.
2669 * config/os/gnu-linux/bits/ctype_noninline.h
2670 (ctype<char>::_S_table): Remove definition.
2671 (ctype<char>::classic_table): Define.
2672 (ctype<char>::ctype): Replace _S_ctable with classic_table().
2673 * config/os/aix/bits/ctype_noninline.h: Same.
2674 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
2675 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
2676 * config/os/djgpp/bits/ctype_noninline.h: Same.
2677 * config/os/generic/bits/ctype_noninline.h: Same.
2678 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
2679 * config/os/hpux/bits/ctype_noninline.h: Same.
2680 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
2681 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
2682 * config/os/mingw32/bits/ctype_noninline.h: Same.
2683 * config/os/newlib/bits/ctype_noninline.h: Same.
2684 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2685 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2686 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2688 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
2690 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
2691 of _pctype. Use to define _S_ctable. Add definition for alternate
2692 ctor. Initialise _M_ctable to _S_ctable in ctors.
2693 (do_toupper, do_tolower): Use inline code appropriate for C-locale
2694 rather than ::toupper, ::tolower.
2696 2002-01-18 Loren Rittle <ljrittle@acm.org>
2698 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
2699 Add specialization for FreeBSD systems only to avoid losing test
2700 only due to extra precision unmentioned in system headers.
2702 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
2704 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
2706 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
2708 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
2709 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
2711 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2713 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
2715 2002-01-17 David Edelsohn <edelsohn@gnu.org>
2717 * configure.target: Define OPT_LDFLAGS for AIX case.
2719 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2721 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
2722 __glibcpp_double_has_quiet_NaN): Correct mispelling.
2724 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
2726 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
2728 2002-01-16 David Edelsohn <dje@watson.ibm.com>
2730 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
2731 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
2732 * aclocal.m4: Regenerate.
2733 * configure: Regenerate.
2735 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
2737 * include/Makefile.am (c_base_headers_rename): New.
2738 (c_base_headers_extra): New.
2739 (stamp-c_base): Modify.
2740 (install-data-local): Use both.
2741 * include/Makefile.in: Regenerate.
2742 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
2743 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
2744 cstdio ctime cwctype]: Move to..
2745 * include/c/std_*: Here.
2746 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
2747 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
2748 cstdio ctime cwctype]: Move to..
2749 * include/c_std/std_*: Here.
2751 Alexandre Oliva <aoliva@redhat.com>
2752 * include/Makefile.am (.PRECIOUS): Add rule.
2753 * include/Makefile.in: Regenerate.
2755 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
2756 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2758 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
2759 Deuglify, should be current.
2760 (back_insert_iterator::_M_container): Deuglify, should be container.
2761 (front_insert_iterator::_M_container): Same.
2762 (insert_iterator::_M_container): Same.
2763 * testsuite/24_iterators/reverse_iterator.cc: Add check.
2764 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
2765 * testsuite/24_iterators/front_insert_iterator.cc: Same.
2766 * testsuite/24_iterators/insert_iterator.cc: Same.
2768 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
2770 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
2772 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
2773 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
2774 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2775 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2776 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2777 * config/os/newlib/bits/ctype_noninline.h: Same.
2778 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
2779 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
2780 * config/os/hpux/bits/ctype_noninline.h: Same.
2781 * config/os/djgpp/bits/ctype_noninline.h: Same.
2782 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
2783 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
2784 * config/os/aix/bits/ctype_noninline.h: Same.
2786 Testcase by Dietmar Kühl via Peter Schmid
2787 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
2790 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
2792 * libmath/signbitl.c: Copyright years as list, not range.
2793 * libmath/Makefile.am: Same.
2794 * libmath/Makefie.in: Regenerate.
2795 * libmath/signbit.c: Same.
2796 * libmath/nan.c: Same.
2797 * libmath/copysignf.c: Same.
2798 * libmath/signbitf.c: Same.
2799 * testsuite/22_locale/money_get_members_char.cc: Same.
2800 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
2801 * testsuite/22_locale/money_put_members_char.cc: Same.
2802 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
2803 * testsuite/22_locale/time_get_members_char.cc: Same.
2804 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
2805 * testsuite/22_locale/time_put_members_char.cc: Same.
2806 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
2807 * testsuite/21_strings/nonmember.cc: Same.
2808 * testsuite/21_strings/compare.cc: Same.
2809 * testsuite/27_io/stringstream.cc: Same.
2810 * testsuite/27_io/stringbuf.cc: Same.
2811 * testsuite/27_io/filebuf.cc: Same.
2812 * testsuite/27_io/ios_manip_basefield.cc: Same.
2813 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
2814 * include/bits/cpp_type_traits.h: Same.
2815 * include/bits/generic_shadow.h: Same.
2816 * include/bits/gslice_array.h: Same.
2817 * include/bits/gslice.h: Same.
2818 * include/bits/indirect_array.h: Same.
2819 * include/bits/slice_array.h: Same.
2820 * include/bits/sstream.tcc: Same.
2821 * include/bits/streambuf_iterator.h: Same.
2822 * include/bits/valarray_array.tcc: Same.
2823 * include/bits/valarray_meta.h: Same.
2824 * include/bits/valarray_array.h: Same.
2825 * config/os/mingw32/bits/ctype_noninline.h: Same.
2826 * config/os/mingw32/bits/ctype_base.h: Same.
2827 * config/os/hpux/bits/ctype_noninline.h: Same.
2828 * config/os/hpux/bits/ctype_base.h: Same.
2829 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
2830 * config/os/gnu-linux/bits/ctype_base.h: Same.
2831 * config/os/generic/bits/ctype_noninline.h: Same.
2832 * config/os/generic/bits/ctype_base.h: Same.
2834 * libsupc++/tinfo.h: Tweaks.
2836 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
2838 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
2839 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
2840 * testsuite/22_locale/ctype_members_char.cc: Tweak.
2842 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
2844 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
2845 (num_put::do_put(void*)): Fix.
2846 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
2847 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
2848 * testsuite/22_locale/num_get_members_char.cc (test02): Add
2849 long double, void, bool types.
2850 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
2852 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
2853 Alexandre Oliva <aoliva@redhat.com>
2855 * libmath/Makefile.am (LINK): Add --tag CC.
2856 * libmath/Makefile.in: Regenerate.
2858 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
2860 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
2861 of character to attribute mapping table.
2863 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
2865 * testsuite/26_numerics/c99_classification_macros_c.cc
2866 Remove dg-error and dg-excess-errors comments.
2868 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
2870 * include/bits/locale_facets.tcc (time_put::put): Correct output
2872 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
2873 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
2874 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
2875 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
2877 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
2879 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
2881 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
2882 Nathan Myers <ncm@cantrip.org>
2884 * include/bits/basic_string.h
2885 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
2886 temporaries (i.e., call _M_replace_safe) when possible.
2887 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
2888 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
2889 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
2890 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
2891 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
2892 * include/bits/basic_string.tcc
2893 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
2894 replace(__pos, __n1, __s, __n2).
2895 * testsuite/21_strings/replace.cc (test03): New testcases.
2897 * include/bits/basic_string.h (insert(__pos, __s, __n)):
2898 Adjust comparison wrt overflow.
2900 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
2902 * include/Makefile.am (std_headers_rename): New variable.
2903 (install-data-local): Use it.
2904 * include/Makefile.in: Regenerate.
2906 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
2908 * include/bits/locale_facets.tcc (money_put::do_put(string):
2909 Correct output iterator value.
2910 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
2911 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
2913 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
2915 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
2918 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
2920 * include/Makefile.am (std_headers): Update list with new names.
2921 (stamp-std): Link to standardized name.
2922 * include/Makefile.in: Regenerate.
2924 * include/std/algorithm, include/std/bitset, include/std/complex,
2925 include/std/deque, include/std/fstream, include/std/functional,
2926 include/std/iomanip, include/std/ios, include/std/iosfwd,
2927 include/std/iostream, include/std/istream, include/std/iterator,
2928 include/std/limits, include/std/list, include/std/locale,
2929 include/std/map, include/std/memory, include/std/numeric,
2930 include/std/ostream, include/std/queue, include/std/set,
2931 include/std/sstream, include/std/stack, include/std/stdexcept,
2932 include/std/streambuf, include/std/string, include/std/utility,
2933 include/std/valarray, include/std/vector: Rename to...
2935 * include/std/std_algorithm.h, include/std/std_bitset.h,
2936 include/std/std_complex.h, include/std/std_deque.h,
2937 include/std/std_fstream.h, include/std/std_functional.h,
2938 include/std/std_iomanip.h, include/std/std_ios.h,
2939 include/std/std_iosfwd.h, include/std/std_iostream.h,
2940 include/std/std_istream.h, include/std/std_iterator.h,
2941 include/std/std_limits.h, include/std/std_list.h,
2942 include/std/std_locale.h, include/std/std_map.h,
2943 include/std/std_memory.h, include/std/std_numeric.h,
2944 include/std/std_ostream.h, include/std/std_queue.h,
2945 include/std/std_set.h, include/std/std_sstream.h,
2946 include/std/std_stack.h, include/std/std_stdexcept.h,
2947 include/std/std_streambuf.h, include/std/std_string.h,
2948 include/std/std_utility.h, include/std/std_valarray.h,
2949 include/std/std_vector.h: ...this.
2951 2002-01-11 Loren Rittle <ljrittle@acm.org>
2953 * include/Makefile.am (extra_target_headers): New list of all
2954 target files built with ad hoc naming rules.
2955 (stamp-*): Handle LN_S failure in manner portable across make
2957 (install-data-local): Install header files from human-maintained
2958 file lists and directory components instead of non-robust find.
2959 * include/Makefile.in: Rebuilt.
2961 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
2963 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2964 Check for zero-length negative sign before adding it to output
2966 (money_get::do_get(long double)): Return beg.
2967 * testsuite/22_locale/money_get_members_char.cc (test02): Add
2969 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
2971 2002-01-10 David Seymour <seymour_dj@yahoo.com>
2974 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
2975 for _M_extract_float and _M_extract_int
2976 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
2977 (num_get<>::_M_extract_int): Likewise, all callers changed
2978 * testsuite/22_locale/num_get_members_char.cc: Testcase
2980 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
2982 * libsupc++/exception (bad_exception): Add comment.
2983 * libsupc++/new (bad_alloc): Same.
2984 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
2986 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
2988 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
2989 that the destructors should be removed from the descriptions
2990 in the standard: writing them explicitly allows the vtable
2991 heuristic to work. For additional information see:
2992 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
2993 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
2994 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
2995 * libsupc++/exception (bad_exception::~bad_exception()):
2996 Reintroduce declaration.
2997 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
2998 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
2999 (bad_typeid::~bad_typeid()): Same.
3000 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
3001 Reintroduce definition.
3002 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
3003 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
3004 (bad_typeid::~bad_typeid()): Same.
3006 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
3008 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
3009 * include/Makefile.in: Regenerate.
3011 2002-01-09 Bo Thorsen <bo@suse.co.uk>
3013 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
3016 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
3020 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
3021 return value of _M_file->sync().
3022 (filebuf::showmanyc): Check for is_open.
3023 * include/std/fstream (filebuf::sync): Tweak.
3024 * testsuite/27_io/filebuf.cc: Tweak.
3026 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
3027 Brad Garcia <garsh@attbi.com>
3029 * testsuite/27_io/filebuf_members.cc: Add test.
3031 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
3032 Craig Rodrigues <rodrigc@mediaone.net>
3035 * po/Makefile.am (mkinstalldirs): Add.
3036 * po/Makefile.in: Regenerate.
3038 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
3040 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
3041 testsuite/lib/prune.exp: Delete lines ":In function ..." from
3043 * testsuite/23_containers/map_operators.cc: Remove
3044 dg-excess-errors comment.
3045 * testsuite/23_containers/set_operators.cc: Likewise.
3047 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
3049 * include/bits/stl_function.h: Remove two lines of comments;
3050 adjust copyright years.
3052 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
3054 * include/Makefile.am (std_headers): Remove cXXX from list.
3055 (c_base_srcdir): No bits subdirectory.
3056 (c_base_builddir): Same.
3057 (c_base_headers): Adjust names, add ciso646.
3058 (bits_headers): Remove std_xxx.h headers.
3059 * include/Makefile.in: Regenerate.
3061 * include/ext/iterator: Adjust includes.
3062 * include/ext/ropeimpl.h: Same.
3063 * include/ext/stl_hash_fun.h: Same.
3064 * include/ext/algorithm: Same.
3066 * include/backward/bvector.h: Adjust includes.
3067 * include/backward/vector.h: Same.
3068 * include/backward/strstream: Same.
3069 * include/backward/streambuf.h: Same.
3070 * include/backward/stack.h: Same.
3071 * include/backward/set.h: Same.
3072 * include/backward/queue.h: Same.
3073 * include/backward/multiset.h: Same.
3074 * include/backward/multimap.h: Same.
3075 * include/backward/map.h: Same.
3076 * include/backward/list.h: Same.
3077 * include/backward/iterator.h: Same.
3078 * include/backward/iostream.h: Same.
3079 * include/backward/iomanip.h: Same.
3080 * include/backward/fstream.h: Same.
3081 * include/backward/deque.h: Same.
3082 * include/backward/complex.h: Same.
3084 * include/bits/std_algorithm.h: Move to...
3085 * include/std/algorithm: ...here.
3086 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
3087 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
3088 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
3089 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
3090 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
3091 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
3092 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
3095 * include/c_std/bits/std_cassert.h: Move to...
3096 * include/c_std/cassert: Here.
3097 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
3098 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3099 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3100 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3101 std_cwctype.h: Same.
3102 * include/c_std/cmath: Adjust cmath.tcc include.
3103 * include/c_std/cstdlib: Adjust includes.
3104 * include/c_std/cwchar: Same.
3105 * include/c_std/ctime: Same.
3106 * include/c_std/cstring: Same.
3107 * include/c_std/cstdio: Same.
3108 * include/c_std/bits: Remove directory.
3110 * include/c/bits/std_cassert.h: Move to...
3111 * include/c/cassert: Here.
3112 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
3113 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3114 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3115 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3116 std_cwctype.h: Same.
3117 * include/c/bits: Remove directory.
3119 * include/std/cwctype: Remove.
3120 * include/std/cwchar: Remove.
3121 * include/std/ctime: Remove.
3122 * include/std/cstring: Remove.
3123 * include/std/cstdlib: Remove.
3124 * include/std/cstdio: Remove.
3125 * include/std/cstddef: Remove.
3126 * include/std/cstdarg: Remove.
3127 * include/std/csignal: Remove.
3128 * include/std/csetjmp: Remove.
3129 * include/std/cmath: Remove.
3130 * include/std/clocale: Remove.
3131 * include/std/climits: Remove.
3132 * include/std/ciso646: Remove.
3133 * include/std/cfloat: Remove.
3134 * include/std/cerrno: Remove.
3135 * include/std/cctype: Remove.
3136 * include/std/cassert: Remove.
3138 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
3139 files and subsituting <xxx>.
3140 * include/bits/valarray_array.h: Same.
3141 * include/bits/stl_uninitialized.h: Same.
3142 * include/bits/stl_alloc.h: Same.
3143 * include/bits/stl_algobase.h: Same.
3144 * include/bits/sstream.tcc: Same.
3145 * include/bits/pthread_allocimpl.h: Same.
3146 * include/bits/ostream.tcc: Same.
3147 * include/bits/localefwd.h: Same.
3148 * include/bits/locale_facets.tcc: Same.
3149 * include/bits/locale_facets.h: Same.
3150 * include/bits/istream.tcc: Same.
3151 * include/bits/char_traits.h: Same.
3152 * include/bits/boost_concept_check.h: Same.
3153 * include/bits/basic_file.h: Same.
3154 * include/std/bitset: Same.
3155 * include/std/complex: Same.
3156 * include/std/fstream: Same.
3157 * include/std/functional: Same.
3158 * include/std/ios: Same.
3159 * include/std/iostream: Same.
3160 * include/std/ostream: Same.
3161 * include/std/sstream: Same.
3162 * include/std/streambuf: Same.
3163 * include/std/string: Same.
3164 * include/std/iterator: Same.
3165 * include/std/valarray: Same.
3167 * src/ios.cc: Adjust includes.
3168 * src/valarray-inst.cc: Same.
3169 * src/string-inst.cc: Same.
3170 * src/stl-inst.cc: Same.
3171 * src/stdexcept.cc: Same.
3172 * src/misc-inst.cc: Same.
3173 * src/localename.cc: Same.
3174 * src/locale-inst.cc: Same.
3175 * src/locale.cc: Same.
3176 * src/limits.cc: Same.
3177 * src/concept-inst.cc: Same.
3178 * src/complex_io.cc: Same.
3179 * src/codecvt.cc: Same.
3180 * src/bitset.cc: Same.
3181 * src/cmath.cc: Same.
3183 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
3185 * include/bits/stl_tree.h (rb_tree): Move to...
3186 * include/ext/rb_tree: ...here, new file.
3187 * include/Makefile.am (ext_headers): Add new file.
3188 * include/Makefile.in: Regenerate.
3189 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
3190 return_temporary_buffer, struct temporary_buffer): Move to...
3191 * include/ext/memory: ...here.
3192 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
3193 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
3194 * include/backward/tree.h: Include <ext/rb_tree), tweak.
3196 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
3198 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
3199 * include/ext/numeric: ...here, new file.
3200 * include/bits/stl_function.h (identity_element, unary_compose,
3201 binary_compose, compose1, compose2, identity, select1st,
3202 select2nd, project1st + helper, project2nd + helper,
3203 constant_void_fun + helper, constant_unary_fun + helper,
3204 costant_binary_fun + helper, constant0, constant1, constant2,
3205 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
3206 * include/ext/functional: ...here, new file.
3207 * include/Makefile.am (ext_headers): Add new files.
3208 * include/Makefile.in: Regenerate.
3209 * testsuite/ext/headers.cc: Include <ext/numeric> and
3211 * include/backward/algo.h: Include <ext/numeric>, tweak.
3212 * include/backward/function.h: Include <ext/functional>, tweak.
3213 * include/ext/ropeimpl.h: Include <ext/numeric>.
3215 2002-01-03 Jeffrey A Law <law@redhat.com>
3217 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
3218 __strtoull declarations with __extension__.
3220 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
3222 * testsuite/lib/prune.exp: Correct regular expression for
3225 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
3227 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
3228 Change concept checks, as with lower_bound and PR 2054.
3229 * testsuite/ext/concept_checks.cc: Expand test to include those.
3231 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
3233 * include/bits/boost_concept_check.h: Import some changes from
3234 upsteam (Boost) version.
3236 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
3238 * include/bits/stl_algobase.h (copy_n + helpers,
3239 lexicographical_compare_3way + helpers): Move to...
3240 * include/ext/algorithm: ...here.
3241 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
3242 helpers): Move to...
3243 * include/ext/memory: ...here, new file.
3244 * include/Makefile.am (ext_headers): Add new file.
3245 * include/Makefile.in: Regenerate.
3246 * testsuite/ext/headers.cc: Include <ext/memory>.
3247 * include/backward/algobase.h: Include <ext/memory> and
3248 <ext/algorithm>, tweak.
3249 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
3250 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
3252 2002-01-01 Roger Sayle <roger@eyesopen.com>
3254 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
3255 equivalent ___builtin__ versions.
3257 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
3258 are available in libstdc++ as the necessary stub implementations
3259 are provided by libmath/stubs.c.
3261 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
3263 * configure.in: Add support for NetBSD cross compiles.
3264 * configure: Regenerate.