1 2002-06-08 Paolo Carlini <pcarlini@unitus.it>
3 * testsuite/backwards/strstream_members.cc: New.
5 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
7 * include/backwards/strstream: Format.
8 * src/strstream.cc: Format.
10 2002-06-08 Andreas Schwab <schwab@suse.de>
12 * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
13 _M_buf_size and _M_buf_size_opt to the new buffer and size.
15 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
17 * config/os/generic/bits/ctype_noninline.h: Tweak format.
19 2002-06-07 Steve Ellcey <sje@cup.hp.com>
21 * src/locale-inst.cc (__codecvt_abstract_base):
22 Put inside _GLIBCPP_USE_WCHAR_T ifdef.
23 * include/bits/istream.tcc (basic_istream): Ditto.
26 * include/bits/ostream.tcc (basic_ostream): Ditto.
32 2002-06-07 Phil Edwards <pme@gcc.gnu.org>
34 * mkcheck.in: Link against local testsuite library.
35 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
37 * testsuite/testsuite_hooks.cc: ...to here.
39 2002-06-06 Loren J. Rittle <ljrittle@acm.org>
41 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
42 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
43 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
44 * src/Makefile.in: Regenerate (explicitly with --cygnus option).
45 * testsuite/Makefile.in: Likewise.
47 2002-06-05 David Edelsohn <edelsohn@gnu.org>
49 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
52 2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
54 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
55 Search correct multilib testsuite dir for libv3test.
57 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
58 Gaby Dos Reis <gdr@codesourcery.com>
60 * include/bits/basic_string.tcc
61 (basic_string::_S_construct(forward_iterator_tag):
62 Fix typo in null pointer check.
63 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
65 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
67 * testsuite/22_locale/money_get_members_char.cc
68 (test02): Add decimal point to long double constants.
69 * testsuite/22_locale/money_get_members_wchar_t.cc
71 * testsuite/22_locale/money_put_members_char.cc
72 (test02, test03, test06): Likewise.
73 * testsuite/22_locale/money_put_members_wchar_t.cc:
74 (test02, test03, test06): Likewise.
75 * testsuite/22_locale/num_get_members_char.cc:
76 (test02, test01): Likewise; suffix long long constants with LL.
77 * testsuite/22_locale/num_get_members_wchar_t.cc:
78 (test02, test01): Likewise.
79 * testsuite/22_locale/num_put_members_char.cc:
80 (test02, test01): Likewise.
81 * testsuite/22_locale/num_put_members_wchar_t.cc:
82 (test02, test01): Likewise.
84 2002-06-03 Marc Espie <espie@openbsd.org>
86 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
87 assembly for old assemblers.
89 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
91 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
93 (vector<bool>::swap(reference,reference)): ...to this.
95 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
97 * docs/doxygen/TODO: Update.
98 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
99 some class members are in 14882 order.
100 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
102 * include/std/std_bitset.h: Update comment.
103 * src/bitset.cc: Update comments, clean up spacing.
105 * src/Makefile.am (sources): Alphabetize for convenience.
106 * src/Makefile.in: Regenerate.
108 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
110 * include/bits/stl_deque.h, include/bits/stl_list.h,
111 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
112 Reorder to match 14882. Doxygen blocks for all public members.
114 2002-05-31 Marcus Meissner <meissner@suse.de>
117 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
118 * testsuite/23_containers/vector_bool.cc (test02): New test.
120 2002-05-30 Marc Espie <espie@openbsd.org>
122 * configure.in: Always check for sys/types.h
123 * configure: Regenerate.
125 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
127 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
128 Rebuild the wrapper file every time this proc is called.
130 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
132 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
134 * testsuite/Makefile.in: Regenerate.
135 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
136 list_modifiers.cc and rename from 'T'. Move code bodies...
137 * testsuite/testsuite_hooks.cc: ...to here. New file.
138 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
139 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
140 Add libv3test.a to link options.
142 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
144 * src/misc-inst.cc: Define unnecessary algorithm
145 instantiations. Break apart instantiations into groupings below.
146 * src/fstream-inst.cc: New.
147 * src/io-inst.cc: New.
148 * src/istream-inst.cc: New.
149 * src/ostream-inst.cc: New.
150 * src/streambuf-inst.cc: New.
151 * src/sstream-inst.cc: New.
152 * src/Makefile.am (sources): Add files.
153 * src/Makefile.in: Regenerate.
155 * acinclude.m4: Work around automake 1.4-p5 bug, change
156 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
158 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
161 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
162 (classic_table): Fix.
163 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
165 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
167 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
168 _GLIBCPP_USE_WCHAR_T.
169 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
170 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
171 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
173 2002-05-26 Carlo Wood <carlo@alinoe.com>
174 Paolo Carlini <pcarlini@unitus.it>
177 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
178 (__enc_traits::operator=): add missing return statement.
180 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
183 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
184 (operator>>): If nothing was extracted, don't fail in the
186 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
188 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
191 * testsuite/22_locale/ctype_narrow_char.cc: New.
192 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
193 * testsuite/22_locale/ctype_widen_char.cc: New.
194 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
195 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
196 * testsuite/22_locale/ctype_is_char.cc: ...this.
197 * testsuite/22_locale/ctype_to_char.cc: ...and this.
198 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
199 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
200 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
202 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
204 2002-05-24 Dale Peakall <dale@peakall.net>
207 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
208 * config/locale/generic/ctype_members.cc: Same.
210 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
213 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
214 for empty string literal.
215 (ostream::operator<<(const _CharT*)): Same.
216 (ostream<char>::operator<<(const char*)): Same.
217 (ostream<char>::operator<<(streambuf*)): Same.
218 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
219 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
221 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
223 * configure.in (release_VERSION): Update to 3.1.1.
224 (libtool_VERSION): Update to 4:1:0.
225 * configure: Regenerate.
227 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
229 * include/bits/stl_pair.h: Tweak comment markup.
231 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
233 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
235 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
237 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
239 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
241 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
242 Doxygenate all public members. Reorder to follow 14882.
243 (vector::push_back(void)): Remove previously-deprecated fn.
244 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
245 Deprecate for removal in 3.3.
247 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
249 * docs/html/faq/index.html (5.4): Recommend against -I options for
250 finding the ext headers.
251 * docs/html/faq/index.txt: Regenerate.
253 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
255 * testsuite/23_containers/deque_operators.cc (test01):
256 Fix minor typo in last commit.
258 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
261 * include/bits/stl_deque.h (_Deque_iterator::operator==,
262 operator!=, operator<, operator>, operator>=, operator<=):
263 Make non-member functions, to allow comparing const and
264 non-const iterators in any order.
265 * testsuite/23_containers/deque_operators.cc: New testfile.
267 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
269 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
270 * docs/html/faq/index.txt: Regenerate.
272 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
274 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
275 * acinclude.m4: Likewise.
276 * docs/html/Makefile: Likewise.
277 * aclocal.m4: Regenerate.
278 * configure: Regenerate.
279 * Makefile.in: Regenerate.
281 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
284 * include/bits/c++config (__USE_MALLOC): Report case where
285 the user improperly defined it on the command line.
287 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
289 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
290 Retrieve current limits before setting.
292 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
295 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
297 (ostream::operator<<(const _CharT*)): Same.
298 (ostream<char>::operator<<(const char*)): Same.
299 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
301 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
304 * src/strstream.cc (strstreambuf): Fix leak.
306 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
309 * include/bits/istream.tcc (istream::getline, ignore):
310 Upon __idelim (__delim) call sbumpc() not snextc().
311 * testsuite/27_io/narrow_stream_objects.cc:
312 Add test08 and test09.
314 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
316 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
317 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
319 * docs/html/install.html: Fix.
321 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
323 * include/bits/fstream.tcc
324 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
326 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
328 * docs/html/install.html: Tweak, add bits about required locales
329 for the 22_locale tests when using the gnu model.
331 * testsuite/27_io/istream_sentry.cc: Tweak.
333 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
335 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
336 Fix typo, use this->is() rather than manually (and perhaps
337 incorrectly) inlining it.
338 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
340 * testsuite/22_locale/ctype_scan_char.cc: New file.
342 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
343 Jakub Jelinek <jakub@redhat.com>
345 * testsuite/22_locale/money_get_members_char.cc
346 (test01, test02, test04): Use the de_DE@euro named locale
347 instead of de_DE to allow for an uniform behaviour with
348 both old and Euro-era localedata; tweak some tests.
349 * testsuite/22_locale/money_get_members_wchar_t.cc
350 (test01, test02, test04): Likewise.
351 * testsuite/22_locale/money_put_members_char.cc
352 (test01, test02, test04): Likewise.
353 * testsuite/22_locale/money_put_members_wchar_t.cc
354 (test01, test02, test04): Likewise.
356 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
358 * testsuite/22_locale/codecvt_members_char_char.cc
359 (test03): Robustify wrt localedata.
360 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
361 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
362 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
363 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
364 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
365 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
366 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
367 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
368 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
369 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
370 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
371 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
372 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
373 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
374 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
375 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
376 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
377 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
378 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
379 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
380 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
381 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
383 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
385 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
388 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
390 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
391 to 64 for hppa 64-bit port.
392 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
394 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
396 * acinclude.m4 (enable_symvers): Quote $LD.
397 * aclocal.m4: Regenerate.
398 * configure: Likewise.
400 2002-05-09 Jakub Jelinek <jakub@redhat.com>
402 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
403 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
406 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
408 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
409 script entry, and set LD to it when configuring multilibs.
410 * configure: Rebuilt.
412 2002-05-07 Mark Mitchell <mark@codesourcery.com>
414 * configure.in: Add support for WindISS.
415 * configure: Regenerated.
416 * configure.target: Add support for WindISS.
417 * config/os/windiss/bits/ctype_base.h: New file.
418 * config/os/windiss/bits/ctype_inline.h: Likewise.
419 * config/os/windiss/bits/ctype_noninline.h: Likewise.
420 * config/os/windiss/bits/os_defines.h: Likewise.
422 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
424 Test all the facets for the temporary "C" locale switch issue.
425 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
426 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
427 * testsuite/22_locale/collate_members_char.cc: Add test04.
428 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
429 * testsuite/22_locale/ctype_members_char.cc: Add test05.
430 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
431 * testsuite/22_locale/messages_members_char.cc: Add test03.
432 * testsuite/22_locale/money_get_members_char.cc: Add test08.
433 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
434 * testsuite/22_locale/money_put_members_char.cc: Add test07.
435 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
436 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
437 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
438 * testsuite/22_locale/num_get_members_char.cc: Add test06.
439 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
440 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
441 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
442 * testsuite/22_locale/time_get_members_char.cc: Add test08.
443 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
444 * testsuite/22_locale/time_put_members_char.cc: Add test04.
445 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
447 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
448 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
450 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
452 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
453 __EXTENSIONS__): Ensure they are always defined.
455 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
457 * docs/html/documentation.html: Fix broken link.
459 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
460 Paolo Carlini <pcarlini@unitus.it>
462 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
463 testing for the locale_facets.tcc entry of the previous commit.
464 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
466 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
468 * config/locale/generic/c_locale.cc
469 (__convert_to_v(float, double, long double)):
470 Fix the temporary switch to the "C" locale, saving and
471 restoring in the proper way the current locale.
472 * config/locale/generic/time_members.cc
473 (__timepunct<char, wchar_t>::_M_put): Likewise.
474 * config/locale/gnu/messages_members.cc
475 (messages<char>::do_get): Likewise.
476 * config/locale/gnu/messages_members.h
477 (messages<_CharT>::do_get): Likewise.
478 * config/locale/gnu/time_members.cc
479 (__timepunct<char, wchar_t>::_M_put): Likewise.
480 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
482 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
484 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
485 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
487 * Makefile.in, config.h.in, configure: Regenerate.
489 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
492 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
493 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
495 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
497 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
499 (ctype:_M_table): Initialize to classic_table(), not __ctype.
501 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
503 * configure.in: Update local install.html, configopts.html paths.
504 * configure: Regenerate.
506 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
508 * config/os/irix/irix5.2/bits/os_defines.h
509 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
511 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
514 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
516 * docs/html/faq/index.html: Update list in #4.1.
517 * docs/html/faq/index.txt: Regenerated.
519 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
521 * docs/html/17_intro/RELEASE-NOTES (New): Update.
523 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
525 * include/std/std_bitset.h: Fix doxygen comments.
526 * docs/html/documentation.html: Minor tweaks for 3.1.
527 * docs/html/27_io/howto.html: Likewise.
528 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
529 * docs/html/faq/index.html: Likewise.
530 * docs/html/faq/index.txt: Regenerated.
532 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
535 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
536 (istreambuf_iterator::equal): Use it.
537 (istreambuf_iterator::operator*): Use it.
539 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
542 * include/bits/stl_uninitialized.h
543 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
544 Fix typo in 2001-07-17 commit: typedef _ValueType to
545 iterator_traits<_ForwardIter> not <_InputIter>.
546 * testsuite/23_containers/vector_ctor.cc: Add test04.
548 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
551 * include/c_std/std_cctype.h: Include bits/c++config.h.
552 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
554 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
556 * include/ext/stdio_filebuf.h: New file.
557 * include/ext/enc_filebuf.h: New file.
558 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
559 * config/io/basic_file_stdio.cc: Same.
560 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
561 Remove _M_unbuf hacks.
562 (filebuf::_M_destroy_internal_buffer): Same.
563 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
564 (filebuf::fd): Remove.
565 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
566 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
567 (filebuf::fd): Remove.
568 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
570 (ios_base::_S_ios_destroy): Same.
571 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
572 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
573 stdio_filebuf.h. * include/Makefile.in: Regenerate.
575 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
578 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
580 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
583 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
585 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
586 (istreambuf_iterator::operator++): Invalidate on eof.
587 (istreambuf_iterator::operator++(int)): Same.
588 (istreambuf_iterator::operator*): Same.
590 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
592 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
593 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
596 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
599 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
600 (__basic_file::sys_ungetc): Take int.
601 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
602 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
603 Use sys_getc for unbuffered input.
604 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
606 * src/ios.cc (_M_grow_words): Adjust error checking.
607 * testsuite/27_io/ios_base_storage.cc: Same.
609 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
611 * include/ext/stl_hashtable.h: Import __iterator_category
613 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
614 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
616 * testsuite/ext/hash_set.cc: New testfile.
618 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
620 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
622 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
623 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
625 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
627 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
628 Fix and tighten __throw_length_error check.
629 * testsuite/21_strings/replace.cc (test05): New.
630 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
632 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
634 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
635 unconditional flush on lower-layer handle to here...
636 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
637 ...from here. Optimize remaining _M_file.sync() call pattern.
638 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
641 2002-04-23 Jason Merrill <jason@redhat.com>
643 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
644 output-only filebufs.
645 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
647 (basic_filebuf::_M_set_determinate): Likewise.
650 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
651 value properly in the trivial case.
652 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
653 tellg() returns the right value after a read.
655 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
657 * config/cpu/mmix/bits/cpu_limits.h: New file.
658 * configure.target (CPULIMITSH): Use it.
660 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
662 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
663 * docs/html/17_intro/porting.html: Rebuilt.
665 2002-04-20 Jason Merrill <jason@redhat.com>
668 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
670 (basic_streambuf::_M_set_determinate): Likewise.
671 (basic_streambuf::_M_is_indeterminate): Likewise.
672 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
673 non-static data member.
674 (basic_filebuf::_M_underflow_common): New non-static member function.
675 (basic_filebuf::_M_underflow, _M_uflow): Call it.
676 (basic_filebuf::sync): Avoid useless seeking.
677 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
679 (basic_filebuf::_M_set_determinate): Likewise.
680 (basic_filebuf::_M_is_indeterminate): Likewise.
681 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
682 back to _M_out_beg if necessary.
683 (basic_filebuf::seekoff): Likewise.
684 (basic_filebuf::_M_underflow_common): Generalization of old
685 underflow(). Don't seek back to _M_in_beg.
686 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
687 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
688 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
689 * config/os/mingw32/bits/os_defines.h: Likewise.
690 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
693 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
695 * include/bits/istream.tcc (istream::read): Fix.
696 * testsuite/27_io/istream_unformatted.cc (main): Add.
698 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
701 * include/bits/istream.tcc (istream::ignore): Streamline, use
703 * include/bits/streambuf.tcc: Use this->gptr.
704 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
706 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
708 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
709 as type safety is important, especially on solaris.
710 * include/bits/istream.tcc (istream::read): Clean.
711 (istream::readsome): Same.
712 * locale.cc: Wrap lines.
714 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
715 * testsuite/27_io/instantiations.cc (test): Add bool variable...
716 * testsuite/21_strings/capacity.cc: Clean.
718 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
720 * docs/doxygen/doxygroups.cc: New group on binary searching.
721 * include/bits/stl_algo.h: Document binary searches and merges.
722 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
724 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
726 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
727 * docs/doxygen/run_doxygen: Bump required version.
728 * docs/doxygen/user.cfg.in: Revert accidental change.
729 * docs/html/faq/index.html: Reindent a block of links.
730 (4.4): New note on using dlsym.
731 * docs/html/faq/index.txt: Regenerated.
733 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
735 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
737 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
739 * config/linker-map.gnu (__malloc_alloc_template): Add.
740 (__default_alloc_template): Same.
741 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
743 (__default_alloc_template): Same.
745 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
747 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
749 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
751 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
752 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
753 (__malloc_alloc_template): Conditionalize.
755 * include/bits/istream.tcc: Remove sputbackc calls.
757 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
759 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
761 * testsuite/24_iterators/rel_ops.cc: New test.
763 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
765 * include/bits/type_traits.h (__normal_iterator): Declare in
766 __gnu_cxx. Adjust use at global namespace.
767 * include/bits/stl_iterator.h (__normal_iterator): Move definition
768 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
769 * include/bits/basic_string.h (basic_string): Adjust use of
771 * include/bits/stl_vector.h (_Alloc>): Likewise.
772 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
773 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
775 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
779 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
781 (__basic_file::close): Call fflush. Correct return if fclose ok.
782 (__basic_file::is_open): Make const.
783 Change __c_file_type to __c_file.
784 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
785 (__basic_file::is_open): Make const.
786 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
787 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
788 (filebuf::_M_unbuf): Add.
789 (filebuf::_M_file): Change to non-pointer.
790 (filebuf::_M_allocate_pback_buffer): Remove.
791 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
792 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
793 Change initialization list for _M_file change.
794 (filebuf::_M_allocate_pback_buffer): Remove.
795 Change _M_file usage to reflect non-pointer data member.
797 * config/locale/generic/c_locale.cc
798 (locale::facet::_S_create_c_locale): Add parameter.
799 * config/locale/generic/collate_members.cc: Change
800 _M_compare_helper to _M_compare.
801 Change _M_transform_helper to _M_transform.
802 * config/locale/generic/monetary_members.cc: Changeup data types.
804 * config/locale/generic/numeric_members.cc: Add dtors.
805 * config/locale/generic/time_members.cc: Add dtors.
806 * config/locale/gnu/c_locale.cc: Add parameter.
807 * config/locale/gnu/collate_members.cc:Change
808 _M_compare_helper to _M_compare.
809 Change _M_transform_helper to _M_transform.
810 * config/locale/gnu/ctype_members.cc: Better error checking.
811 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
812 * config/locale/gnu/messages_members.cc: Tweak comment.
813 * config/locale/gnu/monetary_members.cc: Change data types.
815 * config/locale/gnu/numeric_members.cc: Add dtors, better error
817 * config/locale/gnu/time_members.cc: Same.
818 * config/locale/ieee_1003.1-2001/c_locale.cc
819 (locale::facet::_S_create_c_locale): Add parameter.
820 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
821 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
824 * include/bits/locale_facets.h (moneypunct): Use string literals.
828 (locale::_Impl::_M_facets): Change from vector to array.
829 (locale::_Impl::_M_names): Change from array of strings to array
831 (locale::facet::_S_create_c_locale): Add parameter.
832 (locale::locale::_S_num_facets): Move to...
833 (locale::_Impl::_M_facets_size): Here.
834 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
836 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
837 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
838 (locale::_Impl::_Impl(string, size_t)): Change to
839 (locale::_Impl::_Impl(const char*, size_t)): This.
841 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
842 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
843 (streambuf::_S_pback_size): This.
845 * src/globals.cc: Add pre-allocations for "C" facets.
846 * src/locale-inst.cc: Remove vector instantiations.
847 * src/locale.cc: Remove vector include. Fixups for _M_names,
849 * src/localename.cc: Same.
851 * include/bits/stl_vector.h: Fix odd formatting.
853 * include/bits/basic_string.tcc: Tweak comment.
855 * libsupc++/new: Make sure parameters are uglified.
856 * libsupc++/typeinfo: Same.
858 * testsuite/22_locale/num_get_members_char.cc: Fixup.
859 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
860 * testsuite/27_io/filebuf_members.cc: Same.
862 2002-04-12 Steve Ellcey <sje@cup.hp.com>
864 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
865 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
866 does not define strtoll or strtoull, but does define strtol
867 and strtoul which are the same since in 64 bit mode
868 sizeof(long) == sizeof(long long).
870 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
872 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
873 trailing spaces, indentation, and macro names. Make exception
874 messages more informative.
876 2002-04-11 Richard Henderson <rth@redhat.com>
878 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
879 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
880 (basic_ostream<>::operator<<(long long)): Same.
882 2002-04-11 Richard Henderson <rth@redhat.com>
884 * config/linker-map.gnu: Add __gxx_personality_sj0.
886 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
889 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
891 Remove forward declaration of vector.
893 * include/bits/locale_facets.tcc: Remove vector include.
894 (use_locale): Adjust.
895 (has_locale): Adjust.
896 * src/locale.cc: Adjust.
897 * src/localename.cc: Same.
899 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
900 Richard Henderson <rth@redhat.com>
902 * include/bits/sstream.tcc: Clean up bit ops.
903 * include/bits/fstream.tcc: Same.
905 2002-04-09 Jakub Jelinek <jakub@redhat.com>
907 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
908 (__num_base::_S_scale_oct): Remove.
909 * src/locale.cc (__num_base::_S_scale_hex): Remove.
910 (__num_base::_S_scale_oct): Remove.
912 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
915 * testsuite/23_containers/bitset_members.cc: New test.
916 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
917 (_S_bit_count): Here.
918 (_First_one::_S_first_one): Move...
919 (_S_first_one): Here.
921 * src/bitset.cc: Adjust.
922 * config/linker-map.gnu: Export.
924 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
927 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
928 * include/std/std_fstream.h: Clean.
929 * include/bits/ostream.tcc: Remove extraneous variables.
930 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
931 open modes and which modes.
932 (stringbuf::seekpos): Same.
933 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
935 2002-04-05 Jonathan Wakely <jw@kayari.org>
937 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
938 random_shuffle, partition, stable_partition, sort, stable_sort,
939 partial_sort, partial_sort_copy, nth_element): Doxygenate.
941 2002-04-05 David S. Miller <davem@redhat.com>
943 * config/os/gnu-linux/bits/os_defines.h
944 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
946 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
949 via gawrilow@math.tu-berlin.de
950 * acinclude.m4 (version_specific_libs): Fix combo usage with
951 --with-gxx-include-dir.
952 * aclocal.m4: Regenerate.
955 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
957 As per DR 184, libstdc++/3139
958 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
959 (numeric_limits<bool>::is_iec559): False.
960 (numeric_limits<bool>::is_modulo): False.
962 * testsuite/27_io/ios_init.cc: Add instantiations.
964 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
967 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
968 * testsuite/27_io/ios_init.cc (tests04): Add test.
971 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
972 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
973 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
974 * include/bits/istream.tcc: Use _M_fctype, make consistent with
976 * testsuite/27_io/ios_init.cc (tests03): Add test.
978 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
980 * include/Makefile.am (install-data-local): Use mkinstalldirs.
981 * include/Makefile.in: Regenerate.
983 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
984 Nathan Myers <ncm@cantrip.org>
985 Philip Martin <philip@codematters.co.uk>
987 * include/bits/basic_string.h
988 (replace(i1, i2, _CharT* k1, _CharT* k2),
989 replace(i2, i2, const _CharT* k1, const _CharT* k2),
990 replace(i1, i2, iterator k1, iterator k2,
991 replace(i1, i2, const_iterator k1, const_iterator k2):
992 New specializations to optimize for the common cases of
993 pointers and iterators.
994 (replace(pos, n1, s, n2)): Tweak.
995 * include/bits/basic_string.tcc: Tweak comments.
996 * testsuite/21_strings/replace.cc (test04): New tests.
998 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
1001 * acinclude: More extensive checks for msgfmt, --enable-nls.
1002 * aclocal.m4: Regenerate.
1003 * configure: Regenerate.
1005 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
1007 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
1008 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
1009 * docs/html/18_support/howto.html: Document the demangler.
1010 * docs/html/17_intro/howto.html: And link to it.
1012 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
1013 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
1015 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
1017 * config/linker-map.gnu: Export __verbose_terminate_handler.
1018 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
1019 Make new LTCOMPILE variable, use it in new special build rules.
1020 * libsupc++/Makefile.in: Rebuild.
1021 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
1022 runtime __cxa_demangle.
1024 * docs/html/install.html: Update prereqs and instructions.
1025 * docs/html/19_diagnostics/howto.html: Bring naming for
1026 verbose_terminate_handler into line with reality.
1028 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
1031 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
1032 (basic_ios::_M_streambuf_state): Move.
1033 * include/bits/ios_base (ios_base): To here.
1034 * include/bits/ios_base.h (ios_base::_S_local_words): To
1036 (ios_base::_M_word_array): To _M_local_word.
1037 (ios_base::_M_words_limit): To _M_word_size.
1038 (ios_base::_M_words): To _M_word.
1040 * include/bits/basic_ios.tcc: Adjust.
1041 * src/ios.cc (ios_base::_M_grow_words): Tweak.
1042 * testsuite/27_io/ios_base_storage.cc: Add tests.
1045 Kenny Simpson <theonetruekenny@yahoo.com>
1046 * include/bits/ios_base.h: Fix.
1048 Richard Henderson <rth@redhat.com>
1049 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
1052 * include/bits/basic_string.h: Tweak formatting.
1054 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
1056 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1057 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
1058 By definition, sizeof(char) == 1.
1059 * include/bits/locale_facets.tcc (money_get::do_get,
1060 money_put::do_put): Ditto.
1061 * testsuite/21_strings/inserters_extractors.cc
1064 2002-03-30 Richard Henderson <rth@redhat.com>
1067 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
1068 data out of the exception struct before calling unexpectedHandler.
1070 2002-03-28 Roger Sayle <roger@eyesopen.com>
1072 * include/c_std/std_cmath.h: To prevent problems overloading
1073 g++ builtins, use the double variants from the global namespace
1074 before defining float and long double variants in std::.
1076 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
1078 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
1080 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
1082 * testsuite/24_iterators/istream_iterator.cc
1083 (test02): New tests.
1085 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1086 Paolo Carlini <pcarlini@unitus.it>
1088 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
1089 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
1090 fix i_lit_base e_lit_base arrays, making them independent
1091 from the endianness of the platform; tweak UCS4 to UCS-4BE.
1093 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
1095 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
1096 allocate at least a byte.
1098 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
1100 * testsuite/27_io/streambuf.cc (test07): Fix.
1103 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
1105 * docs/doxygen/Intro.3: Date tweak.
1106 * docs/doxygen/TODO: Update.
1107 * docs/doxygen/doxygroups.cc: Point to tables.html.
1108 * docs/doxygen/mainpage.html: Date tweak.
1109 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
1110 * docs/doxygen/tables.html: Fill in the blanks.
1112 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
1113 * include/bits/stl_algo.h: Likewise; use expanded form.
1114 * include/bits/stl_alloc.h: Likewise.
1115 * include/bits/stl_construct.h: Likewise.
1116 * include/bits/stl_deque.h: Likewise.
1117 * include/bits/stl_iterator_base_types.h: Likewise.
1118 * include/bits/stl_list.h: Likewise.
1119 * include/bits/stl_relops.h: Likewise.
1120 * include/bits/stl_tempbuf.h: Likewise.
1121 * include/bits/stl_vector.h: Likewise.
1122 * include/std/std_memory.h: Likewise.
1124 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
1125 * include/bits/stl_list.h: Likewise.
1126 * include/bits/stl_vector.h: Likewise.
1128 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
1130 * include/c/: Guard with _CPP_.
1131 * include/c_std/: Same.
1132 * include/Makefile.am: Fixup install, link routines for null
1133 c_base_headers_extra scenarios.
1134 * include/Makefile.in: Regerate.
1136 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
1137 Richard Henderson <rth@redhat.com>
1139 * testsuite/22_locale/codecvt_members_unicode_char.cc
1140 (test01, test02): make sure that the i_lit_base array
1141 is sufficiently aligned.
1143 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
1145 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
1148 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
1150 * testsuite/22_locale/collate_byname.cc
1151 (test01): compare the result of collate::compare with
1152 that of collate::transform + string::compare, not with
1153 that of collate::transform + collate::compare; values
1154 returned by collate::compare are normalized, therefore
1157 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
1158 Jakub Jelinek <jakub@redhat.com>
1160 * config/locale/gnu/messages_members.h: Correct conditional.
1161 * config/locale/gnu/messages_members.cc: Same.
1162 * config/locale/gnu/time_members.cc: Same.
1164 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1165 Paolo Carlini <pcarlini@unitus.it>
1167 * testsuite/22_locale/codecvt_members_unicode_char.cc
1168 (test01, test02): Fix i_lit_base arrays, making them
1169 independent from the endianness of the platform.
1171 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1173 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
1174 signbit and __signbit directly.
1175 * aclocal.m4: Regenerate.
1176 * configure: Regenerate.
1177 * config.h.in: Regenerate.
1178 * libmath/Makefile.am: Simplify.
1179 * libmath/Makefile.in: Regenerate.
1180 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
1182 * include/Makefile.am: Clean up handling of extra "C" header files.
1183 Add hooks for "C" compatibility headers.
1184 * include/Makefile.in: Regenerate.
1186 * include/c/*: Formatting tweaks, cleanups.
1187 * include/c_std/*: Same.
1189 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1191 * config/locale/gnu/messages_members.h: Add __uselocale bits.
1192 * config/locale/gnu/messages_members.cc: Same.
1193 * config/locale/gnu/time_members.cc: Same.
1195 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1197 * src/vterminate.cc: Format, -fno-exceptions cleanup.
1199 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1201 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
1202 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
1203 * aclocal.m4: Regenerate.
1204 * configure: Likewise.
1206 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
1207 Ulrich Drepper <drepper@redhat.com>
1209 * src/locale-inst.cc (__convert_from_v): Add an additional
1210 __size parameter in the declarations.
1211 * include/bits/locale_facets.tcc
1212 (__convert_from_v): When available (that is,
1213 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
1214 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
1215 being defined or not, call and use __convert_from_v in the
1217 (num_put::_M_convert_int): Same here.
1218 (money_put::do_put(long double)): Same here.
1220 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
1222 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
1223 * docs/html/faq/index.txt: Regenerate.
1225 2002-03-19 Steve Ellcey <sje@cup.hp.com>
1227 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
1228 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
1229 --enable-libunwind-exceptions is set.
1230 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
1231 macro to check for libunwind.
1232 * configure: Regenerate.
1233 * src/Makefile.am (libstdc___la_LDFLAGS): Add
1234 LIBUNWIND_FLAG to libstdc link line.
1235 * src/Makefile.in: Regenerate.
1237 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
1239 * docs/html/faq/index.html: Add OS X workaround.
1240 * docs/html/17_intro/TODO: Update.
1242 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
1244 * include/bits/locale_facets.tcc
1245 (money_put::do_put(long double)): Fix dimensioning of
1246 temporary buffers to avoid risk of overruns.
1247 (money_put::do_put(string)): Same for the buffer used to
1248 add the grouping chars.
1249 * testsuite/22_locale/money_put_members_char.cc: Add test06.
1250 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
1252 * include/bits/locale_facets.tcc
1253 (collate::do_transform): Simplify.
1255 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
1257 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
1258 * configure.in: Add comments pointing the way for autoconf 2.5x.
1259 * aclocal.m4, config.h.in, configure: Regenerate.
1261 2002-03-18 Philipp Thomas <pthomas@suse.de>
1263 * include/backward/hash_map.h: hash, hashtable, hash_map and
1264 hash_multimap are in namespace __gnu_cxx.
1265 include/backward/hash_set.h: hash, hashtable, hash_set and
1266 hash_multiset are in namespace __gnu_cxx.
1267 include/backward/hashtable.h: hash and hashtable are in
1268 namespace __gnu_cxx.
1269 include/backward/rope.h: char_producer, sequence_buffer,
1270 rope, crope and wrope are in namespace __gnu_cxx.
1271 include/backward/slist.h: slist is in namespace __gnu_cxx.
1272 * testsuite/backward/header_hash_map_h.cc
1273 testsuite/backward/header_hash_set_h.cc
1274 testsuite/backward/header_hashtable_h.cc
1275 testsuite/backward/header_rope_h.cc
1276 testsuite/backward/header_slist_h.cc
1277 testsuite/backward/header_tempbuf_h.cc: New tests for
1278 checking that we're using the correct namespace.
1280 2002-03-17 Jason Merrill <jason@redhat.com>
1283 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
1284 (check_exception_spec): Call it. Take the thrown pointer.
1285 (__cxa_call_unexpected): Pass it.
1286 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
1288 2002-03-15 Anthony Green <green@redhat.com>
1290 * configure.in: Remove useless is_mingw32.
1291 * configure: Rebuilt.
1293 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
1295 * testsuite/22_locale/collate_members_char.cc
1296 (test01): compare the result of collate::compare with
1297 that of collate::transform + string::compare, not with
1298 that of collate::transform + collate::compare.
1299 (test01): values returned by collate::compare are
1300 normalized, therefore test against +-1.
1301 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
1303 2002-03-12 Loren Rittle <ljrittle@acm.org>
1305 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1306 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
1308 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
1309 Per Liboriussen <liborius@stofanet.dk>
1311 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
1313 * config/os/gnu-linux/bits/ctype_inline.h: Same.
1315 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
1317 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
1318 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1320 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
1321 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1323 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
1324 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1326 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
1328 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
1330 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
1331 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
1332 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
1333 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
1334 that memory limits are in place.
1335 (test03): Add tests.
1337 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
1339 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
1340 * aclocal.m4: Regenerate.
1341 * config.h.in: Regenerate.
1342 * configure: Regenerate.
1343 * include/c_std/std_cwctype.h: Guard.
1345 2002-03-11 Chris Demetriou <cgd@broadcom.com>
1347 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
1348 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
1349 * aclocal.m4: Regenerate.
1350 * configure: Regenerate.
1352 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
1354 * include/bits/stl_bvector.h: Fix warning.
1356 2002-03-11 Richard Henderson <rth@redhat.com>
1358 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
1360 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
1362 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
1363 New function. Build the list of tests to run in testsuite_files.
1364 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
1366 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
1368 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
1369 platforms with no weak support.
1370 * testsuite/27_io/ios_init.cc: Likewise.
1372 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
1374 * include/bits/locale_facets.tcc (time_put::do_put):
1375 Consider sizeof(char_type) in allocating the buffer.
1377 * include/bits/locale_facets.tcc (collate::do_tranform):
1378 Remove redundant variable.
1380 2002-03-10 Ulrich Drepper <drepper@redhat.com>
1381 Paolo Carlini <pcarlini@unitus.it>
1383 * config/locale/generic/collate_members.cc
1384 (collate<char,wchar_t>::_M_compare_helper): normalize
1385 values returned by strcoll and wcscoll.
1386 * config/locale/gnu/collate_members.cc
1387 (collate<char,wchar_t>::_M_compare_helper): ditto
1388 for __strcoll_l and __wcscoll_l.
1390 2002-03-10 Anthony Green <green@redhat.com>
1392 * configure.in: Support cross builds to mingw32 target.
1393 * configure: Rebuilt.
1395 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
1397 * include/bits/locale_facets.tcc (collate::do_transform):
1398 Rewrite to fix problems with long transformed strings.
1400 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
1402 * c_locale_generic.cc: Move to...
1403 * generic/c_locale.cc
1404 * c_locale_generic.h: Move to...
1405 * generic/c_locale.h
1406 * codecvt_specializations_generic.h: Move to...
1407 * generic/codecvt_specializations.h
1408 * collate_members_generic.cc: Move to...
1409 * generic/collate_members.cc
1410 * ctype_members_generic.cc: Move to...
1411 * generic/ctype_members.cc
1412 * messages_members_generic.cc: Move to...
1413 * generic/messages_members.cc
1414 * messages_members_generic.h: Move to...
1415 * generic/messages_members.h
1416 * moneypunct_members_generic.cc: Move to...
1417 * generic/monetary_members.cc
1418 * numpunct_members_generic.cc: Move to...
1419 * generic/numeric_members.cc
1420 * time_members_generic.cc: Move to...
1421 * generic/time_members.cc
1422 * c_locale_gnu.cc: Move to...
1424 * c_locale_gnu.h: Move to...
1426 * collate_members_gnu.cc: Move to...
1427 * gnu/collate_members.cc
1428 * ctype_members_gnu.cc: Move to...
1429 * gnu/ctype_members.cc
1430 * messages_members_gnu.cc: Move to...
1431 * gnu/messages_members.cc
1432 * messages_members_gnu.h: Move to...
1433 * gnu/messages_members.h
1434 * moneypunct_members_gnu.cc: Move to...
1435 * gnu/monetary_members.cc
1436 * numpunct_members_gnu.cc: Move to...
1437 * gnu/numeric_members.cc
1438 * time_members_gnu.cc: Move to...
1439 * gnu/time_members.cc
1440 * c_locale_ieee_1003.1-200x.cc: Move to...
1441 * ieee_1003.1-2001/c_locale.cc
1442 * c_locale_ieee_1003.1-200x.h: Move to...
1443 * ieee_1003.1-2001/c_locale.h
1444 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
1445 * ieee_1003.1-2001/codecvt_specializations.h
1446 * messages_members_ieee_1003.1-200x.cc: Move to...
1447 * ieee_1003.1-2001/messages_members.cc
1448 * messages_members_ieee_1003.1-200x.h: Move to...
1449 * ieee_1003.1-2001/messages_members.h
1451 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
1452 * aclocal.m4: Regenerate.
1453 * configure: Regenerate.
1454 * src/Makefile.am (sources): Change to monetary and numeric.
1455 * src/Makefile.in: Regenerate.
1456 * docs/html/configopts.html: Update to ieee_1003.1-2001.
1458 2002-03-08 scott snyder <snyder@fnal.gov>
1461 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1462 Allow one more digit of precision.
1463 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
1464 write a double and read back in the same value.
1466 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
1468 * include/std/std_limits.h: Move static const data members out of
1469 generic template, into base class __numeric_limits_base.
1470 * src/limits.cc: Add definitions.
1471 * config/linker-map.gnu: Add __numeric_limits_base.
1472 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
1474 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
1476 * include/bits/stl_alloc.h: Add extern implicit allocator
1478 * include/bits/basic_string.tcc: Tweak.
1479 * include/bits/locale_facets.tcc: Remove default args. Add
1480 has_facet, use_facet extern instantiations.
1481 * src/stl-inst.cc: Add explicit instantiation.
1482 * src/locale-inst.cc: Clean. Remove locale member template
1485 * testsuite/22_locale/operators.cc (test02): Enable.
1487 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
1488 Stephen M. Webb <stephen.webb@bregmasoft.com>
1490 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
1491 (_S_rb_tree_black): Make enum.
1493 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
1494 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
1495 (__stl_threshold): _M_threshold, enum.
1496 * src/stl-inst.cc: Same.
1497 * config/linker-map.gnu: Remove.
1499 * testsuite/23_containers/vector_bool.cc: New.
1501 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
1503 * docs/doxygen/user.cfg.in: Also document deprecated entries.
1504 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
1505 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
1506 referring to the collection as a whole. New section on which macros
1507 can be redefined by the user.
1508 * docs/html/19_diagnostics/howto.html: Update note for concepts.
1509 * docs/html/20_util/howto.html: Update link to SGI.
1510 * docs/html/faq/index.html: Update snapshot versions. New entry
1511 on why g++ (but not gcc) must currently predefine certain macros.
1512 * docs/html/faq/index.txt: Regenerated.
1514 * include/bits/basic_string.h (basic_string::_S_construct): Fix
1515 names in declaration.
1516 (basic_string::compare): These are no longer optional.
1517 * include/bits/ostream.tcc: Tweak closing brace placement.
1518 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
1519 * include/std/std_sstream.h: Fix typo in comment.
1520 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
1521 * src/locale.cc: Likewise.
1523 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
1526 * include/bits/stl_vector.h (vector::push_back()): Guard with
1527 _GLIBCPP_DEPRECATED.
1529 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
1531 * include/bits/c++config: Fix misplaced leading blanks on first line.
1533 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
1535 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
1536 * README (libmath): Make clear.
1538 2002-03-05 Jakub Jelinek <jakub@redhat.com>
1540 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
1541 script globbing in ld.
1542 * aclocal.m4: Rebuilt.
1543 * configure: Rebuilt.
1545 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
1547 * docs/html/17_intro/RELEASE-NOTES: Update.
1548 * README: Format subdirectories.
1550 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
1553 * include/bits/locale_facets.tcc
1554 (num_get::_M_extract_float): Fix the parsing of __dec, since
1555 the standard prescribes that if no grouping characters are
1556 seen, no grouping check is applied.
1557 * testsuite/22_locale/num_get_members_char.cc: Add test05
1558 distilled from the PR.
1559 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
1561 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
1563 * docs/html/17_intro/porting-howto.xml: Refer to
1564 http://www.oasis-open.org for docbookx.dtd.
1565 * docs/html/17_intro/porting-howto.html: Regenerated.
1567 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
1570 * include/std/std_sstream.h: Remove trailing spaces.
1571 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
1572 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
1574 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
1576 * testsuite/22_locale/num_get_members_char.cc (test04):
1577 Use a named locale expecting grouping (de_DE).
1578 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
1580 * testsuite/27_io/ios_manip_basefield.cc (test01):
1581 Extend coverage, uniform treatment of hexs and octs.
1583 2002-02-28 Richard Henderson <rth@redhat.com>
1585 * config/linker-map.gnu: Export operator new with unsigned long,
1586 and with std::nothrow_t. Likewise operator delete.
1588 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
1590 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
1591 Admit grouping for octals and hexadecimals too.
1592 * testsuite/22_locale/num_get_members_char.cc: Add test04.
1593 (test01): Tweak "." -> "," in void* test.
1594 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
1596 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
1597 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
1599 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
1601 * testsuite/27_io/ios_manip_basefield.cc (test01):
1602 Fix for 64 bit machines.
1604 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
1607 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
1609 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
1610 (basic_ios::_M_fill_init): New.
1611 (basic_ios::fill()): Delay dealing with _M_fill.
1613 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
1614 (ios_base::_M_call_callbacks): Adjust.
1615 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
1617 2002-02-26 Loren Rittle <ljrittle@acm.org>
1619 * include/Makefile.am (thread_target_headers): Unconditionally
1620 stage and install gthr-posix.h.
1621 (${target_builddir}/gthr-posix.h): New rule cloned off
1622 ${target_builddir}/gthr-default.h.
1623 (${target_builddir}/gthr-default.h): Support chained inclusion
1624 of gthr support headers.
1625 * include/Makefile.in: Rebuilt.
1627 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
1629 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
1630 Group all the integral types, not only decs.
1631 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
1632 tests, add a few more.
1634 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
1636 * src/ios.cc (ios_base::~ios_base): Tweak.
1637 (ios_base::_M_call_callbacks): Deal with null __p.
1638 (ios_base::ios_base): Set _M_callbacks.
1639 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
1640 * testsuite/27_io/ios_init.cc (test02): Fix.
1642 * mkcheck.in (static_fail): Failed links go to output file.
1644 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
1646 * docs/html/faq/index.html: Update.
1647 * docs/html/faq/index.txt: Regenerate.
1649 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
1651 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
1652 * aclocal.m4: Regenerate.
1653 * docs/html/configopts.html: Document --enable-symvers.
1654 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
1656 2002-02-22 Philipp Thomas <pthomas@suse.de>
1658 * include/backward/tempbuf.h: get_temporary_buffer and
1659 return_temporary_buffer are in namespace std, not in __gnu_cxx.
1661 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
1663 * configure.in (target_alias): Default to yes.
1664 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
1665 libgcc to default case.
1667 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
1669 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
1670 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
1671 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
1672 * aclocal.m4: Regenerate.
1673 * configure: Regenerate.
1674 * config/linker-map.dummy: New file. Contains nothing useful.
1676 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
1678 * testsuite/22_locale/money_put_members_char.cc: Fix.
1679 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
1681 * testsuite/27_io/standard_manipulators.cc: New file.
1683 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
1684 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
1686 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
1688 * config/os/mingw32/bits/ctype_noninline.h
1689 (ctype<char>::ctype): Remove default args from parm list.
1690 * config/os/djgpp/bits/ctype_noninline.h: Same.
1692 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
1694 * include/std/std_iomanip.h: Inline, tweaks.
1695 * config/linker-map.gnu: Remove hacks.
1697 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
1698 * testsuite/27_io/ios_init.cc: Same.
1699 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
1700 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
1702 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
1704 * config/linker-map.gnu: Export global vtable, typeinfo, guard
1705 variable, and thunk info as per CXXABI docs.
1707 2002-02-19 Loren Rittle <ljrittle@acm.org>
1709 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
1710 * include/Makefile.in: Rebuilt.
1712 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1714 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
1715 with size3 for the string collations of str5.
1717 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
1720 * include/bits/locale_facets.tcc (money_put::do_put):
1721 For the space field use __fill instead of ' ', uniformly.
1722 * testsuite/22_locale/money_put_members_char.cc:
1723 Add test05 distilled from PR.
1724 (test01-02-03): Trim some '*' to ' '.
1725 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
1727 2002-02-18 Loren Rittle <ljrittle@acm.org>
1730 * include/Makefile.am (thread_builddir): Remove (map all
1731 existing uses to target_builddir).
1732 (thread_headers): Rename to...
1733 (thread_target_headers): ...this.
1734 (stamp-thread): Remove.
1735 (stamp-target): Correctly state the position as built.
1736 Update all dependencies to match the new reality. Remove all
1737 dependency calculations on directories.
1738 * include/Makefile.in: Rebuilt.
1740 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
1742 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
1743 * include/bits/fstream.tcc: Same.
1744 * include/bits/sstream.tcc: Same.
1745 * include/bits/ostream.tcc: Same.
1746 * include/bits/istream.tcc: Same.
1747 * include/bits/streambuf.tcc: Same.
1748 * include/bits/basic_ios.tcc: Same.
1749 * include/bits/basic_string.tcc: Same.
1751 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
1753 * include/std/std_iosfwd.h: Don't guard typedefs with
1754 _GLIBCPP_USE_WCHAR_T
1755 * include/bits/stringfwd.h: Same.
1757 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
1759 * src/locale.cc (moneypunct_byname): Remove definitions.
1760 * include/std/std_streambuf.h (streambuf::operator=): Return.
1762 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
1765 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
1766 explicit instantiation.
1767 (string::_Rep::_S_max_size): Same.
1768 * include/bits/basic_string.tcc: Add extern explicit
1769 instantiations for string, wstring.
1770 * include/bits/basic_ios.tcc: Add extern explicit instantiations
1772 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
1773 * include/bits/istream.tcc: Same, for istream, wistream.
1774 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
1776 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
1777 istringstream, wistringstream, ostringstream, wostringstream,
1778 stringstream, wstringstream.
1779 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
1780 wifstream, ofstream, wofstream, fstream, wfstream.
1781 * src/misc-inst.cc: Correct comments.
1782 Add iomanip instantiations for wide streams.
1783 * include/std/std_iomanip.h: Same.
1784 * include/bits/locale_facets.tcc: Same.
1786 * include/std/std_streambuf.h: Correct
1787 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
1788 * include/std/std_sstream.h: Same.
1789 * include/std/std_ostream.h: Same.
1790 * include/std/std_istream.h: Same.
1791 * include/std/std_fstream.h: Same.
1793 * include/std/std_streambuf.h: Add definitions for private copy
1794 ctor and assignment operator.
1795 * include/std/std_istream.h: Remove declared but undefined copy
1796 ctor and assignment operator. This is taken care of in ios_base,
1797 so adding it in the derived class as well is superfluous.
1798 * include/std/std_ostream.h: Same.
1800 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
1801 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
1803 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
1805 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
1806 Add typeinfo bits. Smooth.
1807 * aclocal.m4: Regenerate.
1809 * src/Makefile.in: Same.
1811 2001-02-14 Joel Sherrill <joel@OARcorp.com>
1813 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
1814 which do not have a CAS instruction.
1816 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
1818 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
1819 * configure.in: Call it.
1820 * config/linker-map.gnu: New file, initial incomplete revision.
1821 * src/Makefile.am: Optionally pass version script to the linker.
1822 * aclocal.m4: Regenerate.
1823 * configure: Regenerate.
1824 * src/Makefile.in: Regenerate.
1826 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
1828 * src/localename.cc: Remove stdexcept include.
1829 * src/locale-inst.cc: Same.
1830 * src/locale.cc: Same.
1831 * src/functexcept.cc: Remove string includes.
1832 * include/std/std_bitset.h: Remove stdexcept include.
1833 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
1834 * testsuite/23_containers/bitset_ctor.cc: Same.
1836 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
1838 * include/bits/stl_algo (__stl_threshold): Declare external.
1839 (__stl_chunk_size): Same.
1840 * include/bits/stl_bvector.h (__WORD_BIT): Same.
1841 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
1842 (_S_rb_tree_black): Same.
1843 * src/stl-inst.cc (__stl_threshold): Define.
1844 (__stl_chunk_size): Same.
1846 (_S_rb_tree_red): Same.
1847 (_S_rb_tree_black): Same.
1849 * config/io/basic_file_libio.h (__basic_file): Add declarations.
1850 * include/bits/basic_file.h: Remove.
1851 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
1852 Declare generic types, specialization.
1853 * config/io/basic_file_stdio.cc: Definitions.
1854 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
1855 Declare generic types.
1856 * include/Makefile.am (bits_headers): Remove basic_file.h.
1857 (extra_target_headers): Change basic_file_model.h to basic_file.h.
1858 (stamp-target): Same.
1860 * include/bits/stl_alloc.h: Tweaks.
1861 * include/bits/localefwd.h: Same.
1863 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
1865 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
1866 * testsuite/22_locale/collate_members_char.cc (test03): New test.
1867 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
1869 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
1871 * include/bits/stl_algo.h (transform (both signatures), generate_n):
1872 Use __typeof__ in concept checks.
1874 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
1876 * include/bits/stl_algo.h (__median, for_each, find, find_if,
1877 adjacent_find, count, count_if, search, search_n, swap_ranges,
1878 transform, replace, replace_if, replace_copy, replace_copy_if,
1879 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
1880 unique, unique_copy, reverse, reverse_copy): Doxygenate.
1882 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
1884 * include/bits/locale_facets.h
1885 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
1886 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
1887 (__timepunct<_CharT>::_M_put_helper): Same.
1888 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
1890 * include/bits/fstream.tcc (filebuf::underflow): Remove
1891 __codecvt_type typedef.
1892 (filebuf::_M_convert_to_external): Same.
1894 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
1896 * docs/doxygen/TODO: Update.
1897 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
1898 * docs/doxygen/mainpage.html: Add TODO list link.
1899 * docs/doxygen/user.cfg.in: Add @doctodo hook.
1900 * docs/doxygen/tables.html: New file, emoty structure only.
1902 * include/bits/stl_iterator.h: Doxygenate just about everything.
1903 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
1904 * include/bits/stl_iterator_base_types.h: Add notes.
1906 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
1908 * include/bits/stl_map.h: Tweak doxygen markup.
1909 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
1910 * include/bits/stl_vector.h: Likewise.
1912 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
1916 * include/std/std_fstream.h (filebuf::__file_type): Change to
1918 (filebuf::_M_convert_to_external): Declare.
1919 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
1920 codecvt bits for wide streams.
1921 (filebuf::_M_really_overflow): Use it.
1922 (filebuf::underflow): Use codecvt.
1923 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
1924 (codecvt<__enc_traits>::do_out): Deal with partial.
1925 (codecvt<__enc_traits>::do_encoding): Return something useful.
1926 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
1928 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
1929 Change expected encoding output.
1931 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
1934 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
1935 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
1937 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
1938 (basic_ios::widen): Same.
1940 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
1942 * testsuite/22_locale/money_get_members_char.cc:
1943 Add comment, tidy up.
1944 (test01): more "en_HK" tests (without showbase).
1945 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
1947 2002-02-06 Loren Rittle <ljrittle@acm.org>
1949 * config/locale/c_locale_generic.cc: Do not trust
1950 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
1953 2002-02-06 Loren Rittle <ljrittle@acm.org>
1955 * acinclude.m4: Add C++ linkage check for strtof.
1956 * aclocal.m4: Rebuilt.
1957 * config.h.in: Rebuilt.
1958 * configure: Rebuilt.
1959 * config/locale/c_locale_generic.cc: Conditionally include
1960 <ieeefp.h>. Improve handling and error checking of float
1961 and long double input for non-C99 configurations.
1963 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
1965 * include/bits/locale_facets.tcc (money_get::do_get(string)):
1966 In case money_base::symbol deal properly with multi-char sign
1967 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
1968 * testsuite/22_locale/money_get_members_char.cc: Add test07.
1969 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
1971 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
1973 * include/bits/locale_facets.tcc (money_get::do_get(string)):
1974 First construct a tentative returned string, then, only if the
1975 parsing succeeds, copy it into the string passed by reference.
1976 * testsuite/22_locale/money_get_members_char.cc: Add test06.
1977 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
1979 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
1981 * docs/doxygen/TODO: Impl-defined behavior now documented...
1982 * docs/html/17_intro/howto.html: ...here.
1983 * docs/doxygen/mainpage.doxy: Remove, rename...
1984 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
1985 * docs/doxygen/style.css: Add small text.
1986 * docs/doxygen/run_doxygen: Adjust for new mainpage.
1987 * docs/doxygen/user.cfg.in: Likewise.
1989 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
1991 * include/bits/stl_map.h: Initial doxygen markup.
1992 * include/std/std_fstream.h: Initial doxygen markup.
1994 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
1997 * include/bits/locale_facets.tcc (money_get::do_get(string)):
1998 Deal correctly with !(__io.flags() & ios_base::showbase)
1999 for case money_base::symbol.
2000 * testsuite/22_locale/money_get_members_char.cc: Add test05.
2001 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
2003 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
2005 * testsuite/22_locale/operators.cc
2006 (gnu_collate::do_compare()): Add return statement to
2007 suppress "no return statement" warning.
2009 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
2011 * testsuite/27_io/ostream_manip.cc: Enable test02.
2013 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
2015 * docs/html/documentation.html: Update for 3.0.96.
2016 * docs/html/faq/index.html: Update for 3.0.96.
2017 * docs/html/faq/index.txt: Regenerated.
2018 * docs/doxygen/TODO: Update notes.
2019 * docs/html/17_intro/howto.html: Initial impl-specific listing.
2021 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
2023 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2024 Initialize all data members in copy ctor. Make ctors explicit.
2025 (__enc_traits::__enc_traits()): Default ctor does nothing.
2026 (__enc_traits::_M_init): Guard against multiple iconv_opens.
2027 * include/std/std_sstream.h (basic_stringbuf): Make data members
2029 * include/std/std_fstream.h (basic_filebuf): Same.
2030 * include/std/std_streambuf.h: Tweak.
2031 * include/bits/streambuf.tcc: Same.
2032 * include/bits/sstream.tcc: Same.
2033 * include/bits/fstream.tcc: Same.
2035 2002-01-31 Loren Rittle <ljrittle@acm.org>
2037 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
2038 allow NULL argument to be passed to setenv().
2039 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
2040 * testsuite/22_locale/collate_members_char.cc: Likewise.
2041 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
2042 * testsuite/22_locale/ctype_members_char.cc: Likewise.
2043 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
2044 * testsuite/22_locale/messages_members_char.cc: Likewise.
2045 * testsuite/22_locale/money_get_members_char.cc: Likewise.
2046 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
2047 * testsuite/22_locale/money_put_members_char.cc: Likewise.
2048 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2049 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
2050 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
2051 * testsuite/22_locale/num_get_members_char.cc: Likewise.
2052 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
2053 * testsuite/22_locale/num_put_members_char.cc: Likewise.
2054 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
2055 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
2056 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
2057 * testsuite/22_locale/time_get_members_char.cc: Likewise.
2058 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
2059 * testsuite/22_locale/time_put_members_char.cc: Likewise.
2060 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
2062 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
2064 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
2066 * ChangeLog-2001: Fix spelling errors...
2067 * docs/html/17_intro/RELEASE-NOTES: Update.
2068 * docs/html/17_intro/TODO: Update.
2069 * README (file): Update.
2071 2002-01-30 Loren Rittle <ljrittle@acm.org>
2073 * config/locale/c_locale_generic.cc: Check errno for ERANGE
2074 instead of non-zero to aid portability.
2076 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2078 * docs/html/22_locale/messages.html: Fix example code.
2080 2002-01-30 Richard Henderson <rth@redhat.com>
2082 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
2083 out from test03 and templatize.
2086 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
2088 * config/locale/numpunct_members_gnu.cc
2089 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
2090 Fix initialization of _M_grouping for locales which have
2091 _M_thousands_sep == '\0'(L'\0', respectively).
2092 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
2094 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
2096 * testsuite/27_io/ostream_inserter_arith.cc (test03):
2097 Better fix for 32/64 bit architectures, avoiding the
2098 implicit assumption that CHAR_BIT == 8.
2100 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
2102 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
2103 * Makefile.in: Regenerate.
2105 * docs/doxygen/run_doxygen: Update, mostly for man pages.
2106 * docs/doxygen/Intro.3: Update.
2107 * docs/doxygen/TODO: Update.
2108 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
2109 * docs/doxygen/mainpage.doxy: Update.
2110 * docs/doxygen/user.cfg.in: Update for header rename. Also
2111 regenerate comments and variables with 1.2.12.
2112 * docs/doxygen/maint.cfg.in: Remove file.
2114 * include/bits/stl_relops.h: Doxygenate.
2115 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
2117 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
2118 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
2119 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
2120 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
2121 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
2122 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
2123 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
2124 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
2125 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
2126 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
2127 include/ext/hash_set, include/ext/iterator, include/ext/memory,
2128 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
2129 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
2130 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
2131 include/std/std_algorithm.h, include/std/std_bitset.h,
2132 include/std/std_complex.h, include/std/std_deque.h,
2133 include/std/std_fstream.h, include/std/std_functional.h,
2134 include/std/std_iomanip.h, include/std/std_ios.h,
2135 include/std/std_iosfwd.h, include/std/std_iostream.h,
2136 include/std/std_istream.h, include/std/std_iterator.h,
2137 include/std/std_limits.h, include/std/std_list.h,
2138 include/std/std_locale.h, include/std/std_map.h,
2139 include/std/std_memory.h, include/std/std_numeric.h,
2140 include/std/std_ostream.h, include/std/std_queue.h,
2141 include/std/std_set.h, include/std/std_sstream.h,
2142 include/std/std_stack.h, include/std/std_stdexcept.h,
2143 include/std/std_streambuf.h, include/std/std_string.h,
2144 include/std/std_utility.h, include/std/std_valarray.h,
2145 include/std/std_vector.h: Add/correct @file doxygen hook.
2147 * include/ext/memory: Doxygenate most of rest of file.
2148 * libsupc++/exception: Doxygen output formatting.
2149 * libsupc++/new: Say which header it is.
2151 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
2152 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
2153 * docs/html/23_containers/howto.html: Describe O(n) list::size().
2154 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
2156 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
2157 Charles Leggett <CGLeggett@lbl.gov>
2159 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
2161 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
2163 * testsuite/27_io/ostream_inserter_arith.cc (test03):
2164 Fix to deal correctly with both 32 bit and 64 bit architectures
2166 2002-01-25 Loren Rittle <ljrittle@acm.org>
2168 * testsuite/thread/pthread1.cc: Use one condition variable
2169 per predicate instead of tricky use of one condition variable.
2171 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
2173 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
2175 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
2176 * testsuite/27_io/filebuf.cc: Compile only.
2177 * testsuite/27_io/filebuf_members.cc: Move tests to here.
2178 * testsuite/27_io/filebuf_virtuals.cc: And here.
2179 Revert sungetc, sync changes for expected values.
2180 * testsuite/27_io/filebuf-*: Move to...
2181 * testsuite/27_io/filebuf_virtuals-*: ...here.
2182 * testsuite/27_io/istream.cc: Compile only, activate.
2183 * testsuite/27_io/ostream.cc: Same.
2184 * testsuite/27_io/iostream.cc: New.
2185 * testsuite/27_io/iostream_members.cc: New.
2187 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
2189 * testsuite/thread/pthread1.cc: Enable on cygwin.
2190 * testsuite/thread/pthread2.cc: Likewise.
2191 * testsuite/thread/pthread3.cc: Likewise.
2192 * testsuite/thread/pthread4.cc: Likewise.
2193 * testsuite/thread/pthread5.cc: Likewise.
2194 * testsuite/thread/pthread6.cc: Likewise.
2196 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
2198 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
2200 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
2202 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
2204 (basic_ios::fill(char_type)): Use fill().
2205 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
2206 (basic_ios::narrow): Same.
2207 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
2208 if they are invalid.
2209 (basic_ios::init): Comment.
2210 * testsuite/27_io/ios_init.cc (test02): New.
2212 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
2214 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
2215 * include/bits/stl_algo.h: Include stl_tempbuf.h.
2216 * include/ext/memory: Do not include stl_tempbuf.h.
2217 (temporary_buffer): Add doxygen hook.
2218 (__get_temporary_buffer, get_temporary_buffer,
2219 return_temporary_buffer): Move back to std:: header...
2220 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
2221 * include/ext/rope: Do not include stl_tempbuf.h.
2222 * include/ext/stl_hashtable.h: Likewise.
2223 * include/std/std_algorithm.h: Likewise.
2224 * testsuite/20_util/temporary_buffer.cc: New file.
2226 2002-01-24 andrew@andypo.net
2227 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
2230 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
2231 * include/bits/localefwd.h: Likewise.
2232 Also use for std::locale::id::_S_highwater.
2233 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
2234 * src/locale.cc: Support new usage of _Atomic_word.
2235 (std::locale::classic): Guard entire function against reentry.
2236 * src/localename.cc: Support new usage of _Atomic_word.
2238 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
2240 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
2241 _GLIBCPP_HAVE_SETENV.
2242 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
2243 * testsuite/22_locale/collate_members_char.cc (test02): Same.
2244 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
2245 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
2246 * testsuite/22_locale/messages_members_char.cc (test02): Same.
2247 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
2248 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
2249 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
2250 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
2251 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
2252 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
2253 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
2254 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
2255 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
2256 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
2257 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
2258 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
2259 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
2260 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
2261 * aclocal.m4: Regenerate.
2262 * configure: Regenerate.
2263 * config.h.in: Regenerate.
2265 2002-01-23 Loren Rittle <ljrittle@acm.org>
2267 * testsuite/thread/pthread1.cc: New test.
2268 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
2269 * testsuite/thread/pthread3.cc: Likewise.
2270 * testsuite/thread/pthread4.cc: New test adapted from
2271 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
2272 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
2273 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
2275 2002-01-23 Richard Henderson <rth@redhat.com>
2278 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
2279 CAS on the cpu variants that support it. Add versions that use
2280 TAS and that disable interrupts.
2281 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
2283 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
2285 * include/bits/locale_facets.tcc: Remove old comments.
2287 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
2289 * include/bits/locale_facets.tcc (__convert_to_v): Change template
2291 (__convert_from_v): Same.
2293 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
2295 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
2297 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
2298 __max_digits checks, adjust arguments.
2299 (num_get::do_get(*)): Changeup.
2301 2002-01-23 Loren Rittle <ljrittle@acm.org>
2303 * config/locale/c_locale_generic.cc: Fix typename usage.
2305 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2307 * config/locale/c_locale_generic.cc: Fix.
2309 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2311 * docs/html/22_locale/messages.html: Remove angle brackets.
2312 * docs/html/17_intro/TODO: Add.
2314 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
2316 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
2317 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
2318 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
2319 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
2321 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2323 Audit for LANG independence.
2324 * include/bits/localefwd.h: Tweaks.
2325 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
2327 (time_get::do_get_year): Same.
2328 (__convert_from_v): Add.
2329 (num_put::_M_convert_float): Use.
2330 (num_put::_M_convert_int): Same.
2331 (money_put::do_put): Same.
2333 * src/locale-inst.cc: Add instantiations for __convert_from_v.
2334 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
2335 * config/locale/time_members_generic.cc:
2336 * config/locale/messages_members_gnu.cc: Same.
2337 * config/locale/messages_members_gnu.h: Same.
2339 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
2340 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
2341 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
2342 * testsuite/22_locale/collate_members_char.cc (test02): New.
2343 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
2344 * testsuite/22_locale/ctype_members_char.cc (test03): New.
2345 * testsuite/22_locale/messages_members_char.cc (test02): New.
2346 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
2347 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
2348 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
2349 * testsuite/22_locale/money_get_members_char.cc (test04): New.
2350 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
2351 * testsuite/22_locale/money_put_members_char.cc (test04): New.
2352 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
2353 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
2354 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
2355 * testsuite/22_locale/time_put_members_char.cc (test03): New.
2356 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
2357 * testsuite/22_locale/time_get_members_char.cc (test07): New.
2358 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
2359 * testsuite/22_locale/num_get_members_char.cc (test03): New.
2360 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
2361 * testsuite/22_locale/num_put_members_char.cc (test03): New.
2363 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
2365 * testsuite/22_locale/time_get_members_char.cc: Same.
2367 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2370 * include/bits/localefwd.h: Tweak comments.
2371 * include/bits/locale_facets.h (__convert_to_v): Add.
2372 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
2373 (num_get::do_get(float)): Same.
2374 (num_get::do_get(long double)): Same.
2375 (num_get::do_get(bool)): Same.
2376 (num_get::do_get(long)): Same.
2377 (num_get::do_get(long long)): Same.
2378 (num_get::do_get(unsigned int)): Same.
2379 (num_get::do_get(unsigned short)): Same.
2380 (num_get::do_get(unsigned long)): Same.
2381 (num_get::do_get(unsigned long long)): Same.
2382 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
2383 * config/locale/c_locale_generic.cc: Same.
2385 2002-01-22 Loren Rittle <ljrittle@acm.org>
2387 * include/Makefile.am (c_base_builddir): Remove redundant slash.
2388 (std_builddir): Likewise.
2389 (std_headers_rename): Fix cut-n-paste typo.
2390 (install-data-local): Concat path per element instead of once to
2391 first element of list.
2392 * include/Makefile.in: Rebuilt.
2394 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2396 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
2397 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
2398 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
2400 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
2402 * include/bits/locale_facets.h (ctype<char>::classic_table):
2404 (ctype<char>::_S_ctable): Remove.
2405 * config/os/gnu-linux/bits/ctype_noninline.h
2406 (ctype<char>::_S_table): Remove definition.
2407 (ctype<char>::classic_table): Define.
2408 (ctype<char>::ctype): Replace _S_ctable with classic_table().
2409 * config/os/aix/bits/ctype_noninline.h: Same.
2410 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
2411 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
2412 * config/os/djgpp/bits/ctype_noninline.h: Same.
2413 * config/os/generic/bits/ctype_noninline.h: Same.
2414 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
2415 * config/os/hpux/bits/ctype_noninline.h: Same.
2416 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
2417 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
2418 * config/os/mingw32/bits/ctype_noninline.h: Same.
2419 * config/os/newlib/bits/ctype_noninline.h: Same.
2420 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2421 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2422 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2424 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
2426 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
2427 of _pctype. Use to define _S_ctable. Add definition for alternate
2428 ctor. Initialise _M_ctable to _S_ctable in ctors.
2429 (do_toupper, do_tolower): Use inline code appropriate for C-locale
2430 rather than ::toupper, ::tolower.
2432 2002-01-18 Loren Rittle <ljrittle@acm.org>
2434 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
2435 Add specialization for FreeBSD systems only to avoid losing test
2436 only due to extra precision unmentioned in system headers.
2438 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
2440 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
2442 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
2444 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
2445 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
2447 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2449 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
2451 2002-01-17 David Edelsohn <edelsohn@gnu.org>
2453 * configure.target: Define OPT_LDFLAGS for AIX case.
2455 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2457 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
2458 __glibcpp_double_has_quiet_NaN): Correct mispelling.
2460 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
2462 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
2464 2002-01-16 David Edelsohn <dje@watson.ibm.com>
2466 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
2467 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
2468 * aclocal.m4: Regenerate.
2469 * configure: Regenerate.
2471 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
2473 * include/Makefile.am (c_base_headers_rename): New.
2474 (c_base_headers_extra): New.
2475 (stamp-c_base): Modify.
2476 (install-data-local): Use both.
2477 * include/Makefile.in: Regenerate.
2478 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
2479 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
2480 cstdio ctime cwctype]: Move to..
2481 * include/c/std_*: Here.
2482 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
2483 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
2484 cstdio ctime cwctype]: Move to..
2485 * include/c_std/std_*: Here.
2487 Alexandre Oliva <aoliva@redhat.com>
2488 * include/Makefile.am (.PRECIOUS): Add rule.
2489 * include/Makefile.in: Regenerate.
2491 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
2492 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2494 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
2495 Deuglify, should be current.
2496 (back_insert_iterator::_M_container): Deuglify, should be container.
2497 (front_insert_iterator::_M_container): Same.
2498 (insert_iterator::_M_container): Same.
2499 * testsuite/24_iterators/reverse_iterator.cc: Add check.
2500 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
2501 * testsuite/24_iterators/front_insert_iterator.cc: Same.
2502 * testsuite/24_iterators/insert_iterator.cc: Same.
2504 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
2506 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
2508 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
2509 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
2510 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2511 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2512 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2513 * config/os/newlib/bits/ctype_noninline.h: Same.
2514 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
2515 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
2516 * config/os/hpux/bits/ctype_noninline.h: Same.
2517 * config/os/djgpp/bits/ctype_noninline.h: Same.
2518 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
2519 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
2520 * config/os/aix/bits/ctype_noninline.h: Same.
2522 Testcase by Dietmar Kühl via Peter Schmid
2523 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
2526 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
2528 * libmath/signbitl.c: Copyright years as list, not range.
2529 * libmath/Makefile.am: Same.
2530 * libmath/Makefie.in: Regenerate.
2531 * libmath/signbit.c: Same.
2532 * libmath/nan.c: Same.
2533 * libmath/copysignf.c: Same.
2534 * libmath/signbitf.c: Same.
2535 * testsuite/22_locale/money_get_members_char.cc: Same.
2536 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
2537 * testsuite/22_locale/money_put_members_char.cc: Same.
2538 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
2539 * testsuite/22_locale/time_get_members_char.cc: Same.
2540 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
2541 * testsuite/22_locale/time_put_members_char.cc: Same.
2542 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
2543 * testsuite/21_strings/nonmember.cc: Same.
2544 * testsuite/21_strings/compare.cc: Same.
2545 * testsuite/27_io/stringstream.cc: Same.
2546 * testsuite/27_io/stringbuf.cc: Same.
2547 * testsuite/27_io/filebuf.cc: Same.
2548 * testsuite/27_io/ios_manip_basefield.cc: Same.
2549 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
2550 * include/bits/cpp_type_traits.h: Same.
2551 * include/bits/generic_shadow.h: Same.
2552 * include/bits/gslice_array.h: Same.
2553 * include/bits/gslice.h: Same.
2554 * include/bits/indirect_array.h: Same.
2555 * include/bits/slice_array.h: Same.
2556 * include/bits/sstream.tcc: Same.
2557 * include/bits/streambuf_iterator.h: Same.
2558 * include/bits/valarray_array.tcc: Same.
2559 * include/bits/valarray_meta.h: Same.
2560 * include/bits/valarray_array.h: Same.
2561 * config/os/mingw32/bits/ctype_noninline.h: Same.
2562 * config/os/mingw32/bits/ctype_base.h: Same.
2563 * config/os/hpux/bits/ctype_noninline.h: Same.
2564 * config/os/hpux/bits/ctype_base.h: Same.
2565 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
2566 * config/os/gnu-linux/bits/ctype_base.h: Same.
2567 * config/os/generic/bits/ctype_noninline.h: Same.
2568 * config/os/generic/bits/ctype_base.h: Same.
2570 * libsupc++/tinfo.h: Tweaks.
2572 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
2574 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
2575 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
2576 * testsuite/22_locale/ctype_members_char.cc: Tweak.
2578 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
2580 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
2581 (num_put::do_put(void*)): Fix.
2582 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
2583 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
2584 * testsuite/22_locale/num_get_members_char.cc (test02): Add
2585 long double, void, bool types.
2586 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
2588 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
2589 Alexandre Oliva <aoliva@redhat.com>
2591 * libmath/Makefile.am (LINK): Add --tag CC.
2592 * libmath/Makefile.in: Regenerate.
2594 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
2596 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
2597 of character to attribute mapping table.
2599 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
2601 * testsuite/26_numerics/c99_classification_macros_c.cc
2602 Remove dg-error and dg-excess-errors comments.
2604 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
2606 * include/bits/locale_facets.tcc (time_put::put): Correct output
2608 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
2609 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
2610 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
2611 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
2613 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
2615 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
2617 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
2618 Nathan Myers <ncm@cantrip.org>
2620 * include/bits/basic_string.h
2621 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
2622 temporaries (i.e., call _M_replace_safe) when possible.
2623 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
2624 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
2625 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
2626 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
2627 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
2628 * include/bits/basic_string.tcc
2629 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
2630 replace(__pos, __n1, __s, __n2).
2631 * testsuite/21_strings/replace.cc (test03): New testcases.
2633 * include/bits/basic_string.h (insert(__pos, __s, __n)):
2634 Adjust comparison wrt overflow.
2636 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
2638 * include/Makefile.am (std_headers_rename): New variable.
2639 (install-data-local): Use it.
2640 * include/Makefile.in: Regenerate.
2642 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
2644 * include/bits/locale_facets.tcc (money_put::do_put(string):
2645 Correct output iterator value.
2646 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
2647 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
2649 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
2651 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
2654 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
2656 * include/Makefile.am (std_headers): Update list with new names.
2657 (stamp-std): Link to standardized name.
2658 * include/Makefile.in: Regenerate.
2660 * include/std/algorithm, include/std/bitset, include/std/complex,
2661 include/std/deque, include/std/fstream, include/std/functional,
2662 include/std/iomanip, include/std/ios, include/std/iosfwd,
2663 include/std/iostream, include/std/istream, include/std/iterator,
2664 include/std/limits, include/std/list, include/std/locale,
2665 include/std/map, include/std/memory, include/std/numeric,
2666 include/std/ostream, include/std/queue, include/std/set,
2667 include/std/sstream, include/std/stack, include/std/stdexcept,
2668 include/std/streambuf, include/std/string, include/std/utility,
2669 include/std/valarray, include/std/vector: Rename to...
2671 * include/std/std_algorithm.h, include/std/std_bitset.h,
2672 include/std/std_complex.h, include/std/std_deque.h,
2673 include/std/std_fstream.h, include/std/std_functional.h,
2674 include/std/std_iomanip.h, include/std/std_ios.h,
2675 include/std/std_iosfwd.h, include/std/std_iostream.h,
2676 include/std/std_istream.h, include/std/std_iterator.h,
2677 include/std/std_limits.h, include/std/std_list.h,
2678 include/std/std_locale.h, include/std/std_map.h,
2679 include/std/std_memory.h, include/std/std_numeric.h,
2680 include/std/std_ostream.h, include/std/std_queue.h,
2681 include/std/std_set.h, include/std/std_sstream.h,
2682 include/std/std_stack.h, include/std/std_stdexcept.h,
2683 include/std/std_streambuf.h, include/std/std_string.h,
2684 include/std/std_utility.h, include/std/std_valarray.h,
2685 include/std/std_vector.h: ...this.
2687 2002-01-11 Loren Rittle <ljrittle@acm.org>
2689 * include/Makefile.am (extra_target_headers): New list of all
2690 target files built with ad hoc naming rules.
2691 (stamp-*): Handle LN_S failure in manner portable across make
2693 (install-data-local): Install header files from human-maintained
2694 file lists and directory components instead of non-robust find.
2695 * include/Makefile.in: Rebuilt.
2697 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
2699 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2700 Check for zero-length negative sign before adding it to output
2702 (money_get::do_get(long double)): Return beg.
2703 * testsuite/22_locale/money_get_members_char.cc (test02): Add
2705 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
2707 2002-01-10 David Seymour <seymour_dj@yahoo.com>
2710 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
2711 for _M_extract_float and _M_extract_int
2712 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
2713 (num_get<>::_M_extract_int): Likewise, all callers changed
2714 * testsuite/22_locale/num_get_members_char.cc: Testcase
2716 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
2718 * libsupc++/exception (bad_exception): Add comment.
2719 * libsupc++/new (bad_alloc): Same.
2720 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
2722 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
2724 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
2725 that the destructors should be removed from the descriptions
2726 in the standard: writing them explicitly allows the vtable
2727 heuristic to work. For additional information see:
2728 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
2729 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
2730 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
2731 * libsupc++/exception (bad_exception::~bad_exception()):
2732 Reintroduce declaration.
2733 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
2734 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
2735 (bad_typeid::~bad_typeid()): Same.
2736 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
2737 Reintroduce definition.
2738 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
2739 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
2740 (bad_typeid::~bad_typeid()): Same.
2742 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
2744 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
2745 * include/Makefile.in: Regenerate.
2747 2002-01-09 Bo Thorsen <bo@suse.co.uk>
2749 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
2752 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
2756 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
2757 return value of _M_file->sync().
2758 (filebuf::showmanyc): Check for is_open.
2759 * include/std/fstream (filebuf::sync): Tweak.
2760 * testsuite/27_io/filebuf.cc: Tweak.
2762 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
2763 Brad Garcia <garsh@attbi.com>
2765 * testsuite/27_io/filebuf_members.cc: Add test.
2767 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
2768 Craig Rodrigues <rodrigc@mediaone.net>
2771 * po/Makefile.am (mkinstalldirs): Add.
2772 * po/Makefile.in: Regenerate.
2774 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
2776 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
2777 testsuite/lib/prune.exp: Delete lines ":In function ..." from
2779 * testsuite/23_containers/map_operators.cc: Remove
2780 dg-excess-errors comment.
2781 * testsuite/23_containers/set_operators.cc: Likewise.
2783 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
2785 * include/bits/stl_function.h: Remove two lines of comments;
2786 adjust copyright years.
2788 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
2790 * include/Makefile.am (std_headers): Remove cXXX from list.
2791 (c_base_srcdir): No bits subdirectory.
2792 (c_base_builddir): Same.
2793 (c_base_headers): Adjust names, add ciso646.
2794 (bits_headers): Remove std_xxx.h headers.
2795 * include/Makefile.in: Regenerate.
2797 * include/ext/iterator: Adjust includes.
2798 * include/ext/ropeimpl.h: Same.
2799 * include/ext/stl_hash_fun.h: Same.
2800 * include/ext/algorithm: Same.
2802 * include/backward/bvector.h: Adjust includes.
2803 * include/backward/vector.h: Same.
2804 * include/backward/strstream: Same.
2805 * include/backward/streambuf.h: Same.
2806 * include/backward/stack.h: Same.
2807 * include/backward/set.h: Same.
2808 * include/backward/queue.h: Same.
2809 * include/backward/multiset.h: Same.
2810 * include/backward/multimap.h: Same.
2811 * include/backward/map.h: Same.
2812 * include/backward/list.h: Same.
2813 * include/backward/iterator.h: Same.
2814 * include/backward/iostream.h: Same.
2815 * include/backward/iomanip.h: Same.
2816 * include/backward/fstream.h: Same.
2817 * include/backward/deque.h: Same.
2818 * include/backward/complex.h: Same.
2820 * include/bits/std_algorithm.h: Move to...
2821 * include/std/algorithm: ...here.
2822 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
2823 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
2824 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
2825 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
2826 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
2827 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
2828 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
2831 * include/c_std/bits/std_cassert.h: Move to...
2832 * include/c_std/cassert: Here.
2833 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
2834 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
2835 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
2836 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
2837 std_cwctype.h: Same.
2838 * include/c_std/cmath: Adjust cmath.tcc include.
2839 * include/c_std/cstdlib: Adjust includes.
2840 * include/c_std/cwchar: Same.
2841 * include/c_std/ctime: Same.
2842 * include/c_std/cstring: Same.
2843 * include/c_std/cstdio: Same.
2844 * include/c_std/bits: Remove directory.
2846 * include/c/bits/std_cassert.h: Move to...
2847 * include/c/cassert: Here.
2848 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
2849 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
2850 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
2851 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
2852 std_cwctype.h: Same.
2853 * include/c/bits: Remove directory.
2855 * include/std/cwctype: Remove.
2856 * include/std/cwchar: Remove.
2857 * include/std/ctime: Remove.
2858 * include/std/cstring: Remove.
2859 * include/std/cstdlib: Remove.
2860 * include/std/cstdio: Remove.
2861 * include/std/cstddef: Remove.
2862 * include/std/cstdarg: Remove.
2863 * include/std/csignal: Remove.
2864 * include/std/csetjmp: Remove.
2865 * include/std/cmath: Remove.
2866 * include/std/clocale: Remove.
2867 * include/std/climits: Remove.
2868 * include/std/ciso646: Remove.
2869 * include/std/cfloat: Remove.
2870 * include/std/cerrno: Remove.
2871 * include/std/cctype: Remove.
2872 * include/std/cassert: Remove.
2874 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
2875 files and subsituting <xxx>.
2876 * include/bits/valarray_array.h: Same.
2877 * include/bits/stl_uninitialized.h: Same.
2878 * include/bits/stl_alloc.h: Same.
2879 * include/bits/stl_algobase.h: Same.
2880 * include/bits/sstream.tcc: Same.
2881 * include/bits/pthread_allocimpl.h: Same.
2882 * include/bits/ostream.tcc: Same.
2883 * include/bits/localefwd.h: Same.
2884 * include/bits/locale_facets.tcc: Same.
2885 * include/bits/locale_facets.h: Same.
2886 * include/bits/istream.tcc: Same.
2887 * include/bits/char_traits.h: Same.
2888 * include/bits/boost_concept_check.h: Same.
2889 * include/bits/basic_file.h: Same.
2890 * include/std/bitset: Same.
2891 * include/std/complex: Same.
2892 * include/std/fstream: Same.
2893 * include/std/functional: Same.
2894 * include/std/ios: Same.
2895 * include/std/iostream: Same.
2896 * include/std/ostream: Same.
2897 * include/std/sstream: Same.
2898 * include/std/streambuf: Same.
2899 * include/std/string: Same.
2900 * include/std/iterator: Same.
2901 * include/std/valarray: Same.
2903 * src/ios.cc: Adjust includes.
2904 * src/valarray-inst.cc: Same.
2905 * src/string-inst.cc: Same.
2906 * src/stl-inst.cc: Same.
2907 * src/stdexcept.cc: Same.
2908 * src/misc-inst.cc: Same.
2909 * src/localename.cc: Same.
2910 * src/locale-inst.cc: Same.
2911 * src/locale.cc: Same.
2912 * src/limits.cc: Same.
2913 * src/concept-inst.cc: Same.
2914 * src/complex_io.cc: Same.
2915 * src/codecvt.cc: Same.
2916 * src/bitset.cc: Same.
2917 * src/cmath.cc: Same.
2919 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
2921 * include/bits/stl_tree.h (rb_tree): Move to...
2922 * include/ext/rb_tree: ...here, new file.
2923 * include/Makefile.am (ext_headers): Add new file.
2924 * include/Makefile.in: Regenerate.
2925 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
2926 return_temporary_buffer, struct temporary_buffer): Move to...
2927 * include/ext/memory: ...here.
2928 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
2929 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
2930 * include/backward/tree.h: Include <ext/rb_tree), tweak.
2932 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
2934 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
2935 * include/ext/numeric: ...here, new file.
2936 * include/bits/stl_function.h (identity_element, unary_compose,
2937 binary_compose, compose1, compose2, identity, select1st,
2938 select2nd, project1st + helper, project2nd + helper,
2939 constant_void_fun + helper, constant_unary_fun + helper,
2940 costant_binary_fun + helper, constant0, constant1, constant2,
2941 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
2942 * include/ext/functional: ...here, new file.
2943 * include/Makefile.am (ext_headers): Add new files.
2944 * include/Makefile.in: Regenerate.
2945 * testsuite/ext/headers.cc: Include <ext/numeric> and
2947 * include/backward/algo.h: Include <ext/numeric>, tweak.
2948 * include/backward/function.h: Include <ext/functional>, tweak.
2949 * include/ext/ropeimpl.h: Include <ext/numeric>.
2951 2002-01-03 Jeffrey A Law <law@redhat.com>
2953 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
2954 __strtoull declarations with __extension__.
2956 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
2958 * testsuite/lib/prune.exp: Correct regular expression for
2961 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
2963 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
2964 Change concept checks, as with lower_bound and PR 2054.
2965 * testsuite/ext/concept_checks.cc: Expand test to include those.
2967 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
2969 * include/bits/boost_concept_check.h: Import some changes from
2970 upsteam (Boost) version.
2972 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
2974 * include/bits/stl_algobase.h (copy_n + helpers,
2975 lexicographical_compare_3way + helpers): Move to...
2976 * include/ext/algorithm: ...here.
2977 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
2978 helpers): Move to...
2979 * include/ext/memory: ...here, new file.
2980 * include/Makefile.am (ext_headers): Add new file.
2981 * include/Makefile.in: Regenerate.
2982 * testsuite/ext/headers.cc: Include <ext/memory>.
2983 * include/backward/algobase.h: Include <ext/memory> and
2984 <ext/algorithm>, tweak.
2985 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
2986 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
2988 2002-01-01 Roger Sayle <roger@eyesopen.com>
2990 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
2991 equivalent ___builtin__ versions.
2993 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
2994 are available in libstdc++ as the necessary stub implementations
2995 are provided by libmath/stubs.c.
2997 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
2999 * configure.in: Add support for NetBSD cross compiles.
3000 * configure: Regenerate.