1 2002-09-18 Loren J. Rittle <ljrittle@acm.org>
3 * testsuite/18_support/numeric_limits.cc (test_epsilon): New.
5 2002-09-18 Richard Henderson <rth@redhat.com>
7 * testsuite/18_support/numeric_limits.cc: Add -mieee for alpha.
9 2002-09-16 Benjamin Kosnik <bkoz@redhat.com>
11 * include/c_shadow: Remove.
12 * include/bits/generic_shadow.h: Remove.
13 * include/Makefile.am: Remove generic_shadow.h.
14 * acinclude.m4: Remove c_shadow references.
15 * aclocal.m4: Regenerate.
16 * configure: Regenerate.
18 * mkinclosure: Remove.
20 2002-09-16 Loren J. Rittle <ljrittle@acm.org>
23 * include/ext/stl_rope.h (rope<>): Qualify dependent names
26 2002-09-16 Richard Henderson <rth@redhat.com>
28 * include/std/std_limits.h (__glibcpp_f32_QNaN_bytes,
29 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
30 __glibcpp_f32_has_SNaN, __glibcpp_f64_QNaN_bytes,
31 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
32 __glibcpp_f64_has_SNaN, __glibcpp_f80_QNaN_bytes,
33 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
34 __glibcpp_f80_has_SNaN, __glibcpp_f96_QNaN_bytes,
35 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
36 __glibcpp_f96_has_SNaN, __glibcpp_f128_QNaN_bytes,
37 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
38 __glibcpp_f128_has_SNaN, __glibcpp_float_QNaN_bytes,
39 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
40 __glibcpp_float_has_SNaN, __glibcpp_double_QNaN_bytes,
41 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
42 __glibcpp_double_has_SNaN, __glibcpp_long_double_QNaN_bytes,
43 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
44 __glibcpp_long_double_has_SNaN): Remove.
45 (__glibcpp_f128_is_iec559): True if IEEE.
46 (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
47 (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
48 (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
49 (std::numeric_limits<float>::has_quiet_NaN): Use __builtin_nanf.
50 (std::numeric_limits<float>::has_signaling_NaN): Mirror has_quiet_NaN.
51 (std::numeric_limits<float>::quiet_NaN): Use __builtin_nanf.
52 (std::numeric_limits<float>::signaling_NaN): Use __builtin_nansf.
53 (std::numeric_limits<double>): Similarly.
54 (std::numeric_limits<long double>): Similarly.
55 * src/limits.cc (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
56 (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
57 (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
59 * testsuite/18_support/numeric_limits.cc (test_infinity): New.
60 (test_denorm_min, test_qnan, test_is_iec559): New.
62 2002-09-16 Phil Edwards <pme@gcc.gnu.org>
64 * testsuite/abi_check.cc: Pull shell fragments out into...
65 * config/abi/extract_symvers: ...here. New file.
66 * Makefile.am (check_abi): Change to match.
67 (new-abi-baseline): New target.
68 * Makefile.in: Regenerated.
70 2002-09-16 Richard Henderson <rth@redhat.com>
72 * include/std/std_limits.h (__glibcpp_f32_denorm_min_bytes,
73 __glibcpp_f32_has_denorm, __glibcpp_f64_denorm_min_bytes,
74 __glibcpp_f64_has_denorm, __glibcpp_f80_denorm_min_bytes,
75 __glibcpp_f80_has_denorm, __glibcpp_f96_denorm_min_bytes,
76 __glibcpp_f96_has_denorm, __glibcpp_f128_denorm_min_bytes,
77 __glibcpp_f128_has_denorm, __glibcpp_float_denorm_min_bytes,
78 __glibcpp_float_has_denorm, __glibcpp_double_denorm_min_bytes,
79 __glibcpp_double_has_denorm, __glibcpp_long_double_denorm_min_bytes,
80 __glibcpp_long_double_has_denorm): Remove.
81 (__glibcpp_float_denorm_min, __glibcpp_double_denorm_min,
82 __glibcpp_long_double_denorm_min): Remove.
83 (std::numeric_limits<float>::has_denorm): Use __FLT_DENORM_MIN__.
84 (std::numeric_limits<float>::denorm_min): Likewise.
85 (std::numeric_limits<double>): Similarly.
86 (std::numeric_limits<long double>): Similarly.
87 * src/limits.cc (__glibcpp_float_denorm_min,
88 __glibcpp_double_denorm_min, __glibcpp_long_double_denorm_min): Remove.
90 2002-09-13 Andy Felt <afelt@uwsp.edu>
92 * docs/html/17_intro/howto.html: Update link.
94 2002-09-13 Phil Edwards <pme@gcc.gnu.org>
96 * docs/doxygen/run_doxygen: Massage man page for Iterator_types.3.
97 * docs/html/faq/index.html: Whitespace fixes.
99 2002-09-12 Benjamin Kosnik <bkoz@redhat.com>
101 * libmath/Makefile.am (LIBTOOL): Use --tag CC always for this
103 * libmath/Makefile.in: Regenerate.
104 * src/Makefile.am: Tweak comment.
105 * src/Makefile.in: Regenerate.
107 * config/locale/gnu/c_locale.h: Remove warnings.
108 Inject __uselocale into __gnu_cxx.
109 * config/locale/generic/c_locale.h: Match.
111 2002-09-11 Benjamin Kosnik <bkoz@redhat.com>
113 * include/bits/locale_facets.tcc (__convert_from_v): Remove.
114 * config/locale/gnu/c_locale.h (__convert_from_v): Add.
115 * config/locale/generic/c_locale.h (__convert_from_v): Add.
117 2002-09-11 Paolo Carlini <pcarlini@unitus.it>
119 * include/bits/locale_facets.tcc (__convert_from_v):
120 Use __uselocale instead of setlocale for glibc 2.3+.
122 2002-09-10 Benjamin Kosnik <bkoz@redhat.com>
124 * src/Makefile.am (sources): Edit.
125 (target_sources): New.
126 (target_sources_extra): New.
127 * src/Makefile.in: Regenerate.
128 * acinclude.m4: Set CCODECVT_CC.
129 * aclocal.m4: Regenerate.
130 * configure: Regenerate.
131 * src/locale.cc: Move ctype definitions...
132 * src/ctype.cc: ...here. New file.
133 * src/locale.cc: Move codecvt definitions...
134 * src/codecvt.cc: ...here.
135 * config/generic/codecvt_members.cc: ...and here.
136 * config/gnu/codecvt_members.cc: ...and here.
137 * include/bits/codecvt.h: Tweak.
138 * include/bits/locale_facets: Tweak.
140 * src/bitset.cc: Correct license text.
141 * src/concept-inst.cc: Same.
142 * src/strstream.cc: Same.
143 * src/vterminate.cc: Same.
145 2002-09-10 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net>
147 * include/bits/stl_vector.h (vector<>): Don't use a name with
148 different meanings before and after re-evaluation in the completed
150 * include/bits/basic_string.h (basic_string<>): Likewise.
151 * include/bits/stl_bvector.h (vector<bool>): Likewise.
152 * include/bits/stl_deque.h (std): Likewise.
153 * include/bits/stl_list.h (list<>): Likewise.
154 * include/bits/stl_tree.h (_Rb_tree<>): Likewise.
156 2002-09-10 Paolo Carlini <pcarlini@unitus.it>
158 * include/bits/codecvt.h (class __codecvt_abstract_base):
159 Add __c_locale type _M_c_locale_codecvt member.
160 (class codecvt<char, char, mbstate_t>,
161 class codecvt<wchar_t, char, mbstate_t>): Add new
162 codecvt(__c_locale, size_t) constructor.
163 (codecvt_byname::codecvt_byname): Update.
164 * src/codecvt.cc (class codecvt<char, char, mbstate_t>,
165 class codecvt<wchar_t, char, mbstate_t>): Update codecvt(size_t)
166 constructor and ~codecvt() destructor; define
167 codecvt(__c_locale, size_t) constructor.
168 (codecvt::do_out): Switch to _M_c_locale_codecvt around wcsrtombs call.
169 (codecvt::do_in): Ditto for mbsrtowcs call.
170 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
171 Tweak construction of codecvt facets.
173 2002-09-10 Danny Smith <dannysmith@users.sourceforge.net>
175 * include/bits/locale_facets.tcc (__convert_from_v):
176 Replace strdup with ISO malloc and strcpy.
178 2002-09-09 Benjamin Kosnik <bkoz@redhat.com>
180 * docs/html/configopts.html: Change grouping. Note ABI impacts.
181 Update information for locale model defaults.
182 * docs/html/install.html: Update include directory
184 Update testing information.
185 Update linux issues for named locales.
186 * docs/html/abi.txt: Fix typos.
189 * src/misc-inst.cc: Add missing instantiations.
191 * testsuite/abi_check.cc: Make output results more verbose.
193 * config/os/gnu-linux/ctype_base.h: Remove shadow headers injections.
195 2002-09-07 Jakub Jelinek <jakub@redhat.com>
197 * config/locale/generic/messages_members.cc: Add specialization for
199 * config/locale/ieee_1003.1-20021/messages_members.cc: Likewise.
201 2002-09-06 Benjamin Kosnik <bkoz@redhat.com>
203 * include/bits/localefwd.h: Tweak formatting.
204 * docs/html/abi.txt: Add.
206 2002-09-06 Jakub Jelinek <jakub@redhat.com>
208 * configure.target: Use cpu_include_dir="config/cpu/sparc" for all
210 * config/cpu/sparc/atomicity.h: New file.
211 * config/cpu/sparc/sparc32/atomicity.h: Removed.
212 * config/cpu/sparc/sparc64/atomicity.h: Removed.
214 2002-09-06 Jakub Jelinek <jakub@redhat.com>
216 * config/os/gnu-linux/ctype_noninline.h
217 [_GLIBCPP_USE_SHADOW_HEADERS]: Remove using _C_legacy::__ctype_*.
218 (ctype<char>::classic_table): If _GLIBCPP_C_LOCALE_GNU, return
219 _S_c_locale->__ctype_b, otherwise temporarily switch to "C" locale
220 and return __ctype_b.
221 (ctype<char>::ctype(__c_locale, const mask*, bool, size_t)): If not
222 _GLIBCPP_C_LOCALE_GNU, temporarily switch to "C" locale and
223 initialize using __ctype_{b,tolower,toupper}.
224 (ctype<char>::ctype(const mask*, bool, size_t)): If
225 _GLIBCPP_C_LOCALE_GNU, initialize using
226 _S_c_locale->__ctype_{b,tolower,toupper}, otherwise temporarily
227 switch to "C" locale and initialize using __ctype_{b,tolower,toupper}.
229 2002-09-05 Paolo Carlini <pcarlini@unitus.it>
230 Roland McGrath <roland@redhat.com>
233 * src/locale.cc (locale::locale(__s)): Use getenv instead
234 of setenv for the environment locale.
235 * testsuite/22_locale/ctor_copy_dtor.cc (test03): New.
237 2002-09-05 Jakub Jelinek <jakub@redhat.com>
239 * config/abi/ia64-unknown-linux-gnu: Add.
240 * config/abi/ia64-unknown-linux-gnu/baseline_symbols.txt: New file.
241 * config/abi/alphaev67-unknown-linux-gnu: Add.
242 * config/abi/alphaev67-unknown-linux-gnu/baseline_symbols.txt: New file.
244 2002-09-05 Jonathan Wakely <jw@kayari.org>
246 * docs/html/Makefile: Use more portable shell wildcard.
247 * docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
248 * docs/html/configopts.html, docs/html/documentation.html,
249 docs/html/explanations.html, docs/html/install.html,
250 docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
251 docs/html/17_intro/license.html, docs/html/18_support/howto.html,
252 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
253 docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
254 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
255 docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
256 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
257 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
258 docs/html/27_io/howto.html, docs/html/ext/howto.html,
259 docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
261 * docs/html/faq/index.txt: Regenerate.
263 2002-09-05 Jakub Jelinek <jakub@redhat.com>
265 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_widen(char)):
266 Switch to _M_c_locale_ctype around btowc call.
267 (ctype<wchar_t>::do_widen(const char*, const char *, wchar_t*)):
268 Switch to _M_c_locale_ctype around mbsrtowcs call.
269 (ctype<wchar_t>::do_narrow(char)): Switch to _M_c_locale_ctype around
271 (ctype<wchar_t>::do_narrow(const char*, const char *, wchar_t*)):
272 Switch to _M_c_locale_ctype around wcsrtombs call.
274 2002-09-05 Jakub Jelinek <jakub@redhat.com>
276 * config/locale/gnu/monetary_members.cc
277 (moneypunct<wchar_t, true>::_M_initialize_moneypunct,
278 moneypunct<wchar_t, false>::_M_initialize_moneypunct): Use
279 __uselocale instead of setlocale for glibc 2.3.
281 2002-09-05 Jakub Jelinek <jakub@redhat.com>
283 * config/locale/generic/c++locale_internal.h: New header.
284 * config/locale/gnu/c++locale_internal.h: New header.
285 * config/locale/gnu/c_locale.cc: Include it.
286 * config/locale/gnu/collate_members.cc: Include it.
287 * config/locale/gnu/ctype_members.cc: Include it.
288 * config/locale/gnu/messages_members.cc: Include it.
289 * config/locale/gnu/monetary_members.cc: Include it.
290 * config/locale/gnu/numeric_members.cc: Include it.
291 * config/locale/gnu/time_members.cc: Include it.
292 (_M_put): Reorder __strftime_l and __wcsftime_l arguments to match
294 (_M_initialize_timepunct): Initialize _M_c_locale_timepunct for
296 * acinclude.m4: Include string.h when testing strcoll_l.
297 For glibc 2.3 provide __-prefixed prototypes.
298 (CLOCALE_INTERNAL_H): Set, add AC_LINK_FILES line.
299 * aclocal.m4, configure: Rebuilt.
301 2002-09-05 Benjamin Kosnik <bkoz@redhat.com>
303 * include/bits/locale_facets.h: Add declaration of specialization
305 * config/locale/gnu/messages_members.cc: Add specialization for
307 * config/locale/gnu/messages_members.h: Remove generic definition
310 2002-09-04 Richard Henderson <rth@redhat.com>
312 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
313 __glibcpp_f32_has_infinity, __glibcpp_f64_infinity_bytes,
314 __glibcpp_f64_has_infinity, __glibcpp_f80_infinity_bytes,
315 __glibcpp_f80_has_infinity, __glibcpp_f96_infinity_bytes,
316 __glibcpp_f96_has_infinity, __glibcpp_f128_infinity_bytes,
317 __glibcpp_f128_has_infinity, __glibcpp_float_infinity_bytes,
318 __glibcpp_float_has_infinity, __glibcpp_double_infinity_bytes,
319 __glibcpp_double_has_infinity, __glibcpp_long_double_infinity_bytes,
320 __glibcpp_long_double_has_infinity): Remove.
321 (std::numeric_limits<float>, std::numeric_limits<double>,
322 std::numeric_limits<long double>): Use __builtin_huge_val
323 to implement has_infinity and infinity().
324 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_double_infinity,
325 __glibcpp_long_double_infinity): Remove.
327 2002-09-03 Richard Henderson <rth@redhat.com>
329 * include/std/std_limits.h (__glibcpp_f32_min, __glibcpp_f32_max,
330 __glibcpp_f32_digits, __glibcpp_f32_digits10, __glibcpp_f32_radix,
331 __glibcpp_f32_epsilon, __glibcpp_f32_min_exponent,
332 __glibcpp_f32_min_exponent10, __glibcpp_f32_max_exponent,
333 __glibcpp_f32_max_exponent10, __glibcpp_f64_min, __glibcpp_f64_max,
334 __glibcpp_f64_digits, __glibcpp_f64_digits10, __glibcpp_f64_radix,
335 __glibcpp_f64_min_exponent, __glibcpp_f64_min_exponent10,
336 __glibcpp_f64_max_exponent, __glibcpp_f64_max_exponent10,
337 __glibcpp_f80_min, __glibcpp_f80_max, __glibcpp_f80_digits,
338 __glibcpp_f80_digits10, __glibcpp_f80_radix, __glibcpp_f80_epsilon,
339 __glibcpp_f80_min_exponent, __glibcpp_f80_min_exponent10,
340 __glibcpp_f80_max_exponent, __glibcpp_f80_max_exponent10,
341 __glibcpp_f96_min, __glibcpp_f96_max, __glibcpp_f96_digits,
342 __glibcpp_f96_digits10, __glibcpp_f96_radix, __glibcpp_f96_epsilon,
343 __glibcpp_f96_min_exponent, __glibcpp_f96_min_exponent10,
344 __glibcpp_f96_max_exponent, __glibcpp_f96_max_exponent10,
345 __glibcpp_f128_min, __glibcpp_f128_max, __glibcpp_f128_digits,
346 __glibcpp_f128_digits10, __glibcpp_f128_radix, __glibcpp_f128_epsilon,
347 __glibcpp_f128_min_exponent, __glibcpp_f128_min_exponent10,
348 __glibcpp_f128_max_exponent, __glibcpp_f128_max_exponent10,
349 __glibcpp_float_min, __glibcpp_float_max, __glibcpp_float_digits,
350 __glibcpp_float_digits10, __glibcpp_float_radix,
351 __glibcpp_float_epsilon, __glibcpp_float_min_exponent,
352 __glibcpp_float_min_exponent10, __glibcpp_float_max_exponent,
353 __glibcpp_float_max_exponent10, __glibcpp_double_min,
354 __glibcpp_double_max, __glibcpp_double_digits,
355 __glibcpp_double_digits10, __glibcpp_double_radix,
356 __glibcpp_double_epsilon, __glibcpp_double_min_exponent,
357 __glibcpp_double_min_exponent10, __glibcpp_double_max_exponent,
358 __glibcpp_double_max_exponent10, __glibcpp_long_double_min,
359 __glibcpp_long_double_max, __glibcpp_long_double_digits,
360 __glibcpp_long_double_digits10, __glibcpp_long_double_radix,
361 __glibcpp_long_double_epsilon, __glibcpp_long_double_min_exponent,
362 __glibcpp_long_double_min_exponent10,
363 __glibcpp_long_double_max_exponent,
364 __glibcpp_long_double_max_exponent10): Remove macros.
365 (std::numeric_limits<float>, std::numeric_limits<double>,
366 std::numeric_limits<long double>): Use protected float.h macros.
368 2002-09-01 Phil Edwards <pme@gcc.gnu.org>
370 * testsuite/Makefile.am: Use LD_RUN_PATH when linking abi_check.
371 Fix spelling in comment.
372 * testsuite/Makefile.in: Regenerate.
373 * testsuite/abi_check.cc: Use string literals to build 'cmd' rather
374 than 'quote' and 'bslash'.
376 2002-08-31 Phil Edwards <pme@gcc.gnu.org>
378 * acinclude.m4: Minor comment tweaks.
380 * docs/html/makedoc.awk: New file...
381 * docs/html/Makefile: ...called from here...
382 * docs/html/documentation.html: ...to help generate this.
384 * docs/html/21_strings/howto.html: Prepare for new entry.
385 * include/bits/basic_string.h: Initial basic_stirng hook for
386 doxygen. Remove trailing whitespace.
387 * include/bits/char_traits.h: Point to onlinedocs for new entry.
388 * include/bits/stringfwd.h: Add doxygen hooks for string and
391 2002-08-29 Richard Earnshaw <rearnshaw@arm.com>
393 * config/cpu/arm/cpu_limits.h: New file.
394 * configure.target: Use config/cpu/arm for XScale and StrongARM
397 2002-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
399 * include/std/std_limits.h (__glibcpp_char_bits,
400 __glibcpp_short_bits, __glibcpp_int_bits, __glibcpp_long_bits,
401 __glibcpp_long_long_bits, __glibcpp_float_bits,
402 __glibcpp_double_bits, __glibcpp_long_double_bits): Remove. Use
403 compiler predifined macros.
404 (__glibcpp_wchar_t_is_signed): Define based on compiler predefined
407 2002-08-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
409 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
410 __glibcpp_f32_has_infinity, __glibcpp_f32_QNaN_bytes,
411 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
412 __glibcpp_f32_has_SNaN, __glibcpp_f32_denorm_min_bytes,
413 __glibcpp_f32_has_denorm, __glibcpp_f32_is_iec559,
414 __glibcpp_f64_infinity_bytes,
415 __glibcpp_f64_has_infinity, __glibcpp_f64_QNaN_bytes,
416 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
417 __glibcpp_f64_has_SNaN, __glibcpp_f64_denorm_min_bytes,
418 __glibcpp_f64_has_denorm, __glibcpp_f64_is_iec559,
419 __glibcpp_f80_infinity_bytes,
420 __glibcpp_f80_has_infinity, __glibcpp_f80_QNaN_bytes,
421 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
422 __glibcpp_f80_has_SNaN, __glibcpp_f80_denorm_min_bytes,
423 __glibcpp_f80_has_denorm, __glibcpp_f80_is_iec559,
424 __glibcpp_f96_infinity_bytes,
425 __glibcpp_f96_has_infinity, __glibcpp_f96_QNaN_bytes,
426 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
427 __glibcpp_f96_has_SNaN, __glibcpp_f96_denorm_min_bytes,
428 __glibcpp_f96_has_denorm, __glibcpp_f96_is_iec559,
429 __glibcpp_f128_infinity_bytes,
430 __glibcpp_f128_has_infinity, __glibcpp_f128_QNaN_bytes,
431 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
432 __glibcpp_f128_has_SNaN, __glibcpp_f128_denorm_min_bytes,
433 __glibcpp_f128_has_denorm, __glibcpp_f128_is_iec559,
434 __glibcpp_float_infinity_bytes,
435 __glibcpp_float_has_infinity, __glibcpp_float_QNaN_bytes,
436 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
437 __glibcpp_float_has_SNaN, __glibcpp_float_denorm_min_bytes,
438 __glibcpp_float_has_denorm, __glibcpp_float_is_iec559,
439 __glibcpp_double_infinity_bytes,
440 __glibcpp_double_has_infinity, __glibcpp_double_QNaN_bytes,
441 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
442 __glibcpp_double_has_SNaN, __glibcpp_double_denorm_min_bytes,
443 __glibcpp_double_has_denorm, __glibcpp_double_is_iec559,
444 __glibcpp_long_double_infinity_bytes,
445 __glibcpp_long_double_has_infinity, __glibcpp_long_double_QNaN_bytes,
446 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
447 __glibcpp_long_double_has_SNaN, __glibcpp_long_double_denorm_min_bytes,
448 __glibcpp_long_double_has_denorm, __glibcpp_long_double_is_iec559:
450 (__glibcpp_word_bits, __glibcpp_word): Likewise.
451 (__glibcpp_byte): New typedef.
452 (__float_storage, __double_storage, __long_double_storage): New types.
453 (__glibcpp_float_infinity, __glibcpp_float_QNaN,
454 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Now
456 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
457 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
458 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
459 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
462 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_float_QNaN,
463 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Define.
464 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
465 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
466 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
467 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
470 2002-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
472 * include/std/std_limits.h: Indent conditional macro definitions.
474 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
476 * Makefile.am (check-abi): Specify current directory.
477 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Fix shell syntax, use
478 abi_baseline_triplet in baseline_file.
479 * Makefile.in, aclocal.m4, configure: Regenerate.
480 * configure.target: Add abi_baseline_triplet with default.
481 * testsuite/abi_check.cc: More error checking.
483 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
485 * config/linker-map.gnu: Verbose comments, clean up spacing.
486 * include/bits/stl_alloc.h: Fix indentation of 'if' bodies, return
488 __allocator: Change class declaration to struct.
489 * docs/html/17_intro/C++STYLE: Fix typo.
490 * include/bits/stl_deque.h, include/bits/stl_list.h,
491 include/bits/stl_map.h, include/bits/stl_multimap.h,
492 include/bits/stl_vector.h: Fix fallout from typo.
494 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
496 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
497 GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
499 * aclocal.m4: Regenerate.
500 * testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
502 * testsuite/Makefile.in: Regenerate.
504 2002-08-22 Loren J. Rittle <ljrittle@acm.org>
506 * testsuite/abi_check.cc: Enhance shell portability.
507 Support older binutils/readelf.
508 * config/abi/i386-unknown-freebsd4.6: Add.
509 * config/abi/i386-unknown-freebsd4.6/baseline_symbols.txt: New file.
511 2002-08-22 Paolo Carlini <pcarlini@unitus.it>
513 * docs/html/faq/index.html: Add Loren James Rittle and
514 Paolo Carlini to the list of v3 maintainers.
515 * docs/html/faq/index.txt: Ditto.
516 * docs/html/17_intro/RELEASE-NOTES: Ditto.
518 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
519 Phil Edwards <pme@gcc.gnu.org>
520 Ulrich Drepper <drepper@redhat.com>
522 * Makefile.am (check-abi): New rule.
523 * Makefile.in: Regenerate.
524 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
525 * aclocal.m4: Regenerate.
526 * configure: Regenerate.
527 * testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
528 (abi_check_SOURCES): Add.
529 * testsuite/Makefile.in: Regenerate.
530 * testsuite/abi_check.cc: New file.
532 * config/abi/i686-pc-linux-gnu: Add.
533 * config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.
535 2002-08-19 Benjamin Kosnik <bkoz@redhat.com>
537 * configure.in (libtool_VERSION): Update to 5:1:0.
538 * configure: Regenerate.
540 2002-08-19 Jonathan Wakely <jw@kayari.org>
542 * docs/html/configopts.html, docs/html/documentation.html,
543 docs/html/install.html, docs/html/22_locale/codecvt.html,
544 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
545 docs/html/22_locale/locale.html,
546 docs/html/22_locale/messages.html: Conform to HTML 4.01 standard.
548 2002-08-15 Benjamin Kosnik <bkoz@redhat.com>
550 * include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
551 _M_buf_size_opt to zero when unbuffering.
552 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
553 Consistency checks for _M_buf_size_opt.
555 Revert PR libstdc++/7445
556 * src/locale.cc (locale::classic): Revert.
558 * docs/html/17_intro/TODO: Add.
560 2002-08-15 Phil Edwards <pme@gcc.gnu.org>
562 * docs/html/documentation.html: Update doxygen links for 3.2.
564 2002-08-15 Steve Ellcey <sje@cup.hp.com>
566 * libsupc++/unwind-cxx.h (__cxa_exception): Change catchTemp
567 type from void* to _Unwind_Ptr.
568 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
569 Do not cast landing_pad or base_of_encoded_value to (void *).
570 * libsupc++/eh_throw.cc (__gxx_exception_cleanup):
571 Accept _URC_NO_REASON as a valid reason code.
573 2002-08-14 Jonathan Wakely <jw@kayari.org>
575 * docs/html/22_locale/messages.html: Use HTML entities for
578 2002-08-13 Jonathan Wakely <jw@kayari.org>
579 Phil Edwards <pme@gcc.gnu.org>
581 * docs/html/documentation.html: Use HTML entities for punctuation.
583 2002-08-09 Phil Edwards <pme@gcc.gnu.org>
585 * include/bits/deque.tcc, include/bits/list.tcc,
586 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
587 include/bits/stl_list.h, include/bits/stl_map.h,
588 include/bits/stl_multimap.h, include/bits/stl_queue.h,
589 include/bits/stl_stack.h, include/bits/stl_vector.h,
590 include/bits/vector.tcc: Re-indent contents of namespace std,
591 re-wrap comment lines as necessary.
593 2002-08-08 Danny Smith <dannysmith@users.sourceforge.net>
594 Benjamin Kosnik <bkoz@redhat.com>
596 * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
598 * testsuite/27_io/narrow_stream_objects.cc (test10): Add.
600 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
602 * libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
603 * libsupc++/Makefile.in: Regenerate.
605 2002-08-05 Gabriel Dos Reis <gdr@nerim.net>
608 * include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
609 Instantiate with new function objects.
610 * include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
612 * include/bits/gslice_array.h: Likewise.
613 * include/bits/indirect_array.h: Likewise.
615 2002-08-03 Gabriel Dos Reis <gdr@nerim.net>
617 * testsuite/26_numerics/valarray_name_lookup.cc: Rename from
618 testsuite/26_numerics/valarray_name_lookup.C
620 * include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
621 object function surrogates.
622 * include/bits/valarray_meta.h (__shift_left): Fix typo.
623 (_BinFunClos<>): Remove.
624 (_BinFunBase<>): Likewise.
625 (_BinFunBase1<>):Likewise.
626 (_BinFunBase2<>): Likewise.
627 (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
628 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
629 (_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
630 (_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
631 * include/std/std_valarray.h: Dont #include <functional> anymore.
632 (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
633 _Shift_right<>): Remove.
634 (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
635 (_DEFINE_BINARY_OPERATOR): Tweak definition.
636 (_DEFINE_LOGICAL_OPERATOR): Remove.
637 * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.
639 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
641 * include/bits/valarray_meta.h (_UnFunBase<>): Remove.
642 (_UnFunClos<>): Same.
643 (_UnBase<>): Reformat. Make first template-parameter non
645 (_UnClos<>): Likewise.
646 (_Expr<>): Reformate. Adjust unary member operator return types.
647 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
648 (_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
649 * include/std/std_valarray.h (_UnClos<>): Adjust declaration.
650 (valarray<>::_UnaryOp<>): New nested traits. Adjust unary member
651 operator return types. Reformat.
652 (_Bitwise_not): Remove.
653 (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
654 * testsuite/26_numerics/valarray_name_lookup.C: New test.
656 2002-08-02 Danny Smith <dannysmith@users.sourceforge.net>
658 * config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
659 (scan_is): Use this->is.
660 (scan_not): Likewise.
662 2002-08-02 Benjamin Kosnik <bkoz@redhat.com>
664 Revert PR libstdc++/6594
665 * src/strstream.cc (strstreambuf): Revert.
666 (strstreambuf::overflow): Same.
667 (strstreambuf::~strstreambuf): Same.
668 * testsuite/backward/strstream_members.cc (test02): Add.
670 * docs/html/abi.txt: Update. Spell check.
672 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
674 * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
675 * testsuite/Makefile.in: Regenerate.
676 * testsuite/testsuite_hooks.h: Use __throw_exception_again,
677 include functexcept.h so that -fno-exceptions will build.
679 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
681 * include/bits/valarray_meta.h (__unary_plus, __negate,
682 __bitwise_not, __plus, __minus, __multiplies, __divides,
683 __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
684 __shift_left, __shift_right, __logical_and, __logical_or,
685 __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
686 __greater_equal, __greater, __atan2, __pow): New function object
688 (__fun<>): New function traits class.
690 2002-08-01 Rick Danos <rdanos@hotmail.com>
693 * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
694 * config/os/newlib/ctype_inline.h (is): Use static_cast.
696 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
698 * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
699 * libsupc++/Makefile.in: Regenerate.
701 2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
702 Jakub Jelinek <jakub@redhat.com>
704 * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
705 GLIBCPP_3.1 to GLIBCPP_3.2.
707 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
708 Mark Mitchell <mark@codesourcery.com>
711 * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
713 (__class_type_info): And here.
715 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
719 (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
720 (__base_class_info::__base): Change to __base_type. 2.9.5p6c
721 (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
722 (__vmi_class_type_info::__base_info): Don't make const, of type
723 __base_class_type_info, as per 2.9.5p6c
724 (__pbase_type_info::__qualifier_flags): Change to __flags, as per
726 (__pbase_type_info::__qualifier_masks): Change to __masks, as per
728 (__pointer_to_member_type_info::__context_class): Change member to
729 __context, as per 2.9.5p9.
730 * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
732 * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
734 * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
736 * libsupc++/tinfo.cc (__do_dyncast): Same.
737 * libsupc++/tinfo.cc (__do_upcast): Same.
739 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
741 * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
743 2002-07-31 Simon Whomsley <whomsley@avacadcam.com>
745 * docs/html/22_locale/howto.html: Fix.
747 2002-07-31 Alex Kompel <shurik@sequoiap.com>
750 * src/locale.cc (locale::classic): Move locks inside !_S_classic
753 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
755 * docs/html/abi.txt: Update.
757 2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
758 Gabriel Dos Reis <gdr@nerim.net>
760 * include/bits/char_traits.h: Remove generic definitions.
761 * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
763 * include/bits/istream.tcc (istream::readsome): Don't check
764 against eof, instead use constants.
765 (istream::sync): Same.
766 (istream::sentry::sentry): Use eq_int_type.
767 (istream::get): Same.
768 * include/bits/ostream.tcc: Change __pad to
769 __pad<_CharT, _Traits>::_S_pad.
770 * include/bits/locale_facets.h: Add __pad_traits generic and
771 ostreambuf_iterator specialization.
772 * include/bits/locale_facets.tcc: Change __pad into struct __pad
773 with a _CharT and _Traits template parameter and _S_pad static
775 * src/locale-inst.cc: Update __pad instantiations.
777 * include/std/std_fstream.h: Declare _M_underflow_common
779 * src/fstream.cc: New. Add _M_underflow_common specializations.
780 * include/bits/fstream.tcc (filebuf::close): Use traits_type.
781 (filebuf::_M_underflow_common(bool)): Remove generic version, as
782 sys_ungetc and custom int_types don't get along.
783 * include/std/std_streambuf.h: Add _M_pos.
784 * src/Makefile.am (sources): Add fstream.cc.
785 * src/Makefile.in: Regenerate.
787 * testsuite/21_strings/capacity.cc: Add char_traits specializations.
788 * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
789 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
790 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
791 * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
792 * testsuite/27_io/filebuf.cc: ...here.
793 * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
794 specialization for both.
795 * testsuite/27_io/streambuf.cc: Add instantiation test,
796 testsuite_hooks include.
797 * testsuite/27_io/istream.cc: Same.
798 * testsuite/27_io/ostream.cc: Same.
799 * testsuite/27_io/fstream.cc: Same.
800 * testsuite/27_io/stringstream.cc: Same.
801 * testsuite/27_io/filebuf.cc: Same.
802 * testsuite/27_io/stringbuf.cc: Same.
804 2002-07-29 Alan Modra <amodra@bigpond.net.au>
806 * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
807 * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
808 * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
809 (__test_and_set): Remove.
810 (_STWCX): Define and use.
812 2002-07-26 Phil Edwards <pme@gcc.gnu.org>
814 * libsupc++/new (placement delete): Remove unused parameter names.
816 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
819 * include/std/std_istream.h (basic_iostream): Add typedefs for
820 char_type, int_type, pos_type, off_type, and traits_type.
821 * testsuite/27_io/iostream.cc (test01): Add typedef tests.
822 * testsuite/27_io/istream.cc: Same.
823 * testsuite/27_io/ostream.cc: Same.
824 * testsuite/27_io/filebuf.cc: Same.
825 * testsuite/27_io/stringbuf.cc: Replace content, move to...
826 * testsuite/27_io/stringbuf_members.cc: ...here.
827 * testsuite/27_io/streambuf.cc: Replace content, move to...
828 * testsuite/27_io/streambuf_members.cc: ...here.
829 * testsuite/27_io/stringstream.cc: Replace content, move to...
830 * testsuite/27_io/stringstream_members.cc: ...here.
831 * testsuite/27_io/ios.cc: New file.
832 * testsuite/27_io/fstream.cc: New file.
833 * testsuite/27_io/ifstream.cc: New file.
834 * testsuite/27_io/ofstream.cc: New file.
835 * testsuite/27_io/istringstream.cc: New file.
836 * testsuite/27_io/ostringstream.cc: New file.
838 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
841 * include/bits/istream.tcc (istream::ignore): Don't extract on
843 * testsuite/27_io/istream_unformatted.cc (test10): Add.
845 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
847 * testsuite/27_io/ios_base_type.cc: Move to...
848 * testsuite/27_io/ios_base_types.cc: ...here.
850 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
853 * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
854 * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
856 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
859 * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
860 * include/Makefile.am (backward_headers): Use strstream, not
862 * include/Makefile.in: Regenerate.
863 * include/backward/strstream: Revert.
864 * include/backward/strstream.h: Remove.
865 * src/strstream.cc: Revert.
866 * testsuite/backward/strstream_members.cc: Change include.
868 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
871 * include/bits/ios_base.h (ios_base::streampos): Add.
872 (ios_base::streamoff): Add.
873 * testsuite/27_io/ios_base_type.cc: New.
875 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
878 * libsupc++/new: Add placement delete.
879 * testsuite/18_support/new_delete_placement.cc: New.
881 * docs/html/abi.txt: Fix typos.
883 2002-07-23 Benjamin Kosnik <bkoz@redhat.com>
885 * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
886 confusing usage of "latest."
887 De-tangle contributor information from introductory notes.
888 Move abi.txt link placement, activate.
890 Move chapter info into old FAQ format.
891 * docs/html/organization.html: Removed, obsoleted by doxygen work.
892 * docs/html/abi.txt: Add notes on testing ABI changes.
894 2002-07-20 Phil Edwards <pme@gcc.gnu.org>
896 * docs/html/abi.txt: New file.
897 * docs/html/23_containers/howto.html: Tweak vector-overhead text.
898 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
899 Import from upstream, R22.
901 * include/bits/char_traits.h, include/bits/stl_iterator.h,
902 include/bits/stl_iterator_base_types.h, libsupc++/exception,
903 libsupc++/new, libsupc++/typeinfo: Use @brief markup.
905 * include/bits/deque.tcc, include/bits/stl_alloc.h,
906 include/bits/stl_deque.h, include/bits/stl_list.h: Postpone removal
907 of deprecated functions until 3.4. (Same timeframe, different text.)
908 * include/bits/stl_vector.h: Ditto. Also do the same cleanups that
909 the other sequence classes received.
911 2002-07-18 Brendan Kehoe <brendan@zen.org>
913 * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
916 2002-07-19 Gabriel Dos Reis <gdr@nerim.net>
919 * include/bits/slice_array.h
920 (slice_array<T>::operator=(const T&)): Constify.
921 * include/bits/gslice_array.h
922 (gslice_array<T>::operator=(const T&)): Likewise.
923 * include/bits/mask_array.h
924 (mask_array<T>::operator=(const T&)): Likewise.
925 * include/bits/indirect_array.h
926 (indirect_array<T>::operator=(const T&): Likewise.
928 2002-07-17 Phil Edwards <pme@gcc.gnu.org>
930 * docs/doxygen/run_doxygen: Remove template parameter names from
931 "Compound List" summary page. Reformat.
932 * docs/html/documentation.html: XHTML fixes.
934 2002-07-16 Andreas Schwab <schwab@suse.de>
936 * libsupc++/new (set_new_handler): Declare to not throw any
938 * libsupc++/new_handler.cc (set_new_handler): Likewise.
940 2002-07-16 Gabriel Dos Reis <gdr@nerim.net>
942 * include/Makefile.am (bits_headers): Remove slice.h
943 * include/Makefile.in: Regenerate.
944 * include/bits/slice.h (slice): move to include/bits/slice_array.h
945 * include/bits/slice.h Remove.
946 * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
947 * include/bits/slice_array.h: Comply to official coding styles.
948 * testsuite/26_numerics/slice.cc: New test.
950 2002-07-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
952 * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
953 print to match vendor <ctype.h>.
955 2002-07-15 Phil Edwards <pme@gcc.gnu.org>
957 * docs/html/faq/index.html: Fix download links.
958 * docs/html/faq/index.txt: Regenerate.
959 * docs/html/17_intro/porting.html: Regenerate from earlier changes.
961 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
963 * configure.target (target_os switch): Allow for irix6*o32
966 2002-07-10 Gabriel Dos Reis <gdr@nerim.net>
968 * include/bits/valarray_meta.h (_UnFunBase): Take a second
969 template parameter. Remove _M_func data member.
970 (_UnFunClos): Take a third template parameter.
971 (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
972 __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
973 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
975 2002-07-08 Eric Christopher <echristo@redhat.com>
977 * configure.target: Fix comment for mips atomicity. Add
978 mips*-*-linux* target, enable atomic operations there.
979 * config/cpu/mips/atomicity.h: Fix comments, remove
980 #ifndef/#endif. Add push/pop mips2.
982 2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
984 * include/bits/stl_deque.h (_Deque_alloc_base): Change order of
985 member declarations to avoid compiler warnings and restore 3.1 ABI.
987 2002-07-08 Phil Edwards <pme@gcc.gnu.org>
989 * docs/html/23_containers/howto.html: Link to dk_std::vector paper
992 2002-07-07 Paolo Carlini <pcarlini@unitus.it>
995 * include/bits/stl_deque.h (_Deque_iterator::operator-):
996 Make non-member, as already happens for the comparison
997 operators in accord with DR179 (Ready).
998 * testsuite/23_containers/deque_operators.cc: Add test02.
1000 2002-07-04 Benjamin Kosnik <bkoz@redhat.com>
1001 Jack Reeves <jackw_reeves@hotmail.com>
1003 * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
1004 size_t, from int_type.
1005 (basic_streambuf::_M_buf_size_opt): Same.
1006 (basic_streambuf::_S_pback_sizex): Same.
1007 * include/bits/streambuf.tcc: Same.
1008 * include/std/std_streambuf.h (basic_streambuf::snextc): Use
1010 (basic_streambuf::uflow): Same.
1011 * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
1013 * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
1014 * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
1016 (basic_streambuf::xsputn): Same.
1017 (__copy_streambufs): Same.
1019 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
1021 * include/std/std_memory.h: Fix formatting.
1022 * testsuite/20_util/auto_ptr_neg.cc: New.
1023 * testsuite/20_util/auto_ptr.cc: Tweaks.
1024 * testsuite/23_containers/map_operators.cc (test01): Split into..
1025 * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
1026 * testsuite/23_containers/set_operators.cc: Move to...
1027 * testsuite/23_containers/set_operators_neg.cc: ...here.
1028 * testsuite/README: Add some more naming rules.
1030 2002-07-03 Steev Wilcox <steev@paradigmds.com>
1033 * include/ext/stl_hashtable.h: Fix.
1034 * testsuite/ext/hash_map.cc: New.
1036 2002-07-03 Jack Reeves <jackw_reeves@hotmail.com>
1037 Kenny Simpson <theonetruekenny@yahoo.com>
1038 Phil Edwards <pme@gcc.gnu.org>
1041 * testsuite/20_util/auto_ptr.cc (test08): New test.
1042 * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit.
1043 (auto_ptr::operator auto_ptr_ref): Fix typo.
1044 General reformatting and doxygenating of the whole file.
1046 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
1049 * include/c/std_cwchar.h: Fix.
1051 2002-07-02 Benjamin Kosnik <bkoz@redhat.com>
1054 * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
1055 char* name parameter.
1056 * config/locale/gnu/monetary_members.cc: Use it.
1057 * config/locale/generic/monetary_members.cc: Same.
1058 * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
1060 * include/backward/strstream.h: Update date.
1062 2002-07-02 Paolo Carlini <pcarlini@unitus.it>
1065 * include/bits/stl_iterator.h
1066 (__normal_iterator::operator-(const __normal_iterator&)):
1067 Make non-member, as already happens for the comparison
1068 operators in accord with DR179 (Ready).
1069 * testsuite/24_iterators/iterator.cc: Add test from the PR.
1071 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
1074 * acinclude.m4: Simplify determination of gcc_version, and move
1075 up to GLIBCPP_CONFIGURE.
1076 * configure.in (release_VERSION): Really remove.
1077 (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER): Move after GLIBCPP_CONFIGURE.
1078 * aclocal.m4, configure: Regenerate.
1080 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
1082 * docs/html/configopts.html, docs/html/install.html: Tweaks.
1083 * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
1084 include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
1085 include/ext/slist, include/ext/stl_rope.h: Add doxygen hooks.
1087 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
1089 * include/backward/strstream: Remove namespace std. Transfer to...
1090 * include/backward/strstream.h: ...here. Qualify std names.
1091 * src/strstream.cc: Remove namespace std.
1092 * include/Makefile.am (backward_headers): Remove strstream.h.
1093 * include/Makefile.in: Regenerate.
1094 * config/linker-map.gnu: Export strstream bits.
1096 * src/fstream-inst.cc: Tweak.
1097 * src/io-inst.cc: Same.
1098 * src/istream-inst.cc: Same.
1099 * src/misc-inst.cc: Same.
1100 * src/ostream-inst.cc: Same.
1101 * src/sstream-inst.cc: Same.
1102 * src/valarray-inst.cc: Same.
1103 * src/misc-inst.cc: Remove unused instantiations.
1105 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
1107 * configure.in (libtool_VERSION): Bump to 5:0:0.
1108 * configure: Regenerate.
1110 2002-06-28 Phil Edwards <pme@gcc.gnu.org>
1112 PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
1113 * include/std/std_queue.h: Include deque.tcc, vector.tcc.
1114 * include/std/std_stack.h: Include deque.tcc.
1115 * testsuite/23_containers/adaptors.cc: New file.
1117 2002-06-27 Phil Edwards <pme@gcc.gnu.org>
1119 * include/bits/stl_alloc.h: Deprecate all 'reallocate' memfns.
1120 * docs/html/ext/howto.html: Update allocator notes.
1122 2002-06-26 Benjamin Kosnik <bkoz@redhat.com>
1124 * configure.in (INTERFACE): Remove.
1125 (release_VERSION): Remove.
1126 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
1127 (libstdcxx_interface): Change. Use gcc methods to determine version.
1128 * configure: Regenerate.
1129 * aclocal.m4: Regenerate.
1131 2002-06-25 DJ Delorie <dj@redhat.com>
1133 * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
1134 GLIBCPP_TOPREL_CONFIGURE.
1135 * aclocal.m4: Likewise.
1136 * configure.in: Call it before AC_CANONICAL_SYSTEM.
1137 * configure: Regenerate.
1139 2002-06-25 Jessica Han <jessica@cup.hp.com>
1141 * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
1142 * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
1143 _GLIBCPP_VTABLE_PADDING is defined.
1145 2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
1147 * include/bits/stl_alloc.h: Additional formatting.
1149 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
1151 * include/bits/stl_alloc.h: Reformat as per C++STYLE.
1153 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
1155 * config/cpu/*/bits/*: Move header files up a level. Remove bits.
1156 * config/os/*/bits/*: Likewise.
1157 * configure.in: Update.
1158 * configure: Regenerate.
1159 * configure.target: Update.
1160 * docs/html/17_intro/porting.texi: Update.
1162 2002-06-21 Phil Edwards <pme@gcc.gnu.org>
1164 * include/bits/stl_map.h, include/bits/stl_multimap.h,
1165 include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
1166 complete doxygenation.
1167 * include/bits/boost_concept_check.h: Minor comment.
1169 2002-06-21 Benjamin Kosnik <bkoz@redhat.com>
1171 * include/c_compatibility: New.
1172 * include/c_compatibility/assert.h: New.
1173 * include/c_compatibility/ctype.h: New.
1174 * include/c_compatibility/errno.h: New.
1175 * include/c_compatibility/float.h: New.
1176 * include/c_compatibility/iso646.h: New.
1177 * include/c_compatibility/limits.h: New.
1178 * include/c_compatibility/locale.h: New.
1179 * include/c_compatibility/math.h: New.
1180 * include/c_compatibility/setjmp.h: New.
1181 * include/c_compatibility/signal.h: New.
1182 * include/c_compatibility/stdarg.h: New.
1183 * include/c_compatibility/stddef.h: New.
1184 * include/c_compatibility/stdio.h: New.
1185 * include/c_compatibility/stdlib.h: New.
1186 * include/c_compatibility/string.h: New.
1187 * include/c_compatibility/time.h: New.
1188 * include/c_compatibility/wchar.h: New.
1189 * include/c_compatibility/wctype.h: New.
1191 * include/c/std_cerrno.h: Get out of the way... define errno.
1192 * include/c/std_cmath.h: Add abs, modf overloads.
1193 Undefine C99 isms. Still not sure how to deal with this sanely.
1194 * include/c/std_csetjmp.h: Tweak.
1195 * include/c/std_cwchar.h: Include cstddef for size_t.
1197 * include/c_std/std_cmath.h: Remove extra function.
1199 Pendantic std usage in testsuites.
1200 * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
1202 * testsuite/17_intro/header_cwchar.cc: Tweak.
1203 * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
1205 * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
1206 * testsuite/22_locale/ctype_to_char.cc (test05): Same.
1207 * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
1208 * testsuite/22_locale/ctype_is_char.cc (test05): Same.
1209 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
1210 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
1211 * testsuite/22_locale/time_get_members_char.cc (test08): Same.
1212 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
1213 * testsuite/22_locale/time_put_members_char.cc (test04): Same.
1214 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
1215 * testsuite/22_locale/num_put_members_char.cc (test04): Same.
1216 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
1217 * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
1218 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
1219 * testsuite/22_locale/num_get_members_char.cc: Same.
1220 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
1221 * testsuite/22_locale/money_put_members_char.cc (test07): Same.
1222 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
1223 * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
1224 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
1225 * testsuite/22_locale/money_get_members_char.cc (test08): Same.
1226 * testsuite/22_locale/messages_members_char.cc (test03): Same.
1227 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
1228 * testsuite/22_locale/collate_members_char.cc (test04): Same.
1229 * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
1230 * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
1231 * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
1233 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1235 * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
1238 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1240 * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
1241 Use size_type instead of unsigned long.
1243 2002-06-20 Steve Ellcey <sje@cup.hp.com>
1245 * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
1247 (_S_min_len): Ditto.
1249 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1251 * include/Makefile.am: Add rules.
1252 * include/Makefile.in: Regenerate.
1254 * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
1255 * aclocal.m4: Regenerate.
1256 * configure: Regenerate.
1257 * configure.target (c_model, c_compatibility): Add.
1259 * libsupc++/Makefile.am (c_sources): New.
1260 (libsupc___la_SOURCES): Add c_sources.
1261 (LTCOMPILE): Remove INCLUDES.
1262 (GCC_INCLUDES): New.
1263 (C_COMPILE): New, like COMPILE but without INCLUDES.
1264 (cxa_demangle.o): Use C_COMPILE.
1265 (dyn-string.o): Use C_COMPILE.
1267 * include/c/std_cstdarg.h: Define __need___va_list.
1268 * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
1269 need_NULL, need_offsetof.
1271 2002-06-19 Steve Ellcey <sje@cup.hp.com>
1273 * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*): Remove
1274 definitions in hpux11 cross-build because these functions do
1275 not exist on hpux11 (but some exist on hpux10); move defaults out
1276 into existing sections.
1277 * configure: Regenerate.
1279 2002-06-18 Benjamin Kosnik <bkoz@redhat.com>
1281 * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
1282 * include/c/std_cwctype.h: Guard.
1284 * libsupc++/eh_alloc.cc: Tweak include order.
1285 * libsupc++/pure.cc: Use cstdio.
1286 * libsupc++/new_op.cc: Remove malloc forward declaration, as
1287 cstdlib brings it in. Use std::malloc.
1289 * src/Makefile.am (sources): Remove cmath.cc.
1290 * src/Makefile.in: Regenerate.
1291 * src/cmath.cc: Remove.
1293 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
1295 * configure.target: Force mips to use the generic cpu routines.
1297 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
1299 * configure.host: Delete file.
1300 * configure.target: More documentation. Factor out common parts of
1301 script into "intelligent" settings about defaults. Remove redundancy.
1303 * acinclude.m4: Update comments. Do not call configure.host.
1304 (GLIBCPP_ENABLE_SYMVERS): If disabled, do not bother checking for
1306 * configure.in: Slight reformatting, more comments. Factor out
1307 "config/" from all the directories.
1308 * docs/html/17_intro/porting.texi: Update and expand.
1309 * testsuite/Makefile.am (AM_RUNTESTFLAGS): Move empty setting
1310 from configure.host.
1312 * aclocal.m4, configure, docs/html/17_intro/porting.html,
1313 testsuite/Makefile.in: Regenerate.
1315 2002-06-16 Phil Edwards <pme@gcc.gnu.org>
1317 * docs/doxygen/TODO: Update.
1318 * docs/doxygen/tables.html: Uncomment magical middle column.
1319 * docs/doxygen/user.cfg.in: Kludge to ignore function-like macros.
1320 * include/bits/stl_queue.h: Doxygenate and reformat.
1321 * include/bits/ios_base.h, include/std/std_streambuf.h: Add comment
1322 for deprecated names required by the standard.
1324 2002-06-14 J.T. Conklin <jtc@acorntoolworks.com>
1326 * configure.in (target_alias): Fix.
1327 * configure: Regenerate.
1328 * aclocal.m4: Regenerate.
1330 2002-06-12 Phil Edwards <pme@gcc.gnu.org>
1332 * include/Makefile.am: Add new files.
1333 * include/Makefile.in: Regenerate.
1335 * include/bits/stl_deque.h, include/bits/stl_list.h,
1336 include/bits/stl_vector.h: Clean up, reformat. Move definitions...
1337 * include/bits/deque.tcc, include/bits/list.tcc,
1338 include/bits/vector.tcc: ...to here. New files.
1340 * include/ext/stl_hashtable.h: Inclide correct full headers.
1341 * include/std/std_deque.h: Include .tcc files for now.
1342 * include/std/std_list.h: Likewise.
1343 * include/std/std_vector.h: Likewise.
1345 2002-06-12 Daniel Jacobowitz <drow@mvista.com>
1347 * Makefile.am: Add FLAGS_TO_PASS.
1348 * Makefile.in: Regenerated.
1350 2002-06-11 J.T. Conklin <jtc@acorntoolworks.com>
1351 Benjamin Kosnik <bkoz@redhat.com>
1353 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
1355 * configure.in: Add support for *-qnx6.[12]*.
1356 * configure: Regenerate.
1358 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
1360 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
1361 ctype_noninline.h, os_defines.h: New files.
1363 2002-06-10 Loren J. Rittle <ljrittle@acm.org>
1365 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
1366 include all required headers for test against older POSIX standard.
1367 (GLIBCPP_CHECK_SETRLIMIT): Likewise.
1368 (ac_setrlimit): Likewise.
1369 * aclocal.m4: Regenerate.
1370 * configure: Regenerate.
1371 * testsuite/testsuite_hooks.cc: Reorder and include all
1372 required headers for use against older POSIX standard.
1374 2002-06-08 Paolo Carlini <pcarlini@unitus.it>
1376 * testsuite/backwards/strstream_members.cc: New.
1378 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
1380 * include/backwards/strstream: Format.
1381 * src/strstream.cc: Format.
1383 2002-06-08 Andreas Schwab <schwab@suse.de>
1385 * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
1386 _M_buf_size and _M_buf_size_opt to the new buffer and size.
1388 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
1390 * config/os/generic/bits/ctype_noninline.h: Tweak format.
1392 2002-06-07 Steve Ellcey <sje@cup.hp.com>
1394 * src/locale-inst.cc (__codecvt_abstract_base):
1395 Put inside _GLIBCPP_USE_WCHAR_T ifdef.
1396 * include/bits/istream.tcc (basic_istream): Ditto.
1399 * include/bits/ostream.tcc (basic_ostream): Ditto.
1403 (operator<<): Ditto.
1405 2002-06-07 Phil Edwards <pme@gcc.gnu.org>
1407 * mkcheck.in: Link against local testsuite library.
1408 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
1409 implementation out...
1410 * testsuite/testsuite_hooks.cc: ...to here.
1412 2002-06-06 Loren J. Rittle <ljrittle@acm.org>
1414 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
1415 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
1416 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
1417 * src/Makefile.in: Regenerate (explicitly with --cygnus option).
1418 * testsuite/Makefile.in: Likewise.
1420 2002-06-05 David Edelsohn <edelsohn@gnu.org>
1422 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
1423 Call external symbol.
1425 2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1427 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1428 Search correct multilib testsuite dir for libv3test.
1430 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
1431 Gaby Dos Reis <gdr@codesourcery.com>
1433 * include/bits/basic_string.tcc
1434 (basic_string::_S_construct(forward_iterator_tag):
1435 Fix typo in null pointer check.
1436 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
1438 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
1440 * testsuite/22_locale/money_get_members_char.cc
1441 (test02): Add decimal point to long double constants.
1442 * testsuite/22_locale/money_get_members_wchar_t.cc
1444 * testsuite/22_locale/money_put_members_char.cc
1445 (test02, test03, test06): Likewise.
1446 * testsuite/22_locale/money_put_members_wchar_t.cc:
1447 (test02, test03, test06): Likewise.
1448 * testsuite/22_locale/num_get_members_char.cc:
1449 (test02, test01): Likewise; suffix long long constants with LL.
1450 * testsuite/22_locale/num_get_members_wchar_t.cc:
1451 (test02, test01): Likewise.
1452 * testsuite/22_locale/num_put_members_char.cc:
1453 (test02, test01): Likewise.
1454 * testsuite/22_locale/num_put_members_wchar_t.cc:
1455 (test02, test01): Likewise.
1457 2002-06-03 Marc Espie <espie@openbsd.org>
1459 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
1460 assembly for old assemblers.
1462 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1464 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
1466 (vector<bool>::swap(reference,reference)): ...to this.
1468 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1470 * docs/doxygen/TODO: Update.
1471 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
1472 some class members are in 14882 order.
1473 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
1475 * include/std/std_bitset.h: Update comment.
1476 * src/bitset.cc: Update comments, clean up spacing.
1478 * src/Makefile.am (sources): Alphabetize for convenience.
1479 * src/Makefile.in: Regenerate.
1481 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1483 * include/bits/stl_deque.h, include/bits/stl_list.h,
1484 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
1485 Reorder to match 14882. Doxygen blocks for all public members.
1487 2002-05-31 Marcus Meissner <meissner@suse.de>
1490 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
1491 * testsuite/23_containers/vector_bool.cc (test02): New test.
1493 2002-05-30 Marc Espie <espie@openbsd.org>
1495 * configure.in: Always check for sys/types.h
1496 * configure: Regenerate.
1498 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1500 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
1501 Rebuild the wrapper file every time this proc is called.
1503 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
1505 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
1507 * testsuite/Makefile.in: Regenerate.
1508 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
1509 list_modifiers.cc and rename from 'T'. Move code bodies...
1510 * testsuite/testsuite_hooks.cc: ...to here. New file.
1511 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
1512 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1513 Add libv3test.a to link options.
1515 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1517 * src/misc-inst.cc: Define unnecessary algorithm
1518 instantiations. Break apart instantiations into groupings below.
1519 * src/fstream-inst.cc: New.
1520 * src/io-inst.cc: New.
1521 * src/istream-inst.cc: New.
1522 * src/ostream-inst.cc: New.
1523 * src/streambuf-inst.cc: New.
1524 * src/sstream-inst.cc: New.
1525 * src/Makefile.am (sources): Add files.
1526 * src/Makefile.in: Regenerate.
1528 * acinclude.m4: Work around automake 1.4-p5 bug, change
1529 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
1531 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1534 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
1535 (classic_table): Fix.
1536 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1538 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1540 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
1541 _GLIBCPP_USE_WCHAR_T.
1542 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
1543 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
1544 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
1546 2002-05-26 Carlo Wood <carlo@alinoe.com>
1547 Paolo Carlini <pcarlini@unitus.it>
1550 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1551 (__enc_traits::operator=): add missing return statement.
1553 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
1556 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
1557 (operator>>): If nothing was extracted, don't fail in the
1559 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
1561 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
1564 * testsuite/22_locale/ctype_narrow_char.cc: New.
1565 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
1566 * testsuite/22_locale/ctype_widen_char.cc: New.
1567 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
1568 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
1569 * testsuite/22_locale/ctype_is_char.cc: ...this.
1570 * testsuite/22_locale/ctype_to_char.cc: ...and this.
1571 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
1572 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
1573 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
1575 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
1577 2002-05-24 Dale Peakall <dale@peakall.net>
1580 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
1581 * config/locale/generic/ctype_members.cc: Same.
1583 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
1586 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1587 for empty string literal.
1588 (ostream::operator<<(const _CharT*)): Same.
1589 (ostream<char>::operator<<(const char*)): Same.
1590 (ostream<char>::operator<<(streambuf*)): Same.
1591 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
1592 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
1594 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
1596 * configure.in (release_VERSION): Update to 3.1.1.
1597 (libtool_VERSION): Update to 4:1:0.
1598 * configure: Regenerate.
1600 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1602 * include/bits/stl_pair.h: Tweak comment markup.
1604 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1606 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
1608 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1610 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
1612 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1614 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
1615 Doxygenate all public members. Reorder to follow 14882.
1616 (vector::push_back(void)): Remove previously-deprecated fn.
1617 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
1618 Deprecate for removal in 3.3.
1620 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
1622 * docs/html/faq/index.html (5.4): Recommend against -I options for
1623 finding the ext headers.
1624 * docs/html/faq/index.txt: Regenerate.
1626 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
1628 * testsuite/23_containers/deque_operators.cc (test01):
1629 Fix minor typo in last commit.
1631 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
1634 * include/bits/stl_deque.h (_Deque_iterator::operator==,
1635 operator!=, operator<, operator>, operator>=, operator<=):
1636 Make non-member functions, to allow comparing const and
1637 non-const iterators in any order.
1638 * testsuite/23_containers/deque_operators.cc: New testfile.
1640 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
1642 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
1643 * docs/html/faq/index.txt: Regenerate.
1645 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1647 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
1648 * acinclude.m4: Likewise.
1649 * docs/html/Makefile: Likewise.
1650 * aclocal.m4: Regenerate.
1651 * configure: Regenerate.
1652 * Makefile.in: Regenerate.
1654 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
1657 * include/bits/c++config (__USE_MALLOC): Report case where
1658 the user improperly defined it on the command line.
1660 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1662 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
1663 Retrieve current limits before setting.
1665 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
1668 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1670 (ostream::operator<<(const _CharT*)): Same.
1671 (ostream<char>::operator<<(const char*)): Same.
1672 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
1674 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
1677 * src/strstream.cc (strstreambuf): Fix leak.
1679 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
1682 * include/bits/istream.tcc (istream::getline, ignore):
1683 Upon __idelim (__delim) call sbumpc() not snextc().
1684 * testsuite/27_io/narrow_stream_objects.cc:
1685 Add test08 and test09.
1687 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1689 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
1690 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
1692 * docs/html/install.html: Fix.
1694 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1696 * include/bits/fstream.tcc
1697 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
1699 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
1701 * docs/html/install.html: Tweak, add bits about required locales
1702 for the 22_locale tests when using the gnu model.
1704 * testsuite/27_io/istream_sentry.cc: Tweak.
1706 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1708 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
1709 Fix typo, use this->is() rather than manually (and perhaps
1710 incorrectly) inlining it.
1711 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
1713 * testsuite/22_locale/ctype_scan_char.cc: New file.
1715 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1716 Jakub Jelinek <jakub@redhat.com>
1718 * testsuite/22_locale/money_get_members_char.cc
1719 (test01, test02, test04): Use the de_DE@euro named locale
1720 instead of de_DE to allow for an uniform behaviour with
1721 both old and Euro-era localedata; tweak some tests.
1722 * testsuite/22_locale/money_get_members_wchar_t.cc
1723 (test01, test02, test04): Likewise.
1724 * testsuite/22_locale/money_put_members_char.cc
1725 (test01, test02, test04): Likewise.
1726 * testsuite/22_locale/money_put_members_wchar_t.cc
1727 (test01, test02, test04): Likewise.
1729 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1731 * testsuite/22_locale/codecvt_members_char_char.cc
1732 (test03): Robustify wrt localedata.
1733 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
1734 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
1735 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
1736 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
1737 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
1738 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
1739 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
1740 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
1741 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
1742 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
1743 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
1744 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
1745 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
1746 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
1747 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1748 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1749 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
1750 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
1751 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
1752 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
1753 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
1754 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
1756 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1758 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
1761 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1763 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
1764 to 64 for hppa 64-bit port.
1765 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
1767 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1769 * acinclude.m4 (enable_symvers): Quote $LD.
1770 * aclocal.m4: Regenerate.
1771 * configure: Likewise.
1773 2002-05-09 Jakub Jelinek <jakub@redhat.com>
1775 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
1776 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
1779 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
1781 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1782 script entry, and set LD to it when configuring multilibs.
1783 * configure: Rebuilt.
1785 2002-05-07 Mark Mitchell <mark@codesourcery.com>
1787 * configure.in: Add support for WindISS.
1788 * configure: Regenerated.
1789 * configure.target: Add support for WindISS.
1790 * config/os/windiss/bits/ctype_base.h: New file.
1791 * config/os/windiss/bits/ctype_inline.h: Likewise.
1792 * config/os/windiss/bits/ctype_noninline.h: Likewise.
1793 * config/os/windiss/bits/os_defines.h: Likewise.
1795 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
1797 Test all the facets for the temporary "C" locale switch issue.
1798 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
1799 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1800 * testsuite/22_locale/collate_members_char.cc: Add test04.
1801 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1802 * testsuite/22_locale/ctype_members_char.cc: Add test05.
1803 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
1804 * testsuite/22_locale/messages_members_char.cc: Add test03.
1805 * testsuite/22_locale/money_get_members_char.cc: Add test08.
1806 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1807 * testsuite/22_locale/money_put_members_char.cc: Add test07.
1808 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1809 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
1810 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1811 * testsuite/22_locale/num_get_members_char.cc: Add test06.
1812 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1813 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
1814 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1815 * testsuite/22_locale/time_get_members_char.cc: Add test08.
1816 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1817 * testsuite/22_locale/time_put_members_char.cc: Add test04.
1818 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1820 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1821 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1823 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1825 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
1826 __EXTENSIONS__): Ensure they are always defined.
1828 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
1830 * docs/html/documentation.html: Fix broken link.
1832 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
1833 Paolo Carlini <pcarlini@unitus.it>
1835 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
1836 testing for the locale_facets.tcc entry of the previous commit.
1837 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1839 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
1841 * config/locale/generic/c_locale.cc
1842 (__convert_to_v(float, double, long double)):
1843 Fix the temporary switch to the "C" locale, saving and
1844 restoring in the proper way the current locale.
1845 * config/locale/generic/time_members.cc
1846 (__timepunct<char, wchar_t>::_M_put): Likewise.
1847 * config/locale/gnu/messages_members.cc
1848 (messages<char>::do_get): Likewise.
1849 * config/locale/gnu/messages_members.h
1850 (messages<_CharT>::do_get): Likewise.
1851 * config/locale/gnu/time_members.cc
1852 (__timepunct<char, wchar_t>::_M_put): Likewise.
1853 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
1855 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1857 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
1858 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
1860 * Makefile.in, config.h.in, configure: Regenerate.
1862 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
1865 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
1866 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
1868 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1870 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
1872 (ctype:_M_table): Initialize to classic_table(), not __ctype.
1874 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1876 * configure.in: Update local install.html, configopts.html paths.
1877 * configure: Regenerate.
1879 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1881 * config/os/irix/irix5.2/bits/os_defines.h
1882 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
1884 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
1887 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
1889 * docs/html/faq/index.html: Update list in #4.1.
1890 * docs/html/faq/index.txt: Regenerated.
1892 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
1894 * docs/html/17_intro/RELEASE-NOTES (New): Update.
1896 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
1898 * include/std/std_bitset.h: Fix doxygen comments.
1899 * docs/html/documentation.html: Minor tweaks for 3.1.
1900 * docs/html/27_io/howto.html: Likewise.
1901 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
1902 * docs/html/faq/index.html: Likewise.
1903 * docs/html/faq/index.txt: Regenerated.
1905 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
1908 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
1909 (istreambuf_iterator::equal): Use it.
1910 (istreambuf_iterator::operator*): Use it.
1912 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
1915 * include/bits/stl_uninitialized.h
1916 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
1917 Fix typo in 2001-07-17 commit: typedef _ValueType to
1918 iterator_traits<_ForwardIter> not <_InputIter>.
1919 * testsuite/23_containers/vector_ctor.cc: Add test04.
1921 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
1924 * include/c_std/std_cctype.h: Include bits/c++config.h.
1925 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
1927 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
1929 * include/ext/stdio_filebuf.h: New file.
1930 * include/ext/enc_filebuf.h: New file.
1931 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
1932 * config/io/basic_file_stdio.cc: Same.
1933 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
1934 Remove _M_unbuf hacks.
1935 (filebuf::_M_destroy_internal_buffer): Same.
1936 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
1937 (filebuf::fd): Remove.
1938 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
1939 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
1940 (filebuf::fd): Remove.
1941 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
1943 (ios_base::_S_ios_destroy): Same.
1944 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
1945 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
1946 stdio_filebuf.h. * include/Makefile.in: Regenerate.
1948 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
1951 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
1953 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
1956 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1958 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
1959 (istreambuf_iterator::operator++): Invalidate on eof.
1960 (istreambuf_iterator::operator++(int)): Same.
1961 (istreambuf_iterator::operator*): Same.
1963 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1965 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
1966 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
1969 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
1972 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
1973 (__basic_file::sys_ungetc): Take int.
1974 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
1975 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1976 Use sys_getc for unbuffered input.
1977 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
1979 * src/ios.cc (_M_grow_words): Adjust error checking.
1980 * testsuite/27_io/ios_base_storage.cc: Same.
1982 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1984 * include/ext/stl_hashtable.h: Import __iterator_category
1986 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
1987 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1989 * testsuite/ext/hash_set.cc: New testfile.
1991 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
1993 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1995 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1996 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1998 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
2000 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
2001 Fix and tighten __throw_length_error check.
2002 * testsuite/21_strings/replace.cc (test05): New.
2003 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
2005 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
2007 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
2008 unconditional flush on lower-layer handle to here...
2009 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
2010 ...from here. Optimize remaining _M_file.sync() call pattern.
2011 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
2014 2002-04-23 Jason Merrill <jason@redhat.com>
2016 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
2017 output-only filebufs.
2018 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
2020 (basic_filebuf::_M_set_determinate): Likewise.
2023 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
2024 value properly in the trivial case.
2025 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
2026 tellg() returns the right value after a read.
2028 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
2030 * config/cpu/mmix/bits/cpu_limits.h: New file.
2031 * configure.target (CPULIMITSH): Use it.
2033 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
2035 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
2036 * docs/html/17_intro/porting.html: Rebuilt.
2038 2002-04-20 Jason Merrill <jason@redhat.com>
2041 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
2043 (basic_streambuf::_M_set_determinate): Likewise.
2044 (basic_streambuf::_M_is_indeterminate): Likewise.
2045 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
2046 non-static data member.
2047 (basic_filebuf::_M_underflow_common): New non-static member function.
2048 (basic_filebuf::_M_underflow, _M_uflow): Call it.
2049 (basic_filebuf::sync): Avoid useless seeking.
2050 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
2052 (basic_filebuf::_M_set_determinate): Likewise.
2053 (basic_filebuf::_M_is_indeterminate): Likewise.
2054 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
2055 back to _M_out_beg if necessary.
2056 (basic_filebuf::seekoff): Likewise.
2057 (basic_filebuf::_M_underflow_common): Generalization of old
2058 underflow(). Don't seek back to _M_in_beg.
2059 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
2060 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
2061 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
2062 * config/os/mingw32/bits/os_defines.h: Likewise.
2063 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
2066 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
2068 * include/bits/istream.tcc (istream::read): Fix.
2069 * testsuite/27_io/istream_unformatted.cc (main): Add.
2071 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
2074 * include/bits/istream.tcc (istream::ignore): Streamline, use
2076 * include/bits/streambuf.tcc: Use this->gptr.
2077 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
2079 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
2081 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
2082 as type safety is important, especially on solaris.
2083 * include/bits/istream.tcc (istream::read): Clean.
2084 (istream::readsome): Same.
2085 * locale.cc: Wrap lines.
2087 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
2088 * testsuite/27_io/instantiations.cc (test): Add bool variable...
2089 * testsuite/21_strings/capacity.cc: Clean.
2091 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2093 * docs/doxygen/doxygroups.cc: New group on binary searching.
2094 * include/bits/stl_algo.h: Document binary searches and merges.
2095 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
2097 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2099 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
2100 * docs/doxygen/run_doxygen: Bump required version.
2101 * docs/doxygen/user.cfg.in: Revert accidental change.
2102 * docs/html/faq/index.html: Reindent a block of links.
2103 (4.4): New note on using dlsym.
2104 * docs/html/faq/index.txt: Regenerated.
2106 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2108 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
2110 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
2112 * config/linker-map.gnu (__malloc_alloc_template): Add.
2113 (__default_alloc_template): Same.
2114 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
2116 (__default_alloc_template): Same.
2118 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
2120 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
2122 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
2124 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
2125 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
2126 (__malloc_alloc_template): Conditionalize.
2128 * include/bits/istream.tcc: Remove sputbackc calls.
2130 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
2132 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
2134 * testsuite/24_iterators/rel_ops.cc: New test.
2136 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2138 * include/bits/type_traits.h (__normal_iterator): Declare in
2139 __gnu_cxx. Adjust use at global namespace.
2140 * include/bits/stl_iterator.h (__normal_iterator): Move definition
2141 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
2142 * include/bits/basic_string.h (basic_string): Adjust use of
2144 * include/bits/stl_vector.h (_Alloc>): Likewise.
2145 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
2146 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
2148 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
2152 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
2154 (__basic_file::close): Call fflush. Correct return if fclose ok.
2155 (__basic_file::is_open): Make const.
2156 Change __c_file_type to __c_file.
2157 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
2158 (__basic_file::is_open): Make const.
2159 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
2160 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
2161 (filebuf::_M_unbuf): Add.
2162 (filebuf::_M_file): Change to non-pointer.
2163 (filebuf::_M_allocate_pback_buffer): Remove.
2164 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
2165 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
2166 Change initialization list for _M_file change.
2167 (filebuf::_M_allocate_pback_buffer): Remove.
2168 Change _M_file usage to reflect non-pointer data member.
2170 * config/locale/generic/c_locale.cc
2171 (locale::facet::_S_create_c_locale): Add parameter.
2172 * config/locale/generic/collate_members.cc: Change
2173 _M_compare_helper to _M_compare.
2174 Change _M_transform_helper to _M_transform.
2175 * config/locale/generic/monetary_members.cc: Changeup data types.
2177 * config/locale/generic/numeric_members.cc: Add dtors.
2178 * config/locale/generic/time_members.cc: Add dtors.
2179 * config/locale/gnu/c_locale.cc: Add parameter.
2180 * config/locale/gnu/collate_members.cc:Change
2181 _M_compare_helper to _M_compare.
2182 Change _M_transform_helper to _M_transform.
2183 * config/locale/gnu/ctype_members.cc: Better error checking.
2184 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
2185 * config/locale/gnu/messages_members.cc: Tweak comment.
2186 * config/locale/gnu/monetary_members.cc: Change data types.
2188 * config/locale/gnu/numeric_members.cc: Add dtors, better error
2190 * config/locale/gnu/time_members.cc: Same.
2191 * config/locale/ieee_1003.1-2001/c_locale.cc
2192 (locale::facet::_S_create_c_locale): Add parameter.
2193 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
2194 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
2197 * include/bits/locale_facets.h (moneypunct): Use string literals.
2200 (__timepunct): Same.
2201 (locale::_Impl::_M_facets): Change from vector to array.
2202 (locale::_Impl::_M_names): Change from array of strings to array
2204 (locale::facet::_S_create_c_locale): Add parameter.
2205 (locale::locale::_S_num_facets): Move to...
2206 (locale::_Impl::_M_facets_size): Here.
2207 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
2209 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
2210 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
2211 (locale::_Impl::_Impl(string, size_t)): Change to
2212 (locale::_Impl::_Impl(const char*, size_t)): This.
2214 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
2215 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
2216 (streambuf::_S_pback_size): This.
2218 * src/globals.cc: Add pre-allocations for "C" facets.
2219 * src/locale-inst.cc: Remove vector instantiations.
2220 * src/locale.cc: Remove vector include. Fixups for _M_names,
2222 * src/localename.cc: Same.
2224 * include/bits/stl_vector.h: Fix odd formatting.
2226 * include/bits/basic_string.tcc: Tweak comment.
2228 * libsupc++/new: Make sure parameters are uglified.
2229 * libsupc++/typeinfo: Same.
2231 * testsuite/22_locale/num_get_members_char.cc: Fixup.
2232 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
2233 * testsuite/27_io/filebuf_members.cc: Same.
2235 2002-04-12 Steve Ellcey <sje@cup.hp.com>
2237 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
2238 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
2239 does not define strtoll or strtoull, but does define strtol
2240 and strtoul which are the same since in 64 bit mode
2241 sizeof(long) == sizeof(long long).
2243 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
2245 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
2246 trailing spaces, indentation, and macro names. Make exception
2247 messages more informative.
2249 2002-04-11 Richard Henderson <rth@redhat.com>
2251 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
2252 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
2253 (basic_ostream<>::operator<<(long long)): Same.
2255 2002-04-11 Richard Henderson <rth@redhat.com>
2257 * config/linker-map.gnu: Add __gxx_personality_sj0.
2259 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
2262 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
2264 Remove forward declaration of vector.
2266 * include/bits/locale_facets.tcc: Remove vector include.
2267 (use_locale): Adjust.
2268 (has_locale): Adjust.
2269 * src/locale.cc: Adjust.
2270 * src/localename.cc: Same.
2272 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
2273 Richard Henderson <rth@redhat.com>
2275 * include/bits/sstream.tcc: Clean up bit ops.
2276 * include/bits/fstream.tcc: Same.
2278 2002-04-09 Jakub Jelinek <jakub@redhat.com>
2280 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
2281 (__num_base::_S_scale_oct): Remove.
2282 * src/locale.cc (__num_base::_S_scale_hex): Remove.
2283 (__num_base::_S_scale_oct): Remove.
2285 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
2288 * testsuite/23_containers/bitset_members.cc: New test.
2289 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
2290 (_S_bit_count): Here.
2291 (_First_one::_S_first_one): Move...
2292 (_S_first_one): Here.
2294 * src/bitset.cc: Adjust.
2295 * config/linker-map.gnu: Export.
2297 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
2300 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
2301 * include/std/std_fstream.h: Clean.
2302 * include/bits/ostream.tcc: Remove extraneous variables.
2303 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
2304 open modes and which modes.
2305 (stringbuf::seekpos): Same.
2306 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
2308 2002-04-05 Jonathan Wakely <jw@kayari.org>
2310 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
2311 random_shuffle, partition, stable_partition, sort, stable_sort,
2312 partial_sort, partial_sort_copy, nth_element): Doxygenate.
2314 2002-04-05 David S. Miller <davem@redhat.com>
2316 * config/os/gnu-linux/bits/os_defines.h
2317 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
2319 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
2322 via gawrilow@math.tu-berlin.de
2323 * acinclude.m4 (version_specific_libs): Fix combo usage with
2324 --with-gxx-include-dir.
2325 * aclocal.m4: Regenerate.
2328 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
2330 As per DR 184, libstdc++/3139
2331 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
2332 (numeric_limits<bool>::is_iec559): False.
2333 (numeric_limits<bool>::is_modulo): False.
2335 * testsuite/27_io/ios_init.cc: Add instantiations.
2337 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
2340 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
2341 * testsuite/27_io/ios_init.cc (tests04): Add test.
2344 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
2345 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
2346 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
2347 * include/bits/istream.tcc: Use _M_fctype, make consistent with
2349 * testsuite/27_io/ios_init.cc (tests03): Add test.
2351 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
2353 * include/Makefile.am (install-data-local): Use mkinstalldirs.
2354 * include/Makefile.in: Regenerate.
2356 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
2357 Nathan Myers <ncm@cantrip.org>
2358 Philip Martin <philip@codematters.co.uk>
2360 * include/bits/basic_string.h
2361 (replace(i1, i2, _CharT* k1, _CharT* k2),
2362 replace(i2, i2, const _CharT* k1, const _CharT* k2),
2363 replace(i1, i2, iterator k1, iterator k2,
2364 replace(i1, i2, const_iterator k1, const_iterator k2):
2365 New specializations to optimize for the common cases of
2366 pointers and iterators.
2367 (replace(pos, n1, s, n2)): Tweak.
2368 * include/bits/basic_string.tcc: Tweak comments.
2369 * testsuite/21_strings/replace.cc (test04): New tests.
2371 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
2374 * acinclude: More extensive checks for msgfmt, --enable-nls.
2375 * aclocal.m4: Regenerate.
2376 * configure: Regenerate.
2378 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
2380 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
2381 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
2382 * docs/html/18_support/howto.html: Document the demangler.
2383 * docs/html/17_intro/howto.html: And link to it.
2385 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
2386 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
2388 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
2390 * config/linker-map.gnu: Export __verbose_terminate_handler.
2391 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
2392 Make new LTCOMPILE variable, use it in new special build rules.
2393 * libsupc++/Makefile.in: Rebuild.
2394 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
2395 runtime __cxa_demangle.
2397 * docs/html/install.html: Update prereqs and instructions.
2398 * docs/html/19_diagnostics/howto.html: Bring naming for
2399 verbose_terminate_handler into line with reality.
2401 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
2404 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
2405 (basic_ios::_M_streambuf_state): Move.
2406 * include/bits/ios_base (ios_base): To here.
2407 * include/bits/ios_base.h (ios_base::_S_local_words): To
2409 (ios_base::_M_word_array): To _M_local_word.
2410 (ios_base::_M_words_limit): To _M_word_size.
2411 (ios_base::_M_words): To _M_word.
2413 * include/bits/basic_ios.tcc: Adjust.
2414 * src/ios.cc (ios_base::_M_grow_words): Tweak.
2415 * testsuite/27_io/ios_base_storage.cc: Add tests.
2418 Kenny Simpson <theonetruekenny@yahoo.com>
2419 * include/bits/ios_base.h: Fix.
2421 Richard Henderson <rth@redhat.com>
2422 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
2425 * include/bits/basic_string.h: Tweak formatting.
2427 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
2429 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
2430 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
2431 By definition, sizeof(char) == 1.
2432 * include/bits/locale_facets.tcc (money_get::do_get,
2433 money_put::do_put): Ditto.
2434 * testsuite/21_strings/inserters_extractors.cc
2437 2002-03-30 Richard Henderson <rth@redhat.com>
2440 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
2441 data out of the exception struct before calling unexpectedHandler.
2443 2002-03-28 Roger Sayle <roger@eyesopen.com>
2445 * include/c_std/std_cmath.h: To prevent problems overloading
2446 g++ builtins, use the double variants from the global namespace
2447 before defining float and long double variants in std::.
2449 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
2451 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
2453 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
2455 * testsuite/24_iterators/istream_iterator.cc
2456 (test02): New tests.
2458 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2459 Paolo Carlini <pcarlini@unitus.it>
2461 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
2462 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
2463 fix i_lit_base e_lit_base arrays, making them independent
2464 from the endianness of the platform; tweak UCS4 to UCS-4BE.
2466 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
2468 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
2469 allocate at least a byte.
2471 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
2473 * testsuite/27_io/streambuf.cc (test07): Fix.
2476 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
2478 * docs/doxygen/Intro.3: Date tweak.
2479 * docs/doxygen/TODO: Update.
2480 * docs/doxygen/doxygroups.cc: Point to tables.html.
2481 * docs/doxygen/mainpage.html: Date tweak.
2482 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
2483 * docs/doxygen/tables.html: Fill in the blanks.
2485 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
2486 * include/bits/stl_algo.h: Likewise; use expanded form.
2487 * include/bits/stl_alloc.h: Likewise.
2488 * include/bits/stl_construct.h: Likewise.
2489 * include/bits/stl_deque.h: Likewise.
2490 * include/bits/stl_iterator_base_types.h: Likewise.
2491 * include/bits/stl_list.h: Likewise.
2492 * include/bits/stl_relops.h: Likewise.
2493 * include/bits/stl_tempbuf.h: Likewise.
2494 * include/bits/stl_vector.h: Likewise.
2495 * include/std/std_memory.h: Likewise.
2497 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
2498 * include/bits/stl_list.h: Likewise.
2499 * include/bits/stl_vector.h: Likewise.
2501 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
2503 * include/c/: Guard with _CPP_.
2504 * include/c_std/: Same.
2505 * include/Makefile.am: Fixup install, link routines for null
2506 c_base_headers_extra scenarios.
2507 * include/Makefile.in: Regerate.
2509 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
2510 Richard Henderson <rth@redhat.com>
2512 * testsuite/22_locale/codecvt_members_unicode_char.cc
2513 (test01, test02): make sure that the i_lit_base array
2514 is sufficiently aligned.
2516 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
2518 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
2521 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
2523 * testsuite/22_locale/collate_byname.cc
2524 (test01): compare the result of collate::compare with
2525 that of collate::transform + string::compare, not with
2526 that of collate::transform + collate::compare; values
2527 returned by collate::compare are normalized, therefore
2530 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
2531 Jakub Jelinek <jakub@redhat.com>
2533 * config/locale/gnu/messages_members.h: Correct conditional.
2534 * config/locale/gnu/messages_members.cc: Same.
2535 * config/locale/gnu/time_members.cc: Same.
2537 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2538 Paolo Carlini <pcarlini@unitus.it>
2540 * testsuite/22_locale/codecvt_members_unicode_char.cc
2541 (test01, test02): Fix i_lit_base arrays, making them
2542 independent from the endianness of the platform.
2544 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2546 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
2547 signbit and __signbit directly.
2548 * aclocal.m4: Regenerate.
2549 * configure: Regenerate.
2550 * config.h.in: Regenerate.
2551 * libmath/Makefile.am: Simplify.
2552 * libmath/Makefile.in: Regenerate.
2553 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
2555 * include/Makefile.am: Clean up handling of extra "C" header files.
2556 Add hooks for "C" compatibility headers.
2557 * include/Makefile.in: Regenerate.
2559 * include/c/*: Formatting tweaks, cleanups.
2560 * include/c_std/*: Same.
2562 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2564 * config/locale/gnu/messages_members.h: Add __uselocale bits.
2565 * config/locale/gnu/messages_members.cc: Same.
2566 * config/locale/gnu/time_members.cc: Same.
2568 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2570 * src/vterminate.cc: Format, -fno-exceptions cleanup.
2572 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2574 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
2575 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
2576 * aclocal.m4: Regenerate.
2577 * configure: Likewise.
2579 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
2580 Ulrich Drepper <drepper@redhat.com>
2582 * src/locale-inst.cc (__convert_from_v): Add an additional
2583 __size parameter in the declarations.
2584 * include/bits/locale_facets.tcc
2585 (__convert_from_v): When available (that is,
2586 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
2587 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
2588 being defined or not, call and use __convert_from_v in the
2590 (num_put::_M_convert_int): Same here.
2591 (money_put::do_put(long double)): Same here.
2593 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
2595 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
2596 * docs/html/faq/index.txt: Regenerate.
2598 2002-03-19 Steve Ellcey <sje@cup.hp.com>
2600 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
2601 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
2602 --enable-libunwind-exceptions is set.
2603 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
2604 macro to check for libunwind.
2605 * configure: Regenerate.
2606 * src/Makefile.am (libstdc___la_LDFLAGS): Add
2607 LIBUNWIND_FLAG to libstdc link line.
2608 * src/Makefile.in: Regenerate.
2610 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
2612 * docs/html/faq/index.html: Add OS X workaround.
2613 * docs/html/17_intro/TODO: Update.
2615 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
2617 * include/bits/locale_facets.tcc
2618 (money_put::do_put(long double)): Fix dimensioning of
2619 temporary buffers to avoid risk of overruns.
2620 (money_put::do_put(string)): Same for the buffer used to
2621 add the grouping chars.
2622 * testsuite/22_locale/money_put_members_char.cc: Add test06.
2623 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2625 * include/bits/locale_facets.tcc
2626 (collate::do_transform): Simplify.
2628 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
2630 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
2631 * configure.in: Add comments pointing the way for autoconf 2.5x.
2632 * aclocal.m4, config.h.in, configure: Regenerate.
2634 2002-03-18 Philipp Thomas <pthomas@suse.de>
2636 * include/backward/hash_map.h: hash, hashtable, hash_map and
2637 hash_multimap are in namespace __gnu_cxx.
2638 include/backward/hash_set.h: hash, hashtable, hash_set and
2639 hash_multiset are in namespace __gnu_cxx.
2640 include/backward/hashtable.h: hash and hashtable are in
2641 namespace __gnu_cxx.
2642 include/backward/rope.h: char_producer, sequence_buffer,
2643 rope, crope and wrope are in namespace __gnu_cxx.
2644 include/backward/slist.h: slist is in namespace __gnu_cxx.
2645 * testsuite/backward/header_hash_map_h.cc
2646 testsuite/backward/header_hash_set_h.cc
2647 testsuite/backward/header_hashtable_h.cc
2648 testsuite/backward/header_rope_h.cc
2649 testsuite/backward/header_slist_h.cc
2650 testsuite/backward/header_tempbuf_h.cc: New tests for
2651 checking that we're using the correct namespace.
2653 2002-03-17 Jason Merrill <jason@redhat.com>
2656 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
2657 (check_exception_spec): Call it. Take the thrown pointer.
2658 (__cxa_call_unexpected): Pass it.
2659 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
2661 2002-03-15 Anthony Green <green@redhat.com>
2663 * configure.in: Remove useless is_mingw32.
2664 * configure: Rebuilt.
2666 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
2668 * testsuite/22_locale/collate_members_char.cc
2669 (test01): compare the result of collate::compare with
2670 that of collate::transform + string::compare, not with
2671 that of collate::transform + collate::compare.
2672 (test01): values returned by collate::compare are
2673 normalized, therefore test against +-1.
2674 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
2676 2002-03-12 Loren Rittle <ljrittle@acm.org>
2678 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2679 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
2681 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2682 Per Liboriussen <liborius@stofanet.dk>
2684 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
2686 * config/os/gnu-linux/bits/ctype_inline.h: Same.
2688 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
2690 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
2691 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2693 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
2694 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2696 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
2697 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2699 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
2701 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2703 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
2704 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
2705 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
2706 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
2707 that memory limits are in place.
2708 (test03): Add tests.
2710 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2712 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
2713 * aclocal.m4: Regenerate.
2714 * config.h.in: Regenerate.
2715 * configure: Regenerate.
2716 * include/c_std/std_cwctype.h: Guard.
2718 2002-03-11 Chris Demetriou <cgd@broadcom.com>
2720 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
2721 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
2722 * aclocal.m4: Regenerate.
2723 * configure: Regenerate.
2725 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2727 * include/bits/stl_bvector.h: Fix warning.
2729 2002-03-11 Richard Henderson <rth@redhat.com>
2731 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
2733 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2735 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
2736 New function. Build the list of tests to run in testsuite_files.
2737 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
2739 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2741 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
2742 platforms with no weak support.
2743 * testsuite/27_io/ios_init.cc: Likewise.
2745 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
2747 * include/bits/locale_facets.tcc (time_put::do_put):
2748 Consider sizeof(char_type) in allocating the buffer.
2750 * include/bits/locale_facets.tcc (collate::do_tranform):
2751 Remove redundant variable.
2753 2002-03-10 Ulrich Drepper <drepper@redhat.com>
2754 Paolo Carlini <pcarlini@unitus.it>
2756 * config/locale/generic/collate_members.cc
2757 (collate<char,wchar_t>::_M_compare_helper): normalize
2758 values returned by strcoll and wcscoll.
2759 * config/locale/gnu/collate_members.cc
2760 (collate<char,wchar_t>::_M_compare_helper): ditto
2761 for __strcoll_l and __wcscoll_l.
2763 2002-03-10 Anthony Green <green@redhat.com>
2765 * configure.in: Support cross builds to mingw32 target.
2766 * configure: Rebuilt.
2768 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
2770 * include/bits/locale_facets.tcc (collate::do_transform):
2771 Rewrite to fix problems with long transformed strings.
2773 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2775 * c_locale_generic.cc: Move to...
2776 * generic/c_locale.cc
2777 * c_locale_generic.h: Move to...
2778 * generic/c_locale.h
2779 * codecvt_specializations_generic.h: Move to...
2780 * generic/codecvt_specializations.h
2781 * collate_members_generic.cc: Move to...
2782 * generic/collate_members.cc
2783 * ctype_members_generic.cc: Move to...
2784 * generic/ctype_members.cc
2785 * messages_members_generic.cc: Move to...
2786 * generic/messages_members.cc
2787 * messages_members_generic.h: Move to...
2788 * generic/messages_members.h
2789 * moneypunct_members_generic.cc: Move to...
2790 * generic/monetary_members.cc
2791 * numpunct_members_generic.cc: Move to...
2792 * generic/numeric_members.cc
2793 * time_members_generic.cc: Move to...
2794 * generic/time_members.cc
2795 * c_locale_gnu.cc: Move to...
2797 * c_locale_gnu.h: Move to...
2799 * collate_members_gnu.cc: Move to...
2800 * gnu/collate_members.cc
2801 * ctype_members_gnu.cc: Move to...
2802 * gnu/ctype_members.cc
2803 * messages_members_gnu.cc: Move to...
2804 * gnu/messages_members.cc
2805 * messages_members_gnu.h: Move to...
2806 * gnu/messages_members.h
2807 * moneypunct_members_gnu.cc: Move to...
2808 * gnu/monetary_members.cc
2809 * numpunct_members_gnu.cc: Move to...
2810 * gnu/numeric_members.cc
2811 * time_members_gnu.cc: Move to...
2812 * gnu/time_members.cc
2813 * c_locale_ieee_1003.1-200x.cc: Move to...
2814 * ieee_1003.1-2001/c_locale.cc
2815 * c_locale_ieee_1003.1-200x.h: Move to...
2816 * ieee_1003.1-2001/c_locale.h
2817 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
2818 * ieee_1003.1-2001/codecvt_specializations.h
2819 * messages_members_ieee_1003.1-200x.cc: Move to...
2820 * ieee_1003.1-2001/messages_members.cc
2821 * messages_members_ieee_1003.1-200x.h: Move to...
2822 * ieee_1003.1-2001/messages_members.h
2824 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
2825 * aclocal.m4: Regenerate.
2826 * configure: Regenerate.
2827 * src/Makefile.am (sources): Change to monetary and numeric.
2828 * src/Makefile.in: Regenerate.
2829 * docs/html/configopts.html: Update to ieee_1003.1-2001.
2831 2002-03-08 scott snyder <snyder@fnal.gov>
2834 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
2835 Allow one more digit of precision.
2836 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
2837 write a double and read back in the same value.
2839 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2841 * include/std/std_limits.h: Move static const data members out of
2842 generic template, into base class __numeric_limits_base.
2843 * src/limits.cc: Add definitions.
2844 * config/linker-map.gnu: Add __numeric_limits_base.
2845 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
2847 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
2849 * include/bits/stl_alloc.h: Add extern implicit allocator
2851 * include/bits/basic_string.tcc: Tweak.
2852 * include/bits/locale_facets.tcc: Remove default args. Add
2853 has_facet, use_facet extern instantiations.
2854 * src/stl-inst.cc: Add explicit instantiation.
2855 * src/locale-inst.cc: Clean. Remove locale member template
2858 * testsuite/22_locale/operators.cc (test02): Enable.
2860 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
2861 Stephen M. Webb <stephen.webb@bregmasoft.com>
2863 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
2864 (_S_rb_tree_black): Make enum.
2866 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
2867 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
2868 (__stl_threshold): _M_threshold, enum.
2869 * src/stl-inst.cc: Same.
2870 * config/linker-map.gnu: Remove.
2872 * testsuite/23_containers/vector_bool.cc: New.
2874 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2876 * docs/doxygen/user.cfg.in: Also document deprecated entries.
2877 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
2878 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
2879 referring to the collection as a whole. New section on which macros
2880 can be redefined by the user.
2881 * docs/html/19_diagnostics/howto.html: Update note for concepts.
2882 * docs/html/20_util/howto.html: Update link to SGI.
2883 * docs/html/faq/index.html: Update snapshot versions. New entry
2884 on why g++ (but not gcc) must currently predefine certain macros.
2885 * docs/html/faq/index.txt: Regenerated.
2887 * include/bits/basic_string.h (basic_string::_S_construct): Fix
2888 names in declaration.
2889 (basic_string::compare): These are no longer optional.
2890 * include/bits/ostream.tcc: Tweak closing brace placement.
2891 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
2892 * include/std/std_sstream.h: Fix typo in comment.
2893 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
2894 * src/locale.cc: Likewise.
2896 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2899 * include/bits/stl_vector.h (vector::push_back()): Guard with
2900 _GLIBCPP_DEPRECATED.
2902 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2904 * include/bits/c++config: Fix misplaced leading blanks on first line.
2906 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
2908 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
2909 * README (libmath): Make clear.
2911 2002-03-05 Jakub Jelinek <jakub@redhat.com>
2913 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
2914 script globbing in ld.
2915 * aclocal.m4: Rebuilt.
2916 * configure: Rebuilt.
2918 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
2920 * docs/html/17_intro/RELEASE-NOTES: Update.
2921 * README: Format subdirectories.
2923 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
2926 * include/bits/locale_facets.tcc
2927 (num_get::_M_extract_float): Fix the parsing of __dec, since
2928 the standard prescribes that if no grouping characters are
2929 seen, no grouping check is applied.
2930 * testsuite/22_locale/num_get_members_char.cc: Add test05
2931 distilled from the PR.
2932 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2934 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
2936 * docs/html/17_intro/porting-howto.xml: Refer to
2937 http://www.oasis-open.org for docbookx.dtd.
2938 * docs/html/17_intro/porting-howto.html: Regenerated.
2940 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
2943 * include/std/std_sstream.h: Remove trailing spaces.
2944 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
2945 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
2947 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
2949 * testsuite/22_locale/num_get_members_char.cc (test04):
2950 Use a named locale expecting grouping (de_DE).
2951 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
2953 * testsuite/27_io/ios_manip_basefield.cc (test01):
2954 Extend coverage, uniform treatment of hexs and octs.
2956 2002-02-28 Richard Henderson <rth@redhat.com>
2958 * config/linker-map.gnu: Export operator new with unsigned long,
2959 and with std::nothrow_t. Likewise operator delete.
2961 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
2963 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
2964 Admit grouping for octals and hexadecimals too.
2965 * testsuite/22_locale/num_get_members_char.cc: Add test04.
2966 (test01): Tweak "." -> "," in void* test.
2967 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2969 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
2970 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
2972 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
2974 * testsuite/27_io/ios_manip_basefield.cc (test01):
2975 Fix for 64 bit machines.
2977 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
2980 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
2982 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
2983 (basic_ios::_M_fill_init): New.
2984 (basic_ios::fill()): Delay dealing with _M_fill.
2986 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
2987 (ios_base::_M_call_callbacks): Adjust.
2988 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
2990 2002-02-26 Loren Rittle <ljrittle@acm.org>
2992 * include/Makefile.am (thread_target_headers): Unconditionally
2993 stage and install gthr-posix.h.
2994 (${target_builddir}/gthr-posix.h): New rule cloned off
2995 ${target_builddir}/gthr-default.h.
2996 (${target_builddir}/gthr-default.h): Support chained inclusion
2997 of gthr support headers.
2998 * include/Makefile.in: Rebuilt.
3000 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
3002 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
3003 Group all the integral types, not only decs.
3004 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
3005 tests, add a few more.
3007 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
3009 * src/ios.cc (ios_base::~ios_base): Tweak.
3010 (ios_base::_M_call_callbacks): Deal with null __p.
3011 (ios_base::ios_base): Set _M_callbacks.
3012 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
3013 * testsuite/27_io/ios_init.cc (test02): Fix.
3015 * mkcheck.in (static_fail): Failed links go to output file.
3017 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
3019 * docs/html/faq/index.html: Update.
3020 * docs/html/faq/index.txt: Regenerate.
3022 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
3024 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
3025 * aclocal.m4: Regenerate.
3026 * docs/html/configopts.html: Document --enable-symvers.
3027 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
3029 2002-02-22 Philipp Thomas <pthomas@suse.de>
3031 * include/backward/tempbuf.h: get_temporary_buffer and
3032 return_temporary_buffer are in namespace std, not in __gnu_cxx.
3034 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
3036 * configure.in (target_alias): Default to yes.
3037 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
3038 libgcc to default case.
3040 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
3042 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
3043 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
3044 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
3045 * aclocal.m4: Regenerate.
3046 * configure: Regenerate.
3047 * config/linker-map.dummy: New file. Contains nothing useful.
3049 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
3051 * testsuite/22_locale/money_put_members_char.cc: Fix.
3052 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
3054 * testsuite/27_io/standard_manipulators.cc: New file.
3056 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
3057 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
3059 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
3061 * config/os/mingw32/bits/ctype_noninline.h
3062 (ctype<char>::ctype): Remove default args from parm list.
3063 * config/os/djgpp/bits/ctype_noninline.h: Same.
3065 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
3067 * include/std/std_iomanip.h: Inline, tweaks.
3068 * config/linker-map.gnu: Remove hacks.
3070 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
3071 * testsuite/27_io/ios_init.cc: Same.
3072 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
3073 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
3075 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
3077 * config/linker-map.gnu: Export global vtable, typeinfo, guard
3078 variable, and thunk info as per CXXABI docs.
3080 2002-02-19 Loren Rittle <ljrittle@acm.org>
3082 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
3083 * include/Makefile.in: Rebuilt.
3085 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3087 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
3088 with size3 for the string collations of str5.
3090 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
3093 * include/bits/locale_facets.tcc (money_put::do_put):
3094 For the space field use __fill instead of ' ', uniformly.
3095 * testsuite/22_locale/money_put_members_char.cc:
3096 Add test05 distilled from PR.
3097 (test01-02-03): Trim some '*' to ' '.
3098 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
3100 2002-02-18 Loren Rittle <ljrittle@acm.org>
3103 * include/Makefile.am (thread_builddir): Remove (map all
3104 existing uses to target_builddir).
3105 (thread_headers): Rename to...
3106 (thread_target_headers): ...this.
3107 (stamp-thread): Remove.
3108 (stamp-target): Correctly state the position as built.
3109 Update all dependencies to match the new reality. Remove all
3110 dependency calculations on directories.
3111 * include/Makefile.in: Rebuilt.
3113 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
3115 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
3116 * include/bits/fstream.tcc: Same.
3117 * include/bits/sstream.tcc: Same.
3118 * include/bits/ostream.tcc: Same.
3119 * include/bits/istream.tcc: Same.
3120 * include/bits/streambuf.tcc: Same.
3121 * include/bits/basic_ios.tcc: Same.
3122 * include/bits/basic_string.tcc: Same.
3124 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3126 * include/std/std_iosfwd.h: Don't guard typedefs with
3127 _GLIBCPP_USE_WCHAR_T
3128 * include/bits/stringfwd.h: Same.
3130 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3132 * src/locale.cc (moneypunct_byname): Remove definitions.
3133 * include/std/std_streambuf.h (streambuf::operator=): Return.
3135 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3138 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
3139 explicit instantiation.
3140 (string::_Rep::_S_max_size): Same.
3141 * include/bits/basic_string.tcc: Add extern explicit
3142 instantiations for string, wstring.
3143 * include/bits/basic_ios.tcc: Add extern explicit instantiations
3145 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
3146 * include/bits/istream.tcc: Same, for istream, wistream.
3147 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
3149 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
3150 istringstream, wistringstream, ostringstream, wostringstream,
3151 stringstream, wstringstream.
3152 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
3153 wifstream, ofstream, wofstream, fstream, wfstream.
3154 * src/misc-inst.cc: Correct comments.
3155 Add iomanip instantiations for wide streams.
3156 * include/std/std_iomanip.h: Same.
3157 * include/bits/locale_facets.tcc: Same.
3159 * include/std/std_streambuf.h: Correct
3160 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
3161 * include/std/std_sstream.h: Same.
3162 * include/std/std_ostream.h: Same.
3163 * include/std/std_istream.h: Same.
3164 * include/std/std_fstream.h: Same.
3166 * include/std/std_streambuf.h: Add definitions for private copy
3167 ctor and assignment operator.
3168 * include/std/std_istream.h: Remove declared but undefined copy
3169 ctor and assignment operator. This is taken care of in ios_base,
3170 so adding it in the derived class as well is superfluous.
3171 * include/std/std_ostream.h: Same.
3173 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
3174 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
3176 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
3178 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
3179 Add typeinfo bits. Smooth.
3180 * aclocal.m4: Regenerate.
3182 * src/Makefile.in: Same.
3184 2001-02-14 Joel Sherrill <joel@OARcorp.com>
3186 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
3187 which do not have a CAS instruction.
3189 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
3191 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
3192 * configure.in: Call it.
3193 * config/linker-map.gnu: New file, initial incomplete revision.
3194 * src/Makefile.am: Optionally pass version script to the linker.
3195 * aclocal.m4: Regenerate.
3196 * configure: Regenerate.
3197 * src/Makefile.in: Regenerate.
3199 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
3201 * src/localename.cc: Remove stdexcept include.
3202 * src/locale-inst.cc: Same.
3203 * src/locale.cc: Same.
3204 * src/functexcept.cc: Remove string includes.
3205 * include/std/std_bitset.h: Remove stdexcept include.
3206 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
3207 * testsuite/23_containers/bitset_ctor.cc: Same.
3209 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
3211 * include/bits/stl_algo (__stl_threshold): Declare external.
3212 (__stl_chunk_size): Same.
3213 * include/bits/stl_bvector.h (__WORD_BIT): Same.
3214 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
3215 (_S_rb_tree_black): Same.
3216 * src/stl-inst.cc (__stl_threshold): Define.
3217 (__stl_chunk_size): Same.
3219 (_S_rb_tree_red): Same.
3220 (_S_rb_tree_black): Same.
3222 * config/io/basic_file_libio.h (__basic_file): Add declarations.
3223 * include/bits/basic_file.h: Remove.
3224 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
3225 Declare generic types, specialization.
3226 * config/io/basic_file_stdio.cc: Definitions.
3227 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
3228 Declare generic types.
3229 * include/Makefile.am (bits_headers): Remove basic_file.h.
3230 (extra_target_headers): Change basic_file_model.h to basic_file.h.
3231 (stamp-target): Same.
3233 * include/bits/stl_alloc.h: Tweaks.
3234 * include/bits/localefwd.h: Same.
3236 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
3238 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
3239 * testsuite/22_locale/collate_members_char.cc (test03): New test.
3240 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
3242 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
3244 * include/bits/stl_algo.h (transform (both signatures), generate_n):
3245 Use __typeof__ in concept checks.
3247 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
3249 * include/bits/stl_algo.h (__median, for_each, find, find_if,
3250 adjacent_find, count, count_if, search, search_n, swap_ranges,
3251 transform, replace, replace_if, replace_copy, replace_copy_if,
3252 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
3253 unique, unique_copy, reverse, reverse_copy): Doxygenate.
3255 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
3257 * include/bits/locale_facets.h
3258 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
3259 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
3260 (__timepunct<_CharT>::_M_put_helper): Same.
3261 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
3263 * include/bits/fstream.tcc (filebuf::underflow): Remove
3264 __codecvt_type typedef.
3265 (filebuf::_M_convert_to_external): Same.
3267 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
3269 * docs/doxygen/TODO: Update.
3270 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
3271 * docs/doxygen/mainpage.html: Add TODO list link.
3272 * docs/doxygen/user.cfg.in: Add @doctodo hook.
3273 * docs/doxygen/tables.html: New file, emoty structure only.
3275 * include/bits/stl_iterator.h: Doxygenate just about everything.
3276 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
3277 * include/bits/stl_iterator_base_types.h: Add notes.
3279 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
3281 * include/bits/stl_map.h: Tweak doxygen markup.
3282 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
3283 * include/bits/stl_vector.h: Likewise.
3285 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
3289 * include/std/std_fstream.h (filebuf::__file_type): Change to
3291 (filebuf::_M_convert_to_external): Declare.
3292 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
3293 codecvt bits for wide streams.
3294 (filebuf::_M_really_overflow): Use it.
3295 (filebuf::underflow): Use codecvt.
3296 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
3297 (codecvt<__enc_traits>::do_out): Deal with partial.
3298 (codecvt<__enc_traits>::do_encoding): Return something useful.
3299 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
3301 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
3302 Change expected encoding output.
3304 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
3307 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
3308 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
3310 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
3311 (basic_ios::widen): Same.
3313 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
3315 * testsuite/22_locale/money_get_members_char.cc:
3316 Add comment, tidy up.
3317 (test01): more "en_HK" tests (without showbase).
3318 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
3320 2002-02-06 Loren Rittle <ljrittle@acm.org>
3322 * config/locale/c_locale_generic.cc: Do not trust
3323 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
3326 2002-02-06 Loren Rittle <ljrittle@acm.org>
3328 * acinclude.m4: Add C++ linkage check for strtof.
3329 * aclocal.m4: Rebuilt.
3330 * config.h.in: Rebuilt.
3331 * configure: Rebuilt.
3332 * config/locale/c_locale_generic.cc: Conditionally include
3333 <ieeefp.h>. Improve handling and error checking of float
3334 and long double input for non-C99 configurations.
3336 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
3338 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3339 In case money_base::symbol deal properly with multi-char sign
3340 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
3341 * testsuite/22_locale/money_get_members_char.cc: Add test07.
3342 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
3344 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
3346 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3347 First construct a tentative returned string, then, only if the
3348 parsing succeeds, copy it into the string passed by reference.
3349 * testsuite/22_locale/money_get_members_char.cc: Add test06.
3350 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
3352 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
3354 * docs/doxygen/TODO: Impl-defined behavior now documented...
3355 * docs/html/17_intro/howto.html: ...here.
3356 * docs/doxygen/mainpage.doxy: Remove, rename...
3357 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
3358 * docs/doxygen/style.css: Add small text.
3359 * docs/doxygen/run_doxygen: Adjust for new mainpage.
3360 * docs/doxygen/user.cfg.in: Likewise.
3362 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
3364 * include/bits/stl_map.h: Initial doxygen markup.
3365 * include/std/std_fstream.h: Initial doxygen markup.
3367 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
3370 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3371 Deal correctly with !(__io.flags() & ios_base::showbase)
3372 for case money_base::symbol.
3373 * testsuite/22_locale/money_get_members_char.cc: Add test05.
3374 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
3376 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
3378 * testsuite/22_locale/operators.cc
3379 (gnu_collate::do_compare()): Add return statement to
3380 suppress "no return statement" warning.
3382 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
3384 * testsuite/27_io/ostream_manip.cc: Enable test02.
3386 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
3388 * docs/html/documentation.html: Update for 3.0.96.
3389 * docs/html/faq/index.html: Update for 3.0.96.
3390 * docs/html/faq/index.txt: Regenerated.
3391 * docs/doxygen/TODO: Update notes.
3392 * docs/html/17_intro/howto.html: Initial impl-specific listing.
3394 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
3396 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
3397 Initialize all data members in copy ctor. Make ctors explicit.
3398 (__enc_traits::__enc_traits()): Default ctor does nothing.
3399 (__enc_traits::_M_init): Guard against multiple iconv_opens.
3400 * include/std/std_sstream.h (basic_stringbuf): Make data members
3402 * include/std/std_fstream.h (basic_filebuf): Same.
3403 * include/std/std_streambuf.h: Tweak.
3404 * include/bits/streambuf.tcc: Same.
3405 * include/bits/sstream.tcc: Same.
3406 * include/bits/fstream.tcc: Same.
3408 2002-01-31 Loren Rittle <ljrittle@acm.org>
3410 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
3411 allow NULL argument to be passed to setenv().
3412 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
3413 * testsuite/22_locale/collate_members_char.cc: Likewise.
3414 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
3415 * testsuite/22_locale/ctype_members_char.cc: Likewise.
3416 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
3417 * testsuite/22_locale/messages_members_char.cc: Likewise.
3418 * testsuite/22_locale/money_get_members_char.cc: Likewise.
3419 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
3420 * testsuite/22_locale/money_put_members_char.cc: Likewise.
3421 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
3422 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
3423 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
3424 * testsuite/22_locale/num_get_members_char.cc: Likewise.
3425 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
3426 * testsuite/22_locale/num_put_members_char.cc: Likewise.
3427 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
3428 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
3429 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
3430 * testsuite/22_locale/time_get_members_char.cc: Likewise.
3431 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
3432 * testsuite/22_locale/time_put_members_char.cc: Likewise.
3433 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
3435 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
3437 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
3439 * ChangeLog-2001: Fix spelling errors...
3440 * docs/html/17_intro/RELEASE-NOTES: Update.
3441 * docs/html/17_intro/TODO: Update.
3442 * README (file): Update.
3444 2002-01-30 Loren Rittle <ljrittle@acm.org>
3446 * config/locale/c_locale_generic.cc: Check errno for ERANGE
3447 instead of non-zero to aid portability.
3449 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3451 * docs/html/22_locale/messages.html: Fix example code.
3453 2002-01-30 Richard Henderson <rth@redhat.com>
3455 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
3456 out from test03 and templatize.
3459 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
3461 * config/locale/numpunct_members_gnu.cc
3462 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
3463 Fix initialization of _M_grouping for locales which have
3464 _M_thousands_sep == '\0'(L'\0', respectively).
3465 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
3467 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
3469 * testsuite/27_io/ostream_inserter_arith.cc (test03):
3470 Better fix for 32/64 bit architectures, avoiding the
3471 implicit assumption that CHAR_BIT == 8.
3473 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
3475 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
3476 * Makefile.in: Regenerate.
3478 * docs/doxygen/run_doxygen: Update, mostly for man pages.
3479 * docs/doxygen/Intro.3: Update.
3480 * docs/doxygen/TODO: Update.
3481 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
3482 * docs/doxygen/mainpage.doxy: Update.
3483 * docs/doxygen/user.cfg.in: Update for header rename. Also
3484 regenerate comments and variables with 1.2.12.
3485 * docs/doxygen/maint.cfg.in: Remove file.
3487 * include/bits/stl_relops.h: Doxygenate.
3488 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
3490 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
3491 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
3492 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
3493 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
3494 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
3495 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
3496 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
3497 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
3498 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
3499 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
3500 include/ext/hash_set, include/ext/iterator, include/ext/memory,
3501 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
3502 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
3503 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
3504 include/std/std_algorithm.h, include/std/std_bitset.h,
3505 include/std/std_complex.h, include/std/std_deque.h,
3506 include/std/std_fstream.h, include/std/std_functional.h,
3507 include/std/std_iomanip.h, include/std/std_ios.h,
3508 include/std/std_iosfwd.h, include/std/std_iostream.h,
3509 include/std/std_istream.h, include/std/std_iterator.h,
3510 include/std/std_limits.h, include/std/std_list.h,
3511 include/std/std_locale.h, include/std/std_map.h,
3512 include/std/std_memory.h, include/std/std_numeric.h,
3513 include/std/std_ostream.h, include/std/std_queue.h,
3514 include/std/std_set.h, include/std/std_sstream.h,
3515 include/std/std_stack.h, include/std/std_stdexcept.h,
3516 include/std/std_streambuf.h, include/std/std_string.h,
3517 include/std/std_utility.h, include/std/std_valarray.h,
3518 include/std/std_vector.h: Add/correct @file doxygen hook.
3520 * include/ext/memory: Doxygenate most of rest of file.
3521 * libsupc++/exception: Doxygen output formatting.
3522 * libsupc++/new: Say which header it is.
3524 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
3525 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
3526 * docs/html/23_containers/howto.html: Describe O(n) list::size().
3527 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
3529 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
3530 Charles Leggett <CGLeggett@lbl.gov>
3532 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
3534 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
3536 * testsuite/27_io/ostream_inserter_arith.cc (test03):
3537 Fix to deal correctly with both 32 bit and 64 bit architectures
3539 2002-01-25 Loren Rittle <ljrittle@acm.org>
3541 * testsuite/thread/pthread1.cc: Use one condition variable
3542 per predicate instead of tricky use of one condition variable.
3544 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
3546 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
3548 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
3549 * testsuite/27_io/filebuf.cc: Compile only.
3550 * testsuite/27_io/filebuf_members.cc: Move tests to here.
3551 * testsuite/27_io/filebuf_virtuals.cc: And here.
3552 Revert sungetc, sync changes for expected values.
3553 * testsuite/27_io/filebuf-*: Move to...
3554 * testsuite/27_io/filebuf_virtuals-*: ...here.
3555 * testsuite/27_io/istream.cc: Compile only, activate.
3556 * testsuite/27_io/ostream.cc: Same.
3557 * testsuite/27_io/iostream.cc: New.
3558 * testsuite/27_io/iostream_members.cc: New.
3560 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
3562 * testsuite/thread/pthread1.cc: Enable on cygwin.
3563 * testsuite/thread/pthread2.cc: Likewise.
3564 * testsuite/thread/pthread3.cc: Likewise.
3565 * testsuite/thread/pthread4.cc: Likewise.
3566 * testsuite/thread/pthread5.cc: Likewise.
3567 * testsuite/thread/pthread6.cc: Likewise.
3569 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3571 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
3573 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3575 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
3577 (basic_ios::fill(char_type)): Use fill().
3578 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
3579 (basic_ios::narrow): Same.
3580 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
3581 if they are invalid.
3582 (basic_ios::init): Comment.
3583 * testsuite/27_io/ios_init.cc (test02): New.
3585 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
3587 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
3588 * include/bits/stl_algo.h: Include stl_tempbuf.h.
3589 * include/ext/memory: Do not include stl_tempbuf.h.
3590 (temporary_buffer): Add doxygen hook.
3591 (__get_temporary_buffer, get_temporary_buffer,
3592 return_temporary_buffer): Move back to std:: header...
3593 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
3594 * include/ext/rope: Do not include stl_tempbuf.h.
3595 * include/ext/stl_hashtable.h: Likewise.
3596 * include/std/std_algorithm.h: Likewise.
3597 * testsuite/20_util/temporary_buffer.cc: New file.
3599 2002-01-24 andrew@andypo.net
3600 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
3603 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
3604 * include/bits/localefwd.h: Likewise.
3605 Also use for std::locale::id::_S_highwater.
3606 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
3607 * src/locale.cc: Support new usage of _Atomic_word.
3608 (std::locale::classic): Guard entire function against reentry.
3609 * src/localename.cc: Support new usage of _Atomic_word.
3611 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3613 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
3614 _GLIBCPP_HAVE_SETENV.
3615 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
3616 * testsuite/22_locale/collate_members_char.cc (test02): Same.
3617 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
3618 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
3619 * testsuite/22_locale/messages_members_char.cc (test02): Same.
3620 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
3621 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
3622 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
3623 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
3624 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
3625 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
3626 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
3627 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
3628 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
3629 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
3630 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
3631 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
3632 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
3633 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
3634 * aclocal.m4: Regenerate.
3635 * configure: Regenerate.
3636 * config.h.in: Regenerate.
3638 2002-01-23 Loren Rittle <ljrittle@acm.org>
3640 * testsuite/thread/pthread1.cc: New test.
3641 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
3642 * testsuite/thread/pthread3.cc: Likewise.
3643 * testsuite/thread/pthread4.cc: New test adapted from
3644 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
3645 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
3646 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
3648 2002-01-23 Richard Henderson <rth@redhat.com>
3651 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
3652 CAS on the cpu variants that support it. Add versions that use
3653 TAS and that disable interrupts.
3654 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
3656 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
3658 * include/bits/locale_facets.tcc: Remove old comments.
3660 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
3662 * include/bits/locale_facets.tcc (__convert_to_v): Change template
3664 (__convert_from_v): Same.
3666 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
3668 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
3670 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
3671 __max_digits checks, adjust arguments.
3672 (num_get::do_get(*)): Changeup.
3674 2002-01-23 Loren Rittle <ljrittle@acm.org>
3676 * config/locale/c_locale_generic.cc: Fix typename usage.
3678 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3680 * config/locale/c_locale_generic.cc: Fix.
3682 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3684 * docs/html/22_locale/messages.html: Remove angle brackets.
3685 * docs/html/17_intro/TODO: Add.
3687 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
3689 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
3690 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
3691 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
3692 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
3694 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3696 Audit for LANG independence.
3697 * include/bits/localefwd.h: Tweaks.
3698 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
3700 (time_get::do_get_year): Same.
3701 (__convert_from_v): Add.
3702 (num_put::_M_convert_float): Use.
3703 (num_put::_M_convert_int): Same.
3704 (money_put::do_put): Same.
3706 * src/locale-inst.cc: Add instantiations for __convert_from_v.
3707 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
3708 * config/locale/time_members_generic.cc:
3709 * config/locale/messages_members_gnu.cc: Same.
3710 * config/locale/messages_members_gnu.h: Same.
3712 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
3713 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
3714 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
3715 * testsuite/22_locale/collate_members_char.cc (test02): New.
3716 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
3717 * testsuite/22_locale/ctype_members_char.cc (test03): New.
3718 * testsuite/22_locale/messages_members_char.cc (test02): New.
3719 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
3720 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
3721 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
3722 * testsuite/22_locale/money_get_members_char.cc (test04): New.
3723 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
3724 * testsuite/22_locale/money_put_members_char.cc (test04): New.
3725 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
3726 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
3727 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
3728 * testsuite/22_locale/time_put_members_char.cc (test03): New.
3729 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
3730 * testsuite/22_locale/time_get_members_char.cc (test07): New.
3731 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
3732 * testsuite/22_locale/num_get_members_char.cc (test03): New.
3733 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
3734 * testsuite/22_locale/num_put_members_char.cc (test03): New.
3736 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
3738 * testsuite/22_locale/time_get_members_char.cc: Same.
3740 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3743 * include/bits/localefwd.h: Tweak comments.
3744 * include/bits/locale_facets.h (__convert_to_v): Add.
3745 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
3746 (num_get::do_get(float)): Same.
3747 (num_get::do_get(long double)): Same.
3748 (num_get::do_get(bool)): Same.
3749 (num_get::do_get(long)): Same.
3750 (num_get::do_get(long long)): Same.
3751 (num_get::do_get(unsigned int)): Same.
3752 (num_get::do_get(unsigned short)): Same.
3753 (num_get::do_get(unsigned long)): Same.
3754 (num_get::do_get(unsigned long long)): Same.
3755 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
3756 * config/locale/c_locale_generic.cc: Same.
3758 2002-01-22 Loren Rittle <ljrittle@acm.org>
3760 * include/Makefile.am (c_base_builddir): Remove redundant slash.
3761 (std_builddir): Likewise.
3762 (std_headers_rename): Fix cut-n-paste typo.
3763 (install-data-local): Concat path per element instead of once to
3764 first element of list.
3765 * include/Makefile.in: Rebuilt.
3767 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3769 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
3770 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
3771 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
3773 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
3775 * include/bits/locale_facets.h (ctype<char>::classic_table):
3777 (ctype<char>::_S_ctable): Remove.
3778 * config/os/gnu-linux/bits/ctype_noninline.h
3779 (ctype<char>::_S_table): Remove definition.
3780 (ctype<char>::classic_table): Define.
3781 (ctype<char>::ctype): Replace _S_ctable with classic_table().
3782 * config/os/aix/bits/ctype_noninline.h: Same.
3783 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3784 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3785 * config/os/djgpp/bits/ctype_noninline.h: Same.
3786 * config/os/generic/bits/ctype_noninline.h: Same.
3787 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3788 * config/os/hpux/bits/ctype_noninline.h: Same.
3789 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3790 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3791 * config/os/mingw32/bits/ctype_noninline.h: Same.
3792 * config/os/newlib/bits/ctype_noninline.h: Same.
3793 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3794 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3795 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3797 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
3799 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
3800 of _pctype. Use to define _S_ctable. Add definition for alternate
3801 ctor. Initialise _M_ctable to _S_ctable in ctors.
3802 (do_toupper, do_tolower): Use inline code appropriate for C-locale
3803 rather than ::toupper, ::tolower.
3805 2002-01-18 Loren Rittle <ljrittle@acm.org>
3807 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
3808 Add specialization for FreeBSD systems only to avoid losing test
3809 only due to extra precision unmentioned in system headers.
3811 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
3813 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
3815 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
3817 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
3818 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
3820 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3822 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
3824 2002-01-17 David Edelsohn <edelsohn@gnu.org>
3826 * configure.target: Define OPT_LDFLAGS for AIX case.
3828 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3830 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
3831 __glibcpp_double_has_quiet_NaN): Correct mispelling.
3833 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
3835 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
3837 2002-01-16 David Edelsohn <dje@watson.ibm.com>
3839 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
3840 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
3841 * aclocal.m4: Regenerate.
3842 * configure: Regenerate.
3844 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3846 * include/Makefile.am (c_base_headers_rename): New.
3847 (c_base_headers_extra): New.
3848 (stamp-c_base): Modify.
3849 (install-data-local): Use both.
3850 * include/Makefile.in: Regenerate.
3851 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3852 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3853 cstdio ctime cwctype]: Move to..
3854 * include/c/std_*: Here.
3855 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3856 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3857 cstdio ctime cwctype]: Move to..
3858 * include/c_std/std_*: Here.
3860 Alexandre Oliva <aoliva@redhat.com>
3861 * include/Makefile.am (.PRECIOUS): Add rule.
3862 * include/Makefile.in: Regenerate.
3864 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3865 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3867 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
3868 Deuglify, should be current.
3869 (back_insert_iterator::_M_container): Deuglify, should be container.
3870 (front_insert_iterator::_M_container): Same.
3871 (insert_iterator::_M_container): Same.
3872 * testsuite/24_iterators/reverse_iterator.cc: Add check.
3873 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
3874 * testsuite/24_iterators/front_insert_iterator.cc: Same.
3875 * testsuite/24_iterators/insert_iterator.cc: Same.
3877 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3879 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
3881 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
3882 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
3883 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3884 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3885 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3886 * config/os/newlib/bits/ctype_noninline.h: Same.
3887 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3888 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3889 * config/os/hpux/bits/ctype_noninline.h: Same.
3890 * config/os/djgpp/bits/ctype_noninline.h: Same.
3891 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3892 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3893 * config/os/aix/bits/ctype_noninline.h: Same.
3895 Testcase by Dietmar Kühl via Peter Schmid
3896 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
3899 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3901 * libmath/signbitl.c: Copyright years as list, not range.
3902 * libmath/Makefile.am: Same.
3903 * libmath/Makefie.in: Regenerate.
3904 * libmath/signbit.c: Same.
3905 * libmath/nan.c: Same.
3906 * libmath/copysignf.c: Same.
3907 * libmath/signbitf.c: Same.
3908 * testsuite/22_locale/money_get_members_char.cc: Same.
3909 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3910 * testsuite/22_locale/money_put_members_char.cc: Same.
3911 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3912 * testsuite/22_locale/time_get_members_char.cc: Same.
3913 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
3914 * testsuite/22_locale/time_put_members_char.cc: Same.
3915 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
3916 * testsuite/21_strings/nonmember.cc: Same.
3917 * testsuite/21_strings/compare.cc: Same.
3918 * testsuite/27_io/stringstream.cc: Same.
3919 * testsuite/27_io/stringbuf.cc: Same.
3920 * testsuite/27_io/filebuf.cc: Same.
3921 * testsuite/27_io/ios_manip_basefield.cc: Same.
3922 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
3923 * include/bits/cpp_type_traits.h: Same.
3924 * include/bits/generic_shadow.h: Same.
3925 * include/bits/gslice_array.h: Same.
3926 * include/bits/gslice.h: Same.
3927 * include/bits/indirect_array.h: Same.
3928 * include/bits/slice_array.h: Same.
3929 * include/bits/sstream.tcc: Same.
3930 * include/bits/streambuf_iterator.h: Same.
3931 * include/bits/valarray_array.tcc: Same.
3932 * include/bits/valarray_meta.h: Same.
3933 * include/bits/valarray_array.h: Same.
3934 * config/os/mingw32/bits/ctype_noninline.h: Same.
3935 * config/os/mingw32/bits/ctype_base.h: Same.
3936 * config/os/hpux/bits/ctype_noninline.h: Same.
3937 * config/os/hpux/bits/ctype_base.h: Same.
3938 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3939 * config/os/gnu-linux/bits/ctype_base.h: Same.
3940 * config/os/generic/bits/ctype_noninline.h: Same.
3941 * config/os/generic/bits/ctype_base.h: Same.
3943 * libsupc++/tinfo.h: Tweaks.
3945 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3947 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
3948 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
3949 * testsuite/22_locale/ctype_members_char.cc: Tweak.
3951 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3953 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
3954 (num_put::do_put(void*)): Fix.
3955 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
3956 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
3957 * testsuite/22_locale/num_get_members_char.cc (test02): Add
3958 long double, void, bool types.
3959 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
3961 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3962 Alexandre Oliva <aoliva@redhat.com>
3964 * libmath/Makefile.am (LINK): Add --tag CC.
3965 * libmath/Makefile.in: Regenerate.
3967 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
3969 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
3970 of character to attribute mapping table.
3972 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
3974 * testsuite/26_numerics/c99_classification_macros_c.cc
3975 Remove dg-error and dg-excess-errors comments.
3977 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
3979 * include/bits/locale_facets.tcc (time_put::put): Correct output
3981 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
3982 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
3983 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
3984 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
3986 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
3988 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
3990 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
3991 Nathan Myers <ncm@cantrip.org>
3993 * include/bits/basic_string.h
3994 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
3995 temporaries (i.e., call _M_replace_safe) when possible.
3996 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
3997 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
3998 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
3999 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
4000 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
4001 * include/bits/basic_string.tcc
4002 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
4003 replace(__pos, __n1, __s, __n2).
4004 * testsuite/21_strings/replace.cc (test03): New testcases.
4006 * include/bits/basic_string.h (insert(__pos, __s, __n)):
4007 Adjust comparison wrt overflow.
4009 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
4011 * include/Makefile.am (std_headers_rename): New variable.
4012 (install-data-local): Use it.
4013 * include/Makefile.in: Regenerate.
4015 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
4017 * include/bits/locale_facets.tcc (money_put::do_put(string):
4018 Correct output iterator value.
4019 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
4020 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
4022 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
4024 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
4027 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
4029 * include/Makefile.am (std_headers): Update list with new names.
4030 (stamp-std): Link to standardized name.
4031 * include/Makefile.in: Regenerate.
4033 * include/std/algorithm, include/std/bitset, include/std/complex,
4034 include/std/deque, include/std/fstream, include/std/functional,
4035 include/std/iomanip, include/std/ios, include/std/iosfwd,
4036 include/std/iostream, include/std/istream, include/std/iterator,
4037 include/std/limits, include/std/list, include/std/locale,
4038 include/std/map, include/std/memory, include/std/numeric,
4039 include/std/ostream, include/std/queue, include/std/set,
4040 include/std/sstream, include/std/stack, include/std/stdexcept,
4041 include/std/streambuf, include/std/string, include/std/utility,
4042 include/std/valarray, include/std/vector: Rename to...
4044 * include/std/std_algorithm.h, include/std/std_bitset.h,
4045 include/std/std_complex.h, include/std/std_deque.h,
4046 include/std/std_fstream.h, include/std/std_functional.h,
4047 include/std/std_iomanip.h, include/std/std_ios.h,
4048 include/std/std_iosfwd.h, include/std/std_iostream.h,
4049 include/std/std_istream.h, include/std/std_iterator.h,
4050 include/std/std_limits.h, include/std/std_list.h,
4051 include/std/std_locale.h, include/std/std_map.h,
4052 include/std/std_memory.h, include/std/std_numeric.h,
4053 include/std/std_ostream.h, include/std/std_queue.h,
4054 include/std/std_set.h, include/std/std_sstream.h,
4055 include/std/std_stack.h, include/std/std_stdexcept.h,
4056 include/std/std_streambuf.h, include/std/std_string.h,
4057 include/std/std_utility.h, include/std/std_valarray.h,
4058 include/std/std_vector.h: ...this.
4060 2002-01-11 Loren Rittle <ljrittle@acm.org>
4062 * include/Makefile.am (extra_target_headers): New list of all
4063 target files built with ad hoc naming rules.
4064 (stamp-*): Handle LN_S failure in manner portable across make
4066 (install-data-local): Install header files from human-maintained
4067 file lists and directory components instead of non-robust find.
4068 * include/Makefile.in: Rebuilt.
4070 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
4072 * include/bits/locale_facets.tcc (money_get::do_get(string)):
4073 Check for zero-length negative sign before adding it to output
4075 (money_get::do_get(long double)): Return beg.
4076 * testsuite/22_locale/money_get_members_char.cc (test02): Add
4078 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
4080 2002-01-10 David Seymour <seymour_dj@yahoo.com>
4083 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
4084 for _M_extract_float and _M_extract_int
4085 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
4086 (num_get<>::_M_extract_int): Likewise, all callers changed
4087 * testsuite/22_locale/num_get_members_char.cc: Testcase
4089 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
4091 * libsupc++/exception (bad_exception): Add comment.
4092 * libsupc++/new (bad_alloc): Same.
4093 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
4095 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
4097 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
4098 that the destructors should be removed from the descriptions
4099 in the standard: writing them explicitly allows the vtable
4100 heuristic to work. For additional information see:
4101 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
4102 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
4103 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
4104 * libsupc++/exception (bad_exception::~bad_exception()):
4105 Reintroduce declaration.
4106 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
4107 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
4108 (bad_typeid::~bad_typeid()): Same.
4109 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
4110 Reintroduce definition.
4111 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
4112 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
4113 (bad_typeid::~bad_typeid()): Same.
4115 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
4117 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
4118 * include/Makefile.in: Regenerate.
4120 2002-01-09 Bo Thorsen <bo@suse.co.uk>
4122 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
4125 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
4129 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
4130 return value of _M_file->sync().
4131 (filebuf::showmanyc): Check for is_open.
4132 * include/std/fstream (filebuf::sync): Tweak.
4133 * testsuite/27_io/filebuf.cc: Tweak.
4135 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
4136 Brad Garcia <garsh@attbi.com>
4138 * testsuite/27_io/filebuf_members.cc: Add test.
4140 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
4141 Craig Rodrigues <rodrigc@mediaone.net>
4144 * po/Makefile.am (mkinstalldirs): Add.
4145 * po/Makefile.in: Regenerate.
4147 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
4149 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
4150 testsuite/lib/prune.exp: Delete lines ":In function ..." from
4152 * testsuite/23_containers/map_operators.cc: Remove
4153 dg-excess-errors comment.
4154 * testsuite/23_containers/set_operators.cc: Likewise.
4156 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
4158 * include/bits/stl_function.h: Remove two lines of comments;
4159 adjust copyright years.
4161 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
4163 * include/Makefile.am (std_headers): Remove cXXX from list.
4164 (c_base_srcdir): No bits subdirectory.
4165 (c_base_builddir): Same.
4166 (c_base_headers): Adjust names, add ciso646.
4167 (bits_headers): Remove std_xxx.h headers.
4168 * include/Makefile.in: Regenerate.
4170 * include/ext/iterator: Adjust includes.
4171 * include/ext/ropeimpl.h: Same.
4172 * include/ext/stl_hash_fun.h: Same.
4173 * include/ext/algorithm: Same.
4175 * include/backward/bvector.h: Adjust includes.
4176 * include/backward/vector.h: Same.
4177 * include/backward/strstream: Same.
4178 * include/backward/streambuf.h: Same.
4179 * include/backward/stack.h: Same.
4180 * include/backward/set.h: Same.
4181 * include/backward/queue.h: Same.
4182 * include/backward/multiset.h: Same.
4183 * include/backward/multimap.h: Same.
4184 * include/backward/map.h: Same.
4185 * include/backward/list.h: Same.
4186 * include/backward/iterator.h: Same.
4187 * include/backward/iostream.h: Same.
4188 * include/backward/iomanip.h: Same.
4189 * include/backward/fstream.h: Same.
4190 * include/backward/deque.h: Same.
4191 * include/backward/complex.h: Same.
4193 * include/bits/std_algorithm.h: Move to...
4194 * include/std/algorithm: ...here.
4195 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
4196 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
4197 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
4198 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
4199 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
4200 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
4201 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
4204 * include/c_std/bits/std_cassert.h: Move to...
4205 * include/c_std/cassert: Here.
4206 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
4207 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
4208 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
4209 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
4210 std_cwctype.h: Same.
4211 * include/c_std/cmath: Adjust cmath.tcc include.
4212 * include/c_std/cstdlib: Adjust includes.
4213 * include/c_std/cwchar: Same.
4214 * include/c_std/ctime: Same.
4215 * include/c_std/cstring: Same.
4216 * include/c_std/cstdio: Same.
4217 * include/c_std/bits: Remove directory.
4219 * include/c/bits/std_cassert.h: Move to...
4220 * include/c/cassert: Here.
4221 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
4222 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
4223 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
4224 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
4225 std_cwctype.h: Same.
4226 * include/c/bits: Remove directory.
4228 * include/std/cwctype: Remove.
4229 * include/std/cwchar: Remove.
4230 * include/std/ctime: Remove.
4231 * include/std/cstring: Remove.
4232 * include/std/cstdlib: Remove.
4233 * include/std/cstdio: Remove.
4234 * include/std/cstddef: Remove.
4235 * include/std/cstdarg: Remove.
4236 * include/std/csignal: Remove.
4237 * include/std/csetjmp: Remove.
4238 * include/std/cmath: Remove.
4239 * include/std/clocale: Remove.
4240 * include/std/climits: Remove.
4241 * include/std/ciso646: Remove.
4242 * include/std/cfloat: Remove.
4243 * include/std/cerrno: Remove.
4244 * include/std/cctype: Remove.
4245 * include/std/cassert: Remove.
4247 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
4248 files and subsituting <xxx>.
4249 * include/bits/valarray_array.h: Same.
4250 * include/bits/stl_uninitialized.h: Same.
4251 * include/bits/stl_alloc.h: Same.
4252 * include/bits/stl_algobase.h: Same.
4253 * include/bits/sstream.tcc: Same.
4254 * include/bits/pthread_allocimpl.h: Same.
4255 * include/bits/ostream.tcc: Same.
4256 * include/bits/localefwd.h: Same.
4257 * include/bits/locale_facets.tcc: Same.
4258 * include/bits/locale_facets.h: Same.
4259 * include/bits/istream.tcc: Same.
4260 * include/bits/char_traits.h: Same.
4261 * include/bits/boost_concept_check.h: Same.
4262 * include/bits/basic_file.h: Same.
4263 * include/std/bitset: Same.
4264 * include/std/complex: Same.
4265 * include/std/fstream: Same.
4266 * include/std/functional: Same.
4267 * include/std/ios: Same.
4268 * include/std/iostream: Same.
4269 * include/std/ostream: Same.
4270 * include/std/sstream: Same.
4271 * include/std/streambuf: Same.
4272 * include/std/string: Same.
4273 * include/std/iterator: Same.
4274 * include/std/valarray: Same.
4276 * src/ios.cc: Adjust includes.
4277 * src/valarray-inst.cc: Same.
4278 * src/string-inst.cc: Same.
4279 * src/stl-inst.cc: Same.
4280 * src/stdexcept.cc: Same.
4281 * src/misc-inst.cc: Same.
4282 * src/localename.cc: Same.
4283 * src/locale-inst.cc: Same.
4284 * src/locale.cc: Same.
4285 * src/limits.cc: Same.
4286 * src/concept-inst.cc: Same.
4287 * src/complex_io.cc: Same.
4288 * src/codecvt.cc: Same.
4289 * src/bitset.cc: Same.
4290 * src/cmath.cc: Same.
4292 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
4294 * include/bits/stl_tree.h (rb_tree): Move to...
4295 * include/ext/rb_tree: ...here, new file.
4296 * include/Makefile.am (ext_headers): Add new file.
4297 * include/Makefile.in: Regenerate.
4298 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
4299 return_temporary_buffer, struct temporary_buffer): Move to...
4300 * include/ext/memory: ...here.
4301 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
4302 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
4303 * include/backward/tree.h: Include <ext/rb_tree), tweak.
4305 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
4307 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
4308 * include/ext/numeric: ...here, new file.
4309 * include/bits/stl_function.h (identity_element, unary_compose,
4310 binary_compose, compose1, compose2, identity, select1st,
4311 select2nd, project1st + helper, project2nd + helper,
4312 constant_void_fun + helper, constant_unary_fun + helper,
4313 costant_binary_fun + helper, constant0, constant1, constant2,
4314 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
4315 * include/ext/functional: ...here, new file.
4316 * include/Makefile.am (ext_headers): Add new files.
4317 * include/Makefile.in: Regenerate.
4318 * testsuite/ext/headers.cc: Include <ext/numeric> and
4320 * include/backward/algo.h: Include <ext/numeric>, tweak.
4321 * include/backward/function.h: Include <ext/functional>, tweak.
4322 * include/ext/ropeimpl.h: Include <ext/numeric>.
4324 2002-01-03 Jeffrey A Law <law@redhat.com>
4326 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
4327 __strtoull declarations with __extension__.
4329 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
4331 * testsuite/lib/prune.exp: Correct regular expression for
4334 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
4336 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
4337 Change concept checks, as with lower_bound and PR 2054.
4338 * testsuite/ext/concept_checks.cc: Expand test to include those.
4340 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
4342 * include/bits/boost_concept_check.h: Import some changes from
4343 upsteam (Boost) version.
4345 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
4347 * include/bits/stl_algobase.h (copy_n + helpers,
4348 lexicographical_compare_3way + helpers): Move to...
4349 * include/ext/algorithm: ...here.
4350 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
4351 helpers): Move to...
4352 * include/ext/memory: ...here, new file.
4353 * include/Makefile.am (ext_headers): Add new file.
4354 * include/Makefile.in: Regenerate.
4355 * testsuite/ext/headers.cc: Include <ext/memory>.
4356 * include/backward/algobase.h: Include <ext/memory> and
4357 <ext/algorithm>, tweak.
4358 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
4359 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
4361 2002-01-01 Roger Sayle <roger@eyesopen.com>
4363 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
4364 equivalent ___builtin__ versions.
4366 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
4367 are available in libstdc++ as the necessary stub implementations
4368 are provided by libmath/stubs.c.
4370 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
4372 * configure.in: Add support for NetBSD cross compiles.
4373 * configure: Regenerate.