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