1 2002-09-16 Richard Henderson <rth@redhat.com>
3 * include/std/std_limits.h (__glibcpp_f32_denorm_min_bytes,
4 __glibcpp_f32_has_denorm, __glibcpp_f64_denorm_min_bytes,
5 __glibcpp_f64_has_denorm, __glibcpp_f80_denorm_min_bytes,
6 __glibcpp_f80_has_denorm, __glibcpp_f96_denorm_min_bytes,
7 __glibcpp_f96_has_denorm, __glibcpp_f128_denorm_min_bytes,
8 __glibcpp_f128_has_denorm, __glibcpp_float_denorm_min_bytes,
9 __glibcpp_float_has_denorm, __glibcpp_double_denorm_min_bytes,
10 __glibcpp_double_has_denorm, __glibcpp_long_double_denorm_min_bytes,
11 __glibcpp_long_double_has_denorm): Remove.
12 (__glibcpp_float_denorm_min, __glibcpp_double_denorm_min,
13 __glibcpp_long_double_denorm_min): Remove.
14 (std::numeric_limits<float>::has_denorm): Use __FLT_DENORM_MIN__.
15 (std::numeric_limits<float>::denorm_min): Likewise.
16 (std::numeric_limits<double>): Similarly.
17 (std::numeric_limits<long double>): Similarly.
18 * src/limits.cc (__glibcpp_float_denorm_min,
19 __glibcpp_double_denorm_min, __glibcpp_long_double_denorm_min): Remove.
21 2002-09-13 Andy Felt <afelt@uwsp.edu>
23 * docs/html/17_intro/howto.html: Update link.
25 2002-09-13 Phil Edwards <pme@gcc.gnu.org>
27 * docs/doxygen/run_doxygen: Massage man page for Iterator_types.3.
28 * docs/html/faq/index.html: Whitespace fixes.
30 2002-09-12 Benjamin Kosnik <bkoz@redhat.com>
32 * libmath/Makefile.am (LIBTOOL): Use --tag CC always for this
34 * libmath/Makefile.in: Regenerate.
35 * src/Makefile.am: Tweak comment.
36 * src/Makefile.in: Regenerate.
38 * config/locale/gnu/c_locale.h: Remove warnings.
39 Inject __uselocale into __gnu_cxx.
40 * config/locale/generic/c_locale.h: Match.
42 2002-09-11 Benjamin Kosnik <bkoz@redhat.com>
44 * include/bits/locale_facets.tcc (__convert_from_v): Remove.
45 * config/locale/gnu/c_locale.h (__convert_from_v): Add.
46 * config/locale/generic/c_locale.h (__convert_from_v): Add.
48 2002-09-11 Paolo Carlini <pcarlini@unitus.it>
50 * include/bits/locale_facets.tcc (__convert_from_v):
51 Use __uselocale instead of setlocale for glibc 2.3+.
53 2002-09-10 Benjamin Kosnik <bkoz@redhat.com>
55 * src/Makefile.am (sources): Edit.
56 (target_sources): New.
57 (target_sources_extra): New.
58 * src/Makefile.in: Regenerate.
59 * acinclude.m4: Set CCODECVT_CC.
60 * aclocal.m4: Regenerate.
61 * configure: Regenerate.
62 * src/locale.cc: Move ctype definitions...
63 * src/ctype.cc: ...here. New file.
64 * src/locale.cc: Move codecvt definitions...
65 * src/codecvt.cc: ...here.
66 * config/generic/codecvt_members.cc: ...and here.
67 * config/gnu/codecvt_members.cc: ...and here.
68 * include/bits/codecvt.h: Tweak.
69 * include/bits/locale_facets: Tweak.
71 * src/bitset.cc: Correct license text.
72 * src/concept-inst.cc: Same.
73 * src/strstream.cc: Same.
74 * src/vterminate.cc: Same.
76 2002-09-10 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net>
78 * include/bits/stl_vector.h (vector<>): Don't use a name with
79 different meanings before and after re-evaluation in the completed
81 * include/bits/basic_string.h (basic_string<>): Likewise.
82 * include/bits/stl_bvector.h (vector<bool>): Likewise.
83 * include/bits/stl_deque.h (std): Likewise.
84 * include/bits/stl_list.h (list<>): Likewise.
85 * include/bits/stl_tree.h (_Rb_tree<>): Likewise.
87 2002-09-10 Paolo Carlini <pcarlini@unitus.it>
89 * include/bits/codecvt.h (class __codecvt_abstract_base):
90 Add __c_locale type _M_c_locale_codecvt member.
91 (class codecvt<char, char, mbstate_t>,
92 class codecvt<wchar_t, char, mbstate_t>): Add new
93 codecvt(__c_locale, size_t) constructor.
94 (codecvt_byname::codecvt_byname): Update.
95 * src/codecvt.cc (class codecvt<char, char, mbstate_t>,
96 class codecvt<wchar_t, char, mbstate_t>): Update codecvt(size_t)
97 constructor and ~codecvt() destructor; define
98 codecvt(__c_locale, size_t) constructor.
99 (codecvt::do_out): Switch to _M_c_locale_codecvt around wcsrtombs call.
100 (codecvt::do_in): Ditto for mbsrtowcs call.
101 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
102 Tweak construction of codecvt facets.
104 2002-09-10 Danny Smith <dannysmith@users.sourceforge.net>
106 * include/bits/locale_facets.tcc (__convert_from_v):
107 Replace strdup with ISO malloc and strcpy.
109 2002-09-09 Benjamin Kosnik <bkoz@redhat.com>
111 * docs/html/configopts.html: Change grouping. Note ABI impacts.
112 Update information for locale model defaults.
113 * docs/html/install.html: Update include directory
115 Update testing information.
116 Update linux issues for named locales.
117 * docs/html/abi.txt: Fix typos.
120 * src/misc-inst.cc: Add missing instantiations.
122 * testsuite/abi_check.cc: Make output results more verbose.
124 * config/os/gnu-linux/ctype_base.h: Remove shadow headers injections.
126 2002-09-07 Jakub Jelinek <jakub@redhat.com>
128 * config/locale/generic/messages_members.cc: Add specialization for
130 * config/locale/ieee_1003.1-20021/messages_members.cc: Likewise.
132 2002-09-06 Benjamin Kosnik <bkoz@redhat.com>
134 * include/bits/localefwd.h: Tweak formatting.
135 * docs/html/abi.txt: Add.
137 2002-09-06 Jakub Jelinek <jakub@redhat.com>
139 * configure.target: Use cpu_include_dir="config/cpu/sparc" for all
141 * config/cpu/sparc/atomicity.h: New file.
142 * config/cpu/sparc/sparc32/atomicity.h: Removed.
143 * config/cpu/sparc/sparc64/atomicity.h: Removed.
145 2002-09-06 Jakub Jelinek <jakub@redhat.com>
147 * config/os/gnu-linux/ctype_noninline.h
148 [_GLIBCPP_USE_SHADOW_HEADERS]: Remove using _C_legacy::__ctype_*.
149 (ctype<char>::classic_table): If _GLIBCPP_C_LOCALE_GNU, return
150 _S_c_locale->__ctype_b, otherwise temporarily switch to "C" locale
151 and return __ctype_b.
152 (ctype<char>::ctype(__c_locale, const mask*, bool, size_t)): If not
153 _GLIBCPP_C_LOCALE_GNU, temporarily switch to "C" locale and
154 initialize using __ctype_{b,tolower,toupper}.
155 (ctype<char>::ctype(const mask*, bool, size_t)): If
156 _GLIBCPP_C_LOCALE_GNU, initialize using
157 _S_c_locale->__ctype_{b,tolower,toupper}, otherwise temporarily
158 switch to "C" locale and initialize using __ctype_{b,tolower,toupper}.
160 2002-09-05 Paolo Carlini <pcarlini@unitus.it>
161 Roland McGrath <roland@redhat.com>
164 * src/locale.cc (locale::locale(__s)): Use getenv instead
165 of setenv for the environment locale.
166 * testsuite/22_locale/ctor_copy_dtor.cc (test03): New.
168 2002-09-05 Jakub Jelinek <jakub@redhat.com>
170 * config/abi/ia64-unknown-linux-gnu: Add.
171 * config/abi/ia64-unknown-linux-gnu/baseline_symbols.txt: New file.
172 * config/abi/alphaev67-unknown-linux-gnu: Add.
173 * config/abi/alphaev67-unknown-linux-gnu/baseline_symbols.txt: New file.
175 2002-09-05 Jonathan Wakely <jw@kayari.org>
177 * docs/html/Makefile: Use more portable shell wildcard.
178 * docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
179 * docs/html/configopts.html, docs/html/documentation.html,
180 docs/html/explanations.html, docs/html/install.html,
181 docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
182 docs/html/17_intro/license.html, docs/html/18_support/howto.html,
183 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
184 docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
185 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
186 docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
187 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
188 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
189 docs/html/27_io/howto.html, docs/html/ext/howto.html,
190 docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
192 * docs/html/faq/index.txt: Regenerate.
194 2002-09-05 Jakub Jelinek <jakub@redhat.com>
196 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_widen(char)):
197 Switch to _M_c_locale_ctype around btowc call.
198 (ctype<wchar_t>::do_widen(const char*, const char *, wchar_t*)):
199 Switch to _M_c_locale_ctype around mbsrtowcs call.
200 (ctype<wchar_t>::do_narrow(char)): Switch to _M_c_locale_ctype around
202 (ctype<wchar_t>::do_narrow(const char*, const char *, wchar_t*)):
203 Switch to _M_c_locale_ctype around wcsrtombs call.
205 2002-09-05 Jakub Jelinek <jakub@redhat.com>
207 * config/locale/gnu/monetary_members.cc
208 (moneypunct<wchar_t, true>::_M_initialize_moneypunct,
209 moneypunct<wchar_t, false>::_M_initialize_moneypunct): Use
210 __uselocale instead of setlocale for glibc 2.3.
212 2002-09-05 Jakub Jelinek <jakub@redhat.com>
214 * config/locale/generic/c++locale_internal.h: New header.
215 * config/locale/gnu/c++locale_internal.h: New header.
216 * config/locale/gnu/c_locale.cc: Include it.
217 * config/locale/gnu/collate_members.cc: Include it.
218 * config/locale/gnu/ctype_members.cc: Include it.
219 * config/locale/gnu/messages_members.cc: Include it.
220 * config/locale/gnu/monetary_members.cc: Include it.
221 * config/locale/gnu/numeric_members.cc: Include it.
222 * config/locale/gnu/time_members.cc: Include it.
223 (_M_put): Reorder __strftime_l and __wcsftime_l arguments to match
225 (_M_initialize_timepunct): Initialize _M_c_locale_timepunct for
227 * acinclude.m4: Include string.h when testing strcoll_l.
228 For glibc 2.3 provide __-prefixed prototypes.
229 (CLOCALE_INTERNAL_H): Set, add AC_LINK_FILES line.
230 * aclocal.m4, configure: Rebuilt.
232 2002-09-05 Benjamin Kosnik <bkoz@redhat.com>
234 * include/bits/locale_facets.h: Add declaration of specialization
236 * config/locale/gnu/messages_members.cc: Add specialization for
238 * config/locale/gnu/messages_members.h: Remove generic definition
241 2002-09-04 Richard Henderson <rth@redhat.com>
243 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
244 __glibcpp_f32_has_infinity, __glibcpp_f64_infinity_bytes,
245 __glibcpp_f64_has_infinity, __glibcpp_f80_infinity_bytes,
246 __glibcpp_f80_has_infinity, __glibcpp_f96_infinity_bytes,
247 __glibcpp_f96_has_infinity, __glibcpp_f128_infinity_bytes,
248 __glibcpp_f128_has_infinity, __glibcpp_float_infinity_bytes,
249 __glibcpp_float_has_infinity, __glibcpp_double_infinity_bytes,
250 __glibcpp_double_has_infinity, __glibcpp_long_double_infinity_bytes,
251 __glibcpp_long_double_has_infinity): Remove.
252 (std::numeric_limits<float>, std::numeric_limits<double>,
253 std::numeric_limits<long double>): Use __builtin_huge_val
254 to implement has_infinity and infinity().
255 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_double_infinity,
256 __glibcpp_long_double_infinity): Remove.
258 2002-09-03 Richard Henderson <rth@redhat.com>
260 * include/std/std_limits.h (__glibcpp_f32_min, __glibcpp_f32_max,
261 __glibcpp_f32_digits, __glibcpp_f32_digits10, __glibcpp_f32_radix,
262 __glibcpp_f32_epsilon, __glibcpp_f32_min_exponent,
263 __glibcpp_f32_min_exponent10, __glibcpp_f32_max_exponent,
264 __glibcpp_f32_max_exponent10, __glibcpp_f64_min, __glibcpp_f64_max,
265 __glibcpp_f64_digits, __glibcpp_f64_digits10, __glibcpp_f64_radix,
266 __glibcpp_f64_min_exponent, __glibcpp_f64_min_exponent10,
267 __glibcpp_f64_max_exponent, __glibcpp_f64_max_exponent10,
268 __glibcpp_f80_min, __glibcpp_f80_max, __glibcpp_f80_digits,
269 __glibcpp_f80_digits10, __glibcpp_f80_radix, __glibcpp_f80_epsilon,
270 __glibcpp_f80_min_exponent, __glibcpp_f80_min_exponent10,
271 __glibcpp_f80_max_exponent, __glibcpp_f80_max_exponent10,
272 __glibcpp_f96_min, __glibcpp_f96_max, __glibcpp_f96_digits,
273 __glibcpp_f96_digits10, __glibcpp_f96_radix, __glibcpp_f96_epsilon,
274 __glibcpp_f96_min_exponent, __glibcpp_f96_min_exponent10,
275 __glibcpp_f96_max_exponent, __glibcpp_f96_max_exponent10,
276 __glibcpp_f128_min, __glibcpp_f128_max, __glibcpp_f128_digits,
277 __glibcpp_f128_digits10, __glibcpp_f128_radix, __glibcpp_f128_epsilon,
278 __glibcpp_f128_min_exponent, __glibcpp_f128_min_exponent10,
279 __glibcpp_f128_max_exponent, __glibcpp_f128_max_exponent10,
280 __glibcpp_float_min, __glibcpp_float_max, __glibcpp_float_digits,
281 __glibcpp_float_digits10, __glibcpp_float_radix,
282 __glibcpp_float_epsilon, __glibcpp_float_min_exponent,
283 __glibcpp_float_min_exponent10, __glibcpp_float_max_exponent,
284 __glibcpp_float_max_exponent10, __glibcpp_double_min,
285 __glibcpp_double_max, __glibcpp_double_digits,
286 __glibcpp_double_digits10, __glibcpp_double_radix,
287 __glibcpp_double_epsilon, __glibcpp_double_min_exponent,
288 __glibcpp_double_min_exponent10, __glibcpp_double_max_exponent,
289 __glibcpp_double_max_exponent10, __glibcpp_long_double_min,
290 __glibcpp_long_double_max, __glibcpp_long_double_digits,
291 __glibcpp_long_double_digits10, __glibcpp_long_double_radix,
292 __glibcpp_long_double_epsilon, __glibcpp_long_double_min_exponent,
293 __glibcpp_long_double_min_exponent10,
294 __glibcpp_long_double_max_exponent,
295 __glibcpp_long_double_max_exponent10): Remove macros.
296 (std::numeric_limits<float>, std::numeric_limits<double>,
297 std::numeric_limits<long double>): Use protected float.h macros.
299 2002-09-01 Phil Edwards <pme@gcc.gnu.org>
301 * testsuite/Makefile.am: Use LD_RUN_PATH when linking abi_check.
302 Fix spelling in comment.
303 * testsuite/Makefile.in: Regenerate.
304 * testsuite/abi_check.cc: Use string literals to build 'cmd' rather
305 than 'quote' and 'bslash'.
307 2002-08-31 Phil Edwards <pme@gcc.gnu.org>
309 * acinclude.m4: Minor comment tweaks.
311 * docs/html/makedoc.awk: New file...
312 * docs/html/Makefile: ...called from here...
313 * docs/html/documentation.html: ...to help generate this.
315 * docs/html/21_strings/howto.html: Prepare for new entry.
316 * include/bits/basic_string.h: Initial basic_stirng hook for
317 doxygen. Remove trailing whitespace.
318 * include/bits/char_traits.h: Point to onlinedocs for new entry.
319 * include/bits/stringfwd.h: Add doxygen hooks for string and
322 2002-08-29 Richard Earnshaw <rearnshaw@arm.com>
324 * config/cpu/arm/cpu_limits.h: New file.
325 * configure.target: Use config/cpu/arm for XScale and StrongARM
328 2002-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
330 * include/std/std_limits.h (__glibcpp_char_bits,
331 __glibcpp_short_bits, __glibcpp_int_bits, __glibcpp_long_bits,
332 __glibcpp_long_long_bits, __glibcpp_float_bits,
333 __glibcpp_double_bits, __glibcpp_long_double_bits): Remove. Use
334 compiler predifined macros.
335 (__glibcpp_wchar_t_is_signed): Define based on compiler predefined
338 2002-08-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
340 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
341 __glibcpp_f32_has_infinity, __glibcpp_f32_QNaN_bytes,
342 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
343 __glibcpp_f32_has_SNaN, __glibcpp_f32_denorm_min_bytes,
344 __glibcpp_f32_has_denorm, __glibcpp_f32_is_iec559,
345 __glibcpp_f64_infinity_bytes,
346 __glibcpp_f64_has_infinity, __glibcpp_f64_QNaN_bytes,
347 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
348 __glibcpp_f64_has_SNaN, __glibcpp_f64_denorm_min_bytes,
349 __glibcpp_f64_has_denorm, __glibcpp_f64_is_iec559,
350 __glibcpp_f80_infinity_bytes,
351 __glibcpp_f80_has_infinity, __glibcpp_f80_QNaN_bytes,
352 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
353 __glibcpp_f80_has_SNaN, __glibcpp_f80_denorm_min_bytes,
354 __glibcpp_f80_has_denorm, __glibcpp_f80_is_iec559,
355 __glibcpp_f96_infinity_bytes,
356 __glibcpp_f96_has_infinity, __glibcpp_f96_QNaN_bytes,
357 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
358 __glibcpp_f96_has_SNaN, __glibcpp_f96_denorm_min_bytes,
359 __glibcpp_f96_has_denorm, __glibcpp_f96_is_iec559,
360 __glibcpp_f128_infinity_bytes,
361 __glibcpp_f128_has_infinity, __glibcpp_f128_QNaN_bytes,
362 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
363 __glibcpp_f128_has_SNaN, __glibcpp_f128_denorm_min_bytes,
364 __glibcpp_f128_has_denorm, __glibcpp_f128_is_iec559,
365 __glibcpp_float_infinity_bytes,
366 __glibcpp_float_has_infinity, __glibcpp_float_QNaN_bytes,
367 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
368 __glibcpp_float_has_SNaN, __glibcpp_float_denorm_min_bytes,
369 __glibcpp_float_has_denorm, __glibcpp_float_is_iec559,
370 __glibcpp_double_infinity_bytes,
371 __glibcpp_double_has_infinity, __glibcpp_double_QNaN_bytes,
372 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
373 __glibcpp_double_has_SNaN, __glibcpp_double_denorm_min_bytes,
374 __glibcpp_double_has_denorm, __glibcpp_double_is_iec559,
375 __glibcpp_long_double_infinity_bytes,
376 __glibcpp_long_double_has_infinity, __glibcpp_long_double_QNaN_bytes,
377 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
378 __glibcpp_long_double_has_SNaN, __glibcpp_long_double_denorm_min_bytes,
379 __glibcpp_long_double_has_denorm, __glibcpp_long_double_is_iec559:
381 (__glibcpp_word_bits, __glibcpp_word): Likewise.
382 (__glibcpp_byte): New typedef.
383 (__float_storage, __double_storage, __long_double_storage): New types.
384 (__glibcpp_float_infinity, __glibcpp_float_QNaN,
385 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Now
387 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
388 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
389 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
390 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
393 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_float_QNaN,
394 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Define.
395 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
396 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
397 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
398 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
401 2002-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
403 * include/std/std_limits.h: Indent conditional macro definitions.
405 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
407 * Makefile.am (check-abi): Specify current directory.
408 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Fix shell syntax, use
409 abi_baseline_triplet in baseline_file.
410 * Makefile.in, aclocal.m4, configure: Regenerate.
411 * configure.target: Add abi_baseline_triplet with default.
412 * testsuite/abi_check.cc: More error checking.
414 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
416 * config/linker-map.gnu: Verbose comments, clean up spacing.
417 * include/bits/stl_alloc.h: Fix indentation of 'if' bodies, return
419 __allocator: Change class declaration to struct.
420 * docs/html/17_intro/C++STYLE: Fix typo.
421 * include/bits/stl_deque.h, include/bits/stl_list.h,
422 include/bits/stl_map.h, include/bits/stl_multimap.h,
423 include/bits/stl_vector.h: Fix fallout from typo.
425 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
427 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
428 GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
430 * aclocal.m4: Regenerate.
431 * testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
433 * testsuite/Makefile.in: Regenerate.
435 2002-08-22 Loren J. Rittle <ljrittle@acm.org>
437 * testsuite/abi_check.cc: Enhance shell portability.
438 Support older binutils/readelf.
439 * config/abi/i386-unknown-freebsd4.6: Add.
440 * config/abi/i386-unknown-freebsd4.6/baseline_symbols.txt: New file.
442 2002-08-22 Paolo Carlini <pcarlini@unitus.it>
444 * docs/html/faq/index.html: Add Loren James Rittle and
445 Paolo Carlini to the list of v3 maintainers.
446 * docs/html/faq/index.txt: Ditto.
447 * docs/html/17_intro/RELEASE-NOTES: Ditto.
449 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
450 Phil Edwards <pme@gcc.gnu.org>
451 Ulrich Drepper <drepper@redhat.com>
453 * Makefile.am (check-abi): New rule.
454 * Makefile.in: Regenerate.
455 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
456 * aclocal.m4: Regenerate.
457 * configure: Regenerate.
458 * testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
459 (abi_check_SOURCES): Add.
460 * testsuite/Makefile.in: Regenerate.
461 * testsuite/abi_check.cc: New file.
463 * config/abi/i686-pc-linux-gnu: Add.
464 * config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.
466 2002-08-19 Benjamin Kosnik <bkoz@redhat.com>
468 * configure.in (libtool_VERSION): Update to 5:1:0.
469 * configure: Regenerate.
471 2002-08-19 Jonathan Wakely <jw@kayari.org>
473 * docs/html/configopts.html, docs/html/documentation.html,
474 docs/html/install.html, docs/html/22_locale/codecvt.html,
475 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
476 docs/html/22_locale/locale.html,
477 docs/html/22_locale/messages.html: Conform to HTML 4.01 standard.
479 2002-08-15 Benjamin Kosnik <bkoz@redhat.com>
481 * include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
482 _M_buf_size_opt to zero when unbuffering.
483 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
484 Consistency checks for _M_buf_size_opt.
486 Revert PR libstdc++/7445
487 * src/locale.cc (locale::classic): Revert.
489 * docs/html/17_intro/TODO: Add.
491 2002-08-15 Phil Edwards <pme@gcc.gnu.org>
493 * docs/html/documentation.html: Update doxygen links for 3.2.
495 2002-08-15 Steve Ellcey <sje@cup.hp.com>
497 * libsupc++/unwind-cxx.h (__cxa_exception): Change catchTemp
498 type from void* to _Unwind_Ptr.
499 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
500 Do not cast landing_pad or base_of_encoded_value to (void *).
501 * libsupc++/eh_throw.cc (__gxx_exception_cleanup):
502 Accept _URC_NO_REASON as a valid reason code.
504 2002-08-14 Jonathan Wakely <jw@kayari.org>
506 * docs/html/22_locale/messages.html: Use HTML entities for
509 2002-08-13 Jonathan Wakely <jw@kayari.org>
510 Phil Edwards <pme@gcc.gnu.org>
512 * docs/html/documentation.html: Use HTML entities for punctuation.
514 2002-08-09 Phil Edwards <pme@gcc.gnu.org>
516 * include/bits/deque.tcc, include/bits/list.tcc,
517 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
518 include/bits/stl_list.h, include/bits/stl_map.h,
519 include/bits/stl_multimap.h, include/bits/stl_queue.h,
520 include/bits/stl_stack.h, include/bits/stl_vector.h,
521 include/bits/vector.tcc: Re-indent contents of namespace std,
522 re-wrap comment lines as necessary.
524 2002-08-08 Danny Smith <dannysmith@users.sourceforge.net>
525 Benjamin Kosnik <bkoz@redhat.com>
527 * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
529 * testsuite/27_io/narrow_stream_objects.cc (test10): Add.
531 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
533 * libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
534 * libsupc++/Makefile.in: Regenerate.
536 2002-08-05 Gabriel Dos Reis <gdr@nerim.net>
539 * include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
540 Instantiate with new function objects.
541 * include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
543 * include/bits/gslice_array.h: Likewise.
544 * include/bits/indirect_array.h: Likewise.
546 2002-08-03 Gabriel Dos Reis <gdr@nerim.net>
548 * testsuite/26_numerics/valarray_name_lookup.cc: Rename from
549 testsuite/26_numerics/valarray_name_lookup.C
551 * include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
552 object function surrogates.
553 * include/bits/valarray_meta.h (__shift_left): Fix typo.
554 (_BinFunClos<>): Remove.
555 (_BinFunBase<>): Likewise.
556 (_BinFunBase1<>):Likewise.
557 (_BinFunBase2<>): Likewise.
558 (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
559 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
560 (_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
561 (_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
562 * include/std/std_valarray.h: Dont #include <functional> anymore.
563 (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
564 _Shift_right<>): Remove.
565 (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
566 (_DEFINE_BINARY_OPERATOR): Tweak definition.
567 (_DEFINE_LOGICAL_OPERATOR): Remove.
568 * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.
570 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
572 * include/bits/valarray_meta.h (_UnFunBase<>): Remove.
573 (_UnFunClos<>): Same.
574 (_UnBase<>): Reformat. Make first template-parameter non
576 (_UnClos<>): Likewise.
577 (_Expr<>): Reformate. Adjust unary member operator return types.
578 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
579 (_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
580 * include/std/std_valarray.h (_UnClos<>): Adjust declaration.
581 (valarray<>::_UnaryOp<>): New nested traits. Adjust unary member
582 operator return types. Reformat.
583 (_Bitwise_not): Remove.
584 (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
585 * testsuite/26_numerics/valarray_name_lookup.C: New test.
587 2002-08-02 Danny Smith <dannysmith@users.sourceforge.net>
589 * config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
590 (scan_is): Use this->is.
591 (scan_not): Likewise.
593 2002-08-02 Benjamin Kosnik <bkoz@redhat.com>
595 Revert PR libstdc++/6594
596 * src/strstream.cc (strstreambuf): Revert.
597 (strstreambuf::overflow): Same.
598 (strstreambuf::~strstreambuf): Same.
599 * testsuite/backward/strstream_members.cc (test02): Add.
601 * docs/html/abi.txt: Update. Spell check.
603 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
605 * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
606 * testsuite/Makefile.in: Regenerate.
607 * testsuite/testsuite_hooks.h: Use __throw_exception_again,
608 include functexcept.h so that -fno-exceptions will build.
610 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
612 * include/bits/valarray_meta.h (__unary_plus, __negate,
613 __bitwise_not, __plus, __minus, __multiplies, __divides,
614 __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
615 __shift_left, __shift_right, __logical_and, __logical_or,
616 __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
617 __greater_equal, __greater, __atan2, __pow): New function object
619 (__fun<>): New function traits class.
621 2002-08-01 Rick Danos <rdanos@hotmail.com>
624 * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
625 * config/os/newlib/ctype_inline.h (is): Use static_cast.
627 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
629 * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
630 * libsupc++/Makefile.in: Regenerate.
632 2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
633 Jakub Jelinek <jakub@redhat.com>
635 * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
636 GLIBCPP_3.1 to GLIBCPP_3.2.
638 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
639 Mark Mitchell <mark@codesourcery.com>
642 * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
644 (__class_type_info): And here.
646 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
650 (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
651 (__base_class_info::__base): Change to __base_type. 2.9.5p6c
652 (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
653 (__vmi_class_type_info::__base_info): Don't make const, of type
654 __base_class_type_info, as per 2.9.5p6c
655 (__pbase_type_info::__qualifier_flags): Change to __flags, as per
657 (__pbase_type_info::__qualifier_masks): Change to __masks, as per
659 (__pointer_to_member_type_info::__context_class): Change member to
660 __context, as per 2.9.5p9.
661 * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
663 * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
665 * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
667 * libsupc++/tinfo.cc (__do_dyncast): Same.
668 * libsupc++/tinfo.cc (__do_upcast): Same.
670 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
672 * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
674 2002-07-31 Simon Whomsley <whomsley@avacadcam.com>
676 * docs/html/22_locale/howto.html: Fix.
678 2002-07-31 Alex Kompel <shurik@sequoiap.com>
681 * src/locale.cc (locale::classic): Move locks inside !_S_classic
684 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
686 * docs/html/abi.txt: Update.
688 2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
689 Gabriel Dos Reis <gdr@nerim.net>
691 * include/bits/char_traits.h: Remove generic definitions.
692 * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
694 * include/bits/istream.tcc (istream::readsome): Don't check
695 against eof, instead use constants.
696 (istream::sync): Same.
697 (istream::sentry::sentry): Use eq_int_type.
698 (istream::get): Same.
699 * include/bits/ostream.tcc: Change __pad to
700 __pad<_CharT, _Traits>::_S_pad.
701 * include/bits/locale_facets.h: Add __pad_traits generic and
702 ostreambuf_iterator specialization.
703 * include/bits/locale_facets.tcc: Change __pad into struct __pad
704 with a _CharT and _Traits template parameter and _S_pad static
706 * src/locale-inst.cc: Update __pad instantiations.
708 * include/std/std_fstream.h: Declare _M_underflow_common
710 * src/fstream.cc: New. Add _M_underflow_common specializations.
711 * include/bits/fstream.tcc (filebuf::close): Use traits_type.
712 (filebuf::_M_underflow_common(bool)): Remove generic version, as
713 sys_ungetc and custom int_types don't get along.
714 * include/std/std_streambuf.h: Add _M_pos.
715 * src/Makefile.am (sources): Add fstream.cc.
716 * src/Makefile.in: Regenerate.
718 * testsuite/21_strings/capacity.cc: Add char_traits specializations.
719 * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
720 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
721 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
722 * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
723 * testsuite/27_io/filebuf.cc: ...here.
724 * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
725 specialization for both.
726 * testsuite/27_io/streambuf.cc: Add instantiation test,
727 testsuite_hooks include.
728 * testsuite/27_io/istream.cc: Same.
729 * testsuite/27_io/ostream.cc: Same.
730 * testsuite/27_io/fstream.cc: Same.
731 * testsuite/27_io/stringstream.cc: Same.
732 * testsuite/27_io/filebuf.cc: Same.
733 * testsuite/27_io/stringbuf.cc: Same.
735 2002-07-29 Alan Modra <amodra@bigpond.net.au>
737 * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
738 * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
739 * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
740 (__test_and_set): Remove.
741 (_STWCX): Define and use.
743 2002-07-26 Phil Edwards <pme@gcc.gnu.org>
745 * libsupc++/new (placement delete): Remove unused parameter names.
747 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
750 * include/std/std_istream.h (basic_iostream): Add typedefs for
751 char_type, int_type, pos_type, off_type, and traits_type.
752 * testsuite/27_io/iostream.cc (test01): Add typedef tests.
753 * testsuite/27_io/istream.cc: Same.
754 * testsuite/27_io/ostream.cc: Same.
755 * testsuite/27_io/filebuf.cc: Same.
756 * testsuite/27_io/stringbuf.cc: Replace content, move to...
757 * testsuite/27_io/stringbuf_members.cc: ...here.
758 * testsuite/27_io/streambuf.cc: Replace content, move to...
759 * testsuite/27_io/streambuf_members.cc: ...here.
760 * testsuite/27_io/stringstream.cc: Replace content, move to...
761 * testsuite/27_io/stringstream_members.cc: ...here.
762 * testsuite/27_io/ios.cc: New file.
763 * testsuite/27_io/fstream.cc: New file.
764 * testsuite/27_io/ifstream.cc: New file.
765 * testsuite/27_io/ofstream.cc: New file.
766 * testsuite/27_io/istringstream.cc: New file.
767 * testsuite/27_io/ostringstream.cc: New file.
769 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
772 * include/bits/istream.tcc (istream::ignore): Don't extract on
774 * testsuite/27_io/istream_unformatted.cc (test10): Add.
776 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
778 * testsuite/27_io/ios_base_type.cc: Move to...
779 * testsuite/27_io/ios_base_types.cc: ...here.
781 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
784 * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
785 * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
787 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
790 * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
791 * include/Makefile.am (backward_headers): Use strstream, not
793 * include/Makefile.in: Regenerate.
794 * include/backward/strstream: Revert.
795 * include/backward/strstream.h: Remove.
796 * src/strstream.cc: Revert.
797 * testsuite/backward/strstream_members.cc: Change include.
799 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
802 * include/bits/ios_base.h (ios_base::streampos): Add.
803 (ios_base::streamoff): Add.
804 * testsuite/27_io/ios_base_type.cc: New.
806 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
809 * libsupc++/new: Add placement delete.
810 * testsuite/18_support/new_delete_placement.cc: New.
812 * docs/html/abi.txt: Fix typos.
814 2002-07-23 Benjamin Kosnik <bkoz@redhat.com>
816 * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
817 confusing usage of "latest."
818 De-tangle contributor information from introductory notes.
819 Move abi.txt link placement, activate.
821 Move chapter info into old FAQ format.
822 * docs/html/organization.html: Removed, obsoleted by doxygen work.
823 * docs/html/abi.txt: Add notes on testing ABI changes.
825 2002-07-20 Phil Edwards <pme@gcc.gnu.org>
827 * docs/html/abi.txt: New file.
828 * docs/html/23_containers/howto.html: Tweak vector-overhead text.
829 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
830 Import from upstream, R22.
832 * include/bits/char_traits.h, include/bits/stl_iterator.h,
833 include/bits/stl_iterator_base_types.h, libsupc++/exception,
834 libsupc++/new, libsupc++/typeinfo: Use @brief markup.
836 * include/bits/deque.tcc, include/bits/stl_alloc.h,
837 include/bits/stl_deque.h, include/bits/stl_list.h: Postpone removal
838 of deprecated functions until 3.4. (Same timeframe, different text.)
839 * include/bits/stl_vector.h: Ditto. Also do the same cleanups that
840 the other sequence classes received.
842 2002-07-18 Brendan Kehoe <brendan@zen.org>
844 * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
847 2002-07-19 Gabriel Dos Reis <gdr@nerim.net>
850 * include/bits/slice_array.h
851 (slice_array<T>::operator=(const T&)): Constify.
852 * include/bits/gslice_array.h
853 (gslice_array<T>::operator=(const T&)): Likewise.
854 * include/bits/mask_array.h
855 (mask_array<T>::operator=(const T&)): Likewise.
856 * include/bits/indirect_array.h
857 (indirect_array<T>::operator=(const T&): Likewise.
859 2002-07-17 Phil Edwards <pme@gcc.gnu.org>
861 * docs/doxygen/run_doxygen: Remove template parameter names from
862 "Compound List" summary page. Reformat.
863 * docs/html/documentation.html: XHTML fixes.
865 2002-07-16 Andreas Schwab <schwab@suse.de>
867 * libsupc++/new (set_new_handler): Declare to not throw any
869 * libsupc++/new_handler.cc (set_new_handler): Likewise.
871 2002-07-16 Gabriel Dos Reis <gdr@nerim.net>
873 * include/Makefile.am (bits_headers): Remove slice.h
874 * include/Makefile.in: Regenerate.
875 * include/bits/slice.h (slice): move to include/bits/slice_array.h
876 * include/bits/slice.h Remove.
877 * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
878 * include/bits/slice_array.h: Comply to official coding styles.
879 * testsuite/26_numerics/slice.cc: New test.
881 2002-07-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
883 * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
884 print to match vendor <ctype.h>.
886 2002-07-15 Phil Edwards <pme@gcc.gnu.org>
888 * docs/html/faq/index.html: Fix download links.
889 * docs/html/faq/index.txt: Regenerate.
890 * docs/html/17_intro/porting.html: Regenerate from earlier changes.
892 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
894 * configure.target (target_os switch): Allow for irix6*o32
897 2002-07-10 Gabriel Dos Reis <gdr@nerim.net>
899 * include/bits/valarray_meta.h (_UnFunBase): Take a second
900 template parameter. Remove _M_func data member.
901 (_UnFunClos): Take a third template parameter.
902 (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
903 __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
904 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
906 2002-07-08 Eric Christopher <echristo@redhat.com>
908 * configure.target: Fix comment for mips atomicity. Add
909 mips*-*-linux* target, enable atomic operations there.
910 * config/cpu/mips/atomicity.h: Fix comments, remove
911 #ifndef/#endif. Add push/pop mips2.
913 2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
915 * include/bits/stl_deque.h (_Deque_alloc_base): Change order of
916 member declarations to avoid compiler warnings and restore 3.1 ABI.
918 2002-07-08 Phil Edwards <pme@gcc.gnu.org>
920 * docs/html/23_containers/howto.html: Link to dk_std::vector paper
923 2002-07-07 Paolo Carlini <pcarlini@unitus.it>
926 * include/bits/stl_deque.h (_Deque_iterator::operator-):
927 Make non-member, as already happens for the comparison
928 operators in accord with DR179 (Ready).
929 * testsuite/23_containers/deque_operators.cc: Add test02.
931 2002-07-04 Benjamin Kosnik <bkoz@redhat.com>
932 Jack Reeves <jackw_reeves@hotmail.com>
934 * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
935 size_t, from int_type.
936 (basic_streambuf::_M_buf_size_opt): Same.
937 (basic_streambuf::_S_pback_sizex): Same.
938 * include/bits/streambuf.tcc: Same.
939 * include/std/std_streambuf.h (basic_streambuf::snextc): Use
941 (basic_streambuf::uflow): Same.
942 * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
944 * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
945 * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
947 (basic_streambuf::xsputn): Same.
948 (__copy_streambufs): Same.
950 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
952 * include/std/std_memory.h: Fix formatting.
953 * testsuite/20_util/auto_ptr_neg.cc: New.
954 * testsuite/20_util/auto_ptr.cc: Tweaks.
955 * testsuite/23_containers/map_operators.cc (test01): Split into..
956 * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
957 * testsuite/23_containers/set_operators.cc: Move to...
958 * testsuite/23_containers/set_operators_neg.cc: ...here.
959 * testsuite/README: Add some more naming rules.
961 2002-07-03 Steev Wilcox <steev@paradigmds.com>
964 * include/ext/stl_hashtable.h: Fix.
965 * testsuite/ext/hash_map.cc: New.
967 2002-07-03 Jack Reeves <jackw_reeves@hotmail.com>
968 Kenny Simpson <theonetruekenny@yahoo.com>
969 Phil Edwards <pme@gcc.gnu.org>
972 * testsuite/20_util/auto_ptr.cc (test08): New test.
973 * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit.
974 (auto_ptr::operator auto_ptr_ref): Fix typo.
975 General reformatting and doxygenating of the whole file.
977 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
980 * include/c/std_cwchar.h: Fix.
982 2002-07-02 Benjamin Kosnik <bkoz@redhat.com>
985 * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
986 char* name parameter.
987 * config/locale/gnu/monetary_members.cc: Use it.
988 * config/locale/generic/monetary_members.cc: Same.
989 * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
991 * include/backward/strstream.h: Update date.
993 2002-07-02 Paolo Carlini <pcarlini@unitus.it>
996 * include/bits/stl_iterator.h
997 (__normal_iterator::operator-(const __normal_iterator&)):
998 Make non-member, as already happens for the comparison
999 operators in accord with DR179 (Ready).
1000 * testsuite/24_iterators/iterator.cc: Add test from the PR.
1002 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
1005 * acinclude.m4: Simplify determination of gcc_version, and move
1006 up to GLIBCPP_CONFIGURE.
1007 * configure.in (release_VERSION): Really remove.
1008 (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER): Move after GLIBCPP_CONFIGURE.
1009 * aclocal.m4, configure: Regenerate.
1011 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
1013 * docs/html/configopts.html, docs/html/install.html: Tweaks.
1014 * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
1015 include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
1016 include/ext/slist, include/ext/stl_rope.h: Add doxygen hooks.
1018 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
1020 * include/backward/strstream: Remove namespace std. Transfer to...
1021 * include/backward/strstream.h: ...here. Qualify std names.
1022 * src/strstream.cc: Remove namespace std.
1023 * include/Makefile.am (backward_headers): Remove strstream.h.
1024 * include/Makefile.in: Regenerate.
1025 * config/linker-map.gnu: Export strstream bits.
1027 * src/fstream-inst.cc: Tweak.
1028 * src/io-inst.cc: Same.
1029 * src/istream-inst.cc: Same.
1030 * src/misc-inst.cc: Same.
1031 * src/ostream-inst.cc: Same.
1032 * src/sstream-inst.cc: Same.
1033 * src/valarray-inst.cc: Same.
1034 * src/misc-inst.cc: Remove unused instantiations.
1036 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
1038 * configure.in (libtool_VERSION): Bump to 5:0:0.
1039 * configure: Regenerate.
1041 2002-06-28 Phil Edwards <pme@gcc.gnu.org>
1043 PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
1044 * include/std/std_queue.h: Include deque.tcc, vector.tcc.
1045 * include/std/std_stack.h: Include deque.tcc.
1046 * testsuite/23_containers/adaptors.cc: New file.
1048 2002-06-27 Phil Edwards <pme@gcc.gnu.org>
1050 * include/bits/stl_alloc.h: Deprecate all 'reallocate' memfns.
1051 * docs/html/ext/howto.html: Update allocator notes.
1053 2002-06-26 Benjamin Kosnik <bkoz@redhat.com>
1055 * configure.in (INTERFACE): Remove.
1056 (release_VERSION): Remove.
1057 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
1058 (libstdcxx_interface): Change. Use gcc methods to determine version.
1059 * configure: Regenerate.
1060 * aclocal.m4: Regenerate.
1062 2002-06-25 DJ Delorie <dj@redhat.com>
1064 * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
1065 GLIBCPP_TOPREL_CONFIGURE.
1066 * aclocal.m4: Likewise.
1067 * configure.in: Call it before AC_CANONICAL_SYSTEM.
1068 * configure: Regenerate.
1070 2002-06-25 Jessica Han <jessica@cup.hp.com>
1072 * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
1073 * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
1074 _GLIBCPP_VTABLE_PADDING is defined.
1076 2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
1078 * include/bits/stl_alloc.h: Additional formatting.
1080 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
1082 * include/bits/stl_alloc.h: Reformat as per C++STYLE.
1084 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
1086 * config/cpu/*/bits/*: Move header files up a level. Remove bits.
1087 * config/os/*/bits/*: Likewise.
1088 * configure.in: Update.
1089 * configure: Regenerate.
1090 * configure.target: Update.
1091 * docs/html/17_intro/porting.texi: Update.
1093 2002-06-21 Phil Edwards <pme@gcc.gnu.org>
1095 * include/bits/stl_map.h, include/bits/stl_multimap.h,
1096 include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
1097 complete doxygenation.
1098 * include/bits/boost_concept_check.h: Minor comment.
1100 2002-06-21 Benjamin Kosnik <bkoz@redhat.com>
1102 * include/c_compatibility: New.
1103 * include/c_compatibility/assert.h: New.
1104 * include/c_compatibility/ctype.h: New.
1105 * include/c_compatibility/errno.h: New.
1106 * include/c_compatibility/float.h: New.
1107 * include/c_compatibility/iso646.h: New.
1108 * include/c_compatibility/limits.h: New.
1109 * include/c_compatibility/locale.h: New.
1110 * include/c_compatibility/math.h: New.
1111 * include/c_compatibility/setjmp.h: New.
1112 * include/c_compatibility/signal.h: New.
1113 * include/c_compatibility/stdarg.h: New.
1114 * include/c_compatibility/stddef.h: New.
1115 * include/c_compatibility/stdio.h: New.
1116 * include/c_compatibility/stdlib.h: New.
1117 * include/c_compatibility/string.h: New.
1118 * include/c_compatibility/time.h: New.
1119 * include/c_compatibility/wchar.h: New.
1120 * include/c_compatibility/wctype.h: New.
1122 * include/c/std_cerrno.h: Get out of the way... define errno.
1123 * include/c/std_cmath.h: Add abs, modf overloads.
1124 Undefine C99 isms. Still not sure how to deal with this sanely.
1125 * include/c/std_csetjmp.h: Tweak.
1126 * include/c/std_cwchar.h: Include cstddef for size_t.
1128 * include/c_std/std_cmath.h: Remove extra function.
1130 Pendantic std usage in testsuites.
1131 * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
1133 * testsuite/17_intro/header_cwchar.cc: Tweak.
1134 * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
1136 * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
1137 * testsuite/22_locale/ctype_to_char.cc (test05): Same.
1138 * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
1139 * testsuite/22_locale/ctype_is_char.cc (test05): Same.
1140 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
1141 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
1142 * testsuite/22_locale/time_get_members_char.cc (test08): Same.
1143 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
1144 * testsuite/22_locale/time_put_members_char.cc (test04): Same.
1145 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
1146 * testsuite/22_locale/num_put_members_char.cc (test04): Same.
1147 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
1148 * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
1149 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
1150 * testsuite/22_locale/num_get_members_char.cc: Same.
1151 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
1152 * testsuite/22_locale/money_put_members_char.cc (test07): Same.
1153 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
1154 * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
1155 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
1156 * testsuite/22_locale/money_get_members_char.cc (test08): Same.
1157 * testsuite/22_locale/messages_members_char.cc (test03): Same.
1158 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
1159 * testsuite/22_locale/collate_members_char.cc (test04): Same.
1160 * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
1161 * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
1162 * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
1164 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1166 * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
1169 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1171 * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
1172 Use size_type instead of unsigned long.
1174 2002-06-20 Steve Ellcey <sje@cup.hp.com>
1176 * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
1178 (_S_min_len): Ditto.
1180 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1182 * include/Makefile.am: Add rules.
1183 * include/Makefile.in: Regenerate.
1185 * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
1186 * aclocal.m4: Regenerate.
1187 * configure: Regenerate.
1188 * configure.target (c_model, c_compatibility): Add.
1190 * libsupc++/Makefile.am (c_sources): New.
1191 (libsupc___la_SOURCES): Add c_sources.
1192 (LTCOMPILE): Remove INCLUDES.
1193 (GCC_INCLUDES): New.
1194 (C_COMPILE): New, like COMPILE but without INCLUDES.
1195 (cxa_demangle.o): Use C_COMPILE.
1196 (dyn-string.o): Use C_COMPILE.
1198 * include/c/std_cstdarg.h: Define __need___va_list.
1199 * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
1200 need_NULL, need_offsetof.
1202 2002-06-19 Steve Ellcey <sje@cup.hp.com>
1204 * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*): Remove
1205 definitions in hpux11 cross-build because these functions do
1206 not exist on hpux11 (but some exist on hpux10); move defaults out
1207 into existing sections.
1208 * configure: Regenerate.
1210 2002-06-18 Benjamin Kosnik <bkoz@redhat.com>
1212 * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
1213 * include/c/std_cwctype.h: Guard.
1215 * libsupc++/eh_alloc.cc: Tweak include order.
1216 * libsupc++/pure.cc: Use cstdio.
1217 * libsupc++/new_op.cc: Remove malloc forward declaration, as
1218 cstdlib brings it in. Use std::malloc.
1220 * src/Makefile.am (sources): Remove cmath.cc.
1221 * src/Makefile.in: Regenerate.
1222 * src/cmath.cc: Remove.
1224 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
1226 * configure.target: Force mips to use the generic cpu routines.
1228 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
1230 * configure.host: Delete file.
1231 * configure.target: More documentation. Factor out common parts of
1232 script into "intelligent" settings about defaults. Remove redundancy.
1234 * acinclude.m4: Update comments. Do not call configure.host.
1235 (GLIBCPP_ENABLE_SYMVERS): If disabled, do not bother checking for
1237 * configure.in: Slight reformatting, more comments. Factor out
1238 "config/" from all the directories.
1239 * docs/html/17_intro/porting.texi: Update and expand.
1240 * testsuite/Makefile.am (AM_RUNTESTFLAGS): Move empty setting
1241 from configure.host.
1243 * aclocal.m4, configure, docs/html/17_intro/porting.html,
1244 testsuite/Makefile.in: Regenerate.
1246 2002-06-16 Phil Edwards <pme@gcc.gnu.org>
1248 * docs/doxygen/TODO: Update.
1249 * docs/doxygen/tables.html: Uncomment magical middle column.
1250 * docs/doxygen/user.cfg.in: Kludge to ignore function-like macros.
1251 * include/bits/stl_queue.h: Doxygenate and reformat.
1252 * include/bits/ios_base.h, include/std/std_streambuf.h: Add comment
1253 for deprecated names required by the standard.
1255 2002-06-14 J.T. Conklin <jtc@acorntoolworks.com>
1257 * configure.in (target_alias): Fix.
1258 * configure: Regenerate.
1259 * aclocal.m4: Regenerate.
1261 2002-06-12 Phil Edwards <pme@gcc.gnu.org>
1263 * include/Makefile.am: Add new files.
1264 * include/Makefile.in: Regenerate.
1266 * include/bits/stl_deque.h, include/bits/stl_list.h,
1267 include/bits/stl_vector.h: Clean up, reformat. Move definitions...
1268 * include/bits/deque.tcc, include/bits/list.tcc,
1269 include/bits/vector.tcc: ...to here. New files.
1271 * include/ext/stl_hashtable.h: Inclide correct full headers.
1272 * include/std/std_deque.h: Include .tcc files for now.
1273 * include/std/std_list.h: Likewise.
1274 * include/std/std_vector.h: Likewise.
1276 2002-06-12 Daniel Jacobowitz <drow@mvista.com>
1278 * Makefile.am: Add FLAGS_TO_PASS.
1279 * Makefile.in: Regenerated.
1281 2002-06-11 J.T. Conklin <jtc@acorntoolworks.com>
1282 Benjamin Kosnik <bkoz@redhat.com>
1284 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
1286 * configure.in: Add support for *-qnx6.[12]*.
1287 * configure: Regenerate.
1289 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
1291 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
1292 ctype_noninline.h, os_defines.h: New files.
1294 2002-06-10 Loren J. Rittle <ljrittle@acm.org>
1296 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
1297 include all required headers for test against older POSIX standard.
1298 (GLIBCPP_CHECK_SETRLIMIT): Likewise.
1299 (ac_setrlimit): Likewise.
1300 * aclocal.m4: Regenerate.
1301 * configure: Regenerate.
1302 * testsuite/testsuite_hooks.cc: Reorder and include all
1303 required headers for use against older POSIX standard.
1305 2002-06-08 Paolo Carlini <pcarlini@unitus.it>
1307 * testsuite/backwards/strstream_members.cc: New.
1309 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
1311 * include/backwards/strstream: Format.
1312 * src/strstream.cc: Format.
1314 2002-06-08 Andreas Schwab <schwab@suse.de>
1316 * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
1317 _M_buf_size and _M_buf_size_opt to the new buffer and size.
1319 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
1321 * config/os/generic/bits/ctype_noninline.h: Tweak format.
1323 2002-06-07 Steve Ellcey <sje@cup.hp.com>
1325 * src/locale-inst.cc (__codecvt_abstract_base):
1326 Put inside _GLIBCPP_USE_WCHAR_T ifdef.
1327 * include/bits/istream.tcc (basic_istream): Ditto.
1330 * include/bits/ostream.tcc (basic_ostream): Ditto.
1334 (operator<<): Ditto.
1336 2002-06-07 Phil Edwards <pme@gcc.gnu.org>
1338 * mkcheck.in: Link against local testsuite library.
1339 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
1340 implementation out...
1341 * testsuite/testsuite_hooks.cc: ...to here.
1343 2002-06-06 Loren J. Rittle <ljrittle@acm.org>
1345 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
1346 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
1347 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
1348 * src/Makefile.in: Regenerate (explicitly with --cygnus option).
1349 * testsuite/Makefile.in: Likewise.
1351 2002-06-05 David Edelsohn <edelsohn@gnu.org>
1353 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
1354 Call external symbol.
1356 2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1358 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1359 Search correct multilib testsuite dir for libv3test.
1361 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
1362 Gaby Dos Reis <gdr@codesourcery.com>
1364 * include/bits/basic_string.tcc
1365 (basic_string::_S_construct(forward_iterator_tag):
1366 Fix typo in null pointer check.
1367 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
1369 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
1371 * testsuite/22_locale/money_get_members_char.cc
1372 (test02): Add decimal point to long double constants.
1373 * testsuite/22_locale/money_get_members_wchar_t.cc
1375 * testsuite/22_locale/money_put_members_char.cc
1376 (test02, test03, test06): Likewise.
1377 * testsuite/22_locale/money_put_members_wchar_t.cc:
1378 (test02, test03, test06): Likewise.
1379 * testsuite/22_locale/num_get_members_char.cc:
1380 (test02, test01): Likewise; suffix long long constants with LL.
1381 * testsuite/22_locale/num_get_members_wchar_t.cc:
1382 (test02, test01): Likewise.
1383 * testsuite/22_locale/num_put_members_char.cc:
1384 (test02, test01): Likewise.
1385 * testsuite/22_locale/num_put_members_wchar_t.cc:
1386 (test02, test01): Likewise.
1388 2002-06-03 Marc Espie <espie@openbsd.org>
1390 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
1391 assembly for old assemblers.
1393 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1395 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
1397 (vector<bool>::swap(reference,reference)): ...to this.
1399 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1401 * docs/doxygen/TODO: Update.
1402 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
1403 some class members are in 14882 order.
1404 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
1406 * include/std/std_bitset.h: Update comment.
1407 * src/bitset.cc: Update comments, clean up spacing.
1409 * src/Makefile.am (sources): Alphabetize for convenience.
1410 * src/Makefile.in: Regenerate.
1412 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1414 * include/bits/stl_deque.h, include/bits/stl_list.h,
1415 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
1416 Reorder to match 14882. Doxygen blocks for all public members.
1418 2002-05-31 Marcus Meissner <meissner@suse.de>
1421 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
1422 * testsuite/23_containers/vector_bool.cc (test02): New test.
1424 2002-05-30 Marc Espie <espie@openbsd.org>
1426 * configure.in: Always check for sys/types.h
1427 * configure: Regenerate.
1429 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1431 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
1432 Rebuild the wrapper file every time this proc is called.
1434 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
1436 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
1438 * testsuite/Makefile.in: Regenerate.
1439 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
1440 list_modifiers.cc and rename from 'T'. Move code bodies...
1441 * testsuite/testsuite_hooks.cc: ...to here. New file.
1442 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
1443 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1444 Add libv3test.a to link options.
1446 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1448 * src/misc-inst.cc: Define unnecessary algorithm
1449 instantiations. Break apart instantiations into groupings below.
1450 * src/fstream-inst.cc: New.
1451 * src/io-inst.cc: New.
1452 * src/istream-inst.cc: New.
1453 * src/ostream-inst.cc: New.
1454 * src/streambuf-inst.cc: New.
1455 * src/sstream-inst.cc: New.
1456 * src/Makefile.am (sources): Add files.
1457 * src/Makefile.in: Regenerate.
1459 * acinclude.m4: Work around automake 1.4-p5 bug, change
1460 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
1462 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1465 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
1466 (classic_table): Fix.
1467 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1469 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1471 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
1472 _GLIBCPP_USE_WCHAR_T.
1473 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
1474 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
1475 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
1477 2002-05-26 Carlo Wood <carlo@alinoe.com>
1478 Paolo Carlini <pcarlini@unitus.it>
1481 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1482 (__enc_traits::operator=): add missing return statement.
1484 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
1487 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
1488 (operator>>): If nothing was extracted, don't fail in the
1490 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
1492 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
1495 * testsuite/22_locale/ctype_narrow_char.cc: New.
1496 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
1497 * testsuite/22_locale/ctype_widen_char.cc: New.
1498 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
1499 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
1500 * testsuite/22_locale/ctype_is_char.cc: ...this.
1501 * testsuite/22_locale/ctype_to_char.cc: ...and this.
1502 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
1503 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
1504 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
1506 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
1508 2002-05-24 Dale Peakall <dale@peakall.net>
1511 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
1512 * config/locale/generic/ctype_members.cc: Same.
1514 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
1517 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1518 for empty string literal.
1519 (ostream::operator<<(const _CharT*)): Same.
1520 (ostream<char>::operator<<(const char*)): Same.
1521 (ostream<char>::operator<<(streambuf*)): Same.
1522 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
1523 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
1525 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
1527 * configure.in (release_VERSION): Update to 3.1.1.
1528 (libtool_VERSION): Update to 4:1:0.
1529 * configure: Regenerate.
1531 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1533 * include/bits/stl_pair.h: Tweak comment markup.
1535 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1537 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
1539 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1541 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
1543 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1545 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
1546 Doxygenate all public members. Reorder to follow 14882.
1547 (vector::push_back(void)): Remove previously-deprecated fn.
1548 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
1549 Deprecate for removal in 3.3.
1551 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
1553 * docs/html/faq/index.html (5.4): Recommend against -I options for
1554 finding the ext headers.
1555 * docs/html/faq/index.txt: Regenerate.
1557 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
1559 * testsuite/23_containers/deque_operators.cc (test01):
1560 Fix minor typo in last commit.
1562 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
1565 * include/bits/stl_deque.h (_Deque_iterator::operator==,
1566 operator!=, operator<, operator>, operator>=, operator<=):
1567 Make non-member functions, to allow comparing const and
1568 non-const iterators in any order.
1569 * testsuite/23_containers/deque_operators.cc: New testfile.
1571 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
1573 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
1574 * docs/html/faq/index.txt: Regenerate.
1576 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1578 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
1579 * acinclude.m4: Likewise.
1580 * docs/html/Makefile: Likewise.
1581 * aclocal.m4: Regenerate.
1582 * configure: Regenerate.
1583 * Makefile.in: Regenerate.
1585 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
1588 * include/bits/c++config (__USE_MALLOC): Report case where
1589 the user improperly defined it on the command line.
1591 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1593 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
1594 Retrieve current limits before setting.
1596 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
1599 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1601 (ostream::operator<<(const _CharT*)): Same.
1602 (ostream<char>::operator<<(const char*)): Same.
1603 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
1605 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
1608 * src/strstream.cc (strstreambuf): Fix leak.
1610 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
1613 * include/bits/istream.tcc (istream::getline, ignore):
1614 Upon __idelim (__delim) call sbumpc() not snextc().
1615 * testsuite/27_io/narrow_stream_objects.cc:
1616 Add test08 and test09.
1618 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1620 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
1621 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
1623 * docs/html/install.html: Fix.
1625 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1627 * include/bits/fstream.tcc
1628 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
1630 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
1632 * docs/html/install.html: Tweak, add bits about required locales
1633 for the 22_locale tests when using the gnu model.
1635 * testsuite/27_io/istream_sentry.cc: Tweak.
1637 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1639 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
1640 Fix typo, use this->is() rather than manually (and perhaps
1641 incorrectly) inlining it.
1642 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
1644 * testsuite/22_locale/ctype_scan_char.cc: New file.
1646 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1647 Jakub Jelinek <jakub@redhat.com>
1649 * testsuite/22_locale/money_get_members_char.cc
1650 (test01, test02, test04): Use the de_DE@euro named locale
1651 instead of de_DE to allow for an uniform behaviour with
1652 both old and Euro-era localedata; tweak some tests.
1653 * testsuite/22_locale/money_get_members_wchar_t.cc
1654 (test01, test02, test04): Likewise.
1655 * testsuite/22_locale/money_put_members_char.cc
1656 (test01, test02, test04): Likewise.
1657 * testsuite/22_locale/money_put_members_wchar_t.cc
1658 (test01, test02, test04): Likewise.
1660 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1662 * testsuite/22_locale/codecvt_members_char_char.cc
1663 (test03): Robustify wrt localedata.
1664 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
1665 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
1666 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
1667 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
1668 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
1669 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
1670 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
1671 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
1672 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
1673 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
1674 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
1675 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
1676 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
1677 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
1678 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1679 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1680 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
1681 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
1682 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
1683 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
1684 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
1685 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
1687 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1689 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
1692 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1694 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
1695 to 64 for hppa 64-bit port.
1696 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
1698 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1700 * acinclude.m4 (enable_symvers): Quote $LD.
1701 * aclocal.m4: Regenerate.
1702 * configure: Likewise.
1704 2002-05-09 Jakub Jelinek <jakub@redhat.com>
1706 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
1707 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
1710 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
1712 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1713 script entry, and set LD to it when configuring multilibs.
1714 * configure: Rebuilt.
1716 2002-05-07 Mark Mitchell <mark@codesourcery.com>
1718 * configure.in: Add support for WindISS.
1719 * configure: Regenerated.
1720 * configure.target: Add support for WindISS.
1721 * config/os/windiss/bits/ctype_base.h: New file.
1722 * config/os/windiss/bits/ctype_inline.h: Likewise.
1723 * config/os/windiss/bits/ctype_noninline.h: Likewise.
1724 * config/os/windiss/bits/os_defines.h: Likewise.
1726 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
1728 Test all the facets for the temporary "C" locale switch issue.
1729 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
1730 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1731 * testsuite/22_locale/collate_members_char.cc: Add test04.
1732 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1733 * testsuite/22_locale/ctype_members_char.cc: Add test05.
1734 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
1735 * testsuite/22_locale/messages_members_char.cc: Add test03.
1736 * testsuite/22_locale/money_get_members_char.cc: Add test08.
1737 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1738 * testsuite/22_locale/money_put_members_char.cc: Add test07.
1739 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1740 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
1741 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1742 * testsuite/22_locale/num_get_members_char.cc: Add test06.
1743 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1744 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
1745 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1746 * testsuite/22_locale/time_get_members_char.cc: Add test08.
1747 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1748 * testsuite/22_locale/time_put_members_char.cc: Add test04.
1749 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1751 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1752 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1754 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1756 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
1757 __EXTENSIONS__): Ensure they are always defined.
1759 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
1761 * docs/html/documentation.html: Fix broken link.
1763 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
1764 Paolo Carlini <pcarlini@unitus.it>
1766 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
1767 testing for the locale_facets.tcc entry of the previous commit.
1768 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1770 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
1772 * config/locale/generic/c_locale.cc
1773 (__convert_to_v(float, double, long double)):
1774 Fix the temporary switch to the "C" locale, saving and
1775 restoring in the proper way the current locale.
1776 * config/locale/generic/time_members.cc
1777 (__timepunct<char, wchar_t>::_M_put): Likewise.
1778 * config/locale/gnu/messages_members.cc
1779 (messages<char>::do_get): Likewise.
1780 * config/locale/gnu/messages_members.h
1781 (messages<_CharT>::do_get): Likewise.
1782 * config/locale/gnu/time_members.cc
1783 (__timepunct<char, wchar_t>::_M_put): Likewise.
1784 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
1786 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1788 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
1789 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
1791 * Makefile.in, config.h.in, configure: Regenerate.
1793 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
1796 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
1797 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
1799 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1801 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
1803 (ctype:_M_table): Initialize to classic_table(), not __ctype.
1805 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1807 * configure.in: Update local install.html, configopts.html paths.
1808 * configure: Regenerate.
1810 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1812 * config/os/irix/irix5.2/bits/os_defines.h
1813 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
1815 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
1818 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
1820 * docs/html/faq/index.html: Update list in #4.1.
1821 * docs/html/faq/index.txt: Regenerated.
1823 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
1825 * docs/html/17_intro/RELEASE-NOTES (New): Update.
1827 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
1829 * include/std/std_bitset.h: Fix doxygen comments.
1830 * docs/html/documentation.html: Minor tweaks for 3.1.
1831 * docs/html/27_io/howto.html: Likewise.
1832 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
1833 * docs/html/faq/index.html: Likewise.
1834 * docs/html/faq/index.txt: Regenerated.
1836 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
1839 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
1840 (istreambuf_iterator::equal): Use it.
1841 (istreambuf_iterator::operator*): Use it.
1843 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
1846 * include/bits/stl_uninitialized.h
1847 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
1848 Fix typo in 2001-07-17 commit: typedef _ValueType to
1849 iterator_traits<_ForwardIter> not <_InputIter>.
1850 * testsuite/23_containers/vector_ctor.cc: Add test04.
1852 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
1855 * include/c_std/std_cctype.h: Include bits/c++config.h.
1856 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
1858 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
1860 * include/ext/stdio_filebuf.h: New file.
1861 * include/ext/enc_filebuf.h: New file.
1862 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
1863 * config/io/basic_file_stdio.cc: Same.
1864 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
1865 Remove _M_unbuf hacks.
1866 (filebuf::_M_destroy_internal_buffer): Same.
1867 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
1868 (filebuf::fd): Remove.
1869 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
1870 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
1871 (filebuf::fd): Remove.
1872 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
1874 (ios_base::_S_ios_destroy): Same.
1875 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
1876 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
1877 stdio_filebuf.h. * include/Makefile.in: Regenerate.
1879 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
1882 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
1884 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
1887 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1889 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
1890 (istreambuf_iterator::operator++): Invalidate on eof.
1891 (istreambuf_iterator::operator++(int)): Same.
1892 (istreambuf_iterator::operator*): Same.
1894 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1896 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
1897 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
1900 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
1903 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
1904 (__basic_file::sys_ungetc): Take int.
1905 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
1906 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1907 Use sys_getc for unbuffered input.
1908 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
1910 * src/ios.cc (_M_grow_words): Adjust error checking.
1911 * testsuite/27_io/ios_base_storage.cc: Same.
1913 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1915 * include/ext/stl_hashtable.h: Import __iterator_category
1917 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
1918 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1920 * testsuite/ext/hash_set.cc: New testfile.
1922 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
1924 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1926 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1927 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1929 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
1931 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
1932 Fix and tighten __throw_length_error check.
1933 * testsuite/21_strings/replace.cc (test05): New.
1934 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
1936 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
1938 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
1939 unconditional flush on lower-layer handle to here...
1940 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
1941 ...from here. Optimize remaining _M_file.sync() call pattern.
1942 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
1945 2002-04-23 Jason Merrill <jason@redhat.com>
1947 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
1948 output-only filebufs.
1949 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
1951 (basic_filebuf::_M_set_determinate): Likewise.
1954 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
1955 value properly in the trivial case.
1956 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
1957 tellg() returns the right value after a read.
1959 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
1961 * config/cpu/mmix/bits/cpu_limits.h: New file.
1962 * configure.target (CPULIMITSH): Use it.
1964 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
1966 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
1967 * docs/html/17_intro/porting.html: Rebuilt.
1969 2002-04-20 Jason Merrill <jason@redhat.com>
1972 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
1974 (basic_streambuf::_M_set_determinate): Likewise.
1975 (basic_streambuf::_M_is_indeterminate): Likewise.
1976 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
1977 non-static data member.
1978 (basic_filebuf::_M_underflow_common): New non-static member function.
1979 (basic_filebuf::_M_underflow, _M_uflow): Call it.
1980 (basic_filebuf::sync): Avoid useless seeking.
1981 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
1983 (basic_filebuf::_M_set_determinate): Likewise.
1984 (basic_filebuf::_M_is_indeterminate): Likewise.
1985 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
1986 back to _M_out_beg if necessary.
1987 (basic_filebuf::seekoff): Likewise.
1988 (basic_filebuf::_M_underflow_common): Generalization of old
1989 underflow(). Don't seek back to _M_in_beg.
1990 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
1991 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
1992 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
1993 * config/os/mingw32/bits/os_defines.h: Likewise.
1994 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
1997 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
1999 * include/bits/istream.tcc (istream::read): Fix.
2000 * testsuite/27_io/istream_unformatted.cc (main): Add.
2002 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
2005 * include/bits/istream.tcc (istream::ignore): Streamline, use
2007 * include/bits/streambuf.tcc: Use this->gptr.
2008 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
2010 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
2012 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
2013 as type safety is important, especially on solaris.
2014 * include/bits/istream.tcc (istream::read): Clean.
2015 (istream::readsome): Same.
2016 * locale.cc: Wrap lines.
2018 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
2019 * testsuite/27_io/instantiations.cc (test): Add bool variable...
2020 * testsuite/21_strings/capacity.cc: Clean.
2022 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2024 * docs/doxygen/doxygroups.cc: New group on binary searching.
2025 * include/bits/stl_algo.h: Document binary searches and merges.
2026 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
2028 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2030 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
2031 * docs/doxygen/run_doxygen: Bump required version.
2032 * docs/doxygen/user.cfg.in: Revert accidental change.
2033 * docs/html/faq/index.html: Reindent a block of links.
2034 (4.4): New note on using dlsym.
2035 * docs/html/faq/index.txt: Regenerated.
2037 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2039 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
2041 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
2043 * config/linker-map.gnu (__malloc_alloc_template): Add.
2044 (__default_alloc_template): Same.
2045 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
2047 (__default_alloc_template): Same.
2049 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
2051 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
2053 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
2055 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
2056 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
2057 (__malloc_alloc_template): Conditionalize.
2059 * include/bits/istream.tcc: Remove sputbackc calls.
2061 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
2063 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
2065 * testsuite/24_iterators/rel_ops.cc: New test.
2067 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2069 * include/bits/type_traits.h (__normal_iterator): Declare in
2070 __gnu_cxx. Adjust use at global namespace.
2071 * include/bits/stl_iterator.h (__normal_iterator): Move definition
2072 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
2073 * include/bits/basic_string.h (basic_string): Adjust use of
2075 * include/bits/stl_vector.h (_Alloc>): Likewise.
2076 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
2077 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
2079 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
2083 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
2085 (__basic_file::close): Call fflush. Correct return if fclose ok.
2086 (__basic_file::is_open): Make const.
2087 Change __c_file_type to __c_file.
2088 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
2089 (__basic_file::is_open): Make const.
2090 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
2091 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
2092 (filebuf::_M_unbuf): Add.
2093 (filebuf::_M_file): Change to non-pointer.
2094 (filebuf::_M_allocate_pback_buffer): Remove.
2095 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
2096 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
2097 Change initialization list for _M_file change.
2098 (filebuf::_M_allocate_pback_buffer): Remove.
2099 Change _M_file usage to reflect non-pointer data member.
2101 * config/locale/generic/c_locale.cc
2102 (locale::facet::_S_create_c_locale): Add parameter.
2103 * config/locale/generic/collate_members.cc: Change
2104 _M_compare_helper to _M_compare.
2105 Change _M_transform_helper to _M_transform.
2106 * config/locale/generic/monetary_members.cc: Changeup data types.
2108 * config/locale/generic/numeric_members.cc: Add dtors.
2109 * config/locale/generic/time_members.cc: Add dtors.
2110 * config/locale/gnu/c_locale.cc: Add parameter.
2111 * config/locale/gnu/collate_members.cc:Change
2112 _M_compare_helper to _M_compare.
2113 Change _M_transform_helper to _M_transform.
2114 * config/locale/gnu/ctype_members.cc: Better error checking.
2115 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
2116 * config/locale/gnu/messages_members.cc: Tweak comment.
2117 * config/locale/gnu/monetary_members.cc: Change data types.
2119 * config/locale/gnu/numeric_members.cc: Add dtors, better error
2121 * config/locale/gnu/time_members.cc: Same.
2122 * config/locale/ieee_1003.1-2001/c_locale.cc
2123 (locale::facet::_S_create_c_locale): Add parameter.
2124 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
2125 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
2128 * include/bits/locale_facets.h (moneypunct): Use string literals.
2131 (__timepunct): Same.
2132 (locale::_Impl::_M_facets): Change from vector to array.
2133 (locale::_Impl::_M_names): Change from array of strings to array
2135 (locale::facet::_S_create_c_locale): Add parameter.
2136 (locale::locale::_S_num_facets): Move to...
2137 (locale::_Impl::_M_facets_size): Here.
2138 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
2140 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
2141 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
2142 (locale::_Impl::_Impl(string, size_t)): Change to
2143 (locale::_Impl::_Impl(const char*, size_t)): This.
2145 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
2146 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
2147 (streambuf::_S_pback_size): This.
2149 * src/globals.cc: Add pre-allocations for "C" facets.
2150 * src/locale-inst.cc: Remove vector instantiations.
2151 * src/locale.cc: Remove vector include. Fixups for _M_names,
2153 * src/localename.cc: Same.
2155 * include/bits/stl_vector.h: Fix odd formatting.
2157 * include/bits/basic_string.tcc: Tweak comment.
2159 * libsupc++/new: Make sure parameters are uglified.
2160 * libsupc++/typeinfo: Same.
2162 * testsuite/22_locale/num_get_members_char.cc: Fixup.
2163 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
2164 * testsuite/27_io/filebuf_members.cc: Same.
2166 2002-04-12 Steve Ellcey <sje@cup.hp.com>
2168 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
2169 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
2170 does not define strtoll or strtoull, but does define strtol
2171 and strtoul which are the same since in 64 bit mode
2172 sizeof(long) == sizeof(long long).
2174 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
2176 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
2177 trailing spaces, indentation, and macro names. Make exception
2178 messages more informative.
2180 2002-04-11 Richard Henderson <rth@redhat.com>
2182 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
2183 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
2184 (basic_ostream<>::operator<<(long long)): Same.
2186 2002-04-11 Richard Henderson <rth@redhat.com>
2188 * config/linker-map.gnu: Add __gxx_personality_sj0.
2190 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
2193 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
2195 Remove forward declaration of vector.
2197 * include/bits/locale_facets.tcc: Remove vector include.
2198 (use_locale): Adjust.
2199 (has_locale): Adjust.
2200 * src/locale.cc: Adjust.
2201 * src/localename.cc: Same.
2203 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
2204 Richard Henderson <rth@redhat.com>
2206 * include/bits/sstream.tcc: Clean up bit ops.
2207 * include/bits/fstream.tcc: Same.
2209 2002-04-09 Jakub Jelinek <jakub@redhat.com>
2211 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
2212 (__num_base::_S_scale_oct): Remove.
2213 * src/locale.cc (__num_base::_S_scale_hex): Remove.
2214 (__num_base::_S_scale_oct): Remove.
2216 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
2219 * testsuite/23_containers/bitset_members.cc: New test.
2220 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
2221 (_S_bit_count): Here.
2222 (_First_one::_S_first_one): Move...
2223 (_S_first_one): Here.
2225 * src/bitset.cc: Adjust.
2226 * config/linker-map.gnu: Export.
2228 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
2231 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
2232 * include/std/std_fstream.h: Clean.
2233 * include/bits/ostream.tcc: Remove extraneous variables.
2234 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
2235 open modes and which modes.
2236 (stringbuf::seekpos): Same.
2237 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
2239 2002-04-05 Jonathan Wakely <jw@kayari.org>
2241 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
2242 random_shuffle, partition, stable_partition, sort, stable_sort,
2243 partial_sort, partial_sort_copy, nth_element): Doxygenate.
2245 2002-04-05 David S. Miller <davem@redhat.com>
2247 * config/os/gnu-linux/bits/os_defines.h
2248 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
2250 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
2253 via gawrilow@math.tu-berlin.de
2254 * acinclude.m4 (version_specific_libs): Fix combo usage with
2255 --with-gxx-include-dir.
2256 * aclocal.m4: Regenerate.
2259 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
2261 As per DR 184, libstdc++/3139
2262 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
2263 (numeric_limits<bool>::is_iec559): False.
2264 (numeric_limits<bool>::is_modulo): False.
2266 * testsuite/27_io/ios_init.cc: Add instantiations.
2268 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
2271 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
2272 * testsuite/27_io/ios_init.cc (tests04): Add test.
2275 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
2276 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
2277 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
2278 * include/bits/istream.tcc: Use _M_fctype, make consistent with
2280 * testsuite/27_io/ios_init.cc (tests03): Add test.
2282 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
2284 * include/Makefile.am (install-data-local): Use mkinstalldirs.
2285 * include/Makefile.in: Regenerate.
2287 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
2288 Nathan Myers <ncm@cantrip.org>
2289 Philip Martin <philip@codematters.co.uk>
2291 * include/bits/basic_string.h
2292 (replace(i1, i2, _CharT* k1, _CharT* k2),
2293 replace(i2, i2, const _CharT* k1, const _CharT* k2),
2294 replace(i1, i2, iterator k1, iterator k2,
2295 replace(i1, i2, const_iterator k1, const_iterator k2):
2296 New specializations to optimize for the common cases of
2297 pointers and iterators.
2298 (replace(pos, n1, s, n2)): Tweak.
2299 * include/bits/basic_string.tcc: Tweak comments.
2300 * testsuite/21_strings/replace.cc (test04): New tests.
2302 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
2305 * acinclude: More extensive checks for msgfmt, --enable-nls.
2306 * aclocal.m4: Regenerate.
2307 * configure: Regenerate.
2309 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
2311 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
2312 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
2313 * docs/html/18_support/howto.html: Document the demangler.
2314 * docs/html/17_intro/howto.html: And link to it.
2316 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
2317 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
2319 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
2321 * config/linker-map.gnu: Export __verbose_terminate_handler.
2322 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
2323 Make new LTCOMPILE variable, use it in new special build rules.
2324 * libsupc++/Makefile.in: Rebuild.
2325 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
2326 runtime __cxa_demangle.
2328 * docs/html/install.html: Update prereqs and instructions.
2329 * docs/html/19_diagnostics/howto.html: Bring naming for
2330 verbose_terminate_handler into line with reality.
2332 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
2335 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
2336 (basic_ios::_M_streambuf_state): Move.
2337 * include/bits/ios_base (ios_base): To here.
2338 * include/bits/ios_base.h (ios_base::_S_local_words): To
2340 (ios_base::_M_word_array): To _M_local_word.
2341 (ios_base::_M_words_limit): To _M_word_size.
2342 (ios_base::_M_words): To _M_word.
2344 * include/bits/basic_ios.tcc: Adjust.
2345 * src/ios.cc (ios_base::_M_grow_words): Tweak.
2346 * testsuite/27_io/ios_base_storage.cc: Add tests.
2349 Kenny Simpson <theonetruekenny@yahoo.com>
2350 * include/bits/ios_base.h: Fix.
2352 Richard Henderson <rth@redhat.com>
2353 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
2356 * include/bits/basic_string.h: Tweak formatting.
2358 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
2360 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
2361 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
2362 By definition, sizeof(char) == 1.
2363 * include/bits/locale_facets.tcc (money_get::do_get,
2364 money_put::do_put): Ditto.
2365 * testsuite/21_strings/inserters_extractors.cc
2368 2002-03-30 Richard Henderson <rth@redhat.com>
2371 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
2372 data out of the exception struct before calling unexpectedHandler.
2374 2002-03-28 Roger Sayle <roger@eyesopen.com>
2376 * include/c_std/std_cmath.h: To prevent problems overloading
2377 g++ builtins, use the double variants from the global namespace
2378 before defining float and long double variants in std::.
2380 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
2382 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
2384 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
2386 * testsuite/24_iterators/istream_iterator.cc
2387 (test02): New tests.
2389 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2390 Paolo Carlini <pcarlini@unitus.it>
2392 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
2393 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
2394 fix i_lit_base e_lit_base arrays, making them independent
2395 from the endianness of the platform; tweak UCS4 to UCS-4BE.
2397 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
2399 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
2400 allocate at least a byte.
2402 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
2404 * testsuite/27_io/streambuf.cc (test07): Fix.
2407 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
2409 * docs/doxygen/Intro.3: Date tweak.
2410 * docs/doxygen/TODO: Update.
2411 * docs/doxygen/doxygroups.cc: Point to tables.html.
2412 * docs/doxygen/mainpage.html: Date tweak.
2413 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
2414 * docs/doxygen/tables.html: Fill in the blanks.
2416 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
2417 * include/bits/stl_algo.h: Likewise; use expanded form.
2418 * include/bits/stl_alloc.h: Likewise.
2419 * include/bits/stl_construct.h: Likewise.
2420 * include/bits/stl_deque.h: Likewise.
2421 * include/bits/stl_iterator_base_types.h: Likewise.
2422 * include/bits/stl_list.h: Likewise.
2423 * include/bits/stl_relops.h: Likewise.
2424 * include/bits/stl_tempbuf.h: Likewise.
2425 * include/bits/stl_vector.h: Likewise.
2426 * include/std/std_memory.h: Likewise.
2428 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
2429 * include/bits/stl_list.h: Likewise.
2430 * include/bits/stl_vector.h: Likewise.
2432 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
2434 * include/c/: Guard with _CPP_.
2435 * include/c_std/: Same.
2436 * include/Makefile.am: Fixup install, link routines for null
2437 c_base_headers_extra scenarios.
2438 * include/Makefile.in: Regerate.
2440 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
2441 Richard Henderson <rth@redhat.com>
2443 * testsuite/22_locale/codecvt_members_unicode_char.cc
2444 (test01, test02): make sure that the i_lit_base array
2445 is sufficiently aligned.
2447 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
2449 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
2452 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
2454 * testsuite/22_locale/collate_byname.cc
2455 (test01): compare the result of collate::compare with
2456 that of collate::transform + string::compare, not with
2457 that of collate::transform + collate::compare; values
2458 returned by collate::compare are normalized, therefore
2461 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
2462 Jakub Jelinek <jakub@redhat.com>
2464 * config/locale/gnu/messages_members.h: Correct conditional.
2465 * config/locale/gnu/messages_members.cc: Same.
2466 * config/locale/gnu/time_members.cc: Same.
2468 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2469 Paolo Carlini <pcarlini@unitus.it>
2471 * testsuite/22_locale/codecvt_members_unicode_char.cc
2472 (test01, test02): Fix i_lit_base arrays, making them
2473 independent from the endianness of the platform.
2475 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2477 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
2478 signbit and __signbit directly.
2479 * aclocal.m4: Regenerate.
2480 * configure: Regenerate.
2481 * config.h.in: Regenerate.
2482 * libmath/Makefile.am: Simplify.
2483 * libmath/Makefile.in: Regenerate.
2484 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
2486 * include/Makefile.am: Clean up handling of extra "C" header files.
2487 Add hooks for "C" compatibility headers.
2488 * include/Makefile.in: Regenerate.
2490 * include/c/*: Formatting tweaks, cleanups.
2491 * include/c_std/*: Same.
2493 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2495 * config/locale/gnu/messages_members.h: Add __uselocale bits.
2496 * config/locale/gnu/messages_members.cc: Same.
2497 * config/locale/gnu/time_members.cc: Same.
2499 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2501 * src/vterminate.cc: Format, -fno-exceptions cleanup.
2503 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2505 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
2506 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
2507 * aclocal.m4: Regenerate.
2508 * configure: Likewise.
2510 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
2511 Ulrich Drepper <drepper@redhat.com>
2513 * src/locale-inst.cc (__convert_from_v): Add an additional
2514 __size parameter in the declarations.
2515 * include/bits/locale_facets.tcc
2516 (__convert_from_v): When available (that is,
2517 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
2518 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
2519 being defined or not, call and use __convert_from_v in the
2521 (num_put::_M_convert_int): Same here.
2522 (money_put::do_put(long double)): Same here.
2524 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
2526 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
2527 * docs/html/faq/index.txt: Regenerate.
2529 2002-03-19 Steve Ellcey <sje@cup.hp.com>
2531 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
2532 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
2533 --enable-libunwind-exceptions is set.
2534 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
2535 macro to check for libunwind.
2536 * configure: Regenerate.
2537 * src/Makefile.am (libstdc___la_LDFLAGS): Add
2538 LIBUNWIND_FLAG to libstdc link line.
2539 * src/Makefile.in: Regenerate.
2541 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
2543 * docs/html/faq/index.html: Add OS X workaround.
2544 * docs/html/17_intro/TODO: Update.
2546 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
2548 * include/bits/locale_facets.tcc
2549 (money_put::do_put(long double)): Fix dimensioning of
2550 temporary buffers to avoid risk of overruns.
2551 (money_put::do_put(string)): Same for the buffer used to
2552 add the grouping chars.
2553 * testsuite/22_locale/money_put_members_char.cc: Add test06.
2554 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2556 * include/bits/locale_facets.tcc
2557 (collate::do_transform): Simplify.
2559 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
2561 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
2562 * configure.in: Add comments pointing the way for autoconf 2.5x.
2563 * aclocal.m4, config.h.in, configure: Regenerate.
2565 2002-03-18 Philipp Thomas <pthomas@suse.de>
2567 * include/backward/hash_map.h: hash, hashtable, hash_map and
2568 hash_multimap are in namespace __gnu_cxx.
2569 include/backward/hash_set.h: hash, hashtable, hash_set and
2570 hash_multiset are in namespace __gnu_cxx.
2571 include/backward/hashtable.h: hash and hashtable are in
2572 namespace __gnu_cxx.
2573 include/backward/rope.h: char_producer, sequence_buffer,
2574 rope, crope and wrope are in namespace __gnu_cxx.
2575 include/backward/slist.h: slist is in namespace __gnu_cxx.
2576 * testsuite/backward/header_hash_map_h.cc
2577 testsuite/backward/header_hash_set_h.cc
2578 testsuite/backward/header_hashtable_h.cc
2579 testsuite/backward/header_rope_h.cc
2580 testsuite/backward/header_slist_h.cc
2581 testsuite/backward/header_tempbuf_h.cc: New tests for
2582 checking that we're using the correct namespace.
2584 2002-03-17 Jason Merrill <jason@redhat.com>
2587 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
2588 (check_exception_spec): Call it. Take the thrown pointer.
2589 (__cxa_call_unexpected): Pass it.
2590 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
2592 2002-03-15 Anthony Green <green@redhat.com>
2594 * configure.in: Remove useless is_mingw32.
2595 * configure: Rebuilt.
2597 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
2599 * testsuite/22_locale/collate_members_char.cc
2600 (test01): compare the result of collate::compare with
2601 that of collate::transform + string::compare, not with
2602 that of collate::transform + collate::compare.
2603 (test01): values returned by collate::compare are
2604 normalized, therefore test against +-1.
2605 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
2607 2002-03-12 Loren Rittle <ljrittle@acm.org>
2609 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2610 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
2612 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2613 Per Liboriussen <liborius@stofanet.dk>
2615 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
2617 * config/os/gnu-linux/bits/ctype_inline.h: Same.
2619 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
2621 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
2622 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2624 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
2625 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2627 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
2628 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2630 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
2632 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2634 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
2635 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
2636 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
2637 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
2638 that memory limits are in place.
2639 (test03): Add tests.
2641 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2643 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
2644 * aclocal.m4: Regenerate.
2645 * config.h.in: Regenerate.
2646 * configure: Regenerate.
2647 * include/c_std/std_cwctype.h: Guard.
2649 2002-03-11 Chris Demetriou <cgd@broadcom.com>
2651 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
2652 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
2653 * aclocal.m4: Regenerate.
2654 * configure: Regenerate.
2656 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2658 * include/bits/stl_bvector.h: Fix warning.
2660 2002-03-11 Richard Henderson <rth@redhat.com>
2662 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
2664 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2666 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
2667 New function. Build the list of tests to run in testsuite_files.
2668 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
2670 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2672 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
2673 platforms with no weak support.
2674 * testsuite/27_io/ios_init.cc: Likewise.
2676 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
2678 * include/bits/locale_facets.tcc (time_put::do_put):
2679 Consider sizeof(char_type) in allocating the buffer.
2681 * include/bits/locale_facets.tcc (collate::do_tranform):
2682 Remove redundant variable.
2684 2002-03-10 Ulrich Drepper <drepper@redhat.com>
2685 Paolo Carlini <pcarlini@unitus.it>
2687 * config/locale/generic/collate_members.cc
2688 (collate<char,wchar_t>::_M_compare_helper): normalize
2689 values returned by strcoll and wcscoll.
2690 * config/locale/gnu/collate_members.cc
2691 (collate<char,wchar_t>::_M_compare_helper): ditto
2692 for __strcoll_l and __wcscoll_l.
2694 2002-03-10 Anthony Green <green@redhat.com>
2696 * configure.in: Support cross builds to mingw32 target.
2697 * configure: Rebuilt.
2699 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
2701 * include/bits/locale_facets.tcc (collate::do_transform):
2702 Rewrite to fix problems with long transformed strings.
2704 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2706 * c_locale_generic.cc: Move to...
2707 * generic/c_locale.cc
2708 * c_locale_generic.h: Move to...
2709 * generic/c_locale.h
2710 * codecvt_specializations_generic.h: Move to...
2711 * generic/codecvt_specializations.h
2712 * collate_members_generic.cc: Move to...
2713 * generic/collate_members.cc
2714 * ctype_members_generic.cc: Move to...
2715 * generic/ctype_members.cc
2716 * messages_members_generic.cc: Move to...
2717 * generic/messages_members.cc
2718 * messages_members_generic.h: Move to...
2719 * generic/messages_members.h
2720 * moneypunct_members_generic.cc: Move to...
2721 * generic/monetary_members.cc
2722 * numpunct_members_generic.cc: Move to...
2723 * generic/numeric_members.cc
2724 * time_members_generic.cc: Move to...
2725 * generic/time_members.cc
2726 * c_locale_gnu.cc: Move to...
2728 * c_locale_gnu.h: Move to...
2730 * collate_members_gnu.cc: Move to...
2731 * gnu/collate_members.cc
2732 * ctype_members_gnu.cc: Move to...
2733 * gnu/ctype_members.cc
2734 * messages_members_gnu.cc: Move to...
2735 * gnu/messages_members.cc
2736 * messages_members_gnu.h: Move to...
2737 * gnu/messages_members.h
2738 * moneypunct_members_gnu.cc: Move to...
2739 * gnu/monetary_members.cc
2740 * numpunct_members_gnu.cc: Move to...
2741 * gnu/numeric_members.cc
2742 * time_members_gnu.cc: Move to...
2743 * gnu/time_members.cc
2744 * c_locale_ieee_1003.1-200x.cc: Move to...
2745 * ieee_1003.1-2001/c_locale.cc
2746 * c_locale_ieee_1003.1-200x.h: Move to...
2747 * ieee_1003.1-2001/c_locale.h
2748 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
2749 * ieee_1003.1-2001/codecvt_specializations.h
2750 * messages_members_ieee_1003.1-200x.cc: Move to...
2751 * ieee_1003.1-2001/messages_members.cc
2752 * messages_members_ieee_1003.1-200x.h: Move to...
2753 * ieee_1003.1-2001/messages_members.h
2755 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
2756 * aclocal.m4: Regenerate.
2757 * configure: Regenerate.
2758 * src/Makefile.am (sources): Change to monetary and numeric.
2759 * src/Makefile.in: Regenerate.
2760 * docs/html/configopts.html: Update to ieee_1003.1-2001.
2762 2002-03-08 scott snyder <snyder@fnal.gov>
2765 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
2766 Allow one more digit of precision.
2767 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
2768 write a double and read back in the same value.
2770 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2772 * include/std/std_limits.h: Move static const data members out of
2773 generic template, into base class __numeric_limits_base.
2774 * src/limits.cc: Add definitions.
2775 * config/linker-map.gnu: Add __numeric_limits_base.
2776 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
2778 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
2780 * include/bits/stl_alloc.h: Add extern implicit allocator
2782 * include/bits/basic_string.tcc: Tweak.
2783 * include/bits/locale_facets.tcc: Remove default args. Add
2784 has_facet, use_facet extern instantiations.
2785 * src/stl-inst.cc: Add explicit instantiation.
2786 * src/locale-inst.cc: Clean. Remove locale member template
2789 * testsuite/22_locale/operators.cc (test02): Enable.
2791 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
2792 Stephen M. Webb <stephen.webb@bregmasoft.com>
2794 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
2795 (_S_rb_tree_black): Make enum.
2797 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
2798 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
2799 (__stl_threshold): _M_threshold, enum.
2800 * src/stl-inst.cc: Same.
2801 * config/linker-map.gnu: Remove.
2803 * testsuite/23_containers/vector_bool.cc: New.
2805 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2807 * docs/doxygen/user.cfg.in: Also document deprecated entries.
2808 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
2809 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
2810 referring to the collection as a whole. New section on which macros
2811 can be redefined by the user.
2812 * docs/html/19_diagnostics/howto.html: Update note for concepts.
2813 * docs/html/20_util/howto.html: Update link to SGI.
2814 * docs/html/faq/index.html: Update snapshot versions. New entry
2815 on why g++ (but not gcc) must currently predefine certain macros.
2816 * docs/html/faq/index.txt: Regenerated.
2818 * include/bits/basic_string.h (basic_string::_S_construct): Fix
2819 names in declaration.
2820 (basic_string::compare): These are no longer optional.
2821 * include/bits/ostream.tcc: Tweak closing brace placement.
2822 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
2823 * include/std/std_sstream.h: Fix typo in comment.
2824 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
2825 * src/locale.cc: Likewise.
2827 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2830 * include/bits/stl_vector.h (vector::push_back()): Guard with
2831 _GLIBCPP_DEPRECATED.
2833 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2835 * include/bits/c++config: Fix misplaced leading blanks on first line.
2837 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
2839 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
2840 * README (libmath): Make clear.
2842 2002-03-05 Jakub Jelinek <jakub@redhat.com>
2844 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
2845 script globbing in ld.
2846 * aclocal.m4: Rebuilt.
2847 * configure: Rebuilt.
2849 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
2851 * docs/html/17_intro/RELEASE-NOTES: Update.
2852 * README: Format subdirectories.
2854 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
2857 * include/bits/locale_facets.tcc
2858 (num_get::_M_extract_float): Fix the parsing of __dec, since
2859 the standard prescribes that if no grouping characters are
2860 seen, no grouping check is applied.
2861 * testsuite/22_locale/num_get_members_char.cc: Add test05
2862 distilled from the PR.
2863 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2865 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
2867 * docs/html/17_intro/porting-howto.xml: Refer to
2868 http://www.oasis-open.org for docbookx.dtd.
2869 * docs/html/17_intro/porting-howto.html: Regenerated.
2871 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
2874 * include/std/std_sstream.h: Remove trailing spaces.
2875 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
2876 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
2878 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
2880 * testsuite/22_locale/num_get_members_char.cc (test04):
2881 Use a named locale expecting grouping (de_DE).
2882 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
2884 * testsuite/27_io/ios_manip_basefield.cc (test01):
2885 Extend coverage, uniform treatment of hexs and octs.
2887 2002-02-28 Richard Henderson <rth@redhat.com>
2889 * config/linker-map.gnu: Export operator new with unsigned long,
2890 and with std::nothrow_t. Likewise operator delete.
2892 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
2894 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
2895 Admit grouping for octals and hexadecimals too.
2896 * testsuite/22_locale/num_get_members_char.cc: Add test04.
2897 (test01): Tweak "." -> "," in void* test.
2898 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2900 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
2901 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
2903 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
2905 * testsuite/27_io/ios_manip_basefield.cc (test01):
2906 Fix for 64 bit machines.
2908 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
2911 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
2913 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
2914 (basic_ios::_M_fill_init): New.
2915 (basic_ios::fill()): Delay dealing with _M_fill.
2917 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
2918 (ios_base::_M_call_callbacks): Adjust.
2919 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
2921 2002-02-26 Loren Rittle <ljrittle@acm.org>
2923 * include/Makefile.am (thread_target_headers): Unconditionally
2924 stage and install gthr-posix.h.
2925 (${target_builddir}/gthr-posix.h): New rule cloned off
2926 ${target_builddir}/gthr-default.h.
2927 (${target_builddir}/gthr-default.h): Support chained inclusion
2928 of gthr support headers.
2929 * include/Makefile.in: Rebuilt.
2931 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
2933 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
2934 Group all the integral types, not only decs.
2935 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
2936 tests, add a few more.
2938 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
2940 * src/ios.cc (ios_base::~ios_base): Tweak.
2941 (ios_base::_M_call_callbacks): Deal with null __p.
2942 (ios_base::ios_base): Set _M_callbacks.
2943 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
2944 * testsuite/27_io/ios_init.cc (test02): Fix.
2946 * mkcheck.in (static_fail): Failed links go to output file.
2948 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
2950 * docs/html/faq/index.html: Update.
2951 * docs/html/faq/index.txt: Regenerate.
2953 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
2955 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
2956 * aclocal.m4: Regenerate.
2957 * docs/html/configopts.html: Document --enable-symvers.
2958 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
2960 2002-02-22 Philipp Thomas <pthomas@suse.de>
2962 * include/backward/tempbuf.h: get_temporary_buffer and
2963 return_temporary_buffer are in namespace std, not in __gnu_cxx.
2965 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
2967 * configure.in (target_alias): Default to yes.
2968 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
2969 libgcc to default case.
2971 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
2973 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
2974 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
2975 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
2976 * aclocal.m4: Regenerate.
2977 * configure: Regenerate.
2978 * config/linker-map.dummy: New file. Contains nothing useful.
2980 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
2982 * testsuite/22_locale/money_put_members_char.cc: Fix.
2983 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
2985 * testsuite/27_io/standard_manipulators.cc: New file.
2987 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
2988 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
2990 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
2992 * config/os/mingw32/bits/ctype_noninline.h
2993 (ctype<char>::ctype): Remove default args from parm list.
2994 * config/os/djgpp/bits/ctype_noninline.h: Same.
2996 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
2998 * include/std/std_iomanip.h: Inline, tweaks.
2999 * config/linker-map.gnu: Remove hacks.
3001 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
3002 * testsuite/27_io/ios_init.cc: Same.
3003 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
3004 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
3006 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
3008 * config/linker-map.gnu: Export global vtable, typeinfo, guard
3009 variable, and thunk info as per CXXABI docs.
3011 2002-02-19 Loren Rittle <ljrittle@acm.org>
3013 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
3014 * include/Makefile.in: Rebuilt.
3016 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3018 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
3019 with size3 for the string collations of str5.
3021 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
3024 * include/bits/locale_facets.tcc (money_put::do_put):
3025 For the space field use __fill instead of ' ', uniformly.
3026 * testsuite/22_locale/money_put_members_char.cc:
3027 Add test05 distilled from PR.
3028 (test01-02-03): Trim some '*' to ' '.
3029 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
3031 2002-02-18 Loren Rittle <ljrittle@acm.org>
3034 * include/Makefile.am (thread_builddir): Remove (map all
3035 existing uses to target_builddir).
3036 (thread_headers): Rename to...
3037 (thread_target_headers): ...this.
3038 (stamp-thread): Remove.
3039 (stamp-target): Correctly state the position as built.
3040 Update all dependencies to match the new reality. Remove all
3041 dependency calculations on directories.
3042 * include/Makefile.in: Rebuilt.
3044 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
3046 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
3047 * include/bits/fstream.tcc: Same.
3048 * include/bits/sstream.tcc: Same.
3049 * include/bits/ostream.tcc: Same.
3050 * include/bits/istream.tcc: Same.
3051 * include/bits/streambuf.tcc: Same.
3052 * include/bits/basic_ios.tcc: Same.
3053 * include/bits/basic_string.tcc: Same.
3055 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3057 * include/std/std_iosfwd.h: Don't guard typedefs with
3058 _GLIBCPP_USE_WCHAR_T
3059 * include/bits/stringfwd.h: Same.
3061 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3063 * src/locale.cc (moneypunct_byname): Remove definitions.
3064 * include/std/std_streambuf.h (streambuf::operator=): Return.
3066 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3069 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
3070 explicit instantiation.
3071 (string::_Rep::_S_max_size): Same.
3072 * include/bits/basic_string.tcc: Add extern explicit
3073 instantiations for string, wstring.
3074 * include/bits/basic_ios.tcc: Add extern explicit instantiations
3076 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
3077 * include/bits/istream.tcc: Same, for istream, wistream.
3078 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
3080 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
3081 istringstream, wistringstream, ostringstream, wostringstream,
3082 stringstream, wstringstream.
3083 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
3084 wifstream, ofstream, wofstream, fstream, wfstream.
3085 * src/misc-inst.cc: Correct comments.
3086 Add iomanip instantiations for wide streams.
3087 * include/std/std_iomanip.h: Same.
3088 * include/bits/locale_facets.tcc: Same.
3090 * include/std/std_streambuf.h: Correct
3091 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
3092 * include/std/std_sstream.h: Same.
3093 * include/std/std_ostream.h: Same.
3094 * include/std/std_istream.h: Same.
3095 * include/std/std_fstream.h: Same.
3097 * include/std/std_streambuf.h: Add definitions for private copy
3098 ctor and assignment operator.
3099 * include/std/std_istream.h: Remove declared but undefined copy
3100 ctor and assignment operator. This is taken care of in ios_base,
3101 so adding it in the derived class as well is superfluous.
3102 * include/std/std_ostream.h: Same.
3104 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
3105 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
3107 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
3109 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
3110 Add typeinfo bits. Smooth.
3111 * aclocal.m4: Regenerate.
3113 * src/Makefile.in: Same.
3115 2001-02-14 Joel Sherrill <joel@OARcorp.com>
3117 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
3118 which do not have a CAS instruction.
3120 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
3122 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
3123 * configure.in: Call it.
3124 * config/linker-map.gnu: New file, initial incomplete revision.
3125 * src/Makefile.am: Optionally pass version script to the linker.
3126 * aclocal.m4: Regenerate.
3127 * configure: Regenerate.
3128 * src/Makefile.in: Regenerate.
3130 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
3132 * src/localename.cc: Remove stdexcept include.
3133 * src/locale-inst.cc: Same.
3134 * src/locale.cc: Same.
3135 * src/functexcept.cc: Remove string includes.
3136 * include/std/std_bitset.h: Remove stdexcept include.
3137 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
3138 * testsuite/23_containers/bitset_ctor.cc: Same.
3140 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
3142 * include/bits/stl_algo (__stl_threshold): Declare external.
3143 (__stl_chunk_size): Same.
3144 * include/bits/stl_bvector.h (__WORD_BIT): Same.
3145 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
3146 (_S_rb_tree_black): Same.
3147 * src/stl-inst.cc (__stl_threshold): Define.
3148 (__stl_chunk_size): Same.
3150 (_S_rb_tree_red): Same.
3151 (_S_rb_tree_black): Same.
3153 * config/io/basic_file_libio.h (__basic_file): Add declarations.
3154 * include/bits/basic_file.h: Remove.
3155 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
3156 Declare generic types, specialization.
3157 * config/io/basic_file_stdio.cc: Definitions.
3158 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
3159 Declare generic types.
3160 * include/Makefile.am (bits_headers): Remove basic_file.h.
3161 (extra_target_headers): Change basic_file_model.h to basic_file.h.
3162 (stamp-target): Same.
3164 * include/bits/stl_alloc.h: Tweaks.
3165 * include/bits/localefwd.h: Same.
3167 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
3169 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
3170 * testsuite/22_locale/collate_members_char.cc (test03): New test.
3171 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
3173 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
3175 * include/bits/stl_algo.h (transform (both signatures), generate_n):
3176 Use __typeof__ in concept checks.
3178 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
3180 * include/bits/stl_algo.h (__median, for_each, find, find_if,
3181 adjacent_find, count, count_if, search, search_n, swap_ranges,
3182 transform, replace, replace_if, replace_copy, replace_copy_if,
3183 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
3184 unique, unique_copy, reverse, reverse_copy): Doxygenate.
3186 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
3188 * include/bits/locale_facets.h
3189 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
3190 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
3191 (__timepunct<_CharT>::_M_put_helper): Same.
3192 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
3194 * include/bits/fstream.tcc (filebuf::underflow): Remove
3195 __codecvt_type typedef.
3196 (filebuf::_M_convert_to_external): Same.
3198 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
3200 * docs/doxygen/TODO: Update.
3201 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
3202 * docs/doxygen/mainpage.html: Add TODO list link.
3203 * docs/doxygen/user.cfg.in: Add @doctodo hook.
3204 * docs/doxygen/tables.html: New file, emoty structure only.
3206 * include/bits/stl_iterator.h: Doxygenate just about everything.
3207 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
3208 * include/bits/stl_iterator_base_types.h: Add notes.
3210 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
3212 * include/bits/stl_map.h: Tweak doxygen markup.
3213 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
3214 * include/bits/stl_vector.h: Likewise.
3216 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
3220 * include/std/std_fstream.h (filebuf::__file_type): Change to
3222 (filebuf::_M_convert_to_external): Declare.
3223 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
3224 codecvt bits for wide streams.
3225 (filebuf::_M_really_overflow): Use it.
3226 (filebuf::underflow): Use codecvt.
3227 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
3228 (codecvt<__enc_traits>::do_out): Deal with partial.
3229 (codecvt<__enc_traits>::do_encoding): Return something useful.
3230 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
3232 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
3233 Change expected encoding output.
3235 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
3238 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
3239 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
3241 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
3242 (basic_ios::widen): Same.
3244 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
3246 * testsuite/22_locale/money_get_members_char.cc:
3247 Add comment, tidy up.
3248 (test01): more "en_HK" tests (without showbase).
3249 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
3251 2002-02-06 Loren Rittle <ljrittle@acm.org>
3253 * config/locale/c_locale_generic.cc: Do not trust
3254 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
3257 2002-02-06 Loren Rittle <ljrittle@acm.org>
3259 * acinclude.m4: Add C++ linkage check for strtof.
3260 * aclocal.m4: Rebuilt.
3261 * config.h.in: Rebuilt.
3262 * configure: Rebuilt.
3263 * config/locale/c_locale_generic.cc: Conditionally include
3264 <ieeefp.h>. Improve handling and error checking of float
3265 and long double input for non-C99 configurations.
3267 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
3269 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3270 In case money_base::symbol deal properly with multi-char sign
3271 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
3272 * testsuite/22_locale/money_get_members_char.cc: Add test07.
3273 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
3275 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
3277 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3278 First construct a tentative returned string, then, only if the
3279 parsing succeeds, copy it into the string passed by reference.
3280 * testsuite/22_locale/money_get_members_char.cc: Add test06.
3281 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
3283 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
3285 * docs/doxygen/TODO: Impl-defined behavior now documented...
3286 * docs/html/17_intro/howto.html: ...here.
3287 * docs/doxygen/mainpage.doxy: Remove, rename...
3288 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
3289 * docs/doxygen/style.css: Add small text.
3290 * docs/doxygen/run_doxygen: Adjust for new mainpage.
3291 * docs/doxygen/user.cfg.in: Likewise.
3293 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
3295 * include/bits/stl_map.h: Initial doxygen markup.
3296 * include/std/std_fstream.h: Initial doxygen markup.
3298 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
3301 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3302 Deal correctly with !(__io.flags() & ios_base::showbase)
3303 for case money_base::symbol.
3304 * testsuite/22_locale/money_get_members_char.cc: Add test05.
3305 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
3307 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
3309 * testsuite/22_locale/operators.cc
3310 (gnu_collate::do_compare()): Add return statement to
3311 suppress "no return statement" warning.
3313 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
3315 * testsuite/27_io/ostream_manip.cc: Enable test02.
3317 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
3319 * docs/html/documentation.html: Update for 3.0.96.
3320 * docs/html/faq/index.html: Update for 3.0.96.
3321 * docs/html/faq/index.txt: Regenerated.
3322 * docs/doxygen/TODO: Update notes.
3323 * docs/html/17_intro/howto.html: Initial impl-specific listing.
3325 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
3327 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
3328 Initialize all data members in copy ctor. Make ctors explicit.
3329 (__enc_traits::__enc_traits()): Default ctor does nothing.
3330 (__enc_traits::_M_init): Guard against multiple iconv_opens.
3331 * include/std/std_sstream.h (basic_stringbuf): Make data members
3333 * include/std/std_fstream.h (basic_filebuf): Same.
3334 * include/std/std_streambuf.h: Tweak.
3335 * include/bits/streambuf.tcc: Same.
3336 * include/bits/sstream.tcc: Same.
3337 * include/bits/fstream.tcc: Same.
3339 2002-01-31 Loren Rittle <ljrittle@acm.org>
3341 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
3342 allow NULL argument to be passed to setenv().
3343 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
3344 * testsuite/22_locale/collate_members_char.cc: Likewise.
3345 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
3346 * testsuite/22_locale/ctype_members_char.cc: Likewise.
3347 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
3348 * testsuite/22_locale/messages_members_char.cc: Likewise.
3349 * testsuite/22_locale/money_get_members_char.cc: Likewise.
3350 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
3351 * testsuite/22_locale/money_put_members_char.cc: Likewise.
3352 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
3353 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
3354 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
3355 * testsuite/22_locale/num_get_members_char.cc: Likewise.
3356 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
3357 * testsuite/22_locale/num_put_members_char.cc: Likewise.
3358 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
3359 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
3360 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
3361 * testsuite/22_locale/time_get_members_char.cc: Likewise.
3362 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
3363 * testsuite/22_locale/time_put_members_char.cc: Likewise.
3364 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
3366 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
3368 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
3370 * ChangeLog-2001: Fix spelling errors...
3371 * docs/html/17_intro/RELEASE-NOTES: Update.
3372 * docs/html/17_intro/TODO: Update.
3373 * README (file): Update.
3375 2002-01-30 Loren Rittle <ljrittle@acm.org>
3377 * config/locale/c_locale_generic.cc: Check errno for ERANGE
3378 instead of non-zero to aid portability.
3380 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3382 * docs/html/22_locale/messages.html: Fix example code.
3384 2002-01-30 Richard Henderson <rth@redhat.com>
3386 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
3387 out from test03 and templatize.
3390 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
3392 * config/locale/numpunct_members_gnu.cc
3393 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
3394 Fix initialization of _M_grouping for locales which have
3395 _M_thousands_sep == '\0'(L'\0', respectively).
3396 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
3398 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
3400 * testsuite/27_io/ostream_inserter_arith.cc (test03):
3401 Better fix for 32/64 bit architectures, avoiding the
3402 implicit assumption that CHAR_BIT == 8.
3404 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
3406 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
3407 * Makefile.in: Regenerate.
3409 * docs/doxygen/run_doxygen: Update, mostly for man pages.
3410 * docs/doxygen/Intro.3: Update.
3411 * docs/doxygen/TODO: Update.
3412 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
3413 * docs/doxygen/mainpage.doxy: Update.
3414 * docs/doxygen/user.cfg.in: Update for header rename. Also
3415 regenerate comments and variables with 1.2.12.
3416 * docs/doxygen/maint.cfg.in: Remove file.
3418 * include/bits/stl_relops.h: Doxygenate.
3419 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
3421 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
3422 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
3423 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
3424 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
3425 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
3426 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
3427 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
3428 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
3429 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
3430 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
3431 include/ext/hash_set, include/ext/iterator, include/ext/memory,
3432 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
3433 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
3434 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
3435 include/std/std_algorithm.h, include/std/std_bitset.h,
3436 include/std/std_complex.h, include/std/std_deque.h,
3437 include/std/std_fstream.h, include/std/std_functional.h,
3438 include/std/std_iomanip.h, include/std/std_ios.h,
3439 include/std/std_iosfwd.h, include/std/std_iostream.h,
3440 include/std/std_istream.h, include/std/std_iterator.h,
3441 include/std/std_limits.h, include/std/std_list.h,
3442 include/std/std_locale.h, include/std/std_map.h,
3443 include/std/std_memory.h, include/std/std_numeric.h,
3444 include/std/std_ostream.h, include/std/std_queue.h,
3445 include/std/std_set.h, include/std/std_sstream.h,
3446 include/std/std_stack.h, include/std/std_stdexcept.h,
3447 include/std/std_streambuf.h, include/std/std_string.h,
3448 include/std/std_utility.h, include/std/std_valarray.h,
3449 include/std/std_vector.h: Add/correct @file doxygen hook.
3451 * include/ext/memory: Doxygenate most of rest of file.
3452 * libsupc++/exception: Doxygen output formatting.
3453 * libsupc++/new: Say which header it is.
3455 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
3456 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
3457 * docs/html/23_containers/howto.html: Describe O(n) list::size().
3458 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
3460 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
3461 Charles Leggett <CGLeggett@lbl.gov>
3463 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
3465 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
3467 * testsuite/27_io/ostream_inserter_arith.cc (test03):
3468 Fix to deal correctly with both 32 bit and 64 bit architectures
3470 2002-01-25 Loren Rittle <ljrittle@acm.org>
3472 * testsuite/thread/pthread1.cc: Use one condition variable
3473 per predicate instead of tricky use of one condition variable.
3475 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
3477 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
3479 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
3480 * testsuite/27_io/filebuf.cc: Compile only.
3481 * testsuite/27_io/filebuf_members.cc: Move tests to here.
3482 * testsuite/27_io/filebuf_virtuals.cc: And here.
3483 Revert sungetc, sync changes for expected values.
3484 * testsuite/27_io/filebuf-*: Move to...
3485 * testsuite/27_io/filebuf_virtuals-*: ...here.
3486 * testsuite/27_io/istream.cc: Compile only, activate.
3487 * testsuite/27_io/ostream.cc: Same.
3488 * testsuite/27_io/iostream.cc: New.
3489 * testsuite/27_io/iostream_members.cc: New.
3491 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
3493 * testsuite/thread/pthread1.cc: Enable on cygwin.
3494 * testsuite/thread/pthread2.cc: Likewise.
3495 * testsuite/thread/pthread3.cc: Likewise.
3496 * testsuite/thread/pthread4.cc: Likewise.
3497 * testsuite/thread/pthread5.cc: Likewise.
3498 * testsuite/thread/pthread6.cc: Likewise.
3500 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3502 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
3504 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3506 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
3508 (basic_ios::fill(char_type)): Use fill().
3509 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
3510 (basic_ios::narrow): Same.
3511 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
3512 if they are invalid.
3513 (basic_ios::init): Comment.
3514 * testsuite/27_io/ios_init.cc (test02): New.
3516 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
3518 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
3519 * include/bits/stl_algo.h: Include stl_tempbuf.h.
3520 * include/ext/memory: Do not include stl_tempbuf.h.
3521 (temporary_buffer): Add doxygen hook.
3522 (__get_temporary_buffer, get_temporary_buffer,
3523 return_temporary_buffer): Move back to std:: header...
3524 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
3525 * include/ext/rope: Do not include stl_tempbuf.h.
3526 * include/ext/stl_hashtable.h: Likewise.
3527 * include/std/std_algorithm.h: Likewise.
3528 * testsuite/20_util/temporary_buffer.cc: New file.
3530 2002-01-24 andrew@andypo.net
3531 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
3534 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
3535 * include/bits/localefwd.h: Likewise.
3536 Also use for std::locale::id::_S_highwater.
3537 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
3538 * src/locale.cc: Support new usage of _Atomic_word.
3539 (std::locale::classic): Guard entire function against reentry.
3540 * src/localename.cc: Support new usage of _Atomic_word.
3542 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3544 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
3545 _GLIBCPP_HAVE_SETENV.
3546 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
3547 * testsuite/22_locale/collate_members_char.cc (test02): Same.
3548 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
3549 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
3550 * testsuite/22_locale/messages_members_char.cc (test02): Same.
3551 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
3552 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
3553 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
3554 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
3555 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
3556 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
3557 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
3558 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
3559 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
3560 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
3561 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
3562 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
3563 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
3564 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
3565 * aclocal.m4: Regenerate.
3566 * configure: Regenerate.
3567 * config.h.in: Regenerate.
3569 2002-01-23 Loren Rittle <ljrittle@acm.org>
3571 * testsuite/thread/pthread1.cc: New test.
3572 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
3573 * testsuite/thread/pthread3.cc: Likewise.
3574 * testsuite/thread/pthread4.cc: New test adapted from
3575 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
3576 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
3577 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
3579 2002-01-23 Richard Henderson <rth@redhat.com>
3582 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
3583 CAS on the cpu variants that support it. Add versions that use
3584 TAS and that disable interrupts.
3585 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
3587 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
3589 * include/bits/locale_facets.tcc: Remove old comments.
3591 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
3593 * include/bits/locale_facets.tcc (__convert_to_v): Change template
3595 (__convert_from_v): Same.
3597 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
3599 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
3601 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
3602 __max_digits checks, adjust arguments.
3603 (num_get::do_get(*)): Changeup.
3605 2002-01-23 Loren Rittle <ljrittle@acm.org>
3607 * config/locale/c_locale_generic.cc: Fix typename usage.
3609 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3611 * config/locale/c_locale_generic.cc: Fix.
3613 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3615 * docs/html/22_locale/messages.html: Remove angle brackets.
3616 * docs/html/17_intro/TODO: Add.
3618 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
3620 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
3621 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
3622 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
3623 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
3625 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3627 Audit for LANG independence.
3628 * include/bits/localefwd.h: Tweaks.
3629 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
3631 (time_get::do_get_year): Same.
3632 (__convert_from_v): Add.
3633 (num_put::_M_convert_float): Use.
3634 (num_put::_M_convert_int): Same.
3635 (money_put::do_put): Same.
3637 * src/locale-inst.cc: Add instantiations for __convert_from_v.
3638 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
3639 * config/locale/time_members_generic.cc:
3640 * config/locale/messages_members_gnu.cc: Same.
3641 * config/locale/messages_members_gnu.h: Same.
3643 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
3644 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
3645 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
3646 * testsuite/22_locale/collate_members_char.cc (test02): New.
3647 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
3648 * testsuite/22_locale/ctype_members_char.cc (test03): New.
3649 * testsuite/22_locale/messages_members_char.cc (test02): New.
3650 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
3651 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
3652 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
3653 * testsuite/22_locale/money_get_members_char.cc (test04): New.
3654 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
3655 * testsuite/22_locale/money_put_members_char.cc (test04): New.
3656 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
3657 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
3658 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
3659 * testsuite/22_locale/time_put_members_char.cc (test03): New.
3660 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
3661 * testsuite/22_locale/time_get_members_char.cc (test07): New.
3662 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
3663 * testsuite/22_locale/num_get_members_char.cc (test03): New.
3664 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
3665 * testsuite/22_locale/num_put_members_char.cc (test03): New.
3667 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
3669 * testsuite/22_locale/time_get_members_char.cc: Same.
3671 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3674 * include/bits/localefwd.h: Tweak comments.
3675 * include/bits/locale_facets.h (__convert_to_v): Add.
3676 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
3677 (num_get::do_get(float)): Same.
3678 (num_get::do_get(long double)): Same.
3679 (num_get::do_get(bool)): Same.
3680 (num_get::do_get(long)): Same.
3681 (num_get::do_get(long long)): Same.
3682 (num_get::do_get(unsigned int)): Same.
3683 (num_get::do_get(unsigned short)): Same.
3684 (num_get::do_get(unsigned long)): Same.
3685 (num_get::do_get(unsigned long long)): Same.
3686 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
3687 * config/locale/c_locale_generic.cc: Same.
3689 2002-01-22 Loren Rittle <ljrittle@acm.org>
3691 * include/Makefile.am (c_base_builddir): Remove redundant slash.
3692 (std_builddir): Likewise.
3693 (std_headers_rename): Fix cut-n-paste typo.
3694 (install-data-local): Concat path per element instead of once to
3695 first element of list.
3696 * include/Makefile.in: Rebuilt.
3698 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3700 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
3701 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
3702 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
3704 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
3706 * include/bits/locale_facets.h (ctype<char>::classic_table):
3708 (ctype<char>::_S_ctable): Remove.
3709 * config/os/gnu-linux/bits/ctype_noninline.h
3710 (ctype<char>::_S_table): Remove definition.
3711 (ctype<char>::classic_table): Define.
3712 (ctype<char>::ctype): Replace _S_ctable with classic_table().
3713 * config/os/aix/bits/ctype_noninline.h: Same.
3714 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3715 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3716 * config/os/djgpp/bits/ctype_noninline.h: Same.
3717 * config/os/generic/bits/ctype_noninline.h: Same.
3718 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3719 * config/os/hpux/bits/ctype_noninline.h: Same.
3720 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3721 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3722 * config/os/mingw32/bits/ctype_noninline.h: Same.
3723 * config/os/newlib/bits/ctype_noninline.h: Same.
3724 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3725 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3726 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3728 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
3730 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
3731 of _pctype. Use to define _S_ctable. Add definition for alternate
3732 ctor. Initialise _M_ctable to _S_ctable in ctors.
3733 (do_toupper, do_tolower): Use inline code appropriate for C-locale
3734 rather than ::toupper, ::tolower.
3736 2002-01-18 Loren Rittle <ljrittle@acm.org>
3738 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
3739 Add specialization for FreeBSD systems only to avoid losing test
3740 only due to extra precision unmentioned in system headers.
3742 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
3744 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
3746 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
3748 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
3749 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
3751 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3753 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
3755 2002-01-17 David Edelsohn <edelsohn@gnu.org>
3757 * configure.target: Define OPT_LDFLAGS for AIX case.
3759 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3761 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
3762 __glibcpp_double_has_quiet_NaN): Correct mispelling.
3764 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
3766 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
3768 2002-01-16 David Edelsohn <dje@watson.ibm.com>
3770 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
3771 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
3772 * aclocal.m4: Regenerate.
3773 * configure: Regenerate.
3775 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3777 * include/Makefile.am (c_base_headers_rename): New.
3778 (c_base_headers_extra): New.
3779 (stamp-c_base): Modify.
3780 (install-data-local): Use both.
3781 * include/Makefile.in: Regenerate.
3782 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3783 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3784 cstdio ctime cwctype]: Move to..
3785 * include/c/std_*: Here.
3786 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3787 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3788 cstdio ctime cwctype]: Move to..
3789 * include/c_std/std_*: Here.
3791 Alexandre Oliva <aoliva@redhat.com>
3792 * include/Makefile.am (.PRECIOUS): Add rule.
3793 * include/Makefile.in: Regenerate.
3795 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3796 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3798 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
3799 Deuglify, should be current.
3800 (back_insert_iterator::_M_container): Deuglify, should be container.
3801 (front_insert_iterator::_M_container): Same.
3802 (insert_iterator::_M_container): Same.
3803 * testsuite/24_iterators/reverse_iterator.cc: Add check.
3804 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
3805 * testsuite/24_iterators/front_insert_iterator.cc: Same.
3806 * testsuite/24_iterators/insert_iterator.cc: Same.
3808 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3810 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
3812 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
3813 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
3814 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3815 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3816 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3817 * config/os/newlib/bits/ctype_noninline.h: Same.
3818 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3819 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3820 * config/os/hpux/bits/ctype_noninline.h: Same.
3821 * config/os/djgpp/bits/ctype_noninline.h: Same.
3822 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3823 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3824 * config/os/aix/bits/ctype_noninline.h: Same.
3826 Testcase by Dietmar Kühl via Peter Schmid
3827 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
3830 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3832 * libmath/signbitl.c: Copyright years as list, not range.
3833 * libmath/Makefile.am: Same.
3834 * libmath/Makefie.in: Regenerate.
3835 * libmath/signbit.c: Same.
3836 * libmath/nan.c: Same.
3837 * libmath/copysignf.c: Same.
3838 * libmath/signbitf.c: Same.
3839 * testsuite/22_locale/money_get_members_char.cc: Same.
3840 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3841 * testsuite/22_locale/money_put_members_char.cc: Same.
3842 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3843 * testsuite/22_locale/time_get_members_char.cc: Same.
3844 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
3845 * testsuite/22_locale/time_put_members_char.cc: Same.
3846 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
3847 * testsuite/21_strings/nonmember.cc: Same.
3848 * testsuite/21_strings/compare.cc: Same.
3849 * testsuite/27_io/stringstream.cc: Same.
3850 * testsuite/27_io/stringbuf.cc: Same.
3851 * testsuite/27_io/filebuf.cc: Same.
3852 * testsuite/27_io/ios_manip_basefield.cc: Same.
3853 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
3854 * include/bits/cpp_type_traits.h: Same.
3855 * include/bits/generic_shadow.h: Same.
3856 * include/bits/gslice_array.h: Same.
3857 * include/bits/gslice.h: Same.
3858 * include/bits/indirect_array.h: Same.
3859 * include/bits/slice_array.h: Same.
3860 * include/bits/sstream.tcc: Same.
3861 * include/bits/streambuf_iterator.h: Same.
3862 * include/bits/valarray_array.tcc: Same.
3863 * include/bits/valarray_meta.h: Same.
3864 * include/bits/valarray_array.h: Same.
3865 * config/os/mingw32/bits/ctype_noninline.h: Same.
3866 * config/os/mingw32/bits/ctype_base.h: Same.
3867 * config/os/hpux/bits/ctype_noninline.h: Same.
3868 * config/os/hpux/bits/ctype_base.h: Same.
3869 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3870 * config/os/gnu-linux/bits/ctype_base.h: Same.
3871 * config/os/generic/bits/ctype_noninline.h: Same.
3872 * config/os/generic/bits/ctype_base.h: Same.
3874 * libsupc++/tinfo.h: Tweaks.
3876 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3878 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
3879 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
3880 * testsuite/22_locale/ctype_members_char.cc: Tweak.
3882 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3884 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
3885 (num_put::do_put(void*)): Fix.
3886 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
3887 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
3888 * testsuite/22_locale/num_get_members_char.cc (test02): Add
3889 long double, void, bool types.
3890 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
3892 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3893 Alexandre Oliva <aoliva@redhat.com>
3895 * libmath/Makefile.am (LINK): Add --tag CC.
3896 * libmath/Makefile.in: Regenerate.
3898 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
3900 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
3901 of character to attribute mapping table.
3903 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
3905 * testsuite/26_numerics/c99_classification_macros_c.cc
3906 Remove dg-error and dg-excess-errors comments.
3908 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
3910 * include/bits/locale_facets.tcc (time_put::put): Correct output
3912 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
3913 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
3914 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
3915 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
3917 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
3919 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
3921 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
3922 Nathan Myers <ncm@cantrip.org>
3924 * include/bits/basic_string.h
3925 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
3926 temporaries (i.e., call _M_replace_safe) when possible.
3927 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
3928 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
3929 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
3930 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
3931 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
3932 * include/bits/basic_string.tcc
3933 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
3934 replace(__pos, __n1, __s, __n2).
3935 * testsuite/21_strings/replace.cc (test03): New testcases.
3937 * include/bits/basic_string.h (insert(__pos, __s, __n)):
3938 Adjust comparison wrt overflow.
3940 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
3942 * include/Makefile.am (std_headers_rename): New variable.
3943 (install-data-local): Use it.
3944 * include/Makefile.in: Regenerate.
3946 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
3948 * include/bits/locale_facets.tcc (money_put::do_put(string):
3949 Correct output iterator value.
3950 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
3951 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3953 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
3955 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
3958 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
3960 * include/Makefile.am (std_headers): Update list with new names.
3961 (stamp-std): Link to standardized name.
3962 * include/Makefile.in: Regenerate.
3964 * include/std/algorithm, include/std/bitset, include/std/complex,
3965 include/std/deque, include/std/fstream, include/std/functional,
3966 include/std/iomanip, include/std/ios, include/std/iosfwd,
3967 include/std/iostream, include/std/istream, include/std/iterator,
3968 include/std/limits, include/std/list, include/std/locale,
3969 include/std/map, include/std/memory, include/std/numeric,
3970 include/std/ostream, include/std/queue, include/std/set,
3971 include/std/sstream, include/std/stack, include/std/stdexcept,
3972 include/std/streambuf, include/std/string, include/std/utility,
3973 include/std/valarray, include/std/vector: Rename to...
3975 * include/std/std_algorithm.h, include/std/std_bitset.h,
3976 include/std/std_complex.h, include/std/std_deque.h,
3977 include/std/std_fstream.h, include/std/std_functional.h,
3978 include/std/std_iomanip.h, include/std/std_ios.h,
3979 include/std/std_iosfwd.h, include/std/std_iostream.h,
3980 include/std/std_istream.h, include/std/std_iterator.h,
3981 include/std/std_limits.h, include/std/std_list.h,
3982 include/std/std_locale.h, include/std/std_map.h,
3983 include/std/std_memory.h, include/std/std_numeric.h,
3984 include/std/std_ostream.h, include/std/std_queue.h,
3985 include/std/std_set.h, include/std/std_sstream.h,
3986 include/std/std_stack.h, include/std/std_stdexcept.h,
3987 include/std/std_streambuf.h, include/std/std_string.h,
3988 include/std/std_utility.h, include/std/std_valarray.h,
3989 include/std/std_vector.h: ...this.
3991 2002-01-11 Loren Rittle <ljrittle@acm.org>
3993 * include/Makefile.am (extra_target_headers): New list of all
3994 target files built with ad hoc naming rules.
3995 (stamp-*): Handle LN_S failure in manner portable across make
3997 (install-data-local): Install header files from human-maintained
3998 file lists and directory components instead of non-robust find.
3999 * include/Makefile.in: Rebuilt.
4001 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
4003 * include/bits/locale_facets.tcc (money_get::do_get(string)):
4004 Check for zero-length negative sign before adding it to output
4006 (money_get::do_get(long double)): Return beg.
4007 * testsuite/22_locale/money_get_members_char.cc (test02): Add
4009 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
4011 2002-01-10 David Seymour <seymour_dj@yahoo.com>
4014 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
4015 for _M_extract_float and _M_extract_int
4016 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
4017 (num_get<>::_M_extract_int): Likewise, all callers changed
4018 * testsuite/22_locale/num_get_members_char.cc: Testcase
4020 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
4022 * libsupc++/exception (bad_exception): Add comment.
4023 * libsupc++/new (bad_alloc): Same.
4024 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
4026 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
4028 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
4029 that the destructors should be removed from the descriptions
4030 in the standard: writing them explicitly allows the vtable
4031 heuristic to work. For additional information see:
4032 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
4033 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
4034 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
4035 * libsupc++/exception (bad_exception::~bad_exception()):
4036 Reintroduce declaration.
4037 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
4038 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
4039 (bad_typeid::~bad_typeid()): Same.
4040 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
4041 Reintroduce definition.
4042 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
4043 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
4044 (bad_typeid::~bad_typeid()): Same.
4046 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
4048 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
4049 * include/Makefile.in: Regenerate.
4051 2002-01-09 Bo Thorsen <bo@suse.co.uk>
4053 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
4056 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
4060 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
4061 return value of _M_file->sync().
4062 (filebuf::showmanyc): Check for is_open.
4063 * include/std/fstream (filebuf::sync): Tweak.
4064 * testsuite/27_io/filebuf.cc: Tweak.
4066 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
4067 Brad Garcia <garsh@attbi.com>
4069 * testsuite/27_io/filebuf_members.cc: Add test.
4071 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
4072 Craig Rodrigues <rodrigc@mediaone.net>
4075 * po/Makefile.am (mkinstalldirs): Add.
4076 * po/Makefile.in: Regenerate.
4078 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
4080 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
4081 testsuite/lib/prune.exp: Delete lines ":In function ..." from
4083 * testsuite/23_containers/map_operators.cc: Remove
4084 dg-excess-errors comment.
4085 * testsuite/23_containers/set_operators.cc: Likewise.
4087 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
4089 * include/bits/stl_function.h: Remove two lines of comments;
4090 adjust copyright years.
4092 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
4094 * include/Makefile.am (std_headers): Remove cXXX from list.
4095 (c_base_srcdir): No bits subdirectory.
4096 (c_base_builddir): Same.
4097 (c_base_headers): Adjust names, add ciso646.
4098 (bits_headers): Remove std_xxx.h headers.
4099 * include/Makefile.in: Regenerate.
4101 * include/ext/iterator: Adjust includes.
4102 * include/ext/ropeimpl.h: Same.
4103 * include/ext/stl_hash_fun.h: Same.
4104 * include/ext/algorithm: Same.
4106 * include/backward/bvector.h: Adjust includes.
4107 * include/backward/vector.h: Same.
4108 * include/backward/strstream: Same.
4109 * include/backward/streambuf.h: Same.
4110 * include/backward/stack.h: Same.
4111 * include/backward/set.h: Same.
4112 * include/backward/queue.h: Same.
4113 * include/backward/multiset.h: Same.
4114 * include/backward/multimap.h: Same.
4115 * include/backward/map.h: Same.
4116 * include/backward/list.h: Same.
4117 * include/backward/iterator.h: Same.
4118 * include/backward/iostream.h: Same.
4119 * include/backward/iomanip.h: Same.
4120 * include/backward/fstream.h: Same.
4121 * include/backward/deque.h: Same.
4122 * include/backward/complex.h: Same.
4124 * include/bits/std_algorithm.h: Move to...
4125 * include/std/algorithm: ...here.
4126 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
4127 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
4128 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
4129 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
4130 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
4131 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
4132 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
4135 * include/c_std/bits/std_cassert.h: Move to...
4136 * include/c_std/cassert: Here.
4137 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
4138 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
4139 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
4140 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
4141 std_cwctype.h: Same.
4142 * include/c_std/cmath: Adjust cmath.tcc include.
4143 * include/c_std/cstdlib: Adjust includes.
4144 * include/c_std/cwchar: Same.
4145 * include/c_std/ctime: Same.
4146 * include/c_std/cstring: Same.
4147 * include/c_std/cstdio: Same.
4148 * include/c_std/bits: Remove directory.
4150 * include/c/bits/std_cassert.h: Move to...
4151 * include/c/cassert: Here.
4152 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
4153 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
4154 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
4155 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
4156 std_cwctype.h: Same.
4157 * include/c/bits: Remove directory.
4159 * include/std/cwctype: Remove.
4160 * include/std/cwchar: Remove.
4161 * include/std/ctime: Remove.
4162 * include/std/cstring: Remove.
4163 * include/std/cstdlib: Remove.
4164 * include/std/cstdio: Remove.
4165 * include/std/cstddef: Remove.
4166 * include/std/cstdarg: Remove.
4167 * include/std/csignal: Remove.
4168 * include/std/csetjmp: Remove.
4169 * include/std/cmath: Remove.
4170 * include/std/clocale: Remove.
4171 * include/std/climits: Remove.
4172 * include/std/ciso646: Remove.
4173 * include/std/cfloat: Remove.
4174 * include/std/cerrno: Remove.
4175 * include/std/cctype: Remove.
4176 * include/std/cassert: Remove.
4178 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
4179 files and subsituting <xxx>.
4180 * include/bits/valarray_array.h: Same.
4181 * include/bits/stl_uninitialized.h: Same.
4182 * include/bits/stl_alloc.h: Same.
4183 * include/bits/stl_algobase.h: Same.
4184 * include/bits/sstream.tcc: Same.
4185 * include/bits/pthread_allocimpl.h: Same.
4186 * include/bits/ostream.tcc: Same.
4187 * include/bits/localefwd.h: Same.
4188 * include/bits/locale_facets.tcc: Same.
4189 * include/bits/locale_facets.h: Same.
4190 * include/bits/istream.tcc: Same.
4191 * include/bits/char_traits.h: Same.
4192 * include/bits/boost_concept_check.h: Same.
4193 * include/bits/basic_file.h: Same.
4194 * include/std/bitset: Same.
4195 * include/std/complex: Same.
4196 * include/std/fstream: Same.
4197 * include/std/functional: Same.
4198 * include/std/ios: Same.
4199 * include/std/iostream: Same.
4200 * include/std/ostream: Same.
4201 * include/std/sstream: Same.
4202 * include/std/streambuf: Same.
4203 * include/std/string: Same.
4204 * include/std/iterator: Same.
4205 * include/std/valarray: Same.
4207 * src/ios.cc: Adjust includes.
4208 * src/valarray-inst.cc: Same.
4209 * src/string-inst.cc: Same.
4210 * src/stl-inst.cc: Same.
4211 * src/stdexcept.cc: Same.
4212 * src/misc-inst.cc: Same.
4213 * src/localename.cc: Same.
4214 * src/locale-inst.cc: Same.
4215 * src/locale.cc: Same.
4216 * src/limits.cc: Same.
4217 * src/concept-inst.cc: Same.
4218 * src/complex_io.cc: Same.
4219 * src/codecvt.cc: Same.
4220 * src/bitset.cc: Same.
4221 * src/cmath.cc: Same.
4223 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
4225 * include/bits/stl_tree.h (rb_tree): Move to...
4226 * include/ext/rb_tree: ...here, new file.
4227 * include/Makefile.am (ext_headers): Add new file.
4228 * include/Makefile.in: Regenerate.
4229 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
4230 return_temporary_buffer, struct temporary_buffer): Move to...
4231 * include/ext/memory: ...here.
4232 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
4233 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
4234 * include/backward/tree.h: Include <ext/rb_tree), tweak.
4236 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
4238 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
4239 * include/ext/numeric: ...here, new file.
4240 * include/bits/stl_function.h (identity_element, unary_compose,
4241 binary_compose, compose1, compose2, identity, select1st,
4242 select2nd, project1st + helper, project2nd + helper,
4243 constant_void_fun + helper, constant_unary_fun + helper,
4244 costant_binary_fun + helper, constant0, constant1, constant2,
4245 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
4246 * include/ext/functional: ...here, new file.
4247 * include/Makefile.am (ext_headers): Add new files.
4248 * include/Makefile.in: Regenerate.
4249 * testsuite/ext/headers.cc: Include <ext/numeric> and
4251 * include/backward/algo.h: Include <ext/numeric>, tweak.
4252 * include/backward/function.h: Include <ext/functional>, tweak.
4253 * include/ext/ropeimpl.h: Include <ext/numeric>.
4255 2002-01-03 Jeffrey A Law <law@redhat.com>
4257 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
4258 __strtoull declarations with __extension__.
4260 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
4262 * testsuite/lib/prune.exp: Correct regular expression for
4265 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
4267 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
4268 Change concept checks, as with lower_bound and PR 2054.
4269 * testsuite/ext/concept_checks.cc: Expand test to include those.
4271 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
4273 * include/bits/boost_concept_check.h: Import some changes from
4274 upsteam (Boost) version.
4276 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
4278 * include/bits/stl_algobase.h (copy_n + helpers,
4279 lexicographical_compare_3way + helpers): Move to...
4280 * include/ext/algorithm: ...here.
4281 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
4282 helpers): Move to...
4283 * include/ext/memory: ...here, new file.
4284 * include/Makefile.am (ext_headers): Add new file.
4285 * include/Makefile.in: Regenerate.
4286 * testsuite/ext/headers.cc: Include <ext/memory>.
4287 * include/backward/algobase.h: Include <ext/memory> and
4288 <ext/algorithm>, tweak.
4289 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
4290 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
4292 2002-01-01 Roger Sayle <roger@eyesopen.com>
4294 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
4295 equivalent ___builtin__ versions.
4297 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
4298 are available in libstdc++ as the necessary stub implementations
4299 are provided by libmath/stubs.c.
4301 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
4303 * configure.in: Add support for NetBSD cross compiles.
4304 * configure: Regenerate.