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