1 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
3 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
5 (vector<bool>::swap(reference,reference)): ...to this.
7 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
9 * docs/doxygen/TODO: Update.
10 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
11 some class members are in 14882 order.
12 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
14 * include/std/std_bitset.h: Update comment.
15 * src/bitset.cc: Update comments, clean up spacing.
17 * src/Makefile.am (sources): Alphabetize for convenience.
18 * src/Makefile.in: Regenerate.
20 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
22 * include/bits/stl_deque.h, include/bits/stl_list.h,
23 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
24 Reorder to match 14882. Doxygen blocks for all public members.
26 2002-05-31 Marcus Meissner <meissner@suse.de>
29 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
30 * testsuite/23_containers/vector_bool.cc (test02): New test.
32 2002-05-30 Marc Espie <espie@openbsd.org>
33 * configure.in: Always check for sys/types.h
34 * configure: Regenerate.
36 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
38 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
39 Rebuild the wrapper file every time this proc is called.
41 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
43 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
45 * testsuite/Makefile.in: Regenerate.
46 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
47 list_modifiers.cc and rename from 'T'. Move code bodies...
48 * testsuite/testsuite_hooks.cc: ...to here. New file.
49 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
50 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
51 Add libv3test.a to link options.
53 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
55 * src/misc-inst.cc: Define unnecessary algorithm
56 instantiations. Break apart instantiations into groupings below.
57 * src/fstream-inst.cc: New.
58 * src/io-inst.cc: New.
59 * src/istream-inst.cc: New.
60 * src/ostream-inst.cc: New.
61 * src/streambuf-inst.cc: New.
62 * src/sstream-inst.cc: New.
63 * src/Makefile.am (sources): Add files.
64 * src/Makefile.in: Regenerate.
66 * acinclude.m4: Work around automake 1.4-p5 bug, change
67 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
69 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
72 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
74 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
76 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
78 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
80 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
81 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
82 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
84 2002-05-26 Carlo Wood <carlo@alinoe.com>
85 Paolo Carlini <pcarlini@unitus.it>
88 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
89 (__enc_traits::operator=): add missing return statement.
91 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
94 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
95 (operator>>): If nothing was extracted, don't fail in the
97 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
99 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
102 * testsuite/22_locale/ctype_narrow_char.cc: New.
103 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
104 * testsuite/22_locale/ctype_widen_char.cc: New.
105 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
106 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
107 * testsuite/22_locale/ctype_is_char.cc: ...this.
108 * testsuite/22_locale/ctype_to_char.cc: ...and this.
109 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
110 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
111 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
113 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
115 2002-05-24 Dale Peakall <dale@peakall.net>
118 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
119 * config/locale/generic/ctype_members.cc: Same.
121 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
124 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
125 for empty string literal.
126 (ostream::operator<<(const _CharT*)): Same.
127 (ostream<char>::operator<<(const char*)): Same.
128 (ostream<char>::operator<<(streambuf*)): Same.
129 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
130 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
132 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
134 * configure.in (release_VERSION): Update to 3.1.1.
135 (libtool_VERSION): Update to 4:1:0.
136 * configure: Regenerate.
138 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
140 * include/bits/stl_pair.h: Tweak comment markup.
142 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
144 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
146 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
148 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
150 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
152 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
153 Doxygenate all public members. Reorder to follow 14882.
154 (vector::push_back(void)): Remove previously-deprecated fn.
155 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
156 Deprecate for removal in 3.3.
158 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
160 * docs/html/faq/index.html (5.4): Recommend against -I options for
161 finding the ext headers.
162 * docs/html/faq/index.txt: Regenerate.
164 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
166 * testsuite/23_containers/deque_operators.cc (test01):
167 Fix minor typo in last commit.
169 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
172 * include/bits/stl_deque.h (_Deque_iterator::operator==,
173 operator!=, operator<, operator>, operator>=, operator<=):
174 Make non-member functions, to allow comparing const and
175 non-const iterators in any order.
176 * testsuite/23_containers/deque_operators.cc: New testfile.
178 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
180 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
181 * docs/html/faq/index.txt: Regenerate.
183 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
185 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
186 * acinclude.m4: Likewise.
187 * docs/html/Makefile: Likewise.
188 * aclocal.m4: Regenerate.
189 * configure: Regenerate.
190 * Makefile.in: Regenerate.
192 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
195 * include/bits/c++config (__USE_MALLOC): Report case where
196 the user improperly defined it on the command line.
198 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
200 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
201 Retrieve current limits before setting.
203 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
206 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
208 (ostream::operator<<(const _CharT*)): Same.
209 (ostream<char>::operator<<(const char*)): Same.
210 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
212 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
215 * src/strstream.cc (strstreambuf): Fix leak.
217 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
220 * include/bits/istream.tcc (istream::getline, ignore):
221 Upon __idelim (__delim) call sbumpc() not snextc().
222 * testsuite/27_io/narrow_stream_objects.cc:
223 Add test08 and test09.
225 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
227 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
228 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
230 * docs/html/install.html: Fix.
232 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
234 * include/bits/fstream.tcc
235 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
237 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
239 * docs/html/install.html: Tweak, add bits about required locales
240 for the 22_locale tests when using the gnu model.
242 * testsuite/27_io/istream_sentry.cc: Tweak.
244 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
246 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
247 Fix typo, use this->is() rather than manually (and perhaps
248 incorrectly) inlining it.
249 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
251 * testsuite/22_locale/ctype_scan_char.cc: New file.
253 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
254 Jakub Jelinek <jakub@redhat.com>
256 * testsuite/22_locale/money_get_members_char.cc
257 (test01, test02, test04): Use the de_DE@euro named locale
258 instead of de_DE to allow for an uniform behaviour with
259 both old and Euro-era localedata; tweak some tests.
260 * testsuite/22_locale/money_get_members_wchar_t.cc
261 (test01, test02, test04): Likewise.
262 * testsuite/22_locale/money_put_members_char.cc
263 (test01, test02, test04): Likewise.
264 * testsuite/22_locale/money_put_members_wchar_t.cc
265 (test01, test02, test04): Likewise.
267 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
269 * testsuite/22_locale/codecvt_members_char_char.cc
270 (test03): Robustify wrt localedata.
271 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
272 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
273 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
274 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
275 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
276 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
277 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
278 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
279 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
280 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
281 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
282 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
283 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
284 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
285 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
286 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
287 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
288 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
289 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
290 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
291 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
292 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
294 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
296 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
299 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
301 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
302 to 64 for hppa 64-bit port.
303 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
305 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
307 * acinclude.m4 (enable_symvers): Quote $LD.
308 * aclocal.m4: Regenerate.
309 * configure: Likewise.
311 2002-05-09 Jakub Jelinek <jakub@redhat.com>
313 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
314 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
317 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
319 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
320 script entry, and set LD to it when configuring multilibs.
321 * configure: Rebuilt.
323 2002-05-07 Mark Mitchell <mark@codesourcery.com>
325 * configure.in: Add support for WindISS.
326 * configure: Regenerated.
327 * configure.target: Add support for WindISS.
328 * config/os/windiss/bits/ctype_base.h: New file.
329 * config/os/windiss/bits/ctype_inline.h: Likewise.
330 * config/os/windiss/bits/ctype_noninline.h: Likewise.
331 * config/os/windiss/bits/os_defines.h: Likewise.
333 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
335 Test all the facets for the temporary "C" locale switch issue.
336 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
337 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
338 * testsuite/22_locale/collate_members_char.cc: Add test04.
339 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
340 * testsuite/22_locale/ctype_members_char.cc: Add test05.
341 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
342 * testsuite/22_locale/messages_members_char.cc: Add test03.
343 * testsuite/22_locale/money_get_members_char.cc: Add test08.
344 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
345 * testsuite/22_locale/money_put_members_char.cc: Add test07.
346 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
347 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
348 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
349 * testsuite/22_locale/num_get_members_char.cc: Add test06.
350 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
351 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
352 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
353 * testsuite/22_locale/time_get_members_char.cc: Add test08.
354 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
355 * testsuite/22_locale/time_put_members_char.cc: Add test04.
356 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
358 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
359 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
361 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
363 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
364 __EXTENSIONS__): Ensure they are always defined.
366 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
368 * docs/html/documentation.html: Fix broken link.
370 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
371 Paolo Carlini <pcarlini@unitus.it>
373 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
374 testing for the locale_facets.tcc entry of the previous commit.
375 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
377 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
379 * config/locale/generic/c_locale.cc
380 (__convert_to_v(float, double, long double)):
381 Fix the temporary switch to the "C" locale, saving and
382 restoring in the proper way the current locale.
383 * config/locale/generic/time_members.cc
384 (__timepunct<char, wchar_t>::_M_put): Likewise.
385 * config/locale/gnu/messages_members.cc
386 (messages<char>::do_get): Likewise.
387 * config/locale/gnu/messages_members.h
388 (messages<_CharT>::do_get): Likewise.
389 * config/locale/gnu/time_members.cc
390 (__timepunct<char, wchar_t>::_M_put): Likewise.
391 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
393 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
395 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
396 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
398 * Makefile.in, config.h.in, configure: Regenerate.
400 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
403 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
404 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
406 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
408 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
410 (ctype:_M_table): Initialize to classic_table(), not __ctype.
412 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
414 * configure.in: Update local install.html, configopts.html paths.
415 * configure: Regenerate.
417 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
419 * config/os/irix/irix5.2/bits/os_defines.h
420 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
422 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
425 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
427 * docs/html/faq/index.html: Update list in #4.1.
428 * docs/html/faq/index.txt: Regenerated.
430 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
432 * docs/html/17_intro/RELEASE-NOTES (New): Update.
434 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
436 * include/std/std_bitset.h: Fix doxygen comments.
437 * docs/html/documentation.html: Minor tweaks for 3.1.
438 * docs/html/27_io/howto.html: Likewise.
439 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
440 * docs/html/faq/index.html: Likewise.
441 * docs/html/faq/index.txt: Regenerated.
443 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
446 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
447 (istreambuf_iterator::equal): Use it.
448 (istreambuf_iterator::operator*): Use it.
450 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
453 * include/bits/stl_uninitialized.h
454 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
455 Fix typo in 2001-07-17 commit: typedef _ValueType to
456 iterator_traits<_ForwardIter> not <_InputIter>.
457 * testsuite/23_containers/vector_ctor.cc: Add test04.
459 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
462 * include/c_std/std_cctype.h: Include bits/c++config.h.
463 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
465 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
467 * include/ext/stdio_filebuf.h: New file.
468 * include/ext/enc_filebuf.h: New file.
469 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
470 * config/io/basic_file_stdio.cc: Same.
471 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
472 Remove _M_unbuf hacks.
473 (filebuf::_M_destroy_internal_buffer): Same.
474 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
475 (filebuf::fd): Remove.
476 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
477 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
478 (filebuf::fd): Remove.
479 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
481 (ios_base::_S_ios_destroy): Same.
482 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
483 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
484 stdio_filebuf.h. * include/Makefile.in: Regenerate.
486 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
489 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
491 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
494 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
496 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
497 (istreambuf_iterator::operator++): Invalidate on eof.
498 (istreambuf_iterator::operator++(int)): Same.
499 (istreambuf_iterator::operator*): Same.
501 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
503 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
504 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
507 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
510 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
511 (__basic_file::sys_ungetc): Take int.
512 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
513 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
514 Use sys_getc for unbuffered input.
515 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
517 * src/ios.cc (_M_grow_words): Adjust error checking.
518 * testsuite/27_io/ios_base_storage.cc: Same.
520 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
522 * include/ext/stl_hashtable.h: Import __iterator_category
524 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
525 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
527 * testsuite/ext/hash_set.cc: New testfile.
529 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
531 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
533 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
534 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
536 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
538 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
539 Fix and tighten __throw_length_error check.
540 * testsuite/21_strings/replace.cc (test05): New.
541 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
543 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
545 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
546 unconditional flush on lower-layer handle to here...
547 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
548 ...from here. Optimize remaining _M_file.sync() call pattern.
549 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
552 2002-04-23 Jason Merrill <jason@redhat.com>
554 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
555 output-only filebufs.
556 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
558 (basic_filebuf::_M_set_determinate): Likewise.
561 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
562 value properly in the trivial case.
563 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
564 tellg() returns the right value after a read.
566 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
568 * config/cpu/mmix/bits/cpu_limits.h: New file.
569 * configure.target (CPULIMITSH): Use it.
571 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
573 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
574 * docs/html/17_intro/porting.html: Rebuilt.
576 2002-04-20 Jason Merrill <jason@redhat.com>
579 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
581 (basic_streambuf::_M_set_determinate): Likewise.
582 (basic_streambuf::_M_is_indeterminate): Likewise.
583 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
584 non-static data member.
585 (basic_filebuf::_M_underflow_common): New non-static member function.
586 (basic_filebuf::_M_underflow, _M_uflow): Call it.
587 (basic_filebuf::sync): Avoid useless seeking.
588 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
590 (basic_filebuf::_M_set_determinate): Likewise.
591 (basic_filebuf::_M_is_indeterminate): Likewise.
592 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
593 back to _M_out_beg if necessary.
594 (basic_filebuf::seekoff): Likewise.
595 (basic_filebuf::_M_underflow_common): Generalization of old
596 underflow(). Don't seek back to _M_in_beg.
597 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
598 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
599 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
600 * config/os/mingw32/bits/os_defines.h: Likewise.
601 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
604 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
606 * include/bits/istream.tcc (istream::read): Fix.
607 * testsuite/27_io/istream_unformatted.cc (main): Add.
609 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
612 * include/bits/istream.tcc (istream::ignore): Streamline, use
614 * include/bits/streambuf.tcc: Use this->gptr.
615 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
617 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
619 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
620 as type safety is important, especially on solaris.
621 * include/bits/istream.tcc (istream::read): Clean.
622 (istream::readsome): Same.
623 * locale.cc: Wrap lines.
625 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
626 * testsuite/27_io/instantiations.cc (test): Add bool variable...
627 * testsuite/21_strings/capacity.cc: Clean.
629 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
631 * docs/doxygen/doxygroups.cc: New group on binary searching.
632 * include/bits/stl_algo.h: Document binary searches and merges.
633 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
635 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
637 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
638 * docs/doxygen/run_doxygen: Bump required version.
639 * docs/doxygen/user.cfg.in: Revert accidental change.
640 * docs/html/faq/index.html: Reindent a block of links.
641 (4.4): New note on using dlsym.
642 * docs/html/faq/index.txt: Regenerated.
644 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
646 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
648 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
650 * config/linker-map.gnu (__malloc_alloc_template): Add.
651 (__default_alloc_template): Same.
652 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
654 (__default_alloc_template): Same.
656 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
658 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
660 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
662 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
663 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
664 (__malloc_alloc_template): Conditionalize.
666 * include/bits/istream.tcc: Remove sputbackc calls.
668 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
670 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
672 * testsuite/24_iterators/rel_ops.cc: New test.
674 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
676 * include/bits/type_traits.h (__normal_iterator): Declare in
677 __gnu_cxx. Adjust use at global namespace.
678 * include/bits/stl_iterator.h (__normal_iterator): Move definition
679 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
680 * include/bits/basic_string.h (basic_string): Adjust use of
682 * include/bits/stl_vector.h (_Alloc>): Likewise.
683 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
684 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
686 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
690 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
692 (__basic_file::close): Call fflush. Correct return if fclose ok.
693 (__basic_file::is_open): Make const.
694 Change __c_file_type to __c_file.
695 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
696 (__basic_file::is_open): Make const.
697 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
698 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
699 (filebuf::_M_unbuf): Add.
700 (filebuf::_M_file): Change to non-pointer.
701 (filebuf::_M_allocate_pback_buffer): Remove.
702 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
703 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
704 Change initialization list for _M_file change.
705 (filebuf::_M_allocate_pback_buffer): Remove.
706 Change _M_file usage to reflect non-pointer data member.
708 * config/locale/generic/c_locale.cc
709 (locale::facet::_S_create_c_locale): Add parameter.
710 * config/locale/generic/collate_members.cc: Change
711 _M_compare_helper to _M_compare.
712 Change _M_transform_helper to _M_transform.
713 * config/locale/generic/monetary_members.cc: Changeup data types.
715 * config/locale/generic/numeric_members.cc: Add dtors.
716 * config/locale/generic/time_members.cc: Add dtors.
717 * config/locale/gnu/c_locale.cc: Add parameter.
718 * config/locale/gnu/collate_members.cc:Change
719 _M_compare_helper to _M_compare.
720 Change _M_transform_helper to _M_transform.
721 * config/locale/gnu/ctype_members.cc: Better error checking.
722 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
723 * config/locale/gnu/messages_members.cc: Tweak comment.
724 * config/locale/gnu/monetary_members.cc: Change data types.
726 * config/locale/gnu/numeric_members.cc: Add dtors, better error
728 * config/locale/gnu/time_members.cc: Same.
729 * config/locale/ieee_1003.1-2001/c_locale.cc
730 (locale::facet::_S_create_c_locale): Add parameter.
731 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
732 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
735 * include/bits/locale_facets.h (moneypunct): Use string literals.
739 (locale::_Impl::_M_facets): Change from vector to array.
740 (locale::_Impl::_M_names): Change from array of strings to array
742 (locale::facet::_S_create_c_locale): Add parameter.
743 (locale::locale::_S_num_facets): Move to...
744 (locale::_Impl::_M_facets_size): Here.
745 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
747 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
748 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
749 (locale::_Impl::_Impl(string, size_t)): Change to
750 (locale::_Impl::_Impl(const char*, size_t)): This.
752 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
753 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
754 (streambuf::_S_pback_size): This.
756 * src/globals.cc: Add pre-allocations for "C" facets.
757 * src/locale-inst.cc: Remove vector instantiations.
758 * src/locale.cc: Remove vector include. Fixups for _M_names,
760 * src/localename.cc: Same.
762 * include/bits/stl_vector.h: Fix odd formatting.
764 * include/bits/basic_string.tcc: Tweak comment.
766 * libsupc++/new: Make sure parameters are uglified.
767 * libsupc++/typeinfo: Same.
769 * testsuite/22_locale/num_get_members_char.cc: Fixup.
770 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
771 * testsuite/27_io/filebuf_members.cc: Same.
773 2002-04-12 Steve Ellcey <sje@cup.hp.com>
775 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
776 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
777 does not define strtoll or strtoull, but does define strtol
778 and strtoul which are the same since in 64 bit mode
779 sizeof(long) == sizeof(long long).
781 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
783 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
784 trailing spaces, indentation, and macro names. Make exception
785 messages more informative.
787 2002-04-11 Richard Henderson <rth@redhat.com>
789 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
790 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
791 (basic_ostream<>::operator<<(long long)): Same.
793 2002-04-11 Richard Henderson <rth@redhat.com>
795 * config/linker-map.gnu: Add __gxx_personality_sj0.
797 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
800 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
802 Remove forward declaration of vector.
804 * include/bits/locale_facets.tcc: Remove vector include.
805 (use_locale): Adjust.
806 (has_locale): Adjust.
807 * src/locale.cc: Adjust.
808 * src/localename.cc: Same.
810 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
811 Richard Henderson <rth@redhat.com>
813 * include/bits/sstream.tcc: Clean up bit ops.
814 * include/bits/fstream.tcc: Same.
816 2002-04-09 Jakub Jelinek <jakub@redhat.com>
818 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
819 (__num_base::_S_scale_oct): Remove.
820 * src/locale.cc (__num_base::_S_scale_hex): Remove.
821 (__num_base::_S_scale_oct): Remove.
823 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
826 * testsuite/23_containers/bitset_members.cc: New test.
827 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
828 (_S_bit_count): Here.
829 (_First_one::_S_first_one): Move...
830 (_S_first_one): Here.
832 * src/bitset.cc: Adjust.
833 * config/linker-map.gnu: Export.
835 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
838 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
839 * include/std/std_fstream.h: Clean.
840 * include/bits/ostream.tcc: Remove extraneous variables.
841 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
842 open modes and which modes.
843 (stringbuf::seekpos): Same.
844 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
846 2002-04-05 Jonathan Wakely <jw@kayari.org>
848 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
849 random_shuffle, partition, stable_partition, sort, stable_sort,
850 partial_sort, partial_sort_copy, nth_element): Doxygenate.
852 2002-04-05 David S. Miller <davem@redhat.com>
854 * config/os/gnu-linux/bits/os_defines.h
855 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
857 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
860 via gawrilow@math.tu-berlin.de
861 * acinclude.m4 (version_specific_libs): Fix combo usage with
862 --with-gxx-include-dir.
863 * aclocal.m4: Regenerate.
866 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
868 As per DR 184, libstdc++/3139
869 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
870 (numeric_limits<bool>::is_iec559): False.
871 (numeric_limits<bool>::is_modulo): False.
873 * testsuite/27_io/ios_init.cc: Add instantiations.
875 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
878 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
879 * testsuite/27_io/ios_init.cc (tests04): Add test.
882 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
883 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
884 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
885 * include/bits/istream.tcc: Use _M_fctype, make consistent with
887 * testsuite/27_io/ios_init.cc (tests03): Add test.
889 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
891 * include/Makefile.am (install-data-local): Use mkinstalldirs.
892 * include/Makefile.in: Regenerate.
894 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
895 Nathan Myers <ncm@cantrip.org>
896 Philip Martin <philip@codematters.co.uk>
898 * include/bits/basic_string.h
899 (replace(i1, i2, _CharT* k1, _CharT* k2),
900 replace(i2, i2, const _CharT* k1, const _CharT* k2),
901 replace(i1, i2, iterator k1, iterator k2,
902 replace(i1, i2, const_iterator k1, const_iterator k2):
903 New specializations to optimize for the common cases of
904 pointers and iterators.
905 (replace(pos, n1, s, n2)): Tweak.
906 * include/bits/basic_string.tcc: Tweak comments.
907 * testsuite/21_strings/replace.cc (test04): New tests.
909 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
912 * acinclude: More extensive checks for msgfmt, --enable-nls.
913 * aclocal.m4: Regenerate.
914 * configure: Regenerate.
916 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
918 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
919 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
920 * docs/html/18_support/howto.html: Document the demangler.
921 * docs/html/17_intro/howto.html: And link to it.
923 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
924 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
926 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
928 * config/linker-map.gnu: Export __verbose_terminate_handler.
929 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
930 Make new LTCOMPILE variable, use it in new special build rules.
931 * libsupc++/Makefile.in: Rebuild.
932 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
933 runtime __cxa_demangle.
935 * docs/html/install.html: Update prereqs and instructions.
936 * docs/html/19_diagnostics/howto.html: Bring naming for
937 verbose_terminate_handler into line with reality.
939 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
942 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
943 (basic_ios::_M_streambuf_state): Move.
944 * include/bits/ios_base (ios_base): To here.
945 * include/bits/ios_base.h (ios_base::_S_local_words): To
947 (ios_base::_M_word_array): To _M_local_word.
948 (ios_base::_M_words_limit): To _M_word_size.
949 (ios_base::_M_words): To _M_word.
951 * include/bits/basic_ios.tcc: Adjust.
952 * src/ios.cc (ios_base::_M_grow_words): Tweak.
953 * testsuite/27_io/ios_base_storage.cc: Add tests.
956 Kenny Simpson <theonetruekenny@yahoo.com>
957 * include/bits/ios_base.h: Fix.
959 Richard Henderson <rth@redhat.com>
960 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
963 * include/bits/basic_string.h: Tweak formatting.
965 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
967 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
968 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
969 By definition, sizeof(char) == 1.
970 * include/bits/locale_facets.tcc (money_get::do_get,
971 money_put::do_put): Ditto.
972 * testsuite/21_strings/inserters_extractors.cc
975 2002-03-30 Richard Henderson <rth@redhat.com>
978 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
979 data out of the exception struct before calling unexpectedHandler.
981 2002-03-28 Roger Sayle <roger@eyesopen.com>
983 * include/c_std/std_cmath.h: To prevent problems overloading
984 g++ builtins, use the double variants from the global namespace
985 before defining float and long double variants in std::.
987 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
989 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
991 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
993 * testsuite/24_iterators/istream_iterator.cc
996 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
997 Paolo Carlini <pcarlini@unitus.it>
999 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
1000 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
1001 fix i_lit_base e_lit_base arrays, making them independent
1002 from the endianness of the platform; tweak UCS4 to UCS-4BE.
1004 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
1006 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
1007 allocate at least a byte.
1009 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
1011 * testsuite/27_io/streambuf.cc (test07): Fix.
1014 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
1016 * docs/doxygen/Intro.3: Date tweak.
1017 * docs/doxygen/TODO: Update.
1018 * docs/doxygen/doxygroups.cc: Point to tables.html.
1019 * docs/doxygen/mainpage.html: Date tweak.
1020 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
1021 * docs/doxygen/tables.html: Fill in the blanks.
1023 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
1024 * include/bits/stl_algo.h: Likewise; use expanded form.
1025 * include/bits/stl_alloc.h: Likewise.
1026 * include/bits/stl_construct.h: Likewise.
1027 * include/bits/stl_deque.h: Likewise.
1028 * include/bits/stl_iterator_base_types.h: Likewise.
1029 * include/bits/stl_list.h: Likewise.
1030 * include/bits/stl_relops.h: Likewise.
1031 * include/bits/stl_tempbuf.h: Likewise.
1032 * include/bits/stl_vector.h: Likewise.
1033 * include/std/std_memory.h: Likewise.
1035 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
1036 * include/bits/stl_list.h: Likewise.
1037 * include/bits/stl_vector.h: Likewise.
1039 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
1041 * include/c/: Guard with _CPP_.
1042 * include/c_std/: Same.
1043 * include/Makefile.am: Fixup install, link routines for null
1044 c_base_headers_extra scenarios.
1045 * include/Makefile.in: Regerate.
1047 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
1048 Richard Henderson <rth@redhat.com>
1050 * testsuite/22_locale/codecvt_members_unicode_char.cc
1051 (test01, test02): make sure that the i_lit_base array
1052 is sufficiently aligned.
1054 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
1056 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
1059 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
1061 * testsuite/22_locale/collate_byname.cc
1062 (test01): compare the result of collate::compare with
1063 that of collate::transform + string::compare, not with
1064 that of collate::transform + collate::compare; values
1065 returned by collate::compare are normalized, therefore
1068 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
1069 Jakub Jelinek <jakub@redhat.com>
1071 * config/locale/gnu/messages_members.h: Correct conditional.
1072 * config/locale/gnu/messages_members.cc: Same.
1073 * config/locale/gnu/time_members.cc: Same.
1075 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1076 Paolo Carlini <pcarlini@unitus.it>
1078 * testsuite/22_locale/codecvt_members_unicode_char.cc
1079 (test01, test02): Fix i_lit_base arrays, making them
1080 independent from the endianness of the platform.
1082 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1084 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
1085 signbit and __signbit directly.
1086 * aclocal.m4: Regenerate.
1087 * configure: Regenerate.
1088 * config.h.in: Regenerate.
1089 * libmath/Makefile.am: Simplify.
1090 * libmath/Makefile.in: Regenerate.
1091 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
1093 * include/Makefile.am: Clean up handling of extra "C" header files.
1094 Add hooks for "C" compatibility headers.
1095 * include/Makefile.in: Regenerate.
1097 * include/c/*: Formatting tweaks, cleanups.
1098 * include/c_std/*: Same.
1100 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1102 * config/locale/gnu/messages_members.h: Add __uselocale bits.
1103 * config/locale/gnu/messages_members.cc: Same.
1104 * config/locale/gnu/time_members.cc: Same.
1106 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1108 * src/vterminate.cc: Format, -fno-exceptions cleanup.
1110 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1112 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
1113 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
1114 * aclocal.m4: Regenerate.
1115 * configure: Likewise.
1117 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
1118 Ulrich Drepper <drepper@redhat.com>
1120 * src/locale-inst.cc (__convert_from_v): Add an additional
1121 __size parameter in the declarations.
1122 * include/bits/locale_facets.tcc
1123 (__convert_from_v): When available (that is,
1124 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
1125 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
1126 being defined or not, call and use __convert_from_v in the
1128 (num_put::_M_convert_int): Same here.
1129 (money_put::do_put(long double)): Same here.
1131 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
1133 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
1134 * docs/html/faq/index.txt: Regenerate.
1136 2002-03-19 Steve Ellcey <sje@cup.hp.com>
1138 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
1139 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
1140 --enable-libunwind-exceptions is set.
1141 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
1142 macro to check for libunwind.
1143 * configure: Regenerate.
1144 * src/Makefile.am (libstdc___la_LDFLAGS): Add
1145 LIBUNWIND_FLAG to libstdc link line.
1146 * src/Makefile.in: Regenerate.
1148 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
1150 * docs/html/faq/index.html: Add OS X workaround.
1151 * docs/html/17_intro/TODO: Update.
1153 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
1155 * include/bits/locale_facets.tcc
1156 (money_put::do_put(long double)): Fix dimensioning of
1157 temporary buffers to avoid risk of overruns.
1158 (money_put::do_put(string)): Same for the buffer used to
1159 add the grouping chars.
1160 * testsuite/22_locale/money_put_members_char.cc: Add test06.
1161 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
1163 * include/bits/locale_facets.tcc
1164 (collate::do_transform): Simplify.
1166 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
1168 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
1169 * configure.in: Add comments pointing the way for autoconf 2.5x.
1170 * aclocal.m4, config.h.in, configure: Regenerate.
1172 2002-03-18 Philipp Thomas <pthomas@suse.de>
1174 * include/backward/hash_map.h: hash, hashtable, hash_map and
1175 hash_multimap are in namespace __gnu_cxx.
1176 include/backward/hash_set.h: hash, hashtable, hash_set and
1177 hash_multiset are in namespace __gnu_cxx.
1178 include/backward/hashtable.h: hash and hashtable are in
1179 namespace __gnu_cxx.
1180 include/backward/rope.h: char_producer, sequence_buffer,
1181 rope, crope and wrope are in namespace __gnu_cxx.
1182 include/backward/slist.h: slist is in namespace __gnu_cxx.
1183 * testsuite/backward/header_hash_map_h.cc
1184 testsuite/backward/header_hash_set_h.cc
1185 testsuite/backward/header_hashtable_h.cc
1186 testsuite/backward/header_rope_h.cc
1187 testsuite/backward/header_slist_h.cc
1188 testsuite/backward/header_tempbuf_h.cc: New tests for
1189 checking that we're using the correct namespace.
1191 2002-03-17 Jason Merrill <jason@redhat.com>
1194 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
1195 (check_exception_spec): Call it. Take the thrown pointer.
1196 (__cxa_call_unexpected): Pass it.
1197 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
1199 2002-03-15 Anthony Green <green@redhat.com>
1201 * configure.in: Remove useless is_mingw32.
1202 * configure: Rebuilt.
1204 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
1206 * testsuite/22_locale/collate_members_char.cc
1207 (test01): compare the result of collate::compare with
1208 that of collate::transform + string::compare, not with
1209 that of collate::transform + collate::compare.
1210 (test01): values returned by collate::compare are
1211 normalized, therefore test against +-1.
1212 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
1214 2002-03-12 Loren Rittle <ljrittle@acm.org>
1216 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1217 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
1219 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
1220 Per Liboriussen <liborius@stofanet.dk>
1222 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
1224 * config/os/gnu-linux/bits/ctype_inline.h: Same.
1226 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
1228 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
1229 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1231 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
1232 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1234 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
1235 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1237 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
1239 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
1241 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
1242 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
1243 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
1244 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
1245 that memory limits are in place.
1246 (test03): Add tests.
1248 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
1250 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
1251 * aclocal.m4: Regenerate.
1252 * config.h.in: Regenerate.
1253 * configure: Regenerate.
1254 * include/c_std/std_cwctype.h: Guard.
1256 2002-03-11 Chris Demetriou <cgd@broadcom.com>
1258 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
1259 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
1260 * aclocal.m4: Regenerate.
1261 * configure: Regenerate.
1263 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
1265 * include/bits/stl_bvector.h: Fix warning.
1267 2002-03-11 Richard Henderson <rth@redhat.com>
1269 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
1271 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
1273 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
1274 New function. Build the list of tests to run in testsuite_files.
1275 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
1277 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
1279 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
1280 platforms with no weak support.
1281 * testsuite/27_io/ios_init.cc: Likewise.
1283 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
1285 * include/bits/locale_facets.tcc (time_put::do_put):
1286 Consider sizeof(char_type) in allocating the buffer.
1288 * include/bits/locale_facets.tcc (collate::do_tranform):
1289 Remove redundant variable.
1291 2002-03-10 Ulrich Drepper <drepper@redhat.com>
1292 Paolo Carlini <pcarlini@unitus.it>
1294 * config/locale/generic/collate_members.cc
1295 (collate<char,wchar_t>::_M_compare_helper): normalize
1296 values returned by strcoll and wcscoll.
1297 * config/locale/gnu/collate_members.cc
1298 (collate<char,wchar_t>::_M_compare_helper): ditto
1299 for __strcoll_l and __wcscoll_l.
1301 2002-03-10 Anthony Green <green@redhat.com>
1303 * configure.in: Support cross builds to mingw32 target.
1304 * configure: Rebuilt.
1306 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
1308 * include/bits/locale_facets.tcc (collate::do_transform):
1309 Rewrite to fix problems with long transformed strings.
1311 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
1313 * c_locale_generic.cc: Move to...
1314 * generic/c_locale.cc
1315 * c_locale_generic.h: Move to...
1316 * generic/c_locale.h
1317 * codecvt_specializations_generic.h: Move to...
1318 * generic/codecvt_specializations.h
1319 * collate_members_generic.cc: Move to...
1320 * generic/collate_members.cc
1321 * ctype_members_generic.cc: Move to...
1322 * generic/ctype_members.cc
1323 * messages_members_generic.cc: Move to...
1324 * generic/messages_members.cc
1325 * messages_members_generic.h: Move to...
1326 * generic/messages_members.h
1327 * moneypunct_members_generic.cc: Move to...
1328 * generic/monetary_members.cc
1329 * numpunct_members_generic.cc: Move to...
1330 * generic/numeric_members.cc
1331 * time_members_generic.cc: Move to...
1332 * generic/time_members.cc
1333 * c_locale_gnu.cc: Move to...
1335 * c_locale_gnu.h: Move to...
1337 * collate_members_gnu.cc: Move to...
1338 * gnu/collate_members.cc
1339 * ctype_members_gnu.cc: Move to...
1340 * gnu/ctype_members.cc
1341 * messages_members_gnu.cc: Move to...
1342 * gnu/messages_members.cc
1343 * messages_members_gnu.h: Move to...
1344 * gnu/messages_members.h
1345 * moneypunct_members_gnu.cc: Move to...
1346 * gnu/monetary_members.cc
1347 * numpunct_members_gnu.cc: Move to...
1348 * gnu/numeric_members.cc
1349 * time_members_gnu.cc: Move to...
1350 * gnu/time_members.cc
1351 * c_locale_ieee_1003.1-200x.cc: Move to...
1352 * ieee_1003.1-2001/c_locale.cc
1353 * c_locale_ieee_1003.1-200x.h: Move to...
1354 * ieee_1003.1-2001/c_locale.h
1355 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
1356 * ieee_1003.1-2001/codecvt_specializations.h
1357 * messages_members_ieee_1003.1-200x.cc: Move to...
1358 * ieee_1003.1-2001/messages_members.cc
1359 * messages_members_ieee_1003.1-200x.h: Move to...
1360 * ieee_1003.1-2001/messages_members.h
1362 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
1363 * aclocal.m4: Regenerate.
1364 * configure: Regenerate.
1365 * src/Makefile.am (sources): Change to monetary and numeric.
1366 * src/Makefile.in: Regenerate.
1367 * docs/html/configopts.html: Update to ieee_1003.1-2001.
1369 2002-03-08 scott snyder <snyder@fnal.gov>
1372 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1373 Allow one more digit of precision.
1374 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
1375 write a double and read back in the same value.
1377 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
1379 * include/std/std_limits.h: Move static const data members out of
1380 generic template, into base class __numeric_limits_base.
1381 * src/limits.cc: Add definitions.
1382 * config/linker-map.gnu: Add __numeric_limits_base.
1383 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
1385 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
1387 * include/bits/stl_alloc.h: Add extern implicit allocator
1389 * include/bits/basic_string.tcc: Tweak.
1390 * include/bits/locale_facets.tcc: Remove default args. Add
1391 has_facet, use_facet extern instantiations.
1392 * src/stl-inst.cc: Add explicit instantiation.
1393 * src/locale-inst.cc: Clean. Remove locale member template
1396 * testsuite/22_locale/operators.cc (test02): Enable.
1398 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
1399 Stephen M. Webb <stephen.webb@bregmasoft.com>
1401 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
1402 (_S_rb_tree_black): Make enum.
1404 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
1405 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
1406 (__stl_threshold): _M_threshold, enum.
1407 * src/stl-inst.cc: Same.
1408 * config/linker-map.gnu: Remove.
1410 * testsuite/23_containers/vector_bool.cc: New.
1412 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
1414 * docs/doxygen/user.cfg.in: Also document deprecated entries.
1415 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
1416 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
1417 referring to the collection as a whole. New section on which macros
1418 can be redefined by the user.
1419 * docs/html/19_diagnostics/howto.html: Update note for concepts.
1420 * docs/html/20_util/howto.html: Update link to SGI.
1421 * docs/html/faq/index.html: Update snapshot versions. New entry
1422 on why g++ (but not gcc) must currently predefine certain macros.
1423 * docs/html/faq/index.txt: Regenerated.
1425 * include/bits/basic_string.h (basic_string::_S_construct): Fix
1426 names in declaration.
1427 (basic_string::compare): These are no longer optional.
1428 * include/bits/ostream.tcc: Tweak closing brace placement.
1429 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
1430 * include/std/std_sstream.h: Fix typo in comment.
1431 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
1432 * src/locale.cc: Likewise.
1434 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
1437 * include/bits/stl_vector.h (vector::push_back()): Guard with
1438 _GLIBCPP_DEPRECATED.
1440 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
1442 * include/bits/c++config: Fix misplaced leading blanks on first line.
1444 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
1446 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
1447 * README (libmath): Make clear.
1449 2002-03-05 Jakub Jelinek <jakub@redhat.com>
1451 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
1452 script globbing in ld.
1453 * aclocal.m4: Rebuilt.
1454 * configure: Rebuilt.
1456 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
1458 * docs/html/17_intro/RELEASE-NOTES: Update.
1459 * README: Format subdirectories.
1461 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
1464 * include/bits/locale_facets.tcc
1465 (num_get::_M_extract_float): Fix the parsing of __dec, since
1466 the standard prescribes that if no grouping characters are
1467 seen, no grouping check is applied.
1468 * testsuite/22_locale/num_get_members_char.cc: Add test05
1469 distilled from the PR.
1470 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
1472 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
1474 * docs/html/17_intro/porting-howto.xml: Refer to
1475 http://www.oasis-open.org for docbookx.dtd.
1476 * docs/html/17_intro/porting-howto.html: Regenerated.
1478 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
1481 * include/std/std_sstream.h: Remove trailing spaces.
1482 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
1483 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
1485 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
1487 * testsuite/22_locale/num_get_members_char.cc (test04):
1488 Use a named locale expecting grouping (de_DE).
1489 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
1491 * testsuite/27_io/ios_manip_basefield.cc (test01):
1492 Extend coverage, uniform treatment of hexs and octs.
1494 2002-02-28 Richard Henderson <rth@redhat.com>
1496 * config/linker-map.gnu: Export operator new with unsigned long,
1497 and with std::nothrow_t. Likewise operator delete.
1499 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
1501 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
1502 Admit grouping for octals and hexadecimals too.
1503 * testsuite/22_locale/num_get_members_char.cc: Add test04.
1504 (test01): Tweak "." -> "," in void* test.
1505 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
1507 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
1508 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
1510 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
1512 * testsuite/27_io/ios_manip_basefield.cc (test01):
1513 Fix for 64 bit machines.
1515 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
1518 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
1520 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
1521 (basic_ios::_M_fill_init): New.
1522 (basic_ios::fill()): Delay dealing with _M_fill.
1524 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
1525 (ios_base::_M_call_callbacks): Adjust.
1526 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
1528 2002-02-26 Loren Rittle <ljrittle@acm.org>
1530 * include/Makefile.am (thread_target_headers): Unconditionally
1531 stage and install gthr-posix.h.
1532 (${target_builddir}/gthr-posix.h): New rule cloned off
1533 ${target_builddir}/gthr-default.h.
1534 (${target_builddir}/gthr-default.h): Support chained inclusion
1535 of gthr support headers.
1536 * include/Makefile.in: Rebuilt.
1538 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
1540 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
1541 Group all the integral types, not only decs.
1542 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
1543 tests, add a few more.
1545 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
1547 * src/ios.cc (ios_base::~ios_base): Tweak.
1548 (ios_base::_M_call_callbacks): Deal with null __p.
1549 (ios_base::ios_base): Set _M_callbacks.
1550 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
1551 * testsuite/27_io/ios_init.cc (test02): Fix.
1553 * mkcheck.in (static_fail): Failed links go to output file.
1555 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
1557 * docs/html/faq/index.html: Update.
1558 * docs/html/faq/index.txt: Regenerate.
1560 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
1562 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
1563 * aclocal.m4: Regenerate.
1564 * docs/html/configopts.html: Document --enable-symvers.
1565 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
1567 2002-02-22 Philipp Thomas <pthomas@suse.de>
1569 * include/backward/tempbuf.h: get_temporary_buffer and
1570 return_temporary_buffer are in namespace std, not in __gnu_cxx.
1572 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
1574 * configure.in (target_alias): Default to yes.
1575 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
1576 libgcc to default case.
1578 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
1580 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
1581 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
1582 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
1583 * aclocal.m4: Regenerate.
1584 * configure: Regenerate.
1585 * config/linker-map.dummy: New file. Contains nothing useful.
1587 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
1589 * testsuite/22_locale/money_put_members_char.cc: Fix.
1590 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
1592 * testsuite/27_io/standard_manipulators.cc: New file.
1594 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
1595 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
1597 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
1599 * config/os/mingw32/bits/ctype_noninline.h
1600 (ctype<char>::ctype): Remove default args from parm list.
1601 * config/os/djgpp/bits/ctype_noninline.h: Same.
1603 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
1605 * include/std/std_iomanip.h: Inline, tweaks.
1606 * config/linker-map.gnu: Remove hacks.
1608 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
1609 * testsuite/27_io/ios_init.cc: Same.
1610 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
1611 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
1613 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
1615 * config/linker-map.gnu: Export global vtable, typeinfo, guard
1616 variable, and thunk info as per CXXABI docs.
1618 2002-02-19 Loren Rittle <ljrittle@acm.org>
1620 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
1621 * include/Makefile.in: Rebuilt.
1623 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1625 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
1626 with size3 for the string collations of str5.
1628 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
1631 * include/bits/locale_facets.tcc (money_put::do_put):
1632 For the space field use __fill instead of ' ', uniformly.
1633 * testsuite/22_locale/money_put_members_char.cc:
1634 Add test05 distilled from PR.
1635 (test01-02-03): Trim some '*' to ' '.
1636 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
1638 2002-02-18 Loren Rittle <ljrittle@acm.org>
1641 * include/Makefile.am (thread_builddir): Remove (map all
1642 existing uses to target_builddir).
1643 (thread_headers): Rename to...
1644 (thread_target_headers): ...this.
1645 (stamp-thread): Remove.
1646 (stamp-target): Correctly state the position as built.
1647 Update all dependencies to match the new reality. Remove all
1648 dependency calculations on directories.
1649 * include/Makefile.in: Rebuilt.
1651 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
1653 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
1654 * include/bits/fstream.tcc: Same.
1655 * include/bits/sstream.tcc: Same.
1656 * include/bits/ostream.tcc: Same.
1657 * include/bits/istream.tcc: Same.
1658 * include/bits/streambuf.tcc: Same.
1659 * include/bits/basic_ios.tcc: Same.
1660 * include/bits/basic_string.tcc: Same.
1662 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
1664 * include/std/std_iosfwd.h: Don't guard typedefs with
1665 _GLIBCPP_USE_WCHAR_T
1666 * include/bits/stringfwd.h: Same.
1668 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
1670 * src/locale.cc (moneypunct_byname): Remove definitions.
1671 * include/std/std_streambuf.h (streambuf::operator=): Return.
1673 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
1676 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
1677 explicit instantiation.
1678 (string::_Rep::_S_max_size): Same.
1679 * include/bits/basic_string.tcc: Add extern explicit
1680 instantiations for string, wstring.
1681 * include/bits/basic_ios.tcc: Add extern explicit instantiations
1683 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
1684 * include/bits/istream.tcc: Same, for istream, wistream.
1685 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
1687 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
1688 istringstream, wistringstream, ostringstream, wostringstream,
1689 stringstream, wstringstream.
1690 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
1691 wifstream, ofstream, wofstream, fstream, wfstream.
1692 * src/misc-inst.cc: Correct comments.
1693 Add iomanip instantiations for wide streams.
1694 * include/std/std_iomanip.h: Same.
1695 * include/bits/locale_facets.tcc: Same.
1697 * include/std/std_streambuf.h: Correct
1698 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
1699 * include/std/std_sstream.h: Same.
1700 * include/std/std_ostream.h: Same.
1701 * include/std/std_istream.h: Same.
1702 * include/std/std_fstream.h: Same.
1704 * include/std/std_streambuf.h: Add definitions for private copy
1705 ctor and assignment operator.
1706 * include/std/std_istream.h: Remove declared but undefined copy
1707 ctor and assignment operator. This is taken care of in ios_base,
1708 so adding it in the derived class as well is superfluous.
1709 * include/std/std_ostream.h: Same.
1711 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
1712 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
1714 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
1716 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
1717 Add typeinfo bits. Smooth.
1718 * aclocal.m4: Regenerate.
1720 * src/Makefile.in: Same.
1722 2001-02-14 Joel Sherrill <joel@OARcorp.com>
1724 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
1725 which do not have a CAS instruction.
1727 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
1729 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
1730 * configure.in: Call it.
1731 * config/linker-map.gnu: New file, initial incomplete revision.
1732 * src/Makefile.am: Optionally pass version script to the linker.
1733 * aclocal.m4: Regenerate.
1734 * configure: Regenerate.
1735 * src/Makefile.in: Regenerate.
1737 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
1739 * src/localename.cc: Remove stdexcept include.
1740 * src/locale-inst.cc: Same.
1741 * src/locale.cc: Same.
1742 * src/functexcept.cc: Remove string includes.
1743 * include/std/std_bitset.h: Remove stdexcept include.
1744 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
1745 * testsuite/23_containers/bitset_ctor.cc: Same.
1747 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
1749 * include/bits/stl_algo (__stl_threshold): Declare external.
1750 (__stl_chunk_size): Same.
1751 * include/bits/stl_bvector.h (__WORD_BIT): Same.
1752 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
1753 (_S_rb_tree_black): Same.
1754 * src/stl-inst.cc (__stl_threshold): Define.
1755 (__stl_chunk_size): Same.
1757 (_S_rb_tree_red): Same.
1758 (_S_rb_tree_black): Same.
1760 * config/io/basic_file_libio.h (__basic_file): Add declarations.
1761 * include/bits/basic_file.h: Remove.
1762 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
1763 Declare generic types, specialization.
1764 * config/io/basic_file_stdio.cc: Definitions.
1765 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
1766 Declare generic types.
1767 * include/Makefile.am (bits_headers): Remove basic_file.h.
1768 (extra_target_headers): Change basic_file_model.h to basic_file.h.
1769 (stamp-target): Same.
1771 * include/bits/stl_alloc.h: Tweaks.
1772 * include/bits/localefwd.h: Same.
1774 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
1776 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
1777 * testsuite/22_locale/collate_members_char.cc (test03): New test.
1778 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
1780 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
1782 * include/bits/stl_algo.h (transform (both signatures), generate_n):
1783 Use __typeof__ in concept checks.
1785 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
1787 * include/bits/stl_algo.h (__median, for_each, find, find_if,
1788 adjacent_find, count, count_if, search, search_n, swap_ranges,
1789 transform, replace, replace_if, replace_copy, replace_copy_if,
1790 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
1791 unique, unique_copy, reverse, reverse_copy): Doxygenate.
1793 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
1795 * include/bits/locale_facets.h
1796 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
1797 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
1798 (__timepunct<_CharT>::_M_put_helper): Same.
1799 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
1801 * include/bits/fstream.tcc (filebuf::underflow): Remove
1802 __codecvt_type typedef.
1803 (filebuf::_M_convert_to_external): Same.
1805 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
1807 * docs/doxygen/TODO: Update.
1808 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
1809 * docs/doxygen/mainpage.html: Add TODO list link.
1810 * docs/doxygen/user.cfg.in: Add @doctodo hook.
1811 * docs/doxygen/tables.html: New file, emoty structure only.
1813 * include/bits/stl_iterator.h: Doxygenate just about everything.
1814 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
1815 * include/bits/stl_iterator_base_types.h: Add notes.
1817 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
1819 * include/bits/stl_map.h: Tweak doxygen markup.
1820 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
1821 * include/bits/stl_vector.h: Likewise.
1823 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
1827 * include/std/std_fstream.h (filebuf::__file_type): Change to
1829 (filebuf::_M_convert_to_external): Declare.
1830 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
1831 codecvt bits for wide streams.
1832 (filebuf::_M_really_overflow): Use it.
1833 (filebuf::underflow): Use codecvt.
1834 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
1835 (codecvt<__enc_traits>::do_out): Deal with partial.
1836 (codecvt<__enc_traits>::do_encoding): Return something useful.
1837 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
1839 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
1840 Change expected encoding output.
1842 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
1845 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
1846 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
1848 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
1849 (basic_ios::widen): Same.
1851 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
1853 * testsuite/22_locale/money_get_members_char.cc:
1854 Add comment, tidy up.
1855 (test01): more "en_HK" tests (without showbase).
1856 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
1858 2002-02-06 Loren Rittle <ljrittle@acm.org>
1860 * config/locale/c_locale_generic.cc: Do not trust
1861 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
1864 2002-02-06 Loren Rittle <ljrittle@acm.org>
1866 * acinclude.m4: Add C++ linkage check for strtof.
1867 * aclocal.m4: Rebuilt.
1868 * config.h.in: Rebuilt.
1869 * configure: Rebuilt.
1870 * config/locale/c_locale_generic.cc: Conditionally include
1871 <ieeefp.h>. Improve handling and error checking of float
1872 and long double input for non-C99 configurations.
1874 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
1876 * include/bits/locale_facets.tcc (money_get::do_get(string)):
1877 In case money_base::symbol deal properly with multi-char sign
1878 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
1879 * testsuite/22_locale/money_get_members_char.cc: Add test07.
1880 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
1882 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
1884 * include/bits/locale_facets.tcc (money_get::do_get(string)):
1885 First construct a tentative returned string, then, only if the
1886 parsing succeeds, copy it into the string passed by reference.
1887 * testsuite/22_locale/money_get_members_char.cc: Add test06.
1888 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
1890 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
1892 * docs/doxygen/TODO: Impl-defined behavior now documented...
1893 * docs/html/17_intro/howto.html: ...here.
1894 * docs/doxygen/mainpage.doxy: Remove, rename...
1895 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
1896 * docs/doxygen/style.css: Add small text.
1897 * docs/doxygen/run_doxygen: Adjust for new mainpage.
1898 * docs/doxygen/user.cfg.in: Likewise.
1900 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
1902 * include/bits/stl_map.h: Initial doxygen markup.
1903 * include/std/std_fstream.h: Initial doxygen markup.
1905 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
1908 * include/bits/locale_facets.tcc (money_get::do_get(string)):
1909 Deal correctly with !(__io.flags() & ios_base::showbase)
1910 for case money_base::symbol.
1911 * testsuite/22_locale/money_get_members_char.cc: Add test05.
1912 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
1914 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
1916 * testsuite/22_locale/operators.cc
1917 (gnu_collate::do_compare()): Add return statement to
1918 suppress "no return statement" warning.
1920 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
1922 * testsuite/27_io/ostream_manip.cc: Enable test02.
1924 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
1926 * docs/html/documentation.html: Update for 3.0.96.
1927 * docs/html/faq/index.html: Update for 3.0.96.
1928 * docs/html/faq/index.txt: Regenerated.
1929 * docs/doxygen/TODO: Update notes.
1930 * docs/html/17_intro/howto.html: Initial impl-specific listing.
1932 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
1934 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
1935 Initialize all data members in copy ctor. Make ctors explicit.
1936 (__enc_traits::__enc_traits()): Default ctor does nothing.
1937 (__enc_traits::_M_init): Guard against multiple iconv_opens.
1938 * include/std/std_sstream.h (basic_stringbuf): Make data members
1940 * include/std/std_fstream.h (basic_filebuf): Same.
1941 * include/std/std_streambuf.h: Tweak.
1942 * include/bits/streambuf.tcc: Same.
1943 * include/bits/sstream.tcc: Same.
1944 * include/bits/fstream.tcc: Same.
1946 2002-01-31 Loren Rittle <ljrittle@acm.org>
1948 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
1949 allow NULL argument to be passed to setenv().
1950 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1951 * testsuite/22_locale/collate_members_char.cc: Likewise.
1952 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1953 * testsuite/22_locale/ctype_members_char.cc: Likewise.
1954 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
1955 * testsuite/22_locale/messages_members_char.cc: Likewise.
1956 * testsuite/22_locale/money_get_members_char.cc: Likewise.
1957 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1958 * testsuite/22_locale/money_put_members_char.cc: Likewise.
1959 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1960 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
1961 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1962 * testsuite/22_locale/num_get_members_char.cc: Likewise.
1963 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1964 * testsuite/22_locale/num_put_members_char.cc: Likewise.
1965 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1966 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
1967 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1968 * testsuite/22_locale/time_get_members_char.cc: Likewise.
1969 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1970 * testsuite/22_locale/time_put_members_char.cc: Likewise.
1971 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1973 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
1975 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
1977 * ChangeLog-2001: Fix spelling errors...
1978 * docs/html/17_intro/RELEASE-NOTES: Update.
1979 * docs/html/17_intro/TODO: Update.
1980 * README (file): Update.
1982 2002-01-30 Loren Rittle <ljrittle@acm.org>
1984 * config/locale/c_locale_generic.cc: Check errno for ERANGE
1985 instead of non-zero to aid portability.
1987 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1989 * docs/html/22_locale/messages.html: Fix example code.
1991 2002-01-30 Richard Henderson <rth@redhat.com>
1993 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
1994 out from test03 and templatize.
1997 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
1999 * config/locale/numpunct_members_gnu.cc
2000 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
2001 Fix initialization of _M_grouping for locales which have
2002 _M_thousands_sep == '\0'(L'\0', respectively).
2003 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
2005 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
2007 * testsuite/27_io/ostream_inserter_arith.cc (test03):
2008 Better fix for 32/64 bit architectures, avoiding the
2009 implicit assumption that CHAR_BIT == 8.
2011 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
2013 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
2014 * Makefile.in: Regenerate.
2016 * docs/doxygen/run_doxygen: Update, mostly for man pages.
2017 * docs/doxygen/Intro.3: Update.
2018 * docs/doxygen/TODO: Update.
2019 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
2020 * docs/doxygen/mainpage.doxy: Update.
2021 * docs/doxygen/user.cfg.in: Update for header rename. Also
2022 regenerate comments and variables with 1.2.12.
2023 * docs/doxygen/maint.cfg.in: Remove file.
2025 * include/bits/stl_relops.h: Doxygenate.
2026 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
2028 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
2029 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
2030 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
2031 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
2032 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
2033 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
2034 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
2035 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
2036 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
2037 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
2038 include/ext/hash_set, include/ext/iterator, include/ext/memory,
2039 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
2040 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
2041 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
2042 include/std/std_algorithm.h, include/std/std_bitset.h,
2043 include/std/std_complex.h, include/std/std_deque.h,
2044 include/std/std_fstream.h, include/std/std_functional.h,
2045 include/std/std_iomanip.h, include/std/std_ios.h,
2046 include/std/std_iosfwd.h, include/std/std_iostream.h,
2047 include/std/std_istream.h, include/std/std_iterator.h,
2048 include/std/std_limits.h, include/std/std_list.h,
2049 include/std/std_locale.h, include/std/std_map.h,
2050 include/std/std_memory.h, include/std/std_numeric.h,
2051 include/std/std_ostream.h, include/std/std_queue.h,
2052 include/std/std_set.h, include/std/std_sstream.h,
2053 include/std/std_stack.h, include/std/std_stdexcept.h,
2054 include/std/std_streambuf.h, include/std/std_string.h,
2055 include/std/std_utility.h, include/std/std_valarray.h,
2056 include/std/std_vector.h: Add/correct @file doxygen hook.
2058 * include/ext/memory: Doxygenate most of rest of file.
2059 * libsupc++/exception: Doxygen output formatting.
2060 * libsupc++/new: Say which header it is.
2062 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
2063 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
2064 * docs/html/23_containers/howto.html: Describe O(n) list::size().
2065 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
2067 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
2068 Charles Leggett <CGLeggett@lbl.gov>
2070 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
2072 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
2074 * testsuite/27_io/ostream_inserter_arith.cc (test03):
2075 Fix to deal correctly with both 32 bit and 64 bit architectures
2077 2002-01-25 Loren Rittle <ljrittle@acm.org>
2079 * testsuite/thread/pthread1.cc: Use one condition variable
2080 per predicate instead of tricky use of one condition variable.
2082 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
2084 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
2086 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
2087 * testsuite/27_io/filebuf.cc: Compile only.
2088 * testsuite/27_io/filebuf_members.cc: Move tests to here.
2089 * testsuite/27_io/filebuf_virtuals.cc: And here.
2090 Revert sungetc, sync changes for expected values.
2091 * testsuite/27_io/filebuf-*: Move to...
2092 * testsuite/27_io/filebuf_virtuals-*: ...here.
2093 * testsuite/27_io/istream.cc: Compile only, activate.
2094 * testsuite/27_io/ostream.cc: Same.
2095 * testsuite/27_io/iostream.cc: New.
2096 * testsuite/27_io/iostream_members.cc: New.
2098 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
2100 * testsuite/thread/pthread1.cc: Enable on cygwin.
2101 * testsuite/thread/pthread2.cc: Likewise.
2102 * testsuite/thread/pthread3.cc: Likewise.
2103 * testsuite/thread/pthread4.cc: Likewise.
2104 * testsuite/thread/pthread5.cc: Likewise.
2105 * testsuite/thread/pthread6.cc: Likewise.
2107 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
2109 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
2111 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
2113 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
2115 (basic_ios::fill(char_type)): Use fill().
2116 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
2117 (basic_ios::narrow): Same.
2118 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
2119 if they are invalid.
2120 (basic_ios::init): Comment.
2121 * testsuite/27_io/ios_init.cc (test02): New.
2123 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
2125 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
2126 * include/bits/stl_algo.h: Include stl_tempbuf.h.
2127 * include/ext/memory: Do not include stl_tempbuf.h.
2128 (temporary_buffer): Add doxygen hook.
2129 (__get_temporary_buffer, get_temporary_buffer,
2130 return_temporary_buffer): Move back to std:: header...
2131 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
2132 * include/ext/rope: Do not include stl_tempbuf.h.
2133 * include/ext/stl_hashtable.h: Likewise.
2134 * include/std/std_algorithm.h: Likewise.
2135 * testsuite/20_util/temporary_buffer.cc: New file.
2137 2002-01-24 andrew@andypo.net
2138 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
2141 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
2142 * include/bits/localefwd.h: Likewise.
2143 Also use for std::locale::id::_S_highwater.
2144 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
2145 * src/locale.cc: Support new usage of _Atomic_word.
2146 (std::locale::classic): Guard entire function against reentry.
2147 * src/localename.cc: Support new usage of _Atomic_word.
2149 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
2151 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
2152 _GLIBCPP_HAVE_SETENV.
2153 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
2154 * testsuite/22_locale/collate_members_char.cc (test02): Same.
2155 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
2156 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
2157 * testsuite/22_locale/messages_members_char.cc (test02): Same.
2158 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
2159 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
2160 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
2161 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
2162 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
2163 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
2164 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
2165 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
2166 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
2167 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
2168 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
2169 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
2170 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
2171 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
2172 * aclocal.m4: Regenerate.
2173 * configure: Regenerate.
2174 * config.h.in: Regenerate.
2176 2002-01-23 Loren Rittle <ljrittle@acm.org>
2178 * testsuite/thread/pthread1.cc: New test.
2179 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
2180 * testsuite/thread/pthread3.cc: Likewise.
2181 * testsuite/thread/pthread4.cc: New test adapted from
2182 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
2183 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
2184 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
2186 2002-01-23 Richard Henderson <rth@redhat.com>
2189 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
2190 CAS on the cpu variants that support it. Add versions that use
2191 TAS and that disable interrupts.
2192 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
2194 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
2196 * include/bits/locale_facets.tcc: Remove old comments.
2198 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
2200 * include/bits/locale_facets.tcc (__convert_to_v): Change template
2202 (__convert_from_v): Same.
2204 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
2206 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
2208 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
2209 __max_digits checks, adjust arguments.
2210 (num_get::do_get(*)): Changeup.
2212 2002-01-23 Loren Rittle <ljrittle@acm.org>
2214 * config/locale/c_locale_generic.cc: Fix typename usage.
2216 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2218 * config/locale/c_locale_generic.cc: Fix.
2220 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2222 * docs/html/22_locale/messages.html: Remove angle brackets.
2223 * docs/html/17_intro/TODO: Add.
2225 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
2227 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
2228 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
2229 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
2230 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
2232 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2234 Audit for LANG independence.
2235 * include/bits/localefwd.h: Tweaks.
2236 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
2238 (time_get::do_get_year): Same.
2239 (__convert_from_v): Add.
2240 (num_put::_M_convert_float): Use.
2241 (num_put::_M_convert_int): Same.
2242 (money_put::do_put): Same.
2244 * src/locale-inst.cc: Add instantiations for __convert_from_v.
2245 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
2246 * config/locale/time_members_generic.cc:
2247 * config/locale/messages_members_gnu.cc: Same.
2248 * config/locale/messages_members_gnu.h: Same.
2250 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
2251 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
2252 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
2253 * testsuite/22_locale/collate_members_char.cc (test02): New.
2254 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
2255 * testsuite/22_locale/ctype_members_char.cc (test03): New.
2256 * testsuite/22_locale/messages_members_char.cc (test02): New.
2257 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
2258 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
2259 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
2260 * testsuite/22_locale/money_get_members_char.cc (test04): New.
2261 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
2262 * testsuite/22_locale/money_put_members_char.cc (test04): New.
2263 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
2264 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
2265 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
2266 * testsuite/22_locale/time_put_members_char.cc (test03): New.
2267 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
2268 * testsuite/22_locale/time_get_members_char.cc (test07): New.
2269 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
2270 * testsuite/22_locale/num_get_members_char.cc (test03): New.
2271 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
2272 * testsuite/22_locale/num_put_members_char.cc (test03): New.
2274 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
2276 * testsuite/22_locale/time_get_members_char.cc: Same.
2278 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2281 * include/bits/localefwd.h: Tweak comments.
2282 * include/bits/locale_facets.h (__convert_to_v): Add.
2283 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
2284 (num_get::do_get(float)): Same.
2285 (num_get::do_get(long double)): Same.
2286 (num_get::do_get(bool)): Same.
2287 (num_get::do_get(long)): Same.
2288 (num_get::do_get(long long)): Same.
2289 (num_get::do_get(unsigned int)): Same.
2290 (num_get::do_get(unsigned short)): Same.
2291 (num_get::do_get(unsigned long)): Same.
2292 (num_get::do_get(unsigned long long)): Same.
2293 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
2294 * config/locale/c_locale_generic.cc: Same.
2296 2002-01-22 Loren Rittle <ljrittle@acm.org>
2298 * include/Makefile.am (c_base_builddir): Remove redundant slash.
2299 (std_builddir): Likewise.
2300 (std_headers_rename): Fix cut-n-paste typo.
2301 (install-data-local): Concat path per element instead of once to
2302 first element of list.
2303 * include/Makefile.in: Rebuilt.
2305 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2307 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
2308 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
2309 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
2311 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
2313 * include/bits/locale_facets.h (ctype<char>::classic_table):
2315 (ctype<char>::_S_ctable): Remove.
2316 * config/os/gnu-linux/bits/ctype_noninline.h
2317 (ctype<char>::_S_table): Remove definition.
2318 (ctype<char>::classic_table): Define.
2319 (ctype<char>::ctype): Replace _S_ctable with classic_table().
2320 * config/os/aix/bits/ctype_noninline.h: Same.
2321 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
2322 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
2323 * config/os/djgpp/bits/ctype_noninline.h: Same.
2324 * config/os/generic/bits/ctype_noninline.h: Same.
2325 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
2326 * config/os/hpux/bits/ctype_noninline.h: Same.
2327 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
2328 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
2329 * config/os/mingw32/bits/ctype_noninline.h: Same.
2330 * config/os/newlib/bits/ctype_noninline.h: Same.
2331 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2332 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2333 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2335 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
2337 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
2338 of _pctype. Use to define _S_ctable. Add definition for alternate
2339 ctor. Initialise _M_ctable to _S_ctable in ctors.
2340 (do_toupper, do_tolower): Use inline code appropriate for C-locale
2341 rather than ::toupper, ::tolower.
2343 2002-01-18 Loren Rittle <ljrittle@acm.org>
2345 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
2346 Add specialization for FreeBSD systems only to avoid losing test
2347 only due to extra precision unmentioned in system headers.
2349 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
2351 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
2353 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
2355 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
2356 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
2358 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2360 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
2362 2002-01-17 David Edelsohn <edelsohn@gnu.org>
2364 * configure.target: Define OPT_LDFLAGS for AIX case.
2366 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2368 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
2369 __glibcpp_double_has_quiet_NaN): Correct mispelling.
2371 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
2373 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
2375 2002-01-16 David Edelsohn <dje@watson.ibm.com>
2377 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
2378 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
2379 * aclocal.m4: Regenerate.
2380 * configure: Regenerate.
2382 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
2384 * include/Makefile.am (c_base_headers_rename): New.
2385 (c_base_headers_extra): New.
2386 (stamp-c_base): Modify.
2387 (install-data-local): Use both.
2388 * include/Makefile.in: Regenerate.
2389 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
2390 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
2391 cstdio ctime cwctype]: Move to..
2392 * include/c/std_*: Here.
2393 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
2394 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
2395 cstdio ctime cwctype]: Move to..
2396 * include/c_std/std_*: Here.
2398 Alexandre Oliva <aoliva@redhat.com>
2399 * include/Makefile.am (.PRECIOUS): Add rule.
2400 * include/Makefile.in: Regenerate.
2402 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
2403 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2405 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
2406 Deuglify, should be current.
2407 (back_insert_iterator::_M_container): Deuglify, should be container.
2408 (front_insert_iterator::_M_container): Same.
2409 (insert_iterator::_M_container): Same.
2410 * testsuite/24_iterators/reverse_iterator.cc: Add check.
2411 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
2412 * testsuite/24_iterators/front_insert_iterator.cc: Same.
2413 * testsuite/24_iterators/insert_iterator.cc: Same.
2415 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
2417 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
2419 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
2420 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
2421 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2422 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2423 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2424 * config/os/newlib/bits/ctype_noninline.h: Same.
2425 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
2426 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
2427 * config/os/hpux/bits/ctype_noninline.h: Same.
2428 * config/os/djgpp/bits/ctype_noninline.h: Same.
2429 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
2430 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
2431 * config/os/aix/bits/ctype_noninline.h: Same.
2433 Testcase by Dietmar Kühl via Peter Schmid
2434 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
2437 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
2439 * libmath/signbitl.c: Copyright years as list, not range.
2440 * libmath/Makefile.am: Same.
2441 * libmath/Makefie.in: Regenerate.
2442 * libmath/signbit.c: Same.
2443 * libmath/nan.c: Same.
2444 * libmath/copysignf.c: Same.
2445 * libmath/signbitf.c: Same.
2446 * testsuite/22_locale/money_get_members_char.cc: Same.
2447 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
2448 * testsuite/22_locale/money_put_members_char.cc: Same.
2449 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
2450 * testsuite/22_locale/time_get_members_char.cc: Same.
2451 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
2452 * testsuite/22_locale/time_put_members_char.cc: Same.
2453 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
2454 * testsuite/21_strings/nonmember.cc: Same.
2455 * testsuite/21_strings/compare.cc: Same.
2456 * testsuite/27_io/stringstream.cc: Same.
2457 * testsuite/27_io/stringbuf.cc: Same.
2458 * testsuite/27_io/filebuf.cc: Same.
2459 * testsuite/27_io/ios_manip_basefield.cc: Same.
2460 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
2461 * include/bits/cpp_type_traits.h: Same.
2462 * include/bits/generic_shadow.h: Same.
2463 * include/bits/gslice_array.h: Same.
2464 * include/bits/gslice.h: Same.
2465 * include/bits/indirect_array.h: Same.
2466 * include/bits/slice_array.h: Same.
2467 * include/bits/sstream.tcc: Same.
2468 * include/bits/streambuf_iterator.h: Same.
2469 * include/bits/valarray_array.tcc: Same.
2470 * include/bits/valarray_meta.h: Same.
2471 * include/bits/valarray_array.h: Same.
2472 * config/os/mingw32/bits/ctype_noninline.h: Same.
2473 * config/os/mingw32/bits/ctype_base.h: Same.
2474 * config/os/hpux/bits/ctype_noninline.h: Same.
2475 * config/os/hpux/bits/ctype_base.h: Same.
2476 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
2477 * config/os/gnu-linux/bits/ctype_base.h: Same.
2478 * config/os/generic/bits/ctype_noninline.h: Same.
2479 * config/os/generic/bits/ctype_base.h: Same.
2481 * libsupc++/tinfo.h: Tweaks.
2483 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
2485 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
2486 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
2487 * testsuite/22_locale/ctype_members_char.cc: Tweak.
2489 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
2491 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
2492 (num_put::do_put(void*)): Fix.
2493 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
2494 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
2495 * testsuite/22_locale/num_get_members_char.cc (test02): Add
2496 long double, void, bool types.
2497 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
2499 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
2500 Alexandre Oliva <aoliva@redhat.com>
2502 * libmath/Makefile.am (LINK): Add --tag CC.
2503 * libmath/Makefile.in: Regenerate.
2505 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
2507 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
2508 of character to attribute mapping table.
2510 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
2512 * testsuite/26_numerics/c99_classification_macros_c.cc
2513 Remove dg-error and dg-excess-errors comments.
2515 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
2517 * include/bits/locale_facets.tcc (time_put::put): Correct output
2519 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
2520 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
2521 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
2522 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
2524 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
2526 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
2528 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
2529 Nathan Myers <ncm@cantrip.org>
2531 * include/bits/basic_string.h
2532 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
2533 temporaries (i.e., call _M_replace_safe) when possible.
2534 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
2535 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
2536 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
2537 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
2538 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
2539 * include/bits/basic_string.tcc
2540 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
2541 replace(__pos, __n1, __s, __n2).
2542 * testsuite/21_strings/replace.cc (test03): New testcases.
2544 * include/bits/basic_string.h (insert(__pos, __s, __n)):
2545 Adjust comparison wrt overflow.
2547 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
2549 * include/Makefile.am (std_headers_rename): New variable.
2550 (install-data-local): Use it.
2551 * include/Makefile.in: Regenerate.
2553 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
2555 * include/bits/locale_facets.tcc (money_put::do_put(string):
2556 Correct output iterator value.
2557 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
2558 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
2560 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
2562 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
2565 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
2567 * include/Makefile.am (std_headers): Update list with new names.
2568 (stamp-std): Link to standardized name.
2569 * include/Makefile.in: Regenerate.
2571 * include/std/algorithm, include/std/bitset, include/std/complex,
2572 include/std/deque, include/std/fstream, include/std/functional,
2573 include/std/iomanip, include/std/ios, include/std/iosfwd,
2574 include/std/iostream, include/std/istream, include/std/iterator,
2575 include/std/limits, include/std/list, include/std/locale,
2576 include/std/map, include/std/memory, include/std/numeric,
2577 include/std/ostream, include/std/queue, include/std/set,
2578 include/std/sstream, include/std/stack, include/std/stdexcept,
2579 include/std/streambuf, include/std/string, include/std/utility,
2580 include/std/valarray, include/std/vector: Rename to...
2582 * include/std/std_algorithm.h, include/std/std_bitset.h,
2583 include/std/std_complex.h, include/std/std_deque.h,
2584 include/std/std_fstream.h, include/std/std_functional.h,
2585 include/std/std_iomanip.h, include/std/std_ios.h,
2586 include/std/std_iosfwd.h, include/std/std_iostream.h,
2587 include/std/std_istream.h, include/std/std_iterator.h,
2588 include/std/std_limits.h, include/std/std_list.h,
2589 include/std/std_locale.h, include/std/std_map.h,
2590 include/std/std_memory.h, include/std/std_numeric.h,
2591 include/std/std_ostream.h, include/std/std_queue.h,
2592 include/std/std_set.h, include/std/std_sstream.h,
2593 include/std/std_stack.h, include/std/std_stdexcept.h,
2594 include/std/std_streambuf.h, include/std/std_string.h,
2595 include/std/std_utility.h, include/std/std_valarray.h,
2596 include/std/std_vector.h: ...this.
2598 2002-01-11 Loren Rittle <ljrittle@acm.org>
2600 * include/Makefile.am (extra_target_headers): New list of all
2601 target files built with ad hoc naming rules.
2602 (stamp-*): Handle LN_S failure in manner portable across make
2604 (install-data-local): Install header files from human-maintained
2605 file lists and directory components instead of non-robust find.
2606 * include/Makefile.in: Rebuilt.
2608 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
2610 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2611 Check for zero-length negative sign before adding it to output
2613 (money_get::do_get(long double)): Return beg.
2614 * testsuite/22_locale/money_get_members_char.cc (test02): Add
2616 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
2618 2002-01-10 David Seymour <seymour_dj@yahoo.com>
2621 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
2622 for _M_extract_float and _M_extract_int
2623 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
2624 (num_get<>::_M_extract_int): Likewise, all callers changed
2625 * testsuite/22_locale/num_get_members_char.cc: Testcase
2627 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
2629 * libsupc++/exception (bad_exception): Add comment.
2630 * libsupc++/new (bad_alloc): Same.
2631 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
2633 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
2635 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
2636 that the destructors should be removed from the descriptions
2637 in the standard: writing them explicitly allows the vtable
2638 heuristic to work. For additional information see:
2639 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
2640 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
2641 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
2642 * libsupc++/exception (bad_exception::~bad_exception()):
2643 Reintroduce declaration.
2644 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
2645 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
2646 (bad_typeid::~bad_typeid()): Same.
2647 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
2648 Reintroduce definition.
2649 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
2650 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
2651 (bad_typeid::~bad_typeid()): Same.
2653 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
2655 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
2656 * include/Makefile.in: Regenerate.
2658 2002-01-09 Bo Thorsen <bo@suse.co.uk>
2660 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
2663 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
2667 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
2668 return value of _M_file->sync().
2669 (filebuf::showmanyc): Check for is_open.
2670 * include/std/fstream (filebuf::sync): Tweak.
2671 * testsuite/27_io/filebuf.cc: Tweak.
2673 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
2674 Brad Garcia <garsh@attbi.com>
2676 * testsuite/27_io/filebuf_members.cc: Add test.
2678 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
2679 Craig Rodrigues <rodrigc@mediaone.net>
2682 * po/Makefile.am (mkinstalldirs): Add.
2683 * po/Makefile.in: Regenerate.
2685 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
2687 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
2688 testsuite/lib/prune.exp: Delete lines ":In function ..." from
2690 * testsuite/23_containers/map_operators.cc: Remove
2691 dg-excess-errors comment.
2692 * testsuite/23_containers/set_operators.cc: Likewise.
2694 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
2696 * include/bits/stl_function.h: Remove two lines of comments;
2697 adjust copyright years.
2699 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
2701 * include/Makefile.am (std_headers): Remove cXXX from list.
2702 (c_base_srcdir): No bits subdirectory.
2703 (c_base_builddir): Same.
2704 (c_base_headers): Adjust names, add ciso646.
2705 (bits_headers): Remove std_xxx.h headers.
2706 * include/Makefile.in: Regenerate.
2708 * include/ext/iterator: Adjust includes.
2709 * include/ext/ropeimpl.h: Same.
2710 * include/ext/stl_hash_fun.h: Same.
2711 * include/ext/algorithm: Same.
2713 * include/backward/bvector.h: Adjust includes.
2714 * include/backward/vector.h: Same.
2715 * include/backward/strstream: Same.
2716 * include/backward/streambuf.h: Same.
2717 * include/backward/stack.h: Same.
2718 * include/backward/set.h: Same.
2719 * include/backward/queue.h: Same.
2720 * include/backward/multiset.h: Same.
2721 * include/backward/multimap.h: Same.
2722 * include/backward/map.h: Same.
2723 * include/backward/list.h: Same.
2724 * include/backward/iterator.h: Same.
2725 * include/backward/iostream.h: Same.
2726 * include/backward/iomanip.h: Same.
2727 * include/backward/fstream.h: Same.
2728 * include/backward/deque.h: Same.
2729 * include/backward/complex.h: Same.
2731 * include/bits/std_algorithm.h: Move to...
2732 * include/std/algorithm: ...here.
2733 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
2734 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
2735 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
2736 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
2737 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
2738 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
2739 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
2742 * include/c_std/bits/std_cassert.h: Move to...
2743 * include/c_std/cassert: Here.
2744 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
2745 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
2746 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
2747 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
2748 std_cwctype.h: Same.
2749 * include/c_std/cmath: Adjust cmath.tcc include.
2750 * include/c_std/cstdlib: Adjust includes.
2751 * include/c_std/cwchar: Same.
2752 * include/c_std/ctime: Same.
2753 * include/c_std/cstring: Same.
2754 * include/c_std/cstdio: Same.
2755 * include/c_std/bits: Remove directory.
2757 * include/c/bits/std_cassert.h: Move to...
2758 * include/c/cassert: Here.
2759 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
2760 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
2761 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
2762 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
2763 std_cwctype.h: Same.
2764 * include/c/bits: Remove directory.
2766 * include/std/cwctype: Remove.
2767 * include/std/cwchar: Remove.
2768 * include/std/ctime: Remove.
2769 * include/std/cstring: Remove.
2770 * include/std/cstdlib: Remove.
2771 * include/std/cstdio: Remove.
2772 * include/std/cstddef: Remove.
2773 * include/std/cstdarg: Remove.
2774 * include/std/csignal: Remove.
2775 * include/std/csetjmp: Remove.
2776 * include/std/cmath: Remove.
2777 * include/std/clocale: Remove.
2778 * include/std/climits: Remove.
2779 * include/std/ciso646: Remove.
2780 * include/std/cfloat: Remove.
2781 * include/std/cerrno: Remove.
2782 * include/std/cctype: Remove.
2783 * include/std/cassert: Remove.
2785 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
2786 files and subsituting <xxx>.
2787 * include/bits/valarray_array.h: Same.
2788 * include/bits/stl_uninitialized.h: Same.
2789 * include/bits/stl_alloc.h: Same.
2790 * include/bits/stl_algobase.h: Same.
2791 * include/bits/sstream.tcc: Same.
2792 * include/bits/pthread_allocimpl.h: Same.
2793 * include/bits/ostream.tcc: Same.
2794 * include/bits/localefwd.h: Same.
2795 * include/bits/locale_facets.tcc: Same.
2796 * include/bits/locale_facets.h: Same.
2797 * include/bits/istream.tcc: Same.
2798 * include/bits/char_traits.h: Same.
2799 * include/bits/boost_concept_check.h: Same.
2800 * include/bits/basic_file.h: Same.
2801 * include/std/bitset: Same.
2802 * include/std/complex: Same.
2803 * include/std/fstream: Same.
2804 * include/std/functional: Same.
2805 * include/std/ios: Same.
2806 * include/std/iostream: Same.
2807 * include/std/ostream: Same.
2808 * include/std/sstream: Same.
2809 * include/std/streambuf: Same.
2810 * include/std/string: Same.
2811 * include/std/iterator: Same.
2812 * include/std/valarray: Same.
2814 * src/ios.cc: Adjust includes.
2815 * src/valarray-inst.cc: Same.
2816 * src/string-inst.cc: Same.
2817 * src/stl-inst.cc: Same.
2818 * src/stdexcept.cc: Same.
2819 * src/misc-inst.cc: Same.
2820 * src/localename.cc: Same.
2821 * src/locale-inst.cc: Same.
2822 * src/locale.cc: Same.
2823 * src/limits.cc: Same.
2824 * src/concept-inst.cc: Same.
2825 * src/complex_io.cc: Same.
2826 * src/codecvt.cc: Same.
2827 * src/bitset.cc: Same.
2828 * src/cmath.cc: Same.
2830 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
2832 * include/bits/stl_tree.h (rb_tree): Move to...
2833 * include/ext/rb_tree: ...here, new file.
2834 * include/Makefile.am (ext_headers): Add new file.
2835 * include/Makefile.in: Regenerate.
2836 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
2837 return_temporary_buffer, struct temporary_buffer): Move to...
2838 * include/ext/memory: ...here.
2839 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
2840 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
2841 * include/backward/tree.h: Include <ext/rb_tree), tweak.
2843 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
2845 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
2846 * include/ext/numeric: ...here, new file.
2847 * include/bits/stl_function.h (identity_element, unary_compose,
2848 binary_compose, compose1, compose2, identity, select1st,
2849 select2nd, project1st + helper, project2nd + helper,
2850 constant_void_fun + helper, constant_unary_fun + helper,
2851 costant_binary_fun + helper, constant0, constant1, constant2,
2852 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
2853 * include/ext/functional: ...here, new file.
2854 * include/Makefile.am (ext_headers): Add new files.
2855 * include/Makefile.in: Regenerate.
2856 * testsuite/ext/headers.cc: Include <ext/numeric> and
2858 * include/backward/algo.h: Include <ext/numeric>, tweak.
2859 * include/backward/function.h: Include <ext/functional>, tweak.
2860 * include/ext/ropeimpl.h: Include <ext/numeric>.
2862 2002-01-03 Jeffrey A Law <law@redhat.com>
2864 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
2865 __strtoull declarations with __extension__.
2867 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
2869 * testsuite/lib/prune.exp: Correct regular expression for
2872 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
2874 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
2875 Change concept checks, as with lower_bound and PR 2054.
2876 * testsuite/ext/concept_checks.cc: Expand test to include those.
2878 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
2880 * include/bits/boost_concept_check.h: Import some changes from
2881 upsteam (Boost) version.
2883 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
2885 * include/bits/stl_algobase.h (copy_n + helpers,
2886 lexicographical_compare_3way + helpers): Move to...
2887 * include/ext/algorithm: ...here.
2888 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
2889 helpers): Move to...
2890 * include/ext/memory: ...here, new file.
2891 * include/Makefile.am (ext_headers): Add new file.
2892 * include/Makefile.in: Regenerate.
2893 * testsuite/ext/headers.cc: Include <ext/memory>.
2894 * include/backward/algobase.h: Include <ext/memory> and
2895 <ext/algorithm>, tweak.
2896 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
2897 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
2899 2002-01-01 Roger Sayle <roger@eyesopen.com>
2901 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
2902 equivalent ___builtin__ versions.
2904 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
2905 are available in libstdc++ as the necessary stub implementations
2906 are provided by libmath/stubs.c.
2908 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
2910 * configure.in: Add support for NetBSD cross compiles.
2911 * configure: Regenerate.