1 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
3 * testsuite/22_locale/collate_byname.cc
4 (test01): compare the result of collate::compare with
5 that of collate::transform + string::compare, not with
6 that of collate::transform + collate::compare; values
7 returned by collate::compare are normalized, therefore
10 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
11 Jakub Jelinek <jakub@redhat.com>
13 * config/locale/gnu/messages_members.h: Correct conditional.
14 * config/locale/gnu/messages_members.cc: Same.
15 * config/locale/gnu/time_members.cc: Same.
17 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18 Paolo Carlini <pcarlini@unitus.it>
20 * testsuite/22_locale/codecvt_members_unicode_char.cc
21 (test01, test02): Fix i_lit_base arrays, making them
22 independent from the endianness of the platform.
24 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
26 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
27 signbit and __signbit directly.
28 * aclocal.m4: Regenerate.
29 * configure: Regenerate.
30 * config.h.in: Regenerate.
31 * libmath/Makefile.am: Simplify.
32 * libmath/Makefile.in: Regenerate.
33 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
35 * include/Makefile.am: Clean up handling of extra "C" header files.
36 Add hooks for "C" compatibility headers.
37 * include/Makefile.in: Regenerate.
39 * include/c/*: Formatting tweaks, cleanups.
40 * include/c_std/*: Same.
42 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
44 * config/locale/gnu/messages_members.h: Add __uselocale bits.
45 * config/locale/gnu/messages_members.cc: Same.
46 * config/locale/gnu/time_members.cc: Same.
48 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
50 * src/vterminate.cc: Format, -fno-exceptions cleanup.
52 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
54 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
55 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
56 * aclocal.m4: Regenerate.
57 * configure: Likewise.
59 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
60 Ulrich Drepper <drepper@redhat.com>
62 * src/locale-inst.cc (__convert_from_v): Add an additional
63 __size parameter in the declarations.
64 * include/bits/locale_facets.tcc
65 (__convert_from_v): When available (that is,
66 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
67 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
68 being defined or not, call and use __convert_from_v in the
70 (num_put::_M_convert_int): Same here.
71 (money_put::do_put(long double)): Same here.
73 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
75 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
76 * docs/html/faq/index.txt: Regenerate.
78 2002-03-19 Steve Ellcey <sje@cup.hp.com>
80 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
81 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
82 --enable-libunwind-exceptions is set.
83 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
84 macro to check for libunwind.
85 * configure: Regenerate.
86 * src/Makefile.am (libstdc___la_LDFLAGS): Add
87 LIBUNWIND_FLAG to libstdc link line.
88 * src/Makefile.in: Regenerate.
90 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
92 * docs/html/faq/index.html: Add OS X workaround.
93 * docs/html/17_intro/TODO: Update.
95 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
97 * include/bits/locale_facets.tcc
98 (money_put::do_put(long double)): Fix dimensioning of
99 temporary buffers to avoid risk of overruns.
100 (money_put::do_put(string)): Same for the buffer used to
101 add the grouping chars.
102 * testsuite/22_locale/money_put_members_char.cc: Add test06.
103 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
105 * include/bits/locale_facets.tcc
106 (collate::do_transform): Simplify.
108 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
110 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
111 * configure.in: Add comments pointing the way for autoconf 2.5x.
112 * aclocal.m4, config.h.in, configure: Regenerate.
114 2002-03-18 Philipp Thomas <pthomas@suse.de>
116 * include/backward/hash_map.h: hash, hashtable, hash_map and
117 hash_multimap are in namespace __gnu_cxx.
118 include/backward/hash_set.h: hash, hashtable, hash_set and
119 hash_multiset are in namespace __gnu_cxx.
120 include/backward/hashtable.h: hash and hashtable are in
122 include/backward/rope.h: char_producer, sequence_buffer,
123 rope, crope and wrope are in namespace __gnu_cxx.
124 include/backward/slist.h: slist is in namespace __gnu_cxx.
125 * testsuite/backward/header_hash_map_h.cc
126 testsuite/backward/header_hash_set_h.cc
127 testsuite/backward/header_hashtable_h.cc
128 testsuite/backward/header_rope_h.cc
129 testsuite/backward/header_slist_h.cc
130 testsuite/backward/header_tempbuf_h.cc: New tests for
131 checking that we're using the correct namespace.
133 2002-03-17 Jason Merrill <jason@redhat.com>
136 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
137 (check_exception_spec): Call it. Take the thrown pointer.
138 (__cxa_call_unexpected): Pass it.
139 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
141 2002-03-15 Anthony Green <green@redhat.com>
143 * configure.in: Remove useless is_mingw32.
144 * configure: Rebuilt.
146 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
148 * testsuite/22_locale/collate_members_char.cc
149 (test01): compare the result of collate::compare with
150 that of collate::transform + string::compare, not with
151 that of collate::transform + collate::compare.
152 (test01): values returned by collate::compare are
153 normalized, therefore test against +-1.
154 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
156 2002-03-12 Loren Rittle <ljrittle@acm.org>
158 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
159 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
161 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
162 Per Liboriussen <liborius@stofanet.dk>
164 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
166 * config/os/gnu-linux/bits/ctype_inline.h: Same.
168 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
170 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
171 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
173 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
174 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
176 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
177 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
179 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
181 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
183 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
184 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
185 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
186 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
187 that memory limits are in place.
190 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
192 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
193 * aclocal.m4: Regenerate.
194 * config.h.in: Regenerate.
195 * configure: Regenerate.
196 * include/c_std/std_cwctype.h: Guard.
198 2002-03-11 Chris Demetriou <cgd@broadcom.com>
200 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
201 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
202 * aclocal.m4: Regenerate.
203 * configure: Regenerate.
205 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
207 * include/bits/stl_bvector.h: Fix warning.
209 2002-03-11 Richard Henderson <rth@redhat.com>
211 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
213 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
215 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
216 New function. Build the list of tests to run in testsuite_files.
217 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
219 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
221 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
222 platforms with no weak support.
223 * testsuite/27_io/ios_init.cc: Likewise.
225 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
227 * include/bits/locale_facets.tcc (time_put::do_put):
228 Consider sizeof(char_type) in allocating the buffer.
230 * include/bits/locale_facets.tcc (collate::do_tranform):
231 Remove redundant variable.
233 2002-03-10 Ulrich Drepper <drepper@redhat.com>
234 Paolo Carlini <pcarlini@unitus.it>
236 * config/locale/generic/collate_members.cc
237 (collate<char,wchar_t>::_M_compare_helper): normalize
238 values returned by strcoll and wcscoll.
239 * config/locale/gnu/collate_members.cc
240 (collate<char,wchar_t>::_M_compare_helper): ditto
241 for __strcoll_l and __wcscoll_l.
243 2002-03-10 Anthony Green <green@redhat.com>
245 * configure.in: Support cross builds to mingw32 target.
246 * configure: Rebuilt.
248 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
250 * include/bits/locale_facets.tcc (collate::do_transform):
251 Rewrite to fix problems with long transformed strings.
253 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
255 * c_locale_generic.cc: Move to...
256 * generic/c_locale.cc
257 * c_locale_generic.h: Move to...
259 * codecvt_specializations_generic.h: Move to...
260 * generic/codecvt_specializations.h
261 * collate_members_generic.cc: Move to...
262 * generic/collate_members.cc
263 * ctype_members_generic.cc: Move to...
264 * generic/ctype_members.cc
265 * messages_members_generic.cc: Move to...
266 * generic/messages_members.cc
267 * messages_members_generic.h: Move to...
268 * generic/messages_members.h
269 * moneypunct_members_generic.cc: Move to...
270 * generic/monetary_members.cc
271 * numpunct_members_generic.cc: Move to...
272 * generic/numeric_members.cc
273 * time_members_generic.cc: Move to...
274 * generic/time_members.cc
275 * c_locale_gnu.cc: Move to...
277 * c_locale_gnu.h: Move to...
279 * collate_members_gnu.cc: Move to...
280 * gnu/collate_members.cc
281 * ctype_members_gnu.cc: Move to...
282 * gnu/ctype_members.cc
283 * messages_members_gnu.cc: Move to...
284 * gnu/messages_members.cc
285 * messages_members_gnu.h: Move to...
286 * gnu/messages_members.h
287 * moneypunct_members_gnu.cc: Move to...
288 * gnu/monetary_members.cc
289 * numpunct_members_gnu.cc: Move to...
290 * gnu/numeric_members.cc
291 * time_members_gnu.cc: Move to...
292 * gnu/time_members.cc
293 * c_locale_ieee_1003.1-200x.cc: Move to...
294 * ieee_1003.1-2001/c_locale.cc
295 * c_locale_ieee_1003.1-200x.h: Move to...
296 * ieee_1003.1-2001/c_locale.h
297 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
298 * ieee_1003.1-2001/codecvt_specializations.h
299 * messages_members_ieee_1003.1-200x.cc: Move to...
300 * ieee_1003.1-2001/messages_members.cc
301 * messages_members_ieee_1003.1-200x.h: Move to...
302 * ieee_1003.1-2001/messages_members.h
304 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
305 * aclocal.m4: Regenerate.
306 * configure: Regenerate.
307 * src/Makefile.am (sources): Change to monetary and numeric.
308 * src/Makefile.in: Regenerate.
309 * docs/html/configopts.html: Update to ieee_1003.1-2001.
311 2002-03-08 scott snyder <snyder@fnal.gov>
314 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
315 Allow one more digit of precision.
316 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
317 write a double and read back in the same value.
319 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
321 * include/std/std_limits.h: Move static const data members out of
322 generic template, into base class __numeric_limits_base.
323 * src/limits.cc: Add definitions.
324 * config/linker-map.gnu: Add __numeric_limits_base.
325 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
327 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
329 * include/bits/stl_alloc.h: Add extern implicit allocator
331 * include/bits/basic_string.tcc: Tweak.
332 * include/bits/locale_facets.tcc: Remove default args. Add
333 has_facet, use_facet extern instantiations.
334 * src/stl-inst.cc: Add explicit instantiation.
335 * src/locale-inst.cc: Clean. Remove locale member template
338 * testsuite/22_locale/operators.cc (test02): Enable.
340 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
341 Stephen M. Webb <stephen.webb@bregmasoft.com>
343 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
344 (_S_rb_tree_black): Make enum.
346 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
347 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
348 (__stl_threshold): _M_threshold, enum.
349 * src/stl-inst.cc: Same.
350 * config/linker-map.gnu: Remove.
352 * testsuite/23_containers/vector_bool.cc: New.
354 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
356 * docs/doxygen/user.cfg.in: Also document deprecated entries.
357 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
358 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
359 referring to the collection as a whole. New section on which macros
360 can be redefined by the user.
361 * docs/html/19_diagnostics/howto.html: Update note for concepts.
362 * docs/html/20_util/howto.html: Update link to SGI.
363 * docs/html/faq/index.html: Update snapshot versions. New entry
364 on why g++ (but not gcc) must currently predefine certain macros.
365 * docs/html/faq/index.txt: Regenerated.
367 * include/bits/basic_string.h (basic_string::_S_construct): Fix
368 names in declaration.
369 (basic_string::compare): These are no longer optional.
370 * include/bits/ostream.tcc: Tweak closing brace placement.
371 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
372 * include/std/std_sstream.h: Fix typo in comment.
373 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
374 * src/locale.cc: Likewise.
376 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
379 * include/bits/stl_vector.h (vector::push_back()): Guard with
382 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
384 * include/bits/c++config: Fix misplaced leading blanks on first line.
386 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
388 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
389 * README (libmath): Make clear.
391 2002-03-05 Jakub Jelinek <jakub@redhat.com>
393 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
394 script globbing in ld.
395 * aclocal.m4: Rebuilt.
396 * configure: Rebuilt.
398 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
400 * docs/html/17_intro/RELEASE-NOTES: Update.
401 * README: Format subdirectories.
403 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
406 * include/bits/locale_facets.tcc
407 (num_get::_M_extract_float): Fix the parsing of __dec, since
408 the standard prescribes that if no grouping characters are
409 seen, no grouping check is applied.
410 * testsuite/22_locale/num_get_members_char.cc: Add test05
411 distilled from the PR.
412 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
414 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
416 * docs/html/17_intro/porting-howto.xml: Refer to
417 http://www.oasis-open.org for docbookx.dtd.
418 * docs/html/17_intro/porting-howto.html: Regenerated.
420 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
423 * include/std/std_sstream.h: Remove trailing spaces.
424 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
425 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
427 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
429 * testsuite/22_locale/num_get_members_char.cc (test04):
430 Use a named locale expecting grouping (de_DE).
431 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
433 * testsuite/27_io/ios_manip_basefield.cc (test01):
434 Extend coverage, uniform treatment of hexs and octs.
436 2002-02-28 Richard Henderson <rth@redhat.com>
438 * config/linker-map.gnu: Export operator new with unsigned long,
439 and with std::nothrow_t. Likewise operator delete.
441 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
443 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
444 Admit grouping for octals and hexadecimals too.
445 * testsuite/22_locale/num_get_members_char.cc: Add test04.
446 (test01): Tweak "." -> "," in void* test.
447 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
449 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
450 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
452 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
454 * testsuite/27_io/ios_manip_basefield.cc (test01):
455 Fix for 64 bit machines.
457 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
460 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
462 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
463 (basic_ios::_M_fill_init): New.
464 (basic_ios::fill()): Delay dealing with _M_fill.
466 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
467 (ios_base::_M_call_callbacks): Adjust.
468 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
470 2002-02-26 Loren Rittle <ljrittle@acm.org>
472 * include/Makefile.am (thread_target_headers): Unconditionally
473 stage and install gthr-posix.h.
474 (${target_builddir}/gthr-posix.h): New rule cloned off
475 ${target_builddir}/gthr-default.h.
476 (${target_builddir}/gthr-default.h): Support chained inclusion
477 of gthr support headers.
478 * include/Makefile.in: Rebuilt.
480 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
482 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
483 Group all the integral types, not only decs.
484 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
485 tests, add a few more.
487 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
489 * src/ios.cc (ios_base::~ios_base): Tweak.
490 (ios_base::_M_call_callbacks): Deal with null __p.
491 (ios_base::ios_base): Set _M_callbacks.
492 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
493 * testsuite/27_io/ios_init.cc (test02): Fix.
495 * mkcheck.in (static_fail): Failed links go to output file.
497 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
499 * docs/html/faq/index.html: Update.
500 * docs/html/faq/index.txt: Regenerate.
502 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
504 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
505 * aclocal.m4: Regenerate.
506 * docs/html/configopts.html: Document --enable-symvers.
507 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
509 2002-02-22 Philipp Thomas <pthomas@suse.de>
511 * include/backward/tempbuf.h: get_temporary_buffer and
512 return_temporary_buffer are in namespace std, not in __gnu_cxx.
514 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
516 * configure.in (target_alias): Default to yes.
517 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
518 libgcc to default case.
520 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
522 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
523 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
524 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
525 * aclocal.m4: Regenerate.
526 * configure: Regenerate.
527 * config/linker-map.dummy: New file. Contains nothing useful.
529 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
531 * testsuite/22_locale/money_put_members_char.cc: Fix.
532 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
534 * testsuite/27_io/standard_manipulators.cc: New file.
536 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
537 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
539 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
541 * config/os/mingw32/bits/ctype_noninline.h
542 (ctype<char>::ctype): Remove default args from parm list.
543 * config/os/djgpp/bits/ctype_noninline.h: Same.
545 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
547 * include/std/std_iomanip.h: Inline, tweaks.
548 * config/linker-map.gnu: Remove hacks.
550 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
551 * testsuite/27_io/ios_init.cc: Same.
552 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
553 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
555 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
557 * config/linker-map.gnu: Export global vtable, typeinfo, guard
558 variable, and thunk info as per CXXABI docs.
560 2002-02-19 Loren Rittle <ljrittle@acm.org>
562 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
563 * include/Makefile.in: Rebuilt.
565 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
567 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
568 with size3 for the string collations of str5.
570 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
573 * include/bits/locale_facets.tcc (money_put::do_put):
574 For the space field use __fill instead of ' ', uniformly.
575 * testsuite/22_locale/money_put_members_char.cc:
576 Add test05 distilled from PR.
577 (test01-02-03): Trim some '*' to ' '.
578 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
580 2002-02-18 Loren Rittle <ljrittle@acm.org>
583 * include/Makefile.am (thread_builddir): Remove (map all
584 existing uses to target_builddir).
585 (thread_headers): Rename to...
586 (thread_target_headers): ...this.
587 (stamp-thread): Remove.
588 (stamp-target): Correctly state the position as built.
589 Update all dependencies to match the new reality. Remove all
590 dependency calculations on directories.
591 * include/Makefile.in: Rebuilt.
593 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
595 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
596 * include/bits/fstream.tcc: Same.
597 * include/bits/sstream.tcc: Same.
598 * include/bits/ostream.tcc: Same.
599 * include/bits/istream.tcc: Same.
600 * include/bits/streambuf.tcc: Same.
601 * include/bits/basic_ios.tcc: Same.
602 * include/bits/basic_string.tcc: Same.
604 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
606 * include/std/std_iosfwd.h: Don't guard typedefs with
608 * include/bits/stringfwd.h: Same.
610 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
612 * src/locale.cc (moneypunct_byname): Remove definitions.
613 * include/std/std_streambuf.h (streambuf::operator=): Return.
615 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
618 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
619 explicit instantiation.
620 (string::_Rep::_S_max_size): Same.
621 * include/bits/basic_string.tcc: Add extern explicit
622 instantiations for string, wstring.
623 * include/bits/basic_ios.tcc: Add extern explicit instantiations
625 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
626 * include/bits/istream.tcc: Same, for istream, wistream.
627 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
629 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
630 istringstream, wistringstream, ostringstream, wostringstream,
631 stringstream, wstringstream.
632 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
633 wifstream, ofstream, wofstream, fstream, wfstream.
634 * src/misc-inst.cc: Correct comments.
635 Add iomanip instantiations for wide streams.
636 * include/std/std_iomanip.h: Same.
637 * include/bits/locale_facets.tcc: Same.
639 * include/std/std_streambuf.h: Correct
640 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
641 * include/std/std_sstream.h: Same.
642 * include/std/std_ostream.h: Same.
643 * include/std/std_istream.h: Same.
644 * include/std/std_fstream.h: Same.
646 * include/std/std_streambuf.h: Add definitions for private copy
647 ctor and assignment operator.
648 * include/std/std_istream.h: Remove declared but undefined copy
649 ctor and assignment operator. This is taken care of in ios_base,
650 so adding it in the derived class as well is superfluous.
651 * include/std/std_ostream.h: Same.
653 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
654 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
656 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
658 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
659 Add typeinfo bits. Smooth.
660 * aclocal.m4: Regenerate.
662 * src/Makefile.in: Same.
664 2001-02-14 Joel Sherrill <joel@OARcorp.com>
666 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
667 which do not have a CAS instruction.
669 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
671 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
672 * configure.in: Call it.
673 * config/linker-map.gnu: New file, initial incomplete revision.
674 * src/Makefile.am: Optionally pass version script to the linker.
675 * aclocal.m4: Regenerate.
676 * configure: Regenerate.
677 * src/Makefile.in: Regenerate.
679 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
681 * src/localename.cc: Remove stdexcept include.
682 * src/locale-inst.cc: Same.
683 * src/locale.cc: Same.
684 * src/functexcept.cc: Remove string includes.
685 * include/std/std_bitset.h: Remove stdexcept include.
686 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
687 * testsuite/23_containers/bitset_ctor.cc: Same.
689 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
691 * include/bits/stl_algo (__stl_threshold): Declare external.
692 (__stl_chunk_size): Same.
693 * include/bits/stl_bvector.h (__WORD_BIT): Same.
694 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
695 (_S_rb_tree_black): Same.
696 * src/stl-inst.cc (__stl_threshold): Define.
697 (__stl_chunk_size): Same.
699 (_S_rb_tree_red): Same.
700 (_S_rb_tree_black): Same.
702 * config/io/basic_file_libio.h (__basic_file): Add declarations.
703 * include/bits/basic_file.h: Remove.
704 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
705 Declare generic types, specialization.
706 * config/io/basic_file_stdio.cc: Definitions.
707 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
708 Declare generic types.
709 * include/Makefile.am (bits_headers): Remove basic_file.h.
710 (extra_target_headers): Change basic_file_model.h to basic_file.h.
711 (stamp-target): Same.
713 * include/bits/stl_alloc.h: Tweaks.
714 * include/bits/localefwd.h: Same.
716 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
718 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
719 * testsuite/22_locale/collate_members_char.cc (test03): New test.
720 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
722 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
724 * include/bits/stl_algo.h (transform (both signatures), generate_n):
725 Use __typeof__ in concept checks.
727 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
729 * include/bits/stl_algo.h (__median, for_each, find, find_if,
730 adjacent_find, count, count_if, search, search_n, swap_ranges,
731 transform, replace, replace_if, replace_copy, replace_copy_if,
732 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
733 unique, unique_copy, reverse, reverse_copy): Doxygenate.
735 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
737 * include/bits/locale_facets.h
738 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
739 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
740 (__timepunct<_CharT>::_M_put_helper): Same.
741 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
743 * include/bits/fstream.tcc (filebuf::underflow): Remove
744 __codecvt_type typedef.
745 (filebuf::_M_convert_to_external): Same.
747 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
749 * docs/doxygen/TODO: Update.
750 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
751 * docs/doxygen/mainpage.html: Add TODO list link.
752 * docs/doxygen/user.cfg.in: Add @doctodo hook.
753 * docs/doxygen/tables.html: New file, emoty structure only.
755 * include/bits/stl_iterator.h: Doxygenate just about everything.
756 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
757 * include/bits/stl_iterator_base_types.h: Add notes.
759 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
761 * include/bits/stl_map.h: Tweak doxygen markup.
762 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
763 * include/bits/stl_vector.h: Likewise.
765 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
769 * include/std/std_fstream.h (filebuf::__file_type): Change to
771 (filebuf::_M_convert_to_external): Declare.
772 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
773 codecvt bits for wide streams.
774 (filebuf::_M_really_overflow): Use it.
775 (filebuf::underflow): Use codecvt.
776 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
777 (codecvt<__enc_traits>::do_out): Deal with partial.
778 (codecvt<__enc_traits>::do_encoding): Return something useful.
779 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
781 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
782 Change expected encoding output.
784 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
787 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
788 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
790 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
791 (basic_ios::widen): Same.
793 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
795 * testsuite/22_locale/money_get_members_char.cc:
796 Add comment, tidy up.
797 (test01): more "en_HK" tests (without showbase).
798 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
800 2002-02-06 Loren Rittle <ljrittle@acm.org>
802 * config/locale/c_locale_generic.cc: Do not trust
803 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
806 2002-02-06 Loren Rittle <ljrittle@acm.org>
808 * acinclude.m4: Add C++ linkage check for strtof.
809 * aclocal.m4: Rebuilt.
810 * config.h.in: Rebuilt.
811 * configure: Rebuilt.
812 * config/locale/c_locale_generic.cc: Conditionally include
813 <ieeefp.h>. Improve handling and error checking of float
814 and long double input for non-C99 configurations.
816 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
818 * include/bits/locale_facets.tcc (money_get::do_get(string)):
819 In case money_base::symbol deal properly with multi-char sign
820 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
821 * testsuite/22_locale/money_get_members_char.cc: Add test07.
822 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
824 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
826 * include/bits/locale_facets.tcc (money_get::do_get(string)):
827 First construct a tentative returned string, then, only if the
828 parsing succeeds, copy it into the string passed by reference.
829 * testsuite/22_locale/money_get_members_char.cc: Add test06.
830 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
832 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
834 * docs/doxygen/TODO: Impl-defined behavior now documented...
835 * docs/html/17_intro/howto.html: ...here.
836 * docs/doxygen/mainpage.doxy: Remove, rename...
837 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
838 * docs/doxygen/style.css: Add small text.
839 * docs/doxygen/run_doxygen: Adjust for new mainpage.
840 * docs/doxygen/user.cfg.in: Likewise.
842 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
844 * include/bits/stl_map.h: Initial doxygen markup.
845 * include/std/std_fstream.h: Initial doxygen markup.
847 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
850 * include/bits/locale_facets.tcc (money_get::do_get(string)):
851 Deal correctly with !(__io.flags() & ios_base::showbase)
852 for case money_base::symbol.
853 * testsuite/22_locale/money_get_members_char.cc: Add test05.
854 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
856 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
858 * testsuite/22_locale/operators.cc
859 (gnu_collate::do_compare()): Add return statement to
860 suppress "no return statement" warning.
862 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
864 * testsuite/27_io/ostream_manip.cc: Enable test02.
866 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
868 * docs/html/documentation.html: Update for 3.0.96.
869 * docs/html/faq/index.html: Update for 3.0.96.
870 * docs/html/faq/index.txt: Regenerated.
871 * docs/doxygen/TODO: Update notes.
872 * docs/html/17_intro/howto.html: Initial impl-specific listing.
874 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
876 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
877 Initialize all data members in copy ctor. Make ctors explicit.
878 (__enc_traits::__enc_traits()): Default ctor does nothing.
879 (__enc_traits::_M_init): Guard against multiple iconv_opens.
880 * include/std/std_sstream.h (basic_stringbuf): Make data members
882 * include/std/std_fstream.h (basic_filebuf): Same.
883 * include/std/std_streambuf.h: Tweak.
884 * include/bits/streambuf.tcc: Same.
885 * include/bits/sstream.tcc: Same.
886 * include/bits/fstream.tcc: Same.
888 2002-01-31 Loren Rittle <ljrittle@acm.org>
890 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
891 allow NULL argument to be passed to setenv().
892 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
893 * testsuite/22_locale/collate_members_char.cc: Likewise.
894 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
895 * testsuite/22_locale/ctype_members_char.cc: Likewise.
896 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
897 * testsuite/22_locale/messages_members_char.cc: Likewise.
898 * testsuite/22_locale/money_get_members_char.cc: Likewise.
899 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
900 * testsuite/22_locale/money_put_members_char.cc: Likewise.
901 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
902 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
903 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
904 * testsuite/22_locale/num_get_members_char.cc: Likewise.
905 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
906 * testsuite/22_locale/num_put_members_char.cc: Likewise.
907 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
908 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
909 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
910 * testsuite/22_locale/time_get_members_char.cc: Likewise.
911 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
912 * testsuite/22_locale/time_put_members_char.cc: Likewise.
913 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
915 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
917 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
919 * ChangeLog-2001: Fix spelling errors...
920 * docs/html/17_intro/RELEASE-NOTES: Update.
921 * docs/html/17_intro/TODO: Update.
922 * README (file): Update.
924 2002-01-30 Loren Rittle <ljrittle@acm.org>
926 * config/locale/c_locale_generic.cc: Check errno for ERANGE
927 instead of non-zero to aid portability.
929 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
931 * docs/html/22_locale/messages.html: Fix example code.
933 2002-01-30 Richard Henderson <rth@redhat.com>
935 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
936 out from test03 and templatize.
939 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
941 * config/locale/numpunct_members_gnu.cc
942 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
943 Fix initialization of _M_grouping for locales which have
944 _M_thousands_sep == '\0'(L'\0', respectively).
945 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
947 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
949 * testsuite/27_io/ostream_inserter_arith.cc (test03):
950 Better fix for 32/64 bit architectures, avoiding the
951 implicit assumption that CHAR_BIT == 8.
953 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
955 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
956 * Makefile.in: Regenerate.
958 * docs/doxygen/run_doxygen: Update, mostly for man pages.
959 * docs/doxygen/Intro.3: Update.
960 * docs/doxygen/TODO: Update.
961 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
962 * docs/doxygen/mainpage.doxy: Update.
963 * docs/doxygen/user.cfg.in: Update for header rename. Also
964 regenerate comments and variables with 1.2.12.
965 * docs/doxygen/maint.cfg.in: Remove file.
967 * include/bits/stl_relops.h: Doxygenate.
968 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
970 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
971 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
972 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
973 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
974 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
975 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
976 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
977 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
978 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
979 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
980 include/ext/hash_set, include/ext/iterator, include/ext/memory,
981 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
982 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
983 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
984 include/std/std_algorithm.h, include/std/std_bitset.h,
985 include/std/std_complex.h, include/std/std_deque.h,
986 include/std/std_fstream.h, include/std/std_functional.h,
987 include/std/std_iomanip.h, include/std/std_ios.h,
988 include/std/std_iosfwd.h, include/std/std_iostream.h,
989 include/std/std_istream.h, include/std/std_iterator.h,
990 include/std/std_limits.h, include/std/std_list.h,
991 include/std/std_locale.h, include/std/std_map.h,
992 include/std/std_memory.h, include/std/std_numeric.h,
993 include/std/std_ostream.h, include/std/std_queue.h,
994 include/std/std_set.h, include/std/std_sstream.h,
995 include/std/std_stack.h, include/std/std_stdexcept.h,
996 include/std/std_streambuf.h, include/std/std_string.h,
997 include/std/std_utility.h, include/std/std_valarray.h,
998 include/std/std_vector.h: Add/correct @file doxygen hook.
1000 * include/ext/memory: Doxygenate most of rest of file.
1001 * libsupc++/exception: Doxygen output formatting.
1002 * libsupc++/new: Say which header it is.
1004 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
1005 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
1006 * docs/html/23_containers/howto.html: Describe O(n) list::size().
1007 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
1009 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
1010 Charles Leggett <CGLeggett@lbl.gov>
1012 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
1014 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
1016 * testsuite/27_io/ostream_inserter_arith.cc (test03):
1017 Fix to deal correctly with both 32 bit and 64 bit architectures
1019 2002-01-25 Loren Rittle <ljrittle@acm.org>
1021 * testsuite/thread/pthread1.cc: Use one condition variable
1022 per predicate instead of tricky use of one condition variable.
1024 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
1026 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
1028 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
1029 * testsuite/27_io/filebuf.cc: Compile only.
1030 * testsuite/27_io/filebuf_members.cc: Move tests to here.
1031 * testsuite/27_io/filebuf_virtuals.cc: And here.
1032 Revert sungetc, sync changes for expected values.
1033 * testsuite/27_io/filebuf-*: Move to...
1034 * testsuite/27_io/filebuf_virtuals-*: ...here.
1035 * testsuite/27_io/istream.cc: Compile only, activate.
1036 * testsuite/27_io/ostream.cc: Same.
1037 * testsuite/27_io/iostream.cc: New.
1038 * testsuite/27_io/iostream_members.cc: New.
1040 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
1042 * testsuite/thread/pthread1.cc: Enable on cygwin.
1043 * testsuite/thread/pthread2.cc: Likewise.
1044 * testsuite/thread/pthread3.cc: Likewise.
1045 * testsuite/thread/pthread4.cc: Likewise.
1046 * testsuite/thread/pthread5.cc: Likewise.
1047 * testsuite/thread/pthread6.cc: Likewise.
1049 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
1051 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
1053 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
1055 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
1057 (basic_ios::fill(char_type)): Use fill().
1058 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
1059 (basic_ios::narrow): Same.
1060 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
1061 if they are invalid.
1062 (basic_ios::init): Comment.
1063 * testsuite/27_io/ios_init.cc (test02): New.
1065 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
1067 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
1068 * include/bits/stl_algo.h: Include stl_tempbuf.h.
1069 * include/ext/memory: Do not include stl_tempbuf.h.
1070 (temporary_buffer): Add doxygen hook.
1071 (__get_temporary_buffer, get_temporary_buffer,
1072 return_temporary_buffer): Move back to std:: header...
1073 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
1074 * include/ext/rope: Do not include stl_tempbuf.h.
1075 * include/ext/stl_hashtable.h: Likewise.
1076 * include/std/std_algorithm.h: Likewise.
1077 * testsuite/20_util/temporary_buffer.cc: New file.
1079 2002-01-24 andrew@andypo.net
1080 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
1083 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
1084 * include/bits/localefwd.h: Likewise.
1085 Also use for std::locale::id::_S_highwater.
1086 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
1087 * src/locale.cc: Support new usage of _Atomic_word.
1088 (std::locale::classic): Guard entire function against reentry.
1089 * src/localename.cc: Support new usage of _Atomic_word.
1091 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
1093 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
1094 _GLIBCPP_HAVE_SETENV.
1095 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
1096 * testsuite/22_locale/collate_members_char.cc (test02): Same.
1097 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
1098 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
1099 * testsuite/22_locale/messages_members_char.cc (test02): Same.
1100 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
1101 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
1102 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
1103 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
1104 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
1105 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
1106 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
1107 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
1108 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
1109 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
1110 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
1111 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
1112 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
1113 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
1114 * aclocal.m4: Regenerate.
1115 * configure: Regenerate.
1116 * config.h.in: Regenerate.
1118 2002-01-23 Loren Rittle <ljrittle@acm.org>
1120 * testsuite/thread/pthread1.cc: New test.
1121 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
1122 * testsuite/thread/pthread3.cc: Likewise.
1123 * testsuite/thread/pthread4.cc: New test adapted from
1124 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
1125 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
1126 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
1128 2002-01-23 Richard Henderson <rth@redhat.com>
1131 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
1132 CAS on the cpu variants that support it. Add versions that use
1133 TAS and that disable interrupts.
1134 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
1136 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
1138 * include/bits/locale_facets.tcc: Remove old comments.
1140 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
1142 * include/bits/locale_facets.tcc (__convert_to_v): Change template
1144 (__convert_from_v): Same.
1146 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
1148 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
1150 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
1151 __max_digits checks, adjust arguments.
1152 (num_get::do_get(*)): Changeup.
1154 2002-01-23 Loren Rittle <ljrittle@acm.org>
1156 * config/locale/c_locale_generic.cc: Fix typename usage.
1158 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1160 * config/locale/c_locale_generic.cc: Fix.
1162 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1164 * docs/html/22_locale/messages.html: Remove angle brackets.
1165 * docs/html/17_intro/TODO: Add.
1167 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
1169 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
1170 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
1171 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
1172 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
1174 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1176 Audit for LANG independence.
1177 * include/bits/localefwd.h: Tweaks.
1178 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
1180 (time_get::do_get_year): Same.
1181 (__convert_from_v): Add.
1182 (num_put::_M_convert_float): Use.
1183 (num_put::_M_convert_int): Same.
1184 (money_put::do_put): Same.
1186 * src/locale-inst.cc: Add instantiations for __convert_from_v.
1187 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
1188 * config/locale/time_members_generic.cc:
1189 * config/locale/messages_members_gnu.cc: Same.
1190 * config/locale/messages_members_gnu.h: Same.
1192 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
1193 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
1194 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
1195 * testsuite/22_locale/collate_members_char.cc (test02): New.
1196 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
1197 * testsuite/22_locale/ctype_members_char.cc (test03): New.
1198 * testsuite/22_locale/messages_members_char.cc (test02): New.
1199 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
1200 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
1201 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
1202 * testsuite/22_locale/money_get_members_char.cc (test04): New.
1203 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
1204 * testsuite/22_locale/money_put_members_char.cc (test04): New.
1205 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
1206 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
1207 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
1208 * testsuite/22_locale/time_put_members_char.cc (test03): New.
1209 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
1210 * testsuite/22_locale/time_get_members_char.cc (test07): New.
1211 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
1212 * testsuite/22_locale/num_get_members_char.cc (test03): New.
1213 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
1214 * testsuite/22_locale/num_put_members_char.cc (test03): New.
1216 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
1218 * testsuite/22_locale/time_get_members_char.cc: Same.
1220 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1223 * include/bits/localefwd.h: Tweak comments.
1224 * include/bits/locale_facets.h (__convert_to_v): Add.
1225 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
1226 (num_get::do_get(float)): Same.
1227 (num_get::do_get(long double)): Same.
1228 (num_get::do_get(bool)): Same.
1229 (num_get::do_get(long)): Same.
1230 (num_get::do_get(long long)): Same.
1231 (num_get::do_get(unsigned int)): Same.
1232 (num_get::do_get(unsigned short)): Same.
1233 (num_get::do_get(unsigned long)): Same.
1234 (num_get::do_get(unsigned long long)): Same.
1235 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
1236 * config/locale/c_locale_generic.cc: Same.
1238 2002-01-22 Loren Rittle <ljrittle@acm.org>
1240 * include/Makefile.am (c_base_builddir): Remove redundant slash.
1241 (std_builddir): Likewise.
1242 (std_headers_rename): Fix cut-n-paste typo.
1243 (install-data-local): Concat path per element instead of once to
1244 first element of list.
1245 * include/Makefile.in: Rebuilt.
1247 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
1249 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
1250 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
1251 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
1253 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
1255 * include/bits/locale_facets.h (ctype<char>::classic_table):
1257 (ctype<char>::_S_ctable): Remove.
1258 * config/os/gnu-linux/bits/ctype_noninline.h
1259 (ctype<char>::_S_table): Remove definition.
1260 (ctype<char>::classic_table): Define.
1261 (ctype<char>::ctype): Replace _S_ctable with classic_table().
1262 * config/os/aix/bits/ctype_noninline.h: Same.
1263 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1264 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1265 * config/os/djgpp/bits/ctype_noninline.h: Same.
1266 * config/os/generic/bits/ctype_noninline.h: Same.
1267 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1268 * config/os/hpux/bits/ctype_noninline.h: Same.
1269 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1270 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1271 * config/os/mingw32/bits/ctype_noninline.h: Same.
1272 * config/os/newlib/bits/ctype_noninline.h: Same.
1273 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1274 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1275 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1277 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
1279 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
1280 of _pctype. Use to define _S_ctable. Add definition for alternate
1281 ctor. Initialise _M_ctable to _S_ctable in ctors.
1282 (do_toupper, do_tolower): Use inline code appropriate for C-locale
1283 rather than ::toupper, ::tolower.
1285 2002-01-18 Loren Rittle <ljrittle@acm.org>
1287 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
1288 Add specialization for FreeBSD systems only to avoid losing test
1289 only due to extra precision unmentioned in system headers.
1291 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
1293 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
1295 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1297 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
1298 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
1300 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1302 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
1304 2002-01-17 David Edelsohn <edelsohn@gnu.org>
1306 * configure.target: Define OPT_LDFLAGS for AIX case.
1308 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1310 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
1311 __glibcpp_double_has_quiet_NaN): Correct mispelling.
1313 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
1315 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
1317 2002-01-16 David Edelsohn <dje@watson.ibm.com>
1319 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
1320 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
1321 * aclocal.m4: Regenerate.
1322 * configure: Regenerate.
1324 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1326 * include/Makefile.am (c_base_headers_rename): New.
1327 (c_base_headers_extra): New.
1328 (stamp-c_base): Modify.
1329 (install-data-local): Use both.
1330 * include/Makefile.in: Regenerate.
1331 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
1332 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
1333 cstdio ctime cwctype]: Move to..
1334 * include/c/std_*: Here.
1335 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
1336 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
1337 cstdio ctime cwctype]: Move to..
1338 * include/c_std/std_*: Here.
1340 Alexandre Oliva <aoliva@redhat.com>
1341 * include/Makefile.am (.PRECIOUS): Add rule.
1342 * include/Makefile.in: Regenerate.
1344 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1345 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1347 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
1348 Deuglify, should be current.
1349 (back_insert_iterator::_M_container): Deuglify, should be container.
1350 (front_insert_iterator::_M_container): Same.
1351 (insert_iterator::_M_container): Same.
1352 * testsuite/24_iterators/reverse_iterator.cc: Add check.
1353 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
1354 * testsuite/24_iterators/front_insert_iterator.cc: Same.
1355 * testsuite/24_iterators/insert_iterator.cc: Same.
1357 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1359 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
1361 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
1362 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
1363 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1364 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1365 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1366 * config/os/newlib/bits/ctype_noninline.h: Same.
1367 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1368 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1369 * config/os/hpux/bits/ctype_noninline.h: Same.
1370 * config/os/djgpp/bits/ctype_noninline.h: Same.
1371 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1372 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1373 * config/os/aix/bits/ctype_noninline.h: Same.
1375 Testcase by Dietmar Kühl via Peter Schmid
1376 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
1379 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
1381 * libmath/signbitl.c: Copyright years as list, not range.
1382 * libmath/Makefile.am: Same.
1383 * libmath/Makefie.in: Regenerate.
1384 * libmath/signbit.c: Same.
1385 * libmath/nan.c: Same.
1386 * libmath/copysignf.c: Same.
1387 * libmath/signbitf.c: Same.
1388 * testsuite/22_locale/money_get_members_char.cc: Same.
1389 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
1390 * testsuite/22_locale/money_put_members_char.cc: Same.
1391 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
1392 * testsuite/22_locale/time_get_members_char.cc: Same.
1393 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
1394 * testsuite/22_locale/time_put_members_char.cc: Same.
1395 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
1396 * testsuite/21_strings/nonmember.cc: Same.
1397 * testsuite/21_strings/compare.cc: Same.
1398 * testsuite/27_io/stringstream.cc: Same.
1399 * testsuite/27_io/stringbuf.cc: Same.
1400 * testsuite/27_io/filebuf.cc: Same.
1401 * testsuite/27_io/ios_manip_basefield.cc: Same.
1402 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
1403 * include/bits/cpp_type_traits.h: Same.
1404 * include/bits/generic_shadow.h: Same.
1405 * include/bits/gslice_array.h: Same.
1406 * include/bits/gslice.h: Same.
1407 * include/bits/indirect_array.h: Same.
1408 * include/bits/slice_array.h: Same.
1409 * include/bits/sstream.tcc: Same.
1410 * include/bits/streambuf_iterator.h: Same.
1411 * include/bits/valarray_array.tcc: Same.
1412 * include/bits/valarray_meta.h: Same.
1413 * include/bits/valarray_array.h: Same.
1414 * config/os/mingw32/bits/ctype_noninline.h: Same.
1415 * config/os/mingw32/bits/ctype_base.h: Same.
1416 * config/os/hpux/bits/ctype_noninline.h: Same.
1417 * config/os/hpux/bits/ctype_base.h: Same.
1418 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1419 * config/os/gnu-linux/bits/ctype_base.h: Same.
1420 * config/os/generic/bits/ctype_noninline.h: Same.
1421 * config/os/generic/bits/ctype_base.h: Same.
1423 * libsupc++/tinfo.h: Tweaks.
1425 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
1427 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
1428 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
1429 * testsuite/22_locale/ctype_members_char.cc: Tweak.
1431 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
1433 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
1434 (num_put::do_put(void*)): Fix.
1435 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
1436 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
1437 * testsuite/22_locale/num_get_members_char.cc (test02): Add
1438 long double, void, bool types.
1439 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
1441 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
1442 Alexandre Oliva <aoliva@redhat.com>
1444 * libmath/Makefile.am (LINK): Add --tag CC.
1445 * libmath/Makefile.in: Regenerate.
1447 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
1449 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
1450 of character to attribute mapping table.
1452 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
1454 * testsuite/26_numerics/c99_classification_macros_c.cc
1455 Remove dg-error and dg-excess-errors comments.
1457 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
1459 * include/bits/locale_facets.tcc (time_put::put): Correct output
1461 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
1462 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
1463 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
1464 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
1466 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
1468 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
1470 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
1471 Nathan Myers <ncm@cantrip.org>
1473 * include/bits/basic_string.h
1474 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
1475 temporaries (i.e., call _M_replace_safe) when possible.
1476 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
1477 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
1478 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
1479 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
1480 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
1481 * include/bits/basic_string.tcc
1482 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
1483 replace(__pos, __n1, __s, __n2).
1484 * testsuite/21_strings/replace.cc (test03): New testcases.
1486 * include/bits/basic_string.h (insert(__pos, __s, __n)):
1487 Adjust comparison wrt overflow.
1489 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
1491 * include/Makefile.am (std_headers_rename): New variable.
1492 (install-data-local): Use it.
1493 * include/Makefile.in: Regenerate.
1495 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
1497 * include/bits/locale_facets.tcc (money_put::do_put(string):
1498 Correct output iterator value.
1499 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
1500 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
1502 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
1504 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
1507 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
1509 * include/Makefile.am (std_headers): Update list with new names.
1510 (stamp-std): Link to standardized name.
1511 * include/Makefile.in: Regenerate.
1513 * include/std/algorithm, include/std/bitset, include/std/complex,
1514 include/std/deque, include/std/fstream, include/std/functional,
1515 include/std/iomanip, include/std/ios, include/std/iosfwd,
1516 include/std/iostream, include/std/istream, include/std/iterator,
1517 include/std/limits, include/std/list, include/std/locale,
1518 include/std/map, include/std/memory, include/std/numeric,
1519 include/std/ostream, include/std/queue, include/std/set,
1520 include/std/sstream, include/std/stack, include/std/stdexcept,
1521 include/std/streambuf, include/std/string, include/std/utility,
1522 include/std/valarray, include/std/vector: Rename to...
1524 * include/std/std_algorithm.h, include/std/std_bitset.h,
1525 include/std/std_complex.h, include/std/std_deque.h,
1526 include/std/std_fstream.h, include/std/std_functional.h,
1527 include/std/std_iomanip.h, include/std/std_ios.h,
1528 include/std/std_iosfwd.h, include/std/std_iostream.h,
1529 include/std/std_istream.h, include/std/std_iterator.h,
1530 include/std/std_limits.h, include/std/std_list.h,
1531 include/std/std_locale.h, include/std/std_map.h,
1532 include/std/std_memory.h, include/std/std_numeric.h,
1533 include/std/std_ostream.h, include/std/std_queue.h,
1534 include/std/std_set.h, include/std/std_sstream.h,
1535 include/std/std_stack.h, include/std/std_stdexcept.h,
1536 include/std/std_streambuf.h, include/std/std_string.h,
1537 include/std/std_utility.h, include/std/std_valarray.h,
1538 include/std/std_vector.h: ...this.
1540 2002-01-11 Loren Rittle <ljrittle@acm.org>
1542 * include/Makefile.am (extra_target_headers): New list of all
1543 target files built with ad hoc naming rules.
1544 (stamp-*): Handle LN_S failure in manner portable across make
1546 (install-data-local): Install header files from human-maintained
1547 file lists and directory components instead of non-robust find.
1548 * include/Makefile.in: Rebuilt.
1550 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
1552 * include/bits/locale_facets.tcc (money_get::do_get(string)):
1553 Check for zero-length negative sign before adding it to output
1555 (money_get::do_get(long double)): Return beg.
1556 * testsuite/22_locale/money_get_members_char.cc (test02): Add
1558 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
1560 2002-01-10 David Seymour <seymour_dj@yahoo.com>
1563 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
1564 for _M_extract_float and _M_extract_int
1565 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
1566 (num_get<>::_M_extract_int): Likewise, all callers changed
1567 * testsuite/22_locale/num_get_members_char.cc: Testcase
1569 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
1571 * libsupc++/exception (bad_exception): Add comment.
1572 * libsupc++/new (bad_alloc): Same.
1573 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
1575 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
1577 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
1578 that the destructors should be removed from the descriptions
1579 in the standard: writing them explicitly allows the vtable
1580 heuristic to work. For additional information see:
1581 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
1582 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
1583 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
1584 * libsupc++/exception (bad_exception::~bad_exception()):
1585 Reintroduce declaration.
1586 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
1587 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
1588 (bad_typeid::~bad_typeid()): Same.
1589 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
1590 Reintroduce definition.
1591 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
1592 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
1593 (bad_typeid::~bad_typeid()): Same.
1595 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
1597 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
1598 * include/Makefile.in: Regenerate.
1600 2002-01-09 Bo Thorsen <bo@suse.co.uk>
1602 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
1605 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
1609 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
1610 return value of _M_file->sync().
1611 (filebuf::showmanyc): Check for is_open.
1612 * include/std/fstream (filebuf::sync): Tweak.
1613 * testsuite/27_io/filebuf.cc: Tweak.
1615 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
1616 Brad Garcia <garsh@attbi.com>
1618 * testsuite/27_io/filebuf_members.cc: Add test.
1620 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
1621 Craig Rodrigues <rodrigc@mediaone.net>
1624 * po/Makefile.am (mkinstalldirs): Add.
1625 * po/Makefile.in: Regenerate.
1627 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
1629 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
1630 testsuite/lib/prune.exp: Delete lines ":In function ..." from
1632 * testsuite/23_containers/map_operators.cc: Remove
1633 dg-excess-errors comment.
1634 * testsuite/23_containers/set_operators.cc: Likewise.
1636 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
1638 * include/bits/stl_function.h: Remove two lines of comments;
1639 adjust copyright years.
1641 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
1643 * include/Makefile.am (std_headers): Remove cXXX from list.
1644 (c_base_srcdir): No bits subdirectory.
1645 (c_base_builddir): Same.
1646 (c_base_headers): Adjust names, add ciso646.
1647 (bits_headers): Remove std_xxx.h headers.
1648 * include/Makefile.in: Regenerate.
1650 * include/ext/iterator: Adjust includes.
1651 * include/ext/ropeimpl.h: Same.
1652 * include/ext/stl_hash_fun.h: Same.
1653 * include/ext/algorithm: Same.
1655 * include/backward/bvector.h: Adjust includes.
1656 * include/backward/vector.h: Same.
1657 * include/backward/strstream: Same.
1658 * include/backward/streambuf.h: Same.
1659 * include/backward/stack.h: Same.
1660 * include/backward/set.h: Same.
1661 * include/backward/queue.h: Same.
1662 * include/backward/multiset.h: Same.
1663 * include/backward/multimap.h: Same.
1664 * include/backward/map.h: Same.
1665 * include/backward/list.h: Same.
1666 * include/backward/iterator.h: Same.
1667 * include/backward/iostream.h: Same.
1668 * include/backward/iomanip.h: Same.
1669 * include/backward/fstream.h: Same.
1670 * include/backward/deque.h: Same.
1671 * include/backward/complex.h: Same.
1673 * include/bits/std_algorithm.h: Move to...
1674 * include/std/algorithm: ...here.
1675 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
1676 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
1677 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
1678 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
1679 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
1680 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
1681 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
1684 * include/c_std/bits/std_cassert.h: Move to...
1685 * include/c_std/cassert: Here.
1686 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
1687 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
1688 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
1689 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
1690 std_cwctype.h: Same.
1691 * include/c_std/cmath: Adjust cmath.tcc include.
1692 * include/c_std/cstdlib: Adjust includes.
1693 * include/c_std/cwchar: Same.
1694 * include/c_std/ctime: Same.
1695 * include/c_std/cstring: Same.
1696 * include/c_std/cstdio: Same.
1697 * include/c_std/bits: Remove directory.
1699 * include/c/bits/std_cassert.h: Move to...
1700 * include/c/cassert: Here.
1701 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
1702 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
1703 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
1704 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
1705 std_cwctype.h: Same.
1706 * include/c/bits: Remove directory.
1708 * include/std/cwctype: Remove.
1709 * include/std/cwchar: Remove.
1710 * include/std/ctime: Remove.
1711 * include/std/cstring: Remove.
1712 * include/std/cstdlib: Remove.
1713 * include/std/cstdio: Remove.
1714 * include/std/cstddef: Remove.
1715 * include/std/cstdarg: Remove.
1716 * include/std/csignal: Remove.
1717 * include/std/csetjmp: Remove.
1718 * include/std/cmath: Remove.
1719 * include/std/clocale: Remove.
1720 * include/std/climits: Remove.
1721 * include/std/ciso646: Remove.
1722 * include/std/cfloat: Remove.
1723 * include/std/cerrno: Remove.
1724 * include/std/cctype: Remove.
1725 * include/std/cassert: Remove.
1727 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
1728 files and subsituting <xxx>.
1729 * include/bits/valarray_array.h: Same.
1730 * include/bits/stl_uninitialized.h: Same.
1731 * include/bits/stl_alloc.h: Same.
1732 * include/bits/stl_algobase.h: Same.
1733 * include/bits/sstream.tcc: Same.
1734 * include/bits/pthread_allocimpl.h: Same.
1735 * include/bits/ostream.tcc: Same.
1736 * include/bits/localefwd.h: Same.
1737 * include/bits/locale_facets.tcc: Same.
1738 * include/bits/locale_facets.h: Same.
1739 * include/bits/istream.tcc: Same.
1740 * include/bits/char_traits.h: Same.
1741 * include/bits/boost_concept_check.h: Same.
1742 * include/bits/basic_file.h: Same.
1743 * include/std/bitset: Same.
1744 * include/std/complex: Same.
1745 * include/std/fstream: Same.
1746 * include/std/functional: Same.
1747 * include/std/ios: Same.
1748 * include/std/iostream: Same.
1749 * include/std/ostream: Same.
1750 * include/std/sstream: Same.
1751 * include/std/streambuf: Same.
1752 * include/std/string: Same.
1753 * include/std/iterator: Same.
1754 * include/std/valarray: Same.
1756 * src/ios.cc: Adjust includes.
1757 * src/valarray-inst.cc: Same.
1758 * src/string-inst.cc: Same.
1759 * src/stl-inst.cc: Same.
1760 * src/stdexcept.cc: Same.
1761 * src/misc-inst.cc: Same.
1762 * src/localename.cc: Same.
1763 * src/locale-inst.cc: Same.
1764 * src/locale.cc: Same.
1765 * src/limits.cc: Same.
1766 * src/concept-inst.cc: Same.
1767 * src/complex_io.cc: Same.
1768 * src/codecvt.cc: Same.
1769 * src/bitset.cc: Same.
1770 * src/cmath.cc: Same.
1772 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
1774 * include/bits/stl_tree.h (rb_tree): Move to...
1775 * include/ext/rb_tree: ...here, new file.
1776 * include/Makefile.am (ext_headers): Add new file.
1777 * include/Makefile.in: Regenerate.
1778 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
1779 return_temporary_buffer, struct temporary_buffer): Move to...
1780 * include/ext/memory: ...here.
1781 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
1782 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
1783 * include/backward/tree.h: Include <ext/rb_tree), tweak.
1785 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
1787 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
1788 * include/ext/numeric: ...here, new file.
1789 * include/bits/stl_function.h (identity_element, unary_compose,
1790 binary_compose, compose1, compose2, identity, select1st,
1791 select2nd, project1st + helper, project2nd + helper,
1792 constant_void_fun + helper, constant_unary_fun + helper,
1793 costant_binary_fun + helper, constant0, constant1, constant2,
1794 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
1795 * include/ext/functional: ...here, new file.
1796 * include/Makefile.am (ext_headers): Add new files.
1797 * include/Makefile.in: Regenerate.
1798 * testsuite/ext/headers.cc: Include <ext/numeric> and
1800 * include/backward/algo.h: Include <ext/numeric>, tweak.
1801 * include/backward/function.h: Include <ext/functional>, tweak.
1802 * include/ext/ropeimpl.h: Include <ext/numeric>.
1804 2002-01-03 Jeffrey A Law <law@redhat.com>
1806 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
1807 __strtoull declarations with __extension__.
1809 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
1811 * testsuite/lib/prune.exp: Correct regular expression for
1814 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
1816 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
1817 Change concept checks, as with lower_bound and PR 2054.
1818 * testsuite/ext/concept_checks.cc: Expand test to include those.
1820 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
1822 * include/bits/boost_concept_check.h: Import some changes from
1823 upsteam (Boost) version.
1825 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
1827 * include/bits/stl_algobase.h (copy_n + helpers,
1828 lexicographical_compare_3way + helpers): Move to...
1829 * include/ext/algorithm: ...here.
1830 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
1831 helpers): Move to...
1832 * include/ext/memory: ...here, new file.
1833 * include/Makefile.am (ext_headers): Add new file.
1834 * include/Makefile.in: Regenerate.
1835 * testsuite/ext/headers.cc: Include <ext/memory>.
1836 * include/backward/algobase.h: Include <ext/memory> and
1837 <ext/algorithm>, tweak.
1838 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
1839 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
1841 2002-01-01 Roger Sayle <roger@eyesopen.com>
1843 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
1844 equivalent ___builtin__ versions.
1846 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
1847 are available in libstdc++ as the necessary stub implementations
1848 are provided by libmath/stubs.c.
1850 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
1852 * configure.in: Add support for NetBSD cross compiles.
1853 * configure: Regenerate.