1 2002-09-18 Richard Henderson <rth@redhat.com>
3 * testsuite/18_support/numeric_limits.cc: Add -mieee for alpha.
5 2002-09-16 Benjamin Kosnik <bkoz@redhat.com>
7 * include/c_shadow: Remove.
8 * include/bits/generic_shadow.h: Remove.
9 * include/Makefile.am: Remove generic_shadow.h.
10 * acinclude.m4: Remove c_shadow references.
11 * aclocal.m4: Regenerate.
12 * configure: Regenerate.
14 * mkinclosure: Remove.
16 2002-09-16 Loren J. Rittle <ljrittle@acm.org>
19 * include/ext/stl_rope.h (rope<>): Qualify dependent names
22 2002-09-16 Richard Henderson <rth@redhat.com>
24 * include/std/std_limits.h (__glibcpp_f32_QNaN_bytes,
25 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
26 __glibcpp_f32_has_SNaN, __glibcpp_f64_QNaN_bytes,
27 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
28 __glibcpp_f64_has_SNaN, __glibcpp_f80_QNaN_bytes,
29 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
30 __glibcpp_f80_has_SNaN, __glibcpp_f96_QNaN_bytes,
31 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
32 __glibcpp_f96_has_SNaN, __glibcpp_f128_QNaN_bytes,
33 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
34 __glibcpp_f128_has_SNaN, __glibcpp_float_QNaN_bytes,
35 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
36 __glibcpp_float_has_SNaN, __glibcpp_double_QNaN_bytes,
37 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
38 __glibcpp_double_has_SNaN, __glibcpp_long_double_QNaN_bytes,
39 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
40 __glibcpp_long_double_has_SNaN): Remove.
41 (__glibcpp_f128_is_iec559): True if IEEE.
42 (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
43 (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
44 (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
45 (std::numeric_limits<float>::has_quiet_NaN): Use __builtin_nanf.
46 (std::numeric_limits<float>::has_signaling_NaN): Mirror has_quiet_NaN.
47 (std::numeric_limits<float>::quiet_NaN): Use __builtin_nanf.
48 (std::numeric_limits<float>::signaling_NaN): Use __builtin_nansf.
49 (std::numeric_limits<double>): Similarly.
50 (std::numeric_limits<long double>): Similarly.
51 * src/limits.cc (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
52 (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
53 (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
55 * testsuite/18_support/numeric_limits.cc (test_infinity): New.
56 (test_denorm_min, test_qnan, test_is_iec559): New.
58 2002-09-16 Phil Edwards <pme@gcc.gnu.org>
60 * testsuite/abi_check.cc: Pull shell fragments out into...
61 * config/abi/extract_symvers: ...here. New file.
62 * Makefile.am (check_abi): Change to match.
63 (new-abi-baseline): New target.
64 * Makefile.in: Regenerated.
66 2002-09-16 Richard Henderson <rth@redhat.com>
68 * include/std/std_limits.h (__glibcpp_f32_denorm_min_bytes,
69 __glibcpp_f32_has_denorm, __glibcpp_f64_denorm_min_bytes,
70 __glibcpp_f64_has_denorm, __glibcpp_f80_denorm_min_bytes,
71 __glibcpp_f80_has_denorm, __glibcpp_f96_denorm_min_bytes,
72 __glibcpp_f96_has_denorm, __glibcpp_f128_denorm_min_bytes,
73 __glibcpp_f128_has_denorm, __glibcpp_float_denorm_min_bytes,
74 __glibcpp_float_has_denorm, __glibcpp_double_denorm_min_bytes,
75 __glibcpp_double_has_denorm, __glibcpp_long_double_denorm_min_bytes,
76 __glibcpp_long_double_has_denorm): Remove.
77 (__glibcpp_float_denorm_min, __glibcpp_double_denorm_min,
78 __glibcpp_long_double_denorm_min): Remove.
79 (std::numeric_limits<float>::has_denorm): Use __FLT_DENORM_MIN__.
80 (std::numeric_limits<float>::denorm_min): Likewise.
81 (std::numeric_limits<double>): Similarly.
82 (std::numeric_limits<long double>): Similarly.
83 * src/limits.cc (__glibcpp_float_denorm_min,
84 __glibcpp_double_denorm_min, __glibcpp_long_double_denorm_min): Remove.
86 2002-09-13 Andy Felt <afelt@uwsp.edu>
88 * docs/html/17_intro/howto.html: Update link.
90 2002-09-13 Phil Edwards <pme@gcc.gnu.org>
92 * docs/doxygen/run_doxygen: Massage man page for Iterator_types.3.
93 * docs/html/faq/index.html: Whitespace fixes.
95 2002-09-12 Benjamin Kosnik <bkoz@redhat.com>
97 * libmath/Makefile.am (LIBTOOL): Use --tag CC always for this
99 * libmath/Makefile.in: Regenerate.
100 * src/Makefile.am: Tweak comment.
101 * src/Makefile.in: Regenerate.
103 * config/locale/gnu/c_locale.h: Remove warnings.
104 Inject __uselocale into __gnu_cxx.
105 * config/locale/generic/c_locale.h: Match.
107 2002-09-11 Benjamin Kosnik <bkoz@redhat.com>
109 * include/bits/locale_facets.tcc (__convert_from_v): Remove.
110 * config/locale/gnu/c_locale.h (__convert_from_v): Add.
111 * config/locale/generic/c_locale.h (__convert_from_v): Add.
113 2002-09-11 Paolo Carlini <pcarlini@unitus.it>
115 * include/bits/locale_facets.tcc (__convert_from_v):
116 Use __uselocale instead of setlocale for glibc 2.3+.
118 2002-09-10 Benjamin Kosnik <bkoz@redhat.com>
120 * src/Makefile.am (sources): Edit.
121 (target_sources): New.
122 (target_sources_extra): New.
123 * src/Makefile.in: Regenerate.
124 * acinclude.m4: Set CCODECVT_CC.
125 * aclocal.m4: Regenerate.
126 * configure: Regenerate.
127 * src/locale.cc: Move ctype definitions...
128 * src/ctype.cc: ...here. New file.
129 * src/locale.cc: Move codecvt definitions...
130 * src/codecvt.cc: ...here.
131 * config/generic/codecvt_members.cc: ...and here.
132 * config/gnu/codecvt_members.cc: ...and here.
133 * include/bits/codecvt.h: Tweak.
134 * include/bits/locale_facets: Tweak.
136 * src/bitset.cc: Correct license text.
137 * src/concept-inst.cc: Same.
138 * src/strstream.cc: Same.
139 * src/vterminate.cc: Same.
141 2002-09-10 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net>
143 * include/bits/stl_vector.h (vector<>): Don't use a name with
144 different meanings before and after re-evaluation in the completed
146 * include/bits/basic_string.h (basic_string<>): Likewise.
147 * include/bits/stl_bvector.h (vector<bool>): Likewise.
148 * include/bits/stl_deque.h (std): Likewise.
149 * include/bits/stl_list.h (list<>): Likewise.
150 * include/bits/stl_tree.h (_Rb_tree<>): Likewise.
152 2002-09-10 Paolo Carlini <pcarlini@unitus.it>
154 * include/bits/codecvt.h (class __codecvt_abstract_base):
155 Add __c_locale type _M_c_locale_codecvt member.
156 (class codecvt<char, char, mbstate_t>,
157 class codecvt<wchar_t, char, mbstate_t>): Add new
158 codecvt(__c_locale, size_t) constructor.
159 (codecvt_byname::codecvt_byname): Update.
160 * src/codecvt.cc (class codecvt<char, char, mbstate_t>,
161 class codecvt<wchar_t, char, mbstate_t>): Update codecvt(size_t)
162 constructor and ~codecvt() destructor; define
163 codecvt(__c_locale, size_t) constructor.
164 (codecvt::do_out): Switch to _M_c_locale_codecvt around wcsrtombs call.
165 (codecvt::do_in): Ditto for mbsrtowcs call.
166 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
167 Tweak construction of codecvt facets.
169 2002-09-10 Danny Smith <dannysmith@users.sourceforge.net>
171 * include/bits/locale_facets.tcc (__convert_from_v):
172 Replace strdup with ISO malloc and strcpy.
174 2002-09-09 Benjamin Kosnik <bkoz@redhat.com>
176 * docs/html/configopts.html: Change grouping. Note ABI impacts.
177 Update information for locale model defaults.
178 * docs/html/install.html: Update include directory
180 Update testing information.
181 Update linux issues for named locales.
182 * docs/html/abi.txt: Fix typos.
185 * src/misc-inst.cc: Add missing instantiations.
187 * testsuite/abi_check.cc: Make output results more verbose.
189 * config/os/gnu-linux/ctype_base.h: Remove shadow headers injections.
191 2002-09-07 Jakub Jelinek <jakub@redhat.com>
193 * config/locale/generic/messages_members.cc: Add specialization for
195 * config/locale/ieee_1003.1-20021/messages_members.cc: Likewise.
197 2002-09-06 Benjamin Kosnik <bkoz@redhat.com>
199 * include/bits/localefwd.h: Tweak formatting.
200 * docs/html/abi.txt: Add.
202 2002-09-06 Jakub Jelinek <jakub@redhat.com>
204 * configure.target: Use cpu_include_dir="config/cpu/sparc" for all
206 * config/cpu/sparc/atomicity.h: New file.
207 * config/cpu/sparc/sparc32/atomicity.h: Removed.
208 * config/cpu/sparc/sparc64/atomicity.h: Removed.
210 2002-09-06 Jakub Jelinek <jakub@redhat.com>
212 * config/os/gnu-linux/ctype_noninline.h
213 [_GLIBCPP_USE_SHADOW_HEADERS]: Remove using _C_legacy::__ctype_*.
214 (ctype<char>::classic_table): If _GLIBCPP_C_LOCALE_GNU, return
215 _S_c_locale->__ctype_b, otherwise temporarily switch to "C" locale
216 and return __ctype_b.
217 (ctype<char>::ctype(__c_locale, const mask*, bool, size_t)): If not
218 _GLIBCPP_C_LOCALE_GNU, temporarily switch to "C" locale and
219 initialize using __ctype_{b,tolower,toupper}.
220 (ctype<char>::ctype(const mask*, bool, size_t)): If
221 _GLIBCPP_C_LOCALE_GNU, initialize using
222 _S_c_locale->__ctype_{b,tolower,toupper}, otherwise temporarily
223 switch to "C" locale and initialize using __ctype_{b,tolower,toupper}.
225 2002-09-05 Paolo Carlini <pcarlini@unitus.it>
226 Roland McGrath <roland@redhat.com>
229 * src/locale.cc (locale::locale(__s)): Use getenv instead
230 of setenv for the environment locale.
231 * testsuite/22_locale/ctor_copy_dtor.cc (test03): New.
233 2002-09-05 Jakub Jelinek <jakub@redhat.com>
235 * config/abi/ia64-unknown-linux-gnu: Add.
236 * config/abi/ia64-unknown-linux-gnu/baseline_symbols.txt: New file.
237 * config/abi/alphaev67-unknown-linux-gnu: Add.
238 * config/abi/alphaev67-unknown-linux-gnu/baseline_symbols.txt: New file.
240 2002-09-05 Jonathan Wakely <jw@kayari.org>
242 * docs/html/Makefile: Use more portable shell wildcard.
243 * docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
244 * docs/html/configopts.html, docs/html/documentation.html,
245 docs/html/explanations.html, docs/html/install.html,
246 docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
247 docs/html/17_intro/license.html, docs/html/18_support/howto.html,
248 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
249 docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
250 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
251 docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
252 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
253 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
254 docs/html/27_io/howto.html, docs/html/ext/howto.html,
255 docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
257 * docs/html/faq/index.txt: Regenerate.
259 2002-09-05 Jakub Jelinek <jakub@redhat.com>
261 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_widen(char)):
262 Switch to _M_c_locale_ctype around btowc call.
263 (ctype<wchar_t>::do_widen(const char*, const char *, wchar_t*)):
264 Switch to _M_c_locale_ctype around mbsrtowcs call.
265 (ctype<wchar_t>::do_narrow(char)): Switch to _M_c_locale_ctype around
267 (ctype<wchar_t>::do_narrow(const char*, const char *, wchar_t*)):
268 Switch to _M_c_locale_ctype around wcsrtombs call.
270 2002-09-05 Jakub Jelinek <jakub@redhat.com>
272 * config/locale/gnu/monetary_members.cc
273 (moneypunct<wchar_t, true>::_M_initialize_moneypunct,
274 moneypunct<wchar_t, false>::_M_initialize_moneypunct): Use
275 __uselocale instead of setlocale for glibc 2.3.
277 2002-09-05 Jakub Jelinek <jakub@redhat.com>
279 * config/locale/generic/c++locale_internal.h: New header.
280 * config/locale/gnu/c++locale_internal.h: New header.
281 * config/locale/gnu/c_locale.cc: Include it.
282 * config/locale/gnu/collate_members.cc: Include it.
283 * config/locale/gnu/ctype_members.cc: Include it.
284 * config/locale/gnu/messages_members.cc: Include it.
285 * config/locale/gnu/monetary_members.cc: Include it.
286 * config/locale/gnu/numeric_members.cc: Include it.
287 * config/locale/gnu/time_members.cc: Include it.
288 (_M_put): Reorder __strftime_l and __wcsftime_l arguments to match
290 (_M_initialize_timepunct): Initialize _M_c_locale_timepunct for
292 * acinclude.m4: Include string.h when testing strcoll_l.
293 For glibc 2.3 provide __-prefixed prototypes.
294 (CLOCALE_INTERNAL_H): Set, add AC_LINK_FILES line.
295 * aclocal.m4, configure: Rebuilt.
297 2002-09-05 Benjamin Kosnik <bkoz@redhat.com>
299 * include/bits/locale_facets.h: Add declaration of specialization
301 * config/locale/gnu/messages_members.cc: Add specialization for
303 * config/locale/gnu/messages_members.h: Remove generic definition
306 2002-09-04 Richard Henderson <rth@redhat.com>
308 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
309 __glibcpp_f32_has_infinity, __glibcpp_f64_infinity_bytes,
310 __glibcpp_f64_has_infinity, __glibcpp_f80_infinity_bytes,
311 __glibcpp_f80_has_infinity, __glibcpp_f96_infinity_bytes,
312 __glibcpp_f96_has_infinity, __glibcpp_f128_infinity_bytes,
313 __glibcpp_f128_has_infinity, __glibcpp_float_infinity_bytes,
314 __glibcpp_float_has_infinity, __glibcpp_double_infinity_bytes,
315 __glibcpp_double_has_infinity, __glibcpp_long_double_infinity_bytes,
316 __glibcpp_long_double_has_infinity): Remove.
317 (std::numeric_limits<float>, std::numeric_limits<double>,
318 std::numeric_limits<long double>): Use __builtin_huge_val
319 to implement has_infinity and infinity().
320 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_double_infinity,
321 __glibcpp_long_double_infinity): Remove.
323 2002-09-03 Richard Henderson <rth@redhat.com>
325 * include/std/std_limits.h (__glibcpp_f32_min, __glibcpp_f32_max,
326 __glibcpp_f32_digits, __glibcpp_f32_digits10, __glibcpp_f32_radix,
327 __glibcpp_f32_epsilon, __glibcpp_f32_min_exponent,
328 __glibcpp_f32_min_exponent10, __glibcpp_f32_max_exponent,
329 __glibcpp_f32_max_exponent10, __glibcpp_f64_min, __glibcpp_f64_max,
330 __glibcpp_f64_digits, __glibcpp_f64_digits10, __glibcpp_f64_radix,
331 __glibcpp_f64_min_exponent, __glibcpp_f64_min_exponent10,
332 __glibcpp_f64_max_exponent, __glibcpp_f64_max_exponent10,
333 __glibcpp_f80_min, __glibcpp_f80_max, __glibcpp_f80_digits,
334 __glibcpp_f80_digits10, __glibcpp_f80_radix, __glibcpp_f80_epsilon,
335 __glibcpp_f80_min_exponent, __glibcpp_f80_min_exponent10,
336 __glibcpp_f80_max_exponent, __glibcpp_f80_max_exponent10,
337 __glibcpp_f96_min, __glibcpp_f96_max, __glibcpp_f96_digits,
338 __glibcpp_f96_digits10, __glibcpp_f96_radix, __glibcpp_f96_epsilon,
339 __glibcpp_f96_min_exponent, __glibcpp_f96_min_exponent10,
340 __glibcpp_f96_max_exponent, __glibcpp_f96_max_exponent10,
341 __glibcpp_f128_min, __glibcpp_f128_max, __glibcpp_f128_digits,
342 __glibcpp_f128_digits10, __glibcpp_f128_radix, __glibcpp_f128_epsilon,
343 __glibcpp_f128_min_exponent, __glibcpp_f128_min_exponent10,
344 __glibcpp_f128_max_exponent, __glibcpp_f128_max_exponent10,
345 __glibcpp_float_min, __glibcpp_float_max, __glibcpp_float_digits,
346 __glibcpp_float_digits10, __glibcpp_float_radix,
347 __glibcpp_float_epsilon, __glibcpp_float_min_exponent,
348 __glibcpp_float_min_exponent10, __glibcpp_float_max_exponent,
349 __glibcpp_float_max_exponent10, __glibcpp_double_min,
350 __glibcpp_double_max, __glibcpp_double_digits,
351 __glibcpp_double_digits10, __glibcpp_double_radix,
352 __glibcpp_double_epsilon, __glibcpp_double_min_exponent,
353 __glibcpp_double_min_exponent10, __glibcpp_double_max_exponent,
354 __glibcpp_double_max_exponent10, __glibcpp_long_double_min,
355 __glibcpp_long_double_max, __glibcpp_long_double_digits,
356 __glibcpp_long_double_digits10, __glibcpp_long_double_radix,
357 __glibcpp_long_double_epsilon, __glibcpp_long_double_min_exponent,
358 __glibcpp_long_double_min_exponent10,
359 __glibcpp_long_double_max_exponent,
360 __glibcpp_long_double_max_exponent10): Remove macros.
361 (std::numeric_limits<float>, std::numeric_limits<double>,
362 std::numeric_limits<long double>): Use protected float.h macros.
364 2002-09-01 Phil Edwards <pme@gcc.gnu.org>
366 * testsuite/Makefile.am: Use LD_RUN_PATH when linking abi_check.
367 Fix spelling in comment.
368 * testsuite/Makefile.in: Regenerate.
369 * testsuite/abi_check.cc: Use string literals to build 'cmd' rather
370 than 'quote' and 'bslash'.
372 2002-08-31 Phil Edwards <pme@gcc.gnu.org>
374 * acinclude.m4: Minor comment tweaks.
376 * docs/html/makedoc.awk: New file...
377 * docs/html/Makefile: ...called from here...
378 * docs/html/documentation.html: ...to help generate this.
380 * docs/html/21_strings/howto.html: Prepare for new entry.
381 * include/bits/basic_string.h: Initial basic_stirng hook for
382 doxygen. Remove trailing whitespace.
383 * include/bits/char_traits.h: Point to onlinedocs for new entry.
384 * include/bits/stringfwd.h: Add doxygen hooks for string and
387 2002-08-29 Richard Earnshaw <rearnshaw@arm.com>
389 * config/cpu/arm/cpu_limits.h: New file.
390 * configure.target: Use config/cpu/arm for XScale and StrongARM
393 2002-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
395 * include/std/std_limits.h (__glibcpp_char_bits,
396 __glibcpp_short_bits, __glibcpp_int_bits, __glibcpp_long_bits,
397 __glibcpp_long_long_bits, __glibcpp_float_bits,
398 __glibcpp_double_bits, __glibcpp_long_double_bits): Remove. Use
399 compiler predifined macros.
400 (__glibcpp_wchar_t_is_signed): Define based on compiler predefined
403 2002-08-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
405 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
406 __glibcpp_f32_has_infinity, __glibcpp_f32_QNaN_bytes,
407 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
408 __glibcpp_f32_has_SNaN, __glibcpp_f32_denorm_min_bytes,
409 __glibcpp_f32_has_denorm, __glibcpp_f32_is_iec559,
410 __glibcpp_f64_infinity_bytes,
411 __glibcpp_f64_has_infinity, __glibcpp_f64_QNaN_bytes,
412 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
413 __glibcpp_f64_has_SNaN, __glibcpp_f64_denorm_min_bytes,
414 __glibcpp_f64_has_denorm, __glibcpp_f64_is_iec559,
415 __glibcpp_f80_infinity_bytes,
416 __glibcpp_f80_has_infinity, __glibcpp_f80_QNaN_bytes,
417 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
418 __glibcpp_f80_has_SNaN, __glibcpp_f80_denorm_min_bytes,
419 __glibcpp_f80_has_denorm, __glibcpp_f80_is_iec559,
420 __glibcpp_f96_infinity_bytes,
421 __glibcpp_f96_has_infinity, __glibcpp_f96_QNaN_bytes,
422 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
423 __glibcpp_f96_has_SNaN, __glibcpp_f96_denorm_min_bytes,
424 __glibcpp_f96_has_denorm, __glibcpp_f96_is_iec559,
425 __glibcpp_f128_infinity_bytes,
426 __glibcpp_f128_has_infinity, __glibcpp_f128_QNaN_bytes,
427 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
428 __glibcpp_f128_has_SNaN, __glibcpp_f128_denorm_min_bytes,
429 __glibcpp_f128_has_denorm, __glibcpp_f128_is_iec559,
430 __glibcpp_float_infinity_bytes,
431 __glibcpp_float_has_infinity, __glibcpp_float_QNaN_bytes,
432 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
433 __glibcpp_float_has_SNaN, __glibcpp_float_denorm_min_bytes,
434 __glibcpp_float_has_denorm, __glibcpp_float_is_iec559,
435 __glibcpp_double_infinity_bytes,
436 __glibcpp_double_has_infinity, __glibcpp_double_QNaN_bytes,
437 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
438 __glibcpp_double_has_SNaN, __glibcpp_double_denorm_min_bytes,
439 __glibcpp_double_has_denorm, __glibcpp_double_is_iec559,
440 __glibcpp_long_double_infinity_bytes,
441 __glibcpp_long_double_has_infinity, __glibcpp_long_double_QNaN_bytes,
442 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
443 __glibcpp_long_double_has_SNaN, __glibcpp_long_double_denorm_min_bytes,
444 __glibcpp_long_double_has_denorm, __glibcpp_long_double_is_iec559:
446 (__glibcpp_word_bits, __glibcpp_word): Likewise.
447 (__glibcpp_byte): New typedef.
448 (__float_storage, __double_storage, __long_double_storage): New types.
449 (__glibcpp_float_infinity, __glibcpp_float_QNaN,
450 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Now
452 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
453 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
454 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
455 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
458 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_float_QNaN,
459 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Define.
460 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
461 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
462 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
463 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
466 2002-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
468 * include/std/std_limits.h: Indent conditional macro definitions.
470 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
472 * Makefile.am (check-abi): Specify current directory.
473 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Fix shell syntax, use
474 abi_baseline_triplet in baseline_file.
475 * Makefile.in, aclocal.m4, configure: Regenerate.
476 * configure.target: Add abi_baseline_triplet with default.
477 * testsuite/abi_check.cc: More error checking.
479 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
481 * config/linker-map.gnu: Verbose comments, clean up spacing.
482 * include/bits/stl_alloc.h: Fix indentation of 'if' bodies, return
484 __allocator: Change class declaration to struct.
485 * docs/html/17_intro/C++STYLE: Fix typo.
486 * include/bits/stl_deque.h, include/bits/stl_list.h,
487 include/bits/stl_map.h, include/bits/stl_multimap.h,
488 include/bits/stl_vector.h: Fix fallout from typo.
490 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
492 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
493 GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
495 * aclocal.m4: Regenerate.
496 * testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
498 * testsuite/Makefile.in: Regenerate.
500 2002-08-22 Loren J. Rittle <ljrittle@acm.org>
502 * testsuite/abi_check.cc: Enhance shell portability.
503 Support older binutils/readelf.
504 * config/abi/i386-unknown-freebsd4.6: Add.
505 * config/abi/i386-unknown-freebsd4.6/baseline_symbols.txt: New file.
507 2002-08-22 Paolo Carlini <pcarlini@unitus.it>
509 * docs/html/faq/index.html: Add Loren James Rittle and
510 Paolo Carlini to the list of v3 maintainers.
511 * docs/html/faq/index.txt: Ditto.
512 * docs/html/17_intro/RELEASE-NOTES: Ditto.
514 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
515 Phil Edwards <pme@gcc.gnu.org>
516 Ulrich Drepper <drepper@redhat.com>
518 * Makefile.am (check-abi): New rule.
519 * Makefile.in: Regenerate.
520 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
521 * aclocal.m4: Regenerate.
522 * configure: Regenerate.
523 * testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
524 (abi_check_SOURCES): Add.
525 * testsuite/Makefile.in: Regenerate.
526 * testsuite/abi_check.cc: New file.
528 * config/abi/i686-pc-linux-gnu: Add.
529 * config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.
531 2002-08-19 Benjamin Kosnik <bkoz@redhat.com>
533 * configure.in (libtool_VERSION): Update to 5:1:0.
534 * configure: Regenerate.
536 2002-08-19 Jonathan Wakely <jw@kayari.org>
538 * docs/html/configopts.html, docs/html/documentation.html,
539 docs/html/install.html, docs/html/22_locale/codecvt.html,
540 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
541 docs/html/22_locale/locale.html,
542 docs/html/22_locale/messages.html: Conform to HTML 4.01 standard.
544 2002-08-15 Benjamin Kosnik <bkoz@redhat.com>
546 * include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
547 _M_buf_size_opt to zero when unbuffering.
548 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
549 Consistency checks for _M_buf_size_opt.
551 Revert PR libstdc++/7445
552 * src/locale.cc (locale::classic): Revert.
554 * docs/html/17_intro/TODO: Add.
556 2002-08-15 Phil Edwards <pme@gcc.gnu.org>
558 * docs/html/documentation.html: Update doxygen links for 3.2.
560 2002-08-15 Steve Ellcey <sje@cup.hp.com>
562 * libsupc++/unwind-cxx.h (__cxa_exception): Change catchTemp
563 type from void* to _Unwind_Ptr.
564 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
565 Do not cast landing_pad or base_of_encoded_value to (void *).
566 * libsupc++/eh_throw.cc (__gxx_exception_cleanup):
567 Accept _URC_NO_REASON as a valid reason code.
569 2002-08-14 Jonathan Wakely <jw@kayari.org>
571 * docs/html/22_locale/messages.html: Use HTML entities for
574 2002-08-13 Jonathan Wakely <jw@kayari.org>
575 Phil Edwards <pme@gcc.gnu.org>
577 * docs/html/documentation.html: Use HTML entities for punctuation.
579 2002-08-09 Phil Edwards <pme@gcc.gnu.org>
581 * include/bits/deque.tcc, include/bits/list.tcc,
582 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
583 include/bits/stl_list.h, include/bits/stl_map.h,
584 include/bits/stl_multimap.h, include/bits/stl_queue.h,
585 include/bits/stl_stack.h, include/bits/stl_vector.h,
586 include/bits/vector.tcc: Re-indent contents of namespace std,
587 re-wrap comment lines as necessary.
589 2002-08-08 Danny Smith <dannysmith@users.sourceforge.net>
590 Benjamin Kosnik <bkoz@redhat.com>
592 * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
594 * testsuite/27_io/narrow_stream_objects.cc (test10): Add.
596 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
598 * libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
599 * libsupc++/Makefile.in: Regenerate.
601 2002-08-05 Gabriel Dos Reis <gdr@nerim.net>
604 * include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
605 Instantiate with new function objects.
606 * include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
608 * include/bits/gslice_array.h: Likewise.
609 * include/bits/indirect_array.h: Likewise.
611 2002-08-03 Gabriel Dos Reis <gdr@nerim.net>
613 * testsuite/26_numerics/valarray_name_lookup.cc: Rename from
614 testsuite/26_numerics/valarray_name_lookup.C
616 * include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
617 object function surrogates.
618 * include/bits/valarray_meta.h (__shift_left): Fix typo.
619 (_BinFunClos<>): Remove.
620 (_BinFunBase<>): Likewise.
621 (_BinFunBase1<>):Likewise.
622 (_BinFunBase2<>): Likewise.
623 (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
624 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
625 (_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
626 (_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
627 * include/std/std_valarray.h: Dont #include <functional> anymore.
628 (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
629 _Shift_right<>): Remove.
630 (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
631 (_DEFINE_BINARY_OPERATOR): Tweak definition.
632 (_DEFINE_LOGICAL_OPERATOR): Remove.
633 * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.
635 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
637 * include/bits/valarray_meta.h (_UnFunBase<>): Remove.
638 (_UnFunClos<>): Same.
639 (_UnBase<>): Reformat. Make first template-parameter non
641 (_UnClos<>): Likewise.
642 (_Expr<>): Reformate. Adjust unary member operator return types.
643 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
644 (_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
645 * include/std/std_valarray.h (_UnClos<>): Adjust declaration.
646 (valarray<>::_UnaryOp<>): New nested traits. Adjust unary member
647 operator return types. Reformat.
648 (_Bitwise_not): Remove.
649 (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
650 * testsuite/26_numerics/valarray_name_lookup.C: New test.
652 2002-08-02 Danny Smith <dannysmith@users.sourceforge.net>
654 * config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
655 (scan_is): Use this->is.
656 (scan_not): Likewise.
658 2002-08-02 Benjamin Kosnik <bkoz@redhat.com>
660 Revert PR libstdc++/6594
661 * src/strstream.cc (strstreambuf): Revert.
662 (strstreambuf::overflow): Same.
663 (strstreambuf::~strstreambuf): Same.
664 * testsuite/backward/strstream_members.cc (test02): Add.
666 * docs/html/abi.txt: Update. Spell check.
668 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
670 * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
671 * testsuite/Makefile.in: Regenerate.
672 * testsuite/testsuite_hooks.h: Use __throw_exception_again,
673 include functexcept.h so that -fno-exceptions will build.
675 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
677 * include/bits/valarray_meta.h (__unary_plus, __negate,
678 __bitwise_not, __plus, __minus, __multiplies, __divides,
679 __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
680 __shift_left, __shift_right, __logical_and, __logical_or,
681 __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
682 __greater_equal, __greater, __atan2, __pow): New function object
684 (__fun<>): New function traits class.
686 2002-08-01 Rick Danos <rdanos@hotmail.com>
689 * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
690 * config/os/newlib/ctype_inline.h (is): Use static_cast.
692 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
694 * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
695 * libsupc++/Makefile.in: Regenerate.
697 2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
698 Jakub Jelinek <jakub@redhat.com>
700 * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
701 GLIBCPP_3.1 to GLIBCPP_3.2.
703 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
704 Mark Mitchell <mark@codesourcery.com>
707 * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
709 (__class_type_info): And here.
711 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
715 (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
716 (__base_class_info::__base): Change to __base_type. 2.9.5p6c
717 (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
718 (__vmi_class_type_info::__base_info): Don't make const, of type
719 __base_class_type_info, as per 2.9.5p6c
720 (__pbase_type_info::__qualifier_flags): Change to __flags, as per
722 (__pbase_type_info::__qualifier_masks): Change to __masks, as per
724 (__pointer_to_member_type_info::__context_class): Change member to
725 __context, as per 2.9.5p9.
726 * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
728 * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
730 * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
732 * libsupc++/tinfo.cc (__do_dyncast): Same.
733 * libsupc++/tinfo.cc (__do_upcast): Same.
735 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
737 * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
739 2002-07-31 Simon Whomsley <whomsley@avacadcam.com>
741 * docs/html/22_locale/howto.html: Fix.
743 2002-07-31 Alex Kompel <shurik@sequoiap.com>
746 * src/locale.cc (locale::classic): Move locks inside !_S_classic
749 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
751 * docs/html/abi.txt: Update.
753 2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
754 Gabriel Dos Reis <gdr@nerim.net>
756 * include/bits/char_traits.h: Remove generic definitions.
757 * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
759 * include/bits/istream.tcc (istream::readsome): Don't check
760 against eof, instead use constants.
761 (istream::sync): Same.
762 (istream::sentry::sentry): Use eq_int_type.
763 (istream::get): Same.
764 * include/bits/ostream.tcc: Change __pad to
765 __pad<_CharT, _Traits>::_S_pad.
766 * include/bits/locale_facets.h: Add __pad_traits generic and
767 ostreambuf_iterator specialization.
768 * include/bits/locale_facets.tcc: Change __pad into struct __pad
769 with a _CharT and _Traits template parameter and _S_pad static
771 * src/locale-inst.cc: Update __pad instantiations.
773 * include/std/std_fstream.h: Declare _M_underflow_common
775 * src/fstream.cc: New. Add _M_underflow_common specializations.
776 * include/bits/fstream.tcc (filebuf::close): Use traits_type.
777 (filebuf::_M_underflow_common(bool)): Remove generic version, as
778 sys_ungetc and custom int_types don't get along.
779 * include/std/std_streambuf.h: Add _M_pos.
780 * src/Makefile.am (sources): Add fstream.cc.
781 * src/Makefile.in: Regenerate.
783 * testsuite/21_strings/capacity.cc: Add char_traits specializations.
784 * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
785 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
786 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
787 * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
788 * testsuite/27_io/filebuf.cc: ...here.
789 * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
790 specialization for both.
791 * testsuite/27_io/streambuf.cc: Add instantiation test,
792 testsuite_hooks include.
793 * testsuite/27_io/istream.cc: Same.
794 * testsuite/27_io/ostream.cc: Same.
795 * testsuite/27_io/fstream.cc: Same.
796 * testsuite/27_io/stringstream.cc: Same.
797 * testsuite/27_io/filebuf.cc: Same.
798 * testsuite/27_io/stringbuf.cc: Same.
800 2002-07-29 Alan Modra <amodra@bigpond.net.au>
802 * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
803 * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
804 * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
805 (__test_and_set): Remove.
806 (_STWCX): Define and use.
808 2002-07-26 Phil Edwards <pme@gcc.gnu.org>
810 * libsupc++/new (placement delete): Remove unused parameter names.
812 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
815 * include/std/std_istream.h (basic_iostream): Add typedefs for
816 char_type, int_type, pos_type, off_type, and traits_type.
817 * testsuite/27_io/iostream.cc (test01): Add typedef tests.
818 * testsuite/27_io/istream.cc: Same.
819 * testsuite/27_io/ostream.cc: Same.
820 * testsuite/27_io/filebuf.cc: Same.
821 * testsuite/27_io/stringbuf.cc: Replace content, move to...
822 * testsuite/27_io/stringbuf_members.cc: ...here.
823 * testsuite/27_io/streambuf.cc: Replace content, move to...
824 * testsuite/27_io/streambuf_members.cc: ...here.
825 * testsuite/27_io/stringstream.cc: Replace content, move to...
826 * testsuite/27_io/stringstream_members.cc: ...here.
827 * testsuite/27_io/ios.cc: New file.
828 * testsuite/27_io/fstream.cc: New file.
829 * testsuite/27_io/ifstream.cc: New file.
830 * testsuite/27_io/ofstream.cc: New file.
831 * testsuite/27_io/istringstream.cc: New file.
832 * testsuite/27_io/ostringstream.cc: New file.
834 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
837 * include/bits/istream.tcc (istream::ignore): Don't extract on
839 * testsuite/27_io/istream_unformatted.cc (test10): Add.
841 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
843 * testsuite/27_io/ios_base_type.cc: Move to...
844 * testsuite/27_io/ios_base_types.cc: ...here.
846 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
849 * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
850 * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
852 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
855 * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
856 * include/Makefile.am (backward_headers): Use strstream, not
858 * include/Makefile.in: Regenerate.
859 * include/backward/strstream: Revert.
860 * include/backward/strstream.h: Remove.
861 * src/strstream.cc: Revert.
862 * testsuite/backward/strstream_members.cc: Change include.
864 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
867 * include/bits/ios_base.h (ios_base::streampos): Add.
868 (ios_base::streamoff): Add.
869 * testsuite/27_io/ios_base_type.cc: New.
871 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
874 * libsupc++/new: Add placement delete.
875 * testsuite/18_support/new_delete_placement.cc: New.
877 * docs/html/abi.txt: Fix typos.
879 2002-07-23 Benjamin Kosnik <bkoz@redhat.com>
881 * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
882 confusing usage of "latest."
883 De-tangle contributor information from introductory notes.
884 Move abi.txt link placement, activate.
886 Move chapter info into old FAQ format.
887 * docs/html/organization.html: Removed, obsoleted by doxygen work.
888 * docs/html/abi.txt: Add notes on testing ABI changes.
890 2002-07-20 Phil Edwards <pme@gcc.gnu.org>
892 * docs/html/abi.txt: New file.
893 * docs/html/23_containers/howto.html: Tweak vector-overhead text.
894 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
895 Import from upstream, R22.
897 * include/bits/char_traits.h, include/bits/stl_iterator.h,
898 include/bits/stl_iterator_base_types.h, libsupc++/exception,
899 libsupc++/new, libsupc++/typeinfo: Use @brief markup.
901 * include/bits/deque.tcc, include/bits/stl_alloc.h,
902 include/bits/stl_deque.h, include/bits/stl_list.h: Postpone removal
903 of deprecated functions until 3.4. (Same timeframe, different text.)
904 * include/bits/stl_vector.h: Ditto. Also do the same cleanups that
905 the other sequence classes received.
907 2002-07-18 Brendan Kehoe <brendan@zen.org>
909 * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
912 2002-07-19 Gabriel Dos Reis <gdr@nerim.net>
915 * include/bits/slice_array.h
916 (slice_array<T>::operator=(const T&)): Constify.
917 * include/bits/gslice_array.h
918 (gslice_array<T>::operator=(const T&)): Likewise.
919 * include/bits/mask_array.h
920 (mask_array<T>::operator=(const T&)): Likewise.
921 * include/bits/indirect_array.h
922 (indirect_array<T>::operator=(const T&): Likewise.
924 2002-07-17 Phil Edwards <pme@gcc.gnu.org>
926 * docs/doxygen/run_doxygen: Remove template parameter names from
927 "Compound List" summary page. Reformat.
928 * docs/html/documentation.html: XHTML fixes.
930 2002-07-16 Andreas Schwab <schwab@suse.de>
932 * libsupc++/new (set_new_handler): Declare to not throw any
934 * libsupc++/new_handler.cc (set_new_handler): Likewise.
936 2002-07-16 Gabriel Dos Reis <gdr@nerim.net>
938 * include/Makefile.am (bits_headers): Remove slice.h
939 * include/Makefile.in: Regenerate.
940 * include/bits/slice.h (slice): move to include/bits/slice_array.h
941 * include/bits/slice.h Remove.
942 * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
943 * include/bits/slice_array.h: Comply to official coding styles.
944 * testsuite/26_numerics/slice.cc: New test.
946 2002-07-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
948 * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
949 print to match vendor <ctype.h>.
951 2002-07-15 Phil Edwards <pme@gcc.gnu.org>
953 * docs/html/faq/index.html: Fix download links.
954 * docs/html/faq/index.txt: Regenerate.
955 * docs/html/17_intro/porting.html: Regenerate from earlier changes.
957 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
959 * configure.target (target_os switch): Allow for irix6*o32
962 2002-07-10 Gabriel Dos Reis <gdr@nerim.net>
964 * include/bits/valarray_meta.h (_UnFunBase): Take a second
965 template parameter. Remove _M_func data member.
966 (_UnFunClos): Take a third template parameter.
967 (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
968 __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
969 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
971 2002-07-08 Eric Christopher <echristo@redhat.com>
973 * configure.target: Fix comment for mips atomicity. Add
974 mips*-*-linux* target, enable atomic operations there.
975 * config/cpu/mips/atomicity.h: Fix comments, remove
976 #ifndef/#endif. Add push/pop mips2.
978 2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
980 * include/bits/stl_deque.h (_Deque_alloc_base): Change order of
981 member declarations to avoid compiler warnings and restore 3.1 ABI.
983 2002-07-08 Phil Edwards <pme@gcc.gnu.org>
985 * docs/html/23_containers/howto.html: Link to dk_std::vector paper
988 2002-07-07 Paolo Carlini <pcarlini@unitus.it>
991 * include/bits/stl_deque.h (_Deque_iterator::operator-):
992 Make non-member, as already happens for the comparison
993 operators in accord with DR179 (Ready).
994 * testsuite/23_containers/deque_operators.cc: Add test02.
996 2002-07-04 Benjamin Kosnik <bkoz@redhat.com>
997 Jack Reeves <jackw_reeves@hotmail.com>
999 * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
1000 size_t, from int_type.
1001 (basic_streambuf::_M_buf_size_opt): Same.
1002 (basic_streambuf::_S_pback_sizex): Same.
1003 * include/bits/streambuf.tcc: Same.
1004 * include/std/std_streambuf.h (basic_streambuf::snextc): Use
1006 (basic_streambuf::uflow): Same.
1007 * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
1009 * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
1010 * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
1012 (basic_streambuf::xsputn): Same.
1013 (__copy_streambufs): Same.
1015 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
1017 * include/std/std_memory.h: Fix formatting.
1018 * testsuite/20_util/auto_ptr_neg.cc: New.
1019 * testsuite/20_util/auto_ptr.cc: Tweaks.
1020 * testsuite/23_containers/map_operators.cc (test01): Split into..
1021 * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
1022 * testsuite/23_containers/set_operators.cc: Move to...
1023 * testsuite/23_containers/set_operators_neg.cc: ...here.
1024 * testsuite/README: Add some more naming rules.
1026 2002-07-03 Steev Wilcox <steev@paradigmds.com>
1029 * include/ext/stl_hashtable.h: Fix.
1030 * testsuite/ext/hash_map.cc: New.
1032 2002-07-03 Jack Reeves <jackw_reeves@hotmail.com>
1033 Kenny Simpson <theonetruekenny@yahoo.com>
1034 Phil Edwards <pme@gcc.gnu.org>
1037 * testsuite/20_util/auto_ptr.cc (test08): New test.
1038 * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit.
1039 (auto_ptr::operator auto_ptr_ref): Fix typo.
1040 General reformatting and doxygenating of the whole file.
1042 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
1045 * include/c/std_cwchar.h: Fix.
1047 2002-07-02 Benjamin Kosnik <bkoz@redhat.com>
1050 * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
1051 char* name parameter.
1052 * config/locale/gnu/monetary_members.cc: Use it.
1053 * config/locale/generic/monetary_members.cc: Same.
1054 * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
1056 * include/backward/strstream.h: Update date.
1058 2002-07-02 Paolo Carlini <pcarlini@unitus.it>
1061 * include/bits/stl_iterator.h
1062 (__normal_iterator::operator-(const __normal_iterator&)):
1063 Make non-member, as already happens for the comparison
1064 operators in accord with DR179 (Ready).
1065 * testsuite/24_iterators/iterator.cc: Add test from the PR.
1067 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
1070 * acinclude.m4: Simplify determination of gcc_version, and move
1071 up to GLIBCPP_CONFIGURE.
1072 * configure.in (release_VERSION): Really remove.
1073 (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER): Move after GLIBCPP_CONFIGURE.
1074 * aclocal.m4, configure: Regenerate.
1076 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
1078 * docs/html/configopts.html, docs/html/install.html: Tweaks.
1079 * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
1080 include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
1081 include/ext/slist, include/ext/stl_rope.h: Add doxygen hooks.
1083 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
1085 * include/backward/strstream: Remove namespace std. Transfer to...
1086 * include/backward/strstream.h: ...here. Qualify std names.
1087 * src/strstream.cc: Remove namespace std.
1088 * include/Makefile.am (backward_headers): Remove strstream.h.
1089 * include/Makefile.in: Regenerate.
1090 * config/linker-map.gnu: Export strstream bits.
1092 * src/fstream-inst.cc: Tweak.
1093 * src/io-inst.cc: Same.
1094 * src/istream-inst.cc: Same.
1095 * src/misc-inst.cc: Same.
1096 * src/ostream-inst.cc: Same.
1097 * src/sstream-inst.cc: Same.
1098 * src/valarray-inst.cc: Same.
1099 * src/misc-inst.cc: Remove unused instantiations.
1101 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
1103 * configure.in (libtool_VERSION): Bump to 5:0:0.
1104 * configure: Regenerate.
1106 2002-06-28 Phil Edwards <pme@gcc.gnu.org>
1108 PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
1109 * include/std/std_queue.h: Include deque.tcc, vector.tcc.
1110 * include/std/std_stack.h: Include deque.tcc.
1111 * testsuite/23_containers/adaptors.cc: New file.
1113 2002-06-27 Phil Edwards <pme@gcc.gnu.org>
1115 * include/bits/stl_alloc.h: Deprecate all 'reallocate' memfns.
1116 * docs/html/ext/howto.html: Update allocator notes.
1118 2002-06-26 Benjamin Kosnik <bkoz@redhat.com>
1120 * configure.in (INTERFACE): Remove.
1121 (release_VERSION): Remove.
1122 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
1123 (libstdcxx_interface): Change. Use gcc methods to determine version.
1124 * configure: Regenerate.
1125 * aclocal.m4: Regenerate.
1127 2002-06-25 DJ Delorie <dj@redhat.com>
1129 * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
1130 GLIBCPP_TOPREL_CONFIGURE.
1131 * aclocal.m4: Likewise.
1132 * configure.in: Call it before AC_CANONICAL_SYSTEM.
1133 * configure: Regenerate.
1135 2002-06-25 Jessica Han <jessica@cup.hp.com>
1137 * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
1138 * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
1139 _GLIBCPP_VTABLE_PADDING is defined.
1141 2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
1143 * include/bits/stl_alloc.h: Additional formatting.
1145 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
1147 * include/bits/stl_alloc.h: Reformat as per C++STYLE.
1149 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
1151 * config/cpu/*/bits/*: Move header files up a level. Remove bits.
1152 * config/os/*/bits/*: Likewise.
1153 * configure.in: Update.
1154 * configure: Regenerate.
1155 * configure.target: Update.
1156 * docs/html/17_intro/porting.texi: Update.
1158 2002-06-21 Phil Edwards <pme@gcc.gnu.org>
1160 * include/bits/stl_map.h, include/bits/stl_multimap.h,
1161 include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
1162 complete doxygenation.
1163 * include/bits/boost_concept_check.h: Minor comment.
1165 2002-06-21 Benjamin Kosnik <bkoz@redhat.com>
1167 * include/c_compatibility: New.
1168 * include/c_compatibility/assert.h: New.
1169 * include/c_compatibility/ctype.h: New.
1170 * include/c_compatibility/errno.h: New.
1171 * include/c_compatibility/float.h: New.
1172 * include/c_compatibility/iso646.h: New.
1173 * include/c_compatibility/limits.h: New.
1174 * include/c_compatibility/locale.h: New.
1175 * include/c_compatibility/math.h: New.
1176 * include/c_compatibility/setjmp.h: New.
1177 * include/c_compatibility/signal.h: New.
1178 * include/c_compatibility/stdarg.h: New.
1179 * include/c_compatibility/stddef.h: New.
1180 * include/c_compatibility/stdio.h: New.
1181 * include/c_compatibility/stdlib.h: New.
1182 * include/c_compatibility/string.h: New.
1183 * include/c_compatibility/time.h: New.
1184 * include/c_compatibility/wchar.h: New.
1185 * include/c_compatibility/wctype.h: New.
1187 * include/c/std_cerrno.h: Get out of the way... define errno.
1188 * include/c/std_cmath.h: Add abs, modf overloads.
1189 Undefine C99 isms. Still not sure how to deal with this sanely.
1190 * include/c/std_csetjmp.h: Tweak.
1191 * include/c/std_cwchar.h: Include cstddef for size_t.
1193 * include/c_std/std_cmath.h: Remove extra function.
1195 Pendantic std usage in testsuites.
1196 * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
1198 * testsuite/17_intro/header_cwchar.cc: Tweak.
1199 * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
1201 * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
1202 * testsuite/22_locale/ctype_to_char.cc (test05): Same.
1203 * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
1204 * testsuite/22_locale/ctype_is_char.cc (test05): Same.
1205 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
1206 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
1207 * testsuite/22_locale/time_get_members_char.cc (test08): Same.
1208 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
1209 * testsuite/22_locale/time_put_members_char.cc (test04): Same.
1210 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
1211 * testsuite/22_locale/num_put_members_char.cc (test04): Same.
1212 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
1213 * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
1214 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
1215 * testsuite/22_locale/num_get_members_char.cc: Same.
1216 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
1217 * testsuite/22_locale/money_put_members_char.cc (test07): Same.
1218 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
1219 * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
1220 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
1221 * testsuite/22_locale/money_get_members_char.cc (test08): Same.
1222 * testsuite/22_locale/messages_members_char.cc (test03): Same.
1223 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
1224 * testsuite/22_locale/collate_members_char.cc (test04): Same.
1225 * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
1226 * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
1227 * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
1229 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1231 * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
1234 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1236 * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
1237 Use size_type instead of unsigned long.
1239 2002-06-20 Steve Ellcey <sje@cup.hp.com>
1241 * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
1243 (_S_min_len): Ditto.
1245 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1247 * include/Makefile.am: Add rules.
1248 * include/Makefile.in: Regenerate.
1250 * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
1251 * aclocal.m4: Regenerate.
1252 * configure: Regenerate.
1253 * configure.target (c_model, c_compatibility): Add.
1255 * libsupc++/Makefile.am (c_sources): New.
1256 (libsupc___la_SOURCES): Add c_sources.
1257 (LTCOMPILE): Remove INCLUDES.
1258 (GCC_INCLUDES): New.
1259 (C_COMPILE): New, like COMPILE but without INCLUDES.
1260 (cxa_demangle.o): Use C_COMPILE.
1261 (dyn-string.o): Use C_COMPILE.
1263 * include/c/std_cstdarg.h: Define __need___va_list.
1264 * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
1265 need_NULL, need_offsetof.
1267 2002-06-19 Steve Ellcey <sje@cup.hp.com>
1269 * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*): Remove
1270 definitions in hpux11 cross-build because these functions do
1271 not exist on hpux11 (but some exist on hpux10); move defaults out
1272 into existing sections.
1273 * configure: Regenerate.
1275 2002-06-18 Benjamin Kosnik <bkoz@redhat.com>
1277 * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
1278 * include/c/std_cwctype.h: Guard.
1280 * libsupc++/eh_alloc.cc: Tweak include order.
1281 * libsupc++/pure.cc: Use cstdio.
1282 * libsupc++/new_op.cc: Remove malloc forward declaration, as
1283 cstdlib brings it in. Use std::malloc.
1285 * src/Makefile.am (sources): Remove cmath.cc.
1286 * src/Makefile.in: Regenerate.
1287 * src/cmath.cc: Remove.
1289 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
1291 * configure.target: Force mips to use the generic cpu routines.
1293 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
1295 * configure.host: Delete file.
1296 * configure.target: More documentation. Factor out common parts of
1297 script into "intelligent" settings about defaults. Remove redundancy.
1299 * acinclude.m4: Update comments. Do not call configure.host.
1300 (GLIBCPP_ENABLE_SYMVERS): If disabled, do not bother checking for
1302 * configure.in: Slight reformatting, more comments. Factor out
1303 "config/" from all the directories.
1304 * docs/html/17_intro/porting.texi: Update and expand.
1305 * testsuite/Makefile.am (AM_RUNTESTFLAGS): Move empty setting
1306 from configure.host.
1308 * aclocal.m4, configure, docs/html/17_intro/porting.html,
1309 testsuite/Makefile.in: Regenerate.
1311 2002-06-16 Phil Edwards <pme@gcc.gnu.org>
1313 * docs/doxygen/TODO: Update.
1314 * docs/doxygen/tables.html: Uncomment magical middle column.
1315 * docs/doxygen/user.cfg.in: Kludge to ignore function-like macros.
1316 * include/bits/stl_queue.h: Doxygenate and reformat.
1317 * include/bits/ios_base.h, include/std/std_streambuf.h: Add comment
1318 for deprecated names required by the standard.
1320 2002-06-14 J.T. Conklin <jtc@acorntoolworks.com>
1322 * configure.in (target_alias): Fix.
1323 * configure: Regenerate.
1324 * aclocal.m4: Regenerate.
1326 2002-06-12 Phil Edwards <pme@gcc.gnu.org>
1328 * include/Makefile.am: Add new files.
1329 * include/Makefile.in: Regenerate.
1331 * include/bits/stl_deque.h, include/bits/stl_list.h,
1332 include/bits/stl_vector.h: Clean up, reformat. Move definitions...
1333 * include/bits/deque.tcc, include/bits/list.tcc,
1334 include/bits/vector.tcc: ...to here. New files.
1336 * include/ext/stl_hashtable.h: Inclide correct full headers.
1337 * include/std/std_deque.h: Include .tcc files for now.
1338 * include/std/std_list.h: Likewise.
1339 * include/std/std_vector.h: Likewise.
1341 2002-06-12 Daniel Jacobowitz <drow@mvista.com>
1343 * Makefile.am: Add FLAGS_TO_PASS.
1344 * Makefile.in: Regenerated.
1346 2002-06-11 J.T. Conklin <jtc@acorntoolworks.com>
1347 Benjamin Kosnik <bkoz@redhat.com>
1349 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
1351 * configure.in: Add support for *-qnx6.[12]*.
1352 * configure: Regenerate.
1354 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
1356 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
1357 ctype_noninline.h, os_defines.h: New files.
1359 2002-06-10 Loren J. Rittle <ljrittle@acm.org>
1361 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
1362 include all required headers for test against older POSIX standard.
1363 (GLIBCPP_CHECK_SETRLIMIT): Likewise.
1364 (ac_setrlimit): Likewise.
1365 * aclocal.m4: Regenerate.
1366 * configure: Regenerate.
1367 * testsuite/testsuite_hooks.cc: Reorder and include all
1368 required headers for use against older POSIX standard.
1370 2002-06-08 Paolo Carlini <pcarlini@unitus.it>
1372 * testsuite/backwards/strstream_members.cc: New.
1374 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
1376 * include/backwards/strstream: Format.
1377 * src/strstream.cc: Format.
1379 2002-06-08 Andreas Schwab <schwab@suse.de>
1381 * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
1382 _M_buf_size and _M_buf_size_opt to the new buffer and size.
1384 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
1386 * config/os/generic/bits/ctype_noninline.h: Tweak format.
1388 2002-06-07 Steve Ellcey <sje@cup.hp.com>
1390 * src/locale-inst.cc (__codecvt_abstract_base):
1391 Put inside _GLIBCPP_USE_WCHAR_T ifdef.
1392 * include/bits/istream.tcc (basic_istream): Ditto.
1395 * include/bits/ostream.tcc (basic_ostream): Ditto.
1399 (operator<<): Ditto.
1401 2002-06-07 Phil Edwards <pme@gcc.gnu.org>
1403 * mkcheck.in: Link against local testsuite library.
1404 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
1405 implementation out...
1406 * testsuite/testsuite_hooks.cc: ...to here.
1408 2002-06-06 Loren J. Rittle <ljrittle@acm.org>
1410 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
1411 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
1412 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
1413 * src/Makefile.in: Regenerate (explicitly with --cygnus option).
1414 * testsuite/Makefile.in: Likewise.
1416 2002-06-05 David Edelsohn <edelsohn@gnu.org>
1418 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
1419 Call external symbol.
1421 2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1423 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1424 Search correct multilib testsuite dir for libv3test.
1426 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
1427 Gaby Dos Reis <gdr@codesourcery.com>
1429 * include/bits/basic_string.tcc
1430 (basic_string::_S_construct(forward_iterator_tag):
1431 Fix typo in null pointer check.
1432 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
1434 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
1436 * testsuite/22_locale/money_get_members_char.cc
1437 (test02): Add decimal point to long double constants.
1438 * testsuite/22_locale/money_get_members_wchar_t.cc
1440 * testsuite/22_locale/money_put_members_char.cc
1441 (test02, test03, test06): Likewise.
1442 * testsuite/22_locale/money_put_members_wchar_t.cc:
1443 (test02, test03, test06): Likewise.
1444 * testsuite/22_locale/num_get_members_char.cc:
1445 (test02, test01): Likewise; suffix long long constants with LL.
1446 * testsuite/22_locale/num_get_members_wchar_t.cc:
1447 (test02, test01): Likewise.
1448 * testsuite/22_locale/num_put_members_char.cc:
1449 (test02, test01): Likewise.
1450 * testsuite/22_locale/num_put_members_wchar_t.cc:
1451 (test02, test01): Likewise.
1453 2002-06-03 Marc Espie <espie@openbsd.org>
1455 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
1456 assembly for old assemblers.
1458 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1460 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
1462 (vector<bool>::swap(reference,reference)): ...to this.
1464 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1466 * docs/doxygen/TODO: Update.
1467 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
1468 some class members are in 14882 order.
1469 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
1471 * include/std/std_bitset.h: Update comment.
1472 * src/bitset.cc: Update comments, clean up spacing.
1474 * src/Makefile.am (sources): Alphabetize for convenience.
1475 * src/Makefile.in: Regenerate.
1477 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1479 * include/bits/stl_deque.h, include/bits/stl_list.h,
1480 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
1481 Reorder to match 14882. Doxygen blocks for all public members.
1483 2002-05-31 Marcus Meissner <meissner@suse.de>
1486 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
1487 * testsuite/23_containers/vector_bool.cc (test02): New test.
1489 2002-05-30 Marc Espie <espie@openbsd.org>
1491 * configure.in: Always check for sys/types.h
1492 * configure: Regenerate.
1494 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1496 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
1497 Rebuild the wrapper file every time this proc is called.
1499 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
1501 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
1503 * testsuite/Makefile.in: Regenerate.
1504 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
1505 list_modifiers.cc and rename from 'T'. Move code bodies...
1506 * testsuite/testsuite_hooks.cc: ...to here. New file.
1507 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
1508 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1509 Add libv3test.a to link options.
1511 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1513 * src/misc-inst.cc: Define unnecessary algorithm
1514 instantiations. Break apart instantiations into groupings below.
1515 * src/fstream-inst.cc: New.
1516 * src/io-inst.cc: New.
1517 * src/istream-inst.cc: New.
1518 * src/ostream-inst.cc: New.
1519 * src/streambuf-inst.cc: New.
1520 * src/sstream-inst.cc: New.
1521 * src/Makefile.am (sources): Add files.
1522 * src/Makefile.in: Regenerate.
1524 * acinclude.m4: Work around automake 1.4-p5 bug, change
1525 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
1527 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1530 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
1531 (classic_table): Fix.
1532 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1534 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1536 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
1537 _GLIBCPP_USE_WCHAR_T.
1538 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
1539 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
1540 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
1542 2002-05-26 Carlo Wood <carlo@alinoe.com>
1543 Paolo Carlini <pcarlini@unitus.it>
1546 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1547 (__enc_traits::operator=): add missing return statement.
1549 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
1552 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
1553 (operator>>): If nothing was extracted, don't fail in the
1555 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
1557 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
1560 * testsuite/22_locale/ctype_narrow_char.cc: New.
1561 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
1562 * testsuite/22_locale/ctype_widen_char.cc: New.
1563 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
1564 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
1565 * testsuite/22_locale/ctype_is_char.cc: ...this.
1566 * testsuite/22_locale/ctype_to_char.cc: ...and this.
1567 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
1568 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
1569 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
1571 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
1573 2002-05-24 Dale Peakall <dale@peakall.net>
1576 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
1577 * config/locale/generic/ctype_members.cc: Same.
1579 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
1582 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1583 for empty string literal.
1584 (ostream::operator<<(const _CharT*)): Same.
1585 (ostream<char>::operator<<(const char*)): Same.
1586 (ostream<char>::operator<<(streambuf*)): Same.
1587 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
1588 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
1590 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
1592 * configure.in (release_VERSION): Update to 3.1.1.
1593 (libtool_VERSION): Update to 4:1:0.
1594 * configure: Regenerate.
1596 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1598 * include/bits/stl_pair.h: Tweak comment markup.
1600 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1602 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
1604 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1606 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
1608 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1610 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
1611 Doxygenate all public members. Reorder to follow 14882.
1612 (vector::push_back(void)): Remove previously-deprecated fn.
1613 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
1614 Deprecate for removal in 3.3.
1616 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
1618 * docs/html/faq/index.html (5.4): Recommend against -I options for
1619 finding the ext headers.
1620 * docs/html/faq/index.txt: Regenerate.
1622 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
1624 * testsuite/23_containers/deque_operators.cc (test01):
1625 Fix minor typo in last commit.
1627 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
1630 * include/bits/stl_deque.h (_Deque_iterator::operator==,
1631 operator!=, operator<, operator>, operator>=, operator<=):
1632 Make non-member functions, to allow comparing const and
1633 non-const iterators in any order.
1634 * testsuite/23_containers/deque_operators.cc: New testfile.
1636 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
1638 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
1639 * docs/html/faq/index.txt: Regenerate.
1641 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1643 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
1644 * acinclude.m4: Likewise.
1645 * docs/html/Makefile: Likewise.
1646 * aclocal.m4: Regenerate.
1647 * configure: Regenerate.
1648 * Makefile.in: Regenerate.
1650 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
1653 * include/bits/c++config (__USE_MALLOC): Report case where
1654 the user improperly defined it on the command line.
1656 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1658 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
1659 Retrieve current limits before setting.
1661 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
1664 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1666 (ostream::operator<<(const _CharT*)): Same.
1667 (ostream<char>::operator<<(const char*)): Same.
1668 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
1670 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
1673 * src/strstream.cc (strstreambuf): Fix leak.
1675 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
1678 * include/bits/istream.tcc (istream::getline, ignore):
1679 Upon __idelim (__delim) call sbumpc() not snextc().
1680 * testsuite/27_io/narrow_stream_objects.cc:
1681 Add test08 and test09.
1683 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1685 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
1686 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
1688 * docs/html/install.html: Fix.
1690 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1692 * include/bits/fstream.tcc
1693 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
1695 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
1697 * docs/html/install.html: Tweak, add bits about required locales
1698 for the 22_locale tests when using the gnu model.
1700 * testsuite/27_io/istream_sentry.cc: Tweak.
1702 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1704 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
1705 Fix typo, use this->is() rather than manually (and perhaps
1706 incorrectly) inlining it.
1707 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
1709 * testsuite/22_locale/ctype_scan_char.cc: New file.
1711 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1712 Jakub Jelinek <jakub@redhat.com>
1714 * testsuite/22_locale/money_get_members_char.cc
1715 (test01, test02, test04): Use the de_DE@euro named locale
1716 instead of de_DE to allow for an uniform behaviour with
1717 both old and Euro-era localedata; tweak some tests.
1718 * testsuite/22_locale/money_get_members_wchar_t.cc
1719 (test01, test02, test04): Likewise.
1720 * testsuite/22_locale/money_put_members_char.cc
1721 (test01, test02, test04): Likewise.
1722 * testsuite/22_locale/money_put_members_wchar_t.cc
1723 (test01, test02, test04): Likewise.
1725 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1727 * testsuite/22_locale/codecvt_members_char_char.cc
1728 (test03): Robustify wrt localedata.
1729 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
1730 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
1731 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
1732 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
1733 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
1734 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
1735 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
1736 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
1737 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
1738 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
1739 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
1740 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
1741 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
1742 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
1743 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1744 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1745 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
1746 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
1747 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
1748 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
1749 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
1750 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
1752 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1754 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
1757 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1759 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
1760 to 64 for hppa 64-bit port.
1761 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
1763 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1765 * acinclude.m4 (enable_symvers): Quote $LD.
1766 * aclocal.m4: Regenerate.
1767 * configure: Likewise.
1769 2002-05-09 Jakub Jelinek <jakub@redhat.com>
1771 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
1772 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
1775 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
1777 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1778 script entry, and set LD to it when configuring multilibs.
1779 * configure: Rebuilt.
1781 2002-05-07 Mark Mitchell <mark@codesourcery.com>
1783 * configure.in: Add support for WindISS.
1784 * configure: Regenerated.
1785 * configure.target: Add support for WindISS.
1786 * config/os/windiss/bits/ctype_base.h: New file.
1787 * config/os/windiss/bits/ctype_inline.h: Likewise.
1788 * config/os/windiss/bits/ctype_noninline.h: Likewise.
1789 * config/os/windiss/bits/os_defines.h: Likewise.
1791 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
1793 Test all the facets for the temporary "C" locale switch issue.
1794 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
1795 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1796 * testsuite/22_locale/collate_members_char.cc: Add test04.
1797 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1798 * testsuite/22_locale/ctype_members_char.cc: Add test05.
1799 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
1800 * testsuite/22_locale/messages_members_char.cc: Add test03.
1801 * testsuite/22_locale/money_get_members_char.cc: Add test08.
1802 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1803 * testsuite/22_locale/money_put_members_char.cc: Add test07.
1804 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1805 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
1806 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1807 * testsuite/22_locale/num_get_members_char.cc: Add test06.
1808 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1809 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
1810 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1811 * testsuite/22_locale/time_get_members_char.cc: Add test08.
1812 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1813 * testsuite/22_locale/time_put_members_char.cc: Add test04.
1814 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1816 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1817 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1819 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1821 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
1822 __EXTENSIONS__): Ensure they are always defined.
1824 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
1826 * docs/html/documentation.html: Fix broken link.
1828 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
1829 Paolo Carlini <pcarlini@unitus.it>
1831 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
1832 testing for the locale_facets.tcc entry of the previous commit.
1833 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1835 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
1837 * config/locale/generic/c_locale.cc
1838 (__convert_to_v(float, double, long double)):
1839 Fix the temporary switch to the "C" locale, saving and
1840 restoring in the proper way the current locale.
1841 * config/locale/generic/time_members.cc
1842 (__timepunct<char, wchar_t>::_M_put): Likewise.
1843 * config/locale/gnu/messages_members.cc
1844 (messages<char>::do_get): Likewise.
1845 * config/locale/gnu/messages_members.h
1846 (messages<_CharT>::do_get): Likewise.
1847 * config/locale/gnu/time_members.cc
1848 (__timepunct<char, wchar_t>::_M_put): Likewise.
1849 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
1851 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1853 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
1854 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
1856 * Makefile.in, config.h.in, configure: Regenerate.
1858 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
1861 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
1862 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
1864 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1866 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
1868 (ctype:_M_table): Initialize to classic_table(), not __ctype.
1870 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1872 * configure.in: Update local install.html, configopts.html paths.
1873 * configure: Regenerate.
1875 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1877 * config/os/irix/irix5.2/bits/os_defines.h
1878 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
1880 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
1883 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
1885 * docs/html/faq/index.html: Update list in #4.1.
1886 * docs/html/faq/index.txt: Regenerated.
1888 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
1890 * docs/html/17_intro/RELEASE-NOTES (New): Update.
1892 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
1894 * include/std/std_bitset.h: Fix doxygen comments.
1895 * docs/html/documentation.html: Minor tweaks for 3.1.
1896 * docs/html/27_io/howto.html: Likewise.
1897 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
1898 * docs/html/faq/index.html: Likewise.
1899 * docs/html/faq/index.txt: Regenerated.
1901 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
1904 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
1905 (istreambuf_iterator::equal): Use it.
1906 (istreambuf_iterator::operator*): Use it.
1908 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
1911 * include/bits/stl_uninitialized.h
1912 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
1913 Fix typo in 2001-07-17 commit: typedef _ValueType to
1914 iterator_traits<_ForwardIter> not <_InputIter>.
1915 * testsuite/23_containers/vector_ctor.cc: Add test04.
1917 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
1920 * include/c_std/std_cctype.h: Include bits/c++config.h.
1921 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
1923 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
1925 * include/ext/stdio_filebuf.h: New file.
1926 * include/ext/enc_filebuf.h: New file.
1927 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
1928 * config/io/basic_file_stdio.cc: Same.
1929 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
1930 Remove _M_unbuf hacks.
1931 (filebuf::_M_destroy_internal_buffer): Same.
1932 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
1933 (filebuf::fd): Remove.
1934 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
1935 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
1936 (filebuf::fd): Remove.
1937 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
1939 (ios_base::_S_ios_destroy): Same.
1940 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
1941 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
1942 stdio_filebuf.h. * include/Makefile.in: Regenerate.
1944 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
1947 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
1949 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
1952 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1954 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
1955 (istreambuf_iterator::operator++): Invalidate on eof.
1956 (istreambuf_iterator::operator++(int)): Same.
1957 (istreambuf_iterator::operator*): Same.
1959 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1961 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
1962 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
1965 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
1968 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
1969 (__basic_file::sys_ungetc): Take int.
1970 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
1971 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1972 Use sys_getc for unbuffered input.
1973 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
1975 * src/ios.cc (_M_grow_words): Adjust error checking.
1976 * testsuite/27_io/ios_base_storage.cc: Same.
1978 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1980 * include/ext/stl_hashtable.h: Import __iterator_category
1982 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
1983 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1985 * testsuite/ext/hash_set.cc: New testfile.
1987 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
1989 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1991 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1992 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1994 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
1996 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
1997 Fix and tighten __throw_length_error check.
1998 * testsuite/21_strings/replace.cc (test05): New.
1999 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
2001 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
2003 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
2004 unconditional flush on lower-layer handle to here...
2005 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
2006 ...from here. Optimize remaining _M_file.sync() call pattern.
2007 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
2010 2002-04-23 Jason Merrill <jason@redhat.com>
2012 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
2013 output-only filebufs.
2014 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
2016 (basic_filebuf::_M_set_determinate): Likewise.
2019 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
2020 value properly in the trivial case.
2021 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
2022 tellg() returns the right value after a read.
2024 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
2026 * config/cpu/mmix/bits/cpu_limits.h: New file.
2027 * configure.target (CPULIMITSH): Use it.
2029 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
2031 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
2032 * docs/html/17_intro/porting.html: Rebuilt.
2034 2002-04-20 Jason Merrill <jason@redhat.com>
2037 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
2039 (basic_streambuf::_M_set_determinate): Likewise.
2040 (basic_streambuf::_M_is_indeterminate): Likewise.
2041 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
2042 non-static data member.
2043 (basic_filebuf::_M_underflow_common): New non-static member function.
2044 (basic_filebuf::_M_underflow, _M_uflow): Call it.
2045 (basic_filebuf::sync): Avoid useless seeking.
2046 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
2048 (basic_filebuf::_M_set_determinate): Likewise.
2049 (basic_filebuf::_M_is_indeterminate): Likewise.
2050 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
2051 back to _M_out_beg if necessary.
2052 (basic_filebuf::seekoff): Likewise.
2053 (basic_filebuf::_M_underflow_common): Generalization of old
2054 underflow(). Don't seek back to _M_in_beg.
2055 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
2056 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
2057 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
2058 * config/os/mingw32/bits/os_defines.h: Likewise.
2059 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
2062 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
2064 * include/bits/istream.tcc (istream::read): Fix.
2065 * testsuite/27_io/istream_unformatted.cc (main): Add.
2067 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
2070 * include/bits/istream.tcc (istream::ignore): Streamline, use
2072 * include/bits/streambuf.tcc: Use this->gptr.
2073 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
2075 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
2077 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
2078 as type safety is important, especially on solaris.
2079 * include/bits/istream.tcc (istream::read): Clean.
2080 (istream::readsome): Same.
2081 * locale.cc: Wrap lines.
2083 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
2084 * testsuite/27_io/instantiations.cc (test): Add bool variable...
2085 * testsuite/21_strings/capacity.cc: Clean.
2087 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2089 * docs/doxygen/doxygroups.cc: New group on binary searching.
2090 * include/bits/stl_algo.h: Document binary searches and merges.
2091 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
2093 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2095 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
2096 * docs/doxygen/run_doxygen: Bump required version.
2097 * docs/doxygen/user.cfg.in: Revert accidental change.
2098 * docs/html/faq/index.html: Reindent a block of links.
2099 (4.4): New note on using dlsym.
2100 * docs/html/faq/index.txt: Regenerated.
2102 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2104 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
2106 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
2108 * config/linker-map.gnu (__malloc_alloc_template): Add.
2109 (__default_alloc_template): Same.
2110 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
2112 (__default_alloc_template): Same.
2114 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
2116 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
2118 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
2120 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
2121 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
2122 (__malloc_alloc_template): Conditionalize.
2124 * include/bits/istream.tcc: Remove sputbackc calls.
2126 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
2128 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
2130 * testsuite/24_iterators/rel_ops.cc: New test.
2132 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2134 * include/bits/type_traits.h (__normal_iterator): Declare in
2135 __gnu_cxx. Adjust use at global namespace.
2136 * include/bits/stl_iterator.h (__normal_iterator): Move definition
2137 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
2138 * include/bits/basic_string.h (basic_string): Adjust use of
2140 * include/bits/stl_vector.h (_Alloc>): Likewise.
2141 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
2142 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
2144 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
2148 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
2150 (__basic_file::close): Call fflush. Correct return if fclose ok.
2151 (__basic_file::is_open): Make const.
2152 Change __c_file_type to __c_file.
2153 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
2154 (__basic_file::is_open): Make const.
2155 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
2156 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
2157 (filebuf::_M_unbuf): Add.
2158 (filebuf::_M_file): Change to non-pointer.
2159 (filebuf::_M_allocate_pback_buffer): Remove.
2160 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
2161 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
2162 Change initialization list for _M_file change.
2163 (filebuf::_M_allocate_pback_buffer): Remove.
2164 Change _M_file usage to reflect non-pointer data member.
2166 * config/locale/generic/c_locale.cc
2167 (locale::facet::_S_create_c_locale): Add parameter.
2168 * config/locale/generic/collate_members.cc: Change
2169 _M_compare_helper to _M_compare.
2170 Change _M_transform_helper to _M_transform.
2171 * config/locale/generic/monetary_members.cc: Changeup data types.
2173 * config/locale/generic/numeric_members.cc: Add dtors.
2174 * config/locale/generic/time_members.cc: Add dtors.
2175 * config/locale/gnu/c_locale.cc: Add parameter.
2176 * config/locale/gnu/collate_members.cc:Change
2177 _M_compare_helper to _M_compare.
2178 Change _M_transform_helper to _M_transform.
2179 * config/locale/gnu/ctype_members.cc: Better error checking.
2180 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
2181 * config/locale/gnu/messages_members.cc: Tweak comment.
2182 * config/locale/gnu/monetary_members.cc: Change data types.
2184 * config/locale/gnu/numeric_members.cc: Add dtors, better error
2186 * config/locale/gnu/time_members.cc: Same.
2187 * config/locale/ieee_1003.1-2001/c_locale.cc
2188 (locale::facet::_S_create_c_locale): Add parameter.
2189 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
2190 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
2193 * include/bits/locale_facets.h (moneypunct): Use string literals.
2196 (__timepunct): Same.
2197 (locale::_Impl::_M_facets): Change from vector to array.
2198 (locale::_Impl::_M_names): Change from array of strings to array
2200 (locale::facet::_S_create_c_locale): Add parameter.
2201 (locale::locale::_S_num_facets): Move to...
2202 (locale::_Impl::_M_facets_size): Here.
2203 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
2205 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
2206 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
2207 (locale::_Impl::_Impl(string, size_t)): Change to
2208 (locale::_Impl::_Impl(const char*, size_t)): This.
2210 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
2211 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
2212 (streambuf::_S_pback_size): This.
2214 * src/globals.cc: Add pre-allocations for "C" facets.
2215 * src/locale-inst.cc: Remove vector instantiations.
2216 * src/locale.cc: Remove vector include. Fixups for _M_names,
2218 * src/localename.cc: Same.
2220 * include/bits/stl_vector.h: Fix odd formatting.
2222 * include/bits/basic_string.tcc: Tweak comment.
2224 * libsupc++/new: Make sure parameters are uglified.
2225 * libsupc++/typeinfo: Same.
2227 * testsuite/22_locale/num_get_members_char.cc: Fixup.
2228 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
2229 * testsuite/27_io/filebuf_members.cc: Same.
2231 2002-04-12 Steve Ellcey <sje@cup.hp.com>
2233 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
2234 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
2235 does not define strtoll or strtoull, but does define strtol
2236 and strtoul which are the same since in 64 bit mode
2237 sizeof(long) == sizeof(long long).
2239 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
2241 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
2242 trailing spaces, indentation, and macro names. Make exception
2243 messages more informative.
2245 2002-04-11 Richard Henderson <rth@redhat.com>
2247 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
2248 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
2249 (basic_ostream<>::operator<<(long long)): Same.
2251 2002-04-11 Richard Henderson <rth@redhat.com>
2253 * config/linker-map.gnu: Add __gxx_personality_sj0.
2255 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
2258 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
2260 Remove forward declaration of vector.
2262 * include/bits/locale_facets.tcc: Remove vector include.
2263 (use_locale): Adjust.
2264 (has_locale): Adjust.
2265 * src/locale.cc: Adjust.
2266 * src/localename.cc: Same.
2268 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
2269 Richard Henderson <rth@redhat.com>
2271 * include/bits/sstream.tcc: Clean up bit ops.
2272 * include/bits/fstream.tcc: Same.
2274 2002-04-09 Jakub Jelinek <jakub@redhat.com>
2276 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
2277 (__num_base::_S_scale_oct): Remove.
2278 * src/locale.cc (__num_base::_S_scale_hex): Remove.
2279 (__num_base::_S_scale_oct): Remove.
2281 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
2284 * testsuite/23_containers/bitset_members.cc: New test.
2285 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
2286 (_S_bit_count): Here.
2287 (_First_one::_S_first_one): Move...
2288 (_S_first_one): Here.
2290 * src/bitset.cc: Adjust.
2291 * config/linker-map.gnu: Export.
2293 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
2296 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
2297 * include/std/std_fstream.h: Clean.
2298 * include/bits/ostream.tcc: Remove extraneous variables.
2299 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
2300 open modes and which modes.
2301 (stringbuf::seekpos): Same.
2302 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
2304 2002-04-05 Jonathan Wakely <jw@kayari.org>
2306 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
2307 random_shuffle, partition, stable_partition, sort, stable_sort,
2308 partial_sort, partial_sort_copy, nth_element): Doxygenate.
2310 2002-04-05 David S. Miller <davem@redhat.com>
2312 * config/os/gnu-linux/bits/os_defines.h
2313 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
2315 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
2318 via gawrilow@math.tu-berlin.de
2319 * acinclude.m4 (version_specific_libs): Fix combo usage with
2320 --with-gxx-include-dir.
2321 * aclocal.m4: Regenerate.
2324 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
2326 As per DR 184, libstdc++/3139
2327 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
2328 (numeric_limits<bool>::is_iec559): False.
2329 (numeric_limits<bool>::is_modulo): False.
2331 * testsuite/27_io/ios_init.cc: Add instantiations.
2333 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
2336 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
2337 * testsuite/27_io/ios_init.cc (tests04): Add test.
2340 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
2341 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
2342 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
2343 * include/bits/istream.tcc: Use _M_fctype, make consistent with
2345 * testsuite/27_io/ios_init.cc (tests03): Add test.
2347 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
2349 * include/Makefile.am (install-data-local): Use mkinstalldirs.
2350 * include/Makefile.in: Regenerate.
2352 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
2353 Nathan Myers <ncm@cantrip.org>
2354 Philip Martin <philip@codematters.co.uk>
2356 * include/bits/basic_string.h
2357 (replace(i1, i2, _CharT* k1, _CharT* k2),
2358 replace(i2, i2, const _CharT* k1, const _CharT* k2),
2359 replace(i1, i2, iterator k1, iterator k2,
2360 replace(i1, i2, const_iterator k1, const_iterator k2):
2361 New specializations to optimize for the common cases of
2362 pointers and iterators.
2363 (replace(pos, n1, s, n2)): Tweak.
2364 * include/bits/basic_string.tcc: Tweak comments.
2365 * testsuite/21_strings/replace.cc (test04): New tests.
2367 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
2370 * acinclude: More extensive checks for msgfmt, --enable-nls.
2371 * aclocal.m4: Regenerate.
2372 * configure: Regenerate.
2374 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
2376 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
2377 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
2378 * docs/html/18_support/howto.html: Document the demangler.
2379 * docs/html/17_intro/howto.html: And link to it.
2381 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
2382 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
2384 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
2386 * config/linker-map.gnu: Export __verbose_terminate_handler.
2387 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
2388 Make new LTCOMPILE variable, use it in new special build rules.
2389 * libsupc++/Makefile.in: Rebuild.
2390 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
2391 runtime __cxa_demangle.
2393 * docs/html/install.html: Update prereqs and instructions.
2394 * docs/html/19_diagnostics/howto.html: Bring naming for
2395 verbose_terminate_handler into line with reality.
2397 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
2400 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
2401 (basic_ios::_M_streambuf_state): Move.
2402 * include/bits/ios_base (ios_base): To here.
2403 * include/bits/ios_base.h (ios_base::_S_local_words): To
2405 (ios_base::_M_word_array): To _M_local_word.
2406 (ios_base::_M_words_limit): To _M_word_size.
2407 (ios_base::_M_words): To _M_word.
2409 * include/bits/basic_ios.tcc: Adjust.
2410 * src/ios.cc (ios_base::_M_grow_words): Tweak.
2411 * testsuite/27_io/ios_base_storage.cc: Add tests.
2414 Kenny Simpson <theonetruekenny@yahoo.com>
2415 * include/bits/ios_base.h: Fix.
2417 Richard Henderson <rth@redhat.com>
2418 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
2421 * include/bits/basic_string.h: Tweak formatting.
2423 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
2425 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
2426 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
2427 By definition, sizeof(char) == 1.
2428 * include/bits/locale_facets.tcc (money_get::do_get,
2429 money_put::do_put): Ditto.
2430 * testsuite/21_strings/inserters_extractors.cc
2433 2002-03-30 Richard Henderson <rth@redhat.com>
2436 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
2437 data out of the exception struct before calling unexpectedHandler.
2439 2002-03-28 Roger Sayle <roger@eyesopen.com>
2441 * include/c_std/std_cmath.h: To prevent problems overloading
2442 g++ builtins, use the double variants from the global namespace
2443 before defining float and long double variants in std::.
2445 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
2447 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
2449 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
2451 * testsuite/24_iterators/istream_iterator.cc
2452 (test02): New tests.
2454 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2455 Paolo Carlini <pcarlini@unitus.it>
2457 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
2458 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
2459 fix i_lit_base e_lit_base arrays, making them independent
2460 from the endianness of the platform; tweak UCS4 to UCS-4BE.
2462 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
2464 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
2465 allocate at least a byte.
2467 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
2469 * testsuite/27_io/streambuf.cc (test07): Fix.
2472 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
2474 * docs/doxygen/Intro.3: Date tweak.
2475 * docs/doxygen/TODO: Update.
2476 * docs/doxygen/doxygroups.cc: Point to tables.html.
2477 * docs/doxygen/mainpage.html: Date tweak.
2478 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
2479 * docs/doxygen/tables.html: Fill in the blanks.
2481 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
2482 * include/bits/stl_algo.h: Likewise; use expanded form.
2483 * include/bits/stl_alloc.h: Likewise.
2484 * include/bits/stl_construct.h: Likewise.
2485 * include/bits/stl_deque.h: Likewise.
2486 * include/bits/stl_iterator_base_types.h: Likewise.
2487 * include/bits/stl_list.h: Likewise.
2488 * include/bits/stl_relops.h: Likewise.
2489 * include/bits/stl_tempbuf.h: Likewise.
2490 * include/bits/stl_vector.h: Likewise.
2491 * include/std/std_memory.h: Likewise.
2493 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
2494 * include/bits/stl_list.h: Likewise.
2495 * include/bits/stl_vector.h: Likewise.
2497 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
2499 * include/c/: Guard with _CPP_.
2500 * include/c_std/: Same.
2501 * include/Makefile.am: Fixup install, link routines for null
2502 c_base_headers_extra scenarios.
2503 * include/Makefile.in: Regerate.
2505 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
2506 Richard Henderson <rth@redhat.com>
2508 * testsuite/22_locale/codecvt_members_unicode_char.cc
2509 (test01, test02): make sure that the i_lit_base array
2510 is sufficiently aligned.
2512 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
2514 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
2517 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
2519 * testsuite/22_locale/collate_byname.cc
2520 (test01): compare the result of collate::compare with
2521 that of collate::transform + string::compare, not with
2522 that of collate::transform + collate::compare; values
2523 returned by collate::compare are normalized, therefore
2526 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
2527 Jakub Jelinek <jakub@redhat.com>
2529 * config/locale/gnu/messages_members.h: Correct conditional.
2530 * config/locale/gnu/messages_members.cc: Same.
2531 * config/locale/gnu/time_members.cc: Same.
2533 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2534 Paolo Carlini <pcarlini@unitus.it>
2536 * testsuite/22_locale/codecvt_members_unicode_char.cc
2537 (test01, test02): Fix i_lit_base arrays, making them
2538 independent from the endianness of the platform.
2540 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2542 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
2543 signbit and __signbit directly.
2544 * aclocal.m4: Regenerate.
2545 * configure: Regenerate.
2546 * config.h.in: Regenerate.
2547 * libmath/Makefile.am: Simplify.
2548 * libmath/Makefile.in: Regenerate.
2549 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
2551 * include/Makefile.am: Clean up handling of extra "C" header files.
2552 Add hooks for "C" compatibility headers.
2553 * include/Makefile.in: Regenerate.
2555 * include/c/*: Formatting tweaks, cleanups.
2556 * include/c_std/*: Same.
2558 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2560 * config/locale/gnu/messages_members.h: Add __uselocale bits.
2561 * config/locale/gnu/messages_members.cc: Same.
2562 * config/locale/gnu/time_members.cc: Same.
2564 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2566 * src/vterminate.cc: Format, -fno-exceptions cleanup.
2568 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2570 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
2571 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
2572 * aclocal.m4: Regenerate.
2573 * configure: Likewise.
2575 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
2576 Ulrich Drepper <drepper@redhat.com>
2578 * src/locale-inst.cc (__convert_from_v): Add an additional
2579 __size parameter in the declarations.
2580 * include/bits/locale_facets.tcc
2581 (__convert_from_v): When available (that is,
2582 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
2583 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
2584 being defined or not, call and use __convert_from_v in the
2586 (num_put::_M_convert_int): Same here.
2587 (money_put::do_put(long double)): Same here.
2589 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
2591 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
2592 * docs/html/faq/index.txt: Regenerate.
2594 2002-03-19 Steve Ellcey <sje@cup.hp.com>
2596 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
2597 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
2598 --enable-libunwind-exceptions is set.
2599 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
2600 macro to check for libunwind.
2601 * configure: Regenerate.
2602 * src/Makefile.am (libstdc___la_LDFLAGS): Add
2603 LIBUNWIND_FLAG to libstdc link line.
2604 * src/Makefile.in: Regenerate.
2606 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
2608 * docs/html/faq/index.html: Add OS X workaround.
2609 * docs/html/17_intro/TODO: Update.
2611 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
2613 * include/bits/locale_facets.tcc
2614 (money_put::do_put(long double)): Fix dimensioning of
2615 temporary buffers to avoid risk of overruns.
2616 (money_put::do_put(string)): Same for the buffer used to
2617 add the grouping chars.
2618 * testsuite/22_locale/money_put_members_char.cc: Add test06.
2619 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2621 * include/bits/locale_facets.tcc
2622 (collate::do_transform): Simplify.
2624 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
2626 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
2627 * configure.in: Add comments pointing the way for autoconf 2.5x.
2628 * aclocal.m4, config.h.in, configure: Regenerate.
2630 2002-03-18 Philipp Thomas <pthomas@suse.de>
2632 * include/backward/hash_map.h: hash, hashtable, hash_map and
2633 hash_multimap are in namespace __gnu_cxx.
2634 include/backward/hash_set.h: hash, hashtable, hash_set and
2635 hash_multiset are in namespace __gnu_cxx.
2636 include/backward/hashtable.h: hash and hashtable are in
2637 namespace __gnu_cxx.
2638 include/backward/rope.h: char_producer, sequence_buffer,
2639 rope, crope and wrope are in namespace __gnu_cxx.
2640 include/backward/slist.h: slist is in namespace __gnu_cxx.
2641 * testsuite/backward/header_hash_map_h.cc
2642 testsuite/backward/header_hash_set_h.cc
2643 testsuite/backward/header_hashtable_h.cc
2644 testsuite/backward/header_rope_h.cc
2645 testsuite/backward/header_slist_h.cc
2646 testsuite/backward/header_tempbuf_h.cc: New tests for
2647 checking that we're using the correct namespace.
2649 2002-03-17 Jason Merrill <jason@redhat.com>
2652 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
2653 (check_exception_spec): Call it. Take the thrown pointer.
2654 (__cxa_call_unexpected): Pass it.
2655 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
2657 2002-03-15 Anthony Green <green@redhat.com>
2659 * configure.in: Remove useless is_mingw32.
2660 * configure: Rebuilt.
2662 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
2664 * testsuite/22_locale/collate_members_char.cc
2665 (test01): compare the result of collate::compare with
2666 that of collate::transform + string::compare, not with
2667 that of collate::transform + collate::compare.
2668 (test01): values returned by collate::compare are
2669 normalized, therefore test against +-1.
2670 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
2672 2002-03-12 Loren Rittle <ljrittle@acm.org>
2674 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2675 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
2677 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2678 Per Liboriussen <liborius@stofanet.dk>
2680 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
2682 * config/os/gnu-linux/bits/ctype_inline.h: Same.
2684 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
2686 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
2687 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2689 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
2690 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2692 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
2693 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2695 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
2697 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2699 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
2700 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
2701 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
2702 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
2703 that memory limits are in place.
2704 (test03): Add tests.
2706 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2708 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
2709 * aclocal.m4: Regenerate.
2710 * config.h.in: Regenerate.
2711 * configure: Regenerate.
2712 * include/c_std/std_cwctype.h: Guard.
2714 2002-03-11 Chris Demetriou <cgd@broadcom.com>
2716 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
2717 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
2718 * aclocal.m4: Regenerate.
2719 * configure: Regenerate.
2721 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2723 * include/bits/stl_bvector.h: Fix warning.
2725 2002-03-11 Richard Henderson <rth@redhat.com>
2727 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
2729 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2731 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
2732 New function. Build the list of tests to run in testsuite_files.
2733 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
2735 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2737 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
2738 platforms with no weak support.
2739 * testsuite/27_io/ios_init.cc: Likewise.
2741 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
2743 * include/bits/locale_facets.tcc (time_put::do_put):
2744 Consider sizeof(char_type) in allocating the buffer.
2746 * include/bits/locale_facets.tcc (collate::do_tranform):
2747 Remove redundant variable.
2749 2002-03-10 Ulrich Drepper <drepper@redhat.com>
2750 Paolo Carlini <pcarlini@unitus.it>
2752 * config/locale/generic/collate_members.cc
2753 (collate<char,wchar_t>::_M_compare_helper): normalize
2754 values returned by strcoll and wcscoll.
2755 * config/locale/gnu/collate_members.cc
2756 (collate<char,wchar_t>::_M_compare_helper): ditto
2757 for __strcoll_l and __wcscoll_l.
2759 2002-03-10 Anthony Green <green@redhat.com>
2761 * configure.in: Support cross builds to mingw32 target.
2762 * configure: Rebuilt.
2764 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
2766 * include/bits/locale_facets.tcc (collate::do_transform):
2767 Rewrite to fix problems with long transformed strings.
2769 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2771 * c_locale_generic.cc: Move to...
2772 * generic/c_locale.cc
2773 * c_locale_generic.h: Move to...
2774 * generic/c_locale.h
2775 * codecvt_specializations_generic.h: Move to...
2776 * generic/codecvt_specializations.h
2777 * collate_members_generic.cc: Move to...
2778 * generic/collate_members.cc
2779 * ctype_members_generic.cc: Move to...
2780 * generic/ctype_members.cc
2781 * messages_members_generic.cc: Move to...
2782 * generic/messages_members.cc
2783 * messages_members_generic.h: Move to...
2784 * generic/messages_members.h
2785 * moneypunct_members_generic.cc: Move to...
2786 * generic/monetary_members.cc
2787 * numpunct_members_generic.cc: Move to...
2788 * generic/numeric_members.cc
2789 * time_members_generic.cc: Move to...
2790 * generic/time_members.cc
2791 * c_locale_gnu.cc: Move to...
2793 * c_locale_gnu.h: Move to...
2795 * collate_members_gnu.cc: Move to...
2796 * gnu/collate_members.cc
2797 * ctype_members_gnu.cc: Move to...
2798 * gnu/ctype_members.cc
2799 * messages_members_gnu.cc: Move to...
2800 * gnu/messages_members.cc
2801 * messages_members_gnu.h: Move to...
2802 * gnu/messages_members.h
2803 * moneypunct_members_gnu.cc: Move to...
2804 * gnu/monetary_members.cc
2805 * numpunct_members_gnu.cc: Move to...
2806 * gnu/numeric_members.cc
2807 * time_members_gnu.cc: Move to...
2808 * gnu/time_members.cc
2809 * c_locale_ieee_1003.1-200x.cc: Move to...
2810 * ieee_1003.1-2001/c_locale.cc
2811 * c_locale_ieee_1003.1-200x.h: Move to...
2812 * ieee_1003.1-2001/c_locale.h
2813 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
2814 * ieee_1003.1-2001/codecvt_specializations.h
2815 * messages_members_ieee_1003.1-200x.cc: Move to...
2816 * ieee_1003.1-2001/messages_members.cc
2817 * messages_members_ieee_1003.1-200x.h: Move to...
2818 * ieee_1003.1-2001/messages_members.h
2820 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
2821 * aclocal.m4: Regenerate.
2822 * configure: Regenerate.
2823 * src/Makefile.am (sources): Change to monetary and numeric.
2824 * src/Makefile.in: Regenerate.
2825 * docs/html/configopts.html: Update to ieee_1003.1-2001.
2827 2002-03-08 scott snyder <snyder@fnal.gov>
2830 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
2831 Allow one more digit of precision.
2832 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
2833 write a double and read back in the same value.
2835 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2837 * include/std/std_limits.h: Move static const data members out of
2838 generic template, into base class __numeric_limits_base.
2839 * src/limits.cc: Add definitions.
2840 * config/linker-map.gnu: Add __numeric_limits_base.
2841 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
2843 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
2845 * include/bits/stl_alloc.h: Add extern implicit allocator
2847 * include/bits/basic_string.tcc: Tweak.
2848 * include/bits/locale_facets.tcc: Remove default args. Add
2849 has_facet, use_facet extern instantiations.
2850 * src/stl-inst.cc: Add explicit instantiation.
2851 * src/locale-inst.cc: Clean. Remove locale member template
2854 * testsuite/22_locale/operators.cc (test02): Enable.
2856 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
2857 Stephen M. Webb <stephen.webb@bregmasoft.com>
2859 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
2860 (_S_rb_tree_black): Make enum.
2862 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
2863 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
2864 (__stl_threshold): _M_threshold, enum.
2865 * src/stl-inst.cc: Same.
2866 * config/linker-map.gnu: Remove.
2868 * testsuite/23_containers/vector_bool.cc: New.
2870 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2872 * docs/doxygen/user.cfg.in: Also document deprecated entries.
2873 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
2874 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
2875 referring to the collection as a whole. New section on which macros
2876 can be redefined by the user.
2877 * docs/html/19_diagnostics/howto.html: Update note for concepts.
2878 * docs/html/20_util/howto.html: Update link to SGI.
2879 * docs/html/faq/index.html: Update snapshot versions. New entry
2880 on why g++ (but not gcc) must currently predefine certain macros.
2881 * docs/html/faq/index.txt: Regenerated.
2883 * include/bits/basic_string.h (basic_string::_S_construct): Fix
2884 names in declaration.
2885 (basic_string::compare): These are no longer optional.
2886 * include/bits/ostream.tcc: Tweak closing brace placement.
2887 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
2888 * include/std/std_sstream.h: Fix typo in comment.
2889 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
2890 * src/locale.cc: Likewise.
2892 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2895 * include/bits/stl_vector.h (vector::push_back()): Guard with
2896 _GLIBCPP_DEPRECATED.
2898 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2900 * include/bits/c++config: Fix misplaced leading blanks on first line.
2902 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
2904 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
2905 * README (libmath): Make clear.
2907 2002-03-05 Jakub Jelinek <jakub@redhat.com>
2909 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
2910 script globbing in ld.
2911 * aclocal.m4: Rebuilt.
2912 * configure: Rebuilt.
2914 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
2916 * docs/html/17_intro/RELEASE-NOTES: Update.
2917 * README: Format subdirectories.
2919 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
2922 * include/bits/locale_facets.tcc
2923 (num_get::_M_extract_float): Fix the parsing of __dec, since
2924 the standard prescribes that if no grouping characters are
2925 seen, no grouping check is applied.
2926 * testsuite/22_locale/num_get_members_char.cc: Add test05
2927 distilled from the PR.
2928 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2930 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
2932 * docs/html/17_intro/porting-howto.xml: Refer to
2933 http://www.oasis-open.org for docbookx.dtd.
2934 * docs/html/17_intro/porting-howto.html: Regenerated.
2936 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
2939 * include/std/std_sstream.h: Remove trailing spaces.
2940 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
2941 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
2943 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
2945 * testsuite/22_locale/num_get_members_char.cc (test04):
2946 Use a named locale expecting grouping (de_DE).
2947 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
2949 * testsuite/27_io/ios_manip_basefield.cc (test01):
2950 Extend coverage, uniform treatment of hexs and octs.
2952 2002-02-28 Richard Henderson <rth@redhat.com>
2954 * config/linker-map.gnu: Export operator new with unsigned long,
2955 and with std::nothrow_t. Likewise operator delete.
2957 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
2959 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
2960 Admit grouping for octals and hexadecimals too.
2961 * testsuite/22_locale/num_get_members_char.cc: Add test04.
2962 (test01): Tweak "." -> "," in void* test.
2963 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2965 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
2966 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
2968 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
2970 * testsuite/27_io/ios_manip_basefield.cc (test01):
2971 Fix for 64 bit machines.
2973 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
2976 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
2978 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
2979 (basic_ios::_M_fill_init): New.
2980 (basic_ios::fill()): Delay dealing with _M_fill.
2982 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
2983 (ios_base::_M_call_callbacks): Adjust.
2984 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
2986 2002-02-26 Loren Rittle <ljrittle@acm.org>
2988 * include/Makefile.am (thread_target_headers): Unconditionally
2989 stage and install gthr-posix.h.
2990 (${target_builddir}/gthr-posix.h): New rule cloned off
2991 ${target_builddir}/gthr-default.h.
2992 (${target_builddir}/gthr-default.h): Support chained inclusion
2993 of gthr support headers.
2994 * include/Makefile.in: Rebuilt.
2996 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
2998 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
2999 Group all the integral types, not only decs.
3000 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
3001 tests, add a few more.
3003 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
3005 * src/ios.cc (ios_base::~ios_base): Tweak.
3006 (ios_base::_M_call_callbacks): Deal with null __p.
3007 (ios_base::ios_base): Set _M_callbacks.
3008 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
3009 * testsuite/27_io/ios_init.cc (test02): Fix.
3011 * mkcheck.in (static_fail): Failed links go to output file.
3013 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
3015 * docs/html/faq/index.html: Update.
3016 * docs/html/faq/index.txt: Regenerate.
3018 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
3020 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
3021 * aclocal.m4: Regenerate.
3022 * docs/html/configopts.html: Document --enable-symvers.
3023 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
3025 2002-02-22 Philipp Thomas <pthomas@suse.de>
3027 * include/backward/tempbuf.h: get_temporary_buffer and
3028 return_temporary_buffer are in namespace std, not in __gnu_cxx.
3030 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
3032 * configure.in (target_alias): Default to yes.
3033 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
3034 libgcc to default case.
3036 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
3038 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
3039 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
3040 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
3041 * aclocal.m4: Regenerate.
3042 * configure: Regenerate.
3043 * config/linker-map.dummy: New file. Contains nothing useful.
3045 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
3047 * testsuite/22_locale/money_put_members_char.cc: Fix.
3048 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
3050 * testsuite/27_io/standard_manipulators.cc: New file.
3052 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
3053 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
3055 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
3057 * config/os/mingw32/bits/ctype_noninline.h
3058 (ctype<char>::ctype): Remove default args from parm list.
3059 * config/os/djgpp/bits/ctype_noninline.h: Same.
3061 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
3063 * include/std/std_iomanip.h: Inline, tweaks.
3064 * config/linker-map.gnu: Remove hacks.
3066 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
3067 * testsuite/27_io/ios_init.cc: Same.
3068 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
3069 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
3071 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
3073 * config/linker-map.gnu: Export global vtable, typeinfo, guard
3074 variable, and thunk info as per CXXABI docs.
3076 2002-02-19 Loren Rittle <ljrittle@acm.org>
3078 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
3079 * include/Makefile.in: Rebuilt.
3081 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3083 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
3084 with size3 for the string collations of str5.
3086 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
3089 * include/bits/locale_facets.tcc (money_put::do_put):
3090 For the space field use __fill instead of ' ', uniformly.
3091 * testsuite/22_locale/money_put_members_char.cc:
3092 Add test05 distilled from PR.
3093 (test01-02-03): Trim some '*' to ' '.
3094 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
3096 2002-02-18 Loren Rittle <ljrittle@acm.org>
3099 * include/Makefile.am (thread_builddir): Remove (map all
3100 existing uses to target_builddir).
3101 (thread_headers): Rename to...
3102 (thread_target_headers): ...this.
3103 (stamp-thread): Remove.
3104 (stamp-target): Correctly state the position as built.
3105 Update all dependencies to match the new reality. Remove all
3106 dependency calculations on directories.
3107 * include/Makefile.in: Rebuilt.
3109 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
3111 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
3112 * include/bits/fstream.tcc: Same.
3113 * include/bits/sstream.tcc: Same.
3114 * include/bits/ostream.tcc: Same.
3115 * include/bits/istream.tcc: Same.
3116 * include/bits/streambuf.tcc: Same.
3117 * include/bits/basic_ios.tcc: Same.
3118 * include/bits/basic_string.tcc: Same.
3120 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3122 * include/std/std_iosfwd.h: Don't guard typedefs with
3123 _GLIBCPP_USE_WCHAR_T
3124 * include/bits/stringfwd.h: Same.
3126 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3128 * src/locale.cc (moneypunct_byname): Remove definitions.
3129 * include/std/std_streambuf.h (streambuf::operator=): Return.
3131 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3134 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
3135 explicit instantiation.
3136 (string::_Rep::_S_max_size): Same.
3137 * include/bits/basic_string.tcc: Add extern explicit
3138 instantiations for string, wstring.
3139 * include/bits/basic_ios.tcc: Add extern explicit instantiations
3141 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
3142 * include/bits/istream.tcc: Same, for istream, wistream.
3143 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
3145 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
3146 istringstream, wistringstream, ostringstream, wostringstream,
3147 stringstream, wstringstream.
3148 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
3149 wifstream, ofstream, wofstream, fstream, wfstream.
3150 * src/misc-inst.cc: Correct comments.
3151 Add iomanip instantiations for wide streams.
3152 * include/std/std_iomanip.h: Same.
3153 * include/bits/locale_facets.tcc: Same.
3155 * include/std/std_streambuf.h: Correct
3156 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
3157 * include/std/std_sstream.h: Same.
3158 * include/std/std_ostream.h: Same.
3159 * include/std/std_istream.h: Same.
3160 * include/std/std_fstream.h: Same.
3162 * include/std/std_streambuf.h: Add definitions for private copy
3163 ctor and assignment operator.
3164 * include/std/std_istream.h: Remove declared but undefined copy
3165 ctor and assignment operator. This is taken care of in ios_base,
3166 so adding it in the derived class as well is superfluous.
3167 * include/std/std_ostream.h: Same.
3169 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
3170 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
3172 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
3174 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
3175 Add typeinfo bits. Smooth.
3176 * aclocal.m4: Regenerate.
3178 * src/Makefile.in: Same.
3180 2001-02-14 Joel Sherrill <joel@OARcorp.com>
3182 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
3183 which do not have a CAS instruction.
3185 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
3187 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
3188 * configure.in: Call it.
3189 * config/linker-map.gnu: New file, initial incomplete revision.
3190 * src/Makefile.am: Optionally pass version script to the linker.
3191 * aclocal.m4: Regenerate.
3192 * configure: Regenerate.
3193 * src/Makefile.in: Regenerate.
3195 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
3197 * src/localename.cc: Remove stdexcept include.
3198 * src/locale-inst.cc: Same.
3199 * src/locale.cc: Same.
3200 * src/functexcept.cc: Remove string includes.
3201 * include/std/std_bitset.h: Remove stdexcept include.
3202 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
3203 * testsuite/23_containers/bitset_ctor.cc: Same.
3205 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
3207 * include/bits/stl_algo (__stl_threshold): Declare external.
3208 (__stl_chunk_size): Same.
3209 * include/bits/stl_bvector.h (__WORD_BIT): Same.
3210 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
3211 (_S_rb_tree_black): Same.
3212 * src/stl-inst.cc (__stl_threshold): Define.
3213 (__stl_chunk_size): Same.
3215 (_S_rb_tree_red): Same.
3216 (_S_rb_tree_black): Same.
3218 * config/io/basic_file_libio.h (__basic_file): Add declarations.
3219 * include/bits/basic_file.h: Remove.
3220 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
3221 Declare generic types, specialization.
3222 * config/io/basic_file_stdio.cc: Definitions.
3223 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
3224 Declare generic types.
3225 * include/Makefile.am (bits_headers): Remove basic_file.h.
3226 (extra_target_headers): Change basic_file_model.h to basic_file.h.
3227 (stamp-target): Same.
3229 * include/bits/stl_alloc.h: Tweaks.
3230 * include/bits/localefwd.h: Same.
3232 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
3234 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
3235 * testsuite/22_locale/collate_members_char.cc (test03): New test.
3236 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
3238 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
3240 * include/bits/stl_algo.h (transform (both signatures), generate_n):
3241 Use __typeof__ in concept checks.
3243 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
3245 * include/bits/stl_algo.h (__median, for_each, find, find_if,
3246 adjacent_find, count, count_if, search, search_n, swap_ranges,
3247 transform, replace, replace_if, replace_copy, replace_copy_if,
3248 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
3249 unique, unique_copy, reverse, reverse_copy): Doxygenate.
3251 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
3253 * include/bits/locale_facets.h
3254 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
3255 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
3256 (__timepunct<_CharT>::_M_put_helper): Same.
3257 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
3259 * include/bits/fstream.tcc (filebuf::underflow): Remove
3260 __codecvt_type typedef.
3261 (filebuf::_M_convert_to_external): Same.
3263 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
3265 * docs/doxygen/TODO: Update.
3266 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
3267 * docs/doxygen/mainpage.html: Add TODO list link.
3268 * docs/doxygen/user.cfg.in: Add @doctodo hook.
3269 * docs/doxygen/tables.html: New file, emoty structure only.
3271 * include/bits/stl_iterator.h: Doxygenate just about everything.
3272 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
3273 * include/bits/stl_iterator_base_types.h: Add notes.
3275 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
3277 * include/bits/stl_map.h: Tweak doxygen markup.
3278 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
3279 * include/bits/stl_vector.h: Likewise.
3281 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
3285 * include/std/std_fstream.h (filebuf::__file_type): Change to
3287 (filebuf::_M_convert_to_external): Declare.
3288 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
3289 codecvt bits for wide streams.
3290 (filebuf::_M_really_overflow): Use it.
3291 (filebuf::underflow): Use codecvt.
3292 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
3293 (codecvt<__enc_traits>::do_out): Deal with partial.
3294 (codecvt<__enc_traits>::do_encoding): Return something useful.
3295 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
3297 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
3298 Change expected encoding output.
3300 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
3303 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
3304 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
3306 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
3307 (basic_ios::widen): Same.
3309 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
3311 * testsuite/22_locale/money_get_members_char.cc:
3312 Add comment, tidy up.
3313 (test01): more "en_HK" tests (without showbase).
3314 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
3316 2002-02-06 Loren Rittle <ljrittle@acm.org>
3318 * config/locale/c_locale_generic.cc: Do not trust
3319 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
3322 2002-02-06 Loren Rittle <ljrittle@acm.org>
3324 * acinclude.m4: Add C++ linkage check for strtof.
3325 * aclocal.m4: Rebuilt.
3326 * config.h.in: Rebuilt.
3327 * configure: Rebuilt.
3328 * config/locale/c_locale_generic.cc: Conditionally include
3329 <ieeefp.h>. Improve handling and error checking of float
3330 and long double input for non-C99 configurations.
3332 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
3334 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3335 In case money_base::symbol deal properly with multi-char sign
3336 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
3337 * testsuite/22_locale/money_get_members_char.cc: Add test07.
3338 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
3340 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
3342 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3343 First construct a tentative returned string, then, only if the
3344 parsing succeeds, copy it into the string passed by reference.
3345 * testsuite/22_locale/money_get_members_char.cc: Add test06.
3346 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
3348 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
3350 * docs/doxygen/TODO: Impl-defined behavior now documented...
3351 * docs/html/17_intro/howto.html: ...here.
3352 * docs/doxygen/mainpage.doxy: Remove, rename...
3353 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
3354 * docs/doxygen/style.css: Add small text.
3355 * docs/doxygen/run_doxygen: Adjust for new mainpage.
3356 * docs/doxygen/user.cfg.in: Likewise.
3358 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
3360 * include/bits/stl_map.h: Initial doxygen markup.
3361 * include/std/std_fstream.h: Initial doxygen markup.
3363 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
3366 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3367 Deal correctly with !(__io.flags() & ios_base::showbase)
3368 for case money_base::symbol.
3369 * testsuite/22_locale/money_get_members_char.cc: Add test05.
3370 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
3372 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
3374 * testsuite/22_locale/operators.cc
3375 (gnu_collate::do_compare()): Add return statement to
3376 suppress "no return statement" warning.
3378 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
3380 * testsuite/27_io/ostream_manip.cc: Enable test02.
3382 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
3384 * docs/html/documentation.html: Update for 3.0.96.
3385 * docs/html/faq/index.html: Update for 3.0.96.
3386 * docs/html/faq/index.txt: Regenerated.
3387 * docs/doxygen/TODO: Update notes.
3388 * docs/html/17_intro/howto.html: Initial impl-specific listing.
3390 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
3392 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
3393 Initialize all data members in copy ctor. Make ctors explicit.
3394 (__enc_traits::__enc_traits()): Default ctor does nothing.
3395 (__enc_traits::_M_init): Guard against multiple iconv_opens.
3396 * include/std/std_sstream.h (basic_stringbuf): Make data members
3398 * include/std/std_fstream.h (basic_filebuf): Same.
3399 * include/std/std_streambuf.h: Tweak.
3400 * include/bits/streambuf.tcc: Same.
3401 * include/bits/sstream.tcc: Same.
3402 * include/bits/fstream.tcc: Same.
3404 2002-01-31 Loren Rittle <ljrittle@acm.org>
3406 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
3407 allow NULL argument to be passed to setenv().
3408 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
3409 * testsuite/22_locale/collate_members_char.cc: Likewise.
3410 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
3411 * testsuite/22_locale/ctype_members_char.cc: Likewise.
3412 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
3413 * testsuite/22_locale/messages_members_char.cc: Likewise.
3414 * testsuite/22_locale/money_get_members_char.cc: Likewise.
3415 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
3416 * testsuite/22_locale/money_put_members_char.cc: Likewise.
3417 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
3418 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
3419 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
3420 * testsuite/22_locale/num_get_members_char.cc: Likewise.
3421 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
3422 * testsuite/22_locale/num_put_members_char.cc: Likewise.
3423 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
3424 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
3425 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
3426 * testsuite/22_locale/time_get_members_char.cc: Likewise.
3427 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
3428 * testsuite/22_locale/time_put_members_char.cc: Likewise.
3429 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
3431 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
3433 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
3435 * ChangeLog-2001: Fix spelling errors...
3436 * docs/html/17_intro/RELEASE-NOTES: Update.
3437 * docs/html/17_intro/TODO: Update.
3438 * README (file): Update.
3440 2002-01-30 Loren Rittle <ljrittle@acm.org>
3442 * config/locale/c_locale_generic.cc: Check errno for ERANGE
3443 instead of non-zero to aid portability.
3445 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3447 * docs/html/22_locale/messages.html: Fix example code.
3449 2002-01-30 Richard Henderson <rth@redhat.com>
3451 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
3452 out from test03 and templatize.
3455 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
3457 * config/locale/numpunct_members_gnu.cc
3458 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
3459 Fix initialization of _M_grouping for locales which have
3460 _M_thousands_sep == '\0'(L'\0', respectively).
3461 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
3463 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
3465 * testsuite/27_io/ostream_inserter_arith.cc (test03):
3466 Better fix for 32/64 bit architectures, avoiding the
3467 implicit assumption that CHAR_BIT == 8.
3469 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
3471 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
3472 * Makefile.in: Regenerate.
3474 * docs/doxygen/run_doxygen: Update, mostly for man pages.
3475 * docs/doxygen/Intro.3: Update.
3476 * docs/doxygen/TODO: Update.
3477 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
3478 * docs/doxygen/mainpage.doxy: Update.
3479 * docs/doxygen/user.cfg.in: Update for header rename. Also
3480 regenerate comments and variables with 1.2.12.
3481 * docs/doxygen/maint.cfg.in: Remove file.
3483 * include/bits/stl_relops.h: Doxygenate.
3484 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
3486 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
3487 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
3488 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
3489 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
3490 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
3491 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
3492 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
3493 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
3494 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
3495 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
3496 include/ext/hash_set, include/ext/iterator, include/ext/memory,
3497 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
3498 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
3499 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
3500 include/std/std_algorithm.h, include/std/std_bitset.h,
3501 include/std/std_complex.h, include/std/std_deque.h,
3502 include/std/std_fstream.h, include/std/std_functional.h,
3503 include/std/std_iomanip.h, include/std/std_ios.h,
3504 include/std/std_iosfwd.h, include/std/std_iostream.h,
3505 include/std/std_istream.h, include/std/std_iterator.h,
3506 include/std/std_limits.h, include/std/std_list.h,
3507 include/std/std_locale.h, include/std/std_map.h,
3508 include/std/std_memory.h, include/std/std_numeric.h,
3509 include/std/std_ostream.h, include/std/std_queue.h,
3510 include/std/std_set.h, include/std/std_sstream.h,
3511 include/std/std_stack.h, include/std/std_stdexcept.h,
3512 include/std/std_streambuf.h, include/std/std_string.h,
3513 include/std/std_utility.h, include/std/std_valarray.h,
3514 include/std/std_vector.h: Add/correct @file doxygen hook.
3516 * include/ext/memory: Doxygenate most of rest of file.
3517 * libsupc++/exception: Doxygen output formatting.
3518 * libsupc++/new: Say which header it is.
3520 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
3521 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
3522 * docs/html/23_containers/howto.html: Describe O(n) list::size().
3523 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
3525 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
3526 Charles Leggett <CGLeggett@lbl.gov>
3528 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
3530 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
3532 * testsuite/27_io/ostream_inserter_arith.cc (test03):
3533 Fix to deal correctly with both 32 bit and 64 bit architectures
3535 2002-01-25 Loren Rittle <ljrittle@acm.org>
3537 * testsuite/thread/pthread1.cc: Use one condition variable
3538 per predicate instead of tricky use of one condition variable.
3540 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
3542 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
3544 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
3545 * testsuite/27_io/filebuf.cc: Compile only.
3546 * testsuite/27_io/filebuf_members.cc: Move tests to here.
3547 * testsuite/27_io/filebuf_virtuals.cc: And here.
3548 Revert sungetc, sync changes for expected values.
3549 * testsuite/27_io/filebuf-*: Move to...
3550 * testsuite/27_io/filebuf_virtuals-*: ...here.
3551 * testsuite/27_io/istream.cc: Compile only, activate.
3552 * testsuite/27_io/ostream.cc: Same.
3553 * testsuite/27_io/iostream.cc: New.
3554 * testsuite/27_io/iostream_members.cc: New.
3556 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
3558 * testsuite/thread/pthread1.cc: Enable on cygwin.
3559 * testsuite/thread/pthread2.cc: Likewise.
3560 * testsuite/thread/pthread3.cc: Likewise.
3561 * testsuite/thread/pthread4.cc: Likewise.
3562 * testsuite/thread/pthread5.cc: Likewise.
3563 * testsuite/thread/pthread6.cc: Likewise.
3565 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3567 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
3569 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3571 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
3573 (basic_ios::fill(char_type)): Use fill().
3574 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
3575 (basic_ios::narrow): Same.
3576 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
3577 if they are invalid.
3578 (basic_ios::init): Comment.
3579 * testsuite/27_io/ios_init.cc (test02): New.
3581 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
3583 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
3584 * include/bits/stl_algo.h: Include stl_tempbuf.h.
3585 * include/ext/memory: Do not include stl_tempbuf.h.
3586 (temporary_buffer): Add doxygen hook.
3587 (__get_temporary_buffer, get_temporary_buffer,
3588 return_temporary_buffer): Move back to std:: header...
3589 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
3590 * include/ext/rope: Do not include stl_tempbuf.h.
3591 * include/ext/stl_hashtable.h: Likewise.
3592 * include/std/std_algorithm.h: Likewise.
3593 * testsuite/20_util/temporary_buffer.cc: New file.
3595 2002-01-24 andrew@andypo.net
3596 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
3599 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
3600 * include/bits/localefwd.h: Likewise.
3601 Also use for std::locale::id::_S_highwater.
3602 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
3603 * src/locale.cc: Support new usage of _Atomic_word.
3604 (std::locale::classic): Guard entire function against reentry.
3605 * src/localename.cc: Support new usage of _Atomic_word.
3607 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3609 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
3610 _GLIBCPP_HAVE_SETENV.
3611 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
3612 * testsuite/22_locale/collate_members_char.cc (test02): Same.
3613 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
3614 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
3615 * testsuite/22_locale/messages_members_char.cc (test02): Same.
3616 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
3617 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
3618 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
3619 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
3620 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
3621 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
3622 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
3623 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
3624 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
3625 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
3626 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
3627 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
3628 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
3629 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
3630 * aclocal.m4: Regenerate.
3631 * configure: Regenerate.
3632 * config.h.in: Regenerate.
3634 2002-01-23 Loren Rittle <ljrittle@acm.org>
3636 * testsuite/thread/pthread1.cc: New test.
3637 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
3638 * testsuite/thread/pthread3.cc: Likewise.
3639 * testsuite/thread/pthread4.cc: New test adapted from
3640 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
3641 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
3642 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
3644 2002-01-23 Richard Henderson <rth@redhat.com>
3647 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
3648 CAS on the cpu variants that support it. Add versions that use
3649 TAS and that disable interrupts.
3650 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
3652 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
3654 * include/bits/locale_facets.tcc: Remove old comments.
3656 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
3658 * include/bits/locale_facets.tcc (__convert_to_v): Change template
3660 (__convert_from_v): Same.
3662 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
3664 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
3666 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
3667 __max_digits checks, adjust arguments.
3668 (num_get::do_get(*)): Changeup.
3670 2002-01-23 Loren Rittle <ljrittle@acm.org>
3672 * config/locale/c_locale_generic.cc: Fix typename usage.
3674 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3676 * config/locale/c_locale_generic.cc: Fix.
3678 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3680 * docs/html/22_locale/messages.html: Remove angle brackets.
3681 * docs/html/17_intro/TODO: Add.
3683 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
3685 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
3686 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
3687 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
3688 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
3690 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3692 Audit for LANG independence.
3693 * include/bits/localefwd.h: Tweaks.
3694 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
3696 (time_get::do_get_year): Same.
3697 (__convert_from_v): Add.
3698 (num_put::_M_convert_float): Use.
3699 (num_put::_M_convert_int): Same.
3700 (money_put::do_put): Same.
3702 * src/locale-inst.cc: Add instantiations for __convert_from_v.
3703 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
3704 * config/locale/time_members_generic.cc:
3705 * config/locale/messages_members_gnu.cc: Same.
3706 * config/locale/messages_members_gnu.h: Same.
3708 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
3709 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
3710 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
3711 * testsuite/22_locale/collate_members_char.cc (test02): New.
3712 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
3713 * testsuite/22_locale/ctype_members_char.cc (test03): New.
3714 * testsuite/22_locale/messages_members_char.cc (test02): New.
3715 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
3716 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
3717 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
3718 * testsuite/22_locale/money_get_members_char.cc (test04): New.
3719 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
3720 * testsuite/22_locale/money_put_members_char.cc (test04): New.
3721 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
3722 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
3723 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
3724 * testsuite/22_locale/time_put_members_char.cc (test03): New.
3725 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
3726 * testsuite/22_locale/time_get_members_char.cc (test07): New.
3727 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
3728 * testsuite/22_locale/num_get_members_char.cc (test03): New.
3729 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
3730 * testsuite/22_locale/num_put_members_char.cc (test03): New.
3732 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
3734 * testsuite/22_locale/time_get_members_char.cc: Same.
3736 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3739 * include/bits/localefwd.h: Tweak comments.
3740 * include/bits/locale_facets.h (__convert_to_v): Add.
3741 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
3742 (num_get::do_get(float)): Same.
3743 (num_get::do_get(long double)): Same.
3744 (num_get::do_get(bool)): Same.
3745 (num_get::do_get(long)): Same.
3746 (num_get::do_get(long long)): Same.
3747 (num_get::do_get(unsigned int)): Same.
3748 (num_get::do_get(unsigned short)): Same.
3749 (num_get::do_get(unsigned long)): Same.
3750 (num_get::do_get(unsigned long long)): Same.
3751 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
3752 * config/locale/c_locale_generic.cc: Same.
3754 2002-01-22 Loren Rittle <ljrittle@acm.org>
3756 * include/Makefile.am (c_base_builddir): Remove redundant slash.
3757 (std_builddir): Likewise.
3758 (std_headers_rename): Fix cut-n-paste typo.
3759 (install-data-local): Concat path per element instead of once to
3760 first element of list.
3761 * include/Makefile.in: Rebuilt.
3763 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3765 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
3766 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
3767 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
3769 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
3771 * include/bits/locale_facets.h (ctype<char>::classic_table):
3773 (ctype<char>::_S_ctable): Remove.
3774 * config/os/gnu-linux/bits/ctype_noninline.h
3775 (ctype<char>::_S_table): Remove definition.
3776 (ctype<char>::classic_table): Define.
3777 (ctype<char>::ctype): Replace _S_ctable with classic_table().
3778 * config/os/aix/bits/ctype_noninline.h: Same.
3779 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3780 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3781 * config/os/djgpp/bits/ctype_noninline.h: Same.
3782 * config/os/generic/bits/ctype_noninline.h: Same.
3783 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3784 * config/os/hpux/bits/ctype_noninline.h: Same.
3785 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3786 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3787 * config/os/mingw32/bits/ctype_noninline.h: Same.
3788 * config/os/newlib/bits/ctype_noninline.h: Same.
3789 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3790 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3791 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3793 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
3795 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
3796 of _pctype. Use to define _S_ctable. Add definition for alternate
3797 ctor. Initialise _M_ctable to _S_ctable in ctors.
3798 (do_toupper, do_tolower): Use inline code appropriate for C-locale
3799 rather than ::toupper, ::tolower.
3801 2002-01-18 Loren Rittle <ljrittle@acm.org>
3803 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
3804 Add specialization for FreeBSD systems only to avoid losing test
3805 only due to extra precision unmentioned in system headers.
3807 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
3809 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
3811 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
3813 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
3814 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
3816 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3818 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
3820 2002-01-17 David Edelsohn <edelsohn@gnu.org>
3822 * configure.target: Define OPT_LDFLAGS for AIX case.
3824 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3826 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
3827 __glibcpp_double_has_quiet_NaN): Correct mispelling.
3829 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
3831 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
3833 2002-01-16 David Edelsohn <dje@watson.ibm.com>
3835 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
3836 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
3837 * aclocal.m4: Regenerate.
3838 * configure: Regenerate.
3840 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3842 * include/Makefile.am (c_base_headers_rename): New.
3843 (c_base_headers_extra): New.
3844 (stamp-c_base): Modify.
3845 (install-data-local): Use both.
3846 * include/Makefile.in: Regenerate.
3847 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3848 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3849 cstdio ctime cwctype]: Move to..
3850 * include/c/std_*: Here.
3851 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3852 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3853 cstdio ctime cwctype]: Move to..
3854 * include/c_std/std_*: Here.
3856 Alexandre Oliva <aoliva@redhat.com>
3857 * include/Makefile.am (.PRECIOUS): Add rule.
3858 * include/Makefile.in: Regenerate.
3860 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3861 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3863 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
3864 Deuglify, should be current.
3865 (back_insert_iterator::_M_container): Deuglify, should be container.
3866 (front_insert_iterator::_M_container): Same.
3867 (insert_iterator::_M_container): Same.
3868 * testsuite/24_iterators/reverse_iterator.cc: Add check.
3869 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
3870 * testsuite/24_iterators/front_insert_iterator.cc: Same.
3871 * testsuite/24_iterators/insert_iterator.cc: Same.
3873 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3875 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
3877 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
3878 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
3879 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3880 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3881 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3882 * config/os/newlib/bits/ctype_noninline.h: Same.
3883 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3884 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3885 * config/os/hpux/bits/ctype_noninline.h: Same.
3886 * config/os/djgpp/bits/ctype_noninline.h: Same.
3887 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3888 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3889 * config/os/aix/bits/ctype_noninline.h: Same.
3891 Testcase by Dietmar Kühl via Peter Schmid
3892 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
3895 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3897 * libmath/signbitl.c: Copyright years as list, not range.
3898 * libmath/Makefile.am: Same.
3899 * libmath/Makefie.in: Regenerate.
3900 * libmath/signbit.c: Same.
3901 * libmath/nan.c: Same.
3902 * libmath/copysignf.c: Same.
3903 * libmath/signbitf.c: Same.
3904 * testsuite/22_locale/money_get_members_char.cc: Same.
3905 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3906 * testsuite/22_locale/money_put_members_char.cc: Same.
3907 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3908 * testsuite/22_locale/time_get_members_char.cc: Same.
3909 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
3910 * testsuite/22_locale/time_put_members_char.cc: Same.
3911 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
3912 * testsuite/21_strings/nonmember.cc: Same.
3913 * testsuite/21_strings/compare.cc: Same.
3914 * testsuite/27_io/stringstream.cc: Same.
3915 * testsuite/27_io/stringbuf.cc: Same.
3916 * testsuite/27_io/filebuf.cc: Same.
3917 * testsuite/27_io/ios_manip_basefield.cc: Same.
3918 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
3919 * include/bits/cpp_type_traits.h: Same.
3920 * include/bits/generic_shadow.h: Same.
3921 * include/bits/gslice_array.h: Same.
3922 * include/bits/gslice.h: Same.
3923 * include/bits/indirect_array.h: Same.
3924 * include/bits/slice_array.h: Same.
3925 * include/bits/sstream.tcc: Same.
3926 * include/bits/streambuf_iterator.h: Same.
3927 * include/bits/valarray_array.tcc: Same.
3928 * include/bits/valarray_meta.h: Same.
3929 * include/bits/valarray_array.h: Same.
3930 * config/os/mingw32/bits/ctype_noninline.h: Same.
3931 * config/os/mingw32/bits/ctype_base.h: Same.
3932 * config/os/hpux/bits/ctype_noninline.h: Same.
3933 * config/os/hpux/bits/ctype_base.h: Same.
3934 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3935 * config/os/gnu-linux/bits/ctype_base.h: Same.
3936 * config/os/generic/bits/ctype_noninline.h: Same.
3937 * config/os/generic/bits/ctype_base.h: Same.
3939 * libsupc++/tinfo.h: Tweaks.
3941 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3943 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
3944 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
3945 * testsuite/22_locale/ctype_members_char.cc: Tweak.
3947 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3949 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
3950 (num_put::do_put(void*)): Fix.
3951 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
3952 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
3953 * testsuite/22_locale/num_get_members_char.cc (test02): Add
3954 long double, void, bool types.
3955 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
3957 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3958 Alexandre Oliva <aoliva@redhat.com>
3960 * libmath/Makefile.am (LINK): Add --tag CC.
3961 * libmath/Makefile.in: Regenerate.
3963 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
3965 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
3966 of character to attribute mapping table.
3968 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
3970 * testsuite/26_numerics/c99_classification_macros_c.cc
3971 Remove dg-error and dg-excess-errors comments.
3973 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
3975 * include/bits/locale_facets.tcc (time_put::put): Correct output
3977 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
3978 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
3979 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
3980 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
3982 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
3984 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
3986 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
3987 Nathan Myers <ncm@cantrip.org>
3989 * include/bits/basic_string.h
3990 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
3991 temporaries (i.e., call _M_replace_safe) when possible.
3992 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
3993 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
3994 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
3995 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
3996 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
3997 * include/bits/basic_string.tcc
3998 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
3999 replace(__pos, __n1, __s, __n2).
4000 * testsuite/21_strings/replace.cc (test03): New testcases.
4002 * include/bits/basic_string.h (insert(__pos, __s, __n)):
4003 Adjust comparison wrt overflow.
4005 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
4007 * include/Makefile.am (std_headers_rename): New variable.
4008 (install-data-local): Use it.
4009 * include/Makefile.in: Regenerate.
4011 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
4013 * include/bits/locale_facets.tcc (money_put::do_put(string):
4014 Correct output iterator value.
4015 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
4016 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
4018 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
4020 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
4023 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
4025 * include/Makefile.am (std_headers): Update list with new names.
4026 (stamp-std): Link to standardized name.
4027 * include/Makefile.in: Regenerate.
4029 * include/std/algorithm, include/std/bitset, include/std/complex,
4030 include/std/deque, include/std/fstream, include/std/functional,
4031 include/std/iomanip, include/std/ios, include/std/iosfwd,
4032 include/std/iostream, include/std/istream, include/std/iterator,
4033 include/std/limits, include/std/list, include/std/locale,
4034 include/std/map, include/std/memory, include/std/numeric,
4035 include/std/ostream, include/std/queue, include/std/set,
4036 include/std/sstream, include/std/stack, include/std/stdexcept,
4037 include/std/streambuf, include/std/string, include/std/utility,
4038 include/std/valarray, include/std/vector: Rename to...
4040 * include/std/std_algorithm.h, include/std/std_bitset.h,
4041 include/std/std_complex.h, include/std/std_deque.h,
4042 include/std/std_fstream.h, include/std/std_functional.h,
4043 include/std/std_iomanip.h, include/std/std_ios.h,
4044 include/std/std_iosfwd.h, include/std/std_iostream.h,
4045 include/std/std_istream.h, include/std/std_iterator.h,
4046 include/std/std_limits.h, include/std/std_list.h,
4047 include/std/std_locale.h, include/std/std_map.h,
4048 include/std/std_memory.h, include/std/std_numeric.h,
4049 include/std/std_ostream.h, include/std/std_queue.h,
4050 include/std/std_set.h, include/std/std_sstream.h,
4051 include/std/std_stack.h, include/std/std_stdexcept.h,
4052 include/std/std_streambuf.h, include/std/std_string.h,
4053 include/std/std_utility.h, include/std/std_valarray.h,
4054 include/std/std_vector.h: ...this.
4056 2002-01-11 Loren Rittle <ljrittle@acm.org>
4058 * include/Makefile.am (extra_target_headers): New list of all
4059 target files built with ad hoc naming rules.
4060 (stamp-*): Handle LN_S failure in manner portable across make
4062 (install-data-local): Install header files from human-maintained
4063 file lists and directory components instead of non-robust find.
4064 * include/Makefile.in: Rebuilt.
4066 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
4068 * include/bits/locale_facets.tcc (money_get::do_get(string)):
4069 Check for zero-length negative sign before adding it to output
4071 (money_get::do_get(long double)): Return beg.
4072 * testsuite/22_locale/money_get_members_char.cc (test02): Add
4074 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
4076 2002-01-10 David Seymour <seymour_dj@yahoo.com>
4079 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
4080 for _M_extract_float and _M_extract_int
4081 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
4082 (num_get<>::_M_extract_int): Likewise, all callers changed
4083 * testsuite/22_locale/num_get_members_char.cc: Testcase
4085 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
4087 * libsupc++/exception (bad_exception): Add comment.
4088 * libsupc++/new (bad_alloc): Same.
4089 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
4091 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
4093 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
4094 that the destructors should be removed from the descriptions
4095 in the standard: writing them explicitly allows the vtable
4096 heuristic to work. For additional information see:
4097 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
4098 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
4099 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
4100 * libsupc++/exception (bad_exception::~bad_exception()):
4101 Reintroduce declaration.
4102 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
4103 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
4104 (bad_typeid::~bad_typeid()): Same.
4105 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
4106 Reintroduce definition.
4107 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
4108 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
4109 (bad_typeid::~bad_typeid()): Same.
4111 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
4113 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
4114 * include/Makefile.in: Regenerate.
4116 2002-01-09 Bo Thorsen <bo@suse.co.uk>
4118 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
4121 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
4125 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
4126 return value of _M_file->sync().
4127 (filebuf::showmanyc): Check for is_open.
4128 * include/std/fstream (filebuf::sync): Tweak.
4129 * testsuite/27_io/filebuf.cc: Tweak.
4131 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
4132 Brad Garcia <garsh@attbi.com>
4134 * testsuite/27_io/filebuf_members.cc: Add test.
4136 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
4137 Craig Rodrigues <rodrigc@mediaone.net>
4140 * po/Makefile.am (mkinstalldirs): Add.
4141 * po/Makefile.in: Regenerate.
4143 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
4145 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
4146 testsuite/lib/prune.exp: Delete lines ":In function ..." from
4148 * testsuite/23_containers/map_operators.cc: Remove
4149 dg-excess-errors comment.
4150 * testsuite/23_containers/set_operators.cc: Likewise.
4152 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
4154 * include/bits/stl_function.h: Remove two lines of comments;
4155 adjust copyright years.
4157 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
4159 * include/Makefile.am (std_headers): Remove cXXX from list.
4160 (c_base_srcdir): No bits subdirectory.
4161 (c_base_builddir): Same.
4162 (c_base_headers): Adjust names, add ciso646.
4163 (bits_headers): Remove std_xxx.h headers.
4164 * include/Makefile.in: Regenerate.
4166 * include/ext/iterator: Adjust includes.
4167 * include/ext/ropeimpl.h: Same.
4168 * include/ext/stl_hash_fun.h: Same.
4169 * include/ext/algorithm: Same.
4171 * include/backward/bvector.h: Adjust includes.
4172 * include/backward/vector.h: Same.
4173 * include/backward/strstream: Same.
4174 * include/backward/streambuf.h: Same.
4175 * include/backward/stack.h: Same.
4176 * include/backward/set.h: Same.
4177 * include/backward/queue.h: Same.
4178 * include/backward/multiset.h: Same.
4179 * include/backward/multimap.h: Same.
4180 * include/backward/map.h: Same.
4181 * include/backward/list.h: Same.
4182 * include/backward/iterator.h: Same.
4183 * include/backward/iostream.h: Same.
4184 * include/backward/iomanip.h: Same.
4185 * include/backward/fstream.h: Same.
4186 * include/backward/deque.h: Same.
4187 * include/backward/complex.h: Same.
4189 * include/bits/std_algorithm.h: Move to...
4190 * include/std/algorithm: ...here.
4191 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
4192 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
4193 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
4194 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
4195 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
4196 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
4197 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
4200 * include/c_std/bits/std_cassert.h: Move to...
4201 * include/c_std/cassert: Here.
4202 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
4203 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
4204 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
4205 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
4206 std_cwctype.h: Same.
4207 * include/c_std/cmath: Adjust cmath.tcc include.
4208 * include/c_std/cstdlib: Adjust includes.
4209 * include/c_std/cwchar: Same.
4210 * include/c_std/ctime: Same.
4211 * include/c_std/cstring: Same.
4212 * include/c_std/cstdio: Same.
4213 * include/c_std/bits: Remove directory.
4215 * include/c/bits/std_cassert.h: Move to...
4216 * include/c/cassert: Here.
4217 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
4218 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
4219 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
4220 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
4221 std_cwctype.h: Same.
4222 * include/c/bits: Remove directory.
4224 * include/std/cwctype: Remove.
4225 * include/std/cwchar: Remove.
4226 * include/std/ctime: Remove.
4227 * include/std/cstring: Remove.
4228 * include/std/cstdlib: Remove.
4229 * include/std/cstdio: Remove.
4230 * include/std/cstddef: Remove.
4231 * include/std/cstdarg: Remove.
4232 * include/std/csignal: Remove.
4233 * include/std/csetjmp: Remove.
4234 * include/std/cmath: Remove.
4235 * include/std/clocale: Remove.
4236 * include/std/climits: Remove.
4237 * include/std/ciso646: Remove.
4238 * include/std/cfloat: Remove.
4239 * include/std/cerrno: Remove.
4240 * include/std/cctype: Remove.
4241 * include/std/cassert: Remove.
4243 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
4244 files and subsituting <xxx>.
4245 * include/bits/valarray_array.h: Same.
4246 * include/bits/stl_uninitialized.h: Same.
4247 * include/bits/stl_alloc.h: Same.
4248 * include/bits/stl_algobase.h: Same.
4249 * include/bits/sstream.tcc: Same.
4250 * include/bits/pthread_allocimpl.h: Same.
4251 * include/bits/ostream.tcc: Same.
4252 * include/bits/localefwd.h: Same.
4253 * include/bits/locale_facets.tcc: Same.
4254 * include/bits/locale_facets.h: Same.
4255 * include/bits/istream.tcc: Same.
4256 * include/bits/char_traits.h: Same.
4257 * include/bits/boost_concept_check.h: Same.
4258 * include/bits/basic_file.h: Same.
4259 * include/std/bitset: Same.
4260 * include/std/complex: Same.
4261 * include/std/fstream: Same.
4262 * include/std/functional: Same.
4263 * include/std/ios: Same.
4264 * include/std/iostream: Same.
4265 * include/std/ostream: Same.
4266 * include/std/sstream: Same.
4267 * include/std/streambuf: Same.
4268 * include/std/string: Same.
4269 * include/std/iterator: Same.
4270 * include/std/valarray: Same.
4272 * src/ios.cc: Adjust includes.
4273 * src/valarray-inst.cc: Same.
4274 * src/string-inst.cc: Same.
4275 * src/stl-inst.cc: Same.
4276 * src/stdexcept.cc: Same.
4277 * src/misc-inst.cc: Same.
4278 * src/localename.cc: Same.
4279 * src/locale-inst.cc: Same.
4280 * src/locale.cc: Same.
4281 * src/limits.cc: Same.
4282 * src/concept-inst.cc: Same.
4283 * src/complex_io.cc: Same.
4284 * src/codecvt.cc: Same.
4285 * src/bitset.cc: Same.
4286 * src/cmath.cc: Same.
4288 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
4290 * include/bits/stl_tree.h (rb_tree): Move to...
4291 * include/ext/rb_tree: ...here, new file.
4292 * include/Makefile.am (ext_headers): Add new file.
4293 * include/Makefile.in: Regenerate.
4294 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
4295 return_temporary_buffer, struct temporary_buffer): Move to...
4296 * include/ext/memory: ...here.
4297 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
4298 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
4299 * include/backward/tree.h: Include <ext/rb_tree), tweak.
4301 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
4303 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
4304 * include/ext/numeric: ...here, new file.
4305 * include/bits/stl_function.h (identity_element, unary_compose,
4306 binary_compose, compose1, compose2, identity, select1st,
4307 select2nd, project1st + helper, project2nd + helper,
4308 constant_void_fun + helper, constant_unary_fun + helper,
4309 costant_binary_fun + helper, constant0, constant1, constant2,
4310 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
4311 * include/ext/functional: ...here, new file.
4312 * include/Makefile.am (ext_headers): Add new files.
4313 * include/Makefile.in: Regenerate.
4314 * testsuite/ext/headers.cc: Include <ext/numeric> and
4316 * include/backward/algo.h: Include <ext/numeric>, tweak.
4317 * include/backward/function.h: Include <ext/functional>, tweak.
4318 * include/ext/ropeimpl.h: Include <ext/numeric>.
4320 2002-01-03 Jeffrey A Law <law@redhat.com>
4322 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
4323 __strtoull declarations with __extension__.
4325 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
4327 * testsuite/lib/prune.exp: Correct regular expression for
4330 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
4332 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
4333 Change concept checks, as with lower_bound and PR 2054.
4334 * testsuite/ext/concept_checks.cc: Expand test to include those.
4336 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
4338 * include/bits/boost_concept_check.h: Import some changes from
4339 upsteam (Boost) version.
4341 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
4343 * include/bits/stl_algobase.h (copy_n + helpers,
4344 lexicographical_compare_3way + helpers): Move to...
4345 * include/ext/algorithm: ...here.
4346 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
4347 helpers): Move to...
4348 * include/ext/memory: ...here, new file.
4349 * include/Makefile.am (ext_headers): Add new file.
4350 * include/Makefile.in: Regenerate.
4351 * testsuite/ext/headers.cc: Include <ext/memory>.
4352 * include/backward/algobase.h: Include <ext/memory> and
4353 <ext/algorithm>, tweak.
4354 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
4355 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
4357 2002-01-01 Roger Sayle <roger@eyesopen.com>
4359 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
4360 equivalent ___builtin__ versions.
4362 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
4363 are available in libstdc++ as the necessary stub implementations
4364 are provided by libmath/stubs.c.
4366 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
4368 * configure.in: Add support for NetBSD cross compiles.
4369 * configure: Regenerate.