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