1 2002-10-01 Phil Edwards <pme@gcc.gnu.org>
3 * Makefile.am (check-abi): Add @ to rule.
4 * Makefile.in: Regenerated.
6 2002-09-27 Paolo Carlini <pcarlini@unitus.it>
8 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
9 Deal correctly with grouped, showbased (oct or hex) zero.
10 * testsuite/22_locale/num_put_members_char.cc: Add test05.
11 * testsuite/22_locale/num_put_members_wchar_t.cc: Ditto.
13 2002-09-27 Richard Henderson <rth@redhat.com>
15 * config/os/hpux/cpu_limits.h: Remove.
17 * include/std/std_limits.h (numeric_limits<T>::is_iec559): False
18 if denormals are not supported.
20 2002-09-25 Benjamin Kosnik <bkoz@redhat.com>
22 * include/Makefile.am (target_headers): Remove cpu_limits.h.
23 * include/Makefile.in: Regenerate.
24 * configure.in (CPU_LIMITS_INC_SRCDIR): Remove
25 * configure: Regenerate.
26 * configure.target (CPULIMITS): Remove.
28 * include/std/std_limits.h: Remove cpu_limits.h include.
30 * config/os/solaris/solaris2.7/os_defines.h (__glibcpp_long_bits):
32 * config/os/irix/irix6.5/os_defines.h
33 (__glibcpp_long_double_bits): Remove.
34 (__glibcpp_wchar_t_bits): Remove.
35 (__glibcpp_long_bits): Remove.
36 * config/os/irix/irix5.2/os_defines.h
37 (__glibcpp_long_double_bits): Remove.
38 (__glibcpp_long_bits): Remove.
39 * config/os/hpux/os_defines.h (__glibcpp_wchar_t_is_signed): Remove.
40 * config/os/bsd/freebsd/os_defines.h:
41 (__glibcpp_long_double_bits): Remove.
42 * config/os/aix/os_defines.h (__glibcpp_wchar_t_bits): Remove.
43 (__glibcpp_wchar_t_is_signed): Remove.
44 (__glibcpp_long_bits): Remove.
45 * config/os/gnu-linux/os_defines.h (__glibcpp_long_bits): Remove.
46 (__glibcpp_long_double_bits): Remove.
48 * config/os/osf/osf5.0/cpu_limits.h: Remove.
49 * config/cpu/alpha/cpu_limits.h: Remove.
50 * config/cpu/arm/cpu_limits.h: Remove.
51 * config/cpu/cris/cpu_limits.h: Remove.
52 * config/cpu/generic/cpu_limits.h: Remove.
53 * config/cpu/generic/limits.h: Remove.
54 * config/cpu/ia64/cpu_limits.h: Remove.
55 * config/cpu/m68k/cpu_limits.h: Remove.
56 * config/cpu/mmix/cpu_limits.h: Remove.
57 * config/cpu/powerpc/cpu_limits.h: Remove.
58 * config/cpu/S390/cpu_limits.h: Remove.
60 2002-09-25 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
62 * testsuite/18_support/numeric_limits.cc: Check the maximum and
63 minimum values of the wchar_t type.
65 2002-09-25 Mark Mitchell <mark@codesourcery.com>
67 * include/std/std_limits.h (numeric_limits<unsigned char>::digits):
70 2002-09-23 Richard Henderson <rth@redhat.com>
72 * include/std/std_limits.h (__glibcpp_plain_char_is_signed,
73 __glibcpp_wchar_t_is_signed, __glibcpp_s8_max, __glibcpp_s8_min,
74 __glibcpp_s8_digits, __glibcpp_s8_digits10, __glibcpp_u8_min,
75 __glibcpp_u8_max, __glibcpp_u8_digits, __glibcpp_u8_digits10,
76 __glibcpp_s16_max, __glibcpp_s16_min, __glibcpp_s16_digits,
77 __glibcpp_s16_digits10, __glibcpp_u16_min, __glibcpp_u16_max,
78 __glibcpp_u16_digits, __glibcpp_u16_digits10, __glibcpp_s32_max,
79 __glibcpp_s32_min, __glibcpp_s32_digits, __glibcpp_s32_digits10,
80 __glibcpp_u32_min, __glibcpp_u32_max, __glibcpp_u32_digits,
81 __glibcpp_u32_digits10, __glibcpp_s64_max, __glibcpp_s64_min,
82 __glibcpp_s64_digits, __glibcpp_s64_digits10, __glibcpp_u64_min,
83 __glibcpp_u64_max, __glibcpp_u64_digits, __glibcpp_u64_digits10,
84 __glibcpp_bool_digits, __glibcpp_signed_char_min,
85 __glibcpp_signed_char_max, __glibcpp_signed_char_digits,
86 __glibcpp_signed_char_digits10, __glibcpp_unsigned_char_min,
87 __glibcpp_unsigned_char_max, __glibcpp_unsigned_char_digits,
88 __glibcpp_unsigned_char_digits10, __glibcpp_char_min,
89 __glibcpp_char_max, __glibcpp_char_digits, __glibcpp_char_digits10,
90 __glibcpp_signed_short_min, __glibcpp_signed_short_max,
91 __glibcpp_signed_short_digits, __glibcpp_signed_short_digits10,
92 __glibcpp_unsigned_short_min, __glibcpp_unsigned_short_max,
93 __glibcpp_unsigned_short_digits, __glibcpp_unsigned_short_digits10,
94 __glibcpp_signed_int_min, __glibcpp_signed_int_max,
95 __glibcpp_signed_int_digits, __glibcpp_signed_int_digits10,
96 __glibcpp_unsigned_int_min, __glibcpp_unsigned_int_max,
97 __glibcpp_unsigned_int_digits, __glibcpp_unsigned_int_digits10,
98 __glibcpp_signed_long_min, __glibcpp_signed_long_max,
99 __glibcpp_unsigned_long_digits, __glibcpp_unsigned_long_digits10,
100 __glibcpp_signed_long_long_min, __glibcpp_signed_long_long_max,
101 __glibcpp_signed_long_long_digits, __glibcpp_signed_long_long_digits10,
102 __glibcpp_wchar_t_min, __glibcpp_wchar_t_max, __glibcpp_wchar_t_digits,
103 __glibcpp_wchar_t_digits10): Remove.
104 (__glibcpp_byte, __glibcpp_word_bits, __glibcpp_word): Remove.
105 (__float_storage, __double_storage, __long_double_storage): Remove.
106 (__glibcpp_signed, __glibcpp_min, __glibcpp_max): New.
107 (__glibcpp_digits, __glibcpp_digits10): New.
108 (numeric_limits<T>::min): Use __glibcpp_min or limits.h builtins.
109 (numeric_limits<T>::max): Use __glibcpp_max or limits.h builtins.
110 (numeric_limits<T>::is_signed, T=char,wchar_t): Use __glibcpp_signed.
111 (numeric_limits<T>::digits): Use __glibcpp_digits.
112 (numeric_limits<T>::digits10): Use __glibcpp_digits10.
113 * testsuite/18_support/numeric_limits.cc (test03): Don't use
114 __glibcpp_s8_digits10 et al; check vs the installed versions
115 of digits10 for particular sizes.
117 * include/std/std_limits.h (__glibcpp_float_is_modulo,
118 __glibcpp_double_is_modulo, __glibcpp_long_double_is_modulo): Kill.
119 (numeric_limits<T>::is_modulo, T floating): Use false.
121 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
123 * Makefile.am (all-multi): Fix multilib parallel build.
125 2002-09-22 Richard Henderson <rth@redhat.com>
127 * include/std/std_limits.h (__glibcpp_f32_round_error,
128 __glibcpp_f64_round_error, __glibcpp_f80_round_error,
129 __glibcpp_f96_round_error, __glibcpp_f128_round_error,
130 __glibcpp_float_round_error, __glibcpp_double_round_error,
131 __glibcpp_long_double_round_error, __glibcpp_float_round_style,
132 __glibcpp_double_round_style, __glibcpp_long_double_round_style): Kill.
133 (numeric_limits<char>::epsilon, round_error): Use constant 0.
134 (numeric_limits<float>::round_error): Use constant 0.5.
135 (numeric_limits<float>::round_style): Use round_to_nearest.
136 (numeric_limits<double>, numeric_limits<long double>): Similarly.
138 * include/std/std_limits.h (__glibcpp_f32_is_iec559,
139 __glibcpp_f64_is_iec559, __glibcpp_f80_is_iec559,
140 __glibcpp_f96_is_iec559, __glibcpp_f128_is_iec559,
141 __glibcpp_float_is_iec559, __glibcpp_double_is_iec559,
142 __glibcpp_long_double_is_iec559): Remove.
143 (numeric_limits<float>::is_iec559): Use has_infinity & has_quiet_NaN.
144 (numeric_limits<double>, numeric_limits<long double>): Similarly.
146 * include/std/std_limits.h (__glibcpp_integral_traps): New.
147 (__glibcpp_char_traps, __glibcpp_short_traps, __glibcpp_int_traps,
148 __glibcpp_long_traps, __glibcpp_wchar_t_traps,
149 __glibcpp_long_long_traps, __glibcpp_plain_char_traps,
150 __glibcpp_signed_char_traps, __glibcpp_unsigned_char_traps,
151 __glibcpp_signed_short_traps, __glibcpp_unsigned_short_traps,
152 __glibcpp_signed_int_traps, __glibcpp_unsigned_int_traps,
153 __glibcpp_signed_long_traps, __glibcpp_unsigned_long_traps,
154 __glibcpp_signed_long_long_traps, __glibcpp_unsigned_long_long_traps,
155 __glibcpp_char_is_modulo, __glibcpp_signed_char_is_modulo,
156 __glibcpp_signed_short_is_modulo, __glibcpp_signed_int_is_modulo,
157 __glibcpp_signed_long_is_modulo, __glibcpp_signed_long_long_is_modulo,
158 __glibcpp_wchar_t_is_modulo, __glibcpp_float_is_bounded,
159 __glibcpp_double_is_bounded, __glibcpp_long_double_is_bounded): Kill.
160 (numeric_limits<T>::traps, T integral): Use __glibcpp_integral_traps.
161 (numeric_limits<T>::is_modulo, T integral): Use true.
162 (numeric_limits<T>::is_bounded, T floating): Use true.
164 2002-09-18 Loren J. Rittle <ljrittle@acm.org>
166 * testsuite/18_support/numeric_limits.cc (test_epsilon): New.
168 2002-09-18 Richard Henderson <rth@redhat.com>
170 * testsuite/18_support/numeric_limits.cc: Add -mieee for alpha.
172 2002-09-16 Benjamin Kosnik <bkoz@redhat.com>
174 * include/c_shadow: Remove.
175 * include/bits/generic_shadow.h: Remove.
176 * include/Makefile.am: Remove generic_shadow.h.
177 * acinclude.m4: Remove c_shadow references.
178 * aclocal.m4: Regenerate.
179 * configure: Regenerate.
181 * mkinclosure: Remove.
183 2002-09-16 Loren J. Rittle <ljrittle@acm.org>
186 * include/ext/stl_rope.h (rope<>): Qualify dependent names
189 2002-09-16 Richard Henderson <rth@redhat.com>
191 * include/std/std_limits.h (__glibcpp_f32_QNaN_bytes,
192 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
193 __glibcpp_f32_has_SNaN, __glibcpp_f64_QNaN_bytes,
194 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
195 __glibcpp_f64_has_SNaN, __glibcpp_f80_QNaN_bytes,
196 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
197 __glibcpp_f80_has_SNaN, __glibcpp_f96_QNaN_bytes,
198 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
199 __glibcpp_f96_has_SNaN, __glibcpp_f128_QNaN_bytes,
200 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
201 __glibcpp_f128_has_SNaN, __glibcpp_float_QNaN_bytes,
202 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
203 __glibcpp_float_has_SNaN, __glibcpp_double_QNaN_bytes,
204 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
205 __glibcpp_double_has_SNaN, __glibcpp_long_double_QNaN_bytes,
206 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
207 __glibcpp_long_double_has_SNaN): Remove.
208 (__glibcpp_f128_is_iec559): True if IEEE.
209 (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
210 (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
211 (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
212 (std::numeric_limits<float>::has_quiet_NaN): Use __builtin_nanf.
213 (std::numeric_limits<float>::has_signaling_NaN): Mirror has_quiet_NaN.
214 (std::numeric_limits<float>::quiet_NaN): Use __builtin_nanf.
215 (std::numeric_limits<float>::signaling_NaN): Use __builtin_nansf.
216 (std::numeric_limits<double>): Similarly.
217 (std::numeric_limits<long double>): Similarly.
218 * src/limits.cc (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
219 (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
220 (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
222 * testsuite/18_support/numeric_limits.cc (test_infinity): New.
223 (test_denorm_min, test_qnan, test_is_iec559): New.
225 2002-09-16 Phil Edwards <pme@gcc.gnu.org>
227 * testsuite/abi_check.cc: Pull shell fragments out into...
228 * config/abi/extract_symvers: ...here. New file.
229 * Makefile.am (check_abi): Change to match.
230 (new-abi-baseline): New target.
231 * Makefile.in: Regenerated.
233 2002-09-16 Richard Henderson <rth@redhat.com>
235 * include/std/std_limits.h (__glibcpp_f32_denorm_min_bytes,
236 __glibcpp_f32_has_denorm, __glibcpp_f64_denorm_min_bytes,
237 __glibcpp_f64_has_denorm, __glibcpp_f80_denorm_min_bytes,
238 __glibcpp_f80_has_denorm, __glibcpp_f96_denorm_min_bytes,
239 __glibcpp_f96_has_denorm, __glibcpp_f128_denorm_min_bytes,
240 __glibcpp_f128_has_denorm, __glibcpp_float_denorm_min_bytes,
241 __glibcpp_float_has_denorm, __glibcpp_double_denorm_min_bytes,
242 __glibcpp_double_has_denorm, __glibcpp_long_double_denorm_min_bytes,
243 __glibcpp_long_double_has_denorm): Remove.
244 (__glibcpp_float_denorm_min, __glibcpp_double_denorm_min,
245 __glibcpp_long_double_denorm_min): Remove.
246 (std::numeric_limits<float>::has_denorm): Use __FLT_DENORM_MIN__.
247 (std::numeric_limits<float>::denorm_min): Likewise.
248 (std::numeric_limits<double>): Similarly.
249 (std::numeric_limits<long double>): Similarly.
250 * src/limits.cc (__glibcpp_float_denorm_min,
251 __glibcpp_double_denorm_min, __glibcpp_long_double_denorm_min): Remove.
253 2002-09-13 Andy Felt <afelt@uwsp.edu>
255 * docs/html/17_intro/howto.html: Update link.
257 2002-09-13 Phil Edwards <pme@gcc.gnu.org>
259 * docs/doxygen/run_doxygen: Massage man page for Iterator_types.3.
260 * docs/html/faq/index.html: Whitespace fixes.
262 2002-09-12 Benjamin Kosnik <bkoz@redhat.com>
264 * libmath/Makefile.am (LIBTOOL): Use --tag CC always for this
266 * libmath/Makefile.in: Regenerate.
267 * src/Makefile.am: Tweak comment.
268 * src/Makefile.in: Regenerate.
270 * config/locale/gnu/c_locale.h: Remove warnings.
271 Inject __uselocale into __gnu_cxx.
272 * config/locale/generic/c_locale.h: Match.
274 2002-09-11 Benjamin Kosnik <bkoz@redhat.com>
276 * include/bits/locale_facets.tcc (__convert_from_v): Remove.
277 * config/locale/gnu/c_locale.h (__convert_from_v): Add.
278 * config/locale/generic/c_locale.h (__convert_from_v): Add.
280 2002-09-11 Paolo Carlini <pcarlini@unitus.it>
282 * include/bits/locale_facets.tcc (__convert_from_v):
283 Use __uselocale instead of setlocale for glibc 2.3+.
285 2002-09-10 Benjamin Kosnik <bkoz@redhat.com>
287 * src/Makefile.am (sources): Edit.
288 (target_sources): New.
289 (target_sources_extra): New.
290 * src/Makefile.in: Regenerate.
291 * acinclude.m4: Set CCODECVT_CC.
292 * aclocal.m4: Regenerate.
293 * configure: Regenerate.
294 * src/locale.cc: Move ctype definitions...
295 * src/ctype.cc: ...here. New file.
296 * src/locale.cc: Move codecvt definitions...
297 * src/codecvt.cc: ...here.
298 * config/generic/codecvt_members.cc: ...and here.
299 * config/gnu/codecvt_members.cc: ...and here.
300 * include/bits/codecvt.h: Tweak.
301 * include/bits/locale_facets: Tweak.
303 * src/bitset.cc: Correct license text.
304 * src/concept-inst.cc: Same.
305 * src/strstream.cc: Same.
306 * src/vterminate.cc: Same.
308 2002-09-10 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net>
310 * include/bits/stl_vector.h (vector<>): Don't use a name with
311 different meanings before and after re-evaluation in the completed
313 * include/bits/basic_string.h (basic_string<>): Likewise.
314 * include/bits/stl_bvector.h (vector<bool>): Likewise.
315 * include/bits/stl_deque.h (std): Likewise.
316 * include/bits/stl_list.h (list<>): Likewise.
317 * include/bits/stl_tree.h (_Rb_tree<>): Likewise.
319 2002-09-10 Paolo Carlini <pcarlini@unitus.it>
321 * include/bits/codecvt.h (class __codecvt_abstract_base):
322 Add __c_locale type _M_c_locale_codecvt member.
323 (class codecvt<char, char, mbstate_t>,
324 class codecvt<wchar_t, char, mbstate_t>): Add new
325 codecvt(__c_locale, size_t) constructor.
326 (codecvt_byname::codecvt_byname): Update.
327 * src/codecvt.cc (class codecvt<char, char, mbstate_t>,
328 class codecvt<wchar_t, char, mbstate_t>): Update codecvt(size_t)
329 constructor and ~codecvt() destructor; define
330 codecvt(__c_locale, size_t) constructor.
331 (codecvt::do_out): Switch to _M_c_locale_codecvt around wcsrtombs call.
332 (codecvt::do_in): Ditto for mbsrtowcs call.
333 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
334 Tweak construction of codecvt facets.
336 2002-09-10 Danny Smith <dannysmith@users.sourceforge.net>
338 * include/bits/locale_facets.tcc (__convert_from_v):
339 Replace strdup with ISO malloc and strcpy.
341 2002-09-09 Benjamin Kosnik <bkoz@redhat.com>
343 * docs/html/configopts.html: Change grouping. Note ABI impacts.
344 Update information for locale model defaults.
345 * docs/html/install.html: Update include directory
347 Update testing information.
348 Update linux issues for named locales.
349 * docs/html/abi.txt: Fix typos.
352 * src/misc-inst.cc: Add missing instantiations.
354 * testsuite/abi_check.cc: Make output results more verbose.
356 * config/os/gnu-linux/ctype_base.h: Remove shadow headers injections.
358 2002-09-07 Jakub Jelinek <jakub@redhat.com>
360 * config/locale/generic/messages_members.cc: Add specialization for
362 * config/locale/ieee_1003.1-20021/messages_members.cc: Likewise.
364 2002-09-06 Benjamin Kosnik <bkoz@redhat.com>
366 * include/bits/localefwd.h: Tweak formatting.
367 * docs/html/abi.txt: Add.
369 2002-09-06 Jakub Jelinek <jakub@redhat.com>
371 * configure.target: Use cpu_include_dir="config/cpu/sparc" for all
373 * config/cpu/sparc/atomicity.h: New file.
374 * config/cpu/sparc/sparc32/atomicity.h: Removed.
375 * config/cpu/sparc/sparc64/atomicity.h: Removed.
377 2002-09-06 Jakub Jelinek <jakub@redhat.com>
379 * config/os/gnu-linux/ctype_noninline.h
380 [_GLIBCPP_USE_SHADOW_HEADERS]: Remove using _C_legacy::__ctype_*.
381 (ctype<char>::classic_table): If _GLIBCPP_C_LOCALE_GNU, return
382 _S_c_locale->__ctype_b, otherwise temporarily switch to "C" locale
383 and return __ctype_b.
384 (ctype<char>::ctype(__c_locale, const mask*, bool, size_t)): If not
385 _GLIBCPP_C_LOCALE_GNU, temporarily switch to "C" locale and
386 initialize using __ctype_{b,tolower,toupper}.
387 (ctype<char>::ctype(const mask*, bool, size_t)): If
388 _GLIBCPP_C_LOCALE_GNU, initialize using
389 _S_c_locale->__ctype_{b,tolower,toupper}, otherwise temporarily
390 switch to "C" locale and initialize using __ctype_{b,tolower,toupper}.
392 2002-09-05 Paolo Carlini <pcarlini@unitus.it>
393 Roland McGrath <roland@redhat.com>
396 * src/locale.cc (locale::locale(__s)): Use getenv instead
397 of setenv for the environment locale.
398 * testsuite/22_locale/ctor_copy_dtor.cc (test03): New.
400 2002-09-05 Jakub Jelinek <jakub@redhat.com>
402 * config/abi/ia64-unknown-linux-gnu: Add.
403 * config/abi/ia64-unknown-linux-gnu/baseline_symbols.txt: New file.
404 * config/abi/alphaev67-unknown-linux-gnu: Add.
405 * config/abi/alphaev67-unknown-linux-gnu/baseline_symbols.txt: New file.
407 2002-09-05 Jonathan Wakely <jw@kayari.org>
409 * docs/html/Makefile: Use more portable shell wildcard.
410 * docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
411 * docs/html/configopts.html, docs/html/documentation.html,
412 docs/html/explanations.html, docs/html/install.html,
413 docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
414 docs/html/17_intro/license.html, docs/html/18_support/howto.html,
415 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
416 docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
417 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
418 docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
419 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
420 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
421 docs/html/27_io/howto.html, docs/html/ext/howto.html,
422 docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
424 * docs/html/faq/index.txt: Regenerate.
426 2002-09-05 Jakub Jelinek <jakub@redhat.com>
428 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_widen(char)):
429 Switch to _M_c_locale_ctype around btowc call.
430 (ctype<wchar_t>::do_widen(const char*, const char *, wchar_t*)):
431 Switch to _M_c_locale_ctype around mbsrtowcs call.
432 (ctype<wchar_t>::do_narrow(char)): Switch to _M_c_locale_ctype around
434 (ctype<wchar_t>::do_narrow(const char*, const char *, wchar_t*)):
435 Switch to _M_c_locale_ctype around wcsrtombs call.
437 2002-09-05 Jakub Jelinek <jakub@redhat.com>
439 * config/locale/gnu/monetary_members.cc
440 (moneypunct<wchar_t, true>::_M_initialize_moneypunct,
441 moneypunct<wchar_t, false>::_M_initialize_moneypunct): Use
442 __uselocale instead of setlocale for glibc 2.3.
444 2002-09-05 Jakub Jelinek <jakub@redhat.com>
446 * config/locale/generic/c++locale_internal.h: New header.
447 * config/locale/gnu/c++locale_internal.h: New header.
448 * config/locale/gnu/c_locale.cc: Include it.
449 * config/locale/gnu/collate_members.cc: Include it.
450 * config/locale/gnu/ctype_members.cc: Include it.
451 * config/locale/gnu/messages_members.cc: Include it.
452 * config/locale/gnu/monetary_members.cc: Include it.
453 * config/locale/gnu/numeric_members.cc: Include it.
454 * config/locale/gnu/time_members.cc: Include it.
455 (_M_put): Reorder __strftime_l and __wcsftime_l arguments to match
457 (_M_initialize_timepunct): Initialize _M_c_locale_timepunct for
459 * acinclude.m4: Include string.h when testing strcoll_l.
460 For glibc 2.3 provide __-prefixed prototypes.
461 (CLOCALE_INTERNAL_H): Set, add AC_LINK_FILES line.
462 * aclocal.m4, configure: Rebuilt.
464 2002-09-05 Benjamin Kosnik <bkoz@redhat.com>
466 * include/bits/locale_facets.h: Add declaration of specialization
468 * config/locale/gnu/messages_members.cc: Add specialization for
470 * config/locale/gnu/messages_members.h: Remove generic definition
473 2002-09-04 Richard Henderson <rth@redhat.com>
475 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
476 __glibcpp_f32_has_infinity, __glibcpp_f64_infinity_bytes,
477 __glibcpp_f64_has_infinity, __glibcpp_f80_infinity_bytes,
478 __glibcpp_f80_has_infinity, __glibcpp_f96_infinity_bytes,
479 __glibcpp_f96_has_infinity, __glibcpp_f128_infinity_bytes,
480 __glibcpp_f128_has_infinity, __glibcpp_float_infinity_bytes,
481 __glibcpp_float_has_infinity, __glibcpp_double_infinity_bytes,
482 __glibcpp_double_has_infinity, __glibcpp_long_double_infinity_bytes,
483 __glibcpp_long_double_has_infinity): Remove.
484 (std::numeric_limits<float>, std::numeric_limits<double>,
485 std::numeric_limits<long double>): Use __builtin_huge_val
486 to implement has_infinity and infinity().
487 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_double_infinity,
488 __glibcpp_long_double_infinity): Remove.
490 2002-09-03 Richard Henderson <rth@redhat.com>
492 * include/std/std_limits.h (__glibcpp_f32_min, __glibcpp_f32_max,
493 __glibcpp_f32_digits, __glibcpp_f32_digits10, __glibcpp_f32_radix,
494 __glibcpp_f32_epsilon, __glibcpp_f32_min_exponent,
495 __glibcpp_f32_min_exponent10, __glibcpp_f32_max_exponent,
496 __glibcpp_f32_max_exponent10, __glibcpp_f64_min, __glibcpp_f64_max,
497 __glibcpp_f64_digits, __glibcpp_f64_digits10, __glibcpp_f64_radix,
498 __glibcpp_f64_min_exponent, __glibcpp_f64_min_exponent10,
499 __glibcpp_f64_max_exponent, __glibcpp_f64_max_exponent10,
500 __glibcpp_f80_min, __glibcpp_f80_max, __glibcpp_f80_digits,
501 __glibcpp_f80_digits10, __glibcpp_f80_radix, __glibcpp_f80_epsilon,
502 __glibcpp_f80_min_exponent, __glibcpp_f80_min_exponent10,
503 __glibcpp_f80_max_exponent, __glibcpp_f80_max_exponent10,
504 __glibcpp_f96_min, __glibcpp_f96_max, __glibcpp_f96_digits,
505 __glibcpp_f96_digits10, __glibcpp_f96_radix, __glibcpp_f96_epsilon,
506 __glibcpp_f96_min_exponent, __glibcpp_f96_min_exponent10,
507 __glibcpp_f96_max_exponent, __glibcpp_f96_max_exponent10,
508 __glibcpp_f128_min, __glibcpp_f128_max, __glibcpp_f128_digits,
509 __glibcpp_f128_digits10, __glibcpp_f128_radix, __glibcpp_f128_epsilon,
510 __glibcpp_f128_min_exponent, __glibcpp_f128_min_exponent10,
511 __glibcpp_f128_max_exponent, __glibcpp_f128_max_exponent10,
512 __glibcpp_float_min, __glibcpp_float_max, __glibcpp_float_digits,
513 __glibcpp_float_digits10, __glibcpp_float_radix,
514 __glibcpp_float_epsilon, __glibcpp_float_min_exponent,
515 __glibcpp_float_min_exponent10, __glibcpp_float_max_exponent,
516 __glibcpp_float_max_exponent10, __glibcpp_double_min,
517 __glibcpp_double_max, __glibcpp_double_digits,
518 __glibcpp_double_digits10, __glibcpp_double_radix,
519 __glibcpp_double_epsilon, __glibcpp_double_min_exponent,
520 __glibcpp_double_min_exponent10, __glibcpp_double_max_exponent,
521 __glibcpp_double_max_exponent10, __glibcpp_long_double_min,
522 __glibcpp_long_double_max, __glibcpp_long_double_digits,
523 __glibcpp_long_double_digits10, __glibcpp_long_double_radix,
524 __glibcpp_long_double_epsilon, __glibcpp_long_double_min_exponent,
525 __glibcpp_long_double_min_exponent10,
526 __glibcpp_long_double_max_exponent,
527 __glibcpp_long_double_max_exponent10): Remove macros.
528 (std::numeric_limits<float>, std::numeric_limits<double>,
529 std::numeric_limits<long double>): Use protected float.h macros.
531 2002-09-01 Phil Edwards <pme@gcc.gnu.org>
533 * testsuite/Makefile.am: Use LD_RUN_PATH when linking abi_check.
534 Fix spelling in comment.
535 * testsuite/Makefile.in: Regenerate.
536 * testsuite/abi_check.cc: Use string literals to build 'cmd' rather
537 than 'quote' and 'bslash'.
539 2002-08-31 Phil Edwards <pme@gcc.gnu.org>
541 * acinclude.m4: Minor comment tweaks.
543 * docs/html/makedoc.awk: New file...
544 * docs/html/Makefile: ...called from here...
545 * docs/html/documentation.html: ...to help generate this.
547 * docs/html/21_strings/howto.html: Prepare for new entry.
548 * include/bits/basic_string.h: Initial basic_stirng hook for
549 doxygen. Remove trailing whitespace.
550 * include/bits/char_traits.h: Point to onlinedocs for new entry.
551 * include/bits/stringfwd.h: Add doxygen hooks for string and
554 2002-08-29 Richard Earnshaw <rearnshaw@arm.com>
556 * config/cpu/arm/cpu_limits.h: New file.
557 * configure.target: Use config/cpu/arm for XScale and StrongARM
560 2002-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
562 * include/std/std_limits.h (__glibcpp_char_bits,
563 __glibcpp_short_bits, __glibcpp_int_bits, __glibcpp_long_bits,
564 __glibcpp_long_long_bits, __glibcpp_float_bits,
565 __glibcpp_double_bits, __glibcpp_long_double_bits): Remove. Use
566 compiler predifined macros.
567 (__glibcpp_wchar_t_is_signed): Define based on compiler predefined
570 2002-08-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
572 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
573 __glibcpp_f32_has_infinity, __glibcpp_f32_QNaN_bytes,
574 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
575 __glibcpp_f32_has_SNaN, __glibcpp_f32_denorm_min_bytes,
576 __glibcpp_f32_has_denorm, __glibcpp_f32_is_iec559,
577 __glibcpp_f64_infinity_bytes,
578 __glibcpp_f64_has_infinity, __glibcpp_f64_QNaN_bytes,
579 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
580 __glibcpp_f64_has_SNaN, __glibcpp_f64_denorm_min_bytes,
581 __glibcpp_f64_has_denorm, __glibcpp_f64_is_iec559,
582 __glibcpp_f80_infinity_bytes,
583 __glibcpp_f80_has_infinity, __glibcpp_f80_QNaN_bytes,
584 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
585 __glibcpp_f80_has_SNaN, __glibcpp_f80_denorm_min_bytes,
586 __glibcpp_f80_has_denorm, __glibcpp_f80_is_iec559,
587 __glibcpp_f96_infinity_bytes,
588 __glibcpp_f96_has_infinity, __glibcpp_f96_QNaN_bytes,
589 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
590 __glibcpp_f96_has_SNaN, __glibcpp_f96_denorm_min_bytes,
591 __glibcpp_f96_has_denorm, __glibcpp_f96_is_iec559,
592 __glibcpp_f128_infinity_bytes,
593 __glibcpp_f128_has_infinity, __glibcpp_f128_QNaN_bytes,
594 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
595 __glibcpp_f128_has_SNaN, __glibcpp_f128_denorm_min_bytes,
596 __glibcpp_f128_has_denorm, __glibcpp_f128_is_iec559,
597 __glibcpp_float_infinity_bytes,
598 __glibcpp_float_has_infinity, __glibcpp_float_QNaN_bytes,
599 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
600 __glibcpp_float_has_SNaN, __glibcpp_float_denorm_min_bytes,
601 __glibcpp_float_has_denorm, __glibcpp_float_is_iec559,
602 __glibcpp_double_infinity_bytes,
603 __glibcpp_double_has_infinity, __glibcpp_double_QNaN_bytes,
604 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
605 __glibcpp_double_has_SNaN, __glibcpp_double_denorm_min_bytes,
606 __glibcpp_double_has_denorm, __glibcpp_double_is_iec559,
607 __glibcpp_long_double_infinity_bytes,
608 __glibcpp_long_double_has_infinity, __glibcpp_long_double_QNaN_bytes,
609 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
610 __glibcpp_long_double_has_SNaN, __glibcpp_long_double_denorm_min_bytes,
611 __glibcpp_long_double_has_denorm, __glibcpp_long_double_is_iec559:
613 (__glibcpp_word_bits, __glibcpp_word): Likewise.
614 (__glibcpp_byte): New typedef.
615 (__float_storage, __double_storage, __long_double_storage): New types.
616 (__glibcpp_float_infinity, __glibcpp_float_QNaN,
617 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Now
619 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
620 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
621 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
622 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
625 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_float_QNaN,
626 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Define.
627 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
628 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
629 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
630 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
633 2002-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
635 * include/std/std_limits.h: Indent conditional macro definitions.
637 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
639 * Makefile.am (check-abi): Specify current directory.
640 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Fix shell syntax, use
641 abi_baseline_triplet in baseline_file.
642 * Makefile.in, aclocal.m4, configure: Regenerate.
643 * configure.target: Add abi_baseline_triplet with default.
644 * testsuite/abi_check.cc: More error checking.
646 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
648 * config/linker-map.gnu: Verbose comments, clean up spacing.
649 * include/bits/stl_alloc.h: Fix indentation of 'if' bodies, return
651 __allocator: Change class declaration to struct.
652 * docs/html/17_intro/C++STYLE: Fix typo.
653 * include/bits/stl_deque.h, include/bits/stl_list.h,
654 include/bits/stl_map.h, include/bits/stl_multimap.h,
655 include/bits/stl_vector.h: Fix fallout from typo.
657 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
659 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
660 GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
662 * aclocal.m4: Regenerate.
663 * testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
665 * testsuite/Makefile.in: Regenerate.
667 2002-08-22 Loren J. Rittle <ljrittle@acm.org>
669 * testsuite/abi_check.cc: Enhance shell portability.
670 Support older binutils/readelf.
671 * config/abi/i386-unknown-freebsd4.6: Add.
672 * config/abi/i386-unknown-freebsd4.6/baseline_symbols.txt: New file.
674 2002-08-22 Paolo Carlini <pcarlini@unitus.it>
676 * docs/html/faq/index.html: Add Loren James Rittle and
677 Paolo Carlini to the list of v3 maintainers.
678 * docs/html/faq/index.txt: Ditto.
679 * docs/html/17_intro/RELEASE-NOTES: Ditto.
681 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
682 Phil Edwards <pme@gcc.gnu.org>
683 Ulrich Drepper <drepper@redhat.com>
685 * Makefile.am (check-abi): New rule.
686 * Makefile.in: Regenerate.
687 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
688 * aclocal.m4: Regenerate.
689 * configure: Regenerate.
690 * testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
691 (abi_check_SOURCES): Add.
692 * testsuite/Makefile.in: Regenerate.
693 * testsuite/abi_check.cc: New file.
695 * config/abi/i686-pc-linux-gnu: Add.
696 * config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.
698 2002-08-19 Benjamin Kosnik <bkoz@redhat.com>
700 * configure.in (libtool_VERSION): Update to 5:1:0.
701 * configure: Regenerate.
703 2002-08-19 Jonathan Wakely <jw@kayari.org>
705 * docs/html/configopts.html, docs/html/documentation.html,
706 docs/html/install.html, docs/html/22_locale/codecvt.html,
707 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
708 docs/html/22_locale/locale.html,
709 docs/html/22_locale/messages.html: Conform to HTML 4.01 standard.
711 2002-08-15 Benjamin Kosnik <bkoz@redhat.com>
713 * include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
714 _M_buf_size_opt to zero when unbuffering.
715 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
716 Consistency checks for _M_buf_size_opt.
718 Revert PR libstdc++/7445
719 * src/locale.cc (locale::classic): Revert.
721 * docs/html/17_intro/TODO: Add.
723 2002-08-15 Phil Edwards <pme@gcc.gnu.org>
725 * docs/html/documentation.html: Update doxygen links for 3.2.
727 2002-08-15 Steve Ellcey <sje@cup.hp.com>
729 * libsupc++/unwind-cxx.h (__cxa_exception): Change catchTemp
730 type from void* to _Unwind_Ptr.
731 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
732 Do not cast landing_pad or base_of_encoded_value to (void *).
733 * libsupc++/eh_throw.cc (__gxx_exception_cleanup):
734 Accept _URC_NO_REASON as a valid reason code.
736 2002-08-14 Jonathan Wakely <jw@kayari.org>
738 * docs/html/22_locale/messages.html: Use HTML entities for
741 2002-08-13 Jonathan Wakely <jw@kayari.org>
742 Phil Edwards <pme@gcc.gnu.org>
744 * docs/html/documentation.html: Use HTML entities for punctuation.
746 2002-08-09 Phil Edwards <pme@gcc.gnu.org>
748 * include/bits/deque.tcc, include/bits/list.tcc,
749 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
750 include/bits/stl_list.h, include/bits/stl_map.h,
751 include/bits/stl_multimap.h, include/bits/stl_queue.h,
752 include/bits/stl_stack.h, include/bits/stl_vector.h,
753 include/bits/vector.tcc: Re-indent contents of namespace std,
754 re-wrap comment lines as necessary.
756 2002-08-08 Danny Smith <dannysmith@users.sourceforge.net>
757 Benjamin Kosnik <bkoz@redhat.com>
759 * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
761 * testsuite/27_io/narrow_stream_objects.cc (test10): Add.
763 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
765 * libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
766 * libsupc++/Makefile.in: Regenerate.
768 2002-08-05 Gabriel Dos Reis <gdr@nerim.net>
771 * include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
772 Instantiate with new function objects.
773 * include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
775 * include/bits/gslice_array.h: Likewise.
776 * include/bits/indirect_array.h: Likewise.
778 2002-08-03 Gabriel Dos Reis <gdr@nerim.net>
780 * testsuite/26_numerics/valarray_name_lookup.cc: Rename from
781 testsuite/26_numerics/valarray_name_lookup.C
783 * include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
784 object function surrogates.
785 * include/bits/valarray_meta.h (__shift_left): Fix typo.
786 (_BinFunClos<>): Remove.
787 (_BinFunBase<>): Likewise.
788 (_BinFunBase1<>):Likewise.
789 (_BinFunBase2<>): Likewise.
790 (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
791 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
792 (_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
793 (_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
794 * include/std/std_valarray.h: Dont #include <functional> anymore.
795 (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
796 _Shift_right<>): Remove.
797 (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
798 (_DEFINE_BINARY_OPERATOR): Tweak definition.
799 (_DEFINE_LOGICAL_OPERATOR): Remove.
800 * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.
802 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
804 * include/bits/valarray_meta.h (_UnFunBase<>): Remove.
805 (_UnFunClos<>): Same.
806 (_UnBase<>): Reformat. Make first template-parameter non
808 (_UnClos<>): Likewise.
809 (_Expr<>): Reformate. Adjust unary member operator return types.
810 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
811 (_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
812 * include/std/std_valarray.h (_UnClos<>): Adjust declaration.
813 (valarray<>::_UnaryOp<>): New nested traits. Adjust unary member
814 operator return types. Reformat.
815 (_Bitwise_not): Remove.
816 (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
817 * testsuite/26_numerics/valarray_name_lookup.C: New test.
819 2002-08-02 Danny Smith <dannysmith@users.sourceforge.net>
821 * config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
822 (scan_is): Use this->is.
823 (scan_not): Likewise.
825 2002-08-02 Benjamin Kosnik <bkoz@redhat.com>
827 Revert PR libstdc++/6594
828 * src/strstream.cc (strstreambuf): Revert.
829 (strstreambuf::overflow): Same.
830 (strstreambuf::~strstreambuf): Same.
831 * testsuite/backward/strstream_members.cc (test02): Add.
833 * docs/html/abi.txt: Update. Spell check.
835 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
837 * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
838 * testsuite/Makefile.in: Regenerate.
839 * testsuite/testsuite_hooks.h: Use __throw_exception_again,
840 include functexcept.h so that -fno-exceptions will build.
842 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
844 * include/bits/valarray_meta.h (__unary_plus, __negate,
845 __bitwise_not, __plus, __minus, __multiplies, __divides,
846 __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
847 __shift_left, __shift_right, __logical_and, __logical_or,
848 __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
849 __greater_equal, __greater, __atan2, __pow): New function object
851 (__fun<>): New function traits class.
853 2002-08-01 Rick Danos <rdanos@hotmail.com>
856 * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
857 * config/os/newlib/ctype_inline.h (is): Use static_cast.
859 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
861 * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
862 * libsupc++/Makefile.in: Regenerate.
864 2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
865 Jakub Jelinek <jakub@redhat.com>
867 * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
868 GLIBCPP_3.1 to GLIBCPP_3.2.
870 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
871 Mark Mitchell <mark@codesourcery.com>
874 * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
876 (__class_type_info): And here.
878 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
882 (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
883 (__base_class_info::__base): Change to __base_type. 2.9.5p6c
884 (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
885 (__vmi_class_type_info::__base_info): Don't make const, of type
886 __base_class_type_info, as per 2.9.5p6c
887 (__pbase_type_info::__qualifier_flags): Change to __flags, as per
889 (__pbase_type_info::__qualifier_masks): Change to __masks, as per
891 (__pointer_to_member_type_info::__context_class): Change member to
892 __context, as per 2.9.5p9.
893 * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
895 * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
897 * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
899 * libsupc++/tinfo.cc (__do_dyncast): Same.
900 * libsupc++/tinfo.cc (__do_upcast): Same.
902 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
904 * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
906 2002-07-31 Simon Whomsley <whomsley@avacadcam.com>
908 * docs/html/22_locale/howto.html: Fix.
910 2002-07-31 Alex Kompel <shurik@sequoiap.com>
913 * src/locale.cc (locale::classic): Move locks inside !_S_classic
916 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
918 * docs/html/abi.txt: Update.
920 2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
921 Gabriel Dos Reis <gdr@nerim.net>
923 * include/bits/char_traits.h: Remove generic definitions.
924 * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
926 * include/bits/istream.tcc (istream::readsome): Don't check
927 against eof, instead use constants.
928 (istream::sync): Same.
929 (istream::sentry::sentry): Use eq_int_type.
930 (istream::get): Same.
931 * include/bits/ostream.tcc: Change __pad to
932 __pad<_CharT, _Traits>::_S_pad.
933 * include/bits/locale_facets.h: Add __pad_traits generic and
934 ostreambuf_iterator specialization.
935 * include/bits/locale_facets.tcc: Change __pad into struct __pad
936 with a _CharT and _Traits template parameter and _S_pad static
938 * src/locale-inst.cc: Update __pad instantiations.
940 * include/std/std_fstream.h: Declare _M_underflow_common
942 * src/fstream.cc: New. Add _M_underflow_common specializations.
943 * include/bits/fstream.tcc (filebuf::close): Use traits_type.
944 (filebuf::_M_underflow_common(bool)): Remove generic version, as
945 sys_ungetc and custom int_types don't get along.
946 * include/std/std_streambuf.h: Add _M_pos.
947 * src/Makefile.am (sources): Add fstream.cc.
948 * src/Makefile.in: Regenerate.
950 * testsuite/21_strings/capacity.cc: Add char_traits specializations.
951 * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
952 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
953 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
954 * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
955 * testsuite/27_io/filebuf.cc: ...here.
956 * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
957 specialization for both.
958 * testsuite/27_io/streambuf.cc: Add instantiation test,
959 testsuite_hooks include.
960 * testsuite/27_io/istream.cc: Same.
961 * testsuite/27_io/ostream.cc: Same.
962 * testsuite/27_io/fstream.cc: Same.
963 * testsuite/27_io/stringstream.cc: Same.
964 * testsuite/27_io/filebuf.cc: Same.
965 * testsuite/27_io/stringbuf.cc: Same.
967 2002-07-29 Alan Modra <amodra@bigpond.net.au>
969 * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
970 * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
971 * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
972 (__test_and_set): Remove.
973 (_STWCX): Define and use.
975 2002-07-26 Phil Edwards <pme@gcc.gnu.org>
977 * libsupc++/new (placement delete): Remove unused parameter names.
979 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
982 * include/std/std_istream.h (basic_iostream): Add typedefs for
983 char_type, int_type, pos_type, off_type, and traits_type.
984 * testsuite/27_io/iostream.cc (test01): Add typedef tests.
985 * testsuite/27_io/istream.cc: Same.
986 * testsuite/27_io/ostream.cc: Same.
987 * testsuite/27_io/filebuf.cc: Same.
988 * testsuite/27_io/stringbuf.cc: Replace content, move to...
989 * testsuite/27_io/stringbuf_members.cc: ...here.
990 * testsuite/27_io/streambuf.cc: Replace content, move to...
991 * testsuite/27_io/streambuf_members.cc: ...here.
992 * testsuite/27_io/stringstream.cc: Replace content, move to...
993 * testsuite/27_io/stringstream_members.cc: ...here.
994 * testsuite/27_io/ios.cc: New file.
995 * testsuite/27_io/fstream.cc: New file.
996 * testsuite/27_io/ifstream.cc: New file.
997 * testsuite/27_io/ofstream.cc: New file.
998 * testsuite/27_io/istringstream.cc: New file.
999 * testsuite/27_io/ostringstream.cc: New file.
1001 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
1004 * include/bits/istream.tcc (istream::ignore): Don't extract on
1006 * testsuite/27_io/istream_unformatted.cc (test10): Add.
1008 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
1010 * testsuite/27_io/ios_base_type.cc: Move to...
1011 * testsuite/27_io/ios_base_types.cc: ...here.
1013 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
1016 * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
1017 * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
1019 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
1022 * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
1023 * include/Makefile.am (backward_headers): Use strstream, not
1025 * include/Makefile.in: Regenerate.
1026 * include/backward/strstream: Revert.
1027 * include/backward/strstream.h: Remove.
1028 * src/strstream.cc: Revert.
1029 * testsuite/backward/strstream_members.cc: Change include.
1031 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
1034 * include/bits/ios_base.h (ios_base::streampos): Add.
1035 (ios_base::streamoff): Add.
1036 * testsuite/27_io/ios_base_type.cc: New.
1038 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
1041 * libsupc++/new: Add placement delete.
1042 * testsuite/18_support/new_delete_placement.cc: New.
1044 * docs/html/abi.txt: Fix typos.
1046 2002-07-23 Benjamin Kosnik <bkoz@redhat.com>
1048 * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
1049 confusing usage of "latest."
1050 De-tangle contributor information from introductory notes.
1051 Move abi.txt link placement, activate.
1053 Move chapter info into old FAQ format.
1054 * docs/html/organization.html: Removed, obsoleted by doxygen work.
1055 * docs/html/abi.txt: Add notes on testing ABI changes.
1057 2002-07-20 Phil Edwards <pme@gcc.gnu.org>
1059 * docs/html/abi.txt: New file.
1060 * docs/html/23_containers/howto.html: Tweak vector-overhead text.
1061 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
1062 Import from upstream, R22.
1064 * include/bits/char_traits.h, include/bits/stl_iterator.h,
1065 include/bits/stl_iterator_base_types.h, libsupc++/exception,
1066 libsupc++/new, libsupc++/typeinfo: Use @brief markup.
1068 * include/bits/deque.tcc, include/bits/stl_alloc.h,
1069 include/bits/stl_deque.h, include/bits/stl_list.h: Postpone removal
1070 of deprecated functions until 3.4. (Same timeframe, different text.)
1071 * include/bits/stl_vector.h: Ditto. Also do the same cleanups that
1072 the other sequence classes received.
1074 2002-07-18 Brendan Kehoe <brendan@zen.org>
1076 * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
1079 2002-07-19 Gabriel Dos Reis <gdr@nerim.net>
1082 * include/bits/slice_array.h
1083 (slice_array<T>::operator=(const T&)): Constify.
1084 * include/bits/gslice_array.h
1085 (gslice_array<T>::operator=(const T&)): Likewise.
1086 * include/bits/mask_array.h
1087 (mask_array<T>::operator=(const T&)): Likewise.
1088 * include/bits/indirect_array.h
1089 (indirect_array<T>::operator=(const T&): Likewise.
1091 2002-07-17 Phil Edwards <pme@gcc.gnu.org>
1093 * docs/doxygen/run_doxygen: Remove template parameter names from
1094 "Compound List" summary page. Reformat.
1095 * docs/html/documentation.html: XHTML fixes.
1097 2002-07-16 Andreas Schwab <schwab@suse.de>
1099 * libsupc++/new (set_new_handler): Declare to not throw any
1101 * libsupc++/new_handler.cc (set_new_handler): Likewise.
1103 2002-07-16 Gabriel Dos Reis <gdr@nerim.net>
1105 * include/Makefile.am (bits_headers): Remove slice.h
1106 * include/Makefile.in: Regenerate.
1107 * include/bits/slice.h (slice): move to include/bits/slice_array.h
1108 * include/bits/slice.h Remove.
1109 * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
1110 * include/bits/slice_array.h: Comply to official coding styles.
1111 * testsuite/26_numerics/slice.cc: New test.
1113 2002-07-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1115 * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
1116 print to match vendor <ctype.h>.
1118 2002-07-15 Phil Edwards <pme@gcc.gnu.org>
1120 * docs/html/faq/index.html: Fix download links.
1121 * docs/html/faq/index.txt: Regenerate.
1122 * docs/html/17_intro/porting.html: Regenerate from earlier changes.
1124 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1126 * configure.target (target_os switch): Allow for irix6*o32
1129 2002-07-10 Gabriel Dos Reis <gdr@nerim.net>
1131 * include/bits/valarray_meta.h (_UnFunBase): Take a second
1132 template parameter. Remove _M_func data member.
1133 (_UnFunClos): Take a third template parameter.
1134 (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
1135 __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
1136 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
1138 2002-07-08 Eric Christopher <echristo@redhat.com>
1140 * configure.target: Fix comment for mips atomicity. Add
1141 mips*-*-linux* target, enable atomic operations there.
1142 * config/cpu/mips/atomicity.h: Fix comments, remove
1143 #ifndef/#endif. Add push/pop mips2.
1145 2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1147 * include/bits/stl_deque.h (_Deque_alloc_base): Change order of
1148 member declarations to avoid compiler warnings and restore 3.1 ABI.
1150 2002-07-08 Phil Edwards <pme@gcc.gnu.org>
1152 * docs/html/23_containers/howto.html: Link to dk_std::vector paper
1155 2002-07-07 Paolo Carlini <pcarlini@unitus.it>
1158 * include/bits/stl_deque.h (_Deque_iterator::operator-):
1159 Make non-member, as already happens for the comparison
1160 operators in accord with DR179 (Ready).
1161 * testsuite/23_containers/deque_operators.cc: Add test02.
1163 2002-07-04 Benjamin Kosnik <bkoz@redhat.com>
1164 Jack Reeves <jackw_reeves@hotmail.com>
1166 * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
1167 size_t, from int_type.
1168 (basic_streambuf::_M_buf_size_opt): Same.
1169 (basic_streambuf::_S_pback_sizex): Same.
1170 * include/bits/streambuf.tcc: Same.
1171 * include/std/std_streambuf.h (basic_streambuf::snextc): Use
1173 (basic_streambuf::uflow): Same.
1174 * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
1176 * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
1177 * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
1179 (basic_streambuf::xsputn): Same.
1180 (__copy_streambufs): Same.
1182 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
1184 * include/std/std_memory.h: Fix formatting.
1185 * testsuite/20_util/auto_ptr_neg.cc: New.
1186 * testsuite/20_util/auto_ptr.cc: Tweaks.
1187 * testsuite/23_containers/map_operators.cc (test01): Split into..
1188 * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
1189 * testsuite/23_containers/set_operators.cc: Move to...
1190 * testsuite/23_containers/set_operators_neg.cc: ...here.
1191 * testsuite/README: Add some more naming rules.
1193 2002-07-03 Steev Wilcox <steev@paradigmds.com>
1196 * include/ext/stl_hashtable.h: Fix.
1197 * testsuite/ext/hash_map.cc: New.
1199 2002-07-03 Jack Reeves <jackw_reeves@hotmail.com>
1200 Kenny Simpson <theonetruekenny@yahoo.com>
1201 Phil Edwards <pme@gcc.gnu.org>
1204 * testsuite/20_util/auto_ptr.cc (test08): New test.
1205 * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit.
1206 (auto_ptr::operator auto_ptr_ref): Fix typo.
1207 General reformatting and doxygenating of the whole file.
1209 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
1212 * include/c/std_cwchar.h: Fix.
1214 2002-07-02 Benjamin Kosnik <bkoz@redhat.com>
1217 * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
1218 char* name parameter.
1219 * config/locale/gnu/monetary_members.cc: Use it.
1220 * config/locale/generic/monetary_members.cc: Same.
1221 * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
1223 * include/backward/strstream.h: Update date.
1225 2002-07-02 Paolo Carlini <pcarlini@unitus.it>
1228 * include/bits/stl_iterator.h
1229 (__normal_iterator::operator-(const __normal_iterator&)):
1230 Make non-member, as already happens for the comparison
1231 operators in accord with DR179 (Ready).
1232 * testsuite/24_iterators/iterator.cc: Add test from the PR.
1234 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
1237 * acinclude.m4: Simplify determination of gcc_version, and move
1238 up to GLIBCPP_CONFIGURE.
1239 * configure.in (release_VERSION): Really remove.
1240 (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER): Move after GLIBCPP_CONFIGURE.
1241 * aclocal.m4, configure: Regenerate.
1243 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
1245 * docs/html/configopts.html, docs/html/install.html: Tweaks.
1246 * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
1247 include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
1248 include/ext/slist, include/ext/stl_rope.h: Add doxygen hooks.
1250 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
1252 * include/backward/strstream: Remove namespace std. Transfer to...
1253 * include/backward/strstream.h: ...here. Qualify std names.
1254 * src/strstream.cc: Remove namespace std.
1255 * include/Makefile.am (backward_headers): Remove strstream.h.
1256 * include/Makefile.in: Regenerate.
1257 * config/linker-map.gnu: Export strstream bits.
1259 * src/fstream-inst.cc: Tweak.
1260 * src/io-inst.cc: Same.
1261 * src/istream-inst.cc: Same.
1262 * src/misc-inst.cc: Same.
1263 * src/ostream-inst.cc: Same.
1264 * src/sstream-inst.cc: Same.
1265 * src/valarray-inst.cc: Same.
1266 * src/misc-inst.cc: Remove unused instantiations.
1268 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
1270 * configure.in (libtool_VERSION): Bump to 5:0:0.
1271 * configure: Regenerate.
1273 2002-06-28 Phil Edwards <pme@gcc.gnu.org>
1275 PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
1276 * include/std/std_queue.h: Include deque.tcc, vector.tcc.
1277 * include/std/std_stack.h: Include deque.tcc.
1278 * testsuite/23_containers/adaptors.cc: New file.
1280 2002-06-27 Phil Edwards <pme@gcc.gnu.org>
1282 * include/bits/stl_alloc.h: Deprecate all 'reallocate' memfns.
1283 * docs/html/ext/howto.html: Update allocator notes.
1285 2002-06-26 Benjamin Kosnik <bkoz@redhat.com>
1287 * configure.in (INTERFACE): Remove.
1288 (release_VERSION): Remove.
1289 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
1290 (libstdcxx_interface): Change. Use gcc methods to determine version.
1291 * configure: Regenerate.
1292 * aclocal.m4: Regenerate.
1294 2002-06-25 DJ Delorie <dj@redhat.com>
1296 * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
1297 GLIBCPP_TOPREL_CONFIGURE.
1298 * aclocal.m4: Likewise.
1299 * configure.in: Call it before AC_CANONICAL_SYSTEM.
1300 * configure: Regenerate.
1302 2002-06-25 Jessica Han <jessica@cup.hp.com>
1304 * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
1305 * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
1306 _GLIBCPP_VTABLE_PADDING is defined.
1308 2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
1310 * include/bits/stl_alloc.h: Additional formatting.
1312 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
1314 * include/bits/stl_alloc.h: Reformat as per C++STYLE.
1316 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
1318 * config/cpu/*/bits/*: Move header files up a level. Remove bits.
1319 * config/os/*/bits/*: Likewise.
1320 * configure.in: Update.
1321 * configure: Regenerate.
1322 * configure.target: Update.
1323 * docs/html/17_intro/porting.texi: Update.
1325 2002-06-21 Phil Edwards <pme@gcc.gnu.org>
1327 * include/bits/stl_map.h, include/bits/stl_multimap.h,
1328 include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
1329 complete doxygenation.
1330 * include/bits/boost_concept_check.h: Minor comment.
1332 2002-06-21 Benjamin Kosnik <bkoz@redhat.com>
1334 * include/c_compatibility: New.
1335 * include/c_compatibility/assert.h: New.
1336 * include/c_compatibility/ctype.h: New.
1337 * include/c_compatibility/errno.h: New.
1338 * include/c_compatibility/float.h: New.
1339 * include/c_compatibility/iso646.h: New.
1340 * include/c_compatibility/limits.h: New.
1341 * include/c_compatibility/locale.h: New.
1342 * include/c_compatibility/math.h: New.
1343 * include/c_compatibility/setjmp.h: New.
1344 * include/c_compatibility/signal.h: New.
1345 * include/c_compatibility/stdarg.h: New.
1346 * include/c_compatibility/stddef.h: New.
1347 * include/c_compatibility/stdio.h: New.
1348 * include/c_compatibility/stdlib.h: New.
1349 * include/c_compatibility/string.h: New.
1350 * include/c_compatibility/time.h: New.
1351 * include/c_compatibility/wchar.h: New.
1352 * include/c_compatibility/wctype.h: New.
1354 * include/c/std_cerrno.h: Get out of the way... define errno.
1355 * include/c/std_cmath.h: Add abs, modf overloads.
1356 Undefine C99 isms. Still not sure how to deal with this sanely.
1357 * include/c/std_csetjmp.h: Tweak.
1358 * include/c/std_cwchar.h: Include cstddef for size_t.
1360 * include/c_std/std_cmath.h: Remove extra function.
1362 Pendantic std usage in testsuites.
1363 * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
1365 * testsuite/17_intro/header_cwchar.cc: Tweak.
1366 * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
1368 * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
1369 * testsuite/22_locale/ctype_to_char.cc (test05): Same.
1370 * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
1371 * testsuite/22_locale/ctype_is_char.cc (test05): Same.
1372 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
1373 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
1374 * testsuite/22_locale/time_get_members_char.cc (test08): Same.
1375 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
1376 * testsuite/22_locale/time_put_members_char.cc (test04): Same.
1377 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
1378 * testsuite/22_locale/num_put_members_char.cc (test04): Same.
1379 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
1380 * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
1381 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
1382 * testsuite/22_locale/num_get_members_char.cc: Same.
1383 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
1384 * testsuite/22_locale/money_put_members_char.cc (test07): Same.
1385 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
1386 * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
1387 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
1388 * testsuite/22_locale/money_get_members_char.cc (test08): Same.
1389 * testsuite/22_locale/messages_members_char.cc (test03): Same.
1390 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
1391 * testsuite/22_locale/collate_members_char.cc (test04): Same.
1392 * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
1393 * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
1394 * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
1396 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1398 * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
1401 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1403 * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
1404 Use size_type instead of unsigned long.
1406 2002-06-20 Steve Ellcey <sje@cup.hp.com>
1408 * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
1410 (_S_min_len): Ditto.
1412 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1414 * include/Makefile.am: Add rules.
1415 * include/Makefile.in: Regenerate.
1417 * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
1418 * aclocal.m4: Regenerate.
1419 * configure: Regenerate.
1420 * configure.target (c_model, c_compatibility): Add.
1422 * libsupc++/Makefile.am (c_sources): New.
1423 (libsupc___la_SOURCES): Add c_sources.
1424 (LTCOMPILE): Remove INCLUDES.
1425 (GCC_INCLUDES): New.
1426 (C_COMPILE): New, like COMPILE but without INCLUDES.
1427 (cxa_demangle.o): Use C_COMPILE.
1428 (dyn-string.o): Use C_COMPILE.
1430 * include/c/std_cstdarg.h: Define __need___va_list.
1431 * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
1432 need_NULL, need_offsetof.
1434 2002-06-19 Steve Ellcey <sje@cup.hp.com>
1436 * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*): Remove
1437 definitions in hpux11 cross-build because these functions do
1438 not exist on hpux11 (but some exist on hpux10); move defaults out
1439 into existing sections.
1440 * configure: Regenerate.
1442 2002-06-18 Benjamin Kosnik <bkoz@redhat.com>
1444 * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
1445 * include/c/std_cwctype.h: Guard.
1447 * libsupc++/eh_alloc.cc: Tweak include order.
1448 * libsupc++/pure.cc: Use cstdio.
1449 * libsupc++/new_op.cc: Remove malloc forward declaration, as
1450 cstdlib brings it in. Use std::malloc.
1452 * src/Makefile.am (sources): Remove cmath.cc.
1453 * src/Makefile.in: Regenerate.
1454 * src/cmath.cc: Remove.
1456 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
1458 * configure.target: Force mips to use the generic cpu routines.
1460 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
1462 * configure.host: Delete file.
1463 * configure.target: More documentation. Factor out common parts of
1464 script into "intelligent" settings about defaults. Remove redundancy.
1466 * acinclude.m4: Update comments. Do not call configure.host.
1467 (GLIBCPP_ENABLE_SYMVERS): If disabled, do not bother checking for
1469 * configure.in: Slight reformatting, more comments. Factor out
1470 "config/" from all the directories.
1471 * docs/html/17_intro/porting.texi: Update and expand.
1472 * testsuite/Makefile.am (AM_RUNTESTFLAGS): Move empty setting
1473 from configure.host.
1475 * aclocal.m4, configure, docs/html/17_intro/porting.html,
1476 testsuite/Makefile.in: Regenerate.
1478 2002-06-16 Phil Edwards <pme@gcc.gnu.org>
1480 * docs/doxygen/TODO: Update.
1481 * docs/doxygen/tables.html: Uncomment magical middle column.
1482 * docs/doxygen/user.cfg.in: Kludge to ignore function-like macros.
1483 * include/bits/stl_queue.h: Doxygenate and reformat.
1484 * include/bits/ios_base.h, include/std/std_streambuf.h: Add comment
1485 for deprecated names required by the standard.
1487 2002-06-14 J.T. Conklin <jtc@acorntoolworks.com>
1489 * configure.in (target_alias): Fix.
1490 * configure: Regenerate.
1491 * aclocal.m4: Regenerate.
1493 2002-06-12 Phil Edwards <pme@gcc.gnu.org>
1495 * include/Makefile.am: Add new files.
1496 * include/Makefile.in: Regenerate.
1498 * include/bits/stl_deque.h, include/bits/stl_list.h,
1499 include/bits/stl_vector.h: Clean up, reformat. Move definitions...
1500 * include/bits/deque.tcc, include/bits/list.tcc,
1501 include/bits/vector.tcc: ...to here. New files.
1503 * include/ext/stl_hashtable.h: Inclide correct full headers.
1504 * include/std/std_deque.h: Include .tcc files for now.
1505 * include/std/std_list.h: Likewise.
1506 * include/std/std_vector.h: Likewise.
1508 2002-06-12 Daniel Jacobowitz <drow@mvista.com>
1510 * Makefile.am: Add FLAGS_TO_PASS.
1511 * Makefile.in: Regenerated.
1513 2002-06-11 J.T. Conklin <jtc@acorntoolworks.com>
1514 Benjamin Kosnik <bkoz@redhat.com>
1516 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
1518 * configure.in: Add support for *-qnx6.[12]*.
1519 * configure: Regenerate.
1521 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
1523 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
1524 ctype_noninline.h, os_defines.h: New files.
1526 2002-06-10 Loren J. Rittle <ljrittle@acm.org>
1528 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
1529 include all required headers for test against older POSIX standard.
1530 (GLIBCPP_CHECK_SETRLIMIT): Likewise.
1531 (ac_setrlimit): Likewise.
1532 * aclocal.m4: Regenerate.
1533 * configure: Regenerate.
1534 * testsuite/testsuite_hooks.cc: Reorder and include all
1535 required headers for use against older POSIX standard.
1537 2002-06-08 Paolo Carlini <pcarlini@unitus.it>
1539 * testsuite/backwards/strstream_members.cc: New.
1541 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
1543 * include/backwards/strstream: Format.
1544 * src/strstream.cc: Format.
1546 2002-06-08 Andreas Schwab <schwab@suse.de>
1548 * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
1549 _M_buf_size and _M_buf_size_opt to the new buffer and size.
1551 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
1553 * config/os/generic/bits/ctype_noninline.h: Tweak format.
1555 2002-06-07 Steve Ellcey <sje@cup.hp.com>
1557 * src/locale-inst.cc (__codecvt_abstract_base):
1558 Put inside _GLIBCPP_USE_WCHAR_T ifdef.
1559 * include/bits/istream.tcc (basic_istream): Ditto.
1562 * include/bits/ostream.tcc (basic_ostream): Ditto.
1566 (operator<<): Ditto.
1568 2002-06-07 Phil Edwards <pme@gcc.gnu.org>
1570 * mkcheck.in: Link against local testsuite library.
1571 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
1572 implementation out...
1573 * testsuite/testsuite_hooks.cc: ...to here.
1575 2002-06-06 Loren J. Rittle <ljrittle@acm.org>
1577 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
1578 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
1579 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
1580 * src/Makefile.in: Regenerate (explicitly with --cygnus option).
1581 * testsuite/Makefile.in: Likewise.
1583 2002-06-05 David Edelsohn <edelsohn@gnu.org>
1585 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
1586 Call external symbol.
1588 2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1590 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1591 Search correct multilib testsuite dir for libv3test.
1593 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
1594 Gaby Dos Reis <gdr@codesourcery.com>
1596 * include/bits/basic_string.tcc
1597 (basic_string::_S_construct(forward_iterator_tag):
1598 Fix typo in null pointer check.
1599 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
1601 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
1603 * testsuite/22_locale/money_get_members_char.cc
1604 (test02): Add decimal point to long double constants.
1605 * testsuite/22_locale/money_get_members_wchar_t.cc
1607 * testsuite/22_locale/money_put_members_char.cc
1608 (test02, test03, test06): Likewise.
1609 * testsuite/22_locale/money_put_members_wchar_t.cc:
1610 (test02, test03, test06): Likewise.
1611 * testsuite/22_locale/num_get_members_char.cc:
1612 (test02, test01): Likewise; suffix long long constants with LL.
1613 * testsuite/22_locale/num_get_members_wchar_t.cc:
1614 (test02, test01): Likewise.
1615 * testsuite/22_locale/num_put_members_char.cc:
1616 (test02, test01): Likewise.
1617 * testsuite/22_locale/num_put_members_wchar_t.cc:
1618 (test02, test01): Likewise.
1620 2002-06-03 Marc Espie <espie@openbsd.org>
1622 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
1623 assembly for old assemblers.
1625 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1627 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
1629 (vector<bool>::swap(reference,reference)): ...to this.
1631 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1633 * docs/doxygen/TODO: Update.
1634 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
1635 some class members are in 14882 order.
1636 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
1638 * include/std/std_bitset.h: Update comment.
1639 * src/bitset.cc: Update comments, clean up spacing.
1641 * src/Makefile.am (sources): Alphabetize for convenience.
1642 * src/Makefile.in: Regenerate.
1644 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1646 * include/bits/stl_deque.h, include/bits/stl_list.h,
1647 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
1648 Reorder to match 14882. Doxygen blocks for all public members.
1650 2002-05-31 Marcus Meissner <meissner@suse.de>
1653 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
1654 * testsuite/23_containers/vector_bool.cc (test02): New test.
1656 2002-05-30 Marc Espie <espie@openbsd.org>
1658 * configure.in: Always check for sys/types.h
1659 * configure: Regenerate.
1661 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1663 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
1664 Rebuild the wrapper file every time this proc is called.
1666 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
1668 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
1670 * testsuite/Makefile.in: Regenerate.
1671 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
1672 list_modifiers.cc and rename from 'T'. Move code bodies...
1673 * testsuite/testsuite_hooks.cc: ...to here. New file.
1674 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
1675 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1676 Add libv3test.a to link options.
1678 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1680 * src/misc-inst.cc: Define unnecessary algorithm
1681 instantiations. Break apart instantiations into groupings below.
1682 * src/fstream-inst.cc: New.
1683 * src/io-inst.cc: New.
1684 * src/istream-inst.cc: New.
1685 * src/ostream-inst.cc: New.
1686 * src/streambuf-inst.cc: New.
1687 * src/sstream-inst.cc: New.
1688 * src/Makefile.am (sources): Add files.
1689 * src/Makefile.in: Regenerate.
1691 * acinclude.m4: Work around automake 1.4-p5 bug, change
1692 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
1694 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1697 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
1698 (classic_table): Fix.
1699 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1701 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1703 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
1704 _GLIBCPP_USE_WCHAR_T.
1705 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
1706 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
1707 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
1709 2002-05-26 Carlo Wood <carlo@alinoe.com>
1710 Paolo Carlini <pcarlini@unitus.it>
1713 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1714 (__enc_traits::operator=): add missing return statement.
1716 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
1719 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
1720 (operator>>): If nothing was extracted, don't fail in the
1722 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
1724 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
1727 * testsuite/22_locale/ctype_narrow_char.cc: New.
1728 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
1729 * testsuite/22_locale/ctype_widen_char.cc: New.
1730 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
1731 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
1732 * testsuite/22_locale/ctype_is_char.cc: ...this.
1733 * testsuite/22_locale/ctype_to_char.cc: ...and this.
1734 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
1735 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
1736 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
1738 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
1740 2002-05-24 Dale Peakall <dale@peakall.net>
1743 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
1744 * config/locale/generic/ctype_members.cc: Same.
1746 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
1749 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1750 for empty string literal.
1751 (ostream::operator<<(const _CharT*)): Same.
1752 (ostream<char>::operator<<(const char*)): Same.
1753 (ostream<char>::operator<<(streambuf*)): Same.
1754 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
1755 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
1757 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
1759 * configure.in (release_VERSION): Update to 3.1.1.
1760 (libtool_VERSION): Update to 4:1:0.
1761 * configure: Regenerate.
1763 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1765 * include/bits/stl_pair.h: Tweak comment markup.
1767 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1769 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
1771 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1773 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
1775 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1777 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
1778 Doxygenate all public members. Reorder to follow 14882.
1779 (vector::push_back(void)): Remove previously-deprecated fn.
1780 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
1781 Deprecate for removal in 3.3.
1783 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
1785 * docs/html/faq/index.html (5.4): Recommend against -I options for
1786 finding the ext headers.
1787 * docs/html/faq/index.txt: Regenerate.
1789 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
1791 * testsuite/23_containers/deque_operators.cc (test01):
1792 Fix minor typo in last commit.
1794 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
1797 * include/bits/stl_deque.h (_Deque_iterator::operator==,
1798 operator!=, operator<, operator>, operator>=, operator<=):
1799 Make non-member functions, to allow comparing const and
1800 non-const iterators in any order.
1801 * testsuite/23_containers/deque_operators.cc: New testfile.
1803 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
1805 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
1806 * docs/html/faq/index.txt: Regenerate.
1808 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1810 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
1811 * acinclude.m4: Likewise.
1812 * docs/html/Makefile: Likewise.
1813 * aclocal.m4: Regenerate.
1814 * configure: Regenerate.
1815 * Makefile.in: Regenerate.
1817 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
1820 * include/bits/c++config (__USE_MALLOC): Report case where
1821 the user improperly defined it on the command line.
1823 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1825 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
1826 Retrieve current limits before setting.
1828 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
1831 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1833 (ostream::operator<<(const _CharT*)): Same.
1834 (ostream<char>::operator<<(const char*)): Same.
1835 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
1837 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
1840 * src/strstream.cc (strstreambuf): Fix leak.
1842 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
1845 * include/bits/istream.tcc (istream::getline, ignore):
1846 Upon __idelim (__delim) call sbumpc() not snextc().
1847 * testsuite/27_io/narrow_stream_objects.cc:
1848 Add test08 and test09.
1850 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1852 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
1853 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
1855 * docs/html/install.html: Fix.
1857 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1859 * include/bits/fstream.tcc
1860 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
1862 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
1864 * docs/html/install.html: Tweak, add bits about required locales
1865 for the 22_locale tests when using the gnu model.
1867 * testsuite/27_io/istream_sentry.cc: Tweak.
1869 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1871 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
1872 Fix typo, use this->is() rather than manually (and perhaps
1873 incorrectly) inlining it.
1874 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
1876 * testsuite/22_locale/ctype_scan_char.cc: New file.
1878 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1879 Jakub Jelinek <jakub@redhat.com>
1881 * testsuite/22_locale/money_get_members_char.cc
1882 (test01, test02, test04): Use the de_DE@euro named locale
1883 instead of de_DE to allow for an uniform behaviour with
1884 both old and Euro-era localedata; tweak some tests.
1885 * testsuite/22_locale/money_get_members_wchar_t.cc
1886 (test01, test02, test04): Likewise.
1887 * testsuite/22_locale/money_put_members_char.cc
1888 (test01, test02, test04): Likewise.
1889 * testsuite/22_locale/money_put_members_wchar_t.cc
1890 (test01, test02, test04): Likewise.
1892 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1894 * testsuite/22_locale/codecvt_members_char_char.cc
1895 (test03): Robustify wrt localedata.
1896 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
1897 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
1898 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
1899 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
1900 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
1901 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
1902 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
1903 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
1904 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
1905 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
1906 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
1907 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
1908 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
1909 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
1910 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1911 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1912 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
1913 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
1914 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
1915 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
1916 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
1917 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
1919 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1921 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
1924 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1926 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
1927 to 64 for hppa 64-bit port.
1928 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
1930 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1932 * acinclude.m4 (enable_symvers): Quote $LD.
1933 * aclocal.m4: Regenerate.
1934 * configure: Likewise.
1936 2002-05-09 Jakub Jelinek <jakub@redhat.com>
1938 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
1939 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
1942 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
1944 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1945 script entry, and set LD to it when configuring multilibs.
1946 * configure: Rebuilt.
1948 2002-05-07 Mark Mitchell <mark@codesourcery.com>
1950 * configure.in: Add support for WindISS.
1951 * configure: Regenerated.
1952 * configure.target: Add support for WindISS.
1953 * config/os/windiss/bits/ctype_base.h: New file.
1954 * config/os/windiss/bits/ctype_inline.h: Likewise.
1955 * config/os/windiss/bits/ctype_noninline.h: Likewise.
1956 * config/os/windiss/bits/os_defines.h: Likewise.
1958 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
1960 Test all the facets for the temporary "C" locale switch issue.
1961 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
1962 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1963 * testsuite/22_locale/collate_members_char.cc: Add test04.
1964 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1965 * testsuite/22_locale/ctype_members_char.cc: Add test05.
1966 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
1967 * testsuite/22_locale/messages_members_char.cc: Add test03.
1968 * testsuite/22_locale/money_get_members_char.cc: Add test08.
1969 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1970 * testsuite/22_locale/money_put_members_char.cc: Add test07.
1971 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1972 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
1973 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1974 * testsuite/22_locale/num_get_members_char.cc: Add test06.
1975 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1976 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
1977 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1978 * testsuite/22_locale/time_get_members_char.cc: Add test08.
1979 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1980 * testsuite/22_locale/time_put_members_char.cc: Add test04.
1981 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1983 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1984 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1986 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1988 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
1989 __EXTENSIONS__): Ensure they are always defined.
1991 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
1993 * docs/html/documentation.html: Fix broken link.
1995 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
1996 Paolo Carlini <pcarlini@unitus.it>
1998 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
1999 testing for the locale_facets.tcc entry of the previous commit.
2000 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
2002 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
2004 * config/locale/generic/c_locale.cc
2005 (__convert_to_v(float, double, long double)):
2006 Fix the temporary switch to the "C" locale, saving and
2007 restoring in the proper way the current locale.
2008 * config/locale/generic/time_members.cc
2009 (__timepunct<char, wchar_t>::_M_put): Likewise.
2010 * config/locale/gnu/messages_members.cc
2011 (messages<char>::do_get): Likewise.
2012 * config/locale/gnu/messages_members.h
2013 (messages<_CharT>::do_get): Likewise.
2014 * config/locale/gnu/time_members.cc
2015 (__timepunct<char, wchar_t>::_M_put): Likewise.
2016 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
2018 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2020 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
2021 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
2023 * Makefile.in, config.h.in, configure: Regenerate.
2025 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
2028 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
2029 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
2031 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2033 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
2035 (ctype:_M_table): Initialize to classic_table(), not __ctype.
2037 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2039 * configure.in: Update local install.html, configopts.html paths.
2040 * configure: Regenerate.
2042 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2044 * config/os/irix/irix5.2/bits/os_defines.h
2045 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
2047 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
2050 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
2052 * docs/html/faq/index.html: Update list in #4.1.
2053 * docs/html/faq/index.txt: Regenerated.
2055 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
2057 * docs/html/17_intro/RELEASE-NOTES (New): Update.
2059 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
2061 * include/std/std_bitset.h: Fix doxygen comments.
2062 * docs/html/documentation.html: Minor tweaks for 3.1.
2063 * docs/html/27_io/howto.html: Likewise.
2064 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
2065 * docs/html/faq/index.html: Likewise.
2066 * docs/html/faq/index.txt: Regenerated.
2068 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
2071 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
2072 (istreambuf_iterator::equal): Use it.
2073 (istreambuf_iterator::operator*): Use it.
2075 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
2078 * include/bits/stl_uninitialized.h
2079 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
2080 Fix typo in 2001-07-17 commit: typedef _ValueType to
2081 iterator_traits<_ForwardIter> not <_InputIter>.
2082 * testsuite/23_containers/vector_ctor.cc: Add test04.
2084 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
2087 * include/c_std/std_cctype.h: Include bits/c++config.h.
2088 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
2090 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
2092 * include/ext/stdio_filebuf.h: New file.
2093 * include/ext/enc_filebuf.h: New file.
2094 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
2095 * config/io/basic_file_stdio.cc: Same.
2096 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
2097 Remove _M_unbuf hacks.
2098 (filebuf::_M_destroy_internal_buffer): Same.
2099 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
2100 (filebuf::fd): Remove.
2101 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
2102 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
2103 (filebuf::fd): Remove.
2104 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
2106 (ios_base::_S_ios_destroy): Same.
2107 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
2108 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
2109 stdio_filebuf.h. * include/Makefile.in: Regenerate.
2111 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
2114 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
2116 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
2119 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
2121 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
2122 (istreambuf_iterator::operator++): Invalidate on eof.
2123 (istreambuf_iterator::operator++(int)): Same.
2124 (istreambuf_iterator::operator*): Same.
2126 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2128 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
2129 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
2132 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
2135 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
2136 (__basic_file::sys_ungetc): Take int.
2137 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
2138 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
2139 Use sys_getc for unbuffered input.
2140 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
2142 * src/ios.cc (_M_grow_words): Adjust error checking.
2143 * testsuite/27_io/ios_base_storage.cc: Same.
2145 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2147 * include/ext/stl_hashtable.h: Import __iterator_category
2149 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
2150 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2152 * testsuite/ext/hash_set.cc: New testfile.
2154 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
2156 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
2158 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
2159 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
2161 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
2163 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
2164 Fix and tighten __throw_length_error check.
2165 * testsuite/21_strings/replace.cc (test05): New.
2166 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
2168 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
2170 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
2171 unconditional flush on lower-layer handle to here...
2172 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
2173 ...from here. Optimize remaining _M_file.sync() call pattern.
2174 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
2177 2002-04-23 Jason Merrill <jason@redhat.com>
2179 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
2180 output-only filebufs.
2181 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
2183 (basic_filebuf::_M_set_determinate): Likewise.
2186 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
2187 value properly in the trivial case.
2188 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
2189 tellg() returns the right value after a read.
2191 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
2193 * config/cpu/mmix/bits/cpu_limits.h: New file.
2194 * configure.target (CPULIMITSH): Use it.
2196 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
2198 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
2199 * docs/html/17_intro/porting.html: Rebuilt.
2201 2002-04-20 Jason Merrill <jason@redhat.com>
2204 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
2206 (basic_streambuf::_M_set_determinate): Likewise.
2207 (basic_streambuf::_M_is_indeterminate): Likewise.
2208 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
2209 non-static data member.
2210 (basic_filebuf::_M_underflow_common): New non-static member function.
2211 (basic_filebuf::_M_underflow, _M_uflow): Call it.
2212 (basic_filebuf::sync): Avoid useless seeking.
2213 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
2215 (basic_filebuf::_M_set_determinate): Likewise.
2216 (basic_filebuf::_M_is_indeterminate): Likewise.
2217 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
2218 back to _M_out_beg if necessary.
2219 (basic_filebuf::seekoff): Likewise.
2220 (basic_filebuf::_M_underflow_common): Generalization of old
2221 underflow(). Don't seek back to _M_in_beg.
2222 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
2223 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
2224 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
2225 * config/os/mingw32/bits/os_defines.h: Likewise.
2226 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
2229 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
2231 * include/bits/istream.tcc (istream::read): Fix.
2232 * testsuite/27_io/istream_unformatted.cc (main): Add.
2234 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
2237 * include/bits/istream.tcc (istream::ignore): Streamline, use
2239 * include/bits/streambuf.tcc: Use this->gptr.
2240 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
2242 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
2244 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
2245 as type safety is important, especially on solaris.
2246 * include/bits/istream.tcc (istream::read): Clean.
2247 (istream::readsome): Same.
2248 * locale.cc: Wrap lines.
2250 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
2251 * testsuite/27_io/instantiations.cc (test): Add bool variable...
2252 * testsuite/21_strings/capacity.cc: Clean.
2254 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2256 * docs/doxygen/doxygroups.cc: New group on binary searching.
2257 * include/bits/stl_algo.h: Document binary searches and merges.
2258 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
2260 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2262 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
2263 * docs/doxygen/run_doxygen: Bump required version.
2264 * docs/doxygen/user.cfg.in: Revert accidental change.
2265 * docs/html/faq/index.html: Reindent a block of links.
2266 (4.4): New note on using dlsym.
2267 * docs/html/faq/index.txt: Regenerated.
2269 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2271 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
2273 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
2275 * config/linker-map.gnu (__malloc_alloc_template): Add.
2276 (__default_alloc_template): Same.
2277 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
2279 (__default_alloc_template): Same.
2281 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
2283 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
2285 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
2287 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
2288 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
2289 (__malloc_alloc_template): Conditionalize.
2291 * include/bits/istream.tcc: Remove sputbackc calls.
2293 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
2295 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
2297 * testsuite/24_iterators/rel_ops.cc: New test.
2299 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2301 * include/bits/type_traits.h (__normal_iterator): Declare in
2302 __gnu_cxx. Adjust use at global namespace.
2303 * include/bits/stl_iterator.h (__normal_iterator): Move definition
2304 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
2305 * include/bits/basic_string.h (basic_string): Adjust use of
2307 * include/bits/stl_vector.h (_Alloc>): Likewise.
2308 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
2309 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
2311 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
2315 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
2317 (__basic_file::close): Call fflush. Correct return if fclose ok.
2318 (__basic_file::is_open): Make const.
2319 Change __c_file_type to __c_file.
2320 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
2321 (__basic_file::is_open): Make const.
2322 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
2323 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
2324 (filebuf::_M_unbuf): Add.
2325 (filebuf::_M_file): Change to non-pointer.
2326 (filebuf::_M_allocate_pback_buffer): Remove.
2327 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
2328 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
2329 Change initialization list for _M_file change.
2330 (filebuf::_M_allocate_pback_buffer): Remove.
2331 Change _M_file usage to reflect non-pointer data member.
2333 * config/locale/generic/c_locale.cc
2334 (locale::facet::_S_create_c_locale): Add parameter.
2335 * config/locale/generic/collate_members.cc: Change
2336 _M_compare_helper to _M_compare.
2337 Change _M_transform_helper to _M_transform.
2338 * config/locale/generic/monetary_members.cc: Changeup data types.
2340 * config/locale/generic/numeric_members.cc: Add dtors.
2341 * config/locale/generic/time_members.cc: Add dtors.
2342 * config/locale/gnu/c_locale.cc: Add parameter.
2343 * config/locale/gnu/collate_members.cc:Change
2344 _M_compare_helper to _M_compare.
2345 Change _M_transform_helper to _M_transform.
2346 * config/locale/gnu/ctype_members.cc: Better error checking.
2347 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
2348 * config/locale/gnu/messages_members.cc: Tweak comment.
2349 * config/locale/gnu/monetary_members.cc: Change data types.
2351 * config/locale/gnu/numeric_members.cc: Add dtors, better error
2353 * config/locale/gnu/time_members.cc: Same.
2354 * config/locale/ieee_1003.1-2001/c_locale.cc
2355 (locale::facet::_S_create_c_locale): Add parameter.
2356 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
2357 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
2360 * include/bits/locale_facets.h (moneypunct): Use string literals.
2363 (__timepunct): Same.
2364 (locale::_Impl::_M_facets): Change from vector to array.
2365 (locale::_Impl::_M_names): Change from array of strings to array
2367 (locale::facet::_S_create_c_locale): Add parameter.
2368 (locale::locale::_S_num_facets): Move to...
2369 (locale::_Impl::_M_facets_size): Here.
2370 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
2372 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
2373 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
2374 (locale::_Impl::_Impl(string, size_t)): Change to
2375 (locale::_Impl::_Impl(const char*, size_t)): This.
2377 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
2378 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
2379 (streambuf::_S_pback_size): This.
2381 * src/globals.cc: Add pre-allocations for "C" facets.
2382 * src/locale-inst.cc: Remove vector instantiations.
2383 * src/locale.cc: Remove vector include. Fixups for _M_names,
2385 * src/localename.cc: Same.
2387 * include/bits/stl_vector.h: Fix odd formatting.
2389 * include/bits/basic_string.tcc: Tweak comment.
2391 * libsupc++/new: Make sure parameters are uglified.
2392 * libsupc++/typeinfo: Same.
2394 * testsuite/22_locale/num_get_members_char.cc: Fixup.
2395 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
2396 * testsuite/27_io/filebuf_members.cc: Same.
2398 2002-04-12 Steve Ellcey <sje@cup.hp.com>
2400 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
2401 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
2402 does not define strtoll or strtoull, but does define strtol
2403 and strtoul which are the same since in 64 bit mode
2404 sizeof(long) == sizeof(long long).
2406 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
2408 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
2409 trailing spaces, indentation, and macro names. Make exception
2410 messages more informative.
2412 2002-04-11 Richard Henderson <rth@redhat.com>
2414 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
2415 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
2416 (basic_ostream<>::operator<<(long long)): Same.
2418 2002-04-11 Richard Henderson <rth@redhat.com>
2420 * config/linker-map.gnu: Add __gxx_personality_sj0.
2422 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
2425 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
2427 Remove forward declaration of vector.
2429 * include/bits/locale_facets.tcc: Remove vector include.
2430 (use_locale): Adjust.
2431 (has_locale): Adjust.
2432 * src/locale.cc: Adjust.
2433 * src/localename.cc: Same.
2435 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
2436 Richard Henderson <rth@redhat.com>
2438 * include/bits/sstream.tcc: Clean up bit ops.
2439 * include/bits/fstream.tcc: Same.
2441 2002-04-09 Jakub Jelinek <jakub@redhat.com>
2443 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
2444 (__num_base::_S_scale_oct): Remove.
2445 * src/locale.cc (__num_base::_S_scale_hex): Remove.
2446 (__num_base::_S_scale_oct): Remove.
2448 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
2451 * testsuite/23_containers/bitset_members.cc: New test.
2452 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
2453 (_S_bit_count): Here.
2454 (_First_one::_S_first_one): Move...
2455 (_S_first_one): Here.
2457 * src/bitset.cc: Adjust.
2458 * config/linker-map.gnu: Export.
2460 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
2463 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
2464 * include/std/std_fstream.h: Clean.
2465 * include/bits/ostream.tcc: Remove extraneous variables.
2466 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
2467 open modes and which modes.
2468 (stringbuf::seekpos): Same.
2469 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
2471 2002-04-05 Jonathan Wakely <jw@kayari.org>
2473 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
2474 random_shuffle, partition, stable_partition, sort, stable_sort,
2475 partial_sort, partial_sort_copy, nth_element): Doxygenate.
2477 2002-04-05 David S. Miller <davem@redhat.com>
2479 * config/os/gnu-linux/bits/os_defines.h
2480 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
2482 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
2485 via gawrilow@math.tu-berlin.de
2486 * acinclude.m4 (version_specific_libs): Fix combo usage with
2487 --with-gxx-include-dir.
2488 * aclocal.m4: Regenerate.
2491 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
2493 As per DR 184, libstdc++/3139
2494 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
2495 (numeric_limits<bool>::is_iec559): False.
2496 (numeric_limits<bool>::is_modulo): False.
2498 * testsuite/27_io/ios_init.cc: Add instantiations.
2500 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
2503 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
2504 * testsuite/27_io/ios_init.cc (tests04): Add test.
2507 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
2508 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
2509 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
2510 * include/bits/istream.tcc: Use _M_fctype, make consistent with
2512 * testsuite/27_io/ios_init.cc (tests03): Add test.
2514 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
2516 * include/Makefile.am (install-data-local): Use mkinstalldirs.
2517 * include/Makefile.in: Regenerate.
2519 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
2520 Nathan Myers <ncm@cantrip.org>
2521 Philip Martin <philip@codematters.co.uk>
2523 * include/bits/basic_string.h
2524 (replace(i1, i2, _CharT* k1, _CharT* k2),
2525 replace(i2, i2, const _CharT* k1, const _CharT* k2),
2526 replace(i1, i2, iterator k1, iterator k2,
2527 replace(i1, i2, const_iterator k1, const_iterator k2):
2528 New specializations to optimize for the common cases of
2529 pointers and iterators.
2530 (replace(pos, n1, s, n2)): Tweak.
2531 * include/bits/basic_string.tcc: Tweak comments.
2532 * testsuite/21_strings/replace.cc (test04): New tests.
2534 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
2537 * acinclude: More extensive checks for msgfmt, --enable-nls.
2538 * aclocal.m4: Regenerate.
2539 * configure: Regenerate.
2541 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
2543 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
2544 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
2545 * docs/html/18_support/howto.html: Document the demangler.
2546 * docs/html/17_intro/howto.html: And link to it.
2548 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
2549 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
2551 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
2553 * config/linker-map.gnu: Export __verbose_terminate_handler.
2554 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
2555 Make new LTCOMPILE variable, use it in new special build rules.
2556 * libsupc++/Makefile.in: Rebuild.
2557 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
2558 runtime __cxa_demangle.
2560 * docs/html/install.html: Update prereqs and instructions.
2561 * docs/html/19_diagnostics/howto.html: Bring naming for
2562 verbose_terminate_handler into line with reality.
2564 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
2567 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
2568 (basic_ios::_M_streambuf_state): Move.
2569 * include/bits/ios_base (ios_base): To here.
2570 * include/bits/ios_base.h (ios_base::_S_local_words): To
2572 (ios_base::_M_word_array): To _M_local_word.
2573 (ios_base::_M_words_limit): To _M_word_size.
2574 (ios_base::_M_words): To _M_word.
2576 * include/bits/basic_ios.tcc: Adjust.
2577 * src/ios.cc (ios_base::_M_grow_words): Tweak.
2578 * testsuite/27_io/ios_base_storage.cc: Add tests.
2581 Kenny Simpson <theonetruekenny@yahoo.com>
2582 * include/bits/ios_base.h: Fix.
2584 Richard Henderson <rth@redhat.com>
2585 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
2588 * include/bits/basic_string.h: Tweak formatting.
2590 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
2592 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
2593 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
2594 By definition, sizeof(char) == 1.
2595 * include/bits/locale_facets.tcc (money_get::do_get,
2596 money_put::do_put): Ditto.
2597 * testsuite/21_strings/inserters_extractors.cc
2600 2002-03-30 Richard Henderson <rth@redhat.com>
2603 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
2604 data out of the exception struct before calling unexpectedHandler.
2606 2002-03-28 Roger Sayle <roger@eyesopen.com>
2608 * include/c_std/std_cmath.h: To prevent problems overloading
2609 g++ builtins, use the double variants from the global namespace
2610 before defining float and long double variants in std::.
2612 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
2614 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
2616 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
2618 * testsuite/24_iterators/istream_iterator.cc
2619 (test02): New tests.
2621 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2622 Paolo Carlini <pcarlini@unitus.it>
2624 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
2625 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
2626 fix i_lit_base e_lit_base arrays, making them independent
2627 from the endianness of the platform; tweak UCS4 to UCS-4BE.
2629 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
2631 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
2632 allocate at least a byte.
2634 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
2636 * testsuite/27_io/streambuf.cc (test07): Fix.
2639 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
2641 * docs/doxygen/Intro.3: Date tweak.
2642 * docs/doxygen/TODO: Update.
2643 * docs/doxygen/doxygroups.cc: Point to tables.html.
2644 * docs/doxygen/mainpage.html: Date tweak.
2645 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
2646 * docs/doxygen/tables.html: Fill in the blanks.
2648 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
2649 * include/bits/stl_algo.h: Likewise; use expanded form.
2650 * include/bits/stl_alloc.h: Likewise.
2651 * include/bits/stl_construct.h: Likewise.
2652 * include/bits/stl_deque.h: Likewise.
2653 * include/bits/stl_iterator_base_types.h: Likewise.
2654 * include/bits/stl_list.h: Likewise.
2655 * include/bits/stl_relops.h: Likewise.
2656 * include/bits/stl_tempbuf.h: Likewise.
2657 * include/bits/stl_vector.h: Likewise.
2658 * include/std/std_memory.h: Likewise.
2660 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
2661 * include/bits/stl_list.h: Likewise.
2662 * include/bits/stl_vector.h: Likewise.
2664 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
2666 * include/c/: Guard with _CPP_.
2667 * include/c_std/: Same.
2668 * include/Makefile.am: Fixup install, link routines for null
2669 c_base_headers_extra scenarios.
2670 * include/Makefile.in: Regerate.
2672 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
2673 Richard Henderson <rth@redhat.com>
2675 * testsuite/22_locale/codecvt_members_unicode_char.cc
2676 (test01, test02): make sure that the i_lit_base array
2677 is sufficiently aligned.
2679 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
2681 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
2684 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
2686 * testsuite/22_locale/collate_byname.cc
2687 (test01): compare the result of collate::compare with
2688 that of collate::transform + string::compare, not with
2689 that of collate::transform + collate::compare; values
2690 returned by collate::compare are normalized, therefore
2693 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
2694 Jakub Jelinek <jakub@redhat.com>
2696 * config/locale/gnu/messages_members.h: Correct conditional.
2697 * config/locale/gnu/messages_members.cc: Same.
2698 * config/locale/gnu/time_members.cc: Same.
2700 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2701 Paolo Carlini <pcarlini@unitus.it>
2703 * testsuite/22_locale/codecvt_members_unicode_char.cc
2704 (test01, test02): Fix i_lit_base arrays, making them
2705 independent from the endianness of the platform.
2707 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2709 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
2710 signbit and __signbit directly.
2711 * aclocal.m4: Regenerate.
2712 * configure: Regenerate.
2713 * config.h.in: Regenerate.
2714 * libmath/Makefile.am: Simplify.
2715 * libmath/Makefile.in: Regenerate.
2716 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
2718 * include/Makefile.am: Clean up handling of extra "C" header files.
2719 Add hooks for "C" compatibility headers.
2720 * include/Makefile.in: Regenerate.
2722 * include/c/*: Formatting tweaks, cleanups.
2723 * include/c_std/*: Same.
2725 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2727 * config/locale/gnu/messages_members.h: Add __uselocale bits.
2728 * config/locale/gnu/messages_members.cc: Same.
2729 * config/locale/gnu/time_members.cc: Same.
2731 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2733 * src/vterminate.cc: Format, -fno-exceptions cleanup.
2735 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2737 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
2738 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
2739 * aclocal.m4: Regenerate.
2740 * configure: Likewise.
2742 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
2743 Ulrich Drepper <drepper@redhat.com>
2745 * src/locale-inst.cc (__convert_from_v): Add an additional
2746 __size parameter in the declarations.
2747 * include/bits/locale_facets.tcc
2748 (__convert_from_v): When available (that is,
2749 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
2750 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
2751 being defined or not, call and use __convert_from_v in the
2753 (num_put::_M_convert_int): Same here.
2754 (money_put::do_put(long double)): Same here.
2756 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
2758 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
2759 * docs/html/faq/index.txt: Regenerate.
2761 2002-03-19 Steve Ellcey <sje@cup.hp.com>
2763 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
2764 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
2765 --enable-libunwind-exceptions is set.
2766 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
2767 macro to check for libunwind.
2768 * configure: Regenerate.
2769 * src/Makefile.am (libstdc___la_LDFLAGS): Add
2770 LIBUNWIND_FLAG to libstdc link line.
2771 * src/Makefile.in: Regenerate.
2773 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
2775 * docs/html/faq/index.html: Add OS X workaround.
2776 * docs/html/17_intro/TODO: Update.
2778 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
2780 * include/bits/locale_facets.tcc
2781 (money_put::do_put(long double)): Fix dimensioning of
2782 temporary buffers to avoid risk of overruns.
2783 (money_put::do_put(string)): Same for the buffer used to
2784 add the grouping chars.
2785 * testsuite/22_locale/money_put_members_char.cc: Add test06.
2786 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2788 * include/bits/locale_facets.tcc
2789 (collate::do_transform): Simplify.
2791 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
2793 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
2794 * configure.in: Add comments pointing the way for autoconf 2.5x.
2795 * aclocal.m4, config.h.in, configure: Regenerate.
2797 2002-03-18 Philipp Thomas <pthomas@suse.de>
2799 * include/backward/hash_map.h: hash, hashtable, hash_map and
2800 hash_multimap are in namespace __gnu_cxx.
2801 include/backward/hash_set.h: hash, hashtable, hash_set and
2802 hash_multiset are in namespace __gnu_cxx.
2803 include/backward/hashtable.h: hash and hashtable are in
2804 namespace __gnu_cxx.
2805 include/backward/rope.h: char_producer, sequence_buffer,
2806 rope, crope and wrope are in namespace __gnu_cxx.
2807 include/backward/slist.h: slist is in namespace __gnu_cxx.
2808 * testsuite/backward/header_hash_map_h.cc
2809 testsuite/backward/header_hash_set_h.cc
2810 testsuite/backward/header_hashtable_h.cc
2811 testsuite/backward/header_rope_h.cc
2812 testsuite/backward/header_slist_h.cc
2813 testsuite/backward/header_tempbuf_h.cc: New tests for
2814 checking that we're using the correct namespace.
2816 2002-03-17 Jason Merrill <jason@redhat.com>
2819 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
2820 (check_exception_spec): Call it. Take the thrown pointer.
2821 (__cxa_call_unexpected): Pass it.
2822 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
2824 2002-03-15 Anthony Green <green@redhat.com>
2826 * configure.in: Remove useless is_mingw32.
2827 * configure: Rebuilt.
2829 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
2831 * testsuite/22_locale/collate_members_char.cc
2832 (test01): compare the result of collate::compare with
2833 that of collate::transform + string::compare, not with
2834 that of collate::transform + collate::compare.
2835 (test01): values returned by collate::compare are
2836 normalized, therefore test against +-1.
2837 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
2839 2002-03-12 Loren Rittle <ljrittle@acm.org>
2841 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2842 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
2844 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2845 Per Liboriussen <liborius@stofanet.dk>
2847 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
2849 * config/os/gnu-linux/bits/ctype_inline.h: Same.
2851 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
2853 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
2854 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2856 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
2857 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2859 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
2860 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2862 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
2864 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2866 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
2867 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
2868 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
2869 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
2870 that memory limits are in place.
2871 (test03): Add tests.
2873 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2875 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
2876 * aclocal.m4: Regenerate.
2877 * config.h.in: Regenerate.
2878 * configure: Regenerate.
2879 * include/c_std/std_cwctype.h: Guard.
2881 2002-03-11 Chris Demetriou <cgd@broadcom.com>
2883 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
2884 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
2885 * aclocal.m4: Regenerate.
2886 * configure: Regenerate.
2888 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2890 * include/bits/stl_bvector.h: Fix warning.
2892 2002-03-11 Richard Henderson <rth@redhat.com>
2894 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
2896 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2898 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
2899 New function. Build the list of tests to run in testsuite_files.
2900 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
2902 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2904 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
2905 platforms with no weak support.
2906 * testsuite/27_io/ios_init.cc: Likewise.
2908 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
2910 * include/bits/locale_facets.tcc (time_put::do_put):
2911 Consider sizeof(char_type) in allocating the buffer.
2913 * include/bits/locale_facets.tcc (collate::do_tranform):
2914 Remove redundant variable.
2916 2002-03-10 Ulrich Drepper <drepper@redhat.com>
2917 Paolo Carlini <pcarlini@unitus.it>
2919 * config/locale/generic/collate_members.cc
2920 (collate<char,wchar_t>::_M_compare_helper): normalize
2921 values returned by strcoll and wcscoll.
2922 * config/locale/gnu/collate_members.cc
2923 (collate<char,wchar_t>::_M_compare_helper): ditto
2924 for __strcoll_l and __wcscoll_l.
2926 2002-03-10 Anthony Green <green@redhat.com>
2928 * configure.in: Support cross builds to mingw32 target.
2929 * configure: Rebuilt.
2931 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
2933 * include/bits/locale_facets.tcc (collate::do_transform):
2934 Rewrite to fix problems with long transformed strings.
2936 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2938 * c_locale_generic.cc: Move to...
2939 * generic/c_locale.cc
2940 * c_locale_generic.h: Move to...
2941 * generic/c_locale.h
2942 * codecvt_specializations_generic.h: Move to...
2943 * generic/codecvt_specializations.h
2944 * collate_members_generic.cc: Move to...
2945 * generic/collate_members.cc
2946 * ctype_members_generic.cc: Move to...
2947 * generic/ctype_members.cc
2948 * messages_members_generic.cc: Move to...
2949 * generic/messages_members.cc
2950 * messages_members_generic.h: Move to...
2951 * generic/messages_members.h
2952 * moneypunct_members_generic.cc: Move to...
2953 * generic/monetary_members.cc
2954 * numpunct_members_generic.cc: Move to...
2955 * generic/numeric_members.cc
2956 * time_members_generic.cc: Move to...
2957 * generic/time_members.cc
2958 * c_locale_gnu.cc: Move to...
2960 * c_locale_gnu.h: Move to...
2962 * collate_members_gnu.cc: Move to...
2963 * gnu/collate_members.cc
2964 * ctype_members_gnu.cc: Move to...
2965 * gnu/ctype_members.cc
2966 * messages_members_gnu.cc: Move to...
2967 * gnu/messages_members.cc
2968 * messages_members_gnu.h: Move to...
2969 * gnu/messages_members.h
2970 * moneypunct_members_gnu.cc: Move to...
2971 * gnu/monetary_members.cc
2972 * numpunct_members_gnu.cc: Move to...
2973 * gnu/numeric_members.cc
2974 * time_members_gnu.cc: Move to...
2975 * gnu/time_members.cc
2976 * c_locale_ieee_1003.1-200x.cc: Move to...
2977 * ieee_1003.1-2001/c_locale.cc
2978 * c_locale_ieee_1003.1-200x.h: Move to...
2979 * ieee_1003.1-2001/c_locale.h
2980 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
2981 * ieee_1003.1-2001/codecvt_specializations.h
2982 * messages_members_ieee_1003.1-200x.cc: Move to...
2983 * ieee_1003.1-2001/messages_members.cc
2984 * messages_members_ieee_1003.1-200x.h: Move to...
2985 * ieee_1003.1-2001/messages_members.h
2987 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
2988 * aclocal.m4: Regenerate.
2989 * configure: Regenerate.
2990 * src/Makefile.am (sources): Change to monetary and numeric.
2991 * src/Makefile.in: Regenerate.
2992 * docs/html/configopts.html: Update to ieee_1003.1-2001.
2994 2002-03-08 scott snyder <snyder@fnal.gov>
2997 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
2998 Allow one more digit of precision.
2999 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
3000 write a double and read back in the same value.
3002 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
3004 * include/std/std_limits.h: Move static const data members out of
3005 generic template, into base class __numeric_limits_base.
3006 * src/limits.cc: Add definitions.
3007 * config/linker-map.gnu: Add __numeric_limits_base.
3008 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
3010 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
3012 * include/bits/stl_alloc.h: Add extern implicit allocator
3014 * include/bits/basic_string.tcc: Tweak.
3015 * include/bits/locale_facets.tcc: Remove default args. Add
3016 has_facet, use_facet extern instantiations.
3017 * src/stl-inst.cc: Add explicit instantiation.
3018 * src/locale-inst.cc: Clean. Remove locale member template
3021 * testsuite/22_locale/operators.cc (test02): Enable.
3023 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
3024 Stephen M. Webb <stephen.webb@bregmasoft.com>
3026 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
3027 (_S_rb_tree_black): Make enum.
3029 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
3030 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
3031 (__stl_threshold): _M_threshold, enum.
3032 * src/stl-inst.cc: Same.
3033 * config/linker-map.gnu: Remove.
3035 * testsuite/23_containers/vector_bool.cc: New.
3037 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
3039 * docs/doxygen/user.cfg.in: Also document deprecated entries.
3040 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
3041 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
3042 referring to the collection as a whole. New section on which macros
3043 can be redefined by the user.
3044 * docs/html/19_diagnostics/howto.html: Update note for concepts.
3045 * docs/html/20_util/howto.html: Update link to SGI.
3046 * docs/html/faq/index.html: Update snapshot versions. New entry
3047 on why g++ (but not gcc) must currently predefine certain macros.
3048 * docs/html/faq/index.txt: Regenerated.
3050 * include/bits/basic_string.h (basic_string::_S_construct): Fix
3051 names in declaration.
3052 (basic_string::compare): These are no longer optional.
3053 * include/bits/ostream.tcc: Tweak closing brace placement.
3054 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
3055 * include/std/std_sstream.h: Fix typo in comment.
3056 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
3057 * src/locale.cc: Likewise.
3059 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
3062 * include/bits/stl_vector.h (vector::push_back()): Guard with
3063 _GLIBCPP_DEPRECATED.
3065 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
3067 * include/bits/c++config: Fix misplaced leading blanks on first line.
3069 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
3071 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
3072 * README (libmath): Make clear.
3074 2002-03-05 Jakub Jelinek <jakub@redhat.com>
3076 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
3077 script globbing in ld.
3078 * aclocal.m4: Rebuilt.
3079 * configure: Rebuilt.
3081 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
3083 * docs/html/17_intro/RELEASE-NOTES: Update.
3084 * README: Format subdirectories.
3086 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
3089 * include/bits/locale_facets.tcc
3090 (num_get::_M_extract_float): Fix the parsing of __dec, since
3091 the standard prescribes that if no grouping characters are
3092 seen, no grouping check is applied.
3093 * testsuite/22_locale/num_get_members_char.cc: Add test05
3094 distilled from the PR.
3095 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
3097 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
3099 * docs/html/17_intro/porting-howto.xml: Refer to
3100 http://www.oasis-open.org for docbookx.dtd.
3101 * docs/html/17_intro/porting-howto.html: Regenerated.
3103 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
3106 * include/std/std_sstream.h: Remove trailing spaces.
3107 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
3108 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
3110 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
3112 * testsuite/22_locale/num_get_members_char.cc (test04):
3113 Use a named locale expecting grouping (de_DE).
3114 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
3116 * testsuite/27_io/ios_manip_basefield.cc (test01):
3117 Extend coverage, uniform treatment of hexs and octs.
3119 2002-02-28 Richard Henderson <rth@redhat.com>
3121 * config/linker-map.gnu: Export operator new with unsigned long,
3122 and with std::nothrow_t. Likewise operator delete.
3124 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
3126 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
3127 Admit grouping for octals and hexadecimals too.
3128 * testsuite/22_locale/num_get_members_char.cc: Add test04.
3129 (test01): Tweak "." -> "," in void* test.
3130 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
3132 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
3133 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
3135 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
3137 * testsuite/27_io/ios_manip_basefield.cc (test01):
3138 Fix for 64 bit machines.
3140 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
3143 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
3145 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
3146 (basic_ios::_M_fill_init): New.
3147 (basic_ios::fill()): Delay dealing with _M_fill.
3149 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
3150 (ios_base::_M_call_callbacks): Adjust.
3151 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
3153 2002-02-26 Loren Rittle <ljrittle@acm.org>
3155 * include/Makefile.am (thread_target_headers): Unconditionally
3156 stage and install gthr-posix.h.
3157 (${target_builddir}/gthr-posix.h): New rule cloned off
3158 ${target_builddir}/gthr-default.h.
3159 (${target_builddir}/gthr-default.h): Support chained inclusion
3160 of gthr support headers.
3161 * include/Makefile.in: Rebuilt.
3163 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
3165 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
3166 Group all the integral types, not only decs.
3167 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
3168 tests, add a few more.
3170 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
3172 * src/ios.cc (ios_base::~ios_base): Tweak.
3173 (ios_base::_M_call_callbacks): Deal with null __p.
3174 (ios_base::ios_base): Set _M_callbacks.
3175 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
3176 * testsuite/27_io/ios_init.cc (test02): Fix.
3178 * mkcheck.in (static_fail): Failed links go to output file.
3180 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
3182 * docs/html/faq/index.html: Update.
3183 * docs/html/faq/index.txt: Regenerate.
3185 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
3187 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
3188 * aclocal.m4: Regenerate.
3189 * docs/html/configopts.html: Document --enable-symvers.
3190 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
3192 2002-02-22 Philipp Thomas <pthomas@suse.de>
3194 * include/backward/tempbuf.h: get_temporary_buffer and
3195 return_temporary_buffer are in namespace std, not in __gnu_cxx.
3197 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
3199 * configure.in (target_alias): Default to yes.
3200 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
3201 libgcc to default case.
3203 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
3205 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
3206 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
3207 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
3208 * aclocal.m4: Regenerate.
3209 * configure: Regenerate.
3210 * config/linker-map.dummy: New file. Contains nothing useful.
3212 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
3214 * testsuite/22_locale/money_put_members_char.cc: Fix.
3215 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
3217 * testsuite/27_io/standard_manipulators.cc: New file.
3219 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
3220 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
3222 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
3224 * config/os/mingw32/bits/ctype_noninline.h
3225 (ctype<char>::ctype): Remove default args from parm list.
3226 * config/os/djgpp/bits/ctype_noninline.h: Same.
3228 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
3230 * include/std/std_iomanip.h: Inline, tweaks.
3231 * config/linker-map.gnu: Remove hacks.
3233 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
3234 * testsuite/27_io/ios_init.cc: Same.
3235 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
3236 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
3238 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
3240 * config/linker-map.gnu: Export global vtable, typeinfo, guard
3241 variable, and thunk info as per CXXABI docs.
3243 2002-02-19 Loren Rittle <ljrittle@acm.org>
3245 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
3246 * include/Makefile.in: Rebuilt.
3248 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3250 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
3251 with size3 for the string collations of str5.
3253 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
3256 * include/bits/locale_facets.tcc (money_put::do_put):
3257 For the space field use __fill instead of ' ', uniformly.
3258 * testsuite/22_locale/money_put_members_char.cc:
3259 Add test05 distilled from PR.
3260 (test01-02-03): Trim some '*' to ' '.
3261 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
3263 2002-02-18 Loren Rittle <ljrittle@acm.org>
3266 * include/Makefile.am (thread_builddir): Remove (map all
3267 existing uses to target_builddir).
3268 (thread_headers): Rename to...
3269 (thread_target_headers): ...this.
3270 (stamp-thread): Remove.
3271 (stamp-target): Correctly state the position as built.
3272 Update all dependencies to match the new reality. Remove all
3273 dependency calculations on directories.
3274 * include/Makefile.in: Rebuilt.
3276 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
3278 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
3279 * include/bits/fstream.tcc: Same.
3280 * include/bits/sstream.tcc: Same.
3281 * include/bits/ostream.tcc: Same.
3282 * include/bits/istream.tcc: Same.
3283 * include/bits/streambuf.tcc: Same.
3284 * include/bits/basic_ios.tcc: Same.
3285 * include/bits/basic_string.tcc: Same.
3287 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3289 * include/std/std_iosfwd.h: Don't guard typedefs with
3290 _GLIBCPP_USE_WCHAR_T
3291 * include/bits/stringfwd.h: Same.
3293 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3295 * src/locale.cc (moneypunct_byname): Remove definitions.
3296 * include/std/std_streambuf.h (streambuf::operator=): Return.
3298 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3301 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
3302 explicit instantiation.
3303 (string::_Rep::_S_max_size): Same.
3304 * include/bits/basic_string.tcc: Add extern explicit
3305 instantiations for string, wstring.
3306 * include/bits/basic_ios.tcc: Add extern explicit instantiations
3308 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
3309 * include/bits/istream.tcc: Same, for istream, wistream.
3310 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
3312 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
3313 istringstream, wistringstream, ostringstream, wostringstream,
3314 stringstream, wstringstream.
3315 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
3316 wifstream, ofstream, wofstream, fstream, wfstream.
3317 * src/misc-inst.cc: Correct comments.
3318 Add iomanip instantiations for wide streams.
3319 * include/std/std_iomanip.h: Same.
3320 * include/bits/locale_facets.tcc: Same.
3322 * include/std/std_streambuf.h: Correct
3323 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
3324 * include/std/std_sstream.h: Same.
3325 * include/std/std_ostream.h: Same.
3326 * include/std/std_istream.h: Same.
3327 * include/std/std_fstream.h: Same.
3329 * include/std/std_streambuf.h: Add definitions for private copy
3330 ctor and assignment operator.
3331 * include/std/std_istream.h: Remove declared but undefined copy
3332 ctor and assignment operator. This is taken care of in ios_base,
3333 so adding it in the derived class as well is superfluous.
3334 * include/std/std_ostream.h: Same.
3336 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
3337 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
3339 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
3341 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
3342 Add typeinfo bits. Smooth.
3343 * aclocal.m4: Regenerate.
3345 * src/Makefile.in: Same.
3347 2001-02-14 Joel Sherrill <joel@OARcorp.com>
3349 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
3350 which do not have a CAS instruction.
3352 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
3354 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
3355 * configure.in: Call it.
3356 * config/linker-map.gnu: New file, initial incomplete revision.
3357 * src/Makefile.am: Optionally pass version script to the linker.
3358 * aclocal.m4: Regenerate.
3359 * configure: Regenerate.
3360 * src/Makefile.in: Regenerate.
3362 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
3364 * src/localename.cc: Remove stdexcept include.
3365 * src/locale-inst.cc: Same.
3366 * src/locale.cc: Same.
3367 * src/functexcept.cc: Remove string includes.
3368 * include/std/std_bitset.h: Remove stdexcept include.
3369 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
3370 * testsuite/23_containers/bitset_ctor.cc: Same.
3372 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
3374 * include/bits/stl_algo (__stl_threshold): Declare external.
3375 (__stl_chunk_size): Same.
3376 * include/bits/stl_bvector.h (__WORD_BIT): Same.
3377 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
3378 (_S_rb_tree_black): Same.
3379 * src/stl-inst.cc (__stl_threshold): Define.
3380 (__stl_chunk_size): Same.
3382 (_S_rb_tree_red): Same.
3383 (_S_rb_tree_black): Same.
3385 * config/io/basic_file_libio.h (__basic_file): Add declarations.
3386 * include/bits/basic_file.h: Remove.
3387 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
3388 Declare generic types, specialization.
3389 * config/io/basic_file_stdio.cc: Definitions.
3390 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
3391 Declare generic types.
3392 * include/Makefile.am (bits_headers): Remove basic_file.h.
3393 (extra_target_headers): Change basic_file_model.h to basic_file.h.
3394 (stamp-target): Same.
3396 * include/bits/stl_alloc.h: Tweaks.
3397 * include/bits/localefwd.h: Same.
3399 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
3401 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
3402 * testsuite/22_locale/collate_members_char.cc (test03): New test.
3403 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
3405 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
3407 * include/bits/stl_algo.h (transform (both signatures), generate_n):
3408 Use __typeof__ in concept checks.
3410 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
3412 * include/bits/stl_algo.h (__median, for_each, find, find_if,
3413 adjacent_find, count, count_if, search, search_n, swap_ranges,
3414 transform, replace, replace_if, replace_copy, replace_copy_if,
3415 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
3416 unique, unique_copy, reverse, reverse_copy): Doxygenate.
3418 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
3420 * include/bits/locale_facets.h
3421 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
3422 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
3423 (__timepunct<_CharT>::_M_put_helper): Same.
3424 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
3426 * include/bits/fstream.tcc (filebuf::underflow): Remove
3427 __codecvt_type typedef.
3428 (filebuf::_M_convert_to_external): Same.
3430 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
3432 * docs/doxygen/TODO: Update.
3433 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
3434 * docs/doxygen/mainpage.html: Add TODO list link.
3435 * docs/doxygen/user.cfg.in: Add @doctodo hook.
3436 * docs/doxygen/tables.html: New file, emoty structure only.
3438 * include/bits/stl_iterator.h: Doxygenate just about everything.
3439 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
3440 * include/bits/stl_iterator_base_types.h: Add notes.
3442 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
3444 * include/bits/stl_map.h: Tweak doxygen markup.
3445 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
3446 * include/bits/stl_vector.h: Likewise.
3448 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
3452 * include/std/std_fstream.h (filebuf::__file_type): Change to
3454 (filebuf::_M_convert_to_external): Declare.
3455 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
3456 codecvt bits for wide streams.
3457 (filebuf::_M_really_overflow): Use it.
3458 (filebuf::underflow): Use codecvt.
3459 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
3460 (codecvt<__enc_traits>::do_out): Deal with partial.
3461 (codecvt<__enc_traits>::do_encoding): Return something useful.
3462 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
3464 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
3465 Change expected encoding output.
3467 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
3470 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
3471 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
3473 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
3474 (basic_ios::widen): Same.
3476 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
3478 * testsuite/22_locale/money_get_members_char.cc:
3479 Add comment, tidy up.
3480 (test01): more "en_HK" tests (without showbase).
3481 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
3483 2002-02-06 Loren Rittle <ljrittle@acm.org>
3485 * config/locale/c_locale_generic.cc: Do not trust
3486 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
3489 2002-02-06 Loren Rittle <ljrittle@acm.org>
3491 * acinclude.m4: Add C++ linkage check for strtof.
3492 * aclocal.m4: Rebuilt.
3493 * config.h.in: Rebuilt.
3494 * configure: Rebuilt.
3495 * config/locale/c_locale_generic.cc: Conditionally include
3496 <ieeefp.h>. Improve handling and error checking of float
3497 and long double input for non-C99 configurations.
3499 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
3501 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3502 In case money_base::symbol deal properly with multi-char sign
3503 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
3504 * testsuite/22_locale/money_get_members_char.cc: Add test07.
3505 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
3507 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
3509 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3510 First construct a tentative returned string, then, only if the
3511 parsing succeeds, copy it into the string passed by reference.
3512 * testsuite/22_locale/money_get_members_char.cc: Add test06.
3513 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
3515 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
3517 * docs/doxygen/TODO: Impl-defined behavior now documented...
3518 * docs/html/17_intro/howto.html: ...here.
3519 * docs/doxygen/mainpage.doxy: Remove, rename...
3520 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
3521 * docs/doxygen/style.css: Add small text.
3522 * docs/doxygen/run_doxygen: Adjust for new mainpage.
3523 * docs/doxygen/user.cfg.in: Likewise.
3525 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
3527 * include/bits/stl_map.h: Initial doxygen markup.
3528 * include/std/std_fstream.h: Initial doxygen markup.
3530 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
3533 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3534 Deal correctly with !(__io.flags() & ios_base::showbase)
3535 for case money_base::symbol.
3536 * testsuite/22_locale/money_get_members_char.cc: Add test05.
3537 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
3539 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
3541 * testsuite/22_locale/operators.cc
3542 (gnu_collate::do_compare()): Add return statement to
3543 suppress "no return statement" warning.
3545 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
3547 * testsuite/27_io/ostream_manip.cc: Enable test02.
3549 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
3551 * docs/html/documentation.html: Update for 3.0.96.
3552 * docs/html/faq/index.html: Update for 3.0.96.
3553 * docs/html/faq/index.txt: Regenerated.
3554 * docs/doxygen/TODO: Update notes.
3555 * docs/html/17_intro/howto.html: Initial impl-specific listing.
3557 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
3559 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
3560 Initialize all data members in copy ctor. Make ctors explicit.
3561 (__enc_traits::__enc_traits()): Default ctor does nothing.
3562 (__enc_traits::_M_init): Guard against multiple iconv_opens.
3563 * include/std/std_sstream.h (basic_stringbuf): Make data members
3565 * include/std/std_fstream.h (basic_filebuf): Same.
3566 * include/std/std_streambuf.h: Tweak.
3567 * include/bits/streambuf.tcc: Same.
3568 * include/bits/sstream.tcc: Same.
3569 * include/bits/fstream.tcc: Same.
3571 2002-01-31 Loren Rittle <ljrittle@acm.org>
3573 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
3574 allow NULL argument to be passed to setenv().
3575 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
3576 * testsuite/22_locale/collate_members_char.cc: Likewise.
3577 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
3578 * testsuite/22_locale/ctype_members_char.cc: Likewise.
3579 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
3580 * testsuite/22_locale/messages_members_char.cc: Likewise.
3581 * testsuite/22_locale/money_get_members_char.cc: Likewise.
3582 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
3583 * testsuite/22_locale/money_put_members_char.cc: Likewise.
3584 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
3585 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
3586 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
3587 * testsuite/22_locale/num_get_members_char.cc: Likewise.
3588 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
3589 * testsuite/22_locale/num_put_members_char.cc: Likewise.
3590 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
3591 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
3592 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
3593 * testsuite/22_locale/time_get_members_char.cc: Likewise.
3594 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
3595 * testsuite/22_locale/time_put_members_char.cc: Likewise.
3596 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
3598 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
3600 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
3602 * ChangeLog-2001: Fix spelling errors...
3603 * docs/html/17_intro/RELEASE-NOTES: Update.
3604 * docs/html/17_intro/TODO: Update.
3605 * README (file): Update.
3607 2002-01-30 Loren Rittle <ljrittle@acm.org>
3609 * config/locale/c_locale_generic.cc: Check errno for ERANGE
3610 instead of non-zero to aid portability.
3612 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3614 * docs/html/22_locale/messages.html: Fix example code.
3616 2002-01-30 Richard Henderson <rth@redhat.com>
3618 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
3619 out from test03 and templatize.
3622 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
3624 * config/locale/numpunct_members_gnu.cc
3625 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
3626 Fix initialization of _M_grouping for locales which have
3627 _M_thousands_sep == '\0'(L'\0', respectively).
3628 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
3630 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
3632 * testsuite/27_io/ostream_inserter_arith.cc (test03):
3633 Better fix for 32/64 bit architectures, avoiding the
3634 implicit assumption that CHAR_BIT == 8.
3636 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
3638 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
3639 * Makefile.in: Regenerate.
3641 * docs/doxygen/run_doxygen: Update, mostly for man pages.
3642 * docs/doxygen/Intro.3: Update.
3643 * docs/doxygen/TODO: Update.
3644 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
3645 * docs/doxygen/mainpage.doxy: Update.
3646 * docs/doxygen/user.cfg.in: Update for header rename. Also
3647 regenerate comments and variables with 1.2.12.
3648 * docs/doxygen/maint.cfg.in: Remove file.
3650 * include/bits/stl_relops.h: Doxygenate.
3651 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
3653 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
3654 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
3655 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
3656 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
3657 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
3658 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
3659 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
3660 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
3661 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
3662 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
3663 include/ext/hash_set, include/ext/iterator, include/ext/memory,
3664 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
3665 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
3666 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
3667 include/std/std_algorithm.h, include/std/std_bitset.h,
3668 include/std/std_complex.h, include/std/std_deque.h,
3669 include/std/std_fstream.h, include/std/std_functional.h,
3670 include/std/std_iomanip.h, include/std/std_ios.h,
3671 include/std/std_iosfwd.h, include/std/std_iostream.h,
3672 include/std/std_istream.h, include/std/std_iterator.h,
3673 include/std/std_limits.h, include/std/std_list.h,
3674 include/std/std_locale.h, include/std/std_map.h,
3675 include/std/std_memory.h, include/std/std_numeric.h,
3676 include/std/std_ostream.h, include/std/std_queue.h,
3677 include/std/std_set.h, include/std/std_sstream.h,
3678 include/std/std_stack.h, include/std/std_stdexcept.h,
3679 include/std/std_streambuf.h, include/std/std_string.h,
3680 include/std/std_utility.h, include/std/std_valarray.h,
3681 include/std/std_vector.h: Add/correct @file doxygen hook.
3683 * include/ext/memory: Doxygenate most of rest of file.
3684 * libsupc++/exception: Doxygen output formatting.
3685 * libsupc++/new: Say which header it is.
3687 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
3688 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
3689 * docs/html/23_containers/howto.html: Describe O(n) list::size().
3690 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
3692 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
3693 Charles Leggett <CGLeggett@lbl.gov>
3695 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
3697 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
3699 * testsuite/27_io/ostream_inserter_arith.cc (test03):
3700 Fix to deal correctly with both 32 bit and 64 bit architectures
3702 2002-01-25 Loren Rittle <ljrittle@acm.org>
3704 * testsuite/thread/pthread1.cc: Use one condition variable
3705 per predicate instead of tricky use of one condition variable.
3707 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
3709 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
3711 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
3712 * testsuite/27_io/filebuf.cc: Compile only.
3713 * testsuite/27_io/filebuf_members.cc: Move tests to here.
3714 * testsuite/27_io/filebuf_virtuals.cc: And here.
3715 Revert sungetc, sync changes for expected values.
3716 * testsuite/27_io/filebuf-*: Move to...
3717 * testsuite/27_io/filebuf_virtuals-*: ...here.
3718 * testsuite/27_io/istream.cc: Compile only, activate.
3719 * testsuite/27_io/ostream.cc: Same.
3720 * testsuite/27_io/iostream.cc: New.
3721 * testsuite/27_io/iostream_members.cc: New.
3723 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
3725 * testsuite/thread/pthread1.cc: Enable on cygwin.
3726 * testsuite/thread/pthread2.cc: Likewise.
3727 * testsuite/thread/pthread3.cc: Likewise.
3728 * testsuite/thread/pthread4.cc: Likewise.
3729 * testsuite/thread/pthread5.cc: Likewise.
3730 * testsuite/thread/pthread6.cc: Likewise.
3732 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3734 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
3736 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3738 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
3740 (basic_ios::fill(char_type)): Use fill().
3741 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
3742 (basic_ios::narrow): Same.
3743 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
3744 if they are invalid.
3745 (basic_ios::init): Comment.
3746 * testsuite/27_io/ios_init.cc (test02): New.
3748 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
3750 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
3751 * include/bits/stl_algo.h: Include stl_tempbuf.h.
3752 * include/ext/memory: Do not include stl_tempbuf.h.
3753 (temporary_buffer): Add doxygen hook.
3754 (__get_temporary_buffer, get_temporary_buffer,
3755 return_temporary_buffer): Move back to std:: header...
3756 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
3757 * include/ext/rope: Do not include stl_tempbuf.h.
3758 * include/ext/stl_hashtable.h: Likewise.
3759 * include/std/std_algorithm.h: Likewise.
3760 * testsuite/20_util/temporary_buffer.cc: New file.
3762 2002-01-24 andrew@andypo.net
3763 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
3766 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
3767 * include/bits/localefwd.h: Likewise.
3768 Also use for std::locale::id::_S_highwater.
3769 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
3770 * src/locale.cc: Support new usage of _Atomic_word.
3771 (std::locale::classic): Guard entire function against reentry.
3772 * src/localename.cc: Support new usage of _Atomic_word.
3774 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3776 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
3777 _GLIBCPP_HAVE_SETENV.
3778 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
3779 * testsuite/22_locale/collate_members_char.cc (test02): Same.
3780 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
3781 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
3782 * testsuite/22_locale/messages_members_char.cc (test02): Same.
3783 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
3784 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
3785 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
3786 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
3787 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
3788 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
3789 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
3790 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
3791 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
3792 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
3793 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
3794 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
3795 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
3796 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
3797 * aclocal.m4: Regenerate.
3798 * configure: Regenerate.
3799 * config.h.in: Regenerate.
3801 2002-01-23 Loren Rittle <ljrittle@acm.org>
3803 * testsuite/thread/pthread1.cc: New test.
3804 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
3805 * testsuite/thread/pthread3.cc: Likewise.
3806 * testsuite/thread/pthread4.cc: New test adapted from
3807 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
3808 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
3809 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
3811 2002-01-23 Richard Henderson <rth@redhat.com>
3814 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
3815 CAS on the cpu variants that support it. Add versions that use
3816 TAS and that disable interrupts.
3817 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
3819 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
3821 * include/bits/locale_facets.tcc: Remove old comments.
3823 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
3825 * include/bits/locale_facets.tcc (__convert_to_v): Change template
3827 (__convert_from_v): Same.
3829 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
3831 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
3833 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
3834 __max_digits checks, adjust arguments.
3835 (num_get::do_get(*)): Changeup.
3837 2002-01-23 Loren Rittle <ljrittle@acm.org>
3839 * config/locale/c_locale_generic.cc: Fix typename usage.
3841 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3843 * config/locale/c_locale_generic.cc: Fix.
3845 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3847 * docs/html/22_locale/messages.html: Remove angle brackets.
3848 * docs/html/17_intro/TODO: Add.
3850 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
3852 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
3853 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
3854 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
3855 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
3857 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3859 Audit for LANG independence.
3860 * include/bits/localefwd.h: Tweaks.
3861 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
3863 (time_get::do_get_year): Same.
3864 (__convert_from_v): Add.
3865 (num_put::_M_convert_float): Use.
3866 (num_put::_M_convert_int): Same.
3867 (money_put::do_put): Same.
3869 * src/locale-inst.cc: Add instantiations for __convert_from_v.
3870 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
3871 * config/locale/time_members_generic.cc:
3872 * config/locale/messages_members_gnu.cc: Same.
3873 * config/locale/messages_members_gnu.h: Same.
3875 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
3876 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
3877 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
3878 * testsuite/22_locale/collate_members_char.cc (test02): New.
3879 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
3880 * testsuite/22_locale/ctype_members_char.cc (test03): New.
3881 * testsuite/22_locale/messages_members_char.cc (test02): New.
3882 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
3883 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
3884 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
3885 * testsuite/22_locale/money_get_members_char.cc (test04): New.
3886 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
3887 * testsuite/22_locale/money_put_members_char.cc (test04): New.
3888 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
3889 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
3890 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
3891 * testsuite/22_locale/time_put_members_char.cc (test03): New.
3892 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
3893 * testsuite/22_locale/time_get_members_char.cc (test07): New.
3894 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
3895 * testsuite/22_locale/num_get_members_char.cc (test03): New.
3896 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
3897 * testsuite/22_locale/num_put_members_char.cc (test03): New.
3899 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
3901 * testsuite/22_locale/time_get_members_char.cc: Same.
3903 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3906 * include/bits/localefwd.h: Tweak comments.
3907 * include/bits/locale_facets.h (__convert_to_v): Add.
3908 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
3909 (num_get::do_get(float)): Same.
3910 (num_get::do_get(long double)): Same.
3911 (num_get::do_get(bool)): Same.
3912 (num_get::do_get(long)): Same.
3913 (num_get::do_get(long long)): Same.
3914 (num_get::do_get(unsigned int)): Same.
3915 (num_get::do_get(unsigned short)): Same.
3916 (num_get::do_get(unsigned long)): Same.
3917 (num_get::do_get(unsigned long long)): Same.
3918 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
3919 * config/locale/c_locale_generic.cc: Same.
3921 2002-01-22 Loren Rittle <ljrittle@acm.org>
3923 * include/Makefile.am (c_base_builddir): Remove redundant slash.
3924 (std_builddir): Likewise.
3925 (std_headers_rename): Fix cut-n-paste typo.
3926 (install-data-local): Concat path per element instead of once to
3927 first element of list.
3928 * include/Makefile.in: Rebuilt.
3930 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3932 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
3933 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
3934 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
3936 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
3938 * include/bits/locale_facets.h (ctype<char>::classic_table):
3940 (ctype<char>::_S_ctable): Remove.
3941 * config/os/gnu-linux/bits/ctype_noninline.h
3942 (ctype<char>::_S_table): Remove definition.
3943 (ctype<char>::classic_table): Define.
3944 (ctype<char>::ctype): Replace _S_ctable with classic_table().
3945 * config/os/aix/bits/ctype_noninline.h: Same.
3946 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3947 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3948 * config/os/djgpp/bits/ctype_noninline.h: Same.
3949 * config/os/generic/bits/ctype_noninline.h: Same.
3950 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3951 * config/os/hpux/bits/ctype_noninline.h: Same.
3952 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3953 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3954 * config/os/mingw32/bits/ctype_noninline.h: Same.
3955 * config/os/newlib/bits/ctype_noninline.h: Same.
3956 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3957 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3958 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3960 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
3962 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
3963 of _pctype. Use to define _S_ctable. Add definition for alternate
3964 ctor. Initialise _M_ctable to _S_ctable in ctors.
3965 (do_toupper, do_tolower): Use inline code appropriate for C-locale
3966 rather than ::toupper, ::tolower.
3968 2002-01-18 Loren Rittle <ljrittle@acm.org>
3970 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
3971 Add specialization for FreeBSD systems only to avoid losing test
3972 only due to extra precision unmentioned in system headers.
3974 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
3976 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
3978 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
3980 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
3981 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
3983 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3985 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
3987 2002-01-17 David Edelsohn <edelsohn@gnu.org>
3989 * configure.target: Define OPT_LDFLAGS for AIX case.
3991 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3993 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
3994 __glibcpp_double_has_quiet_NaN): Correct mispelling.
3996 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
3998 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
4000 2002-01-16 David Edelsohn <dje@watson.ibm.com>
4002 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
4003 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
4004 * aclocal.m4: Regenerate.
4005 * configure: Regenerate.
4007 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
4009 * include/Makefile.am (c_base_headers_rename): New.
4010 (c_base_headers_extra): New.
4011 (stamp-c_base): Modify.
4012 (install-data-local): Use both.
4013 * include/Makefile.in: Regenerate.
4014 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
4015 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
4016 cstdio ctime cwctype]: Move to..
4017 * include/c/std_*: Here.
4018 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
4019 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
4020 cstdio ctime cwctype]: Move to..
4021 * include/c_std/std_*: Here.
4023 Alexandre Oliva <aoliva@redhat.com>
4024 * include/Makefile.am (.PRECIOUS): Add rule.
4025 * include/Makefile.in: Regenerate.
4027 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
4028 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4030 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
4031 Deuglify, should be current.
4032 (back_insert_iterator::_M_container): Deuglify, should be container.
4033 (front_insert_iterator::_M_container): Same.
4034 (insert_iterator::_M_container): Same.
4035 * testsuite/24_iterators/reverse_iterator.cc: Add check.
4036 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
4037 * testsuite/24_iterators/front_insert_iterator.cc: Same.
4038 * testsuite/24_iterators/insert_iterator.cc: Same.
4040 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
4042 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
4044 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
4045 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
4046 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
4047 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
4048 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
4049 * config/os/newlib/bits/ctype_noninline.h: Same.
4050 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
4051 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
4052 * config/os/hpux/bits/ctype_noninline.h: Same.
4053 * config/os/djgpp/bits/ctype_noninline.h: Same.
4054 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
4055 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
4056 * config/os/aix/bits/ctype_noninline.h: Same.
4058 Testcase by Dietmar Kühl via Peter Schmid
4059 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
4062 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
4064 * libmath/signbitl.c: Copyright years as list, not range.
4065 * libmath/Makefile.am: Same.
4066 * libmath/Makefie.in: Regenerate.
4067 * libmath/signbit.c: Same.
4068 * libmath/nan.c: Same.
4069 * libmath/copysignf.c: Same.
4070 * libmath/signbitf.c: Same.
4071 * testsuite/22_locale/money_get_members_char.cc: Same.
4072 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
4073 * testsuite/22_locale/money_put_members_char.cc: Same.
4074 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
4075 * testsuite/22_locale/time_get_members_char.cc: Same.
4076 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
4077 * testsuite/22_locale/time_put_members_char.cc: Same.
4078 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
4079 * testsuite/21_strings/nonmember.cc: Same.
4080 * testsuite/21_strings/compare.cc: Same.
4081 * testsuite/27_io/stringstream.cc: Same.
4082 * testsuite/27_io/stringbuf.cc: Same.
4083 * testsuite/27_io/filebuf.cc: Same.
4084 * testsuite/27_io/ios_manip_basefield.cc: Same.
4085 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
4086 * include/bits/cpp_type_traits.h: Same.
4087 * include/bits/generic_shadow.h: Same.
4088 * include/bits/gslice_array.h: Same.
4089 * include/bits/gslice.h: Same.
4090 * include/bits/indirect_array.h: Same.
4091 * include/bits/slice_array.h: Same.
4092 * include/bits/sstream.tcc: Same.
4093 * include/bits/streambuf_iterator.h: Same.
4094 * include/bits/valarray_array.tcc: Same.
4095 * include/bits/valarray_meta.h: Same.
4096 * include/bits/valarray_array.h: Same.
4097 * config/os/mingw32/bits/ctype_noninline.h: Same.
4098 * config/os/mingw32/bits/ctype_base.h: Same.
4099 * config/os/hpux/bits/ctype_noninline.h: Same.
4100 * config/os/hpux/bits/ctype_base.h: Same.
4101 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
4102 * config/os/gnu-linux/bits/ctype_base.h: Same.
4103 * config/os/generic/bits/ctype_noninline.h: Same.
4104 * config/os/generic/bits/ctype_base.h: Same.
4106 * libsupc++/tinfo.h: Tweaks.
4108 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
4110 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
4111 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
4112 * testsuite/22_locale/ctype_members_char.cc: Tweak.
4114 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
4116 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
4117 (num_put::do_put(void*)): Fix.
4118 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
4119 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
4120 * testsuite/22_locale/num_get_members_char.cc (test02): Add
4121 long double, void, bool types.
4122 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
4124 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
4125 Alexandre Oliva <aoliva@redhat.com>
4127 * libmath/Makefile.am (LINK): Add --tag CC.
4128 * libmath/Makefile.in: Regenerate.
4130 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
4132 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
4133 of character to attribute mapping table.
4135 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
4137 * testsuite/26_numerics/c99_classification_macros_c.cc
4138 Remove dg-error and dg-excess-errors comments.
4140 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
4142 * include/bits/locale_facets.tcc (time_put::put): Correct output
4144 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
4145 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
4146 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
4147 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
4149 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
4151 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
4153 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
4154 Nathan Myers <ncm@cantrip.org>
4156 * include/bits/basic_string.h
4157 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
4158 temporaries (i.e., call _M_replace_safe) when possible.
4159 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
4160 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
4161 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
4162 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
4163 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
4164 * include/bits/basic_string.tcc
4165 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
4166 replace(__pos, __n1, __s, __n2).
4167 * testsuite/21_strings/replace.cc (test03): New testcases.
4169 * include/bits/basic_string.h (insert(__pos, __s, __n)):
4170 Adjust comparison wrt overflow.
4172 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
4174 * include/Makefile.am (std_headers_rename): New variable.
4175 (install-data-local): Use it.
4176 * include/Makefile.in: Regenerate.
4178 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
4180 * include/bits/locale_facets.tcc (money_put::do_put(string):
4181 Correct output iterator value.
4182 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
4183 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
4185 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
4187 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
4190 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
4192 * include/Makefile.am (std_headers): Update list with new names.
4193 (stamp-std): Link to standardized name.
4194 * include/Makefile.in: Regenerate.
4196 * include/std/algorithm, include/std/bitset, include/std/complex,
4197 include/std/deque, include/std/fstream, include/std/functional,
4198 include/std/iomanip, include/std/ios, include/std/iosfwd,
4199 include/std/iostream, include/std/istream, include/std/iterator,
4200 include/std/limits, include/std/list, include/std/locale,
4201 include/std/map, include/std/memory, include/std/numeric,
4202 include/std/ostream, include/std/queue, include/std/set,
4203 include/std/sstream, include/std/stack, include/std/stdexcept,
4204 include/std/streambuf, include/std/string, include/std/utility,
4205 include/std/valarray, include/std/vector: Rename to...
4207 * include/std/std_algorithm.h, include/std/std_bitset.h,
4208 include/std/std_complex.h, include/std/std_deque.h,
4209 include/std/std_fstream.h, include/std/std_functional.h,
4210 include/std/std_iomanip.h, include/std/std_ios.h,
4211 include/std/std_iosfwd.h, include/std/std_iostream.h,
4212 include/std/std_istream.h, include/std/std_iterator.h,
4213 include/std/std_limits.h, include/std/std_list.h,
4214 include/std/std_locale.h, include/std/std_map.h,
4215 include/std/std_memory.h, include/std/std_numeric.h,
4216 include/std/std_ostream.h, include/std/std_queue.h,
4217 include/std/std_set.h, include/std/std_sstream.h,
4218 include/std/std_stack.h, include/std/std_stdexcept.h,
4219 include/std/std_streambuf.h, include/std/std_string.h,
4220 include/std/std_utility.h, include/std/std_valarray.h,
4221 include/std/std_vector.h: ...this.
4223 2002-01-11 Loren Rittle <ljrittle@acm.org>
4225 * include/Makefile.am (extra_target_headers): New list of all
4226 target files built with ad hoc naming rules.
4227 (stamp-*): Handle LN_S failure in manner portable across make
4229 (install-data-local): Install header files from human-maintained
4230 file lists and directory components instead of non-robust find.
4231 * include/Makefile.in: Rebuilt.
4233 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
4235 * include/bits/locale_facets.tcc (money_get::do_get(string)):
4236 Check for zero-length negative sign before adding it to output
4238 (money_get::do_get(long double)): Return beg.
4239 * testsuite/22_locale/money_get_members_char.cc (test02): Add
4241 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
4243 2002-01-10 David Seymour <seymour_dj@yahoo.com>
4246 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
4247 for _M_extract_float and _M_extract_int
4248 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
4249 (num_get<>::_M_extract_int): Likewise, all callers changed
4250 * testsuite/22_locale/num_get_members_char.cc: Testcase
4252 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
4254 * libsupc++/exception (bad_exception): Add comment.
4255 * libsupc++/new (bad_alloc): Same.
4256 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
4258 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
4260 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
4261 that the destructors should be removed from the descriptions
4262 in the standard: writing them explicitly allows the vtable
4263 heuristic to work. For additional information see:
4264 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
4265 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
4266 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
4267 * libsupc++/exception (bad_exception::~bad_exception()):
4268 Reintroduce declaration.
4269 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
4270 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
4271 (bad_typeid::~bad_typeid()): Same.
4272 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
4273 Reintroduce definition.
4274 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
4275 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
4276 (bad_typeid::~bad_typeid()): Same.
4278 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
4280 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
4281 * include/Makefile.in: Regenerate.
4283 2002-01-09 Bo Thorsen <bo@suse.co.uk>
4285 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
4288 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
4292 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
4293 return value of _M_file->sync().
4294 (filebuf::showmanyc): Check for is_open.
4295 * include/std/fstream (filebuf::sync): Tweak.
4296 * testsuite/27_io/filebuf.cc: Tweak.
4298 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
4299 Brad Garcia <garsh@attbi.com>
4301 * testsuite/27_io/filebuf_members.cc: Add test.
4303 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
4304 Craig Rodrigues <rodrigc@mediaone.net>
4307 * po/Makefile.am (mkinstalldirs): Add.
4308 * po/Makefile.in: Regenerate.
4310 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
4312 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
4313 testsuite/lib/prune.exp: Delete lines ":In function ..." from
4315 * testsuite/23_containers/map_operators.cc: Remove
4316 dg-excess-errors comment.
4317 * testsuite/23_containers/set_operators.cc: Likewise.
4319 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
4321 * include/bits/stl_function.h: Remove two lines of comments;
4322 adjust copyright years.
4324 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
4326 * include/Makefile.am (std_headers): Remove cXXX from list.
4327 (c_base_srcdir): No bits subdirectory.
4328 (c_base_builddir): Same.
4329 (c_base_headers): Adjust names, add ciso646.
4330 (bits_headers): Remove std_xxx.h headers.
4331 * include/Makefile.in: Regenerate.
4333 * include/ext/iterator: Adjust includes.
4334 * include/ext/ropeimpl.h: Same.
4335 * include/ext/stl_hash_fun.h: Same.
4336 * include/ext/algorithm: Same.
4338 * include/backward/bvector.h: Adjust includes.
4339 * include/backward/vector.h: Same.
4340 * include/backward/strstream: Same.
4341 * include/backward/streambuf.h: Same.
4342 * include/backward/stack.h: Same.
4343 * include/backward/set.h: Same.
4344 * include/backward/queue.h: Same.
4345 * include/backward/multiset.h: Same.
4346 * include/backward/multimap.h: Same.
4347 * include/backward/map.h: Same.
4348 * include/backward/list.h: Same.
4349 * include/backward/iterator.h: Same.
4350 * include/backward/iostream.h: Same.
4351 * include/backward/iomanip.h: Same.
4352 * include/backward/fstream.h: Same.
4353 * include/backward/deque.h: Same.
4354 * include/backward/complex.h: Same.
4356 * include/bits/std_algorithm.h: Move to...
4357 * include/std/algorithm: ...here.
4358 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
4359 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
4360 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
4361 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
4362 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
4363 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
4364 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
4367 * include/c_std/bits/std_cassert.h: Move to...
4368 * include/c_std/cassert: Here.
4369 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
4370 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
4371 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
4372 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
4373 std_cwctype.h: Same.
4374 * include/c_std/cmath: Adjust cmath.tcc include.
4375 * include/c_std/cstdlib: Adjust includes.
4376 * include/c_std/cwchar: Same.
4377 * include/c_std/ctime: Same.
4378 * include/c_std/cstring: Same.
4379 * include/c_std/cstdio: Same.
4380 * include/c_std/bits: Remove directory.
4382 * include/c/bits/std_cassert.h: Move to...
4383 * include/c/cassert: Here.
4384 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
4385 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
4386 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
4387 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
4388 std_cwctype.h: Same.
4389 * include/c/bits: Remove directory.
4391 * include/std/cwctype: Remove.
4392 * include/std/cwchar: Remove.
4393 * include/std/ctime: Remove.
4394 * include/std/cstring: Remove.
4395 * include/std/cstdlib: Remove.
4396 * include/std/cstdio: Remove.
4397 * include/std/cstddef: Remove.
4398 * include/std/cstdarg: Remove.
4399 * include/std/csignal: Remove.
4400 * include/std/csetjmp: Remove.
4401 * include/std/cmath: Remove.
4402 * include/std/clocale: Remove.
4403 * include/std/climits: Remove.
4404 * include/std/ciso646: Remove.
4405 * include/std/cfloat: Remove.
4406 * include/std/cerrno: Remove.
4407 * include/std/cctype: Remove.
4408 * include/std/cassert: Remove.
4410 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
4411 files and subsituting <xxx>.
4412 * include/bits/valarray_array.h: Same.
4413 * include/bits/stl_uninitialized.h: Same.
4414 * include/bits/stl_alloc.h: Same.
4415 * include/bits/stl_algobase.h: Same.
4416 * include/bits/sstream.tcc: Same.
4417 * include/bits/pthread_allocimpl.h: Same.
4418 * include/bits/ostream.tcc: Same.
4419 * include/bits/localefwd.h: Same.
4420 * include/bits/locale_facets.tcc: Same.
4421 * include/bits/locale_facets.h: Same.
4422 * include/bits/istream.tcc: Same.
4423 * include/bits/char_traits.h: Same.
4424 * include/bits/boost_concept_check.h: Same.
4425 * include/bits/basic_file.h: Same.
4426 * include/std/bitset: Same.
4427 * include/std/complex: Same.
4428 * include/std/fstream: Same.
4429 * include/std/functional: Same.
4430 * include/std/ios: Same.
4431 * include/std/iostream: Same.
4432 * include/std/ostream: Same.
4433 * include/std/sstream: Same.
4434 * include/std/streambuf: Same.
4435 * include/std/string: Same.
4436 * include/std/iterator: Same.
4437 * include/std/valarray: Same.
4439 * src/ios.cc: Adjust includes.
4440 * src/valarray-inst.cc: Same.
4441 * src/string-inst.cc: Same.
4442 * src/stl-inst.cc: Same.
4443 * src/stdexcept.cc: Same.
4444 * src/misc-inst.cc: Same.
4445 * src/localename.cc: Same.
4446 * src/locale-inst.cc: Same.
4447 * src/locale.cc: Same.
4448 * src/limits.cc: Same.
4449 * src/concept-inst.cc: Same.
4450 * src/complex_io.cc: Same.
4451 * src/codecvt.cc: Same.
4452 * src/bitset.cc: Same.
4453 * src/cmath.cc: Same.
4455 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
4457 * include/bits/stl_tree.h (rb_tree): Move to...
4458 * include/ext/rb_tree: ...here, new file.
4459 * include/Makefile.am (ext_headers): Add new file.
4460 * include/Makefile.in: Regenerate.
4461 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
4462 return_temporary_buffer, struct temporary_buffer): Move to...
4463 * include/ext/memory: ...here.
4464 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
4465 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
4466 * include/backward/tree.h: Include <ext/rb_tree), tweak.
4468 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
4470 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
4471 * include/ext/numeric: ...here, new file.
4472 * include/bits/stl_function.h (identity_element, unary_compose,
4473 binary_compose, compose1, compose2, identity, select1st,
4474 select2nd, project1st + helper, project2nd + helper,
4475 constant_void_fun + helper, constant_unary_fun + helper,
4476 costant_binary_fun + helper, constant0, constant1, constant2,
4477 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
4478 * include/ext/functional: ...here, new file.
4479 * include/Makefile.am (ext_headers): Add new files.
4480 * include/Makefile.in: Regenerate.
4481 * testsuite/ext/headers.cc: Include <ext/numeric> and
4483 * include/backward/algo.h: Include <ext/numeric>, tweak.
4484 * include/backward/function.h: Include <ext/functional>, tweak.
4485 * include/ext/ropeimpl.h: Include <ext/numeric>.
4487 2002-01-03 Jeffrey A Law <law@redhat.com>
4489 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
4490 __strtoull declarations with __extension__.
4492 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
4494 * testsuite/lib/prune.exp: Correct regular expression for
4497 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
4499 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
4500 Change concept checks, as with lower_bound and PR 2054.
4501 * testsuite/ext/concept_checks.cc: Expand test to include those.
4503 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
4505 * include/bits/boost_concept_check.h: Import some changes from
4506 upsteam (Boost) version.
4508 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
4510 * include/bits/stl_algobase.h (copy_n + helpers,
4511 lexicographical_compare_3way + helpers): Move to...
4512 * include/ext/algorithm: ...here.
4513 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
4514 helpers): Move to...
4515 * include/ext/memory: ...here, new file.
4516 * include/Makefile.am (ext_headers): Add new file.
4517 * include/Makefile.in: Regenerate.
4518 * testsuite/ext/headers.cc: Include <ext/memory>.
4519 * include/backward/algobase.h: Include <ext/memory> and
4520 <ext/algorithm>, tweak.
4521 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
4522 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
4524 2002-01-01 Roger Sayle <roger@eyesopen.com>
4526 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
4527 equivalent ___builtin__ versions.
4529 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
4530 are available in libstdc++ as the necessary stub implementations
4531 are provided by libmath/stubs.c.
4533 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
4535 * configure.in: Add support for NetBSD cross compiles.
4536 * configure: Regenerate.