1 2002-01-30 Loren Rittle <ljrittle@acm.org>
3 * config/locale/c_locale_generic.cc: Check errno for ERANGE
4 instead of non-zero to aid portability.
6 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
8 * docs/html/22_locale/messages.html: Fix example code.
10 2002-01-30 Richard Henderson <rth@redhat.com>
12 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
13 out from test03 and templatize.
16 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
18 * config/locale/numpunct_members_gnu.cc
19 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
20 Fix initialization of _M_grouping for locales which have
21 _M_thousands_sep == '\0'(L'\0', respectively).
22 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
24 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
26 * testsuite/27_io/ostream_inserter_arith.cc (test03):
27 Better fix for 32/64 bit architectures, avoiding the
28 implicit assumption that CHAR_BIT == 8.
30 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
32 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
33 * Makefile.in: Regenerate.
35 * docs/doxygen/run_doxygen: Update, mostly for man pages.
36 * docs/doxygen/Intro.3: Update.
37 * docs/doxygen/TODO: Update.
38 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
39 * docs/doxygen/mainpage.doxy: Update.
40 * docs/doxygen/user.cfg.in: Update for header rename. Also
41 regenerate comments and variables with 1.2.12.
42 * docs/doxygen/maint.cfg.in: Remove file.
44 * include/bits/stl_relops.h: Doxygenate.
45 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
47 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
48 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
49 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
50 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
51 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
52 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
53 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
54 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
55 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
56 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
57 include/ext/hash_set, include/ext/iterator, include/ext/memory,
58 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
59 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
60 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
61 include/std/std_algorithm.h, include/std/std_bitset.h,
62 include/std/std_complex.h, include/std/std_deque.h,
63 include/std/std_fstream.h, include/std/std_functional.h,
64 include/std/std_iomanip.h, include/std/std_ios.h,
65 include/std/std_iosfwd.h, include/std/std_iostream.h,
66 include/std/std_istream.h, include/std/std_iterator.h,
67 include/std/std_limits.h, include/std/std_list.h,
68 include/std/std_locale.h, include/std/std_map.h,
69 include/std/std_memory.h, include/std/std_numeric.h,
70 include/std/std_ostream.h, include/std/std_queue.h,
71 include/std/std_set.h, include/std/std_sstream.h,
72 include/std/std_stack.h, include/std/std_stdexcept.h,
73 include/std/std_streambuf.h, include/std/std_string.h,
74 include/std/std_utility.h, include/std/std_valarray.h,
75 include/std/std_vector.h: Add/correct @file doxygen hook.
77 * include/ext/memory: Doxygenate most of rest of file.
78 * libsupc++/exception: Doxygen output formatting.
79 * libsupc++/new: Say which header it is.
81 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
82 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
83 * docs/html/23_containers/howto.html: Describe O(n) list::size().
84 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
86 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
87 Charles Leggett <CGLeggett@lbl.gov>
89 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
91 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
93 * testsuite/27_io/ostream_inserter_arith.cc (test03):
94 Fix to deal correctly with both 32 bit and 64 bit architectures
96 2002-01-25 Loren Rittle <ljrittle@acm.org>
98 * testsuite/thread/pthread1.cc: Use one condition variable
99 per predicate instead of tricky use of one condition variable.
101 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
103 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
105 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
106 * testsuite/27_io/filebuf.cc: Compile only.
107 * testsuite/27_io/filebuf_members.cc: Move tests to here.
108 * testsuite/27_io/filebuf_virtuals.cc: And here.
109 Revert sungetc, sync changes for expected values.
110 * testsuite/27_io/filebuf-*: Move to...
111 * testsuite/27_io/filebuf_virtuals-*: ...here.
112 * testsuite/27_io/istream.cc: Compile only, activate.
113 * testsuite/27_io/ostream.cc: Same.
114 * testsuite/27_io/iostream.cc: New.
115 * testsuite/27_io/iostream_members.cc: New.
117 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
119 * testsuite/thread/pthread1.cc: Enable on cygwin.
120 * testsuite/thread/pthread2.cc: Likewise.
121 * testsuite/thread/pthread3.cc: Likewise.
122 * testsuite/thread/pthread4.cc: Likewise.
123 * testsuite/thread/pthread5.cc: Likewise.
124 * testsuite/thread/pthread6.cc: Likewise.
126 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
128 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
130 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
132 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
134 (basic_ios::fill(char_type)): Use fill().
135 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
136 (basic_ios::narrow): Same.
137 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
139 (basic_ios::init): Comment.
140 * testsuite/27_io/ios_init.cc (test02): New.
142 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
144 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
145 * include/bits/stl_algo.h: Include stl_tempbuf.h.
146 * include/ext/memory: Do not include stl_tempbuf.h.
147 (temporary_buffer): Add doxygen hook.
148 (__get_temporary_buffer, get_temporary_buffer,
149 return_temporary_buffer): Move back to std:: header...
150 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
151 * include/ext/rope: Do not include stl_tempbuf.h.
152 * include/ext/stl_hashtable.h: Likewise.
153 * include/std/std_algorithm.h: Likewise.
154 * testsuite/20_util/temporary_buffer.cc: New file.
156 2002-01-24 andrew@andypo.net
157 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
160 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
161 * include/bits/localefwd.h: Likewise.
162 Also use for std::locale::id::_S_highwater.
163 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
164 * src/locale.cc: Support new usage of _Atomic_word.
165 (std::locale::classic): Guard entire function against reentry.
166 * src/localename.cc: Support new usage of _Atomic_word.
168 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
170 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
171 _GLIBCPP_HAVE_SETENV.
172 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
173 * testsuite/22_locale/collate_members_char.cc (test02): Same.
174 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
175 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
176 * testsuite/22_locale/messages_members_char.cc (test02): Same.
177 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
178 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
179 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
180 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
181 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
182 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
183 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
184 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
185 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
186 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
187 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
188 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
189 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
190 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
191 * aclocal.m4: Regenerate.
192 * configure: Regenerate.
193 * config.h.in: Regenerate.
195 2002-01-23 Loren Rittle <ljrittle@acm.org>
197 * testsuite/thread/pthread1.cc: New test.
198 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
199 * testsuite/thread/pthread3.cc: Likewise.
200 * testsuite/thread/pthread4.cc: New test adapted from
201 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
202 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
203 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
205 2002-01-23 Richard Henderson <rth@redhat.com>
208 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
209 CAS on the cpu variants that support it. Add versions that use
210 TAS and that disable interrupts.
211 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
213 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
215 * include/bits/locale_facets.tcc: Remove old comments.
217 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
219 * include/bits/locale_facets.tcc (__convert_to_v): Change template
221 (__convert_from_v): Same.
223 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
225 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
227 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
228 __max_digits checks, adjust arguments.
229 (num_get::do_get(*)): Changeup.
231 2002-01-23 Loren Rittle <ljrittle@acm.org>
233 * config/locale/c_locale_generic.cc: Fix typename usage.
235 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
237 * config/locale/c_locale_generic.cc: Fix.
239 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
241 * docs/html/22_locale/messages.html: Remove angle brackets.
242 * docs/html/17_intro/TODO: Add.
244 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
246 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
247 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
248 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
249 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
251 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
253 Audit for LANG independence.
254 * include/bits/localefwd.h: Tweaks.
255 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
257 (time_get::do_get_year): Same.
258 (__convert_from_v): Add.
259 (num_put::_M_convert_float): Use.
260 (num_put::_M_convert_int): Same.
261 (money_put::do_put): Same.
263 * src/locale-inst.cc: Add instantiations for __convert_from_v.
264 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
265 * config/locale/time_members_generic.cc:
266 * config/locale/messages_members_gnu.cc: Same.
267 * config/locale/messages_members_gnu.h: Same.
269 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
270 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
271 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
272 * testsuite/22_locale/collate_members_char.cc (test02): New.
273 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
274 * testsuite/22_locale/ctype_members_char.cc (test03): New.
275 * testsuite/22_locale/messages_members_char.cc (test02): New.
276 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
277 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
278 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
279 * testsuite/22_locale/money_get_members_char.cc (test04): New.
280 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
281 * testsuite/22_locale/money_put_members_char.cc (test04): New.
282 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
283 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
284 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
285 * testsuite/22_locale/time_put_members_char.cc (test03): New.
286 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
287 * testsuite/22_locale/time_get_members_char.cc (test07): New.
288 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
289 * testsuite/22_locale/num_get_members_char.cc (test03): New.
290 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
291 * testsuite/22_locale/num_put_members_char.cc (test03): New.
293 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
295 * testsuite/22_locale/time_get_members_char.cc: Same.
297 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
300 * include/bits/localefwd.h: Tweak comments.
301 * include/bits/locale_facets.h (__convert_to_v): Add.
302 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
303 (num_get::do_get(float)): Same.
304 (num_get::do_get(long double)): Same.
305 (num_get::do_get(bool)): Same.
306 (num_get::do_get(long)): Same.
307 (num_get::do_get(long long)): Same.
308 (num_get::do_get(unsigned int)): Same.
309 (num_get::do_get(unsigned short)): Same.
310 (num_get::do_get(unsigned long)): Same.
311 (num_get::do_get(unsigned long long)): Same.
312 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
313 * config/locale/c_locale_generic.cc: Same.
315 2002-01-22 Loren Rittle <ljrittle@acm.org>
317 * include/Makefile.am (c_base_builddir): Remove redundant slash.
318 (std_builddir): Likewise.
319 (std_headers_rename): Fix cut-n-paste typo.
320 (install-data-local): Concat path per element instead of once to
321 first element of list.
322 * include/Makefile.in: Rebuilt.
324 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
326 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
327 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
328 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
330 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
332 * include/bits/locale_facets.h (ctype<char>::classic_table):
334 (ctype<char>::_S_ctable): Remove.
335 * config/os/gnu-linux/bits/ctype_noninline.h
336 (ctype<char>::_S_table): Remove definition.
337 (ctype<char>::classic_table): Define.
338 (ctype<char>::ctype): Replace _S_ctable with classic_table().
339 * config/os/aix/bits/ctype_noninline.h: Same.
340 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
341 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
342 * config/os/djgpp/bits/ctype_noninline.h: Same.
343 * config/os/generic/bits/ctype_noninline.h: Same.
344 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
345 * config/os/hpux/bits/ctype_noninline.h: Same.
346 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
347 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
348 * config/os/mingw32/bits/ctype_noninline.h: Same.
349 * config/os/newlib/bits/ctype_noninline.h: Same.
350 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
351 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
352 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
354 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
356 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
357 of _pctype. Use to define _S_ctable. Add definition for alternate
358 ctor. Initialise _M_ctable to _S_ctable in ctors.
359 (do_toupper, do_tolower): Use inline code appropriate for C-locale
360 rather than ::toupper, ::tolower.
362 2002-01-18 Loren Rittle <ljrittle@acm.org>
364 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
365 Add specialization for FreeBSD systems only to avoid losing test
366 only due to extra precision unmentioned in system headers.
368 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
370 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
372 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
374 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
375 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
377 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
379 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
381 2002-01-17 David Edelsohn <edelsohn@gnu.org>
383 * configure.target: Define OPT_LDFLAGS for AIX case.
385 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
387 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
388 __glibcpp_double_has_quiet_NaN): Correct mispelling.
390 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
392 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
394 2002-01-16 David Edelsohn <dje@watson.ibm.com>
396 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
397 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
398 * aclocal.m4: Regenerate.
399 * configure: Regenerate.
401 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
403 * include/Makefile.am (c_base_headers_rename): New.
404 (c_base_headers_extra): New.
405 (stamp-c_base): Modify.
406 (install-data-local): Use both.
407 * include/Makefile.in: Regenerate.
408 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
409 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
410 cstdio ctime cwctype]: Move to..
411 * include/c/std_*: Here.
412 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
413 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
414 cstdio ctime cwctype]: Move to..
415 * include/c_std/std_*: Here.
417 Alexandre Oliva <aoliva@redhat.com>
418 * include/Makefile.am (.PRECIOUS): Add rule.
419 * include/Makefile.in: Regenerate.
421 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
422 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
424 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
425 Deuglify, should be current.
426 (back_insert_iterator::_M_container): Deuglify, should be container.
427 (front_insert_iterator::_M_container): Same.
428 (insert_iterator::_M_container): Same.
429 * testsuite/24_iterators/reverse_iterator.cc: Add check.
430 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
431 * testsuite/24_iterators/front_insert_iterator.cc: Same.
432 * testsuite/24_iterators/insert_iterator.cc: Same.
434 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
436 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
438 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
439 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
440 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
441 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
442 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
443 * config/os/newlib/bits/ctype_noninline.h: Same.
444 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
445 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
446 * config/os/hpux/bits/ctype_noninline.h: Same.
447 * config/os/djgpp/bits/ctype_noninline.h: Same.
448 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
449 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
450 * config/os/aix/bits/ctype_noninline.h: Same.
452 Testcase by Dietmar Kühl via Peter Schmid
453 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
456 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
458 * libmath/signbitl.c: Copyright years as list, not range.
459 * libmath/Makefile.am: Same.
460 * libmath/Makefie.in: Regenerate.
461 * libmath/signbit.c: Same.
462 * libmath/nan.c: Same.
463 * libmath/copysignf.c: Same.
464 * libmath/signbitf.c: Same.
465 * testsuite/22_locale/money_get_members_char.cc: Same.
466 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
467 * testsuite/22_locale/money_put_members_char.cc: Same.
468 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
469 * testsuite/22_locale/time_get_members_char.cc: Same.
470 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
471 * testsuite/22_locale/time_put_members_char.cc: Same.
472 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
473 * testsuite/21_strings/nonmember.cc: Same.
474 * testsuite/21_strings/compare.cc: Same.
475 * testsuite/27_io/stringstream.cc: Same.
476 * testsuite/27_io/stringbuf.cc: Same.
477 * testsuite/27_io/filebuf.cc: Same.
478 * testsuite/27_io/ios_manip_basefield.cc: Same.
479 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
480 * include/bits/cpp_type_traits.h: Same.
481 * include/bits/generic_shadow.h: Same.
482 * include/bits/gslice_array.h: Same.
483 * include/bits/gslice.h: Same.
484 * include/bits/indirect_array.h: Same.
485 * include/bits/slice_array.h: Same.
486 * include/bits/sstream.tcc: Same.
487 * include/bits/streambuf_iterator.h: Same.
488 * include/bits/valarray_array.tcc: Same.
489 * include/bits/valarray_meta.h: Same.
490 * include/bits/valarray_array.h: Same.
491 * config/os/mingw32/bits/ctype_noninline.h: Same.
492 * config/os/mingw32/bits/ctype_base.h: Same.
493 * config/os/hpux/bits/ctype_noninline.h: Same.
494 * config/os/hpux/bits/ctype_base.h: Same.
495 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
496 * config/os/gnu-linux/bits/ctype_base.h: Same.
497 * config/os/generic/bits/ctype_noninline.h: Same.
498 * config/os/generic/bits/ctype_base.h: Same.
500 * libsupc++/tinfo.h: Tweaks.
502 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
504 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
505 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
506 * testsuite/22_locale/ctype_members_char.cc: Tweak.
508 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
510 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
511 (num_put::do_put(void*)): Fix.
512 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
513 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
514 * testsuite/22_locale/num_get_members_char.cc (test02): Add
515 long double, void, bool types.
516 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
518 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
519 Alexandre Oliva <aoliva@redhat.com>
521 * libmath/Makefile.am (LINK): Add --tag CC.
522 * libmath/Makefile.in: Regenerate.
524 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
526 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
527 of character to attribute mapping table.
529 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
531 * testsuite/26_numerics/c99_classification_macros_c.cc
532 Remove dg-error and dg-excess-errors comments.
534 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
536 * include/bits/locale_facets.tcc (time_put::put): Correct output
538 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
539 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
540 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
541 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
543 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
545 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
547 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
548 Nathan Myers <ncm@cantrip.org>
550 * include/bits/basic_string.h
551 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
552 temporaries (i.e., call _M_replace_safe) when possible.
553 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
554 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
555 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
556 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
557 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
558 * include/bits/basic_string.tcc
559 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
560 replace(__pos, __n1, __s, __n2).
561 * testsuite/21_strings/replace.cc (test03): New testcases.
563 * include/bits/basic_string.h (insert(__pos, __s, __n)):
564 Adjust comparison wrt overflow.
566 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
568 * include/Makefile.am (std_headers_rename): New variable.
569 (install-data-local): Use it.
570 * include/Makefile.in: Regenerate.
572 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
574 * include/bits/locale_facets.tcc (money_put::do_put(string):
575 Correct output iterator value.
576 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
577 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
579 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
581 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
584 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
586 * include/Makefile.am (std_headers): Update list with new names.
587 (stamp-std): Link to standardized name.
588 * include/Makefile.in: Regenerate.
590 * include/std/algorithm, include/std/bitset, include/std/complex,
591 include/std/deque, include/std/fstream, include/std/functional,
592 include/std/iomanip, include/std/ios, include/std/iosfwd,
593 include/std/iostream, include/std/istream, include/std/iterator,
594 include/std/limits, include/std/list, include/std/locale,
595 include/std/map, include/std/memory, include/std/numeric,
596 include/std/ostream, include/std/queue, include/std/set,
597 include/std/sstream, include/std/stack, include/std/stdexcept,
598 include/std/streambuf, include/std/string, include/std/utility,
599 include/std/valarray, include/std/vector: Rename to...
601 * include/std/std_algorithm.h, include/std/std_bitset.h,
602 include/std/std_complex.h, include/std/std_deque.h,
603 include/std/std_fstream.h, include/std/std_functional.h,
604 include/std/std_iomanip.h, include/std/std_ios.h,
605 include/std/std_iosfwd.h, include/std/std_iostream.h,
606 include/std/std_istream.h, include/std/std_iterator.h,
607 include/std/std_limits.h, include/std/std_list.h,
608 include/std/std_locale.h, include/std/std_map.h,
609 include/std/std_memory.h, include/std/std_numeric.h,
610 include/std/std_ostream.h, include/std/std_queue.h,
611 include/std/std_set.h, include/std/std_sstream.h,
612 include/std/std_stack.h, include/std/std_stdexcept.h,
613 include/std/std_streambuf.h, include/std/std_string.h,
614 include/std/std_utility.h, include/std/std_valarray.h,
615 include/std/std_vector.h: ...this.
617 2002-01-11 Loren Rittle <ljrittle@acm.org>
619 * include/Makefile.am (extra_target_headers): New list of all
620 target files built with ad hoc naming rules.
621 (stamp-*): Handle LN_S failure in manner portable across make
623 (install-data-local): Install header files from human-maintained
624 file lists and directory components instead of non-robust find.
625 * include/Makefile.in: Rebuilt.
627 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
629 * include/bits/locale_facets.tcc (money_get::do_get(string)):
630 Check for zero-length negative sign before adding it to output
632 (money_get::do_get(long double)): Return beg.
633 * testsuite/22_locale/money_get_members_char.cc (test02): Add
635 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
637 2002-01-10 David Seymour <seymour_dj@yahoo.com>
640 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
641 for _M_extract_float and _M_extract_int
642 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
643 (num_get<>::_M_extract_int): Likewise, all callers changed
644 * testsuite/22_locale/num_get_members_char.cc: Testcase
646 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
648 * libsupc++/exception (bad_exception): Add comment.
649 * libsupc++/new (bad_alloc): Same.
650 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
652 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
654 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
655 that the destructors should be removed from the descriptions
656 in the standard: writing them explicitly allows the vtable
657 heuristic to work. For additional information see:
658 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
659 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
660 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
661 * libsupc++/exception (bad_exception::~bad_exception()):
662 Reintroduce declaration.
663 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
664 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
665 (bad_typeid::~bad_typeid()): Same.
666 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
667 Reintroduce definition.
668 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
669 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
670 (bad_typeid::~bad_typeid()): Same.
672 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
674 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
675 * include/Makefile.in: Regenerate.
677 2002-01-09 Bo Thorsen <bo@suse.co.uk>
679 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
682 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
686 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
687 return value of _M_file->sync().
688 (filebuf::showmanyc): Check for is_open.
689 * include/std/fstream (filebuf::sync): Tweak.
690 * testsuite/27_io/filebuf.cc: Tweak.
692 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
693 Brad Garcia <garsh@attbi.com>
695 * testsuite/27_io/filebuf_members.cc: Add test.
697 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
698 Craig Rodrigues <rodrigc@mediaone.net>
701 * po/Makefile.am (mkinstalldirs): Add.
702 * po/Makefile.in: Regenerate.
704 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
706 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
707 testsuite/lib/prune.exp: Delete lines ":In function ..." from
709 * testsuite/23_containers/map_operators.cc: Remove
710 dg-excess-errors comment.
711 * testsuite/23_containers/set_operators.cc: Likewise.
713 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
715 * include/bits/stl_function.h: Remove two lines of comments;
716 adjust copyright years.
718 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
720 * include/Makefile.am (std_headers): Remove cXXX from list.
721 (c_base_srcdir): No bits subdirectory.
722 (c_base_builddir): Same.
723 (c_base_headers): Adjust names, add ciso646.
724 (bits_headers): Remove std_xxx.h headers.
725 * include/Makefile.in: Regenerate.
727 * include/ext/iterator: Adjust includes.
728 * include/ext/ropeimpl.h: Same.
729 * include/ext/stl_hash_fun.h: Same.
730 * include/ext/algorithm: Same.
732 * include/backward/bvector.h: Adjust includes.
733 * include/backward/vector.h: Same.
734 * include/backward/strstream: Same.
735 * include/backward/streambuf.h: Same.
736 * include/backward/stack.h: Same.
737 * include/backward/set.h: Same.
738 * include/backward/queue.h: Same.
739 * include/backward/multiset.h: Same.
740 * include/backward/multimap.h: Same.
741 * include/backward/map.h: Same.
742 * include/backward/list.h: Same.
743 * include/backward/iterator.h: Same.
744 * include/backward/iostream.h: Same.
745 * include/backward/iomanip.h: Same.
746 * include/backward/fstream.h: Same.
747 * include/backward/deque.h: Same.
748 * include/backward/complex.h: Same.
750 * include/bits/std_algorithm.h: Move to...
751 * include/std/algorithm: ...here.
752 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
753 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
754 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
755 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
756 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
757 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
758 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
761 * include/c_std/bits/std_cassert.h: Move to...
762 * include/c_std/cassert: Here.
763 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
764 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
765 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
766 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
768 * include/c_std/cmath: Adjust cmath.tcc include.
769 * include/c_std/cstdlib: Adjust includes.
770 * include/c_std/cwchar: Same.
771 * include/c_std/ctime: Same.
772 * include/c_std/cstring: Same.
773 * include/c_std/cstdio: Same.
774 * include/c_std/bits: Remove directory.
776 * include/c/bits/std_cassert.h: Move to...
777 * include/c/cassert: Here.
778 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
779 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
780 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
781 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
783 * include/c/bits: Remove directory.
785 * include/std/cwctype: Remove.
786 * include/std/cwchar: Remove.
787 * include/std/ctime: Remove.
788 * include/std/cstring: Remove.
789 * include/std/cstdlib: Remove.
790 * include/std/cstdio: Remove.
791 * include/std/cstddef: Remove.
792 * include/std/cstdarg: Remove.
793 * include/std/csignal: Remove.
794 * include/std/csetjmp: Remove.
795 * include/std/cmath: Remove.
796 * include/std/clocale: Remove.
797 * include/std/climits: Remove.
798 * include/std/ciso646: Remove.
799 * include/std/cfloat: Remove.
800 * include/std/cerrno: Remove.
801 * include/std/cctype: Remove.
802 * include/std/cassert: Remove.
804 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
805 files and subsituting <xxx>.
806 * include/bits/valarray_array.h: Same.
807 * include/bits/stl_uninitialized.h: Same.
808 * include/bits/stl_alloc.h: Same.
809 * include/bits/stl_algobase.h: Same.
810 * include/bits/sstream.tcc: Same.
811 * include/bits/pthread_allocimpl.h: Same.
812 * include/bits/ostream.tcc: Same.
813 * include/bits/localefwd.h: Same.
814 * include/bits/locale_facets.tcc: Same.
815 * include/bits/locale_facets.h: Same.
816 * include/bits/istream.tcc: Same.
817 * include/bits/char_traits.h: Same.
818 * include/bits/boost_concept_check.h: Same.
819 * include/bits/basic_file.h: Same.
820 * include/std/bitset: Same.
821 * include/std/complex: Same.
822 * include/std/fstream: Same.
823 * include/std/functional: Same.
824 * include/std/ios: Same.
825 * include/std/iostream: Same.
826 * include/std/ostream: Same.
827 * include/std/sstream: Same.
828 * include/std/streambuf: Same.
829 * include/std/string: Same.
830 * include/std/iterator: Same.
831 * include/std/valarray: Same.
833 * src/ios.cc: Adjust includes.
834 * src/valarray-inst.cc: Same.
835 * src/string-inst.cc: Same.
836 * src/stl-inst.cc: Same.
837 * src/stdexcept.cc: Same.
838 * src/misc-inst.cc: Same.
839 * src/localename.cc: Same.
840 * src/locale-inst.cc: Same.
841 * src/locale.cc: Same.
842 * src/limits.cc: Same.
843 * src/concept-inst.cc: Same.
844 * src/complex_io.cc: Same.
845 * src/codecvt.cc: Same.
846 * src/bitset.cc: Same.
847 * src/cmath.cc: Same.
849 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
851 * include/bits/stl_tree.h (rb_tree): Move to...
852 * include/ext/rb_tree: ...here, new file.
853 * include/Makefile.am (ext_headers): Add new file.
854 * include/Makefile.in: Regenerate.
855 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
856 return_temporary_buffer, struct temporary_buffer): Move to...
857 * include/ext/memory: ...here.
858 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
859 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
860 * include/backward/tree.h: Include <ext/rb_tree), tweak.
862 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
864 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
865 * include/ext/numeric: ...here, new file.
866 * include/bits/stl_function.h (identity_element, unary_compose,
867 binary_compose, compose1, compose2, identity, select1st,
868 select2nd, project1st + helper, project2nd + helper,
869 constant_void_fun + helper, constant_unary_fun + helper,
870 costant_binary_fun + helper, constant0, constant1, constant2,
871 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
872 * include/ext/functional: ...here, new file.
873 * include/Makefile.am (ext_headers): Add new files.
874 * include/Makefile.in: Regenerate.
875 * testsuite/ext/headers.cc: Include <ext/numeric> and
877 * include/backward/algo.h: Include <ext/numeric>, tweak.
878 * include/backward/function.h: Include <ext/functional>, tweak.
879 * include/ext/ropeimpl.h: Include <ext/numeric>.
881 2002-01-03 Jeffrey A Law <law@redhat.com>
883 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
884 __strtoull declarations with __extension__.
886 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
888 * testsuite/lib/prune.exp: Correct regular expression for
891 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
893 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
894 Change concept checks, as with lower_bound and PR 2054.
895 * testsuite/ext/concept_checks.cc: Expand test to include those.
897 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
899 * include/bits/boost_concept_check.h: Import some changes from
900 upsteam (Boost) version.
902 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
904 * include/bits/stl_algobase.h (copy_n + helpers,
905 lexicographical_compare_3way + helpers): Move to...
906 * include/ext/algorithm: ...here.
907 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
909 * include/ext/memory: ...here, new file.
910 * include/Makefile.am (ext_headers): Add new file.
911 * include/Makefile.in: Regenerate.
912 * testsuite/ext/headers.cc: Include <ext/memory>.
913 * include/backward/algobase.h: Include <ext/memory> and
914 <ext/algorithm>, tweak.
915 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
916 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
918 2002-01-01 Roger Sayle <roger@eyesopen.com>
920 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
921 equivalent ___builtin__ versions.
923 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
924 are available in libstdc++ as the necessary stub implementations
925 are provided by libmath/stubs.c.
927 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
929 * configure.in: Add support for NetBSD cross compiles.
930 * configure: Regenerate.