1 2002-06-07 Phil Edwards <pme@gcc.gnu.org>
3 * mkcheck.in: Link against local testsuite library.
4 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
6 * testsuite/testsuite_hooks.cc: ...to here.
8 2002-06-06 Loren J. Rittle <ljrittle@acm.org>
10 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
11 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
12 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
13 * src/Makefile.in: Regenerate (explicitly with --cygnus option).
14 * testsuite/Makefile.in: Likewise.
16 2002-06-05 David Edelsohn <edelsohn@gnu.org>
18 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
21 2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
23 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
24 Search correct multilib testsuite dir for libv3test.
26 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
27 Gaby Dos Reis <gdr@codesourcery.com>
29 * include/bits/basic_string.tcc
30 (basic_string::_S_construct(forward_iterator_tag):
31 Fix typo in null pointer check.
32 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
34 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
36 * testsuite/22_locale/money_get_members_char.cc
37 (test02): Add decimal point to long double constants.
38 * testsuite/22_locale/money_get_members_wchar_t.cc
40 * testsuite/22_locale/money_put_members_char.cc
41 (test02, test03, test06): Likewise.
42 * testsuite/22_locale/money_put_members_wchar_t.cc:
43 (test02, test03, test06): Likewise.
44 * testsuite/22_locale/num_get_members_char.cc:
45 (test02, test01): Likewise; suffix long long constants with LL.
46 * testsuite/22_locale/num_get_members_wchar_t.cc:
47 (test02, test01): Likewise.
48 * testsuite/22_locale/num_put_members_char.cc:
49 (test02, test01): Likewise.
50 * testsuite/22_locale/num_put_members_wchar_t.cc:
51 (test02, test01): Likewise.
53 2002-06-03 Marc Espie <espie@openbsd.org>
55 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
56 assembly for old assemblers.
58 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
60 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
62 (vector<bool>::swap(reference,reference)): ...to this.
64 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
66 * docs/doxygen/TODO: Update.
67 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
68 some class members are in 14882 order.
69 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
71 * include/std/std_bitset.h: Update comment.
72 * src/bitset.cc: Update comments, clean up spacing.
74 * src/Makefile.am (sources): Alphabetize for convenience.
75 * src/Makefile.in: Regenerate.
77 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
79 * include/bits/stl_deque.h, include/bits/stl_list.h,
80 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
81 Reorder to match 14882. Doxygen blocks for all public members.
83 2002-05-31 Marcus Meissner <meissner@suse.de>
86 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
87 * testsuite/23_containers/vector_bool.cc (test02): New test.
89 2002-05-30 Marc Espie <espie@openbsd.org>
90 * configure.in: Always check for sys/types.h
91 * configure: Regenerate.
93 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
95 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
96 Rebuild the wrapper file every time this proc is called.
98 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
100 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
102 * testsuite/Makefile.in: Regenerate.
103 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
104 list_modifiers.cc and rename from 'T'. Move code bodies...
105 * testsuite/testsuite_hooks.cc: ...to here. New file.
106 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
107 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
108 Add libv3test.a to link options.
110 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
112 * src/misc-inst.cc: Define unnecessary algorithm
113 instantiations. Break apart instantiations into groupings below.
114 * src/fstream-inst.cc: New.
115 * src/io-inst.cc: New.
116 * src/istream-inst.cc: New.
117 * src/ostream-inst.cc: New.
118 * src/streambuf-inst.cc: New.
119 * src/sstream-inst.cc: New.
120 * src/Makefile.am (sources): Add files.
121 * src/Makefile.in: Regenerate.
123 * acinclude.m4: Work around automake 1.4-p5 bug, change
124 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
126 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
129 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
130 (classic_table): Fix.
131 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
133 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
135 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
136 _GLIBCPP_USE_WCHAR_T.
137 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
138 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
139 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
141 2002-05-26 Carlo Wood <carlo@alinoe.com>
142 Paolo Carlini <pcarlini@unitus.it>
145 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
146 (__enc_traits::operator=): add missing return statement.
148 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
151 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
152 (operator>>): If nothing was extracted, don't fail in the
154 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
156 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
159 * testsuite/22_locale/ctype_narrow_char.cc: New.
160 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
161 * testsuite/22_locale/ctype_widen_char.cc: New.
162 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
163 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
164 * testsuite/22_locale/ctype_is_char.cc: ...this.
165 * testsuite/22_locale/ctype_to_char.cc: ...and this.
166 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
167 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
168 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
170 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
172 2002-05-24 Dale Peakall <dale@peakall.net>
175 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
176 * config/locale/generic/ctype_members.cc: Same.
178 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
181 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
182 for empty string literal.
183 (ostream::operator<<(const _CharT*)): Same.
184 (ostream<char>::operator<<(const char*)): Same.
185 (ostream<char>::operator<<(streambuf*)): Same.
186 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
187 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
189 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
191 * configure.in (release_VERSION): Update to 3.1.1.
192 (libtool_VERSION): Update to 4:1:0.
193 * configure: Regenerate.
195 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
197 * include/bits/stl_pair.h: Tweak comment markup.
199 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
201 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
203 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
205 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
207 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
209 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
210 Doxygenate all public members. Reorder to follow 14882.
211 (vector::push_back(void)): Remove previously-deprecated fn.
212 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
213 Deprecate for removal in 3.3.
215 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
217 * docs/html/faq/index.html (5.4): Recommend against -I options for
218 finding the ext headers.
219 * docs/html/faq/index.txt: Regenerate.
221 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
223 * testsuite/23_containers/deque_operators.cc (test01):
224 Fix minor typo in last commit.
226 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
229 * include/bits/stl_deque.h (_Deque_iterator::operator==,
230 operator!=, operator<, operator>, operator>=, operator<=):
231 Make non-member functions, to allow comparing const and
232 non-const iterators in any order.
233 * testsuite/23_containers/deque_operators.cc: New testfile.
235 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
237 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
238 * docs/html/faq/index.txt: Regenerate.
240 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
242 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
243 * acinclude.m4: Likewise.
244 * docs/html/Makefile: Likewise.
245 * aclocal.m4: Regenerate.
246 * configure: Regenerate.
247 * Makefile.in: Regenerate.
249 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
252 * include/bits/c++config (__USE_MALLOC): Report case where
253 the user improperly defined it on the command line.
255 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
257 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
258 Retrieve current limits before setting.
260 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
263 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
265 (ostream::operator<<(const _CharT*)): Same.
266 (ostream<char>::operator<<(const char*)): Same.
267 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
269 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
272 * src/strstream.cc (strstreambuf): Fix leak.
274 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
277 * include/bits/istream.tcc (istream::getline, ignore):
278 Upon __idelim (__delim) call sbumpc() not snextc().
279 * testsuite/27_io/narrow_stream_objects.cc:
280 Add test08 and test09.
282 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
284 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
285 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
287 * docs/html/install.html: Fix.
289 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
291 * include/bits/fstream.tcc
292 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
294 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
296 * docs/html/install.html: Tweak, add bits about required locales
297 for the 22_locale tests when using the gnu model.
299 * testsuite/27_io/istream_sentry.cc: Tweak.
301 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
303 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
304 Fix typo, use this->is() rather than manually (and perhaps
305 incorrectly) inlining it.
306 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
308 * testsuite/22_locale/ctype_scan_char.cc: New file.
310 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
311 Jakub Jelinek <jakub@redhat.com>
313 * testsuite/22_locale/money_get_members_char.cc
314 (test01, test02, test04): Use the de_DE@euro named locale
315 instead of de_DE to allow for an uniform behaviour with
316 both old and Euro-era localedata; tweak some tests.
317 * testsuite/22_locale/money_get_members_wchar_t.cc
318 (test01, test02, test04): Likewise.
319 * testsuite/22_locale/money_put_members_char.cc
320 (test01, test02, test04): Likewise.
321 * testsuite/22_locale/money_put_members_wchar_t.cc
322 (test01, test02, test04): Likewise.
324 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
326 * testsuite/22_locale/codecvt_members_char_char.cc
327 (test03): Robustify wrt localedata.
328 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
329 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
330 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
331 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
332 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
333 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
334 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
335 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
336 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
337 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
338 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
339 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
340 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
341 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
342 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
343 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
344 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
345 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
346 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
347 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
348 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
349 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
351 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
353 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
356 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
358 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
359 to 64 for hppa 64-bit port.
360 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
362 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
364 * acinclude.m4 (enable_symvers): Quote $LD.
365 * aclocal.m4: Regenerate.
366 * configure: Likewise.
368 2002-05-09 Jakub Jelinek <jakub@redhat.com>
370 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
371 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
374 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
376 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
377 script entry, and set LD to it when configuring multilibs.
378 * configure: Rebuilt.
380 2002-05-07 Mark Mitchell <mark@codesourcery.com>
382 * configure.in: Add support for WindISS.
383 * configure: Regenerated.
384 * configure.target: Add support for WindISS.
385 * config/os/windiss/bits/ctype_base.h: New file.
386 * config/os/windiss/bits/ctype_inline.h: Likewise.
387 * config/os/windiss/bits/ctype_noninline.h: Likewise.
388 * config/os/windiss/bits/os_defines.h: Likewise.
390 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
392 Test all the facets for the temporary "C" locale switch issue.
393 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
394 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
395 * testsuite/22_locale/collate_members_char.cc: Add test04.
396 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
397 * testsuite/22_locale/ctype_members_char.cc: Add test05.
398 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
399 * testsuite/22_locale/messages_members_char.cc: Add test03.
400 * testsuite/22_locale/money_get_members_char.cc: Add test08.
401 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
402 * testsuite/22_locale/money_put_members_char.cc: Add test07.
403 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
404 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
405 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
406 * testsuite/22_locale/num_get_members_char.cc: Add test06.
407 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
408 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
409 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
410 * testsuite/22_locale/time_get_members_char.cc: Add test08.
411 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
412 * testsuite/22_locale/time_put_members_char.cc: Add test04.
413 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
415 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
416 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
418 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
420 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
421 __EXTENSIONS__): Ensure they are always defined.
423 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
425 * docs/html/documentation.html: Fix broken link.
427 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
428 Paolo Carlini <pcarlini@unitus.it>
430 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
431 testing for the locale_facets.tcc entry of the previous commit.
432 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
434 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
436 * config/locale/generic/c_locale.cc
437 (__convert_to_v(float, double, long double)):
438 Fix the temporary switch to the "C" locale, saving and
439 restoring in the proper way the current locale.
440 * config/locale/generic/time_members.cc
441 (__timepunct<char, wchar_t>::_M_put): Likewise.
442 * config/locale/gnu/messages_members.cc
443 (messages<char>::do_get): Likewise.
444 * config/locale/gnu/messages_members.h
445 (messages<_CharT>::do_get): Likewise.
446 * config/locale/gnu/time_members.cc
447 (__timepunct<char, wchar_t>::_M_put): Likewise.
448 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
450 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
452 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
453 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
455 * Makefile.in, config.h.in, configure: Regenerate.
457 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
460 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
461 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
463 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
465 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
467 (ctype:_M_table): Initialize to classic_table(), not __ctype.
469 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
471 * configure.in: Update local install.html, configopts.html paths.
472 * configure: Regenerate.
474 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
476 * config/os/irix/irix5.2/bits/os_defines.h
477 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
479 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
482 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
484 * docs/html/faq/index.html: Update list in #4.1.
485 * docs/html/faq/index.txt: Regenerated.
487 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
489 * docs/html/17_intro/RELEASE-NOTES (New): Update.
491 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
493 * include/std/std_bitset.h: Fix doxygen comments.
494 * docs/html/documentation.html: Minor tweaks for 3.1.
495 * docs/html/27_io/howto.html: Likewise.
496 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
497 * docs/html/faq/index.html: Likewise.
498 * docs/html/faq/index.txt: Regenerated.
500 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
503 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
504 (istreambuf_iterator::equal): Use it.
505 (istreambuf_iterator::operator*): Use it.
507 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
510 * include/bits/stl_uninitialized.h
511 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
512 Fix typo in 2001-07-17 commit: typedef _ValueType to
513 iterator_traits<_ForwardIter> not <_InputIter>.
514 * testsuite/23_containers/vector_ctor.cc: Add test04.
516 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
519 * include/c_std/std_cctype.h: Include bits/c++config.h.
520 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
522 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
524 * include/ext/stdio_filebuf.h: New file.
525 * include/ext/enc_filebuf.h: New file.
526 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
527 * config/io/basic_file_stdio.cc: Same.
528 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
529 Remove _M_unbuf hacks.
530 (filebuf::_M_destroy_internal_buffer): Same.
531 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
532 (filebuf::fd): Remove.
533 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
534 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
535 (filebuf::fd): Remove.
536 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
538 (ios_base::_S_ios_destroy): Same.
539 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
540 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
541 stdio_filebuf.h. * include/Makefile.in: Regenerate.
543 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
546 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
548 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
551 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
553 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
554 (istreambuf_iterator::operator++): Invalidate on eof.
555 (istreambuf_iterator::operator++(int)): Same.
556 (istreambuf_iterator::operator*): Same.
558 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
560 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
561 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
564 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
567 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
568 (__basic_file::sys_ungetc): Take int.
569 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
570 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
571 Use sys_getc for unbuffered input.
572 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
574 * src/ios.cc (_M_grow_words): Adjust error checking.
575 * testsuite/27_io/ios_base_storage.cc: Same.
577 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
579 * include/ext/stl_hashtable.h: Import __iterator_category
581 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
582 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
584 * testsuite/ext/hash_set.cc: New testfile.
586 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
588 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
590 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
591 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
593 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
595 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
596 Fix and tighten __throw_length_error check.
597 * testsuite/21_strings/replace.cc (test05): New.
598 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
600 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
602 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
603 unconditional flush on lower-layer handle to here...
604 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
605 ...from here. Optimize remaining _M_file.sync() call pattern.
606 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
609 2002-04-23 Jason Merrill <jason@redhat.com>
611 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
612 output-only filebufs.
613 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
615 (basic_filebuf::_M_set_determinate): Likewise.
618 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
619 value properly in the trivial case.
620 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
621 tellg() returns the right value after a read.
623 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
625 * config/cpu/mmix/bits/cpu_limits.h: New file.
626 * configure.target (CPULIMITSH): Use it.
628 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
630 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
631 * docs/html/17_intro/porting.html: Rebuilt.
633 2002-04-20 Jason Merrill <jason@redhat.com>
636 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
638 (basic_streambuf::_M_set_determinate): Likewise.
639 (basic_streambuf::_M_is_indeterminate): Likewise.
640 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
641 non-static data member.
642 (basic_filebuf::_M_underflow_common): New non-static member function.
643 (basic_filebuf::_M_underflow, _M_uflow): Call it.
644 (basic_filebuf::sync): Avoid useless seeking.
645 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
647 (basic_filebuf::_M_set_determinate): Likewise.
648 (basic_filebuf::_M_is_indeterminate): Likewise.
649 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
650 back to _M_out_beg if necessary.
651 (basic_filebuf::seekoff): Likewise.
652 (basic_filebuf::_M_underflow_common): Generalization of old
653 underflow(). Don't seek back to _M_in_beg.
654 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
655 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
656 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
657 * config/os/mingw32/bits/os_defines.h: Likewise.
658 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
661 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
663 * include/bits/istream.tcc (istream::read): Fix.
664 * testsuite/27_io/istream_unformatted.cc (main): Add.
666 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
669 * include/bits/istream.tcc (istream::ignore): Streamline, use
671 * include/bits/streambuf.tcc: Use this->gptr.
672 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
674 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
676 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
677 as type safety is important, especially on solaris.
678 * include/bits/istream.tcc (istream::read): Clean.
679 (istream::readsome): Same.
680 * locale.cc: Wrap lines.
682 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
683 * testsuite/27_io/instantiations.cc (test): Add bool variable...
684 * testsuite/21_strings/capacity.cc: Clean.
686 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
688 * docs/doxygen/doxygroups.cc: New group on binary searching.
689 * include/bits/stl_algo.h: Document binary searches and merges.
690 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
692 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
694 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
695 * docs/doxygen/run_doxygen: Bump required version.
696 * docs/doxygen/user.cfg.in: Revert accidental change.
697 * docs/html/faq/index.html: Reindent a block of links.
698 (4.4): New note on using dlsym.
699 * docs/html/faq/index.txt: Regenerated.
701 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
703 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
705 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
707 * config/linker-map.gnu (__malloc_alloc_template): Add.
708 (__default_alloc_template): Same.
709 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
711 (__default_alloc_template): Same.
713 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
715 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
717 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
719 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
720 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
721 (__malloc_alloc_template): Conditionalize.
723 * include/bits/istream.tcc: Remove sputbackc calls.
725 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
727 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
729 * testsuite/24_iterators/rel_ops.cc: New test.
731 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
733 * include/bits/type_traits.h (__normal_iterator): Declare in
734 __gnu_cxx. Adjust use at global namespace.
735 * include/bits/stl_iterator.h (__normal_iterator): Move definition
736 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
737 * include/bits/basic_string.h (basic_string): Adjust use of
739 * include/bits/stl_vector.h (_Alloc>): Likewise.
740 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
741 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
743 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
747 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
749 (__basic_file::close): Call fflush. Correct return if fclose ok.
750 (__basic_file::is_open): Make const.
751 Change __c_file_type to __c_file.
752 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
753 (__basic_file::is_open): Make const.
754 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
755 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
756 (filebuf::_M_unbuf): Add.
757 (filebuf::_M_file): Change to non-pointer.
758 (filebuf::_M_allocate_pback_buffer): Remove.
759 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
760 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
761 Change initialization list for _M_file change.
762 (filebuf::_M_allocate_pback_buffer): Remove.
763 Change _M_file usage to reflect non-pointer data member.
765 * config/locale/generic/c_locale.cc
766 (locale::facet::_S_create_c_locale): Add parameter.
767 * config/locale/generic/collate_members.cc: Change
768 _M_compare_helper to _M_compare.
769 Change _M_transform_helper to _M_transform.
770 * config/locale/generic/monetary_members.cc: Changeup data types.
772 * config/locale/generic/numeric_members.cc: Add dtors.
773 * config/locale/generic/time_members.cc: Add dtors.
774 * config/locale/gnu/c_locale.cc: Add parameter.
775 * config/locale/gnu/collate_members.cc:Change
776 _M_compare_helper to _M_compare.
777 Change _M_transform_helper to _M_transform.
778 * config/locale/gnu/ctype_members.cc: Better error checking.
779 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
780 * config/locale/gnu/messages_members.cc: Tweak comment.
781 * config/locale/gnu/monetary_members.cc: Change data types.
783 * config/locale/gnu/numeric_members.cc: Add dtors, better error
785 * config/locale/gnu/time_members.cc: Same.
786 * config/locale/ieee_1003.1-2001/c_locale.cc
787 (locale::facet::_S_create_c_locale): Add parameter.
788 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
789 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
792 * include/bits/locale_facets.h (moneypunct): Use string literals.
796 (locale::_Impl::_M_facets): Change from vector to array.
797 (locale::_Impl::_M_names): Change from array of strings to array
799 (locale::facet::_S_create_c_locale): Add parameter.
800 (locale::locale::_S_num_facets): Move to...
801 (locale::_Impl::_M_facets_size): Here.
802 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
804 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
805 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
806 (locale::_Impl::_Impl(string, size_t)): Change to
807 (locale::_Impl::_Impl(const char*, size_t)): This.
809 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
810 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
811 (streambuf::_S_pback_size): This.
813 * src/globals.cc: Add pre-allocations for "C" facets.
814 * src/locale-inst.cc: Remove vector instantiations.
815 * src/locale.cc: Remove vector include. Fixups for _M_names,
817 * src/localename.cc: Same.
819 * include/bits/stl_vector.h: Fix odd formatting.
821 * include/bits/basic_string.tcc: Tweak comment.
823 * libsupc++/new: Make sure parameters are uglified.
824 * libsupc++/typeinfo: Same.
826 * testsuite/22_locale/num_get_members_char.cc: Fixup.
827 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
828 * testsuite/27_io/filebuf_members.cc: Same.
830 2002-04-12 Steve Ellcey <sje@cup.hp.com>
832 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
833 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
834 does not define strtoll or strtoull, but does define strtol
835 and strtoul which are the same since in 64 bit mode
836 sizeof(long) == sizeof(long long).
838 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
840 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
841 trailing spaces, indentation, and macro names. Make exception
842 messages more informative.
844 2002-04-11 Richard Henderson <rth@redhat.com>
846 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
847 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
848 (basic_ostream<>::operator<<(long long)): Same.
850 2002-04-11 Richard Henderson <rth@redhat.com>
852 * config/linker-map.gnu: Add __gxx_personality_sj0.
854 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
857 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
859 Remove forward declaration of vector.
861 * include/bits/locale_facets.tcc: Remove vector include.
862 (use_locale): Adjust.
863 (has_locale): Adjust.
864 * src/locale.cc: Adjust.
865 * src/localename.cc: Same.
867 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
868 Richard Henderson <rth@redhat.com>
870 * include/bits/sstream.tcc: Clean up bit ops.
871 * include/bits/fstream.tcc: Same.
873 2002-04-09 Jakub Jelinek <jakub@redhat.com>
875 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
876 (__num_base::_S_scale_oct): Remove.
877 * src/locale.cc (__num_base::_S_scale_hex): Remove.
878 (__num_base::_S_scale_oct): Remove.
880 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
883 * testsuite/23_containers/bitset_members.cc: New test.
884 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
885 (_S_bit_count): Here.
886 (_First_one::_S_first_one): Move...
887 (_S_first_one): Here.
889 * src/bitset.cc: Adjust.
890 * config/linker-map.gnu: Export.
892 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
895 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
896 * include/std/std_fstream.h: Clean.
897 * include/bits/ostream.tcc: Remove extraneous variables.
898 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
899 open modes and which modes.
900 (stringbuf::seekpos): Same.
901 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
903 2002-04-05 Jonathan Wakely <jw@kayari.org>
905 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
906 random_shuffle, partition, stable_partition, sort, stable_sort,
907 partial_sort, partial_sort_copy, nth_element): Doxygenate.
909 2002-04-05 David S. Miller <davem@redhat.com>
911 * config/os/gnu-linux/bits/os_defines.h
912 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
914 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
917 via gawrilow@math.tu-berlin.de
918 * acinclude.m4 (version_specific_libs): Fix combo usage with
919 --with-gxx-include-dir.
920 * aclocal.m4: Regenerate.
923 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
925 As per DR 184, libstdc++/3139
926 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
927 (numeric_limits<bool>::is_iec559): False.
928 (numeric_limits<bool>::is_modulo): False.
930 * testsuite/27_io/ios_init.cc: Add instantiations.
932 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
935 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
936 * testsuite/27_io/ios_init.cc (tests04): Add test.
939 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
940 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
941 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
942 * include/bits/istream.tcc: Use _M_fctype, make consistent with
944 * testsuite/27_io/ios_init.cc (tests03): Add test.
946 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
948 * include/Makefile.am (install-data-local): Use mkinstalldirs.
949 * include/Makefile.in: Regenerate.
951 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
952 Nathan Myers <ncm@cantrip.org>
953 Philip Martin <philip@codematters.co.uk>
955 * include/bits/basic_string.h
956 (replace(i1, i2, _CharT* k1, _CharT* k2),
957 replace(i2, i2, const _CharT* k1, const _CharT* k2),
958 replace(i1, i2, iterator k1, iterator k2,
959 replace(i1, i2, const_iterator k1, const_iterator k2):
960 New specializations to optimize for the common cases of
961 pointers and iterators.
962 (replace(pos, n1, s, n2)): Tweak.
963 * include/bits/basic_string.tcc: Tweak comments.
964 * testsuite/21_strings/replace.cc (test04): New tests.
966 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
969 * acinclude: More extensive checks for msgfmt, --enable-nls.
970 * aclocal.m4: Regenerate.
971 * configure: Regenerate.
973 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
975 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
976 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
977 * docs/html/18_support/howto.html: Document the demangler.
978 * docs/html/17_intro/howto.html: And link to it.
980 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
981 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
983 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
985 * config/linker-map.gnu: Export __verbose_terminate_handler.
986 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
987 Make new LTCOMPILE variable, use it in new special build rules.
988 * libsupc++/Makefile.in: Rebuild.
989 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
990 runtime __cxa_demangle.
992 * docs/html/install.html: Update prereqs and instructions.
993 * docs/html/19_diagnostics/howto.html: Bring naming for
994 verbose_terminate_handler into line with reality.
996 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
999 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
1000 (basic_ios::_M_streambuf_state): Move.
1001 * include/bits/ios_base (ios_base): To here.
1002 * include/bits/ios_base.h (ios_base::_S_local_words): To
1004 (ios_base::_M_word_array): To _M_local_word.
1005 (ios_base::_M_words_limit): To _M_word_size.
1006 (ios_base::_M_words): To _M_word.
1008 * include/bits/basic_ios.tcc: Adjust.
1009 * src/ios.cc (ios_base::_M_grow_words): Tweak.
1010 * testsuite/27_io/ios_base_storage.cc: Add tests.
1013 Kenny Simpson <theonetruekenny@yahoo.com>
1014 * include/bits/ios_base.h: Fix.
1016 Richard Henderson <rth@redhat.com>
1017 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
1020 * include/bits/basic_string.h: Tweak formatting.
1022 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
1024 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1025 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
1026 By definition, sizeof(char) == 1.
1027 * include/bits/locale_facets.tcc (money_get::do_get,
1028 money_put::do_put): Ditto.
1029 * testsuite/21_strings/inserters_extractors.cc
1032 2002-03-30 Richard Henderson <rth@redhat.com>
1035 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
1036 data out of the exception struct before calling unexpectedHandler.
1038 2002-03-28 Roger Sayle <roger@eyesopen.com>
1040 * include/c_std/std_cmath.h: To prevent problems overloading
1041 g++ builtins, use the double variants from the global namespace
1042 before defining float and long double variants in std::.
1044 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
1046 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
1048 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
1050 * testsuite/24_iterators/istream_iterator.cc
1051 (test02): New tests.
1053 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1054 Paolo Carlini <pcarlini@unitus.it>
1056 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
1057 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
1058 fix i_lit_base e_lit_base arrays, making them independent
1059 from the endianness of the platform; tweak UCS4 to UCS-4BE.
1061 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
1063 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
1064 allocate at least a byte.
1066 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
1068 * testsuite/27_io/streambuf.cc (test07): Fix.
1071 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
1073 * docs/doxygen/Intro.3: Date tweak.
1074 * docs/doxygen/TODO: Update.
1075 * docs/doxygen/doxygroups.cc: Point to tables.html.
1076 * docs/doxygen/mainpage.html: Date tweak.
1077 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
1078 * docs/doxygen/tables.html: Fill in the blanks.
1080 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
1081 * include/bits/stl_algo.h: Likewise; use expanded form.
1082 * include/bits/stl_alloc.h: Likewise.
1083 * include/bits/stl_construct.h: Likewise.
1084 * include/bits/stl_deque.h: Likewise.
1085 * include/bits/stl_iterator_base_types.h: Likewise.
1086 * include/bits/stl_list.h: Likewise.
1087 * include/bits/stl_relops.h: Likewise.
1088 * include/bits/stl_tempbuf.h: Likewise.
1089 * include/bits/stl_vector.h: Likewise.
1090 * include/std/std_memory.h: Likewise.
1092 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
1093 * include/bits/stl_list.h: Likewise.
1094 * include/bits/stl_vector.h: Likewise.
1096 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
1098 * include/c/: Guard with _CPP_.
1099 * include/c_std/: Same.
1100 * include/Makefile.am: Fixup install, link routines for null
1101 c_base_headers_extra scenarios.
1102 * include/Makefile.in: Regerate.
1104 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
1105 Richard Henderson <rth@redhat.com>
1107 * testsuite/22_locale/codecvt_members_unicode_char.cc
1108 (test01, test02): make sure that the i_lit_base array
1109 is sufficiently aligned.
1111 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
1113 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
1116 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
1118 * testsuite/22_locale/collate_byname.cc
1119 (test01): compare the result of collate::compare with
1120 that of collate::transform + string::compare, not with
1121 that of collate::transform + collate::compare; values
1122 returned by collate::compare are normalized, therefore
1125 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
1126 Jakub Jelinek <jakub@redhat.com>
1128 * config/locale/gnu/messages_members.h: Correct conditional.
1129 * config/locale/gnu/messages_members.cc: Same.
1130 * config/locale/gnu/time_members.cc: Same.
1132 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1133 Paolo Carlini <pcarlini@unitus.it>
1135 * testsuite/22_locale/codecvt_members_unicode_char.cc
1136 (test01, test02): Fix i_lit_base arrays, making them
1137 independent from the endianness of the platform.
1139 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1141 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
1142 signbit and __signbit directly.
1143 * aclocal.m4: Regenerate.
1144 * configure: Regenerate.
1145 * config.h.in: Regenerate.
1146 * libmath/Makefile.am: Simplify.
1147 * libmath/Makefile.in: Regenerate.
1148 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
1150 * include/Makefile.am: Clean up handling of extra "C" header files.
1151 Add hooks for "C" compatibility headers.
1152 * include/Makefile.in: Regenerate.
1154 * include/c/*: Formatting tweaks, cleanups.
1155 * include/c_std/*: Same.
1157 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1159 * config/locale/gnu/messages_members.h: Add __uselocale bits.
1160 * config/locale/gnu/messages_members.cc: Same.
1161 * config/locale/gnu/time_members.cc: Same.
1163 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1165 * src/vterminate.cc: Format, -fno-exceptions cleanup.
1167 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1169 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
1170 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
1171 * aclocal.m4: Regenerate.
1172 * configure: Likewise.
1174 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
1175 Ulrich Drepper <drepper@redhat.com>
1177 * src/locale-inst.cc (__convert_from_v): Add an additional
1178 __size parameter in the declarations.
1179 * include/bits/locale_facets.tcc
1180 (__convert_from_v): When available (that is,
1181 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
1182 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
1183 being defined or not, call and use __convert_from_v in the
1185 (num_put::_M_convert_int): Same here.
1186 (money_put::do_put(long double)): Same here.
1188 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
1190 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
1191 * docs/html/faq/index.txt: Regenerate.
1193 2002-03-19 Steve Ellcey <sje@cup.hp.com>
1195 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
1196 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
1197 --enable-libunwind-exceptions is set.
1198 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
1199 macro to check for libunwind.
1200 * configure: Regenerate.
1201 * src/Makefile.am (libstdc___la_LDFLAGS): Add
1202 LIBUNWIND_FLAG to libstdc link line.
1203 * src/Makefile.in: Regenerate.
1205 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
1207 * docs/html/faq/index.html: Add OS X workaround.
1208 * docs/html/17_intro/TODO: Update.
1210 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
1212 * include/bits/locale_facets.tcc
1213 (money_put::do_put(long double)): Fix dimensioning of
1214 temporary buffers to avoid risk of overruns.
1215 (money_put::do_put(string)): Same for the buffer used to
1216 add the grouping chars.
1217 * testsuite/22_locale/money_put_members_char.cc: Add test06.
1218 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
1220 * include/bits/locale_facets.tcc
1221 (collate::do_transform): Simplify.
1223 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
1225 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
1226 * configure.in: Add comments pointing the way for autoconf 2.5x.
1227 * aclocal.m4, config.h.in, configure: Regenerate.
1229 2002-03-18 Philipp Thomas <pthomas@suse.de>
1231 * include/backward/hash_map.h: hash, hashtable, hash_map and
1232 hash_multimap are in namespace __gnu_cxx.
1233 include/backward/hash_set.h: hash, hashtable, hash_set and
1234 hash_multiset are in namespace __gnu_cxx.
1235 include/backward/hashtable.h: hash and hashtable are in
1236 namespace __gnu_cxx.
1237 include/backward/rope.h: char_producer, sequence_buffer,
1238 rope, crope and wrope are in namespace __gnu_cxx.
1239 include/backward/slist.h: slist is in namespace __gnu_cxx.
1240 * testsuite/backward/header_hash_map_h.cc
1241 testsuite/backward/header_hash_set_h.cc
1242 testsuite/backward/header_hashtable_h.cc
1243 testsuite/backward/header_rope_h.cc
1244 testsuite/backward/header_slist_h.cc
1245 testsuite/backward/header_tempbuf_h.cc: New tests for
1246 checking that we're using the correct namespace.
1248 2002-03-17 Jason Merrill <jason@redhat.com>
1251 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
1252 (check_exception_spec): Call it. Take the thrown pointer.
1253 (__cxa_call_unexpected): Pass it.
1254 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
1256 2002-03-15 Anthony Green <green@redhat.com>
1258 * configure.in: Remove useless is_mingw32.
1259 * configure: Rebuilt.
1261 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
1263 * testsuite/22_locale/collate_members_char.cc
1264 (test01): compare the result of collate::compare with
1265 that of collate::transform + string::compare, not with
1266 that of collate::transform + collate::compare.
1267 (test01): values returned by collate::compare are
1268 normalized, therefore test against +-1.
1269 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
1271 2002-03-12 Loren Rittle <ljrittle@acm.org>
1273 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1274 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
1276 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
1277 Per Liboriussen <liborius@stofanet.dk>
1279 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
1281 * config/os/gnu-linux/bits/ctype_inline.h: Same.
1283 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
1285 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
1286 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1288 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
1289 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1291 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
1292 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1294 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
1296 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
1298 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
1299 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
1300 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
1301 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
1302 that memory limits are in place.
1303 (test03): Add tests.
1305 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
1307 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
1308 * aclocal.m4: Regenerate.
1309 * config.h.in: Regenerate.
1310 * configure: Regenerate.
1311 * include/c_std/std_cwctype.h: Guard.
1313 2002-03-11 Chris Demetriou <cgd@broadcom.com>
1315 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
1316 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
1317 * aclocal.m4: Regenerate.
1318 * configure: Regenerate.
1320 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
1322 * include/bits/stl_bvector.h: Fix warning.
1324 2002-03-11 Richard Henderson <rth@redhat.com>
1326 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
1328 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
1330 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
1331 New function. Build the list of tests to run in testsuite_files.
1332 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
1334 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
1336 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
1337 platforms with no weak support.
1338 * testsuite/27_io/ios_init.cc: Likewise.
1340 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
1342 * include/bits/locale_facets.tcc (time_put::do_put):
1343 Consider sizeof(char_type) in allocating the buffer.
1345 * include/bits/locale_facets.tcc (collate::do_tranform):
1346 Remove redundant variable.
1348 2002-03-10 Ulrich Drepper <drepper@redhat.com>
1349 Paolo Carlini <pcarlini@unitus.it>
1351 * config/locale/generic/collate_members.cc
1352 (collate<char,wchar_t>::_M_compare_helper): normalize
1353 values returned by strcoll and wcscoll.
1354 * config/locale/gnu/collate_members.cc
1355 (collate<char,wchar_t>::_M_compare_helper): ditto
1356 for __strcoll_l and __wcscoll_l.
1358 2002-03-10 Anthony Green <green@redhat.com>
1360 * configure.in: Support cross builds to mingw32 target.
1361 * configure: Rebuilt.
1363 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
1365 * include/bits/locale_facets.tcc (collate::do_transform):
1366 Rewrite to fix problems with long transformed strings.
1368 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
1370 * c_locale_generic.cc: Move to...
1371 * generic/c_locale.cc
1372 * c_locale_generic.h: Move to...
1373 * generic/c_locale.h
1374 * codecvt_specializations_generic.h: Move to...
1375 * generic/codecvt_specializations.h
1376 * collate_members_generic.cc: Move to...
1377 * generic/collate_members.cc
1378 * ctype_members_generic.cc: Move to...
1379 * generic/ctype_members.cc
1380 * messages_members_generic.cc: Move to...
1381 * generic/messages_members.cc
1382 * messages_members_generic.h: Move to...
1383 * generic/messages_members.h
1384 * moneypunct_members_generic.cc: Move to...
1385 * generic/monetary_members.cc
1386 * numpunct_members_generic.cc: Move to...
1387 * generic/numeric_members.cc
1388 * time_members_generic.cc: Move to...
1389 * generic/time_members.cc
1390 * c_locale_gnu.cc: Move to...
1392 * c_locale_gnu.h: Move to...
1394 * collate_members_gnu.cc: Move to...
1395 * gnu/collate_members.cc
1396 * ctype_members_gnu.cc: Move to...
1397 * gnu/ctype_members.cc
1398 * messages_members_gnu.cc: Move to...
1399 * gnu/messages_members.cc
1400 * messages_members_gnu.h: Move to...
1401 * gnu/messages_members.h
1402 * moneypunct_members_gnu.cc: Move to...
1403 * gnu/monetary_members.cc
1404 * numpunct_members_gnu.cc: Move to...
1405 * gnu/numeric_members.cc
1406 * time_members_gnu.cc: Move to...
1407 * gnu/time_members.cc
1408 * c_locale_ieee_1003.1-200x.cc: Move to...
1409 * ieee_1003.1-2001/c_locale.cc
1410 * c_locale_ieee_1003.1-200x.h: Move to...
1411 * ieee_1003.1-2001/c_locale.h
1412 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
1413 * ieee_1003.1-2001/codecvt_specializations.h
1414 * messages_members_ieee_1003.1-200x.cc: Move to...
1415 * ieee_1003.1-2001/messages_members.cc
1416 * messages_members_ieee_1003.1-200x.h: Move to...
1417 * ieee_1003.1-2001/messages_members.h
1419 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
1420 * aclocal.m4: Regenerate.
1421 * configure: Regenerate.
1422 * src/Makefile.am (sources): Change to monetary and numeric.
1423 * src/Makefile.in: Regenerate.
1424 * docs/html/configopts.html: Update to ieee_1003.1-2001.
1426 2002-03-08 scott snyder <snyder@fnal.gov>
1429 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1430 Allow one more digit of precision.
1431 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
1432 write a double and read back in the same value.
1434 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
1436 * include/std/std_limits.h: Move static const data members out of
1437 generic template, into base class __numeric_limits_base.
1438 * src/limits.cc: Add definitions.
1439 * config/linker-map.gnu: Add __numeric_limits_base.
1440 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
1442 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
1444 * include/bits/stl_alloc.h: Add extern implicit allocator
1446 * include/bits/basic_string.tcc: Tweak.
1447 * include/bits/locale_facets.tcc: Remove default args. Add
1448 has_facet, use_facet extern instantiations.
1449 * src/stl-inst.cc: Add explicit instantiation.
1450 * src/locale-inst.cc: Clean. Remove locale member template
1453 * testsuite/22_locale/operators.cc (test02): Enable.
1455 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
1456 Stephen M. Webb <stephen.webb@bregmasoft.com>
1458 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
1459 (_S_rb_tree_black): Make enum.
1461 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
1462 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
1463 (__stl_threshold): _M_threshold, enum.
1464 * src/stl-inst.cc: Same.
1465 * config/linker-map.gnu: Remove.
1467 * testsuite/23_containers/vector_bool.cc: New.
1469 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
1471 * docs/doxygen/user.cfg.in: Also document deprecated entries.
1472 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
1473 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
1474 referring to the collection as a whole. New section on which macros
1475 can be redefined by the user.
1476 * docs/html/19_diagnostics/howto.html: Update note for concepts.
1477 * docs/html/20_util/howto.html: Update link to SGI.
1478 * docs/html/faq/index.html: Update snapshot versions. New entry
1479 on why g++ (but not gcc) must currently predefine certain macros.
1480 * docs/html/faq/index.txt: Regenerated.
1482 * include/bits/basic_string.h (basic_string::_S_construct): Fix
1483 names in declaration.
1484 (basic_string::compare): These are no longer optional.
1485 * include/bits/ostream.tcc: Tweak closing brace placement.
1486 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
1487 * include/std/std_sstream.h: Fix typo in comment.
1488 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
1489 * src/locale.cc: Likewise.
1491 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
1494 * include/bits/stl_vector.h (vector::push_back()): Guard with
1495 _GLIBCPP_DEPRECATED.
1497 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
1499 * include/bits/c++config: Fix misplaced leading blanks on first line.
1501 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
1503 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
1504 * README (libmath): Make clear.
1506 2002-03-05 Jakub Jelinek <jakub@redhat.com>
1508 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
1509 script globbing in ld.
1510 * aclocal.m4: Rebuilt.
1511 * configure: Rebuilt.
1513 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
1515 * docs/html/17_intro/RELEASE-NOTES: Update.
1516 * README: Format subdirectories.
1518 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
1521 * include/bits/locale_facets.tcc
1522 (num_get::_M_extract_float): Fix the parsing of __dec, since
1523 the standard prescribes that if no grouping characters are
1524 seen, no grouping check is applied.
1525 * testsuite/22_locale/num_get_members_char.cc: Add test05
1526 distilled from the PR.
1527 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
1529 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
1531 * docs/html/17_intro/porting-howto.xml: Refer to
1532 http://www.oasis-open.org for docbookx.dtd.
1533 * docs/html/17_intro/porting-howto.html: Regenerated.
1535 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
1538 * include/std/std_sstream.h: Remove trailing spaces.
1539 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
1540 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
1542 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
1544 * testsuite/22_locale/num_get_members_char.cc (test04):
1545 Use a named locale expecting grouping (de_DE).
1546 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
1548 * testsuite/27_io/ios_manip_basefield.cc (test01):
1549 Extend coverage, uniform treatment of hexs and octs.
1551 2002-02-28 Richard Henderson <rth@redhat.com>
1553 * config/linker-map.gnu: Export operator new with unsigned long,
1554 and with std::nothrow_t. Likewise operator delete.
1556 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
1558 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
1559 Admit grouping for octals and hexadecimals too.
1560 * testsuite/22_locale/num_get_members_char.cc: Add test04.
1561 (test01): Tweak "." -> "," in void* test.
1562 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
1564 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
1565 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
1567 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
1569 * testsuite/27_io/ios_manip_basefield.cc (test01):
1570 Fix for 64 bit machines.
1572 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
1575 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
1577 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
1578 (basic_ios::_M_fill_init): New.
1579 (basic_ios::fill()): Delay dealing with _M_fill.
1581 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
1582 (ios_base::_M_call_callbacks): Adjust.
1583 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
1585 2002-02-26 Loren Rittle <ljrittle@acm.org>
1587 * include/Makefile.am (thread_target_headers): Unconditionally
1588 stage and install gthr-posix.h.
1589 (${target_builddir}/gthr-posix.h): New rule cloned off
1590 ${target_builddir}/gthr-default.h.
1591 (${target_builddir}/gthr-default.h): Support chained inclusion
1592 of gthr support headers.
1593 * include/Makefile.in: Rebuilt.
1595 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
1597 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
1598 Group all the integral types, not only decs.
1599 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
1600 tests, add a few more.
1602 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
1604 * src/ios.cc (ios_base::~ios_base): Tweak.
1605 (ios_base::_M_call_callbacks): Deal with null __p.
1606 (ios_base::ios_base): Set _M_callbacks.
1607 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
1608 * testsuite/27_io/ios_init.cc (test02): Fix.
1610 * mkcheck.in (static_fail): Failed links go to output file.
1612 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
1614 * docs/html/faq/index.html: Update.
1615 * docs/html/faq/index.txt: Regenerate.
1617 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
1619 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
1620 * aclocal.m4: Regenerate.
1621 * docs/html/configopts.html: Document --enable-symvers.
1622 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
1624 2002-02-22 Philipp Thomas <pthomas@suse.de>
1626 * include/backward/tempbuf.h: get_temporary_buffer and
1627 return_temporary_buffer are in namespace std, not in __gnu_cxx.
1629 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
1631 * configure.in (target_alias): Default to yes.
1632 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
1633 libgcc to default case.
1635 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
1637 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
1638 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
1639 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
1640 * aclocal.m4: Regenerate.
1641 * configure: Regenerate.
1642 * config/linker-map.dummy: New file. Contains nothing useful.
1644 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
1646 * testsuite/22_locale/money_put_members_char.cc: Fix.
1647 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
1649 * testsuite/27_io/standard_manipulators.cc: New file.
1651 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
1652 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
1654 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
1656 * config/os/mingw32/bits/ctype_noninline.h
1657 (ctype<char>::ctype): Remove default args from parm list.
1658 * config/os/djgpp/bits/ctype_noninline.h: Same.
1660 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
1662 * include/std/std_iomanip.h: Inline, tweaks.
1663 * config/linker-map.gnu: Remove hacks.
1665 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
1666 * testsuite/27_io/ios_init.cc: Same.
1667 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
1668 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
1670 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
1672 * config/linker-map.gnu: Export global vtable, typeinfo, guard
1673 variable, and thunk info as per CXXABI docs.
1675 2002-02-19 Loren Rittle <ljrittle@acm.org>
1677 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
1678 * include/Makefile.in: Rebuilt.
1680 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1682 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
1683 with size3 for the string collations of str5.
1685 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
1688 * include/bits/locale_facets.tcc (money_put::do_put):
1689 For the space field use __fill instead of ' ', uniformly.
1690 * testsuite/22_locale/money_put_members_char.cc:
1691 Add test05 distilled from PR.
1692 (test01-02-03): Trim some '*' to ' '.
1693 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
1695 2002-02-18 Loren Rittle <ljrittle@acm.org>
1698 * include/Makefile.am (thread_builddir): Remove (map all
1699 existing uses to target_builddir).
1700 (thread_headers): Rename to...
1701 (thread_target_headers): ...this.
1702 (stamp-thread): Remove.
1703 (stamp-target): Correctly state the position as built.
1704 Update all dependencies to match the new reality. Remove all
1705 dependency calculations on directories.
1706 * include/Makefile.in: Rebuilt.
1708 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
1710 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
1711 * include/bits/fstream.tcc: Same.
1712 * include/bits/sstream.tcc: Same.
1713 * include/bits/ostream.tcc: Same.
1714 * include/bits/istream.tcc: Same.
1715 * include/bits/streambuf.tcc: Same.
1716 * include/bits/basic_ios.tcc: Same.
1717 * include/bits/basic_string.tcc: Same.
1719 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
1721 * include/std/std_iosfwd.h: Don't guard typedefs with
1722 _GLIBCPP_USE_WCHAR_T
1723 * include/bits/stringfwd.h: Same.
1725 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
1727 * src/locale.cc (moneypunct_byname): Remove definitions.
1728 * include/std/std_streambuf.h (streambuf::operator=): Return.
1730 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
1733 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
1734 explicit instantiation.
1735 (string::_Rep::_S_max_size): Same.
1736 * include/bits/basic_string.tcc: Add extern explicit
1737 instantiations for string, wstring.
1738 * include/bits/basic_ios.tcc: Add extern explicit instantiations
1740 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
1741 * include/bits/istream.tcc: Same, for istream, wistream.
1742 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
1744 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
1745 istringstream, wistringstream, ostringstream, wostringstream,
1746 stringstream, wstringstream.
1747 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
1748 wifstream, ofstream, wofstream, fstream, wfstream.
1749 * src/misc-inst.cc: Correct comments.
1750 Add iomanip instantiations for wide streams.
1751 * include/std/std_iomanip.h: Same.
1752 * include/bits/locale_facets.tcc: Same.
1754 * include/std/std_streambuf.h: Correct
1755 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
1756 * include/std/std_sstream.h: Same.
1757 * include/std/std_ostream.h: Same.
1758 * include/std/std_istream.h: Same.
1759 * include/std/std_fstream.h: Same.
1761 * include/std/std_streambuf.h: Add definitions for private copy
1762 ctor and assignment operator.
1763 * include/std/std_istream.h: Remove declared but undefined copy
1764 ctor and assignment operator. This is taken care of in ios_base,
1765 so adding it in the derived class as well is superfluous.
1766 * include/std/std_ostream.h: Same.
1768 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
1769 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
1771 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
1773 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
1774 Add typeinfo bits. Smooth.
1775 * aclocal.m4: Regenerate.
1777 * src/Makefile.in: Same.
1779 2001-02-14 Joel Sherrill <joel@OARcorp.com>
1781 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
1782 which do not have a CAS instruction.
1784 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
1786 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
1787 * configure.in: Call it.
1788 * config/linker-map.gnu: New file, initial incomplete revision.
1789 * src/Makefile.am: Optionally pass version script to the linker.
1790 * aclocal.m4: Regenerate.
1791 * configure: Regenerate.
1792 * src/Makefile.in: Regenerate.
1794 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
1796 * src/localename.cc: Remove stdexcept include.
1797 * src/locale-inst.cc: Same.
1798 * src/locale.cc: Same.
1799 * src/functexcept.cc: Remove string includes.
1800 * include/std/std_bitset.h: Remove stdexcept include.
1801 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
1802 * testsuite/23_containers/bitset_ctor.cc: Same.
1804 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
1806 * include/bits/stl_algo (__stl_threshold): Declare external.
1807 (__stl_chunk_size): Same.
1808 * include/bits/stl_bvector.h (__WORD_BIT): Same.
1809 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
1810 (_S_rb_tree_black): Same.
1811 * src/stl-inst.cc (__stl_threshold): Define.
1812 (__stl_chunk_size): Same.
1814 (_S_rb_tree_red): Same.
1815 (_S_rb_tree_black): Same.
1817 * config/io/basic_file_libio.h (__basic_file): Add declarations.
1818 * include/bits/basic_file.h: Remove.
1819 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
1820 Declare generic types, specialization.
1821 * config/io/basic_file_stdio.cc: Definitions.
1822 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
1823 Declare generic types.
1824 * include/Makefile.am (bits_headers): Remove basic_file.h.
1825 (extra_target_headers): Change basic_file_model.h to basic_file.h.
1826 (stamp-target): Same.
1828 * include/bits/stl_alloc.h: Tweaks.
1829 * include/bits/localefwd.h: Same.
1831 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
1833 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
1834 * testsuite/22_locale/collate_members_char.cc (test03): New test.
1835 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
1837 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
1839 * include/bits/stl_algo.h (transform (both signatures), generate_n):
1840 Use __typeof__ in concept checks.
1842 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
1844 * include/bits/stl_algo.h (__median, for_each, find, find_if,
1845 adjacent_find, count, count_if, search, search_n, swap_ranges,
1846 transform, replace, replace_if, replace_copy, replace_copy_if,
1847 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
1848 unique, unique_copy, reverse, reverse_copy): Doxygenate.
1850 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
1852 * include/bits/locale_facets.h
1853 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
1854 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
1855 (__timepunct<_CharT>::_M_put_helper): Same.
1856 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
1858 * include/bits/fstream.tcc (filebuf::underflow): Remove
1859 __codecvt_type typedef.
1860 (filebuf::_M_convert_to_external): Same.
1862 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
1864 * docs/doxygen/TODO: Update.
1865 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
1866 * docs/doxygen/mainpage.html: Add TODO list link.
1867 * docs/doxygen/user.cfg.in: Add @doctodo hook.
1868 * docs/doxygen/tables.html: New file, emoty structure only.
1870 * include/bits/stl_iterator.h: Doxygenate just about everything.
1871 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
1872 * include/bits/stl_iterator_base_types.h: Add notes.
1874 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
1876 * include/bits/stl_map.h: Tweak doxygen markup.
1877 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
1878 * include/bits/stl_vector.h: Likewise.
1880 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
1884 * include/std/std_fstream.h (filebuf::__file_type): Change to
1886 (filebuf::_M_convert_to_external): Declare.
1887 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
1888 codecvt bits for wide streams.
1889 (filebuf::_M_really_overflow): Use it.
1890 (filebuf::underflow): Use codecvt.
1891 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
1892 (codecvt<__enc_traits>::do_out): Deal with partial.
1893 (codecvt<__enc_traits>::do_encoding): Return something useful.
1894 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
1896 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
1897 Change expected encoding output.
1899 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
1902 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
1903 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
1905 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
1906 (basic_ios::widen): Same.
1908 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
1910 * testsuite/22_locale/money_get_members_char.cc:
1911 Add comment, tidy up.
1912 (test01): more "en_HK" tests (without showbase).
1913 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
1915 2002-02-06 Loren Rittle <ljrittle@acm.org>
1917 * config/locale/c_locale_generic.cc: Do not trust
1918 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
1921 2002-02-06 Loren Rittle <ljrittle@acm.org>
1923 * acinclude.m4: Add C++ linkage check for strtof.
1924 * aclocal.m4: Rebuilt.
1925 * config.h.in: Rebuilt.
1926 * configure: Rebuilt.
1927 * config/locale/c_locale_generic.cc: Conditionally include
1928 <ieeefp.h>. Improve handling and error checking of float
1929 and long double input for non-C99 configurations.
1931 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
1933 * include/bits/locale_facets.tcc (money_get::do_get(string)):
1934 In case money_base::symbol deal properly with multi-char sign
1935 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
1936 * testsuite/22_locale/money_get_members_char.cc: Add test07.
1937 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
1939 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
1941 * include/bits/locale_facets.tcc (money_get::do_get(string)):
1942 First construct a tentative returned string, then, only if the
1943 parsing succeeds, copy it into the string passed by reference.
1944 * testsuite/22_locale/money_get_members_char.cc: Add test06.
1945 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
1947 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
1949 * docs/doxygen/TODO: Impl-defined behavior now documented...
1950 * docs/html/17_intro/howto.html: ...here.
1951 * docs/doxygen/mainpage.doxy: Remove, rename...
1952 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
1953 * docs/doxygen/style.css: Add small text.
1954 * docs/doxygen/run_doxygen: Adjust for new mainpage.
1955 * docs/doxygen/user.cfg.in: Likewise.
1957 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
1959 * include/bits/stl_map.h: Initial doxygen markup.
1960 * include/std/std_fstream.h: Initial doxygen markup.
1962 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
1965 * include/bits/locale_facets.tcc (money_get::do_get(string)):
1966 Deal correctly with !(__io.flags() & ios_base::showbase)
1967 for case money_base::symbol.
1968 * testsuite/22_locale/money_get_members_char.cc: Add test05.
1969 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
1971 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
1973 * testsuite/22_locale/operators.cc
1974 (gnu_collate::do_compare()): Add return statement to
1975 suppress "no return statement" warning.
1977 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
1979 * testsuite/27_io/ostream_manip.cc: Enable test02.
1981 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
1983 * docs/html/documentation.html: Update for 3.0.96.
1984 * docs/html/faq/index.html: Update for 3.0.96.
1985 * docs/html/faq/index.txt: Regenerated.
1986 * docs/doxygen/TODO: Update notes.
1987 * docs/html/17_intro/howto.html: Initial impl-specific listing.
1989 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
1991 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
1992 Initialize all data members in copy ctor. Make ctors explicit.
1993 (__enc_traits::__enc_traits()): Default ctor does nothing.
1994 (__enc_traits::_M_init): Guard against multiple iconv_opens.
1995 * include/std/std_sstream.h (basic_stringbuf): Make data members
1997 * include/std/std_fstream.h (basic_filebuf): Same.
1998 * include/std/std_streambuf.h: Tweak.
1999 * include/bits/streambuf.tcc: Same.
2000 * include/bits/sstream.tcc: Same.
2001 * include/bits/fstream.tcc: Same.
2003 2002-01-31 Loren Rittle <ljrittle@acm.org>
2005 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
2006 allow NULL argument to be passed to setenv().
2007 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
2008 * testsuite/22_locale/collate_members_char.cc: Likewise.
2009 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
2010 * testsuite/22_locale/ctype_members_char.cc: Likewise.
2011 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
2012 * testsuite/22_locale/messages_members_char.cc: Likewise.
2013 * testsuite/22_locale/money_get_members_char.cc: Likewise.
2014 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
2015 * testsuite/22_locale/money_put_members_char.cc: Likewise.
2016 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2017 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
2018 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
2019 * testsuite/22_locale/num_get_members_char.cc: Likewise.
2020 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
2021 * testsuite/22_locale/num_put_members_char.cc: Likewise.
2022 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
2023 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
2024 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
2025 * testsuite/22_locale/time_get_members_char.cc: Likewise.
2026 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
2027 * testsuite/22_locale/time_put_members_char.cc: Likewise.
2028 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
2030 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
2032 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
2034 * ChangeLog-2001: Fix spelling errors...
2035 * docs/html/17_intro/RELEASE-NOTES: Update.
2036 * docs/html/17_intro/TODO: Update.
2037 * README (file): Update.
2039 2002-01-30 Loren Rittle <ljrittle@acm.org>
2041 * config/locale/c_locale_generic.cc: Check errno for ERANGE
2042 instead of non-zero to aid portability.
2044 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2046 * docs/html/22_locale/messages.html: Fix example code.
2048 2002-01-30 Richard Henderson <rth@redhat.com>
2050 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
2051 out from test03 and templatize.
2054 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
2056 * config/locale/numpunct_members_gnu.cc
2057 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
2058 Fix initialization of _M_grouping for locales which have
2059 _M_thousands_sep == '\0'(L'\0', respectively).
2060 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
2062 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
2064 * testsuite/27_io/ostream_inserter_arith.cc (test03):
2065 Better fix for 32/64 bit architectures, avoiding the
2066 implicit assumption that CHAR_BIT == 8.
2068 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
2070 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
2071 * Makefile.in: Regenerate.
2073 * docs/doxygen/run_doxygen: Update, mostly for man pages.
2074 * docs/doxygen/Intro.3: Update.
2075 * docs/doxygen/TODO: Update.
2076 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
2077 * docs/doxygen/mainpage.doxy: Update.
2078 * docs/doxygen/user.cfg.in: Update for header rename. Also
2079 regenerate comments and variables with 1.2.12.
2080 * docs/doxygen/maint.cfg.in: Remove file.
2082 * include/bits/stl_relops.h: Doxygenate.
2083 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
2085 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
2086 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
2087 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
2088 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
2089 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
2090 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
2091 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
2092 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
2093 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
2094 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
2095 include/ext/hash_set, include/ext/iterator, include/ext/memory,
2096 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
2097 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
2098 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
2099 include/std/std_algorithm.h, include/std/std_bitset.h,
2100 include/std/std_complex.h, include/std/std_deque.h,
2101 include/std/std_fstream.h, include/std/std_functional.h,
2102 include/std/std_iomanip.h, include/std/std_ios.h,
2103 include/std/std_iosfwd.h, include/std/std_iostream.h,
2104 include/std/std_istream.h, include/std/std_iterator.h,
2105 include/std/std_limits.h, include/std/std_list.h,
2106 include/std/std_locale.h, include/std/std_map.h,
2107 include/std/std_memory.h, include/std/std_numeric.h,
2108 include/std/std_ostream.h, include/std/std_queue.h,
2109 include/std/std_set.h, include/std/std_sstream.h,
2110 include/std/std_stack.h, include/std/std_stdexcept.h,
2111 include/std/std_streambuf.h, include/std/std_string.h,
2112 include/std/std_utility.h, include/std/std_valarray.h,
2113 include/std/std_vector.h: Add/correct @file doxygen hook.
2115 * include/ext/memory: Doxygenate most of rest of file.
2116 * libsupc++/exception: Doxygen output formatting.
2117 * libsupc++/new: Say which header it is.
2119 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
2120 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
2121 * docs/html/23_containers/howto.html: Describe O(n) list::size().
2122 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
2124 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
2125 Charles Leggett <CGLeggett@lbl.gov>
2127 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
2129 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
2131 * testsuite/27_io/ostream_inserter_arith.cc (test03):
2132 Fix to deal correctly with both 32 bit and 64 bit architectures
2134 2002-01-25 Loren Rittle <ljrittle@acm.org>
2136 * testsuite/thread/pthread1.cc: Use one condition variable
2137 per predicate instead of tricky use of one condition variable.
2139 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
2141 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
2143 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
2144 * testsuite/27_io/filebuf.cc: Compile only.
2145 * testsuite/27_io/filebuf_members.cc: Move tests to here.
2146 * testsuite/27_io/filebuf_virtuals.cc: And here.
2147 Revert sungetc, sync changes for expected values.
2148 * testsuite/27_io/filebuf-*: Move to...
2149 * testsuite/27_io/filebuf_virtuals-*: ...here.
2150 * testsuite/27_io/istream.cc: Compile only, activate.
2151 * testsuite/27_io/ostream.cc: Same.
2152 * testsuite/27_io/iostream.cc: New.
2153 * testsuite/27_io/iostream_members.cc: New.
2155 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
2157 * testsuite/thread/pthread1.cc: Enable on cygwin.
2158 * testsuite/thread/pthread2.cc: Likewise.
2159 * testsuite/thread/pthread3.cc: Likewise.
2160 * testsuite/thread/pthread4.cc: Likewise.
2161 * testsuite/thread/pthread5.cc: Likewise.
2162 * testsuite/thread/pthread6.cc: Likewise.
2164 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
2166 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
2168 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
2170 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
2172 (basic_ios::fill(char_type)): Use fill().
2173 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
2174 (basic_ios::narrow): Same.
2175 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
2176 if they are invalid.
2177 (basic_ios::init): Comment.
2178 * testsuite/27_io/ios_init.cc (test02): New.
2180 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
2182 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
2183 * include/bits/stl_algo.h: Include stl_tempbuf.h.
2184 * include/ext/memory: Do not include stl_tempbuf.h.
2185 (temporary_buffer): Add doxygen hook.
2186 (__get_temporary_buffer, get_temporary_buffer,
2187 return_temporary_buffer): Move back to std:: header...
2188 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
2189 * include/ext/rope: Do not include stl_tempbuf.h.
2190 * include/ext/stl_hashtable.h: Likewise.
2191 * include/std/std_algorithm.h: Likewise.
2192 * testsuite/20_util/temporary_buffer.cc: New file.
2194 2002-01-24 andrew@andypo.net
2195 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
2198 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
2199 * include/bits/localefwd.h: Likewise.
2200 Also use for std::locale::id::_S_highwater.
2201 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
2202 * src/locale.cc: Support new usage of _Atomic_word.
2203 (std::locale::classic): Guard entire function against reentry.
2204 * src/localename.cc: Support new usage of _Atomic_word.
2206 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
2208 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
2209 _GLIBCPP_HAVE_SETENV.
2210 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
2211 * testsuite/22_locale/collate_members_char.cc (test02): Same.
2212 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
2213 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
2214 * testsuite/22_locale/messages_members_char.cc (test02): Same.
2215 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
2216 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
2217 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
2218 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
2219 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
2220 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
2221 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
2222 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
2223 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
2224 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
2225 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
2226 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
2227 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
2228 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
2229 * aclocal.m4: Regenerate.
2230 * configure: Regenerate.
2231 * config.h.in: Regenerate.
2233 2002-01-23 Loren Rittle <ljrittle@acm.org>
2235 * testsuite/thread/pthread1.cc: New test.
2236 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
2237 * testsuite/thread/pthread3.cc: Likewise.
2238 * testsuite/thread/pthread4.cc: New test adapted from
2239 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
2240 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
2241 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
2243 2002-01-23 Richard Henderson <rth@redhat.com>
2246 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
2247 CAS on the cpu variants that support it. Add versions that use
2248 TAS and that disable interrupts.
2249 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
2251 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
2253 * include/bits/locale_facets.tcc: Remove old comments.
2255 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
2257 * include/bits/locale_facets.tcc (__convert_to_v): Change template
2259 (__convert_from_v): Same.
2261 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
2263 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
2265 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
2266 __max_digits checks, adjust arguments.
2267 (num_get::do_get(*)): Changeup.
2269 2002-01-23 Loren Rittle <ljrittle@acm.org>
2271 * config/locale/c_locale_generic.cc: Fix typename usage.
2273 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2275 * config/locale/c_locale_generic.cc: Fix.
2277 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2279 * docs/html/22_locale/messages.html: Remove angle brackets.
2280 * docs/html/17_intro/TODO: Add.
2282 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
2284 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
2285 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
2286 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
2287 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
2289 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2291 Audit for LANG independence.
2292 * include/bits/localefwd.h: Tweaks.
2293 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
2295 (time_get::do_get_year): Same.
2296 (__convert_from_v): Add.
2297 (num_put::_M_convert_float): Use.
2298 (num_put::_M_convert_int): Same.
2299 (money_put::do_put): Same.
2301 * src/locale-inst.cc: Add instantiations for __convert_from_v.
2302 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
2303 * config/locale/time_members_generic.cc:
2304 * config/locale/messages_members_gnu.cc: Same.
2305 * config/locale/messages_members_gnu.h: Same.
2307 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
2308 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
2309 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
2310 * testsuite/22_locale/collate_members_char.cc (test02): New.
2311 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
2312 * testsuite/22_locale/ctype_members_char.cc (test03): New.
2313 * testsuite/22_locale/messages_members_char.cc (test02): New.
2314 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
2315 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
2316 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
2317 * testsuite/22_locale/money_get_members_char.cc (test04): New.
2318 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
2319 * testsuite/22_locale/money_put_members_char.cc (test04): New.
2320 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
2321 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
2322 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
2323 * testsuite/22_locale/time_put_members_char.cc (test03): New.
2324 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
2325 * testsuite/22_locale/time_get_members_char.cc (test07): New.
2326 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
2327 * testsuite/22_locale/num_get_members_char.cc (test03): New.
2328 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
2329 * testsuite/22_locale/num_put_members_char.cc (test03): New.
2331 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
2333 * testsuite/22_locale/time_get_members_char.cc: Same.
2335 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2338 * include/bits/localefwd.h: Tweak comments.
2339 * include/bits/locale_facets.h (__convert_to_v): Add.
2340 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
2341 (num_get::do_get(float)): Same.
2342 (num_get::do_get(long double)): Same.
2343 (num_get::do_get(bool)): Same.
2344 (num_get::do_get(long)): Same.
2345 (num_get::do_get(long long)): Same.
2346 (num_get::do_get(unsigned int)): Same.
2347 (num_get::do_get(unsigned short)): Same.
2348 (num_get::do_get(unsigned long)): Same.
2349 (num_get::do_get(unsigned long long)): Same.
2350 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
2351 * config/locale/c_locale_generic.cc: Same.
2353 2002-01-22 Loren Rittle <ljrittle@acm.org>
2355 * include/Makefile.am (c_base_builddir): Remove redundant slash.
2356 (std_builddir): Likewise.
2357 (std_headers_rename): Fix cut-n-paste typo.
2358 (install-data-local): Concat path per element instead of once to
2359 first element of list.
2360 * include/Makefile.in: Rebuilt.
2362 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
2364 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
2365 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
2366 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
2368 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
2370 * include/bits/locale_facets.h (ctype<char>::classic_table):
2372 (ctype<char>::_S_ctable): Remove.
2373 * config/os/gnu-linux/bits/ctype_noninline.h
2374 (ctype<char>::_S_table): Remove definition.
2375 (ctype<char>::classic_table): Define.
2376 (ctype<char>::ctype): Replace _S_ctable with classic_table().
2377 * config/os/aix/bits/ctype_noninline.h: Same.
2378 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
2379 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
2380 * config/os/djgpp/bits/ctype_noninline.h: Same.
2381 * config/os/generic/bits/ctype_noninline.h: Same.
2382 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
2383 * config/os/hpux/bits/ctype_noninline.h: Same.
2384 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
2385 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
2386 * config/os/mingw32/bits/ctype_noninline.h: Same.
2387 * config/os/newlib/bits/ctype_noninline.h: Same.
2388 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2389 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2390 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2392 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
2394 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
2395 of _pctype. Use to define _S_ctable. Add definition for alternate
2396 ctor. Initialise _M_ctable to _S_ctable in ctors.
2397 (do_toupper, do_tolower): Use inline code appropriate for C-locale
2398 rather than ::toupper, ::tolower.
2400 2002-01-18 Loren Rittle <ljrittle@acm.org>
2402 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
2403 Add specialization for FreeBSD systems only to avoid losing test
2404 only due to extra precision unmentioned in system headers.
2406 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
2408 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
2410 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
2412 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
2413 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
2415 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2417 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
2419 2002-01-17 David Edelsohn <edelsohn@gnu.org>
2421 * configure.target: Define OPT_LDFLAGS for AIX case.
2423 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2425 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
2426 __glibcpp_double_has_quiet_NaN): Correct mispelling.
2428 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
2430 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
2432 2002-01-16 David Edelsohn <dje@watson.ibm.com>
2434 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
2435 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
2436 * aclocal.m4: Regenerate.
2437 * configure: Regenerate.
2439 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
2441 * include/Makefile.am (c_base_headers_rename): New.
2442 (c_base_headers_extra): New.
2443 (stamp-c_base): Modify.
2444 (install-data-local): Use both.
2445 * include/Makefile.in: Regenerate.
2446 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
2447 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
2448 cstdio ctime cwctype]: Move to..
2449 * include/c/std_*: Here.
2450 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
2451 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
2452 cstdio ctime cwctype]: Move to..
2453 * include/c_std/std_*: Here.
2455 Alexandre Oliva <aoliva@redhat.com>
2456 * include/Makefile.am (.PRECIOUS): Add rule.
2457 * include/Makefile.in: Regenerate.
2459 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
2460 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2462 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
2463 Deuglify, should be current.
2464 (back_insert_iterator::_M_container): Deuglify, should be container.
2465 (front_insert_iterator::_M_container): Same.
2466 (insert_iterator::_M_container): Same.
2467 * testsuite/24_iterators/reverse_iterator.cc: Add check.
2468 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
2469 * testsuite/24_iterators/front_insert_iterator.cc: Same.
2470 * testsuite/24_iterators/insert_iterator.cc: Same.
2472 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
2474 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
2476 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
2477 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
2478 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2479 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2480 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2481 * config/os/newlib/bits/ctype_noninline.h: Same.
2482 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
2483 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
2484 * config/os/hpux/bits/ctype_noninline.h: Same.
2485 * config/os/djgpp/bits/ctype_noninline.h: Same.
2486 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
2487 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
2488 * config/os/aix/bits/ctype_noninline.h: Same.
2490 Testcase by Dietmar Kühl via Peter Schmid
2491 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
2494 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
2496 * libmath/signbitl.c: Copyright years as list, not range.
2497 * libmath/Makefile.am: Same.
2498 * libmath/Makefie.in: Regenerate.
2499 * libmath/signbit.c: Same.
2500 * libmath/nan.c: Same.
2501 * libmath/copysignf.c: Same.
2502 * libmath/signbitf.c: Same.
2503 * testsuite/22_locale/money_get_members_char.cc: Same.
2504 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
2505 * testsuite/22_locale/money_put_members_char.cc: Same.
2506 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
2507 * testsuite/22_locale/time_get_members_char.cc: Same.
2508 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
2509 * testsuite/22_locale/time_put_members_char.cc: Same.
2510 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
2511 * testsuite/21_strings/nonmember.cc: Same.
2512 * testsuite/21_strings/compare.cc: Same.
2513 * testsuite/27_io/stringstream.cc: Same.
2514 * testsuite/27_io/stringbuf.cc: Same.
2515 * testsuite/27_io/filebuf.cc: Same.
2516 * testsuite/27_io/ios_manip_basefield.cc: Same.
2517 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
2518 * include/bits/cpp_type_traits.h: Same.
2519 * include/bits/generic_shadow.h: Same.
2520 * include/bits/gslice_array.h: Same.
2521 * include/bits/gslice.h: Same.
2522 * include/bits/indirect_array.h: Same.
2523 * include/bits/slice_array.h: Same.
2524 * include/bits/sstream.tcc: Same.
2525 * include/bits/streambuf_iterator.h: Same.
2526 * include/bits/valarray_array.tcc: Same.
2527 * include/bits/valarray_meta.h: Same.
2528 * include/bits/valarray_array.h: Same.
2529 * config/os/mingw32/bits/ctype_noninline.h: Same.
2530 * config/os/mingw32/bits/ctype_base.h: Same.
2531 * config/os/hpux/bits/ctype_noninline.h: Same.
2532 * config/os/hpux/bits/ctype_base.h: Same.
2533 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
2534 * config/os/gnu-linux/bits/ctype_base.h: Same.
2535 * config/os/generic/bits/ctype_noninline.h: Same.
2536 * config/os/generic/bits/ctype_base.h: Same.
2538 * libsupc++/tinfo.h: Tweaks.
2540 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
2542 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
2543 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
2544 * testsuite/22_locale/ctype_members_char.cc: Tweak.
2546 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
2548 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
2549 (num_put::do_put(void*)): Fix.
2550 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
2551 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
2552 * testsuite/22_locale/num_get_members_char.cc (test02): Add
2553 long double, void, bool types.
2554 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
2556 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
2557 Alexandre Oliva <aoliva@redhat.com>
2559 * libmath/Makefile.am (LINK): Add --tag CC.
2560 * libmath/Makefile.in: Regenerate.
2562 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
2564 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
2565 of character to attribute mapping table.
2567 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
2569 * testsuite/26_numerics/c99_classification_macros_c.cc
2570 Remove dg-error and dg-excess-errors comments.
2572 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
2574 * include/bits/locale_facets.tcc (time_put::put): Correct output
2576 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
2577 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
2578 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
2579 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
2581 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
2583 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
2585 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
2586 Nathan Myers <ncm@cantrip.org>
2588 * include/bits/basic_string.h
2589 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
2590 temporaries (i.e., call _M_replace_safe) when possible.
2591 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
2592 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
2593 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
2594 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
2595 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
2596 * include/bits/basic_string.tcc
2597 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
2598 replace(__pos, __n1, __s, __n2).
2599 * testsuite/21_strings/replace.cc (test03): New testcases.
2601 * include/bits/basic_string.h (insert(__pos, __s, __n)):
2602 Adjust comparison wrt overflow.
2604 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
2606 * include/Makefile.am (std_headers_rename): New variable.
2607 (install-data-local): Use it.
2608 * include/Makefile.in: Regenerate.
2610 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
2612 * include/bits/locale_facets.tcc (money_put::do_put(string):
2613 Correct output iterator value.
2614 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
2615 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
2617 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
2619 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
2622 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
2624 * include/Makefile.am (std_headers): Update list with new names.
2625 (stamp-std): Link to standardized name.
2626 * include/Makefile.in: Regenerate.
2628 * include/std/algorithm, include/std/bitset, include/std/complex,
2629 include/std/deque, include/std/fstream, include/std/functional,
2630 include/std/iomanip, include/std/ios, include/std/iosfwd,
2631 include/std/iostream, include/std/istream, include/std/iterator,
2632 include/std/limits, include/std/list, include/std/locale,
2633 include/std/map, include/std/memory, include/std/numeric,
2634 include/std/ostream, include/std/queue, include/std/set,
2635 include/std/sstream, include/std/stack, include/std/stdexcept,
2636 include/std/streambuf, include/std/string, include/std/utility,
2637 include/std/valarray, include/std/vector: Rename to...
2639 * include/std/std_algorithm.h, include/std/std_bitset.h,
2640 include/std/std_complex.h, include/std/std_deque.h,
2641 include/std/std_fstream.h, include/std/std_functional.h,
2642 include/std/std_iomanip.h, include/std/std_ios.h,
2643 include/std/std_iosfwd.h, include/std/std_iostream.h,
2644 include/std/std_istream.h, include/std/std_iterator.h,
2645 include/std/std_limits.h, include/std/std_list.h,
2646 include/std/std_locale.h, include/std/std_map.h,
2647 include/std/std_memory.h, include/std/std_numeric.h,
2648 include/std/std_ostream.h, include/std/std_queue.h,
2649 include/std/std_set.h, include/std/std_sstream.h,
2650 include/std/std_stack.h, include/std/std_stdexcept.h,
2651 include/std/std_streambuf.h, include/std/std_string.h,
2652 include/std/std_utility.h, include/std/std_valarray.h,
2653 include/std/std_vector.h: ...this.
2655 2002-01-11 Loren Rittle <ljrittle@acm.org>
2657 * include/Makefile.am (extra_target_headers): New list of all
2658 target files built with ad hoc naming rules.
2659 (stamp-*): Handle LN_S failure in manner portable across make
2661 (install-data-local): Install header files from human-maintained
2662 file lists and directory components instead of non-robust find.
2663 * include/Makefile.in: Rebuilt.
2665 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
2667 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2668 Check for zero-length negative sign before adding it to output
2670 (money_get::do_get(long double)): Return beg.
2671 * testsuite/22_locale/money_get_members_char.cc (test02): Add
2673 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
2675 2002-01-10 David Seymour <seymour_dj@yahoo.com>
2678 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
2679 for _M_extract_float and _M_extract_int
2680 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
2681 (num_get<>::_M_extract_int): Likewise, all callers changed
2682 * testsuite/22_locale/num_get_members_char.cc: Testcase
2684 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
2686 * libsupc++/exception (bad_exception): Add comment.
2687 * libsupc++/new (bad_alloc): Same.
2688 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
2690 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
2692 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
2693 that the destructors should be removed from the descriptions
2694 in the standard: writing them explicitly allows the vtable
2695 heuristic to work. For additional information see:
2696 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
2697 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
2698 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
2699 * libsupc++/exception (bad_exception::~bad_exception()):
2700 Reintroduce declaration.
2701 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
2702 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
2703 (bad_typeid::~bad_typeid()): Same.
2704 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
2705 Reintroduce definition.
2706 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
2707 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
2708 (bad_typeid::~bad_typeid()): Same.
2710 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
2712 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
2713 * include/Makefile.in: Regenerate.
2715 2002-01-09 Bo Thorsen <bo@suse.co.uk>
2717 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
2720 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
2724 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
2725 return value of _M_file->sync().
2726 (filebuf::showmanyc): Check for is_open.
2727 * include/std/fstream (filebuf::sync): Tweak.
2728 * testsuite/27_io/filebuf.cc: Tweak.
2730 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
2731 Brad Garcia <garsh@attbi.com>
2733 * testsuite/27_io/filebuf_members.cc: Add test.
2735 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
2736 Craig Rodrigues <rodrigc@mediaone.net>
2739 * po/Makefile.am (mkinstalldirs): Add.
2740 * po/Makefile.in: Regenerate.
2742 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
2744 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
2745 testsuite/lib/prune.exp: Delete lines ":In function ..." from
2747 * testsuite/23_containers/map_operators.cc: Remove
2748 dg-excess-errors comment.
2749 * testsuite/23_containers/set_operators.cc: Likewise.
2751 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
2753 * include/bits/stl_function.h: Remove two lines of comments;
2754 adjust copyright years.
2756 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
2758 * include/Makefile.am (std_headers): Remove cXXX from list.
2759 (c_base_srcdir): No bits subdirectory.
2760 (c_base_builddir): Same.
2761 (c_base_headers): Adjust names, add ciso646.
2762 (bits_headers): Remove std_xxx.h headers.
2763 * include/Makefile.in: Regenerate.
2765 * include/ext/iterator: Adjust includes.
2766 * include/ext/ropeimpl.h: Same.
2767 * include/ext/stl_hash_fun.h: Same.
2768 * include/ext/algorithm: Same.
2770 * include/backward/bvector.h: Adjust includes.
2771 * include/backward/vector.h: Same.
2772 * include/backward/strstream: Same.
2773 * include/backward/streambuf.h: Same.
2774 * include/backward/stack.h: Same.
2775 * include/backward/set.h: Same.
2776 * include/backward/queue.h: Same.
2777 * include/backward/multiset.h: Same.
2778 * include/backward/multimap.h: Same.
2779 * include/backward/map.h: Same.
2780 * include/backward/list.h: Same.
2781 * include/backward/iterator.h: Same.
2782 * include/backward/iostream.h: Same.
2783 * include/backward/iomanip.h: Same.
2784 * include/backward/fstream.h: Same.
2785 * include/backward/deque.h: Same.
2786 * include/backward/complex.h: Same.
2788 * include/bits/std_algorithm.h: Move to...
2789 * include/std/algorithm: ...here.
2790 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
2791 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
2792 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
2793 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
2794 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
2795 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
2796 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
2799 * include/c_std/bits/std_cassert.h: Move to...
2800 * include/c_std/cassert: Here.
2801 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
2802 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
2803 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
2804 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
2805 std_cwctype.h: Same.
2806 * include/c_std/cmath: Adjust cmath.tcc include.
2807 * include/c_std/cstdlib: Adjust includes.
2808 * include/c_std/cwchar: Same.
2809 * include/c_std/ctime: Same.
2810 * include/c_std/cstring: Same.
2811 * include/c_std/cstdio: Same.
2812 * include/c_std/bits: Remove directory.
2814 * include/c/bits/std_cassert.h: Move to...
2815 * include/c/cassert: Here.
2816 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
2817 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
2818 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
2819 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
2820 std_cwctype.h: Same.
2821 * include/c/bits: Remove directory.
2823 * include/std/cwctype: Remove.
2824 * include/std/cwchar: Remove.
2825 * include/std/ctime: Remove.
2826 * include/std/cstring: Remove.
2827 * include/std/cstdlib: Remove.
2828 * include/std/cstdio: Remove.
2829 * include/std/cstddef: Remove.
2830 * include/std/cstdarg: Remove.
2831 * include/std/csignal: Remove.
2832 * include/std/csetjmp: Remove.
2833 * include/std/cmath: Remove.
2834 * include/std/clocale: Remove.
2835 * include/std/climits: Remove.
2836 * include/std/ciso646: Remove.
2837 * include/std/cfloat: Remove.
2838 * include/std/cerrno: Remove.
2839 * include/std/cctype: Remove.
2840 * include/std/cassert: Remove.
2842 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
2843 files and subsituting <xxx>.
2844 * include/bits/valarray_array.h: Same.
2845 * include/bits/stl_uninitialized.h: Same.
2846 * include/bits/stl_alloc.h: Same.
2847 * include/bits/stl_algobase.h: Same.
2848 * include/bits/sstream.tcc: Same.
2849 * include/bits/pthread_allocimpl.h: Same.
2850 * include/bits/ostream.tcc: Same.
2851 * include/bits/localefwd.h: Same.
2852 * include/bits/locale_facets.tcc: Same.
2853 * include/bits/locale_facets.h: Same.
2854 * include/bits/istream.tcc: Same.
2855 * include/bits/char_traits.h: Same.
2856 * include/bits/boost_concept_check.h: Same.
2857 * include/bits/basic_file.h: Same.
2858 * include/std/bitset: Same.
2859 * include/std/complex: Same.
2860 * include/std/fstream: Same.
2861 * include/std/functional: Same.
2862 * include/std/ios: Same.
2863 * include/std/iostream: Same.
2864 * include/std/ostream: Same.
2865 * include/std/sstream: Same.
2866 * include/std/streambuf: Same.
2867 * include/std/string: Same.
2868 * include/std/iterator: Same.
2869 * include/std/valarray: Same.
2871 * src/ios.cc: Adjust includes.
2872 * src/valarray-inst.cc: Same.
2873 * src/string-inst.cc: Same.
2874 * src/stl-inst.cc: Same.
2875 * src/stdexcept.cc: Same.
2876 * src/misc-inst.cc: Same.
2877 * src/localename.cc: Same.
2878 * src/locale-inst.cc: Same.
2879 * src/locale.cc: Same.
2880 * src/limits.cc: Same.
2881 * src/concept-inst.cc: Same.
2882 * src/complex_io.cc: Same.
2883 * src/codecvt.cc: Same.
2884 * src/bitset.cc: Same.
2885 * src/cmath.cc: Same.
2887 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
2889 * include/bits/stl_tree.h (rb_tree): Move to...
2890 * include/ext/rb_tree: ...here, new file.
2891 * include/Makefile.am (ext_headers): Add new file.
2892 * include/Makefile.in: Regenerate.
2893 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
2894 return_temporary_buffer, struct temporary_buffer): Move to...
2895 * include/ext/memory: ...here.
2896 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
2897 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
2898 * include/backward/tree.h: Include <ext/rb_tree), tweak.
2900 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
2902 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
2903 * include/ext/numeric: ...here, new file.
2904 * include/bits/stl_function.h (identity_element, unary_compose,
2905 binary_compose, compose1, compose2, identity, select1st,
2906 select2nd, project1st + helper, project2nd + helper,
2907 constant_void_fun + helper, constant_unary_fun + helper,
2908 costant_binary_fun + helper, constant0, constant1, constant2,
2909 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
2910 * include/ext/functional: ...here, new file.
2911 * include/Makefile.am (ext_headers): Add new files.
2912 * include/Makefile.in: Regenerate.
2913 * testsuite/ext/headers.cc: Include <ext/numeric> and
2915 * include/backward/algo.h: Include <ext/numeric>, tweak.
2916 * include/backward/function.h: Include <ext/functional>, tweak.
2917 * include/ext/ropeimpl.h: Include <ext/numeric>.
2919 2002-01-03 Jeffrey A Law <law@redhat.com>
2921 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
2922 __strtoull declarations with __extension__.
2924 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
2926 * testsuite/lib/prune.exp: Correct regular expression for
2929 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
2931 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
2932 Change concept checks, as with lower_bound and PR 2054.
2933 * testsuite/ext/concept_checks.cc: Expand test to include those.
2935 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
2937 * include/bits/boost_concept_check.h: Import some changes from
2938 upsteam (Boost) version.
2940 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
2942 * include/bits/stl_algobase.h (copy_n + helpers,
2943 lexicographical_compare_3way + helpers): Move to...
2944 * include/ext/algorithm: ...here.
2945 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
2946 helpers): Move to...
2947 * include/ext/memory: ...here, new file.
2948 * include/Makefile.am (ext_headers): Add new file.
2949 * include/Makefile.in: Regenerate.
2950 * testsuite/ext/headers.cc: Include <ext/memory>.
2951 * include/backward/algobase.h: Include <ext/memory> and
2952 <ext/algorithm>, tweak.
2953 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
2954 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
2956 2002-01-01 Roger Sayle <roger@eyesopen.com>
2958 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
2959 equivalent ___builtin__ versions.
2961 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
2962 are available in libstdc++ as the necessary stub implementations
2963 are provided by libmath/stubs.c.
2965 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
2967 * configure.in: Add support for NetBSD cross compiles.
2968 * configure: Regenerate.