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