1 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
3 * docs/html/17_intro/RELEASE-NOTES: Update.
4 * README: Format subdirectories.
6 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
9 * include/bits/locale_facets.tcc
10 (num_get::_M_extract_float): Fix the parsing of __dec, since
11 the standard prescribes that if no grouping characters are
12 seen, no grouping check is applied.
13 * testsuite/22_locale/num_get_members_char.cc: Add test05
14 distilled from the PR.
15 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
17 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
19 * docs/html/17_intro/porting-howto.xml: Refer to
20 http://www.oasis-open.org for docbookx.dtd.
21 * docs/html/17_intro/porting-howto.html: Regenerated.
23 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
26 * include/std/std_sstream.h: Remove trailing spaces.
27 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
28 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
30 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
32 * testsuite/22_locale/num_get_members_char.cc (test04):
33 Use a named locale expecting grouping (de_DE).
34 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
36 * testsuite/27_io/ios_manip_basefield.cc (test01):
37 Extend coverage, uniform treatment of hexs and octs.
39 2002-02-28 Richard Henderson <rth@redhat.com>
41 * config/linker-map.gnu: Export operator new with unsigned long,
42 and with std::nothrow_t. Likewise operator delete.
44 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
46 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
47 Admit grouping for octals and hexadecimals too.
48 * testsuite/22_locale/num_get_members_char.cc: Add test04.
49 (test01): Tweak "." -> "," in void* test.
50 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
52 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
53 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
55 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
57 * testsuite/27_io/ios_manip_basefield.cc (test01):
58 Fix for 64 bit machines.
60 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
63 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
65 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
66 (basic_ios::_M_fill_init): New.
67 (basic_ios::fill()): Delay dealing with _M_fill.
69 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
70 (ios_base::_M_call_callbacks): Adjust.
71 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
73 2002-02-26 Loren Rittle <ljrittle@acm.org>
75 * include/Makefile.am (thread_target_headers): Unconditionally
76 stage and install gthr-posix.h.
77 (${target_builddir}/gthr-posix.h): New rule cloned off
78 ${target_builddir}/gthr-default.h.
79 (${target_builddir}/gthr-default.h): Support chained inclusion
80 of gthr support headers.
81 * include/Makefile.in: Rebuilt.
83 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
85 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
86 Group all the integral types, not only decs.
87 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
88 tests, add a few more.
90 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
92 * src/ios.cc (ios_base::~ios_base): Tweak.
93 (ios_base::_M_call_callbacks): Deal with null __p.
94 (ios_base::ios_base): Set _M_callbacks.
95 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
96 * testsuite/27_io/ios_init.cc (test02): Fix.
98 * mkcheck.in (static_fail): Failed links go to output file.
100 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
102 * docs/html/faq/index.html: Update.
103 * docs/html/faq/index.txt: Regenerate.
105 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
107 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
108 * aclocal.m4: Regenerate.
109 * docs/html/configopts.html: Document --enable-symvers.
110 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
112 2002-02-22 Philipp Thomas <pthomas@suse.de>
114 * include/backward/tempbuf.h: get_temporary_buffer and
115 return_temporary_buffer are in namespace std, not in __gnu_cxx.
117 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
119 * configure.in (target_alias): Default to yes.
120 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
121 libgcc to default case.
123 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
125 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
126 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
127 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
128 * aclocal.m4: Regenerate.
129 * configure: Regenerate.
130 * config/linker-map.dummy: New file. Contains nothing useful.
132 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
134 * testsuite/22_locale/money_put_members_char.cc: Fix.
135 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
137 * testsuite/27_io/standard_manipulators.cc: New file.
139 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
140 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
142 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
144 * config/os/mingw32/bits/ctype_noninline.h
145 (ctype<char>::ctype): Remove default args from parm list.
146 * config/os/djgpp/bits/ctype_noninline.h: Same.
148 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
150 * include/std/std_iomanip.h: Inline, tweaks.
151 * config/linker-map.gnu: Remove hacks.
153 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
154 * testsuite/27_io/ios_init.cc: Same.
155 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
156 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
158 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
160 * config/linker-map.gnu: Export global vtable, typeinfo, guard
161 variable, and thunk info as per CXXABI docs.
163 2002-02-19 Loren Rittle <ljrittle@acm.org>
165 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
166 * include/Makefile.in: Rebuilt.
168 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
170 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
171 with size3 for the string collations of str5.
173 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
176 * include/bits/locale_facets.tcc (money_put::do_put):
177 For the space field use __fill instead of ' ', uniformly.
178 * testsuite/22_locale/money_put_members_char.cc:
179 Add test05 distilled from PR.
180 (test01-02-03): Trim some '*' to ' '.
181 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
183 2002-02-18 Loren Rittle <ljrittle@acm.org>
186 * include/Makefile.am (thread_builddir): Remove (map all
187 existing uses to target_builddir).
188 (thread_headers): Rename to...
189 (thread_target_headers): ...this.
190 (stamp-thread): Remove.
191 (stamp-target): Correctly state the position as built.
192 Update all dependencies to match the new reality. Remove all
193 dependency calculations on directories.
194 * include/Makefile.in: Rebuilt.
196 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
198 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
199 * include/bits/fstream.tcc: Same.
200 * include/bits/sstream.tcc: Same.
201 * include/bits/ostream.tcc: Same.
202 * include/bits/istream.tcc: Same.
203 * include/bits/streambuf.tcc: Same.
204 * include/bits/basic_ios.tcc: Same.
205 * include/bits/basic_string.tcc: Same.
207 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
209 * include/std/std_iosfwd.h: Don't guard typedefs with
211 * include/bits/stringfwd.h: Same.
213 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
215 * src/locale.cc (moneypunct_byname): Remove definitions.
216 * include/std/std_streambuf.h (streambuf::operator=): Return.
218 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
221 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
222 explicit instantiation.
223 (string::_Rep::_S_max_size): Same.
224 * include/bits/basic_string.tcc: Add extern explicit
225 instantiations for string, wstring.
226 * include/bits/basic_ios.tcc: Add extern explicit instantiations
228 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
229 * include/bits/istream.tcc: Same, for istream, wistream.
230 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
232 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
233 istringstream, wistringstream, ostringstream, wostringstream,
234 stringstream, wstringstream.
235 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
236 wifstream, ofstream, wofstream, fstream, wfstream.
237 * src/misc-inst.cc: Correct comments.
238 Add iomanip instantiations for wide streams.
239 * include/std/std_iomanip.h: Same.
240 * include/bits/locale_facets.tcc: Same.
242 * include/std/std_streambuf.h: Correct
243 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
244 * include/std/std_sstream.h: Same.
245 * include/std/std_ostream.h: Same.
246 * include/std/std_istream.h: Same.
247 * include/std/std_fstream.h: Same.
249 * include/std/std_streambuf.h: Add definitions for private copy
250 ctor and assignment operator.
251 * include/std/std_istream.h: Remove declared but undefined copy
252 ctor and assignment operator. This is taken care of in ios_base,
253 so adding it in the derived class as well is superfluous.
254 * include/std/std_ostream.h: Same.
256 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
257 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
259 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
261 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
262 Add typeinfo bits. Smooth.
263 * aclocal.m4: Regenerate.
265 * src/Makefile.in: Same.
267 2001-02-14 Joel Sherrill <joel@OARcorp.com>
269 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
270 which do not have a CAS instruction.
272 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
274 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
275 * configure.in: Call it.
276 * config/linker-map.gnu: New file, initial incomplete revision.
277 * src/Makefile.am: Optionally pass version script to the linker.
278 * aclocal.m4: Regenerate.
279 * configure: Regenerate.
280 * src/Makefile.in: Regenerate.
282 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
284 * src/localename.cc: Remove stdexcept include.
285 * src/locale-inst.cc: Same.
286 * src/locale.cc: Same.
287 * src/functexcept.cc: Remove string includes.
288 * include/std/std_bitset.h: Remove stdexcept include.
289 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
290 * testsuite/23_containers/bitset_ctor.cc: Same.
292 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
294 * include/bits/stl_algo (__stl_threshold): Declare external.
295 (__stl_chunk_size): Same.
296 * include/bits/stl_bvector.h (__WORD_BIT): Same.
297 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
298 (_S_rb_tree_black): Same.
299 * src/stl-inst.cc (__stl_threshold): Define.
300 (__stl_chunk_size): Same.
302 (_S_rb_tree_red): Same.
303 (_S_rb_tree_black): Same.
305 * config/io/basic_file_libio.h (__basic_file): Add declarations.
306 * include/bits/basic_file.h: Remove.
307 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
308 Declare generic types, specialization.
309 * config/io/basic_file_stdio.cc: Definitions.
310 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
311 Declare generic types.
312 * include/Makefile.am (bits_headers): Remove basic_file.h.
313 (extra_target_headers): Change basic_file_model.h to basic_file.h.
314 (stamp-target): Same.
316 * include/bits/stl_alloc.h: Tweaks.
317 * include/bits/localefwd.h: Same.
319 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
321 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
322 * testsuite/22_locale/collate_members_char.cc (test03): New test.
323 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
325 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
327 * include/bits/stl_algo.h (transform (both signatures), generate_n):
328 Use __typeof__ in concept checks.
330 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
332 * include/bits/stl_algo.h (__median, for_each, find, find_if,
333 adjacent_find, count, count_if, search, search_n, swap_ranges,
334 transform, replace, replace_if, replace_copy, replace_copy_if,
335 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
336 unique, unique_copy, reverse, reverse_copy): Doxygenate.
338 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
340 * include/bits/locale_facets.h
341 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
342 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
343 (__timepunct<_CharT>::_M_put_helper): Same.
344 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
346 * include/bits/fstream.tcc (filebuf::underflow): Remove
347 __codecvt_type typedef.
348 (filebuf::_M_convert_to_external): Same.
350 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
352 * docs/doxygen/TODO: Update.
353 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
354 * docs/doxygen/mainpage.html: Add TODO list link.
355 * docs/doxygen/user.cfg.in: Add @doctodo hook.
356 * docs/doxygen/tables.html: New file, emoty structure only.
358 * include/bits/stl_iterator.h: Doxygenate just about everything.
359 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
360 * include/bits/stl_iterator_base_types.h: Add notes.
362 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
364 * include/bits/stl_map.h: Tweak doxygen markup.
365 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
366 * include/bits/stl_vector.h: Likewise.
368 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
372 * include/std/std_fstream.h (filebuf::__file_type): Change to
374 (filebuf::_M_convert_to_external): Declare.
375 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
376 codecvt bits for wide streams.
377 (filebuf::_M_really_overflow): Use it.
378 (filebuf::underflow): Use codecvt.
379 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
380 (codecvt<__enc_traits>::do_out): Deal with partial.
381 (codecvt<__enc_traits>::do_encoding): Return something useful.
382 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
384 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
385 Change expected encoding output.
387 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
390 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
391 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
393 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
394 (basic_ios::widen): Same.
396 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
398 * testsuite/22_locale/money_get_members_char.cc:
399 Add comment, tidy up.
400 (test01): more "en_HK" tests (without showbase).
401 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
403 2002-02-06 Loren Rittle <ljrittle@acm.org>
405 * config/locale/c_locale_generic.cc: Do not trust
406 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
409 2002-02-06 Loren Rittle <ljrittle@acm.org>
411 * acinclude.m4: Add C++ linkage check for strtof.
412 * aclocal.m4: Rebuilt.
413 * config.h.in: Rebuilt.
414 * configure: Rebuilt.
415 * config/locale/c_locale_generic.cc: Conditionally include
416 <ieeefp.h>. Improve handling and error checking of float
417 and long double input for non-C99 configurations.
419 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
421 * include/bits/locale_facets.tcc (money_get::do_get(string)):
422 In case money_base::symbol deal properly with multi-char sign
423 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
424 * testsuite/22_locale/money_get_members_char.cc: Add test07.
425 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
427 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
429 * include/bits/locale_facets.tcc (money_get::do_get(string)):
430 First construct a tentative returned string, then, only if the
431 parsing succeeds, copy it into the string passed by reference.
432 * testsuite/22_locale/money_get_members_char.cc: Add test06.
433 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
435 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
437 * docs/doxygen/TODO: Impl-defined behavior now documented...
438 * docs/html/17_intro/howto.html: ...here.
439 * docs/doxygen/mainpage.doxy: Remove, rename...
440 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
441 * docs/doxygen/style.css: Add small text.
442 * docs/doxygen/run_doxygen: Adjust for new mainpage.
443 * docs/doxygen/user.cfg.in: Likewise.
445 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
447 * include/bits/stl_map.h: Initial doxygen markup.
448 * include/std/std_fstream.h: Initial doxygen markup.
450 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
453 * include/bits/locale_facets.tcc (money_get::do_get(string)):
454 Deal correctly with !(__io.flags() & ios_base::showbase)
455 for case money_base::symbol.
456 * testsuite/22_locale/money_get_members_char.cc: Add test05.
457 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
459 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
461 * testsuite/22_locale/operators.cc
462 (gnu_collate::do_compare()): Add return statement to
463 suppress "no return statement" warning.
465 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
467 * testsuite/27_io/ostream_manip.cc: Enable test02.
469 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
471 * docs/html/documentation.html: Update for 3.0.96.
472 * docs/html/faq/index.html: Update for 3.0.96.
473 * docs/html/faq/index.txt: Regenerated.
474 * docs/doxygen/TODO: Update notes.
475 * docs/html/17_intro/howto.html: Initial impl-specific listing.
477 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
479 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
480 Initialize all data members in copy ctor. Make ctors explicit.
481 (__enc_traits::__enc_traits()): Default ctor does nothing.
482 (__enc_traits::_M_init): Guard against multiple iconv_opens.
483 * include/std/std_sstream.h (basic_stringbuf): Make data members
485 * include/std/std_fstream.h (basic_filebuf): Same.
486 * include/std/std_streambuf.h: Tweak.
487 * include/bits/streambuf.tcc: Same.
488 * include/bits/sstream.tcc: Same.
489 * include/bits/fstream.tcc: Same.
491 2002-01-31 Loren Rittle <ljrittle@acm.org>
493 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
494 allow NULL argument to be passed to setenv().
495 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
496 * testsuite/22_locale/collate_members_char.cc: Likewise.
497 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
498 * testsuite/22_locale/ctype_members_char.cc: Likewise.
499 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
500 * testsuite/22_locale/messages_members_char.cc: Likewise.
501 * testsuite/22_locale/money_get_members_char.cc: Likewise.
502 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
503 * testsuite/22_locale/money_put_members_char.cc: Likewise.
504 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
505 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
506 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
507 * testsuite/22_locale/num_get_members_char.cc: Likewise.
508 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
509 * testsuite/22_locale/num_put_members_char.cc: Likewise.
510 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
511 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
512 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
513 * testsuite/22_locale/time_get_members_char.cc: Likewise.
514 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
515 * testsuite/22_locale/time_put_members_char.cc: Likewise.
516 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
518 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
520 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
522 * ChangeLog-2001: Fix spelling errors...
523 * docs/html/17_intro/RELEASE-NOTES: Update.
524 * docs/html/17_intro/TODO: Update.
525 * README (file): Update.
527 2002-01-30 Loren Rittle <ljrittle@acm.org>
529 * config/locale/c_locale_generic.cc: Check errno for ERANGE
530 instead of non-zero to aid portability.
532 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
534 * docs/html/22_locale/messages.html: Fix example code.
536 2002-01-30 Richard Henderson <rth@redhat.com>
538 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
539 out from test03 and templatize.
542 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
544 * config/locale/numpunct_members_gnu.cc
545 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
546 Fix initialization of _M_grouping for locales which have
547 _M_thousands_sep == '\0'(L'\0', respectively).
548 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
550 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
552 * testsuite/27_io/ostream_inserter_arith.cc (test03):
553 Better fix for 32/64 bit architectures, avoiding the
554 implicit assumption that CHAR_BIT == 8.
556 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
558 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
559 * Makefile.in: Regenerate.
561 * docs/doxygen/run_doxygen: Update, mostly for man pages.
562 * docs/doxygen/Intro.3: Update.
563 * docs/doxygen/TODO: Update.
564 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
565 * docs/doxygen/mainpage.doxy: Update.
566 * docs/doxygen/user.cfg.in: Update for header rename. Also
567 regenerate comments and variables with 1.2.12.
568 * docs/doxygen/maint.cfg.in: Remove file.
570 * include/bits/stl_relops.h: Doxygenate.
571 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
573 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
574 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
575 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
576 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
577 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
578 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
579 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
580 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
581 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
582 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
583 include/ext/hash_set, include/ext/iterator, include/ext/memory,
584 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
585 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
586 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
587 include/std/std_algorithm.h, include/std/std_bitset.h,
588 include/std/std_complex.h, include/std/std_deque.h,
589 include/std/std_fstream.h, include/std/std_functional.h,
590 include/std/std_iomanip.h, include/std/std_ios.h,
591 include/std/std_iosfwd.h, include/std/std_iostream.h,
592 include/std/std_istream.h, include/std/std_iterator.h,
593 include/std/std_limits.h, include/std/std_list.h,
594 include/std/std_locale.h, include/std/std_map.h,
595 include/std/std_memory.h, include/std/std_numeric.h,
596 include/std/std_ostream.h, include/std/std_queue.h,
597 include/std/std_set.h, include/std/std_sstream.h,
598 include/std/std_stack.h, include/std/std_stdexcept.h,
599 include/std/std_streambuf.h, include/std/std_string.h,
600 include/std/std_utility.h, include/std/std_valarray.h,
601 include/std/std_vector.h: Add/correct @file doxygen hook.
603 * include/ext/memory: Doxygenate most of rest of file.
604 * libsupc++/exception: Doxygen output formatting.
605 * libsupc++/new: Say which header it is.
607 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
608 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
609 * docs/html/23_containers/howto.html: Describe O(n) list::size().
610 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
612 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
613 Charles Leggett <CGLeggett@lbl.gov>
615 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
617 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
619 * testsuite/27_io/ostream_inserter_arith.cc (test03):
620 Fix to deal correctly with both 32 bit and 64 bit architectures
622 2002-01-25 Loren Rittle <ljrittle@acm.org>
624 * testsuite/thread/pthread1.cc: Use one condition variable
625 per predicate instead of tricky use of one condition variable.
627 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
629 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
631 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
632 * testsuite/27_io/filebuf.cc: Compile only.
633 * testsuite/27_io/filebuf_members.cc: Move tests to here.
634 * testsuite/27_io/filebuf_virtuals.cc: And here.
635 Revert sungetc, sync changes for expected values.
636 * testsuite/27_io/filebuf-*: Move to...
637 * testsuite/27_io/filebuf_virtuals-*: ...here.
638 * testsuite/27_io/istream.cc: Compile only, activate.
639 * testsuite/27_io/ostream.cc: Same.
640 * testsuite/27_io/iostream.cc: New.
641 * testsuite/27_io/iostream_members.cc: New.
643 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
645 * testsuite/thread/pthread1.cc: Enable on cygwin.
646 * testsuite/thread/pthread2.cc: Likewise.
647 * testsuite/thread/pthread3.cc: Likewise.
648 * testsuite/thread/pthread4.cc: Likewise.
649 * testsuite/thread/pthread5.cc: Likewise.
650 * testsuite/thread/pthread6.cc: Likewise.
652 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
654 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
656 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
658 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
660 (basic_ios::fill(char_type)): Use fill().
661 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
662 (basic_ios::narrow): Same.
663 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
665 (basic_ios::init): Comment.
666 * testsuite/27_io/ios_init.cc (test02): New.
668 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
670 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
671 * include/bits/stl_algo.h: Include stl_tempbuf.h.
672 * include/ext/memory: Do not include stl_tempbuf.h.
673 (temporary_buffer): Add doxygen hook.
674 (__get_temporary_buffer, get_temporary_buffer,
675 return_temporary_buffer): Move back to std:: header...
676 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
677 * include/ext/rope: Do not include stl_tempbuf.h.
678 * include/ext/stl_hashtable.h: Likewise.
679 * include/std/std_algorithm.h: Likewise.
680 * testsuite/20_util/temporary_buffer.cc: New file.
682 2002-01-24 andrew@andypo.net
683 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
686 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
687 * include/bits/localefwd.h: Likewise.
688 Also use for std::locale::id::_S_highwater.
689 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
690 * src/locale.cc: Support new usage of _Atomic_word.
691 (std::locale::classic): Guard entire function against reentry.
692 * src/localename.cc: Support new usage of _Atomic_word.
694 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
696 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
697 _GLIBCPP_HAVE_SETENV.
698 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
699 * testsuite/22_locale/collate_members_char.cc (test02): Same.
700 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
701 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
702 * testsuite/22_locale/messages_members_char.cc (test02): Same.
703 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
704 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
705 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
706 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
707 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
708 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
709 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
710 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
711 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
712 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
713 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
714 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
715 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
716 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
717 * aclocal.m4: Regenerate.
718 * configure: Regenerate.
719 * config.h.in: Regenerate.
721 2002-01-23 Loren Rittle <ljrittle@acm.org>
723 * testsuite/thread/pthread1.cc: New test.
724 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
725 * testsuite/thread/pthread3.cc: Likewise.
726 * testsuite/thread/pthread4.cc: New test adapted from
727 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
728 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
729 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
731 2002-01-23 Richard Henderson <rth@redhat.com>
734 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
735 CAS on the cpu variants that support it. Add versions that use
736 TAS and that disable interrupts.
737 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
739 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
741 * include/bits/locale_facets.tcc: Remove old comments.
743 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
745 * include/bits/locale_facets.tcc (__convert_to_v): Change template
747 (__convert_from_v): Same.
749 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
751 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
753 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
754 __max_digits checks, adjust arguments.
755 (num_get::do_get(*)): Changeup.
757 2002-01-23 Loren Rittle <ljrittle@acm.org>
759 * config/locale/c_locale_generic.cc: Fix typename usage.
761 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
763 * config/locale/c_locale_generic.cc: Fix.
765 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
767 * docs/html/22_locale/messages.html: Remove angle brackets.
768 * docs/html/17_intro/TODO: Add.
770 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
772 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
773 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
774 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
775 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
777 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
779 Audit for LANG independence.
780 * include/bits/localefwd.h: Tweaks.
781 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
783 (time_get::do_get_year): Same.
784 (__convert_from_v): Add.
785 (num_put::_M_convert_float): Use.
786 (num_put::_M_convert_int): Same.
787 (money_put::do_put): Same.
789 * src/locale-inst.cc: Add instantiations for __convert_from_v.
790 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
791 * config/locale/time_members_generic.cc:
792 * config/locale/messages_members_gnu.cc: Same.
793 * config/locale/messages_members_gnu.h: Same.
795 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
796 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
797 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
798 * testsuite/22_locale/collate_members_char.cc (test02): New.
799 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
800 * testsuite/22_locale/ctype_members_char.cc (test03): New.
801 * testsuite/22_locale/messages_members_char.cc (test02): New.
802 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
803 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
804 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
805 * testsuite/22_locale/money_get_members_char.cc (test04): New.
806 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
807 * testsuite/22_locale/money_put_members_char.cc (test04): New.
808 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
809 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
810 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
811 * testsuite/22_locale/time_put_members_char.cc (test03): New.
812 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
813 * testsuite/22_locale/time_get_members_char.cc (test07): New.
814 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
815 * testsuite/22_locale/num_get_members_char.cc (test03): New.
816 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
817 * testsuite/22_locale/num_put_members_char.cc (test03): New.
819 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
821 * testsuite/22_locale/time_get_members_char.cc: Same.
823 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
826 * include/bits/localefwd.h: Tweak comments.
827 * include/bits/locale_facets.h (__convert_to_v): Add.
828 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
829 (num_get::do_get(float)): Same.
830 (num_get::do_get(long double)): Same.
831 (num_get::do_get(bool)): Same.
832 (num_get::do_get(long)): Same.
833 (num_get::do_get(long long)): Same.
834 (num_get::do_get(unsigned int)): Same.
835 (num_get::do_get(unsigned short)): Same.
836 (num_get::do_get(unsigned long)): Same.
837 (num_get::do_get(unsigned long long)): Same.
838 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
839 * config/locale/c_locale_generic.cc: Same.
841 2002-01-22 Loren Rittle <ljrittle@acm.org>
843 * include/Makefile.am (c_base_builddir): Remove redundant slash.
844 (std_builddir): Likewise.
845 (std_headers_rename): Fix cut-n-paste typo.
846 (install-data-local): Concat path per element instead of once to
847 first element of list.
848 * include/Makefile.in: Rebuilt.
850 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
852 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
853 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
854 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
856 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
858 * include/bits/locale_facets.h (ctype<char>::classic_table):
860 (ctype<char>::_S_ctable): Remove.
861 * config/os/gnu-linux/bits/ctype_noninline.h
862 (ctype<char>::_S_table): Remove definition.
863 (ctype<char>::classic_table): Define.
864 (ctype<char>::ctype): Replace _S_ctable with classic_table().
865 * config/os/aix/bits/ctype_noninline.h: Same.
866 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
867 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
868 * config/os/djgpp/bits/ctype_noninline.h: Same.
869 * config/os/generic/bits/ctype_noninline.h: Same.
870 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
871 * config/os/hpux/bits/ctype_noninline.h: Same.
872 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
873 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
874 * config/os/mingw32/bits/ctype_noninline.h: Same.
875 * config/os/newlib/bits/ctype_noninline.h: Same.
876 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
877 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
878 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
880 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
882 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
883 of _pctype. Use to define _S_ctable. Add definition for alternate
884 ctor. Initialise _M_ctable to _S_ctable in ctors.
885 (do_toupper, do_tolower): Use inline code appropriate for C-locale
886 rather than ::toupper, ::tolower.
888 2002-01-18 Loren Rittle <ljrittle@acm.org>
890 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
891 Add specialization for FreeBSD systems only to avoid losing test
892 only due to extra precision unmentioned in system headers.
894 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
896 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
898 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
900 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
901 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
903 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
905 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
907 2002-01-17 David Edelsohn <edelsohn@gnu.org>
909 * configure.target: Define OPT_LDFLAGS for AIX case.
911 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
913 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
914 __glibcpp_double_has_quiet_NaN): Correct mispelling.
916 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
918 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
920 2002-01-16 David Edelsohn <dje@watson.ibm.com>
922 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
923 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
924 * aclocal.m4: Regenerate.
925 * configure: Regenerate.
927 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
929 * include/Makefile.am (c_base_headers_rename): New.
930 (c_base_headers_extra): New.
931 (stamp-c_base): Modify.
932 (install-data-local): Use both.
933 * include/Makefile.in: Regenerate.
934 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
935 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
936 cstdio ctime cwctype]: Move to..
937 * include/c/std_*: Here.
938 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
939 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
940 cstdio ctime cwctype]: Move to..
941 * include/c_std/std_*: Here.
943 Alexandre Oliva <aoliva@redhat.com>
944 * include/Makefile.am (.PRECIOUS): Add rule.
945 * include/Makefile.in: Regenerate.
947 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
948 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
950 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
951 Deuglify, should be current.
952 (back_insert_iterator::_M_container): Deuglify, should be container.
953 (front_insert_iterator::_M_container): Same.
954 (insert_iterator::_M_container): Same.
955 * testsuite/24_iterators/reverse_iterator.cc: Add check.
956 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
957 * testsuite/24_iterators/front_insert_iterator.cc: Same.
958 * testsuite/24_iterators/insert_iterator.cc: Same.
960 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
962 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
964 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
965 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
966 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
967 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
968 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
969 * config/os/newlib/bits/ctype_noninline.h: Same.
970 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
971 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
972 * config/os/hpux/bits/ctype_noninline.h: Same.
973 * config/os/djgpp/bits/ctype_noninline.h: Same.
974 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
975 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
976 * config/os/aix/bits/ctype_noninline.h: Same.
978 Testcase by Dietmar Kühl via Peter Schmid
979 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
982 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
984 * libmath/signbitl.c: Copyright years as list, not range.
985 * libmath/Makefile.am: Same.
986 * libmath/Makefie.in: Regenerate.
987 * libmath/signbit.c: Same.
988 * libmath/nan.c: Same.
989 * libmath/copysignf.c: Same.
990 * libmath/signbitf.c: Same.
991 * testsuite/22_locale/money_get_members_char.cc: Same.
992 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
993 * testsuite/22_locale/money_put_members_char.cc: Same.
994 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
995 * testsuite/22_locale/time_get_members_char.cc: Same.
996 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
997 * testsuite/22_locale/time_put_members_char.cc: Same.
998 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
999 * testsuite/21_strings/nonmember.cc: Same.
1000 * testsuite/21_strings/compare.cc: Same.
1001 * testsuite/27_io/stringstream.cc: Same.
1002 * testsuite/27_io/stringbuf.cc: Same.
1003 * testsuite/27_io/filebuf.cc: Same.
1004 * testsuite/27_io/ios_manip_basefield.cc: Same.
1005 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
1006 * include/bits/cpp_type_traits.h: Same.
1007 * include/bits/generic_shadow.h: Same.
1008 * include/bits/gslice_array.h: Same.
1009 * include/bits/gslice.h: Same.
1010 * include/bits/indirect_array.h: Same.
1011 * include/bits/slice_array.h: Same.
1012 * include/bits/sstream.tcc: Same.
1013 * include/bits/streambuf_iterator.h: Same.
1014 * include/bits/valarray_array.tcc: Same.
1015 * include/bits/valarray_meta.h: Same.
1016 * include/bits/valarray_array.h: Same.
1017 * config/os/mingw32/bits/ctype_noninline.h: Same.
1018 * config/os/mingw32/bits/ctype_base.h: Same.
1019 * config/os/hpux/bits/ctype_noninline.h: Same.
1020 * config/os/hpux/bits/ctype_base.h: Same.
1021 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1022 * config/os/gnu-linux/bits/ctype_base.h: Same.
1023 * config/os/generic/bits/ctype_noninline.h: Same.
1024 * config/os/generic/bits/ctype_base.h: Same.
1026 * libsupc++/tinfo.h: Tweaks.
1028 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
1030 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
1031 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
1032 * testsuite/22_locale/ctype_members_char.cc: Tweak.
1034 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
1036 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
1037 (num_put::do_put(void*)): Fix.
1038 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
1039 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
1040 * testsuite/22_locale/num_get_members_char.cc (test02): Add
1041 long double, void, bool types.
1042 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
1044 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
1045 Alexandre Oliva <aoliva@redhat.com>
1047 * libmath/Makefile.am (LINK): Add --tag CC.
1048 * libmath/Makefile.in: Regenerate.
1050 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
1052 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
1053 of character to attribute mapping table.
1055 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
1057 * testsuite/26_numerics/c99_classification_macros_c.cc
1058 Remove dg-error and dg-excess-errors comments.
1060 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
1062 * include/bits/locale_facets.tcc (time_put::put): Correct output
1064 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
1065 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
1066 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
1067 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
1069 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
1071 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
1073 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
1074 Nathan Myers <ncm@cantrip.org>
1076 * include/bits/basic_string.h
1077 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
1078 temporaries (i.e., call _M_replace_safe) when possible.
1079 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
1080 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
1081 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
1082 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
1083 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
1084 * include/bits/basic_string.tcc
1085 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
1086 replace(__pos, __n1, __s, __n2).
1087 * testsuite/21_strings/replace.cc (test03): New testcases.
1089 * include/bits/basic_string.h (insert(__pos, __s, __n)):
1090 Adjust comparison wrt overflow.
1092 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
1094 * include/Makefile.am (std_headers_rename): New variable.
1095 (install-data-local): Use it.
1096 * include/Makefile.in: Regenerate.
1098 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
1100 * include/bits/locale_facets.tcc (money_put::do_put(string):
1101 Correct output iterator value.
1102 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
1103 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
1105 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
1107 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
1110 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
1112 * include/Makefile.am (std_headers): Update list with new names.
1113 (stamp-std): Link to standardized name.
1114 * include/Makefile.in: Regenerate.
1116 * include/std/algorithm, include/std/bitset, include/std/complex,
1117 include/std/deque, include/std/fstream, include/std/functional,
1118 include/std/iomanip, include/std/ios, include/std/iosfwd,
1119 include/std/iostream, include/std/istream, include/std/iterator,
1120 include/std/limits, include/std/list, include/std/locale,
1121 include/std/map, include/std/memory, include/std/numeric,
1122 include/std/ostream, include/std/queue, include/std/set,
1123 include/std/sstream, include/std/stack, include/std/stdexcept,
1124 include/std/streambuf, include/std/string, include/std/utility,
1125 include/std/valarray, include/std/vector: Rename to...
1127 * include/std/std_algorithm.h, include/std/std_bitset.h,
1128 include/std/std_complex.h, include/std/std_deque.h,
1129 include/std/std_fstream.h, include/std/std_functional.h,
1130 include/std/std_iomanip.h, include/std/std_ios.h,
1131 include/std/std_iosfwd.h, include/std/std_iostream.h,
1132 include/std/std_istream.h, include/std/std_iterator.h,
1133 include/std/std_limits.h, include/std/std_list.h,
1134 include/std/std_locale.h, include/std/std_map.h,
1135 include/std/std_memory.h, include/std/std_numeric.h,
1136 include/std/std_ostream.h, include/std/std_queue.h,
1137 include/std/std_set.h, include/std/std_sstream.h,
1138 include/std/std_stack.h, include/std/std_stdexcept.h,
1139 include/std/std_streambuf.h, include/std/std_string.h,
1140 include/std/std_utility.h, include/std/std_valarray.h,
1141 include/std/std_vector.h: ...this.
1143 2002-01-11 Loren Rittle <ljrittle@acm.org>
1145 * include/Makefile.am (extra_target_headers): New list of all
1146 target files built with ad hoc naming rules.
1147 (stamp-*): Handle LN_S failure in manner portable across make
1149 (install-data-local): Install header files from human-maintained
1150 file lists and directory components instead of non-robust find.
1151 * include/Makefile.in: Rebuilt.
1153 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
1155 * include/bits/locale_facets.tcc (money_get::do_get(string)):
1156 Check for zero-length negative sign before adding it to output
1158 (money_get::do_get(long double)): Return beg.
1159 * testsuite/22_locale/money_get_members_char.cc (test02): Add
1161 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
1163 2002-01-10 David Seymour <seymour_dj@yahoo.com>
1166 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
1167 for _M_extract_float and _M_extract_int
1168 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
1169 (num_get<>::_M_extract_int): Likewise, all callers changed
1170 * testsuite/22_locale/num_get_members_char.cc: Testcase
1172 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
1174 * libsupc++/exception (bad_exception): Add comment.
1175 * libsupc++/new (bad_alloc): Same.
1176 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
1178 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
1180 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
1181 that the destructors should be removed from the descriptions
1182 in the standard: writing them explicitly allows the vtable
1183 heuristic to work. For additional information see:
1184 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
1185 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
1186 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
1187 * libsupc++/exception (bad_exception::~bad_exception()):
1188 Reintroduce declaration.
1189 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
1190 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
1191 (bad_typeid::~bad_typeid()): Same.
1192 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
1193 Reintroduce definition.
1194 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
1195 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
1196 (bad_typeid::~bad_typeid()): Same.
1198 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
1200 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
1201 * include/Makefile.in: Regenerate.
1203 2002-01-09 Bo Thorsen <bo@suse.co.uk>
1205 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
1208 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
1212 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
1213 return value of _M_file->sync().
1214 (filebuf::showmanyc): Check for is_open.
1215 * include/std/fstream (filebuf::sync): Tweak.
1216 * testsuite/27_io/filebuf.cc: Tweak.
1218 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
1219 Brad Garcia <garsh@attbi.com>
1221 * testsuite/27_io/filebuf_members.cc: Add test.
1223 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
1224 Craig Rodrigues <rodrigc@mediaone.net>
1227 * po/Makefile.am (mkinstalldirs): Add.
1228 * po/Makefile.in: Regenerate.
1230 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
1232 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
1233 testsuite/lib/prune.exp: Delete lines ":In function ..." from
1235 * testsuite/23_containers/map_operators.cc: Remove
1236 dg-excess-errors comment.
1237 * testsuite/23_containers/set_operators.cc: Likewise.
1239 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
1241 * include/bits/stl_function.h: Remove two lines of comments;
1242 adjust copyright years.
1244 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
1246 * include/Makefile.am (std_headers): Remove cXXX from list.
1247 (c_base_srcdir): No bits subdirectory.
1248 (c_base_builddir): Same.
1249 (c_base_headers): Adjust names, add ciso646.
1250 (bits_headers): Remove std_xxx.h headers.
1251 * include/Makefile.in: Regenerate.
1253 * include/ext/iterator: Adjust includes.
1254 * include/ext/ropeimpl.h: Same.
1255 * include/ext/stl_hash_fun.h: Same.
1256 * include/ext/algorithm: Same.
1258 * include/backward/bvector.h: Adjust includes.
1259 * include/backward/vector.h: Same.
1260 * include/backward/strstream: Same.
1261 * include/backward/streambuf.h: Same.
1262 * include/backward/stack.h: Same.
1263 * include/backward/set.h: Same.
1264 * include/backward/queue.h: Same.
1265 * include/backward/multiset.h: Same.
1266 * include/backward/multimap.h: Same.
1267 * include/backward/map.h: Same.
1268 * include/backward/list.h: Same.
1269 * include/backward/iterator.h: Same.
1270 * include/backward/iostream.h: Same.
1271 * include/backward/iomanip.h: Same.
1272 * include/backward/fstream.h: Same.
1273 * include/backward/deque.h: Same.
1274 * include/backward/complex.h: Same.
1276 * include/bits/std_algorithm.h: Move to...
1277 * include/std/algorithm: ...here.
1278 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
1279 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
1280 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
1281 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
1282 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
1283 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
1284 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
1287 * include/c_std/bits/std_cassert.h: Move to...
1288 * include/c_std/cassert: Here.
1289 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
1290 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
1291 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
1292 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
1293 std_cwctype.h: Same.
1294 * include/c_std/cmath: Adjust cmath.tcc include.
1295 * include/c_std/cstdlib: Adjust includes.
1296 * include/c_std/cwchar: Same.
1297 * include/c_std/ctime: Same.
1298 * include/c_std/cstring: Same.
1299 * include/c_std/cstdio: Same.
1300 * include/c_std/bits: Remove directory.
1302 * include/c/bits/std_cassert.h: Move to...
1303 * include/c/cassert: Here.
1304 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
1305 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
1306 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
1307 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
1308 std_cwctype.h: Same.
1309 * include/c/bits: Remove directory.
1311 * include/std/cwctype: Remove.
1312 * include/std/cwchar: Remove.
1313 * include/std/ctime: Remove.
1314 * include/std/cstring: Remove.
1315 * include/std/cstdlib: Remove.
1316 * include/std/cstdio: Remove.
1317 * include/std/cstddef: Remove.
1318 * include/std/cstdarg: Remove.
1319 * include/std/csignal: Remove.
1320 * include/std/csetjmp: Remove.
1321 * include/std/cmath: Remove.
1322 * include/std/clocale: Remove.
1323 * include/std/climits: Remove.
1324 * include/std/ciso646: Remove.
1325 * include/std/cfloat: Remove.
1326 * include/std/cerrno: Remove.
1327 * include/std/cctype: Remove.
1328 * include/std/cassert: Remove.
1330 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
1331 files and subsituting <xxx>.
1332 * include/bits/valarray_array.h: Same.
1333 * include/bits/stl_uninitialized.h: Same.
1334 * include/bits/stl_alloc.h: Same.
1335 * include/bits/stl_algobase.h: Same.
1336 * include/bits/sstream.tcc: Same.
1337 * include/bits/pthread_allocimpl.h: Same.
1338 * include/bits/ostream.tcc: Same.
1339 * include/bits/localefwd.h: Same.
1340 * include/bits/locale_facets.tcc: Same.
1341 * include/bits/locale_facets.h: Same.
1342 * include/bits/istream.tcc: Same.
1343 * include/bits/char_traits.h: Same.
1344 * include/bits/boost_concept_check.h: Same.
1345 * include/bits/basic_file.h: Same.
1346 * include/std/bitset: Same.
1347 * include/std/complex: Same.
1348 * include/std/fstream: Same.
1349 * include/std/functional: Same.
1350 * include/std/ios: Same.
1351 * include/std/iostream: Same.
1352 * include/std/ostream: Same.
1353 * include/std/sstream: Same.
1354 * include/std/streambuf: Same.
1355 * include/std/string: Same.
1356 * include/std/iterator: Same.
1357 * include/std/valarray: Same.
1359 * src/ios.cc: Adjust includes.
1360 * src/valarray-inst.cc: Same.
1361 * src/string-inst.cc: Same.
1362 * src/stl-inst.cc: Same.
1363 * src/stdexcept.cc: Same.
1364 * src/misc-inst.cc: Same.
1365 * src/localename.cc: Same.
1366 * src/locale-inst.cc: Same.
1367 * src/locale.cc: Same.
1368 * src/limits.cc: Same.
1369 * src/concept-inst.cc: Same.
1370 * src/complex_io.cc: Same.
1371 * src/codecvt.cc: Same.
1372 * src/bitset.cc: Same.
1373 * src/cmath.cc: Same.
1375 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
1377 * include/bits/stl_tree.h (rb_tree): Move to...
1378 * include/ext/rb_tree: ...here, new file.
1379 * include/Makefile.am (ext_headers): Add new file.
1380 * include/Makefile.in: Regenerate.
1381 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
1382 return_temporary_buffer, struct temporary_buffer): Move to...
1383 * include/ext/memory: ...here.
1384 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
1385 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
1386 * include/backward/tree.h: Include <ext/rb_tree), tweak.
1388 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
1390 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
1391 * include/ext/numeric: ...here, new file.
1392 * include/bits/stl_function.h (identity_element, unary_compose,
1393 binary_compose, compose1, compose2, identity, select1st,
1394 select2nd, project1st + helper, project2nd + helper,
1395 constant_void_fun + helper, constant_unary_fun + helper,
1396 costant_binary_fun + helper, constant0, constant1, constant2,
1397 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
1398 * include/ext/functional: ...here, new file.
1399 * include/Makefile.am (ext_headers): Add new files.
1400 * include/Makefile.in: Regenerate.
1401 * testsuite/ext/headers.cc: Include <ext/numeric> and
1403 * include/backward/algo.h: Include <ext/numeric>, tweak.
1404 * include/backward/function.h: Include <ext/functional>, tweak.
1405 * include/ext/ropeimpl.h: Include <ext/numeric>.
1407 2002-01-03 Jeffrey A Law <law@redhat.com>
1409 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
1410 __strtoull declarations with __extension__.
1412 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
1414 * testsuite/lib/prune.exp: Correct regular expression for
1417 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
1419 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
1420 Change concept checks, as with lower_bound and PR 2054.
1421 * testsuite/ext/concept_checks.cc: Expand test to include those.
1423 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
1425 * include/bits/boost_concept_check.h: Import some changes from
1426 upsteam (Boost) version.
1428 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
1430 * include/bits/stl_algobase.h (copy_n + helpers,
1431 lexicographical_compare_3way + helpers): Move to...
1432 * include/ext/algorithm: ...here.
1433 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
1434 helpers): Move to...
1435 * include/ext/memory: ...here, new file.
1436 * include/Makefile.am (ext_headers): Add new file.
1437 * include/Makefile.in: Regenerate.
1438 * testsuite/ext/headers.cc: Include <ext/memory>.
1439 * include/backward/algobase.h: Include <ext/memory> and
1440 <ext/algorithm>, tweak.
1441 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
1442 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
1444 2002-01-01 Roger Sayle <roger@eyesopen.com>
1446 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
1447 equivalent ___builtin__ versions.
1449 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
1450 are available in libstdc++ as the necessary stub implementations
1451 are provided by libmath/stubs.c.
1453 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
1455 * configure.in: Add support for NetBSD cross compiles.
1456 * configure: Regenerate.