1 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3 * Makefile.am (all-multi): Fix multilib parallel build.
5 2002-09-22 Richard Henderson <rth@redhat.com>
7 * include/std/std_limits.h (__glibcpp_f32_round_error,
8 __glibcpp_f64_round_error, __glibcpp_f80_round_error,
9 __glibcpp_f96_round_error, __glibcpp_f128_round_error,
10 __glibcpp_float_round_error, __glibcpp_double_round_error,
11 __glibcpp_long_double_round_error, __glibcpp_float_round_style,
12 __glibcpp_double_round_style, __glibcpp_long_double_round_style): Kill.
13 (numeric_limits<char>::epsilon, round_error): Use constant 0.
14 (numeric_limits<float>::round_error): Use constant 0.5.
15 (numeric_limits<float>::round_style): Use round_to_nearest.
16 (numeric_limits<double>, numeric_limits<long double>): Similarly.
18 * include/std/std_limits.h (__glibcpp_f32_is_iec559,
19 __glibcpp_f64_is_iec559, __glibcpp_f80_is_iec559,
20 __glibcpp_f96_is_iec559, __glibcpp_f128_is_iec559,
21 __glibcpp_float_is_iec559, __glibcpp_double_is_iec559,
22 __glibcpp_long_double_is_iec559): Remove.
23 (numeric_limits<float>::is_iec559): Use has_infinity & has_quiet_NaN.
24 (numeric_limits<double>, numeric_limits<long double>): Similarly.
26 * include/std/std_limits.h (__glibcpp_integral_traps): New.
27 (__glibcpp_char_traps, __glibcpp_short_traps, __glibcpp_int_traps,
28 __glibcpp_long_traps, __glibcpp_wchar_t_traps,
29 __glibcpp_long_long_traps, __glibcpp_plain_char_traps,
30 __glibcpp_signed_char_traps, __glibcpp_unsigned_char_traps,
31 __glibcpp_signed_short_traps, __glibcpp_unsigned_short_traps,
32 __glibcpp_signed_int_traps, __glibcpp_unsigned_int_traps,
33 __glibcpp_signed_long_traps, __glibcpp_unsigned_long_traps,
34 __glibcpp_signed_long_long_traps, __glibcpp_unsigned_long_long_traps,
35 __glibcpp_char_is_modulo, __glibcpp_signed_char_is_modulo,
36 __glibcpp_signed_short_is_modulo, __glibcpp_signed_int_is_modulo,
37 __glibcpp_signed_long_is_modulo, __glibcpp_signed_long_long_is_modulo,
38 __glibcpp_wchar_t_is_modulo, __glibcpp_float_is_bounded,
39 __glibcpp_double_is_bounded, __glibcpp_long_double_is_bounded): Kill.
40 (numeric_limits<T>::traps, T integral): Use __glibcpp_integral_traps.
41 (numeric_limits<T>::is_modulo, T integral): Use true.
42 (numeric_limits<T>::is_bounded, T floating): Use true.
44 2002-09-18 Loren J. Rittle <ljrittle@acm.org>
46 * testsuite/18_support/numeric_limits.cc (test_epsilon): New.
48 2002-09-18 Richard Henderson <rth@redhat.com>
50 * testsuite/18_support/numeric_limits.cc: Add -mieee for alpha.
52 2002-09-16 Benjamin Kosnik <bkoz@redhat.com>
54 * include/c_shadow: Remove.
55 * include/bits/generic_shadow.h: Remove.
56 * include/Makefile.am: Remove generic_shadow.h.
57 * acinclude.m4: Remove c_shadow references.
58 * aclocal.m4: Regenerate.
59 * configure: Regenerate.
61 * mkinclosure: Remove.
63 2002-09-16 Loren J. Rittle <ljrittle@acm.org>
66 * include/ext/stl_rope.h (rope<>): Qualify dependent names
69 2002-09-16 Richard Henderson <rth@redhat.com>
71 * include/std/std_limits.h (__glibcpp_f32_QNaN_bytes,
72 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
73 __glibcpp_f32_has_SNaN, __glibcpp_f64_QNaN_bytes,
74 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
75 __glibcpp_f64_has_SNaN, __glibcpp_f80_QNaN_bytes,
76 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
77 __glibcpp_f80_has_SNaN, __glibcpp_f96_QNaN_bytes,
78 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
79 __glibcpp_f96_has_SNaN, __glibcpp_f128_QNaN_bytes,
80 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
81 __glibcpp_f128_has_SNaN, __glibcpp_float_QNaN_bytes,
82 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
83 __glibcpp_float_has_SNaN, __glibcpp_double_QNaN_bytes,
84 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
85 __glibcpp_double_has_SNaN, __glibcpp_long_double_QNaN_bytes,
86 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
87 __glibcpp_long_double_has_SNaN): Remove.
88 (__glibcpp_f128_is_iec559): True if IEEE.
89 (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
90 (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
91 (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
92 (std::numeric_limits<float>::has_quiet_NaN): Use __builtin_nanf.
93 (std::numeric_limits<float>::has_signaling_NaN): Mirror has_quiet_NaN.
94 (std::numeric_limits<float>::quiet_NaN): Use __builtin_nanf.
95 (std::numeric_limits<float>::signaling_NaN): Use __builtin_nansf.
96 (std::numeric_limits<double>): Similarly.
97 (std::numeric_limits<long double>): Similarly.
98 * src/limits.cc (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
99 (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
100 (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
102 * testsuite/18_support/numeric_limits.cc (test_infinity): New.
103 (test_denorm_min, test_qnan, test_is_iec559): New.
105 2002-09-16 Phil Edwards <pme@gcc.gnu.org>
107 * testsuite/abi_check.cc: Pull shell fragments out into...
108 * config/abi/extract_symvers: ...here. New file.
109 * Makefile.am (check_abi): Change to match.
110 (new-abi-baseline): New target.
111 * Makefile.in: Regenerated.
113 2002-09-16 Richard Henderson <rth@redhat.com>
115 * include/std/std_limits.h (__glibcpp_f32_denorm_min_bytes,
116 __glibcpp_f32_has_denorm, __glibcpp_f64_denorm_min_bytes,
117 __glibcpp_f64_has_denorm, __glibcpp_f80_denorm_min_bytes,
118 __glibcpp_f80_has_denorm, __glibcpp_f96_denorm_min_bytes,
119 __glibcpp_f96_has_denorm, __glibcpp_f128_denorm_min_bytes,
120 __glibcpp_f128_has_denorm, __glibcpp_float_denorm_min_bytes,
121 __glibcpp_float_has_denorm, __glibcpp_double_denorm_min_bytes,
122 __glibcpp_double_has_denorm, __glibcpp_long_double_denorm_min_bytes,
123 __glibcpp_long_double_has_denorm): Remove.
124 (__glibcpp_float_denorm_min, __glibcpp_double_denorm_min,
125 __glibcpp_long_double_denorm_min): Remove.
126 (std::numeric_limits<float>::has_denorm): Use __FLT_DENORM_MIN__.
127 (std::numeric_limits<float>::denorm_min): Likewise.
128 (std::numeric_limits<double>): Similarly.
129 (std::numeric_limits<long double>): Similarly.
130 * src/limits.cc (__glibcpp_float_denorm_min,
131 __glibcpp_double_denorm_min, __glibcpp_long_double_denorm_min): Remove.
133 2002-09-13 Andy Felt <afelt@uwsp.edu>
135 * docs/html/17_intro/howto.html: Update link.
137 2002-09-13 Phil Edwards <pme@gcc.gnu.org>
139 * docs/doxygen/run_doxygen: Massage man page for Iterator_types.3.
140 * docs/html/faq/index.html: Whitespace fixes.
142 2002-09-12 Benjamin Kosnik <bkoz@redhat.com>
144 * libmath/Makefile.am (LIBTOOL): Use --tag CC always for this
146 * libmath/Makefile.in: Regenerate.
147 * src/Makefile.am: Tweak comment.
148 * src/Makefile.in: Regenerate.
150 * config/locale/gnu/c_locale.h: Remove warnings.
151 Inject __uselocale into __gnu_cxx.
152 * config/locale/generic/c_locale.h: Match.
154 2002-09-11 Benjamin Kosnik <bkoz@redhat.com>
156 * include/bits/locale_facets.tcc (__convert_from_v): Remove.
157 * config/locale/gnu/c_locale.h (__convert_from_v): Add.
158 * config/locale/generic/c_locale.h (__convert_from_v): Add.
160 2002-09-11 Paolo Carlini <pcarlini@unitus.it>
162 * include/bits/locale_facets.tcc (__convert_from_v):
163 Use __uselocale instead of setlocale for glibc 2.3+.
165 2002-09-10 Benjamin Kosnik <bkoz@redhat.com>
167 * src/Makefile.am (sources): Edit.
168 (target_sources): New.
169 (target_sources_extra): New.
170 * src/Makefile.in: Regenerate.
171 * acinclude.m4: Set CCODECVT_CC.
172 * aclocal.m4: Regenerate.
173 * configure: Regenerate.
174 * src/locale.cc: Move ctype definitions...
175 * src/ctype.cc: ...here. New file.
176 * src/locale.cc: Move codecvt definitions...
177 * src/codecvt.cc: ...here.
178 * config/generic/codecvt_members.cc: ...and here.
179 * config/gnu/codecvt_members.cc: ...and here.
180 * include/bits/codecvt.h: Tweak.
181 * include/bits/locale_facets: Tweak.
183 * src/bitset.cc: Correct license text.
184 * src/concept-inst.cc: Same.
185 * src/strstream.cc: Same.
186 * src/vterminate.cc: Same.
188 2002-09-10 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net>
190 * include/bits/stl_vector.h (vector<>): Don't use a name with
191 different meanings before and after re-evaluation in the completed
193 * include/bits/basic_string.h (basic_string<>): Likewise.
194 * include/bits/stl_bvector.h (vector<bool>): Likewise.
195 * include/bits/stl_deque.h (std): Likewise.
196 * include/bits/stl_list.h (list<>): Likewise.
197 * include/bits/stl_tree.h (_Rb_tree<>): Likewise.
199 2002-09-10 Paolo Carlini <pcarlini@unitus.it>
201 * include/bits/codecvt.h (class __codecvt_abstract_base):
202 Add __c_locale type _M_c_locale_codecvt member.
203 (class codecvt<char, char, mbstate_t>,
204 class codecvt<wchar_t, char, mbstate_t>): Add new
205 codecvt(__c_locale, size_t) constructor.
206 (codecvt_byname::codecvt_byname): Update.
207 * src/codecvt.cc (class codecvt<char, char, mbstate_t>,
208 class codecvt<wchar_t, char, mbstate_t>): Update codecvt(size_t)
209 constructor and ~codecvt() destructor; define
210 codecvt(__c_locale, size_t) constructor.
211 (codecvt::do_out): Switch to _M_c_locale_codecvt around wcsrtombs call.
212 (codecvt::do_in): Ditto for mbsrtowcs call.
213 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
214 Tweak construction of codecvt facets.
216 2002-09-10 Danny Smith <dannysmith@users.sourceforge.net>
218 * include/bits/locale_facets.tcc (__convert_from_v):
219 Replace strdup with ISO malloc and strcpy.
221 2002-09-09 Benjamin Kosnik <bkoz@redhat.com>
223 * docs/html/configopts.html: Change grouping. Note ABI impacts.
224 Update information for locale model defaults.
225 * docs/html/install.html: Update include directory
227 Update testing information.
228 Update linux issues for named locales.
229 * docs/html/abi.txt: Fix typos.
232 * src/misc-inst.cc: Add missing instantiations.
234 * testsuite/abi_check.cc: Make output results more verbose.
236 * config/os/gnu-linux/ctype_base.h: Remove shadow headers injections.
238 2002-09-07 Jakub Jelinek <jakub@redhat.com>
240 * config/locale/generic/messages_members.cc: Add specialization for
242 * config/locale/ieee_1003.1-20021/messages_members.cc: Likewise.
244 2002-09-06 Benjamin Kosnik <bkoz@redhat.com>
246 * include/bits/localefwd.h: Tweak formatting.
247 * docs/html/abi.txt: Add.
249 2002-09-06 Jakub Jelinek <jakub@redhat.com>
251 * configure.target: Use cpu_include_dir="config/cpu/sparc" for all
253 * config/cpu/sparc/atomicity.h: New file.
254 * config/cpu/sparc/sparc32/atomicity.h: Removed.
255 * config/cpu/sparc/sparc64/atomicity.h: Removed.
257 2002-09-06 Jakub Jelinek <jakub@redhat.com>
259 * config/os/gnu-linux/ctype_noninline.h
260 [_GLIBCPP_USE_SHADOW_HEADERS]: Remove using _C_legacy::__ctype_*.
261 (ctype<char>::classic_table): If _GLIBCPP_C_LOCALE_GNU, return
262 _S_c_locale->__ctype_b, otherwise temporarily switch to "C" locale
263 and return __ctype_b.
264 (ctype<char>::ctype(__c_locale, const mask*, bool, size_t)): If not
265 _GLIBCPP_C_LOCALE_GNU, temporarily switch to "C" locale and
266 initialize using __ctype_{b,tolower,toupper}.
267 (ctype<char>::ctype(const mask*, bool, size_t)): If
268 _GLIBCPP_C_LOCALE_GNU, initialize using
269 _S_c_locale->__ctype_{b,tolower,toupper}, otherwise temporarily
270 switch to "C" locale and initialize using __ctype_{b,tolower,toupper}.
272 2002-09-05 Paolo Carlini <pcarlini@unitus.it>
273 Roland McGrath <roland@redhat.com>
276 * src/locale.cc (locale::locale(__s)): Use getenv instead
277 of setenv for the environment locale.
278 * testsuite/22_locale/ctor_copy_dtor.cc (test03): New.
280 2002-09-05 Jakub Jelinek <jakub@redhat.com>
282 * config/abi/ia64-unknown-linux-gnu: Add.
283 * config/abi/ia64-unknown-linux-gnu/baseline_symbols.txt: New file.
284 * config/abi/alphaev67-unknown-linux-gnu: Add.
285 * config/abi/alphaev67-unknown-linux-gnu/baseline_symbols.txt: New file.
287 2002-09-05 Jonathan Wakely <jw@kayari.org>
289 * docs/html/Makefile: Use more portable shell wildcard.
290 * docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
291 * docs/html/configopts.html, docs/html/documentation.html,
292 docs/html/explanations.html, docs/html/install.html,
293 docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
294 docs/html/17_intro/license.html, docs/html/18_support/howto.html,
295 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
296 docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
297 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
298 docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
299 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
300 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
301 docs/html/27_io/howto.html, docs/html/ext/howto.html,
302 docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
304 * docs/html/faq/index.txt: Regenerate.
306 2002-09-05 Jakub Jelinek <jakub@redhat.com>
308 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_widen(char)):
309 Switch to _M_c_locale_ctype around btowc call.
310 (ctype<wchar_t>::do_widen(const char*, const char *, wchar_t*)):
311 Switch to _M_c_locale_ctype around mbsrtowcs call.
312 (ctype<wchar_t>::do_narrow(char)): Switch to _M_c_locale_ctype around
314 (ctype<wchar_t>::do_narrow(const char*, const char *, wchar_t*)):
315 Switch to _M_c_locale_ctype around wcsrtombs call.
317 2002-09-05 Jakub Jelinek <jakub@redhat.com>
319 * config/locale/gnu/monetary_members.cc
320 (moneypunct<wchar_t, true>::_M_initialize_moneypunct,
321 moneypunct<wchar_t, false>::_M_initialize_moneypunct): Use
322 __uselocale instead of setlocale for glibc 2.3.
324 2002-09-05 Jakub Jelinek <jakub@redhat.com>
326 * config/locale/generic/c++locale_internal.h: New header.
327 * config/locale/gnu/c++locale_internal.h: New header.
328 * config/locale/gnu/c_locale.cc: Include it.
329 * config/locale/gnu/collate_members.cc: Include it.
330 * config/locale/gnu/ctype_members.cc: Include it.
331 * config/locale/gnu/messages_members.cc: Include it.
332 * config/locale/gnu/monetary_members.cc: Include it.
333 * config/locale/gnu/numeric_members.cc: Include it.
334 * config/locale/gnu/time_members.cc: Include it.
335 (_M_put): Reorder __strftime_l and __wcsftime_l arguments to match
337 (_M_initialize_timepunct): Initialize _M_c_locale_timepunct for
339 * acinclude.m4: Include string.h when testing strcoll_l.
340 For glibc 2.3 provide __-prefixed prototypes.
341 (CLOCALE_INTERNAL_H): Set, add AC_LINK_FILES line.
342 * aclocal.m4, configure: Rebuilt.
344 2002-09-05 Benjamin Kosnik <bkoz@redhat.com>
346 * include/bits/locale_facets.h: Add declaration of specialization
348 * config/locale/gnu/messages_members.cc: Add specialization for
350 * config/locale/gnu/messages_members.h: Remove generic definition
353 2002-09-04 Richard Henderson <rth@redhat.com>
355 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
356 __glibcpp_f32_has_infinity, __glibcpp_f64_infinity_bytes,
357 __glibcpp_f64_has_infinity, __glibcpp_f80_infinity_bytes,
358 __glibcpp_f80_has_infinity, __glibcpp_f96_infinity_bytes,
359 __glibcpp_f96_has_infinity, __glibcpp_f128_infinity_bytes,
360 __glibcpp_f128_has_infinity, __glibcpp_float_infinity_bytes,
361 __glibcpp_float_has_infinity, __glibcpp_double_infinity_bytes,
362 __glibcpp_double_has_infinity, __glibcpp_long_double_infinity_bytes,
363 __glibcpp_long_double_has_infinity): Remove.
364 (std::numeric_limits<float>, std::numeric_limits<double>,
365 std::numeric_limits<long double>): Use __builtin_huge_val
366 to implement has_infinity and infinity().
367 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_double_infinity,
368 __glibcpp_long_double_infinity): Remove.
370 2002-09-03 Richard Henderson <rth@redhat.com>
372 * include/std/std_limits.h (__glibcpp_f32_min, __glibcpp_f32_max,
373 __glibcpp_f32_digits, __glibcpp_f32_digits10, __glibcpp_f32_radix,
374 __glibcpp_f32_epsilon, __glibcpp_f32_min_exponent,
375 __glibcpp_f32_min_exponent10, __glibcpp_f32_max_exponent,
376 __glibcpp_f32_max_exponent10, __glibcpp_f64_min, __glibcpp_f64_max,
377 __glibcpp_f64_digits, __glibcpp_f64_digits10, __glibcpp_f64_radix,
378 __glibcpp_f64_min_exponent, __glibcpp_f64_min_exponent10,
379 __glibcpp_f64_max_exponent, __glibcpp_f64_max_exponent10,
380 __glibcpp_f80_min, __glibcpp_f80_max, __glibcpp_f80_digits,
381 __glibcpp_f80_digits10, __glibcpp_f80_radix, __glibcpp_f80_epsilon,
382 __glibcpp_f80_min_exponent, __glibcpp_f80_min_exponent10,
383 __glibcpp_f80_max_exponent, __glibcpp_f80_max_exponent10,
384 __glibcpp_f96_min, __glibcpp_f96_max, __glibcpp_f96_digits,
385 __glibcpp_f96_digits10, __glibcpp_f96_radix, __glibcpp_f96_epsilon,
386 __glibcpp_f96_min_exponent, __glibcpp_f96_min_exponent10,
387 __glibcpp_f96_max_exponent, __glibcpp_f96_max_exponent10,
388 __glibcpp_f128_min, __glibcpp_f128_max, __glibcpp_f128_digits,
389 __glibcpp_f128_digits10, __glibcpp_f128_radix, __glibcpp_f128_epsilon,
390 __glibcpp_f128_min_exponent, __glibcpp_f128_min_exponent10,
391 __glibcpp_f128_max_exponent, __glibcpp_f128_max_exponent10,
392 __glibcpp_float_min, __glibcpp_float_max, __glibcpp_float_digits,
393 __glibcpp_float_digits10, __glibcpp_float_radix,
394 __glibcpp_float_epsilon, __glibcpp_float_min_exponent,
395 __glibcpp_float_min_exponent10, __glibcpp_float_max_exponent,
396 __glibcpp_float_max_exponent10, __glibcpp_double_min,
397 __glibcpp_double_max, __glibcpp_double_digits,
398 __glibcpp_double_digits10, __glibcpp_double_radix,
399 __glibcpp_double_epsilon, __glibcpp_double_min_exponent,
400 __glibcpp_double_min_exponent10, __glibcpp_double_max_exponent,
401 __glibcpp_double_max_exponent10, __glibcpp_long_double_min,
402 __glibcpp_long_double_max, __glibcpp_long_double_digits,
403 __glibcpp_long_double_digits10, __glibcpp_long_double_radix,
404 __glibcpp_long_double_epsilon, __glibcpp_long_double_min_exponent,
405 __glibcpp_long_double_min_exponent10,
406 __glibcpp_long_double_max_exponent,
407 __glibcpp_long_double_max_exponent10): Remove macros.
408 (std::numeric_limits<float>, std::numeric_limits<double>,
409 std::numeric_limits<long double>): Use protected float.h macros.
411 2002-09-01 Phil Edwards <pme@gcc.gnu.org>
413 * testsuite/Makefile.am: Use LD_RUN_PATH when linking abi_check.
414 Fix spelling in comment.
415 * testsuite/Makefile.in: Regenerate.
416 * testsuite/abi_check.cc: Use string literals to build 'cmd' rather
417 than 'quote' and 'bslash'.
419 2002-08-31 Phil Edwards <pme@gcc.gnu.org>
421 * acinclude.m4: Minor comment tweaks.
423 * docs/html/makedoc.awk: New file...
424 * docs/html/Makefile: ...called from here...
425 * docs/html/documentation.html: ...to help generate this.
427 * docs/html/21_strings/howto.html: Prepare for new entry.
428 * include/bits/basic_string.h: Initial basic_stirng hook for
429 doxygen. Remove trailing whitespace.
430 * include/bits/char_traits.h: Point to onlinedocs for new entry.
431 * include/bits/stringfwd.h: Add doxygen hooks for string and
434 2002-08-29 Richard Earnshaw <rearnshaw@arm.com>
436 * config/cpu/arm/cpu_limits.h: New file.
437 * configure.target: Use config/cpu/arm for XScale and StrongARM
440 2002-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
442 * include/std/std_limits.h (__glibcpp_char_bits,
443 __glibcpp_short_bits, __glibcpp_int_bits, __glibcpp_long_bits,
444 __glibcpp_long_long_bits, __glibcpp_float_bits,
445 __glibcpp_double_bits, __glibcpp_long_double_bits): Remove. Use
446 compiler predifined macros.
447 (__glibcpp_wchar_t_is_signed): Define based on compiler predefined
450 2002-08-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
452 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
453 __glibcpp_f32_has_infinity, __glibcpp_f32_QNaN_bytes,
454 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
455 __glibcpp_f32_has_SNaN, __glibcpp_f32_denorm_min_bytes,
456 __glibcpp_f32_has_denorm, __glibcpp_f32_is_iec559,
457 __glibcpp_f64_infinity_bytes,
458 __glibcpp_f64_has_infinity, __glibcpp_f64_QNaN_bytes,
459 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
460 __glibcpp_f64_has_SNaN, __glibcpp_f64_denorm_min_bytes,
461 __glibcpp_f64_has_denorm, __glibcpp_f64_is_iec559,
462 __glibcpp_f80_infinity_bytes,
463 __glibcpp_f80_has_infinity, __glibcpp_f80_QNaN_bytes,
464 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
465 __glibcpp_f80_has_SNaN, __glibcpp_f80_denorm_min_bytes,
466 __glibcpp_f80_has_denorm, __glibcpp_f80_is_iec559,
467 __glibcpp_f96_infinity_bytes,
468 __glibcpp_f96_has_infinity, __glibcpp_f96_QNaN_bytes,
469 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
470 __glibcpp_f96_has_SNaN, __glibcpp_f96_denorm_min_bytes,
471 __glibcpp_f96_has_denorm, __glibcpp_f96_is_iec559,
472 __glibcpp_f128_infinity_bytes,
473 __glibcpp_f128_has_infinity, __glibcpp_f128_QNaN_bytes,
474 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
475 __glibcpp_f128_has_SNaN, __glibcpp_f128_denorm_min_bytes,
476 __glibcpp_f128_has_denorm, __glibcpp_f128_is_iec559,
477 __glibcpp_float_infinity_bytes,
478 __glibcpp_float_has_infinity, __glibcpp_float_QNaN_bytes,
479 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
480 __glibcpp_float_has_SNaN, __glibcpp_float_denorm_min_bytes,
481 __glibcpp_float_has_denorm, __glibcpp_float_is_iec559,
482 __glibcpp_double_infinity_bytes,
483 __glibcpp_double_has_infinity, __glibcpp_double_QNaN_bytes,
484 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
485 __glibcpp_double_has_SNaN, __glibcpp_double_denorm_min_bytes,
486 __glibcpp_double_has_denorm, __glibcpp_double_is_iec559,
487 __glibcpp_long_double_infinity_bytes,
488 __glibcpp_long_double_has_infinity, __glibcpp_long_double_QNaN_bytes,
489 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
490 __glibcpp_long_double_has_SNaN, __glibcpp_long_double_denorm_min_bytes,
491 __glibcpp_long_double_has_denorm, __glibcpp_long_double_is_iec559:
493 (__glibcpp_word_bits, __glibcpp_word): Likewise.
494 (__glibcpp_byte): New typedef.
495 (__float_storage, __double_storage, __long_double_storage): New types.
496 (__glibcpp_float_infinity, __glibcpp_float_QNaN,
497 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Now
499 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
500 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
501 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
502 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
505 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_float_QNaN,
506 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Define.
507 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
508 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
509 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
510 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
513 2002-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
515 * include/std/std_limits.h: Indent conditional macro definitions.
517 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
519 * Makefile.am (check-abi): Specify current directory.
520 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Fix shell syntax, use
521 abi_baseline_triplet in baseline_file.
522 * Makefile.in, aclocal.m4, configure: Regenerate.
523 * configure.target: Add abi_baseline_triplet with default.
524 * testsuite/abi_check.cc: More error checking.
526 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
528 * config/linker-map.gnu: Verbose comments, clean up spacing.
529 * include/bits/stl_alloc.h: Fix indentation of 'if' bodies, return
531 __allocator: Change class declaration to struct.
532 * docs/html/17_intro/C++STYLE: Fix typo.
533 * include/bits/stl_deque.h, include/bits/stl_list.h,
534 include/bits/stl_map.h, include/bits/stl_multimap.h,
535 include/bits/stl_vector.h: Fix fallout from typo.
537 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
539 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
540 GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
542 * aclocal.m4: Regenerate.
543 * testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
545 * testsuite/Makefile.in: Regenerate.
547 2002-08-22 Loren J. Rittle <ljrittle@acm.org>
549 * testsuite/abi_check.cc: Enhance shell portability.
550 Support older binutils/readelf.
551 * config/abi/i386-unknown-freebsd4.6: Add.
552 * config/abi/i386-unknown-freebsd4.6/baseline_symbols.txt: New file.
554 2002-08-22 Paolo Carlini <pcarlini@unitus.it>
556 * docs/html/faq/index.html: Add Loren James Rittle and
557 Paolo Carlini to the list of v3 maintainers.
558 * docs/html/faq/index.txt: Ditto.
559 * docs/html/17_intro/RELEASE-NOTES: Ditto.
561 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
562 Phil Edwards <pme@gcc.gnu.org>
563 Ulrich Drepper <drepper@redhat.com>
565 * Makefile.am (check-abi): New rule.
566 * Makefile.in: Regenerate.
567 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
568 * aclocal.m4: Regenerate.
569 * configure: Regenerate.
570 * testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
571 (abi_check_SOURCES): Add.
572 * testsuite/Makefile.in: Regenerate.
573 * testsuite/abi_check.cc: New file.
575 * config/abi/i686-pc-linux-gnu: Add.
576 * config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.
578 2002-08-19 Benjamin Kosnik <bkoz@redhat.com>
580 * configure.in (libtool_VERSION): Update to 5:1:0.
581 * configure: Regenerate.
583 2002-08-19 Jonathan Wakely <jw@kayari.org>
585 * docs/html/configopts.html, docs/html/documentation.html,
586 docs/html/install.html, docs/html/22_locale/codecvt.html,
587 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
588 docs/html/22_locale/locale.html,
589 docs/html/22_locale/messages.html: Conform to HTML 4.01 standard.
591 2002-08-15 Benjamin Kosnik <bkoz@redhat.com>
593 * include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
594 _M_buf_size_opt to zero when unbuffering.
595 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
596 Consistency checks for _M_buf_size_opt.
598 Revert PR libstdc++/7445
599 * src/locale.cc (locale::classic): Revert.
601 * docs/html/17_intro/TODO: Add.
603 2002-08-15 Phil Edwards <pme@gcc.gnu.org>
605 * docs/html/documentation.html: Update doxygen links for 3.2.
607 2002-08-15 Steve Ellcey <sje@cup.hp.com>
609 * libsupc++/unwind-cxx.h (__cxa_exception): Change catchTemp
610 type from void* to _Unwind_Ptr.
611 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
612 Do not cast landing_pad or base_of_encoded_value to (void *).
613 * libsupc++/eh_throw.cc (__gxx_exception_cleanup):
614 Accept _URC_NO_REASON as a valid reason code.
616 2002-08-14 Jonathan Wakely <jw@kayari.org>
618 * docs/html/22_locale/messages.html: Use HTML entities for
621 2002-08-13 Jonathan Wakely <jw@kayari.org>
622 Phil Edwards <pme@gcc.gnu.org>
624 * docs/html/documentation.html: Use HTML entities for punctuation.
626 2002-08-09 Phil Edwards <pme@gcc.gnu.org>
628 * include/bits/deque.tcc, include/bits/list.tcc,
629 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
630 include/bits/stl_list.h, include/bits/stl_map.h,
631 include/bits/stl_multimap.h, include/bits/stl_queue.h,
632 include/bits/stl_stack.h, include/bits/stl_vector.h,
633 include/bits/vector.tcc: Re-indent contents of namespace std,
634 re-wrap comment lines as necessary.
636 2002-08-08 Danny Smith <dannysmith@users.sourceforge.net>
637 Benjamin Kosnik <bkoz@redhat.com>
639 * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
641 * testsuite/27_io/narrow_stream_objects.cc (test10): Add.
643 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
645 * libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
646 * libsupc++/Makefile.in: Regenerate.
648 2002-08-05 Gabriel Dos Reis <gdr@nerim.net>
651 * include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
652 Instantiate with new function objects.
653 * include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
655 * include/bits/gslice_array.h: Likewise.
656 * include/bits/indirect_array.h: Likewise.
658 2002-08-03 Gabriel Dos Reis <gdr@nerim.net>
660 * testsuite/26_numerics/valarray_name_lookup.cc: Rename from
661 testsuite/26_numerics/valarray_name_lookup.C
663 * include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
664 object function surrogates.
665 * include/bits/valarray_meta.h (__shift_left): Fix typo.
666 (_BinFunClos<>): Remove.
667 (_BinFunBase<>): Likewise.
668 (_BinFunBase1<>):Likewise.
669 (_BinFunBase2<>): Likewise.
670 (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
671 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
672 (_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
673 (_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
674 * include/std/std_valarray.h: Dont #include <functional> anymore.
675 (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
676 _Shift_right<>): Remove.
677 (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
678 (_DEFINE_BINARY_OPERATOR): Tweak definition.
679 (_DEFINE_LOGICAL_OPERATOR): Remove.
680 * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.
682 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
684 * include/bits/valarray_meta.h (_UnFunBase<>): Remove.
685 (_UnFunClos<>): Same.
686 (_UnBase<>): Reformat. Make first template-parameter non
688 (_UnClos<>): Likewise.
689 (_Expr<>): Reformate. Adjust unary member operator return types.
690 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
691 (_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
692 * include/std/std_valarray.h (_UnClos<>): Adjust declaration.
693 (valarray<>::_UnaryOp<>): New nested traits. Adjust unary member
694 operator return types. Reformat.
695 (_Bitwise_not): Remove.
696 (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
697 * testsuite/26_numerics/valarray_name_lookup.C: New test.
699 2002-08-02 Danny Smith <dannysmith@users.sourceforge.net>
701 * config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
702 (scan_is): Use this->is.
703 (scan_not): Likewise.
705 2002-08-02 Benjamin Kosnik <bkoz@redhat.com>
707 Revert PR libstdc++/6594
708 * src/strstream.cc (strstreambuf): Revert.
709 (strstreambuf::overflow): Same.
710 (strstreambuf::~strstreambuf): Same.
711 * testsuite/backward/strstream_members.cc (test02): Add.
713 * docs/html/abi.txt: Update. Spell check.
715 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
717 * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
718 * testsuite/Makefile.in: Regenerate.
719 * testsuite/testsuite_hooks.h: Use __throw_exception_again,
720 include functexcept.h so that -fno-exceptions will build.
722 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
724 * include/bits/valarray_meta.h (__unary_plus, __negate,
725 __bitwise_not, __plus, __minus, __multiplies, __divides,
726 __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
727 __shift_left, __shift_right, __logical_and, __logical_or,
728 __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
729 __greater_equal, __greater, __atan2, __pow): New function object
731 (__fun<>): New function traits class.
733 2002-08-01 Rick Danos <rdanos@hotmail.com>
736 * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
737 * config/os/newlib/ctype_inline.h (is): Use static_cast.
739 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
741 * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
742 * libsupc++/Makefile.in: Regenerate.
744 2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
745 Jakub Jelinek <jakub@redhat.com>
747 * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
748 GLIBCPP_3.1 to GLIBCPP_3.2.
750 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
751 Mark Mitchell <mark@codesourcery.com>
754 * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
756 (__class_type_info): And here.
758 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
762 (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
763 (__base_class_info::__base): Change to __base_type. 2.9.5p6c
764 (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
765 (__vmi_class_type_info::__base_info): Don't make const, of type
766 __base_class_type_info, as per 2.9.5p6c
767 (__pbase_type_info::__qualifier_flags): Change to __flags, as per
769 (__pbase_type_info::__qualifier_masks): Change to __masks, as per
771 (__pointer_to_member_type_info::__context_class): Change member to
772 __context, as per 2.9.5p9.
773 * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
775 * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
777 * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
779 * libsupc++/tinfo.cc (__do_dyncast): Same.
780 * libsupc++/tinfo.cc (__do_upcast): Same.
782 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
784 * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
786 2002-07-31 Simon Whomsley <whomsley@avacadcam.com>
788 * docs/html/22_locale/howto.html: Fix.
790 2002-07-31 Alex Kompel <shurik@sequoiap.com>
793 * src/locale.cc (locale::classic): Move locks inside !_S_classic
796 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
798 * docs/html/abi.txt: Update.
800 2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
801 Gabriel Dos Reis <gdr@nerim.net>
803 * include/bits/char_traits.h: Remove generic definitions.
804 * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
806 * include/bits/istream.tcc (istream::readsome): Don't check
807 against eof, instead use constants.
808 (istream::sync): Same.
809 (istream::sentry::sentry): Use eq_int_type.
810 (istream::get): Same.
811 * include/bits/ostream.tcc: Change __pad to
812 __pad<_CharT, _Traits>::_S_pad.
813 * include/bits/locale_facets.h: Add __pad_traits generic and
814 ostreambuf_iterator specialization.
815 * include/bits/locale_facets.tcc: Change __pad into struct __pad
816 with a _CharT and _Traits template parameter and _S_pad static
818 * src/locale-inst.cc: Update __pad instantiations.
820 * include/std/std_fstream.h: Declare _M_underflow_common
822 * src/fstream.cc: New. Add _M_underflow_common specializations.
823 * include/bits/fstream.tcc (filebuf::close): Use traits_type.
824 (filebuf::_M_underflow_common(bool)): Remove generic version, as
825 sys_ungetc and custom int_types don't get along.
826 * include/std/std_streambuf.h: Add _M_pos.
827 * src/Makefile.am (sources): Add fstream.cc.
828 * src/Makefile.in: Regenerate.
830 * testsuite/21_strings/capacity.cc: Add char_traits specializations.
831 * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
832 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
833 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
834 * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
835 * testsuite/27_io/filebuf.cc: ...here.
836 * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
837 specialization for both.
838 * testsuite/27_io/streambuf.cc: Add instantiation test,
839 testsuite_hooks include.
840 * testsuite/27_io/istream.cc: Same.
841 * testsuite/27_io/ostream.cc: Same.
842 * testsuite/27_io/fstream.cc: Same.
843 * testsuite/27_io/stringstream.cc: Same.
844 * testsuite/27_io/filebuf.cc: Same.
845 * testsuite/27_io/stringbuf.cc: Same.
847 2002-07-29 Alan Modra <amodra@bigpond.net.au>
849 * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
850 * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
851 * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
852 (__test_and_set): Remove.
853 (_STWCX): Define and use.
855 2002-07-26 Phil Edwards <pme@gcc.gnu.org>
857 * libsupc++/new (placement delete): Remove unused parameter names.
859 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
862 * include/std/std_istream.h (basic_iostream): Add typedefs for
863 char_type, int_type, pos_type, off_type, and traits_type.
864 * testsuite/27_io/iostream.cc (test01): Add typedef tests.
865 * testsuite/27_io/istream.cc: Same.
866 * testsuite/27_io/ostream.cc: Same.
867 * testsuite/27_io/filebuf.cc: Same.
868 * testsuite/27_io/stringbuf.cc: Replace content, move to...
869 * testsuite/27_io/stringbuf_members.cc: ...here.
870 * testsuite/27_io/streambuf.cc: Replace content, move to...
871 * testsuite/27_io/streambuf_members.cc: ...here.
872 * testsuite/27_io/stringstream.cc: Replace content, move to...
873 * testsuite/27_io/stringstream_members.cc: ...here.
874 * testsuite/27_io/ios.cc: New file.
875 * testsuite/27_io/fstream.cc: New file.
876 * testsuite/27_io/ifstream.cc: New file.
877 * testsuite/27_io/ofstream.cc: New file.
878 * testsuite/27_io/istringstream.cc: New file.
879 * testsuite/27_io/ostringstream.cc: New file.
881 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
884 * include/bits/istream.tcc (istream::ignore): Don't extract on
886 * testsuite/27_io/istream_unformatted.cc (test10): Add.
888 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
890 * testsuite/27_io/ios_base_type.cc: Move to...
891 * testsuite/27_io/ios_base_types.cc: ...here.
893 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
896 * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
897 * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
899 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
902 * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
903 * include/Makefile.am (backward_headers): Use strstream, not
905 * include/Makefile.in: Regenerate.
906 * include/backward/strstream: Revert.
907 * include/backward/strstream.h: Remove.
908 * src/strstream.cc: Revert.
909 * testsuite/backward/strstream_members.cc: Change include.
911 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
914 * include/bits/ios_base.h (ios_base::streampos): Add.
915 (ios_base::streamoff): Add.
916 * testsuite/27_io/ios_base_type.cc: New.
918 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
921 * libsupc++/new: Add placement delete.
922 * testsuite/18_support/new_delete_placement.cc: New.
924 * docs/html/abi.txt: Fix typos.
926 2002-07-23 Benjamin Kosnik <bkoz@redhat.com>
928 * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
929 confusing usage of "latest."
930 De-tangle contributor information from introductory notes.
931 Move abi.txt link placement, activate.
933 Move chapter info into old FAQ format.
934 * docs/html/organization.html: Removed, obsoleted by doxygen work.
935 * docs/html/abi.txt: Add notes on testing ABI changes.
937 2002-07-20 Phil Edwards <pme@gcc.gnu.org>
939 * docs/html/abi.txt: New file.
940 * docs/html/23_containers/howto.html: Tweak vector-overhead text.
941 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
942 Import from upstream, R22.
944 * include/bits/char_traits.h, include/bits/stl_iterator.h,
945 include/bits/stl_iterator_base_types.h, libsupc++/exception,
946 libsupc++/new, libsupc++/typeinfo: Use @brief markup.
948 * include/bits/deque.tcc, include/bits/stl_alloc.h,
949 include/bits/stl_deque.h, include/bits/stl_list.h: Postpone removal
950 of deprecated functions until 3.4. (Same timeframe, different text.)
951 * include/bits/stl_vector.h: Ditto. Also do the same cleanups that
952 the other sequence classes received.
954 2002-07-18 Brendan Kehoe <brendan@zen.org>
956 * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
959 2002-07-19 Gabriel Dos Reis <gdr@nerim.net>
962 * include/bits/slice_array.h
963 (slice_array<T>::operator=(const T&)): Constify.
964 * include/bits/gslice_array.h
965 (gslice_array<T>::operator=(const T&)): Likewise.
966 * include/bits/mask_array.h
967 (mask_array<T>::operator=(const T&)): Likewise.
968 * include/bits/indirect_array.h
969 (indirect_array<T>::operator=(const T&): Likewise.
971 2002-07-17 Phil Edwards <pme@gcc.gnu.org>
973 * docs/doxygen/run_doxygen: Remove template parameter names from
974 "Compound List" summary page. Reformat.
975 * docs/html/documentation.html: XHTML fixes.
977 2002-07-16 Andreas Schwab <schwab@suse.de>
979 * libsupc++/new (set_new_handler): Declare to not throw any
981 * libsupc++/new_handler.cc (set_new_handler): Likewise.
983 2002-07-16 Gabriel Dos Reis <gdr@nerim.net>
985 * include/Makefile.am (bits_headers): Remove slice.h
986 * include/Makefile.in: Regenerate.
987 * include/bits/slice.h (slice): move to include/bits/slice_array.h
988 * include/bits/slice.h Remove.
989 * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
990 * include/bits/slice_array.h: Comply to official coding styles.
991 * testsuite/26_numerics/slice.cc: New test.
993 2002-07-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
995 * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
996 print to match vendor <ctype.h>.
998 2002-07-15 Phil Edwards <pme@gcc.gnu.org>
1000 * docs/html/faq/index.html: Fix download links.
1001 * docs/html/faq/index.txt: Regenerate.
1002 * docs/html/17_intro/porting.html: Regenerate from earlier changes.
1004 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1006 * configure.target (target_os switch): Allow for irix6*o32
1009 2002-07-10 Gabriel Dos Reis <gdr@nerim.net>
1011 * include/bits/valarray_meta.h (_UnFunBase): Take a second
1012 template parameter. Remove _M_func data member.
1013 (_UnFunClos): Take a third template parameter.
1014 (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
1015 __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
1016 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
1018 2002-07-08 Eric Christopher <echristo@redhat.com>
1020 * configure.target: Fix comment for mips atomicity. Add
1021 mips*-*-linux* target, enable atomic operations there.
1022 * config/cpu/mips/atomicity.h: Fix comments, remove
1023 #ifndef/#endif. Add push/pop mips2.
1025 2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1027 * include/bits/stl_deque.h (_Deque_alloc_base): Change order of
1028 member declarations to avoid compiler warnings and restore 3.1 ABI.
1030 2002-07-08 Phil Edwards <pme@gcc.gnu.org>
1032 * docs/html/23_containers/howto.html: Link to dk_std::vector paper
1035 2002-07-07 Paolo Carlini <pcarlini@unitus.it>
1038 * include/bits/stl_deque.h (_Deque_iterator::operator-):
1039 Make non-member, as already happens for the comparison
1040 operators in accord with DR179 (Ready).
1041 * testsuite/23_containers/deque_operators.cc: Add test02.
1043 2002-07-04 Benjamin Kosnik <bkoz@redhat.com>
1044 Jack Reeves <jackw_reeves@hotmail.com>
1046 * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
1047 size_t, from int_type.
1048 (basic_streambuf::_M_buf_size_opt): Same.
1049 (basic_streambuf::_S_pback_sizex): Same.
1050 * include/bits/streambuf.tcc: Same.
1051 * include/std/std_streambuf.h (basic_streambuf::snextc): Use
1053 (basic_streambuf::uflow): Same.
1054 * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
1056 * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
1057 * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
1059 (basic_streambuf::xsputn): Same.
1060 (__copy_streambufs): Same.
1062 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
1064 * include/std/std_memory.h: Fix formatting.
1065 * testsuite/20_util/auto_ptr_neg.cc: New.
1066 * testsuite/20_util/auto_ptr.cc: Tweaks.
1067 * testsuite/23_containers/map_operators.cc (test01): Split into..
1068 * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
1069 * testsuite/23_containers/set_operators.cc: Move to...
1070 * testsuite/23_containers/set_operators_neg.cc: ...here.
1071 * testsuite/README: Add some more naming rules.
1073 2002-07-03 Steev Wilcox <steev@paradigmds.com>
1076 * include/ext/stl_hashtable.h: Fix.
1077 * testsuite/ext/hash_map.cc: New.
1079 2002-07-03 Jack Reeves <jackw_reeves@hotmail.com>
1080 Kenny Simpson <theonetruekenny@yahoo.com>
1081 Phil Edwards <pme@gcc.gnu.org>
1084 * testsuite/20_util/auto_ptr.cc (test08): New test.
1085 * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit.
1086 (auto_ptr::operator auto_ptr_ref): Fix typo.
1087 General reformatting and doxygenating of the whole file.
1089 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
1092 * include/c/std_cwchar.h: Fix.
1094 2002-07-02 Benjamin Kosnik <bkoz@redhat.com>
1097 * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
1098 char* name parameter.
1099 * config/locale/gnu/monetary_members.cc: Use it.
1100 * config/locale/generic/monetary_members.cc: Same.
1101 * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
1103 * include/backward/strstream.h: Update date.
1105 2002-07-02 Paolo Carlini <pcarlini@unitus.it>
1108 * include/bits/stl_iterator.h
1109 (__normal_iterator::operator-(const __normal_iterator&)):
1110 Make non-member, as already happens for the comparison
1111 operators in accord with DR179 (Ready).
1112 * testsuite/24_iterators/iterator.cc: Add test from the PR.
1114 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
1117 * acinclude.m4: Simplify determination of gcc_version, and move
1118 up to GLIBCPP_CONFIGURE.
1119 * configure.in (release_VERSION): Really remove.
1120 (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER): Move after GLIBCPP_CONFIGURE.
1121 * aclocal.m4, configure: Regenerate.
1123 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
1125 * docs/html/configopts.html, docs/html/install.html: Tweaks.
1126 * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
1127 include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
1128 include/ext/slist, include/ext/stl_rope.h: Add doxygen hooks.
1130 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
1132 * include/backward/strstream: Remove namespace std. Transfer to...
1133 * include/backward/strstream.h: ...here. Qualify std names.
1134 * src/strstream.cc: Remove namespace std.
1135 * include/Makefile.am (backward_headers): Remove strstream.h.
1136 * include/Makefile.in: Regenerate.
1137 * config/linker-map.gnu: Export strstream bits.
1139 * src/fstream-inst.cc: Tweak.
1140 * src/io-inst.cc: Same.
1141 * src/istream-inst.cc: Same.
1142 * src/misc-inst.cc: Same.
1143 * src/ostream-inst.cc: Same.
1144 * src/sstream-inst.cc: Same.
1145 * src/valarray-inst.cc: Same.
1146 * src/misc-inst.cc: Remove unused instantiations.
1148 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
1150 * configure.in (libtool_VERSION): Bump to 5:0:0.
1151 * configure: Regenerate.
1153 2002-06-28 Phil Edwards <pme@gcc.gnu.org>
1155 PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
1156 * include/std/std_queue.h: Include deque.tcc, vector.tcc.
1157 * include/std/std_stack.h: Include deque.tcc.
1158 * testsuite/23_containers/adaptors.cc: New file.
1160 2002-06-27 Phil Edwards <pme@gcc.gnu.org>
1162 * include/bits/stl_alloc.h: Deprecate all 'reallocate' memfns.
1163 * docs/html/ext/howto.html: Update allocator notes.
1165 2002-06-26 Benjamin Kosnik <bkoz@redhat.com>
1167 * configure.in (INTERFACE): Remove.
1168 (release_VERSION): Remove.
1169 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
1170 (libstdcxx_interface): Change. Use gcc methods to determine version.
1171 * configure: Regenerate.
1172 * aclocal.m4: Regenerate.
1174 2002-06-25 DJ Delorie <dj@redhat.com>
1176 * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
1177 GLIBCPP_TOPREL_CONFIGURE.
1178 * aclocal.m4: Likewise.
1179 * configure.in: Call it before AC_CANONICAL_SYSTEM.
1180 * configure: Regenerate.
1182 2002-06-25 Jessica Han <jessica@cup.hp.com>
1184 * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
1185 * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
1186 _GLIBCPP_VTABLE_PADDING is defined.
1188 2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
1190 * include/bits/stl_alloc.h: Additional formatting.
1192 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
1194 * include/bits/stl_alloc.h: Reformat as per C++STYLE.
1196 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
1198 * config/cpu/*/bits/*: Move header files up a level. Remove bits.
1199 * config/os/*/bits/*: Likewise.
1200 * configure.in: Update.
1201 * configure: Regenerate.
1202 * configure.target: Update.
1203 * docs/html/17_intro/porting.texi: Update.
1205 2002-06-21 Phil Edwards <pme@gcc.gnu.org>
1207 * include/bits/stl_map.h, include/bits/stl_multimap.h,
1208 include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
1209 complete doxygenation.
1210 * include/bits/boost_concept_check.h: Minor comment.
1212 2002-06-21 Benjamin Kosnik <bkoz@redhat.com>
1214 * include/c_compatibility: New.
1215 * include/c_compatibility/assert.h: New.
1216 * include/c_compatibility/ctype.h: New.
1217 * include/c_compatibility/errno.h: New.
1218 * include/c_compatibility/float.h: New.
1219 * include/c_compatibility/iso646.h: New.
1220 * include/c_compatibility/limits.h: New.
1221 * include/c_compatibility/locale.h: New.
1222 * include/c_compatibility/math.h: New.
1223 * include/c_compatibility/setjmp.h: New.
1224 * include/c_compatibility/signal.h: New.
1225 * include/c_compatibility/stdarg.h: New.
1226 * include/c_compatibility/stddef.h: New.
1227 * include/c_compatibility/stdio.h: New.
1228 * include/c_compatibility/stdlib.h: New.
1229 * include/c_compatibility/string.h: New.
1230 * include/c_compatibility/time.h: New.
1231 * include/c_compatibility/wchar.h: New.
1232 * include/c_compatibility/wctype.h: New.
1234 * include/c/std_cerrno.h: Get out of the way... define errno.
1235 * include/c/std_cmath.h: Add abs, modf overloads.
1236 Undefine C99 isms. Still not sure how to deal with this sanely.
1237 * include/c/std_csetjmp.h: Tweak.
1238 * include/c/std_cwchar.h: Include cstddef for size_t.
1240 * include/c_std/std_cmath.h: Remove extra function.
1242 Pendantic std usage in testsuites.
1243 * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
1245 * testsuite/17_intro/header_cwchar.cc: Tweak.
1246 * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
1248 * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
1249 * testsuite/22_locale/ctype_to_char.cc (test05): Same.
1250 * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
1251 * testsuite/22_locale/ctype_is_char.cc (test05): Same.
1252 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
1253 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
1254 * testsuite/22_locale/time_get_members_char.cc (test08): Same.
1255 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
1256 * testsuite/22_locale/time_put_members_char.cc (test04): Same.
1257 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
1258 * testsuite/22_locale/num_put_members_char.cc (test04): Same.
1259 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
1260 * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
1261 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
1262 * testsuite/22_locale/num_get_members_char.cc: Same.
1263 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
1264 * testsuite/22_locale/money_put_members_char.cc (test07): Same.
1265 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
1266 * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
1267 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
1268 * testsuite/22_locale/money_get_members_char.cc (test08): Same.
1269 * testsuite/22_locale/messages_members_char.cc (test03): Same.
1270 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
1271 * testsuite/22_locale/collate_members_char.cc (test04): Same.
1272 * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
1273 * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
1274 * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
1276 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1278 * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
1281 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1283 * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
1284 Use size_type instead of unsigned long.
1286 2002-06-20 Steve Ellcey <sje@cup.hp.com>
1288 * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
1290 (_S_min_len): Ditto.
1292 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1294 * include/Makefile.am: Add rules.
1295 * include/Makefile.in: Regenerate.
1297 * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
1298 * aclocal.m4: Regenerate.
1299 * configure: Regenerate.
1300 * configure.target (c_model, c_compatibility): Add.
1302 * libsupc++/Makefile.am (c_sources): New.
1303 (libsupc___la_SOURCES): Add c_sources.
1304 (LTCOMPILE): Remove INCLUDES.
1305 (GCC_INCLUDES): New.
1306 (C_COMPILE): New, like COMPILE but without INCLUDES.
1307 (cxa_demangle.o): Use C_COMPILE.
1308 (dyn-string.o): Use C_COMPILE.
1310 * include/c/std_cstdarg.h: Define __need___va_list.
1311 * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
1312 need_NULL, need_offsetof.
1314 2002-06-19 Steve Ellcey <sje@cup.hp.com>
1316 * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*): Remove
1317 definitions in hpux11 cross-build because these functions do
1318 not exist on hpux11 (but some exist on hpux10); move defaults out
1319 into existing sections.
1320 * configure: Regenerate.
1322 2002-06-18 Benjamin Kosnik <bkoz@redhat.com>
1324 * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
1325 * include/c/std_cwctype.h: Guard.
1327 * libsupc++/eh_alloc.cc: Tweak include order.
1328 * libsupc++/pure.cc: Use cstdio.
1329 * libsupc++/new_op.cc: Remove malloc forward declaration, as
1330 cstdlib brings it in. Use std::malloc.
1332 * src/Makefile.am (sources): Remove cmath.cc.
1333 * src/Makefile.in: Regenerate.
1334 * src/cmath.cc: Remove.
1336 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
1338 * configure.target: Force mips to use the generic cpu routines.
1340 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
1342 * configure.host: Delete file.
1343 * configure.target: More documentation. Factor out common parts of
1344 script into "intelligent" settings about defaults. Remove redundancy.
1346 * acinclude.m4: Update comments. Do not call configure.host.
1347 (GLIBCPP_ENABLE_SYMVERS): If disabled, do not bother checking for
1349 * configure.in: Slight reformatting, more comments. Factor out
1350 "config/" from all the directories.
1351 * docs/html/17_intro/porting.texi: Update and expand.
1352 * testsuite/Makefile.am (AM_RUNTESTFLAGS): Move empty setting
1353 from configure.host.
1355 * aclocal.m4, configure, docs/html/17_intro/porting.html,
1356 testsuite/Makefile.in: Regenerate.
1358 2002-06-16 Phil Edwards <pme@gcc.gnu.org>
1360 * docs/doxygen/TODO: Update.
1361 * docs/doxygen/tables.html: Uncomment magical middle column.
1362 * docs/doxygen/user.cfg.in: Kludge to ignore function-like macros.
1363 * include/bits/stl_queue.h: Doxygenate and reformat.
1364 * include/bits/ios_base.h, include/std/std_streambuf.h: Add comment
1365 for deprecated names required by the standard.
1367 2002-06-14 J.T. Conklin <jtc@acorntoolworks.com>
1369 * configure.in (target_alias): Fix.
1370 * configure: Regenerate.
1371 * aclocal.m4: Regenerate.
1373 2002-06-12 Phil Edwards <pme@gcc.gnu.org>
1375 * include/Makefile.am: Add new files.
1376 * include/Makefile.in: Regenerate.
1378 * include/bits/stl_deque.h, include/bits/stl_list.h,
1379 include/bits/stl_vector.h: Clean up, reformat. Move definitions...
1380 * include/bits/deque.tcc, include/bits/list.tcc,
1381 include/bits/vector.tcc: ...to here. New files.
1383 * include/ext/stl_hashtable.h: Inclide correct full headers.
1384 * include/std/std_deque.h: Include .tcc files for now.
1385 * include/std/std_list.h: Likewise.
1386 * include/std/std_vector.h: Likewise.
1388 2002-06-12 Daniel Jacobowitz <drow@mvista.com>
1390 * Makefile.am: Add FLAGS_TO_PASS.
1391 * Makefile.in: Regenerated.
1393 2002-06-11 J.T. Conklin <jtc@acorntoolworks.com>
1394 Benjamin Kosnik <bkoz@redhat.com>
1396 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
1398 * configure.in: Add support for *-qnx6.[12]*.
1399 * configure: Regenerate.
1401 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
1403 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
1404 ctype_noninline.h, os_defines.h: New files.
1406 2002-06-10 Loren J. Rittle <ljrittle@acm.org>
1408 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
1409 include all required headers for test against older POSIX standard.
1410 (GLIBCPP_CHECK_SETRLIMIT): Likewise.
1411 (ac_setrlimit): Likewise.
1412 * aclocal.m4: Regenerate.
1413 * configure: Regenerate.
1414 * testsuite/testsuite_hooks.cc: Reorder and include all
1415 required headers for use against older POSIX standard.
1417 2002-06-08 Paolo Carlini <pcarlini@unitus.it>
1419 * testsuite/backwards/strstream_members.cc: New.
1421 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
1423 * include/backwards/strstream: Format.
1424 * src/strstream.cc: Format.
1426 2002-06-08 Andreas Schwab <schwab@suse.de>
1428 * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
1429 _M_buf_size and _M_buf_size_opt to the new buffer and size.
1431 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
1433 * config/os/generic/bits/ctype_noninline.h: Tweak format.
1435 2002-06-07 Steve Ellcey <sje@cup.hp.com>
1437 * src/locale-inst.cc (__codecvt_abstract_base):
1438 Put inside _GLIBCPP_USE_WCHAR_T ifdef.
1439 * include/bits/istream.tcc (basic_istream): Ditto.
1442 * include/bits/ostream.tcc (basic_ostream): Ditto.
1446 (operator<<): Ditto.
1448 2002-06-07 Phil Edwards <pme@gcc.gnu.org>
1450 * mkcheck.in: Link against local testsuite library.
1451 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
1452 implementation out...
1453 * testsuite/testsuite_hooks.cc: ...to here.
1455 2002-06-06 Loren J. Rittle <ljrittle@acm.org>
1457 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
1458 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
1459 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
1460 * src/Makefile.in: Regenerate (explicitly with --cygnus option).
1461 * testsuite/Makefile.in: Likewise.
1463 2002-06-05 David Edelsohn <edelsohn@gnu.org>
1465 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
1466 Call external symbol.
1468 2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1470 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1471 Search correct multilib testsuite dir for libv3test.
1473 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
1474 Gaby Dos Reis <gdr@codesourcery.com>
1476 * include/bits/basic_string.tcc
1477 (basic_string::_S_construct(forward_iterator_tag):
1478 Fix typo in null pointer check.
1479 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
1481 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
1483 * testsuite/22_locale/money_get_members_char.cc
1484 (test02): Add decimal point to long double constants.
1485 * testsuite/22_locale/money_get_members_wchar_t.cc
1487 * testsuite/22_locale/money_put_members_char.cc
1488 (test02, test03, test06): Likewise.
1489 * testsuite/22_locale/money_put_members_wchar_t.cc:
1490 (test02, test03, test06): Likewise.
1491 * testsuite/22_locale/num_get_members_char.cc:
1492 (test02, test01): Likewise; suffix long long constants with LL.
1493 * testsuite/22_locale/num_get_members_wchar_t.cc:
1494 (test02, test01): Likewise.
1495 * testsuite/22_locale/num_put_members_char.cc:
1496 (test02, test01): Likewise.
1497 * testsuite/22_locale/num_put_members_wchar_t.cc:
1498 (test02, test01): Likewise.
1500 2002-06-03 Marc Espie <espie@openbsd.org>
1502 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
1503 assembly for old assemblers.
1505 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1507 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
1509 (vector<bool>::swap(reference,reference)): ...to this.
1511 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1513 * docs/doxygen/TODO: Update.
1514 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
1515 some class members are in 14882 order.
1516 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
1518 * include/std/std_bitset.h: Update comment.
1519 * src/bitset.cc: Update comments, clean up spacing.
1521 * src/Makefile.am (sources): Alphabetize for convenience.
1522 * src/Makefile.in: Regenerate.
1524 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1526 * include/bits/stl_deque.h, include/bits/stl_list.h,
1527 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
1528 Reorder to match 14882. Doxygen blocks for all public members.
1530 2002-05-31 Marcus Meissner <meissner@suse.de>
1533 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
1534 * testsuite/23_containers/vector_bool.cc (test02): New test.
1536 2002-05-30 Marc Espie <espie@openbsd.org>
1538 * configure.in: Always check for sys/types.h
1539 * configure: Regenerate.
1541 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1543 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
1544 Rebuild the wrapper file every time this proc is called.
1546 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
1548 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
1550 * testsuite/Makefile.in: Regenerate.
1551 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
1552 list_modifiers.cc and rename from 'T'. Move code bodies...
1553 * testsuite/testsuite_hooks.cc: ...to here. New file.
1554 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
1555 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1556 Add libv3test.a to link options.
1558 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1560 * src/misc-inst.cc: Define unnecessary algorithm
1561 instantiations. Break apart instantiations into groupings below.
1562 * src/fstream-inst.cc: New.
1563 * src/io-inst.cc: New.
1564 * src/istream-inst.cc: New.
1565 * src/ostream-inst.cc: New.
1566 * src/streambuf-inst.cc: New.
1567 * src/sstream-inst.cc: New.
1568 * src/Makefile.am (sources): Add files.
1569 * src/Makefile.in: Regenerate.
1571 * acinclude.m4: Work around automake 1.4-p5 bug, change
1572 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
1574 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1577 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
1578 (classic_table): Fix.
1579 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1581 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1583 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
1584 _GLIBCPP_USE_WCHAR_T.
1585 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
1586 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
1587 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
1589 2002-05-26 Carlo Wood <carlo@alinoe.com>
1590 Paolo Carlini <pcarlini@unitus.it>
1593 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1594 (__enc_traits::operator=): add missing return statement.
1596 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
1599 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
1600 (operator>>): If nothing was extracted, don't fail in the
1602 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
1604 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
1607 * testsuite/22_locale/ctype_narrow_char.cc: New.
1608 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
1609 * testsuite/22_locale/ctype_widen_char.cc: New.
1610 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
1611 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
1612 * testsuite/22_locale/ctype_is_char.cc: ...this.
1613 * testsuite/22_locale/ctype_to_char.cc: ...and this.
1614 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
1615 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
1616 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
1618 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
1620 2002-05-24 Dale Peakall <dale@peakall.net>
1623 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
1624 * config/locale/generic/ctype_members.cc: Same.
1626 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
1629 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1630 for empty string literal.
1631 (ostream::operator<<(const _CharT*)): Same.
1632 (ostream<char>::operator<<(const char*)): Same.
1633 (ostream<char>::operator<<(streambuf*)): Same.
1634 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
1635 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
1637 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
1639 * configure.in (release_VERSION): Update to 3.1.1.
1640 (libtool_VERSION): Update to 4:1:0.
1641 * configure: Regenerate.
1643 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1645 * include/bits/stl_pair.h: Tweak comment markup.
1647 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1649 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
1651 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1653 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
1655 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1657 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
1658 Doxygenate all public members. Reorder to follow 14882.
1659 (vector::push_back(void)): Remove previously-deprecated fn.
1660 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
1661 Deprecate for removal in 3.3.
1663 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
1665 * docs/html/faq/index.html (5.4): Recommend against -I options for
1666 finding the ext headers.
1667 * docs/html/faq/index.txt: Regenerate.
1669 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
1671 * testsuite/23_containers/deque_operators.cc (test01):
1672 Fix minor typo in last commit.
1674 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
1677 * include/bits/stl_deque.h (_Deque_iterator::operator==,
1678 operator!=, operator<, operator>, operator>=, operator<=):
1679 Make non-member functions, to allow comparing const and
1680 non-const iterators in any order.
1681 * testsuite/23_containers/deque_operators.cc: New testfile.
1683 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
1685 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
1686 * docs/html/faq/index.txt: Regenerate.
1688 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1690 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
1691 * acinclude.m4: Likewise.
1692 * docs/html/Makefile: Likewise.
1693 * aclocal.m4: Regenerate.
1694 * configure: Regenerate.
1695 * Makefile.in: Regenerate.
1697 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
1700 * include/bits/c++config (__USE_MALLOC): Report case where
1701 the user improperly defined it on the command line.
1703 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1705 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
1706 Retrieve current limits before setting.
1708 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
1711 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1713 (ostream::operator<<(const _CharT*)): Same.
1714 (ostream<char>::operator<<(const char*)): Same.
1715 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
1717 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
1720 * src/strstream.cc (strstreambuf): Fix leak.
1722 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
1725 * include/bits/istream.tcc (istream::getline, ignore):
1726 Upon __idelim (__delim) call sbumpc() not snextc().
1727 * testsuite/27_io/narrow_stream_objects.cc:
1728 Add test08 and test09.
1730 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1732 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
1733 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
1735 * docs/html/install.html: Fix.
1737 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1739 * include/bits/fstream.tcc
1740 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
1742 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
1744 * docs/html/install.html: Tweak, add bits about required locales
1745 for the 22_locale tests when using the gnu model.
1747 * testsuite/27_io/istream_sentry.cc: Tweak.
1749 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1751 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
1752 Fix typo, use this->is() rather than manually (and perhaps
1753 incorrectly) inlining it.
1754 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
1756 * testsuite/22_locale/ctype_scan_char.cc: New file.
1758 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1759 Jakub Jelinek <jakub@redhat.com>
1761 * testsuite/22_locale/money_get_members_char.cc
1762 (test01, test02, test04): Use the de_DE@euro named locale
1763 instead of de_DE to allow for an uniform behaviour with
1764 both old and Euro-era localedata; tweak some tests.
1765 * testsuite/22_locale/money_get_members_wchar_t.cc
1766 (test01, test02, test04): Likewise.
1767 * testsuite/22_locale/money_put_members_char.cc
1768 (test01, test02, test04): Likewise.
1769 * testsuite/22_locale/money_put_members_wchar_t.cc
1770 (test01, test02, test04): Likewise.
1772 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1774 * testsuite/22_locale/codecvt_members_char_char.cc
1775 (test03): Robustify wrt localedata.
1776 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
1777 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
1778 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
1779 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
1780 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
1781 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
1782 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
1783 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
1784 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
1785 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
1786 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
1787 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
1788 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
1789 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
1790 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1791 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1792 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
1793 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
1794 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
1795 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
1796 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
1797 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
1799 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1801 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
1804 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1806 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
1807 to 64 for hppa 64-bit port.
1808 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
1810 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1812 * acinclude.m4 (enable_symvers): Quote $LD.
1813 * aclocal.m4: Regenerate.
1814 * configure: Likewise.
1816 2002-05-09 Jakub Jelinek <jakub@redhat.com>
1818 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
1819 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
1822 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
1824 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1825 script entry, and set LD to it when configuring multilibs.
1826 * configure: Rebuilt.
1828 2002-05-07 Mark Mitchell <mark@codesourcery.com>
1830 * configure.in: Add support for WindISS.
1831 * configure: Regenerated.
1832 * configure.target: Add support for WindISS.
1833 * config/os/windiss/bits/ctype_base.h: New file.
1834 * config/os/windiss/bits/ctype_inline.h: Likewise.
1835 * config/os/windiss/bits/ctype_noninline.h: Likewise.
1836 * config/os/windiss/bits/os_defines.h: Likewise.
1838 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
1840 Test all the facets for the temporary "C" locale switch issue.
1841 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
1842 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1843 * testsuite/22_locale/collate_members_char.cc: Add test04.
1844 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1845 * testsuite/22_locale/ctype_members_char.cc: Add test05.
1846 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
1847 * testsuite/22_locale/messages_members_char.cc: Add test03.
1848 * testsuite/22_locale/money_get_members_char.cc: Add test08.
1849 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1850 * testsuite/22_locale/money_put_members_char.cc: Add test07.
1851 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1852 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
1853 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1854 * testsuite/22_locale/num_get_members_char.cc: Add test06.
1855 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1856 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
1857 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1858 * testsuite/22_locale/time_get_members_char.cc: Add test08.
1859 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1860 * testsuite/22_locale/time_put_members_char.cc: Add test04.
1861 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1863 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1864 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1866 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1868 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
1869 __EXTENSIONS__): Ensure they are always defined.
1871 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
1873 * docs/html/documentation.html: Fix broken link.
1875 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
1876 Paolo Carlini <pcarlini@unitus.it>
1878 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
1879 testing for the locale_facets.tcc entry of the previous commit.
1880 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1882 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
1884 * config/locale/generic/c_locale.cc
1885 (__convert_to_v(float, double, long double)):
1886 Fix the temporary switch to the "C" locale, saving and
1887 restoring in the proper way the current locale.
1888 * config/locale/generic/time_members.cc
1889 (__timepunct<char, wchar_t>::_M_put): Likewise.
1890 * config/locale/gnu/messages_members.cc
1891 (messages<char>::do_get): Likewise.
1892 * config/locale/gnu/messages_members.h
1893 (messages<_CharT>::do_get): Likewise.
1894 * config/locale/gnu/time_members.cc
1895 (__timepunct<char, wchar_t>::_M_put): Likewise.
1896 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
1898 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1900 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
1901 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
1903 * Makefile.in, config.h.in, configure: Regenerate.
1905 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
1908 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
1909 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
1911 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1913 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
1915 (ctype:_M_table): Initialize to classic_table(), not __ctype.
1917 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1919 * configure.in: Update local install.html, configopts.html paths.
1920 * configure: Regenerate.
1922 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1924 * config/os/irix/irix5.2/bits/os_defines.h
1925 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
1927 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
1930 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
1932 * docs/html/faq/index.html: Update list in #4.1.
1933 * docs/html/faq/index.txt: Regenerated.
1935 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
1937 * docs/html/17_intro/RELEASE-NOTES (New): Update.
1939 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
1941 * include/std/std_bitset.h: Fix doxygen comments.
1942 * docs/html/documentation.html: Minor tweaks for 3.1.
1943 * docs/html/27_io/howto.html: Likewise.
1944 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
1945 * docs/html/faq/index.html: Likewise.
1946 * docs/html/faq/index.txt: Regenerated.
1948 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
1951 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
1952 (istreambuf_iterator::equal): Use it.
1953 (istreambuf_iterator::operator*): Use it.
1955 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
1958 * include/bits/stl_uninitialized.h
1959 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
1960 Fix typo in 2001-07-17 commit: typedef _ValueType to
1961 iterator_traits<_ForwardIter> not <_InputIter>.
1962 * testsuite/23_containers/vector_ctor.cc: Add test04.
1964 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
1967 * include/c_std/std_cctype.h: Include bits/c++config.h.
1968 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
1970 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
1972 * include/ext/stdio_filebuf.h: New file.
1973 * include/ext/enc_filebuf.h: New file.
1974 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
1975 * config/io/basic_file_stdio.cc: Same.
1976 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
1977 Remove _M_unbuf hacks.
1978 (filebuf::_M_destroy_internal_buffer): Same.
1979 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
1980 (filebuf::fd): Remove.
1981 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
1982 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
1983 (filebuf::fd): Remove.
1984 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
1986 (ios_base::_S_ios_destroy): Same.
1987 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
1988 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
1989 stdio_filebuf.h. * include/Makefile.in: Regenerate.
1991 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
1994 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
1996 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
1999 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
2001 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
2002 (istreambuf_iterator::operator++): Invalidate on eof.
2003 (istreambuf_iterator::operator++(int)): Same.
2004 (istreambuf_iterator::operator*): Same.
2006 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2008 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
2009 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
2012 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
2015 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
2016 (__basic_file::sys_ungetc): Take int.
2017 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
2018 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
2019 Use sys_getc for unbuffered input.
2020 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
2022 * src/ios.cc (_M_grow_words): Adjust error checking.
2023 * testsuite/27_io/ios_base_storage.cc: Same.
2025 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2027 * include/ext/stl_hashtable.h: Import __iterator_category
2029 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
2030 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2032 * testsuite/ext/hash_set.cc: New testfile.
2034 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
2036 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
2038 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
2039 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
2041 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
2043 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
2044 Fix and tighten __throw_length_error check.
2045 * testsuite/21_strings/replace.cc (test05): New.
2046 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
2048 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
2050 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
2051 unconditional flush on lower-layer handle to here...
2052 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
2053 ...from here. Optimize remaining _M_file.sync() call pattern.
2054 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
2057 2002-04-23 Jason Merrill <jason@redhat.com>
2059 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
2060 output-only filebufs.
2061 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
2063 (basic_filebuf::_M_set_determinate): Likewise.
2066 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
2067 value properly in the trivial case.
2068 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
2069 tellg() returns the right value after a read.
2071 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
2073 * config/cpu/mmix/bits/cpu_limits.h: New file.
2074 * configure.target (CPULIMITSH): Use it.
2076 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
2078 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
2079 * docs/html/17_intro/porting.html: Rebuilt.
2081 2002-04-20 Jason Merrill <jason@redhat.com>
2084 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
2086 (basic_streambuf::_M_set_determinate): Likewise.
2087 (basic_streambuf::_M_is_indeterminate): Likewise.
2088 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
2089 non-static data member.
2090 (basic_filebuf::_M_underflow_common): New non-static member function.
2091 (basic_filebuf::_M_underflow, _M_uflow): Call it.
2092 (basic_filebuf::sync): Avoid useless seeking.
2093 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
2095 (basic_filebuf::_M_set_determinate): Likewise.
2096 (basic_filebuf::_M_is_indeterminate): Likewise.
2097 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
2098 back to _M_out_beg if necessary.
2099 (basic_filebuf::seekoff): Likewise.
2100 (basic_filebuf::_M_underflow_common): Generalization of old
2101 underflow(). Don't seek back to _M_in_beg.
2102 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
2103 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
2104 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
2105 * config/os/mingw32/bits/os_defines.h: Likewise.
2106 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
2109 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
2111 * include/bits/istream.tcc (istream::read): Fix.
2112 * testsuite/27_io/istream_unformatted.cc (main): Add.
2114 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
2117 * include/bits/istream.tcc (istream::ignore): Streamline, use
2119 * include/bits/streambuf.tcc: Use this->gptr.
2120 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
2122 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
2124 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
2125 as type safety is important, especially on solaris.
2126 * include/bits/istream.tcc (istream::read): Clean.
2127 (istream::readsome): Same.
2128 * locale.cc: Wrap lines.
2130 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
2131 * testsuite/27_io/instantiations.cc (test): Add bool variable...
2132 * testsuite/21_strings/capacity.cc: Clean.
2134 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2136 * docs/doxygen/doxygroups.cc: New group on binary searching.
2137 * include/bits/stl_algo.h: Document binary searches and merges.
2138 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
2140 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2142 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
2143 * docs/doxygen/run_doxygen: Bump required version.
2144 * docs/doxygen/user.cfg.in: Revert accidental change.
2145 * docs/html/faq/index.html: Reindent a block of links.
2146 (4.4): New note on using dlsym.
2147 * docs/html/faq/index.txt: Regenerated.
2149 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2151 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
2153 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
2155 * config/linker-map.gnu (__malloc_alloc_template): Add.
2156 (__default_alloc_template): Same.
2157 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
2159 (__default_alloc_template): Same.
2161 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
2163 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
2165 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
2167 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
2168 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
2169 (__malloc_alloc_template): Conditionalize.
2171 * include/bits/istream.tcc: Remove sputbackc calls.
2173 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
2175 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
2177 * testsuite/24_iterators/rel_ops.cc: New test.
2179 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2181 * include/bits/type_traits.h (__normal_iterator): Declare in
2182 __gnu_cxx. Adjust use at global namespace.
2183 * include/bits/stl_iterator.h (__normal_iterator): Move definition
2184 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
2185 * include/bits/basic_string.h (basic_string): Adjust use of
2187 * include/bits/stl_vector.h (_Alloc>): Likewise.
2188 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
2189 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
2191 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
2195 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
2197 (__basic_file::close): Call fflush. Correct return if fclose ok.
2198 (__basic_file::is_open): Make const.
2199 Change __c_file_type to __c_file.
2200 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
2201 (__basic_file::is_open): Make const.
2202 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
2203 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
2204 (filebuf::_M_unbuf): Add.
2205 (filebuf::_M_file): Change to non-pointer.
2206 (filebuf::_M_allocate_pback_buffer): Remove.
2207 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
2208 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
2209 Change initialization list for _M_file change.
2210 (filebuf::_M_allocate_pback_buffer): Remove.
2211 Change _M_file usage to reflect non-pointer data member.
2213 * config/locale/generic/c_locale.cc
2214 (locale::facet::_S_create_c_locale): Add parameter.
2215 * config/locale/generic/collate_members.cc: Change
2216 _M_compare_helper to _M_compare.
2217 Change _M_transform_helper to _M_transform.
2218 * config/locale/generic/monetary_members.cc: Changeup data types.
2220 * config/locale/generic/numeric_members.cc: Add dtors.
2221 * config/locale/generic/time_members.cc: Add dtors.
2222 * config/locale/gnu/c_locale.cc: Add parameter.
2223 * config/locale/gnu/collate_members.cc:Change
2224 _M_compare_helper to _M_compare.
2225 Change _M_transform_helper to _M_transform.
2226 * config/locale/gnu/ctype_members.cc: Better error checking.
2227 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
2228 * config/locale/gnu/messages_members.cc: Tweak comment.
2229 * config/locale/gnu/monetary_members.cc: Change data types.
2231 * config/locale/gnu/numeric_members.cc: Add dtors, better error
2233 * config/locale/gnu/time_members.cc: Same.
2234 * config/locale/ieee_1003.1-2001/c_locale.cc
2235 (locale::facet::_S_create_c_locale): Add parameter.
2236 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
2237 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
2240 * include/bits/locale_facets.h (moneypunct): Use string literals.
2243 (__timepunct): Same.
2244 (locale::_Impl::_M_facets): Change from vector to array.
2245 (locale::_Impl::_M_names): Change from array of strings to array
2247 (locale::facet::_S_create_c_locale): Add parameter.
2248 (locale::locale::_S_num_facets): Move to...
2249 (locale::_Impl::_M_facets_size): Here.
2250 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
2252 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
2253 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
2254 (locale::_Impl::_Impl(string, size_t)): Change to
2255 (locale::_Impl::_Impl(const char*, size_t)): This.
2257 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
2258 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
2259 (streambuf::_S_pback_size): This.
2261 * src/globals.cc: Add pre-allocations for "C" facets.
2262 * src/locale-inst.cc: Remove vector instantiations.
2263 * src/locale.cc: Remove vector include. Fixups for _M_names,
2265 * src/localename.cc: Same.
2267 * include/bits/stl_vector.h: Fix odd formatting.
2269 * include/bits/basic_string.tcc: Tweak comment.
2271 * libsupc++/new: Make sure parameters are uglified.
2272 * libsupc++/typeinfo: Same.
2274 * testsuite/22_locale/num_get_members_char.cc: Fixup.
2275 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
2276 * testsuite/27_io/filebuf_members.cc: Same.
2278 2002-04-12 Steve Ellcey <sje@cup.hp.com>
2280 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
2281 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
2282 does not define strtoll or strtoull, but does define strtol
2283 and strtoul which are the same since in 64 bit mode
2284 sizeof(long) == sizeof(long long).
2286 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
2288 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
2289 trailing spaces, indentation, and macro names. Make exception
2290 messages more informative.
2292 2002-04-11 Richard Henderson <rth@redhat.com>
2294 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
2295 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
2296 (basic_ostream<>::operator<<(long long)): Same.
2298 2002-04-11 Richard Henderson <rth@redhat.com>
2300 * config/linker-map.gnu: Add __gxx_personality_sj0.
2302 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
2305 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
2307 Remove forward declaration of vector.
2309 * include/bits/locale_facets.tcc: Remove vector include.
2310 (use_locale): Adjust.
2311 (has_locale): Adjust.
2312 * src/locale.cc: Adjust.
2313 * src/localename.cc: Same.
2315 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
2316 Richard Henderson <rth@redhat.com>
2318 * include/bits/sstream.tcc: Clean up bit ops.
2319 * include/bits/fstream.tcc: Same.
2321 2002-04-09 Jakub Jelinek <jakub@redhat.com>
2323 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
2324 (__num_base::_S_scale_oct): Remove.
2325 * src/locale.cc (__num_base::_S_scale_hex): Remove.
2326 (__num_base::_S_scale_oct): Remove.
2328 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
2331 * testsuite/23_containers/bitset_members.cc: New test.
2332 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
2333 (_S_bit_count): Here.
2334 (_First_one::_S_first_one): Move...
2335 (_S_first_one): Here.
2337 * src/bitset.cc: Adjust.
2338 * config/linker-map.gnu: Export.
2340 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
2343 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
2344 * include/std/std_fstream.h: Clean.
2345 * include/bits/ostream.tcc: Remove extraneous variables.
2346 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
2347 open modes and which modes.
2348 (stringbuf::seekpos): Same.
2349 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
2351 2002-04-05 Jonathan Wakely <jw@kayari.org>
2353 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
2354 random_shuffle, partition, stable_partition, sort, stable_sort,
2355 partial_sort, partial_sort_copy, nth_element): Doxygenate.
2357 2002-04-05 David S. Miller <davem@redhat.com>
2359 * config/os/gnu-linux/bits/os_defines.h
2360 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
2362 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
2365 via gawrilow@math.tu-berlin.de
2366 * acinclude.m4 (version_specific_libs): Fix combo usage with
2367 --with-gxx-include-dir.
2368 * aclocal.m4: Regenerate.
2371 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
2373 As per DR 184, libstdc++/3139
2374 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
2375 (numeric_limits<bool>::is_iec559): False.
2376 (numeric_limits<bool>::is_modulo): False.
2378 * testsuite/27_io/ios_init.cc: Add instantiations.
2380 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
2383 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
2384 * testsuite/27_io/ios_init.cc (tests04): Add test.
2387 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
2388 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
2389 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
2390 * include/bits/istream.tcc: Use _M_fctype, make consistent with
2392 * testsuite/27_io/ios_init.cc (tests03): Add test.
2394 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
2396 * include/Makefile.am (install-data-local): Use mkinstalldirs.
2397 * include/Makefile.in: Regenerate.
2399 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
2400 Nathan Myers <ncm@cantrip.org>
2401 Philip Martin <philip@codematters.co.uk>
2403 * include/bits/basic_string.h
2404 (replace(i1, i2, _CharT* k1, _CharT* k2),
2405 replace(i2, i2, const _CharT* k1, const _CharT* k2),
2406 replace(i1, i2, iterator k1, iterator k2,
2407 replace(i1, i2, const_iterator k1, const_iterator k2):
2408 New specializations to optimize for the common cases of
2409 pointers and iterators.
2410 (replace(pos, n1, s, n2)): Tweak.
2411 * include/bits/basic_string.tcc: Tweak comments.
2412 * testsuite/21_strings/replace.cc (test04): New tests.
2414 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
2417 * acinclude: More extensive checks for msgfmt, --enable-nls.
2418 * aclocal.m4: Regenerate.
2419 * configure: Regenerate.
2421 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
2423 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
2424 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
2425 * docs/html/18_support/howto.html: Document the demangler.
2426 * docs/html/17_intro/howto.html: And link to it.
2428 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
2429 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
2431 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
2433 * config/linker-map.gnu: Export __verbose_terminate_handler.
2434 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
2435 Make new LTCOMPILE variable, use it in new special build rules.
2436 * libsupc++/Makefile.in: Rebuild.
2437 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
2438 runtime __cxa_demangle.
2440 * docs/html/install.html: Update prereqs and instructions.
2441 * docs/html/19_diagnostics/howto.html: Bring naming for
2442 verbose_terminate_handler into line with reality.
2444 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
2447 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
2448 (basic_ios::_M_streambuf_state): Move.
2449 * include/bits/ios_base (ios_base): To here.
2450 * include/bits/ios_base.h (ios_base::_S_local_words): To
2452 (ios_base::_M_word_array): To _M_local_word.
2453 (ios_base::_M_words_limit): To _M_word_size.
2454 (ios_base::_M_words): To _M_word.
2456 * include/bits/basic_ios.tcc: Adjust.
2457 * src/ios.cc (ios_base::_M_grow_words): Tweak.
2458 * testsuite/27_io/ios_base_storage.cc: Add tests.
2461 Kenny Simpson <theonetruekenny@yahoo.com>
2462 * include/bits/ios_base.h: Fix.
2464 Richard Henderson <rth@redhat.com>
2465 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
2468 * include/bits/basic_string.h: Tweak formatting.
2470 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
2472 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
2473 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
2474 By definition, sizeof(char) == 1.
2475 * include/bits/locale_facets.tcc (money_get::do_get,
2476 money_put::do_put): Ditto.
2477 * testsuite/21_strings/inserters_extractors.cc
2480 2002-03-30 Richard Henderson <rth@redhat.com>
2483 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
2484 data out of the exception struct before calling unexpectedHandler.
2486 2002-03-28 Roger Sayle <roger@eyesopen.com>
2488 * include/c_std/std_cmath.h: To prevent problems overloading
2489 g++ builtins, use the double variants from the global namespace
2490 before defining float and long double variants in std::.
2492 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
2494 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
2496 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
2498 * testsuite/24_iterators/istream_iterator.cc
2499 (test02): New tests.
2501 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2502 Paolo Carlini <pcarlini@unitus.it>
2504 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
2505 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
2506 fix i_lit_base e_lit_base arrays, making them independent
2507 from the endianness of the platform; tweak UCS4 to UCS-4BE.
2509 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
2511 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
2512 allocate at least a byte.
2514 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
2516 * testsuite/27_io/streambuf.cc (test07): Fix.
2519 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
2521 * docs/doxygen/Intro.3: Date tweak.
2522 * docs/doxygen/TODO: Update.
2523 * docs/doxygen/doxygroups.cc: Point to tables.html.
2524 * docs/doxygen/mainpage.html: Date tweak.
2525 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
2526 * docs/doxygen/tables.html: Fill in the blanks.
2528 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
2529 * include/bits/stl_algo.h: Likewise; use expanded form.
2530 * include/bits/stl_alloc.h: Likewise.
2531 * include/bits/stl_construct.h: Likewise.
2532 * include/bits/stl_deque.h: Likewise.
2533 * include/bits/stl_iterator_base_types.h: Likewise.
2534 * include/bits/stl_list.h: Likewise.
2535 * include/bits/stl_relops.h: Likewise.
2536 * include/bits/stl_tempbuf.h: Likewise.
2537 * include/bits/stl_vector.h: Likewise.
2538 * include/std/std_memory.h: Likewise.
2540 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
2541 * include/bits/stl_list.h: Likewise.
2542 * include/bits/stl_vector.h: Likewise.
2544 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
2546 * include/c/: Guard with _CPP_.
2547 * include/c_std/: Same.
2548 * include/Makefile.am: Fixup install, link routines for null
2549 c_base_headers_extra scenarios.
2550 * include/Makefile.in: Regerate.
2552 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
2553 Richard Henderson <rth@redhat.com>
2555 * testsuite/22_locale/codecvt_members_unicode_char.cc
2556 (test01, test02): make sure that the i_lit_base array
2557 is sufficiently aligned.
2559 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
2561 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
2564 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
2566 * testsuite/22_locale/collate_byname.cc
2567 (test01): compare the result of collate::compare with
2568 that of collate::transform + string::compare, not with
2569 that of collate::transform + collate::compare; values
2570 returned by collate::compare are normalized, therefore
2573 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
2574 Jakub Jelinek <jakub@redhat.com>
2576 * config/locale/gnu/messages_members.h: Correct conditional.
2577 * config/locale/gnu/messages_members.cc: Same.
2578 * config/locale/gnu/time_members.cc: Same.
2580 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2581 Paolo Carlini <pcarlini@unitus.it>
2583 * testsuite/22_locale/codecvt_members_unicode_char.cc
2584 (test01, test02): Fix i_lit_base arrays, making them
2585 independent from the endianness of the platform.
2587 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2589 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
2590 signbit and __signbit directly.
2591 * aclocal.m4: Regenerate.
2592 * configure: Regenerate.
2593 * config.h.in: Regenerate.
2594 * libmath/Makefile.am: Simplify.
2595 * libmath/Makefile.in: Regenerate.
2596 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
2598 * include/Makefile.am: Clean up handling of extra "C" header files.
2599 Add hooks for "C" compatibility headers.
2600 * include/Makefile.in: Regenerate.
2602 * include/c/*: Formatting tweaks, cleanups.
2603 * include/c_std/*: Same.
2605 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2607 * config/locale/gnu/messages_members.h: Add __uselocale bits.
2608 * config/locale/gnu/messages_members.cc: Same.
2609 * config/locale/gnu/time_members.cc: Same.
2611 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2613 * src/vterminate.cc: Format, -fno-exceptions cleanup.
2615 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2617 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
2618 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
2619 * aclocal.m4: Regenerate.
2620 * configure: Likewise.
2622 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
2623 Ulrich Drepper <drepper@redhat.com>
2625 * src/locale-inst.cc (__convert_from_v): Add an additional
2626 __size parameter in the declarations.
2627 * include/bits/locale_facets.tcc
2628 (__convert_from_v): When available (that is,
2629 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
2630 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
2631 being defined or not, call and use __convert_from_v in the
2633 (num_put::_M_convert_int): Same here.
2634 (money_put::do_put(long double)): Same here.
2636 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
2638 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
2639 * docs/html/faq/index.txt: Regenerate.
2641 2002-03-19 Steve Ellcey <sje@cup.hp.com>
2643 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
2644 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
2645 --enable-libunwind-exceptions is set.
2646 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
2647 macro to check for libunwind.
2648 * configure: Regenerate.
2649 * src/Makefile.am (libstdc___la_LDFLAGS): Add
2650 LIBUNWIND_FLAG to libstdc link line.
2651 * src/Makefile.in: Regenerate.
2653 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
2655 * docs/html/faq/index.html: Add OS X workaround.
2656 * docs/html/17_intro/TODO: Update.
2658 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
2660 * include/bits/locale_facets.tcc
2661 (money_put::do_put(long double)): Fix dimensioning of
2662 temporary buffers to avoid risk of overruns.
2663 (money_put::do_put(string)): Same for the buffer used to
2664 add the grouping chars.
2665 * testsuite/22_locale/money_put_members_char.cc: Add test06.
2666 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2668 * include/bits/locale_facets.tcc
2669 (collate::do_transform): Simplify.
2671 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
2673 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
2674 * configure.in: Add comments pointing the way for autoconf 2.5x.
2675 * aclocal.m4, config.h.in, configure: Regenerate.
2677 2002-03-18 Philipp Thomas <pthomas@suse.de>
2679 * include/backward/hash_map.h: hash, hashtable, hash_map and
2680 hash_multimap are in namespace __gnu_cxx.
2681 include/backward/hash_set.h: hash, hashtable, hash_set and
2682 hash_multiset are in namespace __gnu_cxx.
2683 include/backward/hashtable.h: hash and hashtable are in
2684 namespace __gnu_cxx.
2685 include/backward/rope.h: char_producer, sequence_buffer,
2686 rope, crope and wrope are in namespace __gnu_cxx.
2687 include/backward/slist.h: slist is in namespace __gnu_cxx.
2688 * testsuite/backward/header_hash_map_h.cc
2689 testsuite/backward/header_hash_set_h.cc
2690 testsuite/backward/header_hashtable_h.cc
2691 testsuite/backward/header_rope_h.cc
2692 testsuite/backward/header_slist_h.cc
2693 testsuite/backward/header_tempbuf_h.cc: New tests for
2694 checking that we're using the correct namespace.
2696 2002-03-17 Jason Merrill <jason@redhat.com>
2699 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
2700 (check_exception_spec): Call it. Take the thrown pointer.
2701 (__cxa_call_unexpected): Pass it.
2702 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
2704 2002-03-15 Anthony Green <green@redhat.com>
2706 * configure.in: Remove useless is_mingw32.
2707 * configure: Rebuilt.
2709 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
2711 * testsuite/22_locale/collate_members_char.cc
2712 (test01): compare the result of collate::compare with
2713 that of collate::transform + string::compare, not with
2714 that of collate::transform + collate::compare.
2715 (test01): values returned by collate::compare are
2716 normalized, therefore test against +-1.
2717 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
2719 2002-03-12 Loren Rittle <ljrittle@acm.org>
2721 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2722 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
2724 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2725 Per Liboriussen <liborius@stofanet.dk>
2727 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
2729 * config/os/gnu-linux/bits/ctype_inline.h: Same.
2731 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
2733 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
2734 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2736 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
2737 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2739 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
2740 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2742 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
2744 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2746 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
2747 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
2748 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
2749 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
2750 that memory limits are in place.
2751 (test03): Add tests.
2753 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2755 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
2756 * aclocal.m4: Regenerate.
2757 * config.h.in: Regenerate.
2758 * configure: Regenerate.
2759 * include/c_std/std_cwctype.h: Guard.
2761 2002-03-11 Chris Demetriou <cgd@broadcom.com>
2763 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
2764 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
2765 * aclocal.m4: Regenerate.
2766 * configure: Regenerate.
2768 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2770 * include/bits/stl_bvector.h: Fix warning.
2772 2002-03-11 Richard Henderson <rth@redhat.com>
2774 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
2776 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2778 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
2779 New function. Build the list of tests to run in testsuite_files.
2780 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
2782 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2784 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
2785 platforms with no weak support.
2786 * testsuite/27_io/ios_init.cc: Likewise.
2788 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
2790 * include/bits/locale_facets.tcc (time_put::do_put):
2791 Consider sizeof(char_type) in allocating the buffer.
2793 * include/bits/locale_facets.tcc (collate::do_tranform):
2794 Remove redundant variable.
2796 2002-03-10 Ulrich Drepper <drepper@redhat.com>
2797 Paolo Carlini <pcarlini@unitus.it>
2799 * config/locale/generic/collate_members.cc
2800 (collate<char,wchar_t>::_M_compare_helper): normalize
2801 values returned by strcoll and wcscoll.
2802 * config/locale/gnu/collate_members.cc
2803 (collate<char,wchar_t>::_M_compare_helper): ditto
2804 for __strcoll_l and __wcscoll_l.
2806 2002-03-10 Anthony Green <green@redhat.com>
2808 * configure.in: Support cross builds to mingw32 target.
2809 * configure: Rebuilt.
2811 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
2813 * include/bits/locale_facets.tcc (collate::do_transform):
2814 Rewrite to fix problems with long transformed strings.
2816 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2818 * c_locale_generic.cc: Move to...
2819 * generic/c_locale.cc
2820 * c_locale_generic.h: Move to...
2821 * generic/c_locale.h
2822 * codecvt_specializations_generic.h: Move to...
2823 * generic/codecvt_specializations.h
2824 * collate_members_generic.cc: Move to...
2825 * generic/collate_members.cc
2826 * ctype_members_generic.cc: Move to...
2827 * generic/ctype_members.cc
2828 * messages_members_generic.cc: Move to...
2829 * generic/messages_members.cc
2830 * messages_members_generic.h: Move to...
2831 * generic/messages_members.h
2832 * moneypunct_members_generic.cc: Move to...
2833 * generic/monetary_members.cc
2834 * numpunct_members_generic.cc: Move to...
2835 * generic/numeric_members.cc
2836 * time_members_generic.cc: Move to...
2837 * generic/time_members.cc
2838 * c_locale_gnu.cc: Move to...
2840 * c_locale_gnu.h: Move to...
2842 * collate_members_gnu.cc: Move to...
2843 * gnu/collate_members.cc
2844 * ctype_members_gnu.cc: Move to...
2845 * gnu/ctype_members.cc
2846 * messages_members_gnu.cc: Move to...
2847 * gnu/messages_members.cc
2848 * messages_members_gnu.h: Move to...
2849 * gnu/messages_members.h
2850 * moneypunct_members_gnu.cc: Move to...
2851 * gnu/monetary_members.cc
2852 * numpunct_members_gnu.cc: Move to...
2853 * gnu/numeric_members.cc
2854 * time_members_gnu.cc: Move to...
2855 * gnu/time_members.cc
2856 * c_locale_ieee_1003.1-200x.cc: Move to...
2857 * ieee_1003.1-2001/c_locale.cc
2858 * c_locale_ieee_1003.1-200x.h: Move to...
2859 * ieee_1003.1-2001/c_locale.h
2860 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
2861 * ieee_1003.1-2001/codecvt_specializations.h
2862 * messages_members_ieee_1003.1-200x.cc: Move to...
2863 * ieee_1003.1-2001/messages_members.cc
2864 * messages_members_ieee_1003.1-200x.h: Move to...
2865 * ieee_1003.1-2001/messages_members.h
2867 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
2868 * aclocal.m4: Regenerate.
2869 * configure: Regenerate.
2870 * src/Makefile.am (sources): Change to monetary and numeric.
2871 * src/Makefile.in: Regenerate.
2872 * docs/html/configopts.html: Update to ieee_1003.1-2001.
2874 2002-03-08 scott snyder <snyder@fnal.gov>
2877 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
2878 Allow one more digit of precision.
2879 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
2880 write a double and read back in the same value.
2882 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2884 * include/std/std_limits.h: Move static const data members out of
2885 generic template, into base class __numeric_limits_base.
2886 * src/limits.cc: Add definitions.
2887 * config/linker-map.gnu: Add __numeric_limits_base.
2888 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
2890 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
2892 * include/bits/stl_alloc.h: Add extern implicit allocator
2894 * include/bits/basic_string.tcc: Tweak.
2895 * include/bits/locale_facets.tcc: Remove default args. Add
2896 has_facet, use_facet extern instantiations.
2897 * src/stl-inst.cc: Add explicit instantiation.
2898 * src/locale-inst.cc: Clean. Remove locale member template
2901 * testsuite/22_locale/operators.cc (test02): Enable.
2903 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
2904 Stephen M. Webb <stephen.webb@bregmasoft.com>
2906 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
2907 (_S_rb_tree_black): Make enum.
2909 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
2910 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
2911 (__stl_threshold): _M_threshold, enum.
2912 * src/stl-inst.cc: Same.
2913 * config/linker-map.gnu: Remove.
2915 * testsuite/23_containers/vector_bool.cc: New.
2917 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2919 * docs/doxygen/user.cfg.in: Also document deprecated entries.
2920 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
2921 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
2922 referring to the collection as a whole. New section on which macros
2923 can be redefined by the user.
2924 * docs/html/19_diagnostics/howto.html: Update note for concepts.
2925 * docs/html/20_util/howto.html: Update link to SGI.
2926 * docs/html/faq/index.html: Update snapshot versions. New entry
2927 on why g++ (but not gcc) must currently predefine certain macros.
2928 * docs/html/faq/index.txt: Regenerated.
2930 * include/bits/basic_string.h (basic_string::_S_construct): Fix
2931 names in declaration.
2932 (basic_string::compare): These are no longer optional.
2933 * include/bits/ostream.tcc: Tweak closing brace placement.
2934 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
2935 * include/std/std_sstream.h: Fix typo in comment.
2936 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
2937 * src/locale.cc: Likewise.
2939 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2942 * include/bits/stl_vector.h (vector::push_back()): Guard with
2943 _GLIBCPP_DEPRECATED.
2945 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2947 * include/bits/c++config: Fix misplaced leading blanks on first line.
2949 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
2951 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
2952 * README (libmath): Make clear.
2954 2002-03-05 Jakub Jelinek <jakub@redhat.com>
2956 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
2957 script globbing in ld.
2958 * aclocal.m4: Rebuilt.
2959 * configure: Rebuilt.
2961 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
2963 * docs/html/17_intro/RELEASE-NOTES: Update.
2964 * README: Format subdirectories.
2966 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
2969 * include/bits/locale_facets.tcc
2970 (num_get::_M_extract_float): Fix the parsing of __dec, since
2971 the standard prescribes that if no grouping characters are
2972 seen, no grouping check is applied.
2973 * testsuite/22_locale/num_get_members_char.cc: Add test05
2974 distilled from the PR.
2975 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2977 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
2979 * docs/html/17_intro/porting-howto.xml: Refer to
2980 http://www.oasis-open.org for docbookx.dtd.
2981 * docs/html/17_intro/porting-howto.html: Regenerated.
2983 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
2986 * include/std/std_sstream.h: Remove trailing spaces.
2987 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
2988 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
2990 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
2992 * testsuite/22_locale/num_get_members_char.cc (test04):
2993 Use a named locale expecting grouping (de_DE).
2994 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
2996 * testsuite/27_io/ios_manip_basefield.cc (test01):
2997 Extend coverage, uniform treatment of hexs and octs.
2999 2002-02-28 Richard Henderson <rth@redhat.com>
3001 * config/linker-map.gnu: Export operator new with unsigned long,
3002 and with std::nothrow_t. Likewise operator delete.
3004 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
3006 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
3007 Admit grouping for octals and hexadecimals too.
3008 * testsuite/22_locale/num_get_members_char.cc: Add test04.
3009 (test01): Tweak "." -> "," in void* test.
3010 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
3012 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
3013 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
3015 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
3017 * testsuite/27_io/ios_manip_basefield.cc (test01):
3018 Fix for 64 bit machines.
3020 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
3023 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
3025 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
3026 (basic_ios::_M_fill_init): New.
3027 (basic_ios::fill()): Delay dealing with _M_fill.
3029 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
3030 (ios_base::_M_call_callbacks): Adjust.
3031 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
3033 2002-02-26 Loren Rittle <ljrittle@acm.org>
3035 * include/Makefile.am (thread_target_headers): Unconditionally
3036 stage and install gthr-posix.h.
3037 (${target_builddir}/gthr-posix.h): New rule cloned off
3038 ${target_builddir}/gthr-default.h.
3039 (${target_builddir}/gthr-default.h): Support chained inclusion
3040 of gthr support headers.
3041 * include/Makefile.in: Rebuilt.
3043 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
3045 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
3046 Group all the integral types, not only decs.
3047 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
3048 tests, add a few more.
3050 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
3052 * src/ios.cc (ios_base::~ios_base): Tweak.
3053 (ios_base::_M_call_callbacks): Deal with null __p.
3054 (ios_base::ios_base): Set _M_callbacks.
3055 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
3056 * testsuite/27_io/ios_init.cc (test02): Fix.
3058 * mkcheck.in (static_fail): Failed links go to output file.
3060 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
3062 * docs/html/faq/index.html: Update.
3063 * docs/html/faq/index.txt: Regenerate.
3065 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
3067 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
3068 * aclocal.m4: Regenerate.
3069 * docs/html/configopts.html: Document --enable-symvers.
3070 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
3072 2002-02-22 Philipp Thomas <pthomas@suse.de>
3074 * include/backward/tempbuf.h: get_temporary_buffer and
3075 return_temporary_buffer are in namespace std, not in __gnu_cxx.
3077 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
3079 * configure.in (target_alias): Default to yes.
3080 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
3081 libgcc to default case.
3083 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
3085 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
3086 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
3087 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
3088 * aclocal.m4: Regenerate.
3089 * configure: Regenerate.
3090 * config/linker-map.dummy: New file. Contains nothing useful.
3092 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
3094 * testsuite/22_locale/money_put_members_char.cc: Fix.
3095 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
3097 * testsuite/27_io/standard_manipulators.cc: New file.
3099 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
3100 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
3102 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
3104 * config/os/mingw32/bits/ctype_noninline.h
3105 (ctype<char>::ctype): Remove default args from parm list.
3106 * config/os/djgpp/bits/ctype_noninline.h: Same.
3108 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
3110 * include/std/std_iomanip.h: Inline, tweaks.
3111 * config/linker-map.gnu: Remove hacks.
3113 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
3114 * testsuite/27_io/ios_init.cc: Same.
3115 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
3116 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
3118 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
3120 * config/linker-map.gnu: Export global vtable, typeinfo, guard
3121 variable, and thunk info as per CXXABI docs.
3123 2002-02-19 Loren Rittle <ljrittle@acm.org>
3125 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
3126 * include/Makefile.in: Rebuilt.
3128 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3130 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
3131 with size3 for the string collations of str5.
3133 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
3136 * include/bits/locale_facets.tcc (money_put::do_put):
3137 For the space field use __fill instead of ' ', uniformly.
3138 * testsuite/22_locale/money_put_members_char.cc:
3139 Add test05 distilled from PR.
3140 (test01-02-03): Trim some '*' to ' '.
3141 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
3143 2002-02-18 Loren Rittle <ljrittle@acm.org>
3146 * include/Makefile.am (thread_builddir): Remove (map all
3147 existing uses to target_builddir).
3148 (thread_headers): Rename to...
3149 (thread_target_headers): ...this.
3150 (stamp-thread): Remove.
3151 (stamp-target): Correctly state the position as built.
3152 Update all dependencies to match the new reality. Remove all
3153 dependency calculations on directories.
3154 * include/Makefile.in: Rebuilt.
3156 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
3158 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
3159 * include/bits/fstream.tcc: Same.
3160 * include/bits/sstream.tcc: Same.
3161 * include/bits/ostream.tcc: Same.
3162 * include/bits/istream.tcc: Same.
3163 * include/bits/streambuf.tcc: Same.
3164 * include/bits/basic_ios.tcc: Same.
3165 * include/bits/basic_string.tcc: Same.
3167 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3169 * include/std/std_iosfwd.h: Don't guard typedefs with
3170 _GLIBCPP_USE_WCHAR_T
3171 * include/bits/stringfwd.h: Same.
3173 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3175 * src/locale.cc (moneypunct_byname): Remove definitions.
3176 * include/std/std_streambuf.h (streambuf::operator=): Return.
3178 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3181 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
3182 explicit instantiation.
3183 (string::_Rep::_S_max_size): Same.
3184 * include/bits/basic_string.tcc: Add extern explicit
3185 instantiations for string, wstring.
3186 * include/bits/basic_ios.tcc: Add extern explicit instantiations
3188 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
3189 * include/bits/istream.tcc: Same, for istream, wistream.
3190 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
3192 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
3193 istringstream, wistringstream, ostringstream, wostringstream,
3194 stringstream, wstringstream.
3195 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
3196 wifstream, ofstream, wofstream, fstream, wfstream.
3197 * src/misc-inst.cc: Correct comments.
3198 Add iomanip instantiations for wide streams.
3199 * include/std/std_iomanip.h: Same.
3200 * include/bits/locale_facets.tcc: Same.
3202 * include/std/std_streambuf.h: Correct
3203 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
3204 * include/std/std_sstream.h: Same.
3205 * include/std/std_ostream.h: Same.
3206 * include/std/std_istream.h: Same.
3207 * include/std/std_fstream.h: Same.
3209 * include/std/std_streambuf.h: Add definitions for private copy
3210 ctor and assignment operator.
3211 * include/std/std_istream.h: Remove declared but undefined copy
3212 ctor and assignment operator. This is taken care of in ios_base,
3213 so adding it in the derived class as well is superfluous.
3214 * include/std/std_ostream.h: Same.
3216 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
3217 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
3219 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
3221 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
3222 Add typeinfo bits. Smooth.
3223 * aclocal.m4: Regenerate.
3225 * src/Makefile.in: Same.
3227 2001-02-14 Joel Sherrill <joel@OARcorp.com>
3229 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
3230 which do not have a CAS instruction.
3232 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
3234 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
3235 * configure.in: Call it.
3236 * config/linker-map.gnu: New file, initial incomplete revision.
3237 * src/Makefile.am: Optionally pass version script to the linker.
3238 * aclocal.m4: Regenerate.
3239 * configure: Regenerate.
3240 * src/Makefile.in: Regenerate.
3242 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
3244 * src/localename.cc: Remove stdexcept include.
3245 * src/locale-inst.cc: Same.
3246 * src/locale.cc: Same.
3247 * src/functexcept.cc: Remove string includes.
3248 * include/std/std_bitset.h: Remove stdexcept include.
3249 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
3250 * testsuite/23_containers/bitset_ctor.cc: Same.
3252 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
3254 * include/bits/stl_algo (__stl_threshold): Declare external.
3255 (__stl_chunk_size): Same.
3256 * include/bits/stl_bvector.h (__WORD_BIT): Same.
3257 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
3258 (_S_rb_tree_black): Same.
3259 * src/stl-inst.cc (__stl_threshold): Define.
3260 (__stl_chunk_size): Same.
3262 (_S_rb_tree_red): Same.
3263 (_S_rb_tree_black): Same.
3265 * config/io/basic_file_libio.h (__basic_file): Add declarations.
3266 * include/bits/basic_file.h: Remove.
3267 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
3268 Declare generic types, specialization.
3269 * config/io/basic_file_stdio.cc: Definitions.
3270 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
3271 Declare generic types.
3272 * include/Makefile.am (bits_headers): Remove basic_file.h.
3273 (extra_target_headers): Change basic_file_model.h to basic_file.h.
3274 (stamp-target): Same.
3276 * include/bits/stl_alloc.h: Tweaks.
3277 * include/bits/localefwd.h: Same.
3279 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
3281 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
3282 * testsuite/22_locale/collate_members_char.cc (test03): New test.
3283 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
3285 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
3287 * include/bits/stl_algo.h (transform (both signatures), generate_n):
3288 Use __typeof__ in concept checks.
3290 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
3292 * include/bits/stl_algo.h (__median, for_each, find, find_if,
3293 adjacent_find, count, count_if, search, search_n, swap_ranges,
3294 transform, replace, replace_if, replace_copy, replace_copy_if,
3295 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
3296 unique, unique_copy, reverse, reverse_copy): Doxygenate.
3298 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
3300 * include/bits/locale_facets.h
3301 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
3302 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
3303 (__timepunct<_CharT>::_M_put_helper): Same.
3304 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
3306 * include/bits/fstream.tcc (filebuf::underflow): Remove
3307 __codecvt_type typedef.
3308 (filebuf::_M_convert_to_external): Same.
3310 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
3312 * docs/doxygen/TODO: Update.
3313 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
3314 * docs/doxygen/mainpage.html: Add TODO list link.
3315 * docs/doxygen/user.cfg.in: Add @doctodo hook.
3316 * docs/doxygen/tables.html: New file, emoty structure only.
3318 * include/bits/stl_iterator.h: Doxygenate just about everything.
3319 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
3320 * include/bits/stl_iterator_base_types.h: Add notes.
3322 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
3324 * include/bits/stl_map.h: Tweak doxygen markup.
3325 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
3326 * include/bits/stl_vector.h: Likewise.
3328 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
3332 * include/std/std_fstream.h (filebuf::__file_type): Change to
3334 (filebuf::_M_convert_to_external): Declare.
3335 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
3336 codecvt bits for wide streams.
3337 (filebuf::_M_really_overflow): Use it.
3338 (filebuf::underflow): Use codecvt.
3339 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
3340 (codecvt<__enc_traits>::do_out): Deal with partial.
3341 (codecvt<__enc_traits>::do_encoding): Return something useful.
3342 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
3344 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
3345 Change expected encoding output.
3347 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
3350 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
3351 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
3353 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
3354 (basic_ios::widen): Same.
3356 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
3358 * testsuite/22_locale/money_get_members_char.cc:
3359 Add comment, tidy up.
3360 (test01): more "en_HK" tests (without showbase).
3361 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
3363 2002-02-06 Loren Rittle <ljrittle@acm.org>
3365 * config/locale/c_locale_generic.cc: Do not trust
3366 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
3369 2002-02-06 Loren Rittle <ljrittle@acm.org>
3371 * acinclude.m4: Add C++ linkage check for strtof.
3372 * aclocal.m4: Rebuilt.
3373 * config.h.in: Rebuilt.
3374 * configure: Rebuilt.
3375 * config/locale/c_locale_generic.cc: Conditionally include
3376 <ieeefp.h>. Improve handling and error checking of float
3377 and long double input for non-C99 configurations.
3379 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
3381 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3382 In case money_base::symbol deal properly with multi-char sign
3383 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
3384 * testsuite/22_locale/money_get_members_char.cc: Add test07.
3385 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
3387 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
3389 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3390 First construct a tentative returned string, then, only if the
3391 parsing succeeds, copy it into the string passed by reference.
3392 * testsuite/22_locale/money_get_members_char.cc: Add test06.
3393 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
3395 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
3397 * docs/doxygen/TODO: Impl-defined behavior now documented...
3398 * docs/html/17_intro/howto.html: ...here.
3399 * docs/doxygen/mainpage.doxy: Remove, rename...
3400 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
3401 * docs/doxygen/style.css: Add small text.
3402 * docs/doxygen/run_doxygen: Adjust for new mainpage.
3403 * docs/doxygen/user.cfg.in: Likewise.
3405 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
3407 * include/bits/stl_map.h: Initial doxygen markup.
3408 * include/std/std_fstream.h: Initial doxygen markup.
3410 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
3413 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3414 Deal correctly with !(__io.flags() & ios_base::showbase)
3415 for case money_base::symbol.
3416 * testsuite/22_locale/money_get_members_char.cc: Add test05.
3417 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
3419 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
3421 * testsuite/22_locale/operators.cc
3422 (gnu_collate::do_compare()): Add return statement to
3423 suppress "no return statement" warning.
3425 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
3427 * testsuite/27_io/ostream_manip.cc: Enable test02.
3429 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
3431 * docs/html/documentation.html: Update for 3.0.96.
3432 * docs/html/faq/index.html: Update for 3.0.96.
3433 * docs/html/faq/index.txt: Regenerated.
3434 * docs/doxygen/TODO: Update notes.
3435 * docs/html/17_intro/howto.html: Initial impl-specific listing.
3437 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
3439 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
3440 Initialize all data members in copy ctor. Make ctors explicit.
3441 (__enc_traits::__enc_traits()): Default ctor does nothing.
3442 (__enc_traits::_M_init): Guard against multiple iconv_opens.
3443 * include/std/std_sstream.h (basic_stringbuf): Make data members
3445 * include/std/std_fstream.h (basic_filebuf): Same.
3446 * include/std/std_streambuf.h: Tweak.
3447 * include/bits/streambuf.tcc: Same.
3448 * include/bits/sstream.tcc: Same.
3449 * include/bits/fstream.tcc: Same.
3451 2002-01-31 Loren Rittle <ljrittle@acm.org>
3453 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
3454 allow NULL argument to be passed to setenv().
3455 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
3456 * testsuite/22_locale/collate_members_char.cc: Likewise.
3457 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
3458 * testsuite/22_locale/ctype_members_char.cc: Likewise.
3459 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
3460 * testsuite/22_locale/messages_members_char.cc: Likewise.
3461 * testsuite/22_locale/money_get_members_char.cc: Likewise.
3462 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
3463 * testsuite/22_locale/money_put_members_char.cc: Likewise.
3464 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
3465 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
3466 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
3467 * testsuite/22_locale/num_get_members_char.cc: Likewise.
3468 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
3469 * testsuite/22_locale/num_put_members_char.cc: Likewise.
3470 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
3471 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
3472 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
3473 * testsuite/22_locale/time_get_members_char.cc: Likewise.
3474 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
3475 * testsuite/22_locale/time_put_members_char.cc: Likewise.
3476 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
3478 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
3480 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
3482 * ChangeLog-2001: Fix spelling errors...
3483 * docs/html/17_intro/RELEASE-NOTES: Update.
3484 * docs/html/17_intro/TODO: Update.
3485 * README (file): Update.
3487 2002-01-30 Loren Rittle <ljrittle@acm.org>
3489 * config/locale/c_locale_generic.cc: Check errno for ERANGE
3490 instead of non-zero to aid portability.
3492 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3494 * docs/html/22_locale/messages.html: Fix example code.
3496 2002-01-30 Richard Henderson <rth@redhat.com>
3498 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
3499 out from test03 and templatize.
3502 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
3504 * config/locale/numpunct_members_gnu.cc
3505 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
3506 Fix initialization of _M_grouping for locales which have
3507 _M_thousands_sep == '\0'(L'\0', respectively).
3508 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
3510 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
3512 * testsuite/27_io/ostream_inserter_arith.cc (test03):
3513 Better fix for 32/64 bit architectures, avoiding the
3514 implicit assumption that CHAR_BIT == 8.
3516 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
3518 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
3519 * Makefile.in: Regenerate.
3521 * docs/doxygen/run_doxygen: Update, mostly for man pages.
3522 * docs/doxygen/Intro.3: Update.
3523 * docs/doxygen/TODO: Update.
3524 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
3525 * docs/doxygen/mainpage.doxy: Update.
3526 * docs/doxygen/user.cfg.in: Update for header rename. Also
3527 regenerate comments and variables with 1.2.12.
3528 * docs/doxygen/maint.cfg.in: Remove file.
3530 * include/bits/stl_relops.h: Doxygenate.
3531 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
3533 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
3534 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
3535 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
3536 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
3537 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
3538 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
3539 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
3540 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
3541 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
3542 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
3543 include/ext/hash_set, include/ext/iterator, include/ext/memory,
3544 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
3545 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
3546 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
3547 include/std/std_algorithm.h, include/std/std_bitset.h,
3548 include/std/std_complex.h, include/std/std_deque.h,
3549 include/std/std_fstream.h, include/std/std_functional.h,
3550 include/std/std_iomanip.h, include/std/std_ios.h,
3551 include/std/std_iosfwd.h, include/std/std_iostream.h,
3552 include/std/std_istream.h, include/std/std_iterator.h,
3553 include/std/std_limits.h, include/std/std_list.h,
3554 include/std/std_locale.h, include/std/std_map.h,
3555 include/std/std_memory.h, include/std/std_numeric.h,
3556 include/std/std_ostream.h, include/std/std_queue.h,
3557 include/std/std_set.h, include/std/std_sstream.h,
3558 include/std/std_stack.h, include/std/std_stdexcept.h,
3559 include/std/std_streambuf.h, include/std/std_string.h,
3560 include/std/std_utility.h, include/std/std_valarray.h,
3561 include/std/std_vector.h: Add/correct @file doxygen hook.
3563 * include/ext/memory: Doxygenate most of rest of file.
3564 * libsupc++/exception: Doxygen output formatting.
3565 * libsupc++/new: Say which header it is.
3567 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
3568 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
3569 * docs/html/23_containers/howto.html: Describe O(n) list::size().
3570 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
3572 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
3573 Charles Leggett <CGLeggett@lbl.gov>
3575 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
3577 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
3579 * testsuite/27_io/ostream_inserter_arith.cc (test03):
3580 Fix to deal correctly with both 32 bit and 64 bit architectures
3582 2002-01-25 Loren Rittle <ljrittle@acm.org>
3584 * testsuite/thread/pthread1.cc: Use one condition variable
3585 per predicate instead of tricky use of one condition variable.
3587 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
3589 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
3591 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
3592 * testsuite/27_io/filebuf.cc: Compile only.
3593 * testsuite/27_io/filebuf_members.cc: Move tests to here.
3594 * testsuite/27_io/filebuf_virtuals.cc: And here.
3595 Revert sungetc, sync changes for expected values.
3596 * testsuite/27_io/filebuf-*: Move to...
3597 * testsuite/27_io/filebuf_virtuals-*: ...here.
3598 * testsuite/27_io/istream.cc: Compile only, activate.
3599 * testsuite/27_io/ostream.cc: Same.
3600 * testsuite/27_io/iostream.cc: New.
3601 * testsuite/27_io/iostream_members.cc: New.
3603 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
3605 * testsuite/thread/pthread1.cc: Enable on cygwin.
3606 * testsuite/thread/pthread2.cc: Likewise.
3607 * testsuite/thread/pthread3.cc: Likewise.
3608 * testsuite/thread/pthread4.cc: Likewise.
3609 * testsuite/thread/pthread5.cc: Likewise.
3610 * testsuite/thread/pthread6.cc: Likewise.
3612 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3614 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
3616 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3618 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
3620 (basic_ios::fill(char_type)): Use fill().
3621 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
3622 (basic_ios::narrow): Same.
3623 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
3624 if they are invalid.
3625 (basic_ios::init): Comment.
3626 * testsuite/27_io/ios_init.cc (test02): New.
3628 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
3630 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
3631 * include/bits/stl_algo.h: Include stl_tempbuf.h.
3632 * include/ext/memory: Do not include stl_tempbuf.h.
3633 (temporary_buffer): Add doxygen hook.
3634 (__get_temporary_buffer, get_temporary_buffer,
3635 return_temporary_buffer): Move back to std:: header...
3636 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
3637 * include/ext/rope: Do not include stl_tempbuf.h.
3638 * include/ext/stl_hashtable.h: Likewise.
3639 * include/std/std_algorithm.h: Likewise.
3640 * testsuite/20_util/temporary_buffer.cc: New file.
3642 2002-01-24 andrew@andypo.net
3643 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
3646 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
3647 * include/bits/localefwd.h: Likewise.
3648 Also use for std::locale::id::_S_highwater.
3649 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
3650 * src/locale.cc: Support new usage of _Atomic_word.
3651 (std::locale::classic): Guard entire function against reentry.
3652 * src/localename.cc: Support new usage of _Atomic_word.
3654 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3656 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
3657 _GLIBCPP_HAVE_SETENV.
3658 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
3659 * testsuite/22_locale/collate_members_char.cc (test02): Same.
3660 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
3661 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
3662 * testsuite/22_locale/messages_members_char.cc (test02): Same.
3663 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
3664 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
3665 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
3666 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
3667 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
3668 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
3669 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
3670 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
3671 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
3672 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
3673 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
3674 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
3675 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
3676 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
3677 * aclocal.m4: Regenerate.
3678 * configure: Regenerate.
3679 * config.h.in: Regenerate.
3681 2002-01-23 Loren Rittle <ljrittle@acm.org>
3683 * testsuite/thread/pthread1.cc: New test.
3684 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
3685 * testsuite/thread/pthread3.cc: Likewise.
3686 * testsuite/thread/pthread4.cc: New test adapted from
3687 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
3688 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
3689 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
3691 2002-01-23 Richard Henderson <rth@redhat.com>
3694 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
3695 CAS on the cpu variants that support it. Add versions that use
3696 TAS and that disable interrupts.
3697 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
3699 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
3701 * include/bits/locale_facets.tcc: Remove old comments.
3703 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
3705 * include/bits/locale_facets.tcc (__convert_to_v): Change template
3707 (__convert_from_v): Same.
3709 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
3711 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
3713 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
3714 __max_digits checks, adjust arguments.
3715 (num_get::do_get(*)): Changeup.
3717 2002-01-23 Loren Rittle <ljrittle@acm.org>
3719 * config/locale/c_locale_generic.cc: Fix typename usage.
3721 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3723 * config/locale/c_locale_generic.cc: Fix.
3725 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3727 * docs/html/22_locale/messages.html: Remove angle brackets.
3728 * docs/html/17_intro/TODO: Add.
3730 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
3732 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
3733 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
3734 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
3735 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
3737 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3739 Audit for LANG independence.
3740 * include/bits/localefwd.h: Tweaks.
3741 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
3743 (time_get::do_get_year): Same.
3744 (__convert_from_v): Add.
3745 (num_put::_M_convert_float): Use.
3746 (num_put::_M_convert_int): Same.
3747 (money_put::do_put): Same.
3749 * src/locale-inst.cc: Add instantiations for __convert_from_v.
3750 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
3751 * config/locale/time_members_generic.cc:
3752 * config/locale/messages_members_gnu.cc: Same.
3753 * config/locale/messages_members_gnu.h: Same.
3755 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
3756 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
3757 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
3758 * testsuite/22_locale/collate_members_char.cc (test02): New.
3759 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
3760 * testsuite/22_locale/ctype_members_char.cc (test03): New.
3761 * testsuite/22_locale/messages_members_char.cc (test02): New.
3762 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
3763 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
3764 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
3765 * testsuite/22_locale/money_get_members_char.cc (test04): New.
3766 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
3767 * testsuite/22_locale/money_put_members_char.cc (test04): New.
3768 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
3769 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
3770 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
3771 * testsuite/22_locale/time_put_members_char.cc (test03): New.
3772 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
3773 * testsuite/22_locale/time_get_members_char.cc (test07): New.
3774 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
3775 * testsuite/22_locale/num_get_members_char.cc (test03): New.
3776 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
3777 * testsuite/22_locale/num_put_members_char.cc (test03): New.
3779 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
3781 * testsuite/22_locale/time_get_members_char.cc: Same.
3783 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3786 * include/bits/localefwd.h: Tweak comments.
3787 * include/bits/locale_facets.h (__convert_to_v): Add.
3788 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
3789 (num_get::do_get(float)): Same.
3790 (num_get::do_get(long double)): Same.
3791 (num_get::do_get(bool)): Same.
3792 (num_get::do_get(long)): Same.
3793 (num_get::do_get(long long)): Same.
3794 (num_get::do_get(unsigned int)): Same.
3795 (num_get::do_get(unsigned short)): Same.
3796 (num_get::do_get(unsigned long)): Same.
3797 (num_get::do_get(unsigned long long)): Same.
3798 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
3799 * config/locale/c_locale_generic.cc: Same.
3801 2002-01-22 Loren Rittle <ljrittle@acm.org>
3803 * include/Makefile.am (c_base_builddir): Remove redundant slash.
3804 (std_builddir): Likewise.
3805 (std_headers_rename): Fix cut-n-paste typo.
3806 (install-data-local): Concat path per element instead of once to
3807 first element of list.
3808 * include/Makefile.in: Rebuilt.
3810 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3812 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
3813 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
3814 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
3816 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
3818 * include/bits/locale_facets.h (ctype<char>::classic_table):
3820 (ctype<char>::_S_ctable): Remove.
3821 * config/os/gnu-linux/bits/ctype_noninline.h
3822 (ctype<char>::_S_table): Remove definition.
3823 (ctype<char>::classic_table): Define.
3824 (ctype<char>::ctype): Replace _S_ctable with classic_table().
3825 * config/os/aix/bits/ctype_noninline.h: Same.
3826 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3827 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3828 * config/os/djgpp/bits/ctype_noninline.h: Same.
3829 * config/os/generic/bits/ctype_noninline.h: Same.
3830 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3831 * config/os/hpux/bits/ctype_noninline.h: Same.
3832 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3833 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3834 * config/os/mingw32/bits/ctype_noninline.h: Same.
3835 * config/os/newlib/bits/ctype_noninline.h: Same.
3836 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3837 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3838 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3840 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
3842 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
3843 of _pctype. Use to define _S_ctable. Add definition for alternate
3844 ctor. Initialise _M_ctable to _S_ctable in ctors.
3845 (do_toupper, do_tolower): Use inline code appropriate for C-locale
3846 rather than ::toupper, ::tolower.
3848 2002-01-18 Loren Rittle <ljrittle@acm.org>
3850 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
3851 Add specialization for FreeBSD systems only to avoid losing test
3852 only due to extra precision unmentioned in system headers.
3854 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
3856 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
3858 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
3860 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
3861 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
3863 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3865 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
3867 2002-01-17 David Edelsohn <edelsohn@gnu.org>
3869 * configure.target: Define OPT_LDFLAGS for AIX case.
3871 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3873 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
3874 __glibcpp_double_has_quiet_NaN): Correct mispelling.
3876 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
3878 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
3880 2002-01-16 David Edelsohn <dje@watson.ibm.com>
3882 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
3883 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
3884 * aclocal.m4: Regenerate.
3885 * configure: Regenerate.
3887 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3889 * include/Makefile.am (c_base_headers_rename): New.
3890 (c_base_headers_extra): New.
3891 (stamp-c_base): Modify.
3892 (install-data-local): Use both.
3893 * include/Makefile.in: Regenerate.
3894 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3895 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3896 cstdio ctime cwctype]: Move to..
3897 * include/c/std_*: Here.
3898 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3899 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3900 cstdio ctime cwctype]: Move to..
3901 * include/c_std/std_*: Here.
3903 Alexandre Oliva <aoliva@redhat.com>
3904 * include/Makefile.am (.PRECIOUS): Add rule.
3905 * include/Makefile.in: Regenerate.
3907 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3908 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3910 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
3911 Deuglify, should be current.
3912 (back_insert_iterator::_M_container): Deuglify, should be container.
3913 (front_insert_iterator::_M_container): Same.
3914 (insert_iterator::_M_container): Same.
3915 * testsuite/24_iterators/reverse_iterator.cc: Add check.
3916 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
3917 * testsuite/24_iterators/front_insert_iterator.cc: Same.
3918 * testsuite/24_iterators/insert_iterator.cc: Same.
3920 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3922 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
3924 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
3925 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
3926 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3927 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3928 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3929 * config/os/newlib/bits/ctype_noninline.h: Same.
3930 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3931 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3932 * config/os/hpux/bits/ctype_noninline.h: Same.
3933 * config/os/djgpp/bits/ctype_noninline.h: Same.
3934 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3935 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3936 * config/os/aix/bits/ctype_noninline.h: Same.
3938 Testcase by Dietmar Kühl via Peter Schmid
3939 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
3942 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3944 * libmath/signbitl.c: Copyright years as list, not range.
3945 * libmath/Makefile.am: Same.
3946 * libmath/Makefie.in: Regenerate.
3947 * libmath/signbit.c: Same.
3948 * libmath/nan.c: Same.
3949 * libmath/copysignf.c: Same.
3950 * libmath/signbitf.c: Same.
3951 * testsuite/22_locale/money_get_members_char.cc: Same.
3952 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3953 * testsuite/22_locale/money_put_members_char.cc: Same.
3954 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3955 * testsuite/22_locale/time_get_members_char.cc: Same.
3956 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
3957 * testsuite/22_locale/time_put_members_char.cc: Same.
3958 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
3959 * testsuite/21_strings/nonmember.cc: Same.
3960 * testsuite/21_strings/compare.cc: Same.
3961 * testsuite/27_io/stringstream.cc: Same.
3962 * testsuite/27_io/stringbuf.cc: Same.
3963 * testsuite/27_io/filebuf.cc: Same.
3964 * testsuite/27_io/ios_manip_basefield.cc: Same.
3965 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
3966 * include/bits/cpp_type_traits.h: Same.
3967 * include/bits/generic_shadow.h: Same.
3968 * include/bits/gslice_array.h: Same.
3969 * include/bits/gslice.h: Same.
3970 * include/bits/indirect_array.h: Same.
3971 * include/bits/slice_array.h: Same.
3972 * include/bits/sstream.tcc: Same.
3973 * include/bits/streambuf_iterator.h: Same.
3974 * include/bits/valarray_array.tcc: Same.
3975 * include/bits/valarray_meta.h: Same.
3976 * include/bits/valarray_array.h: Same.
3977 * config/os/mingw32/bits/ctype_noninline.h: Same.
3978 * config/os/mingw32/bits/ctype_base.h: Same.
3979 * config/os/hpux/bits/ctype_noninline.h: Same.
3980 * config/os/hpux/bits/ctype_base.h: Same.
3981 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3982 * config/os/gnu-linux/bits/ctype_base.h: Same.
3983 * config/os/generic/bits/ctype_noninline.h: Same.
3984 * config/os/generic/bits/ctype_base.h: Same.
3986 * libsupc++/tinfo.h: Tweaks.
3988 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3990 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
3991 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
3992 * testsuite/22_locale/ctype_members_char.cc: Tweak.
3994 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3996 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
3997 (num_put::do_put(void*)): Fix.
3998 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
3999 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
4000 * testsuite/22_locale/num_get_members_char.cc (test02): Add
4001 long double, void, bool types.
4002 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
4004 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
4005 Alexandre Oliva <aoliva@redhat.com>
4007 * libmath/Makefile.am (LINK): Add --tag CC.
4008 * libmath/Makefile.in: Regenerate.
4010 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
4012 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
4013 of character to attribute mapping table.
4015 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
4017 * testsuite/26_numerics/c99_classification_macros_c.cc
4018 Remove dg-error and dg-excess-errors comments.
4020 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
4022 * include/bits/locale_facets.tcc (time_put::put): Correct output
4024 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
4025 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
4026 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
4027 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
4029 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
4031 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
4033 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
4034 Nathan Myers <ncm@cantrip.org>
4036 * include/bits/basic_string.h
4037 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
4038 temporaries (i.e., call _M_replace_safe) when possible.
4039 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
4040 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
4041 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
4042 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
4043 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
4044 * include/bits/basic_string.tcc
4045 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
4046 replace(__pos, __n1, __s, __n2).
4047 * testsuite/21_strings/replace.cc (test03): New testcases.
4049 * include/bits/basic_string.h (insert(__pos, __s, __n)):
4050 Adjust comparison wrt overflow.
4052 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
4054 * include/Makefile.am (std_headers_rename): New variable.
4055 (install-data-local): Use it.
4056 * include/Makefile.in: Regenerate.
4058 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
4060 * include/bits/locale_facets.tcc (money_put::do_put(string):
4061 Correct output iterator value.
4062 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
4063 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
4065 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
4067 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
4070 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
4072 * include/Makefile.am (std_headers): Update list with new names.
4073 (stamp-std): Link to standardized name.
4074 * include/Makefile.in: Regenerate.
4076 * include/std/algorithm, include/std/bitset, include/std/complex,
4077 include/std/deque, include/std/fstream, include/std/functional,
4078 include/std/iomanip, include/std/ios, include/std/iosfwd,
4079 include/std/iostream, include/std/istream, include/std/iterator,
4080 include/std/limits, include/std/list, include/std/locale,
4081 include/std/map, include/std/memory, include/std/numeric,
4082 include/std/ostream, include/std/queue, include/std/set,
4083 include/std/sstream, include/std/stack, include/std/stdexcept,
4084 include/std/streambuf, include/std/string, include/std/utility,
4085 include/std/valarray, include/std/vector: Rename to...
4087 * include/std/std_algorithm.h, include/std/std_bitset.h,
4088 include/std/std_complex.h, include/std/std_deque.h,
4089 include/std/std_fstream.h, include/std/std_functional.h,
4090 include/std/std_iomanip.h, include/std/std_ios.h,
4091 include/std/std_iosfwd.h, include/std/std_iostream.h,
4092 include/std/std_istream.h, include/std/std_iterator.h,
4093 include/std/std_limits.h, include/std/std_list.h,
4094 include/std/std_locale.h, include/std/std_map.h,
4095 include/std/std_memory.h, include/std/std_numeric.h,
4096 include/std/std_ostream.h, include/std/std_queue.h,
4097 include/std/std_set.h, include/std/std_sstream.h,
4098 include/std/std_stack.h, include/std/std_stdexcept.h,
4099 include/std/std_streambuf.h, include/std/std_string.h,
4100 include/std/std_utility.h, include/std/std_valarray.h,
4101 include/std/std_vector.h: ...this.
4103 2002-01-11 Loren Rittle <ljrittle@acm.org>
4105 * include/Makefile.am (extra_target_headers): New list of all
4106 target files built with ad hoc naming rules.
4107 (stamp-*): Handle LN_S failure in manner portable across make
4109 (install-data-local): Install header files from human-maintained
4110 file lists and directory components instead of non-robust find.
4111 * include/Makefile.in: Rebuilt.
4113 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
4115 * include/bits/locale_facets.tcc (money_get::do_get(string)):
4116 Check for zero-length negative sign before adding it to output
4118 (money_get::do_get(long double)): Return beg.
4119 * testsuite/22_locale/money_get_members_char.cc (test02): Add
4121 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
4123 2002-01-10 David Seymour <seymour_dj@yahoo.com>
4126 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
4127 for _M_extract_float and _M_extract_int
4128 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
4129 (num_get<>::_M_extract_int): Likewise, all callers changed
4130 * testsuite/22_locale/num_get_members_char.cc: Testcase
4132 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
4134 * libsupc++/exception (bad_exception): Add comment.
4135 * libsupc++/new (bad_alloc): Same.
4136 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
4138 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
4140 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
4141 that the destructors should be removed from the descriptions
4142 in the standard: writing them explicitly allows the vtable
4143 heuristic to work. For additional information see:
4144 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
4145 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
4146 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
4147 * libsupc++/exception (bad_exception::~bad_exception()):
4148 Reintroduce declaration.
4149 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
4150 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
4151 (bad_typeid::~bad_typeid()): Same.
4152 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
4153 Reintroduce definition.
4154 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
4155 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
4156 (bad_typeid::~bad_typeid()): Same.
4158 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
4160 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
4161 * include/Makefile.in: Regenerate.
4163 2002-01-09 Bo Thorsen <bo@suse.co.uk>
4165 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
4168 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
4172 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
4173 return value of _M_file->sync().
4174 (filebuf::showmanyc): Check for is_open.
4175 * include/std/fstream (filebuf::sync): Tweak.
4176 * testsuite/27_io/filebuf.cc: Tweak.
4178 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
4179 Brad Garcia <garsh@attbi.com>
4181 * testsuite/27_io/filebuf_members.cc: Add test.
4183 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
4184 Craig Rodrigues <rodrigc@mediaone.net>
4187 * po/Makefile.am (mkinstalldirs): Add.
4188 * po/Makefile.in: Regenerate.
4190 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
4192 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
4193 testsuite/lib/prune.exp: Delete lines ":In function ..." from
4195 * testsuite/23_containers/map_operators.cc: Remove
4196 dg-excess-errors comment.
4197 * testsuite/23_containers/set_operators.cc: Likewise.
4199 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
4201 * include/bits/stl_function.h: Remove two lines of comments;
4202 adjust copyright years.
4204 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
4206 * include/Makefile.am (std_headers): Remove cXXX from list.
4207 (c_base_srcdir): No bits subdirectory.
4208 (c_base_builddir): Same.
4209 (c_base_headers): Adjust names, add ciso646.
4210 (bits_headers): Remove std_xxx.h headers.
4211 * include/Makefile.in: Regenerate.
4213 * include/ext/iterator: Adjust includes.
4214 * include/ext/ropeimpl.h: Same.
4215 * include/ext/stl_hash_fun.h: Same.
4216 * include/ext/algorithm: Same.
4218 * include/backward/bvector.h: Adjust includes.
4219 * include/backward/vector.h: Same.
4220 * include/backward/strstream: Same.
4221 * include/backward/streambuf.h: Same.
4222 * include/backward/stack.h: Same.
4223 * include/backward/set.h: Same.
4224 * include/backward/queue.h: Same.
4225 * include/backward/multiset.h: Same.
4226 * include/backward/multimap.h: Same.
4227 * include/backward/map.h: Same.
4228 * include/backward/list.h: Same.
4229 * include/backward/iterator.h: Same.
4230 * include/backward/iostream.h: Same.
4231 * include/backward/iomanip.h: Same.
4232 * include/backward/fstream.h: Same.
4233 * include/backward/deque.h: Same.
4234 * include/backward/complex.h: Same.
4236 * include/bits/std_algorithm.h: Move to...
4237 * include/std/algorithm: ...here.
4238 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
4239 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
4240 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
4241 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
4242 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
4243 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
4244 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
4247 * include/c_std/bits/std_cassert.h: Move to...
4248 * include/c_std/cassert: Here.
4249 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
4250 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
4251 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
4252 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
4253 std_cwctype.h: Same.
4254 * include/c_std/cmath: Adjust cmath.tcc include.
4255 * include/c_std/cstdlib: Adjust includes.
4256 * include/c_std/cwchar: Same.
4257 * include/c_std/ctime: Same.
4258 * include/c_std/cstring: Same.
4259 * include/c_std/cstdio: Same.
4260 * include/c_std/bits: Remove directory.
4262 * include/c/bits/std_cassert.h: Move to...
4263 * include/c/cassert: Here.
4264 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
4265 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
4266 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
4267 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
4268 std_cwctype.h: Same.
4269 * include/c/bits: Remove directory.
4271 * include/std/cwctype: Remove.
4272 * include/std/cwchar: Remove.
4273 * include/std/ctime: Remove.
4274 * include/std/cstring: Remove.
4275 * include/std/cstdlib: Remove.
4276 * include/std/cstdio: Remove.
4277 * include/std/cstddef: Remove.
4278 * include/std/cstdarg: Remove.
4279 * include/std/csignal: Remove.
4280 * include/std/csetjmp: Remove.
4281 * include/std/cmath: Remove.
4282 * include/std/clocale: Remove.
4283 * include/std/climits: Remove.
4284 * include/std/ciso646: Remove.
4285 * include/std/cfloat: Remove.
4286 * include/std/cerrno: Remove.
4287 * include/std/cctype: Remove.
4288 * include/std/cassert: Remove.
4290 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
4291 files and subsituting <xxx>.
4292 * include/bits/valarray_array.h: Same.
4293 * include/bits/stl_uninitialized.h: Same.
4294 * include/bits/stl_alloc.h: Same.
4295 * include/bits/stl_algobase.h: Same.
4296 * include/bits/sstream.tcc: Same.
4297 * include/bits/pthread_allocimpl.h: Same.
4298 * include/bits/ostream.tcc: Same.
4299 * include/bits/localefwd.h: Same.
4300 * include/bits/locale_facets.tcc: Same.
4301 * include/bits/locale_facets.h: Same.
4302 * include/bits/istream.tcc: Same.
4303 * include/bits/char_traits.h: Same.
4304 * include/bits/boost_concept_check.h: Same.
4305 * include/bits/basic_file.h: Same.
4306 * include/std/bitset: Same.
4307 * include/std/complex: Same.
4308 * include/std/fstream: Same.
4309 * include/std/functional: Same.
4310 * include/std/ios: Same.
4311 * include/std/iostream: Same.
4312 * include/std/ostream: Same.
4313 * include/std/sstream: Same.
4314 * include/std/streambuf: Same.
4315 * include/std/string: Same.
4316 * include/std/iterator: Same.
4317 * include/std/valarray: Same.
4319 * src/ios.cc: Adjust includes.
4320 * src/valarray-inst.cc: Same.
4321 * src/string-inst.cc: Same.
4322 * src/stl-inst.cc: Same.
4323 * src/stdexcept.cc: Same.
4324 * src/misc-inst.cc: Same.
4325 * src/localename.cc: Same.
4326 * src/locale-inst.cc: Same.
4327 * src/locale.cc: Same.
4328 * src/limits.cc: Same.
4329 * src/concept-inst.cc: Same.
4330 * src/complex_io.cc: Same.
4331 * src/codecvt.cc: Same.
4332 * src/bitset.cc: Same.
4333 * src/cmath.cc: Same.
4335 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
4337 * include/bits/stl_tree.h (rb_tree): Move to...
4338 * include/ext/rb_tree: ...here, new file.
4339 * include/Makefile.am (ext_headers): Add new file.
4340 * include/Makefile.in: Regenerate.
4341 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
4342 return_temporary_buffer, struct temporary_buffer): Move to...
4343 * include/ext/memory: ...here.
4344 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
4345 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
4346 * include/backward/tree.h: Include <ext/rb_tree), tweak.
4348 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
4350 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
4351 * include/ext/numeric: ...here, new file.
4352 * include/bits/stl_function.h (identity_element, unary_compose,
4353 binary_compose, compose1, compose2, identity, select1st,
4354 select2nd, project1st + helper, project2nd + helper,
4355 constant_void_fun + helper, constant_unary_fun + helper,
4356 costant_binary_fun + helper, constant0, constant1, constant2,
4357 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
4358 * include/ext/functional: ...here, new file.
4359 * include/Makefile.am (ext_headers): Add new files.
4360 * include/Makefile.in: Regenerate.
4361 * testsuite/ext/headers.cc: Include <ext/numeric> and
4363 * include/backward/algo.h: Include <ext/numeric>, tweak.
4364 * include/backward/function.h: Include <ext/functional>, tweak.
4365 * include/ext/ropeimpl.h: Include <ext/numeric>.
4367 2002-01-03 Jeffrey A Law <law@redhat.com>
4369 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
4370 __strtoull declarations with __extension__.
4372 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
4374 * testsuite/lib/prune.exp: Correct regular expression for
4377 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
4379 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
4380 Change concept checks, as with lower_bound and PR 2054.
4381 * testsuite/ext/concept_checks.cc: Expand test to include those.
4383 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
4385 * include/bits/boost_concept_check.h: Import some changes from
4386 upsteam (Boost) version.
4388 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
4390 * include/bits/stl_algobase.h (copy_n + helpers,
4391 lexicographical_compare_3way + helpers): Move to...
4392 * include/ext/algorithm: ...here.
4393 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
4394 helpers): Move to...
4395 * include/ext/memory: ...here, new file.
4396 * include/Makefile.am (ext_headers): Add new file.
4397 * include/Makefile.in: Regenerate.
4398 * testsuite/ext/headers.cc: Include <ext/memory>.
4399 * include/backward/algobase.h: Include <ext/memory> and
4400 <ext/algorithm>, tweak.
4401 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
4402 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
4404 2002-01-01 Roger Sayle <roger@eyesopen.com>
4406 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
4407 equivalent ___builtin__ versions.
4409 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
4410 are available in libstdc++ as the necessary stub implementations
4411 are provided by libmath/stubs.c.
4413 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
4415 * configure.in: Add support for NetBSD cross compiles.
4416 * configure: Regenerate.