1 2002-09-12 Benjamin Kosnik <bkoz@redhat.com>
3 * libmath/Makefile.am (LIBTOOL): Use --tag CC always for this
5 * libmath/Makefile.in: Regenerate.
6 * src/Makefile.am: Tweak comment.
7 * src/Makefile.in: Regenerate.
9 * config/locale/gnu/c_locale.h: Remove warnings.
10 Inject __uselocale into __gnu_cxx.
11 * config/locale/generic/c_locale.h: Match.
13 2002-09-11 Benjamin Kosnik <bkoz@redhat.com>
15 * include/bits/locale_facets.tcc (__convert_from_v): Remove.
16 * config/locale/gnu/c_locale.h (__convert_from_v): Add.
17 * config/locale/generic/c_locale.h (__convert_from_v): Add.
19 2002-09-11 Paolo Carlini <pcarlini@unitus.it>
21 * include/bits/locale_facets.tcc (__convert_from_v):
22 Use __uselocale instead of setlocale for glibc 2.3+.
24 2002-09-10 Benjamin Kosnik <bkoz@redhat.com>
26 * src/Makefile.am (sources): Edit.
27 (target_sources): New.
28 (target_sources_extra): New.
29 * src/Makefile.in: Regenerate.
30 * acinclude.m4: Set CCODECVT_CC.
31 * aclocal.m4: Regenerate.
32 * configure: Regenerate.
33 * src/locale.cc: Move ctype definitions...
34 * src/ctype.cc: ...here. New file.
35 * src/locale.cc: Move codecvt definitions...
36 * src/codecvt.cc: ...here.
37 * config/generic/codecvt_members.cc: ...and here.
38 * config/gnu/codecvt_members.cc: ...and here.
39 * include/bits/codecvt.h: Tweak.
40 * include/bits/locale_facets: Tweak.
42 * src/bitset.cc: Correct license text.
43 * src/concept-inst.cc: Same.
44 * src/strstream.cc: Same.
45 * src/vterminate.cc: Same.
47 2002-09-10 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net>
49 * include/bits/stl_vector.h (vector<>): Don't use a name with
50 different meanings before and after re-evaluation in the completed
52 * include/bits/basic_string.h (basic_string<>): Likewise.
53 * include/bits/stl_bvector.h (vector<bool>): Likewise.
54 * include/bits/stl_deque.h (std): Likewise.
55 * include/bits/stl_list.h (list<>): Likewise.
56 * include/bits/stl_tree.h (_Rb_tree<>): Likewise.
58 2002-09-10 Paolo Carlini <pcarlini@unitus.it>
60 * include/bits/codecvt.h (class __codecvt_abstract_base):
61 Add __c_locale type _M_c_locale_codecvt member.
62 (class codecvt<char, char, mbstate_t>,
63 class codecvt<wchar_t, char, mbstate_t>): Add new
64 codecvt(__c_locale, size_t) constructor.
65 (codecvt_byname::codecvt_byname): Update.
66 * src/codecvt.cc (class codecvt<char, char, mbstate_t>,
67 class codecvt<wchar_t, char, mbstate_t>): Update codecvt(size_t)
68 constructor and ~codecvt() destructor; define
69 codecvt(__c_locale, size_t) constructor.
70 (codecvt::do_out): Switch to _M_c_locale_codecvt around wcsrtombs call.
71 (codecvt::do_in): Ditto for mbsrtowcs call.
72 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
73 Tweak construction of codecvt facets.
75 2002-09-10 Danny Smith <dannysmith@users.sourceforge.net>
77 * include/bits/locale_facets.tcc (__convert_from_v):
78 Replace strdup with ISO malloc and strcpy.
80 2002-09-09 Benjamin Kosnik <bkoz@redhat.com>
82 * docs/html/configopts.html: Change grouping. Note ABI impacts.
83 Update information for locale model defaults.
84 * docs/html/install.html: Update include directory
86 Update testing information.
87 Update linux issues for named locales.
88 * docs/html/abi.txt: Fix typos.
91 * src/misc-inst.cc: Add missing instantiations.
93 * testsuite/abi_check.cc: Make output results more verbose.
95 * config/os/gnu-linux/ctype_base.h: Remove shadow headers injections.
97 2002-09-07 Jakub Jelinek <jakub@redhat.com>
99 * config/locale/generic/messages_members.cc: Add specialization for
101 * config/locale/ieee_1003.1-20021/messages_members.cc: Likewise.
103 2002-09-06 Benjamin Kosnik <bkoz@redhat.com>
105 * include/bits/localefwd.h: Tweak formatting.
106 * docs/html/abi.txt: Add.
108 2002-09-06 Jakub Jelinek <jakub@redhat.com>
110 * configure.target: Use cpu_include_dir="config/cpu/sparc" for all
112 * config/cpu/sparc/atomicity.h: New file.
113 * config/cpu/sparc/sparc32/atomicity.h: Removed.
114 * config/cpu/sparc/sparc64/atomicity.h: Removed.
116 2002-09-06 Jakub Jelinek <jakub@redhat.com>
118 * config/os/gnu-linux/ctype_noninline.h
119 [_GLIBCPP_USE_SHADOW_HEADERS]: Remove using _C_legacy::__ctype_*.
120 (ctype<char>::classic_table): If _GLIBCPP_C_LOCALE_GNU, return
121 _S_c_locale->__ctype_b, otherwise temporarily switch to "C" locale
122 and return __ctype_b.
123 (ctype<char>::ctype(__c_locale, const mask*, bool, size_t)): If not
124 _GLIBCPP_C_LOCALE_GNU, temporarily switch to "C" locale and
125 initialize using __ctype_{b,tolower,toupper}.
126 (ctype<char>::ctype(const mask*, bool, size_t)): If
127 _GLIBCPP_C_LOCALE_GNU, initialize using
128 _S_c_locale->__ctype_{b,tolower,toupper}, otherwise temporarily
129 switch to "C" locale and initialize using __ctype_{b,tolower,toupper}.
131 2002-09-05 Paolo Carlini <pcarlini@unitus.it>
132 Roland McGrath <roland@redhat.com>
135 * src/locale.cc (locale::locale(__s)): Use getenv instead
136 of setenv for the environment locale.
137 * testsuite/22_locale/ctor_copy_dtor.cc (test03): New.
139 2002-09-05 Jakub Jelinek <jakub@redhat.com>
141 * config/abi/ia64-unknown-linux-gnu: Add.
142 * config/abi/ia64-unknown-linux-gnu/baseline_symbols.txt: New file.
143 * config/abi/alphaev67-unknown-linux-gnu: Add.
144 * config/abi/alphaev67-unknown-linux-gnu/baseline_symbols.txt: New file.
146 2002-09-05 Jonathan Wakely <jw@kayari.org>
148 * docs/html/Makefile: Use more portable shell wildcard.
149 * docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
150 * docs/html/configopts.html, docs/html/documentation.html,
151 docs/html/explanations.html, docs/html/install.html,
152 docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
153 docs/html/17_intro/license.html, docs/html/18_support/howto.html,
154 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
155 docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
156 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
157 docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
158 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
159 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
160 docs/html/27_io/howto.html, docs/html/ext/howto.html,
161 docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
163 * docs/html/faq/index.txt: Regenerate.
165 2002-09-05 Jakub Jelinek <jakub@redhat.com>
167 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_widen(char)):
168 Switch to _M_c_locale_ctype around btowc call.
169 (ctype<wchar_t>::do_widen(const char*, const char *, wchar_t*)):
170 Switch to _M_c_locale_ctype around mbsrtowcs call.
171 (ctype<wchar_t>::do_narrow(char)): Switch to _M_c_locale_ctype around
173 (ctype<wchar_t>::do_narrow(const char*, const char *, wchar_t*)):
174 Switch to _M_c_locale_ctype around wcsrtombs call.
176 2002-09-05 Jakub Jelinek <jakub@redhat.com>
178 * config/locale/gnu/monetary_members.cc
179 (moneypunct<wchar_t, true>::_M_initialize_moneypunct,
180 moneypunct<wchar_t, false>::_M_initialize_moneypunct): Use
181 __uselocale instead of setlocale for glibc 2.3.
183 2002-09-05 Jakub Jelinek <jakub@redhat.com>
185 * config/locale/generic/c++locale_internal.h: New header.
186 * config/locale/gnu/c++locale_internal.h: New header.
187 * config/locale/gnu/c_locale.cc: Include it.
188 * config/locale/gnu/collate_members.cc: Include it.
189 * config/locale/gnu/ctype_members.cc: Include it.
190 * config/locale/gnu/messages_members.cc: Include it.
191 * config/locale/gnu/monetary_members.cc: Include it.
192 * config/locale/gnu/numeric_members.cc: Include it.
193 * config/locale/gnu/time_members.cc: Include it.
194 (_M_put): Reorder __strftime_l and __wcsftime_l arguments to match
196 (_M_initialize_timepunct): Initialize _M_c_locale_timepunct for
198 * acinclude.m4: Include string.h when testing strcoll_l.
199 For glibc 2.3 provide __-prefixed prototypes.
200 (CLOCALE_INTERNAL_H): Set, add AC_LINK_FILES line.
201 * aclocal.m4, configure: Rebuilt.
203 2002-09-05 Benjamin Kosnik <bkoz@redhat.com>
205 * include/bits/locale_facets.h: Add declaration of specialization
207 * config/locale/gnu/messages_members.cc: Add specialization for
209 * config/locale/gnu/messages_members.h: Remove generic definition
212 2002-09-04 Richard Henderson <rth@redhat.com>
214 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
215 __glibcpp_f32_has_infinity, __glibcpp_f64_infinity_bytes,
216 __glibcpp_f64_has_infinity, __glibcpp_f80_infinity_bytes,
217 __glibcpp_f80_has_infinity, __glibcpp_f96_infinity_bytes,
218 __glibcpp_f96_has_infinity, __glibcpp_f128_infinity_bytes,
219 __glibcpp_f128_has_infinity, __glibcpp_float_infinity_bytes,
220 __glibcpp_float_has_infinity, __glibcpp_double_infinity_bytes,
221 __glibcpp_double_has_infinity, __glibcpp_long_double_infinity_bytes,
222 __glibcpp_long_double_has_infinity): Remove.
223 (std::numeric_limits<float>, std::numeric_limits<double>,
224 std::numeric_limits<long double>): Use __builtin_huge_val
225 to implement has_infinity and infinity().
226 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_double_infinity,
227 __glibcpp_long_double_infinity): Remove.
229 2002-09-03 Richard Henderson <rth@redhat.com>
231 * include/std/std_limits.h (__glibcpp_f32_min, __glibcpp_f32_max,
232 __glibcpp_f32_digits, __glibcpp_f32_digits10, __glibcpp_f32_radix,
233 __glibcpp_f32_epsilon, __glibcpp_f32_min_exponent,
234 __glibcpp_f32_min_exponent10, __glibcpp_f32_max_exponent,
235 __glibcpp_f32_max_exponent10, __glibcpp_f64_min, __glibcpp_f64_max,
236 __glibcpp_f64_digits, __glibcpp_f64_digits10, __glibcpp_f64_radix,
237 __glibcpp_f64_min_exponent, __glibcpp_f64_min_exponent10,
238 __glibcpp_f64_max_exponent, __glibcpp_f64_max_exponent10,
239 __glibcpp_f80_min, __glibcpp_f80_max, __glibcpp_f80_digits,
240 __glibcpp_f80_digits10, __glibcpp_f80_radix, __glibcpp_f80_epsilon,
241 __glibcpp_f80_min_exponent, __glibcpp_f80_min_exponent10,
242 __glibcpp_f80_max_exponent, __glibcpp_f80_max_exponent10,
243 __glibcpp_f96_min, __glibcpp_f96_max, __glibcpp_f96_digits,
244 __glibcpp_f96_digits10, __glibcpp_f96_radix, __glibcpp_f96_epsilon,
245 __glibcpp_f96_min_exponent, __glibcpp_f96_min_exponent10,
246 __glibcpp_f96_max_exponent, __glibcpp_f96_max_exponent10,
247 __glibcpp_f128_min, __glibcpp_f128_max, __glibcpp_f128_digits,
248 __glibcpp_f128_digits10, __glibcpp_f128_radix, __glibcpp_f128_epsilon,
249 __glibcpp_f128_min_exponent, __glibcpp_f128_min_exponent10,
250 __glibcpp_f128_max_exponent, __glibcpp_f128_max_exponent10,
251 __glibcpp_float_min, __glibcpp_float_max, __glibcpp_float_digits,
252 __glibcpp_float_digits10, __glibcpp_float_radix,
253 __glibcpp_float_epsilon, __glibcpp_float_min_exponent,
254 __glibcpp_float_min_exponent10, __glibcpp_float_max_exponent,
255 __glibcpp_float_max_exponent10, __glibcpp_double_min,
256 __glibcpp_double_max, __glibcpp_double_digits,
257 __glibcpp_double_digits10, __glibcpp_double_radix,
258 __glibcpp_double_epsilon, __glibcpp_double_min_exponent,
259 __glibcpp_double_min_exponent10, __glibcpp_double_max_exponent,
260 __glibcpp_double_max_exponent10, __glibcpp_long_double_min,
261 __glibcpp_long_double_max, __glibcpp_long_double_digits,
262 __glibcpp_long_double_digits10, __glibcpp_long_double_radix,
263 __glibcpp_long_double_epsilon, __glibcpp_long_double_min_exponent,
264 __glibcpp_long_double_min_exponent10,
265 __glibcpp_long_double_max_exponent,
266 __glibcpp_long_double_max_exponent10): Remove macros.
267 (std::numeric_limits<float>, std::numeric_limits<double>,
268 std::numeric_limits<long double>): Use protected float.h macros.
270 2002-09-01 Phil Edwards <pme@gcc.gnu.org>
272 * testsuite/Makefile.am: Use LD_RUN_PATH when linking abi_check.
273 Fix spelling in comment.
274 * testsuite/Makefile.in: Regenerate.
275 * testsuite/abi_check.cc: Use string literals to build 'cmd' rather
276 than 'quote' and 'bslash'.
278 2002-08-31 Phil Edwards <pme@gcc.gnu.org>
280 * acinclude.m4: Minor comment tweaks.
282 * docs/html/makedoc.awk: New file...
283 * docs/html/Makefile: ...called from here...
284 * docs/html/documentation.html: ...to help generate this.
286 * docs/html/21_strings/howto.html: Prepare for new entry.
287 * include/bits/basic_string.h: Initial basic_stirng hook for
288 doxygen. Remove trailing whitespace.
289 * include/bits/char_traits.h: Point to onlinedocs for new entry.
290 * include/bits/stringfwd.h: Add doxygen hooks for string and
293 2002-08-29 Richard Earnshaw <rearnshaw@arm.com>
295 * config/cpu/arm/cpu_limits.h: New file.
296 * configure.target: Use config/cpu/arm for XScale and StrongARM
299 2002-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
301 * include/std/std_limits.h (__glibcpp_char_bits,
302 __glibcpp_short_bits, __glibcpp_int_bits, __glibcpp_long_bits,
303 __glibcpp_long_long_bits, __glibcpp_float_bits,
304 __glibcpp_double_bits, __glibcpp_long_double_bits): Remove. Use
305 compiler predifined macros.
306 (__glibcpp_wchar_t_is_signed): Define based on compiler predefined
309 2002-08-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
311 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
312 __glibcpp_f32_has_infinity, __glibcpp_f32_QNaN_bytes,
313 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
314 __glibcpp_f32_has_SNaN, __glibcpp_f32_denorm_min_bytes,
315 __glibcpp_f32_has_denorm, __glibcpp_f32_is_iec559,
316 __glibcpp_f64_infinity_bytes,
317 __glibcpp_f64_has_infinity, __glibcpp_f64_QNaN_bytes,
318 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
319 __glibcpp_f64_has_SNaN, __glibcpp_f64_denorm_min_bytes,
320 __glibcpp_f64_has_denorm, __glibcpp_f64_is_iec559,
321 __glibcpp_f80_infinity_bytes,
322 __glibcpp_f80_has_infinity, __glibcpp_f80_QNaN_bytes,
323 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
324 __glibcpp_f80_has_SNaN, __glibcpp_f80_denorm_min_bytes,
325 __glibcpp_f80_has_denorm, __glibcpp_f80_is_iec559,
326 __glibcpp_f96_infinity_bytes,
327 __glibcpp_f96_has_infinity, __glibcpp_f96_QNaN_bytes,
328 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
329 __glibcpp_f96_has_SNaN, __glibcpp_f96_denorm_min_bytes,
330 __glibcpp_f96_has_denorm, __glibcpp_f96_is_iec559,
331 __glibcpp_f128_infinity_bytes,
332 __glibcpp_f128_has_infinity, __glibcpp_f128_QNaN_bytes,
333 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
334 __glibcpp_f128_has_SNaN, __glibcpp_f128_denorm_min_bytes,
335 __glibcpp_f128_has_denorm, __glibcpp_f128_is_iec559,
336 __glibcpp_float_infinity_bytes,
337 __glibcpp_float_has_infinity, __glibcpp_float_QNaN_bytes,
338 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
339 __glibcpp_float_has_SNaN, __glibcpp_float_denorm_min_bytes,
340 __glibcpp_float_has_denorm, __glibcpp_float_is_iec559,
341 __glibcpp_double_infinity_bytes,
342 __glibcpp_double_has_infinity, __glibcpp_double_QNaN_bytes,
343 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
344 __glibcpp_double_has_SNaN, __glibcpp_double_denorm_min_bytes,
345 __glibcpp_double_has_denorm, __glibcpp_double_is_iec559,
346 __glibcpp_long_double_infinity_bytes,
347 __glibcpp_long_double_has_infinity, __glibcpp_long_double_QNaN_bytes,
348 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
349 __glibcpp_long_double_has_SNaN, __glibcpp_long_double_denorm_min_bytes,
350 __glibcpp_long_double_has_denorm, __glibcpp_long_double_is_iec559:
352 (__glibcpp_word_bits, __glibcpp_word): Likewise.
353 (__glibcpp_byte): New typedef.
354 (__float_storage, __double_storage, __long_double_storage): New types.
355 (__glibcpp_float_infinity, __glibcpp_float_QNaN,
356 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Now
358 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
359 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
360 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
361 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
364 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_float_QNaN,
365 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Define.
366 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
367 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
368 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
369 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
372 2002-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
374 * include/std/std_limits.h: Indent conditional macro definitions.
376 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
378 * Makefile.am (check-abi): Specify current directory.
379 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Fix shell syntax, use
380 abi_baseline_triplet in baseline_file.
381 * Makefile.in, aclocal.m4, configure: Regenerate.
382 * configure.target: Add abi_baseline_triplet with default.
383 * testsuite/abi_check.cc: More error checking.
385 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
387 * config/linker-map.gnu: Verbose comments, clean up spacing.
388 * include/bits/stl_alloc.h: Fix indentation of 'if' bodies, return
390 __allocator: Change class declaration to struct.
391 * docs/html/17_intro/C++STYLE: Fix typo.
392 * include/bits/stl_deque.h, include/bits/stl_list.h,
393 include/bits/stl_map.h, include/bits/stl_multimap.h,
394 include/bits/stl_vector.h: Fix fallout from typo.
396 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
398 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
399 GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
401 * aclocal.m4: Regenerate.
402 * testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
404 * testsuite/Makefile.in: Regenerate.
406 2002-08-22 Loren J. Rittle <ljrittle@acm.org>
408 * testsuite/abi_check.cc: Enhance shell portability.
409 Support older binutils/readelf.
410 * config/abi/i386-unknown-freebsd4.6: Add.
411 * config/abi/i386-unknown-freebsd4.6/baseline_symbols.txt: New file.
413 2002-08-22 Paolo Carlini <pcarlini@unitus.it>
415 * docs/html/faq/index.html: Add Loren James Rittle and
416 Paolo Carlini to the list of v3 maintainers.
417 * docs/html/faq/index.txt: Ditto.
418 * docs/html/17_intro/RELEASE-NOTES: Ditto.
420 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
421 Phil Edwards <pme@gcc.gnu.org>
422 Ulrich Drepper <drepper@redhat.com>
424 * Makefile.am (check-abi): New rule.
425 * Makefile.in: Regenerate.
426 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
427 * aclocal.m4: Regenerate.
428 * configure: Regenerate.
429 * testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
430 (abi_check_SOURCES): Add.
431 * testsuite/Makefile.in: Regenerate.
432 * testsuite/abi_check.cc: New file.
434 * config/abi/i686-pc-linux-gnu: Add.
435 * config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.
437 2002-08-19 Benjamin Kosnik <bkoz@redhat.com>
439 * configure.in (libtool_VERSION): Update to 5:1:0.
440 * configure: Regenerate.
442 2002-08-19 Jonathan Wakely <jw@kayari.org>
444 * docs/html/configopts.html, docs/html/documentation.html,
445 docs/html/install.html, docs/html/22_locale/codecvt.html,
446 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
447 docs/html/22_locale/locale.html,
448 docs/html/22_locale/messages.html: Conform to HTML 4.01 standard.
450 2002-08-15 Benjamin Kosnik <bkoz@redhat.com>
452 * include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
453 _M_buf_size_opt to zero when unbuffering.
454 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
455 Consistency checks for _M_buf_size_opt.
457 Revert PR libstdc++/7445
458 * src/locale.cc (locale::classic): Revert.
460 * docs/html/17_intro/TODO: Add.
462 2002-08-15 Phil Edwards <pme@gcc.gnu.org>
464 * docs/html/documentation.html: Update doxygen links for 3.2.
466 2002-08-15 Steve Ellcey <sje@cup.hp.com>
468 * libsupc++/unwind-cxx.h (__cxa_exception): Change catchTemp
469 type from void* to _Unwind_Ptr.
470 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
471 Do not cast landing_pad or base_of_encoded_value to (void *).
472 * libsupc++/eh_throw.cc (__gxx_exception_cleanup):
473 Accept _URC_NO_REASON as a valid reason code.
475 2002-08-14 Jonathan Wakely <jw@kayari.org>
477 * docs/html/22_locale/messages.html: Use HTML entities for
480 2002-08-13 Jonathan Wakely <jw@kayari.org>
481 Phil Edwards <pme@gcc.gnu.org>
483 * docs/html/documentation.html: Use HTML entities for punctuation.
485 2002-08-09 Phil Edwards <pme@gcc.gnu.org>
487 * include/bits/deque.tcc, include/bits/list.tcc,
488 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
489 include/bits/stl_list.h, include/bits/stl_map.h,
490 include/bits/stl_multimap.h, include/bits/stl_queue.h,
491 include/bits/stl_stack.h, include/bits/stl_vector.h,
492 include/bits/vector.tcc: Re-indent contents of namespace std,
493 re-wrap comment lines as necessary.
495 2002-08-08 Danny Smith <dannysmith@users.sourceforge.net>
496 Benjamin Kosnik <bkoz@redhat.com>
498 * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
500 * testsuite/27_io/narrow_stream_objects.cc (test10): Add.
502 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
504 * libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
505 * libsupc++/Makefile.in: Regenerate.
507 2002-08-05 Gabriel Dos Reis <gdr@nerim.net>
510 * include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
511 Instantiate with new function objects.
512 * include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
514 * include/bits/gslice_array.h: Likewise.
515 * include/bits/indirect_array.h: Likewise.
517 2002-08-03 Gabriel Dos Reis <gdr@nerim.net>
519 * testsuite/26_numerics/valarray_name_lookup.cc: Rename from
520 testsuite/26_numerics/valarray_name_lookup.C
522 * include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
523 object function surrogates.
524 * include/bits/valarray_meta.h (__shift_left): Fix typo.
525 (_BinFunClos<>): Remove.
526 (_BinFunBase<>): Likewise.
527 (_BinFunBase1<>):Likewise.
528 (_BinFunBase2<>): Likewise.
529 (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
530 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
531 (_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
532 (_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
533 * include/std/std_valarray.h: Dont #include <functional> anymore.
534 (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
535 _Shift_right<>): Remove.
536 (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
537 (_DEFINE_BINARY_OPERATOR): Tweak definition.
538 (_DEFINE_LOGICAL_OPERATOR): Remove.
539 * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.
541 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
543 * include/bits/valarray_meta.h (_UnFunBase<>): Remove.
544 (_UnFunClos<>): Same.
545 (_UnBase<>): Reformat. Make first template-parameter non
547 (_UnClos<>): Likewise.
548 (_Expr<>): Reformate. Adjust unary member operator return types.
549 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
550 (_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
551 * include/std/std_valarray.h (_UnClos<>): Adjust declaration.
552 (valarray<>::_UnaryOp<>): New nested traits. Adjust unary member
553 operator return types. Reformat.
554 (_Bitwise_not): Remove.
555 (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
556 * testsuite/26_numerics/valarray_name_lookup.C: New test.
558 2002-08-02 Danny Smith <dannysmith@users.sourceforge.net>
560 * config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
561 (scan_is): Use this->is.
562 (scan_not): Likewise.
564 2002-08-02 Benjamin Kosnik <bkoz@redhat.com>
566 Revert PR libstdc++/6594
567 * src/strstream.cc (strstreambuf): Revert.
568 (strstreambuf::overflow): Same.
569 (strstreambuf::~strstreambuf): Same.
570 * testsuite/backward/strstream_members.cc (test02): Add.
572 * docs/html/abi.txt: Update. Spell check.
574 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
576 * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
577 * testsuite/Makefile.in: Regenerate.
578 * testsuite/testsuite_hooks.h: Use __throw_exception_again,
579 include functexcept.h so that -fno-exceptions will build.
581 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
583 * include/bits/valarray_meta.h (__unary_plus, __negate,
584 __bitwise_not, __plus, __minus, __multiplies, __divides,
585 __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
586 __shift_left, __shift_right, __logical_and, __logical_or,
587 __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
588 __greater_equal, __greater, __atan2, __pow): New function object
590 (__fun<>): New function traits class.
592 2002-08-01 Rick Danos <rdanos@hotmail.com>
595 * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
596 * config/os/newlib/ctype_inline.h (is): Use static_cast.
598 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
600 * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
601 * libsupc++/Makefile.in: Regenerate.
603 2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
604 Jakub Jelinek <jakub@redhat.com>
606 * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
607 GLIBCPP_3.1 to GLIBCPP_3.2.
609 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
610 Mark Mitchell <mark@codesourcery.com>
613 * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
615 (__class_type_info): And here.
617 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
621 (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
622 (__base_class_info::__base): Change to __base_type. 2.9.5p6c
623 (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
624 (__vmi_class_type_info::__base_info): Don't make const, of type
625 __base_class_type_info, as per 2.9.5p6c
626 (__pbase_type_info::__qualifier_flags): Change to __flags, as per
628 (__pbase_type_info::__qualifier_masks): Change to __masks, as per
630 (__pointer_to_member_type_info::__context_class): Change member to
631 __context, as per 2.9.5p9.
632 * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
634 * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
636 * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
638 * libsupc++/tinfo.cc (__do_dyncast): Same.
639 * libsupc++/tinfo.cc (__do_upcast): Same.
641 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
643 * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
645 2002-07-31 Simon Whomsley <whomsley@avacadcam.com>
647 * docs/html/22_locale/howto.html: Fix.
649 2002-07-31 Alex Kompel <shurik@sequoiap.com>
652 * src/locale.cc (locale::classic): Move locks inside !_S_classic
655 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
657 * docs/html/abi.txt: Update.
659 2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
660 Gabriel Dos Reis <gdr@nerim.net>
662 * include/bits/char_traits.h: Remove generic definitions.
663 * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
665 * include/bits/istream.tcc (istream::readsome): Don't check
666 against eof, instead use constants.
667 (istream::sync): Same.
668 (istream::sentry::sentry): Use eq_int_type.
669 (istream::get): Same.
670 * include/bits/ostream.tcc: Change __pad to
671 __pad<_CharT, _Traits>::_S_pad.
672 * include/bits/locale_facets.h: Add __pad_traits generic and
673 ostreambuf_iterator specialization.
674 * include/bits/locale_facets.tcc: Change __pad into struct __pad
675 with a _CharT and _Traits template parameter and _S_pad static
677 * src/locale-inst.cc: Update __pad instantiations.
679 * include/std/std_fstream.h: Declare _M_underflow_common
681 * src/fstream.cc: New. Add _M_underflow_common specializations.
682 * include/bits/fstream.tcc (filebuf::close): Use traits_type.
683 (filebuf::_M_underflow_common(bool)): Remove generic version, as
684 sys_ungetc and custom int_types don't get along.
685 * include/std/std_streambuf.h: Add _M_pos.
686 * src/Makefile.am (sources): Add fstream.cc.
687 * src/Makefile.in: Regenerate.
689 * testsuite/21_strings/capacity.cc: Add char_traits specializations.
690 * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
691 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
692 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
693 * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
694 * testsuite/27_io/filebuf.cc: ...here.
695 * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
696 specialization for both.
697 * testsuite/27_io/streambuf.cc: Add instantiation test,
698 testsuite_hooks include.
699 * testsuite/27_io/istream.cc: Same.
700 * testsuite/27_io/ostream.cc: Same.
701 * testsuite/27_io/fstream.cc: Same.
702 * testsuite/27_io/stringstream.cc: Same.
703 * testsuite/27_io/filebuf.cc: Same.
704 * testsuite/27_io/stringbuf.cc: Same.
706 2002-07-29 Alan Modra <amodra@bigpond.net.au>
708 * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
709 * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
710 * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
711 (__test_and_set): Remove.
712 (_STWCX): Define and use.
714 2002-07-26 Phil Edwards <pme@gcc.gnu.org>
716 * libsupc++/new (placement delete): Remove unused parameter names.
718 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
721 * include/std/std_istream.h (basic_iostream): Add typedefs for
722 char_type, int_type, pos_type, off_type, and traits_type.
723 * testsuite/27_io/iostream.cc (test01): Add typedef tests.
724 * testsuite/27_io/istream.cc: Same.
725 * testsuite/27_io/ostream.cc: Same.
726 * testsuite/27_io/filebuf.cc: Same.
727 * testsuite/27_io/stringbuf.cc: Replace content, move to...
728 * testsuite/27_io/stringbuf_members.cc: ...here.
729 * testsuite/27_io/streambuf.cc: Replace content, move to...
730 * testsuite/27_io/streambuf_members.cc: ...here.
731 * testsuite/27_io/stringstream.cc: Replace content, move to...
732 * testsuite/27_io/stringstream_members.cc: ...here.
733 * testsuite/27_io/ios.cc: New file.
734 * testsuite/27_io/fstream.cc: New file.
735 * testsuite/27_io/ifstream.cc: New file.
736 * testsuite/27_io/ofstream.cc: New file.
737 * testsuite/27_io/istringstream.cc: New file.
738 * testsuite/27_io/ostringstream.cc: New file.
740 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
743 * include/bits/istream.tcc (istream::ignore): Don't extract on
745 * testsuite/27_io/istream_unformatted.cc (test10): Add.
747 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
749 * testsuite/27_io/ios_base_type.cc: Move to...
750 * testsuite/27_io/ios_base_types.cc: ...here.
752 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
755 * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
756 * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
758 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
761 * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
762 * include/Makefile.am (backward_headers): Use strstream, not
764 * include/Makefile.in: Regenerate.
765 * include/backward/strstream: Revert.
766 * include/backward/strstream.h: Remove.
767 * src/strstream.cc: Revert.
768 * testsuite/backward/strstream_members.cc: Change include.
770 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
773 * include/bits/ios_base.h (ios_base::streampos): Add.
774 (ios_base::streamoff): Add.
775 * testsuite/27_io/ios_base_type.cc: New.
777 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
780 * libsupc++/new: Add placement delete.
781 * testsuite/18_support/new_delete_placement.cc: New.
783 * docs/html/abi.txt: Fix typos.
785 2002-07-23 Benjamin Kosnik <bkoz@redhat.com>
787 * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
788 confusing usage of "latest."
789 De-tangle contributor information from introductory notes.
790 Move abi.txt link placement, activate.
792 Move chapter info into old FAQ format.
793 * docs/html/organization.html: Removed, obsoleted by doxygen work.
794 * docs/html/abi.txt: Add notes on testing ABI changes.
796 2002-07-20 Phil Edwards <pme@gcc.gnu.org>
798 * docs/html/abi.txt: New file.
799 * docs/html/23_containers/howto.html: Tweak vector-overhead text.
800 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
801 Import from upstream, R22.
803 * include/bits/char_traits.h, include/bits/stl_iterator.h,
804 include/bits/stl_iterator_base_types.h, libsupc++/exception,
805 libsupc++/new, libsupc++/typeinfo: Use @brief markup.
807 * include/bits/deque.tcc, include/bits/stl_alloc.h,
808 include/bits/stl_deque.h, include/bits/stl_list.h: Postpone removal
809 of deprecated functions until 3.4. (Same timeframe, different text.)
810 * include/bits/stl_vector.h: Ditto. Also do the same cleanups that
811 the other sequence classes received.
813 2002-07-18 Brendan Kehoe <brendan@zen.org>
815 * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
818 2002-07-19 Gabriel Dos Reis <gdr@nerim.net>
821 * include/bits/slice_array.h
822 (slice_array<T>::operator=(const T&)): Constify.
823 * include/bits/gslice_array.h
824 (gslice_array<T>::operator=(const T&)): Likewise.
825 * include/bits/mask_array.h
826 (mask_array<T>::operator=(const T&)): Likewise.
827 * include/bits/indirect_array.h
828 (indirect_array<T>::operator=(const T&): Likewise.
830 2002-07-17 Phil Edwards <pme@gcc.gnu.org>
832 * docs/doxygen/run_doxygen: Remove template parameter names from
833 "Compound List" summary page. Reformat.
834 * docs/html/documentation.html: XHTML fixes.
836 2002-07-16 Andreas Schwab <schwab@suse.de>
838 * libsupc++/new (set_new_handler): Declare to not throw any
840 * libsupc++/new_handler.cc (set_new_handler): Likewise.
842 2002-07-16 Gabriel Dos Reis <gdr@nerim.net>
844 * include/Makefile.am (bits_headers): Remove slice.h
845 * include/Makefile.in: Regenerate.
846 * include/bits/slice.h (slice): move to include/bits/slice_array.h
847 * include/bits/slice.h Remove.
848 * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
849 * include/bits/slice_array.h: Comply to official coding styles.
850 * testsuite/26_numerics/slice.cc: New test.
852 2002-07-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
854 * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
855 print to match vendor <ctype.h>.
857 2002-07-15 Phil Edwards <pme@gcc.gnu.org>
859 * docs/html/faq/index.html: Fix download links.
860 * docs/html/faq/index.txt: Regenerate.
861 * docs/html/17_intro/porting.html: Regenerate from earlier changes.
863 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
865 * configure.target (target_os switch): Allow for irix6*o32
868 2002-07-10 Gabriel Dos Reis <gdr@nerim.net>
870 * include/bits/valarray_meta.h (_UnFunBase): Take a second
871 template parameter. Remove _M_func data member.
872 (_UnFunClos): Take a third template parameter.
873 (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
874 __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
875 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
877 2002-07-08 Eric Christopher <echristo@redhat.com>
879 * configure.target: Fix comment for mips atomicity. Add
880 mips*-*-linux* target, enable atomic operations there.
881 * config/cpu/mips/atomicity.h: Fix comments, remove
882 #ifndef/#endif. Add push/pop mips2.
884 2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
886 * include/bits/stl_deque.h (_Deque_alloc_base): Change order of
887 member declarations to avoid compiler warnings and restore 3.1 ABI.
889 2002-07-08 Phil Edwards <pme@gcc.gnu.org>
891 * docs/html/23_containers/howto.html: Link to dk_std::vector paper
894 2002-07-07 Paolo Carlini <pcarlini@unitus.it>
897 * include/bits/stl_deque.h (_Deque_iterator::operator-):
898 Make non-member, as already happens for the comparison
899 operators in accord with DR179 (Ready).
900 * testsuite/23_containers/deque_operators.cc: Add test02.
902 2002-07-04 Benjamin Kosnik <bkoz@redhat.com>
903 Jack Reeves <jackw_reeves@hotmail.com>
905 * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
906 size_t, from int_type.
907 (basic_streambuf::_M_buf_size_opt): Same.
908 (basic_streambuf::_S_pback_sizex): Same.
909 * include/bits/streambuf.tcc: Same.
910 * include/std/std_streambuf.h (basic_streambuf::snextc): Use
912 (basic_streambuf::uflow): Same.
913 * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
915 * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
916 * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
918 (basic_streambuf::xsputn): Same.
919 (__copy_streambufs): Same.
921 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
923 * include/std/std_memory.h: Fix formatting.
924 * testsuite/20_util/auto_ptr_neg.cc: New.
925 * testsuite/20_util/auto_ptr.cc: Tweaks.
926 * testsuite/23_containers/map_operators.cc (test01): Split into..
927 * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
928 * testsuite/23_containers/set_operators.cc: Move to...
929 * testsuite/23_containers/set_operators_neg.cc: ...here.
930 * testsuite/README: Add some more naming rules.
932 2002-07-03 Steev Wilcox <steev@paradigmds.com>
935 * include/ext/stl_hashtable.h: Fix.
936 * testsuite/ext/hash_map.cc: New.
938 2002-07-03 Jack Reeves <jackw_reeves@hotmail.com>
939 Kenny Simpson <theonetruekenny@yahoo.com>
940 Phil Edwards <pme@gcc.gnu.org>
943 * testsuite/20_util/auto_ptr.cc (test08): New test.
944 * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit.
945 (auto_ptr::operator auto_ptr_ref): Fix typo.
946 General reformatting and doxygenating of the whole file.
948 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
951 * include/c/std_cwchar.h: Fix.
953 2002-07-02 Benjamin Kosnik <bkoz@redhat.com>
956 * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
957 char* name parameter.
958 * config/locale/gnu/monetary_members.cc: Use it.
959 * config/locale/generic/monetary_members.cc: Same.
960 * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
962 * include/backward/strstream.h: Update date.
964 2002-07-02 Paolo Carlini <pcarlini@unitus.it>
967 * include/bits/stl_iterator.h
968 (__normal_iterator::operator-(const __normal_iterator&)):
969 Make non-member, as already happens for the comparison
970 operators in accord with DR179 (Ready).
971 * testsuite/24_iterators/iterator.cc: Add test from the PR.
973 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
976 * acinclude.m4: Simplify determination of gcc_version, and move
977 up to GLIBCPP_CONFIGURE.
978 * configure.in (release_VERSION): Really remove.
979 (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER): Move after GLIBCPP_CONFIGURE.
980 * aclocal.m4, configure: Regenerate.
982 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
984 * docs/html/configopts.html, docs/html/install.html: Tweaks.
985 * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
986 include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
987 include/ext/slist, include/ext/stl_rope.h: Add doxygen hooks.
989 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
991 * include/backward/strstream: Remove namespace std. Transfer to...
992 * include/backward/strstream.h: ...here. Qualify std names.
993 * src/strstream.cc: Remove namespace std.
994 * include/Makefile.am (backward_headers): Remove strstream.h.
995 * include/Makefile.in: Regenerate.
996 * config/linker-map.gnu: Export strstream bits.
998 * src/fstream-inst.cc: Tweak.
999 * src/io-inst.cc: Same.
1000 * src/istream-inst.cc: Same.
1001 * src/misc-inst.cc: Same.
1002 * src/ostream-inst.cc: Same.
1003 * src/sstream-inst.cc: Same.
1004 * src/valarray-inst.cc: Same.
1005 * src/misc-inst.cc: Remove unused instantiations.
1007 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
1009 * configure.in (libtool_VERSION): Bump to 5:0:0.
1010 * configure: Regenerate.
1012 2002-06-28 Phil Edwards <pme@gcc.gnu.org>
1014 PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
1015 * include/std/std_queue.h: Include deque.tcc, vector.tcc.
1016 * include/std/std_stack.h: Include deque.tcc.
1017 * testsuite/23_containers/adaptors.cc: New file.
1019 2002-06-27 Phil Edwards <pme@gcc.gnu.org>
1021 * include/bits/stl_alloc.h: Deprecate all 'reallocate' memfns.
1022 * docs/html/ext/howto.html: Update allocator notes.
1024 2002-06-26 Benjamin Kosnik <bkoz@redhat.com>
1026 * configure.in (INTERFACE): Remove.
1027 (release_VERSION): Remove.
1028 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
1029 (libstdcxx_interface): Change. Use gcc methods to determine version.
1030 * configure: Regenerate.
1031 * aclocal.m4: Regenerate.
1033 2002-06-25 DJ Delorie <dj@redhat.com>
1035 * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
1036 GLIBCPP_TOPREL_CONFIGURE.
1037 * aclocal.m4: Likewise.
1038 * configure.in: Call it before AC_CANONICAL_SYSTEM.
1039 * configure: Regenerate.
1041 2002-06-25 Jessica Han <jessica@cup.hp.com>
1043 * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
1044 * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
1045 _GLIBCPP_VTABLE_PADDING is defined.
1047 2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
1049 * include/bits/stl_alloc.h: Additional formatting.
1051 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
1053 * include/bits/stl_alloc.h: Reformat as per C++STYLE.
1055 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
1057 * config/cpu/*/bits/*: Move header files up a level. Remove bits.
1058 * config/os/*/bits/*: Likewise.
1059 * configure.in: Update.
1060 * configure: Regenerate.
1061 * configure.target: Update.
1062 * docs/html/17_intro/porting.texi: Update.
1064 2002-06-21 Phil Edwards <pme@gcc.gnu.org>
1066 * include/bits/stl_map.h, include/bits/stl_multimap.h,
1067 include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
1068 complete doxygenation.
1069 * include/bits/boost_concept_check.h: Minor comment.
1071 2002-06-21 Benjamin Kosnik <bkoz@redhat.com>
1073 * include/c_compatibility: New.
1074 * include/c_compatibility/assert.h: New.
1075 * include/c_compatibility/ctype.h: New.
1076 * include/c_compatibility/errno.h: New.
1077 * include/c_compatibility/float.h: New.
1078 * include/c_compatibility/iso646.h: New.
1079 * include/c_compatibility/limits.h: New.
1080 * include/c_compatibility/locale.h: New.
1081 * include/c_compatibility/math.h: New.
1082 * include/c_compatibility/setjmp.h: New.
1083 * include/c_compatibility/signal.h: New.
1084 * include/c_compatibility/stdarg.h: New.
1085 * include/c_compatibility/stddef.h: New.
1086 * include/c_compatibility/stdio.h: New.
1087 * include/c_compatibility/stdlib.h: New.
1088 * include/c_compatibility/string.h: New.
1089 * include/c_compatibility/time.h: New.
1090 * include/c_compatibility/wchar.h: New.
1091 * include/c_compatibility/wctype.h: New.
1093 * include/c/std_cerrno.h: Get out of the way... define errno.
1094 * include/c/std_cmath.h: Add abs, modf overloads.
1095 Undefine C99 isms. Still not sure how to deal with this sanely.
1096 * include/c/std_csetjmp.h: Tweak.
1097 * include/c/std_cwchar.h: Include cstddef for size_t.
1099 * include/c_std/std_cmath.h: Remove extra function.
1101 Pendantic std usage in testsuites.
1102 * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
1104 * testsuite/17_intro/header_cwchar.cc: Tweak.
1105 * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
1107 * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
1108 * testsuite/22_locale/ctype_to_char.cc (test05): Same.
1109 * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
1110 * testsuite/22_locale/ctype_is_char.cc (test05): Same.
1111 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
1112 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
1113 * testsuite/22_locale/time_get_members_char.cc (test08): Same.
1114 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
1115 * testsuite/22_locale/time_put_members_char.cc (test04): Same.
1116 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
1117 * testsuite/22_locale/num_put_members_char.cc (test04): Same.
1118 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
1119 * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
1120 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
1121 * testsuite/22_locale/num_get_members_char.cc: Same.
1122 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
1123 * testsuite/22_locale/money_put_members_char.cc (test07): Same.
1124 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
1125 * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
1126 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
1127 * testsuite/22_locale/money_get_members_char.cc (test08): Same.
1128 * testsuite/22_locale/messages_members_char.cc (test03): Same.
1129 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
1130 * testsuite/22_locale/collate_members_char.cc (test04): Same.
1131 * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
1132 * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
1133 * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
1135 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1137 * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
1140 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1142 * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
1143 Use size_type instead of unsigned long.
1145 2002-06-20 Steve Ellcey <sje@cup.hp.com>
1147 * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
1149 (_S_min_len): Ditto.
1151 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1153 * include/Makefile.am: Add rules.
1154 * include/Makefile.in: Regenerate.
1156 * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
1157 * aclocal.m4: Regenerate.
1158 * configure: Regenerate.
1159 * configure.target (c_model, c_compatibility): Add.
1161 * libsupc++/Makefile.am (c_sources): New.
1162 (libsupc___la_SOURCES): Add c_sources.
1163 (LTCOMPILE): Remove INCLUDES.
1164 (GCC_INCLUDES): New.
1165 (C_COMPILE): New, like COMPILE but without INCLUDES.
1166 (cxa_demangle.o): Use C_COMPILE.
1167 (dyn-string.o): Use C_COMPILE.
1169 * include/c/std_cstdarg.h: Define __need___va_list.
1170 * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
1171 need_NULL, need_offsetof.
1173 2002-06-19 Steve Ellcey <sje@cup.hp.com>
1175 * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*): Remove
1176 definitions in hpux11 cross-build because these functions do
1177 not exist on hpux11 (but some exist on hpux10); move defaults out
1178 into existing sections.
1179 * configure: Regenerate.
1181 2002-06-18 Benjamin Kosnik <bkoz@redhat.com>
1183 * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
1184 * include/c/std_cwctype.h: Guard.
1186 * libsupc++/eh_alloc.cc: Tweak include order.
1187 * libsupc++/pure.cc: Use cstdio.
1188 * libsupc++/new_op.cc: Remove malloc forward declaration, as
1189 cstdlib brings it in. Use std::malloc.
1191 * src/Makefile.am (sources): Remove cmath.cc.
1192 * src/Makefile.in: Regenerate.
1193 * src/cmath.cc: Remove.
1195 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
1197 * configure.target: Force mips to use the generic cpu routines.
1199 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
1201 * configure.host: Delete file.
1202 * configure.target: More documentation. Factor out common parts of
1203 script into "intelligent" settings about defaults. Remove redundancy.
1205 * acinclude.m4: Update comments. Do not call configure.host.
1206 (GLIBCPP_ENABLE_SYMVERS): If disabled, do not bother checking for
1208 * configure.in: Slight reformatting, more comments. Factor out
1209 "config/" from all the directories.
1210 * docs/html/17_intro/porting.texi: Update and expand.
1211 * testsuite/Makefile.am (AM_RUNTESTFLAGS): Move empty setting
1212 from configure.host.
1214 * aclocal.m4, configure, docs/html/17_intro/porting.html,
1215 testsuite/Makefile.in: Regenerate.
1217 2002-06-16 Phil Edwards <pme@gcc.gnu.org>
1219 * docs/doxygen/TODO: Update.
1220 * docs/doxygen/tables.html: Uncomment magical middle column.
1221 * docs/doxygen/user.cfg.in: Kludge to ignore function-like macros.
1222 * include/bits/stl_queue.h: Doxygenate and reformat.
1223 * include/bits/ios_base.h, include/std/std_streambuf.h: Add comment
1224 for deprecated names required by the standard.
1226 2002-06-14 J.T. Conklin <jtc@acorntoolworks.com>
1228 * configure.in (target_alias): Fix.
1229 * configure: Regenerate.
1230 * aclocal.m4: Regenerate.
1232 2002-06-12 Phil Edwards <pme@gcc.gnu.org>
1234 * include/Makefile.am: Add new files.
1235 * include/Makefile.in: Regenerate.
1237 * include/bits/stl_deque.h, include/bits/stl_list.h,
1238 include/bits/stl_vector.h: Clean up, reformat. Move definitions...
1239 * include/bits/deque.tcc, include/bits/list.tcc,
1240 include/bits/vector.tcc: ...to here. New files.
1242 * include/ext/stl_hashtable.h: Inclide correct full headers.
1243 * include/std/std_deque.h: Include .tcc files for now.
1244 * include/std/std_list.h: Likewise.
1245 * include/std/std_vector.h: Likewise.
1247 2002-06-12 Daniel Jacobowitz <drow@mvista.com>
1249 * Makefile.am: Add FLAGS_TO_PASS.
1250 * Makefile.in: Regenerated.
1252 2002-06-11 J.T. Conklin <jtc@acorntoolworks.com>
1253 Benjamin Kosnik <bkoz@redhat.com>
1255 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
1257 * configure.in: Add support for *-qnx6.[12]*.
1258 * configure: Regenerate.
1260 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
1262 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
1263 ctype_noninline.h, os_defines.h: New files.
1265 2002-06-10 Loren J. Rittle <ljrittle@acm.org>
1267 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
1268 include all required headers for test against older POSIX standard.
1269 (GLIBCPP_CHECK_SETRLIMIT): Likewise.
1270 (ac_setrlimit): Likewise.
1271 * aclocal.m4: Regenerate.
1272 * configure: Regenerate.
1273 * testsuite/testsuite_hooks.cc: Reorder and include all
1274 required headers for use against older POSIX standard.
1276 2002-06-08 Paolo Carlini <pcarlini@unitus.it>
1278 * testsuite/backwards/strstream_members.cc: New.
1280 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
1282 * include/backwards/strstream: Format.
1283 * src/strstream.cc: Format.
1285 2002-06-08 Andreas Schwab <schwab@suse.de>
1287 * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
1288 _M_buf_size and _M_buf_size_opt to the new buffer and size.
1290 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
1292 * config/os/generic/bits/ctype_noninline.h: Tweak format.
1294 2002-06-07 Steve Ellcey <sje@cup.hp.com>
1296 * src/locale-inst.cc (__codecvt_abstract_base):
1297 Put inside _GLIBCPP_USE_WCHAR_T ifdef.
1298 * include/bits/istream.tcc (basic_istream): Ditto.
1301 * include/bits/ostream.tcc (basic_ostream): Ditto.
1305 (operator<<): Ditto.
1307 2002-06-07 Phil Edwards <pme@gcc.gnu.org>
1309 * mkcheck.in: Link against local testsuite library.
1310 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
1311 implementation out...
1312 * testsuite/testsuite_hooks.cc: ...to here.
1314 2002-06-06 Loren J. Rittle <ljrittle@acm.org>
1316 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
1317 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
1318 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
1319 * src/Makefile.in: Regenerate (explicitly with --cygnus option).
1320 * testsuite/Makefile.in: Likewise.
1322 2002-06-05 David Edelsohn <edelsohn@gnu.org>
1324 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
1325 Call external symbol.
1327 2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1329 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1330 Search correct multilib testsuite dir for libv3test.
1332 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
1333 Gaby Dos Reis <gdr@codesourcery.com>
1335 * include/bits/basic_string.tcc
1336 (basic_string::_S_construct(forward_iterator_tag):
1337 Fix typo in null pointer check.
1338 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
1340 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
1342 * testsuite/22_locale/money_get_members_char.cc
1343 (test02): Add decimal point to long double constants.
1344 * testsuite/22_locale/money_get_members_wchar_t.cc
1346 * testsuite/22_locale/money_put_members_char.cc
1347 (test02, test03, test06): Likewise.
1348 * testsuite/22_locale/money_put_members_wchar_t.cc:
1349 (test02, test03, test06): Likewise.
1350 * testsuite/22_locale/num_get_members_char.cc:
1351 (test02, test01): Likewise; suffix long long constants with LL.
1352 * testsuite/22_locale/num_get_members_wchar_t.cc:
1353 (test02, test01): Likewise.
1354 * testsuite/22_locale/num_put_members_char.cc:
1355 (test02, test01): Likewise.
1356 * testsuite/22_locale/num_put_members_wchar_t.cc:
1357 (test02, test01): Likewise.
1359 2002-06-03 Marc Espie <espie@openbsd.org>
1361 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
1362 assembly for old assemblers.
1364 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1366 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
1368 (vector<bool>::swap(reference,reference)): ...to this.
1370 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1372 * docs/doxygen/TODO: Update.
1373 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
1374 some class members are in 14882 order.
1375 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
1377 * include/std/std_bitset.h: Update comment.
1378 * src/bitset.cc: Update comments, clean up spacing.
1380 * src/Makefile.am (sources): Alphabetize for convenience.
1381 * src/Makefile.in: Regenerate.
1383 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1385 * include/bits/stl_deque.h, include/bits/stl_list.h,
1386 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
1387 Reorder to match 14882. Doxygen blocks for all public members.
1389 2002-05-31 Marcus Meissner <meissner@suse.de>
1392 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
1393 * testsuite/23_containers/vector_bool.cc (test02): New test.
1395 2002-05-30 Marc Espie <espie@openbsd.org>
1397 * configure.in: Always check for sys/types.h
1398 * configure: Regenerate.
1400 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1402 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
1403 Rebuild the wrapper file every time this proc is called.
1405 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
1407 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
1409 * testsuite/Makefile.in: Regenerate.
1410 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
1411 list_modifiers.cc and rename from 'T'. Move code bodies...
1412 * testsuite/testsuite_hooks.cc: ...to here. New file.
1413 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
1414 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1415 Add libv3test.a to link options.
1417 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1419 * src/misc-inst.cc: Define unnecessary algorithm
1420 instantiations. Break apart instantiations into groupings below.
1421 * src/fstream-inst.cc: New.
1422 * src/io-inst.cc: New.
1423 * src/istream-inst.cc: New.
1424 * src/ostream-inst.cc: New.
1425 * src/streambuf-inst.cc: New.
1426 * src/sstream-inst.cc: New.
1427 * src/Makefile.am (sources): Add files.
1428 * src/Makefile.in: Regenerate.
1430 * acinclude.m4: Work around automake 1.4-p5 bug, change
1431 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
1433 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1436 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
1437 (classic_table): Fix.
1438 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1440 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1442 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
1443 _GLIBCPP_USE_WCHAR_T.
1444 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
1445 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
1446 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
1448 2002-05-26 Carlo Wood <carlo@alinoe.com>
1449 Paolo Carlini <pcarlini@unitus.it>
1452 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1453 (__enc_traits::operator=): add missing return statement.
1455 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
1458 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
1459 (operator>>): If nothing was extracted, don't fail in the
1461 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
1463 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
1466 * testsuite/22_locale/ctype_narrow_char.cc: New.
1467 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
1468 * testsuite/22_locale/ctype_widen_char.cc: New.
1469 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
1470 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
1471 * testsuite/22_locale/ctype_is_char.cc: ...this.
1472 * testsuite/22_locale/ctype_to_char.cc: ...and this.
1473 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
1474 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
1475 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
1477 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
1479 2002-05-24 Dale Peakall <dale@peakall.net>
1482 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
1483 * config/locale/generic/ctype_members.cc: Same.
1485 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
1488 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1489 for empty string literal.
1490 (ostream::operator<<(const _CharT*)): Same.
1491 (ostream<char>::operator<<(const char*)): Same.
1492 (ostream<char>::operator<<(streambuf*)): Same.
1493 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
1494 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
1496 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
1498 * configure.in (release_VERSION): Update to 3.1.1.
1499 (libtool_VERSION): Update to 4:1:0.
1500 * configure: Regenerate.
1502 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1504 * include/bits/stl_pair.h: Tweak comment markup.
1506 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1508 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
1510 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1512 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
1514 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1516 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
1517 Doxygenate all public members. Reorder to follow 14882.
1518 (vector::push_back(void)): Remove previously-deprecated fn.
1519 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
1520 Deprecate for removal in 3.3.
1522 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
1524 * docs/html/faq/index.html (5.4): Recommend against -I options for
1525 finding the ext headers.
1526 * docs/html/faq/index.txt: Regenerate.
1528 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
1530 * testsuite/23_containers/deque_operators.cc (test01):
1531 Fix minor typo in last commit.
1533 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
1536 * include/bits/stl_deque.h (_Deque_iterator::operator==,
1537 operator!=, operator<, operator>, operator>=, operator<=):
1538 Make non-member functions, to allow comparing const and
1539 non-const iterators in any order.
1540 * testsuite/23_containers/deque_operators.cc: New testfile.
1542 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
1544 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
1545 * docs/html/faq/index.txt: Regenerate.
1547 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1549 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
1550 * acinclude.m4: Likewise.
1551 * docs/html/Makefile: Likewise.
1552 * aclocal.m4: Regenerate.
1553 * configure: Regenerate.
1554 * Makefile.in: Regenerate.
1556 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
1559 * include/bits/c++config (__USE_MALLOC): Report case where
1560 the user improperly defined it on the command line.
1562 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1564 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
1565 Retrieve current limits before setting.
1567 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
1570 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1572 (ostream::operator<<(const _CharT*)): Same.
1573 (ostream<char>::operator<<(const char*)): Same.
1574 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
1576 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
1579 * src/strstream.cc (strstreambuf): Fix leak.
1581 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
1584 * include/bits/istream.tcc (istream::getline, ignore):
1585 Upon __idelim (__delim) call sbumpc() not snextc().
1586 * testsuite/27_io/narrow_stream_objects.cc:
1587 Add test08 and test09.
1589 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1591 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
1592 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
1594 * docs/html/install.html: Fix.
1596 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1598 * include/bits/fstream.tcc
1599 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
1601 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
1603 * docs/html/install.html: Tweak, add bits about required locales
1604 for the 22_locale tests when using the gnu model.
1606 * testsuite/27_io/istream_sentry.cc: Tweak.
1608 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1610 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
1611 Fix typo, use this->is() rather than manually (and perhaps
1612 incorrectly) inlining it.
1613 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
1615 * testsuite/22_locale/ctype_scan_char.cc: New file.
1617 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1618 Jakub Jelinek <jakub@redhat.com>
1620 * testsuite/22_locale/money_get_members_char.cc
1621 (test01, test02, test04): Use the de_DE@euro named locale
1622 instead of de_DE to allow for an uniform behaviour with
1623 both old and Euro-era localedata; tweak some tests.
1624 * testsuite/22_locale/money_get_members_wchar_t.cc
1625 (test01, test02, test04): Likewise.
1626 * testsuite/22_locale/money_put_members_char.cc
1627 (test01, test02, test04): Likewise.
1628 * testsuite/22_locale/money_put_members_wchar_t.cc
1629 (test01, test02, test04): Likewise.
1631 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1633 * testsuite/22_locale/codecvt_members_char_char.cc
1634 (test03): Robustify wrt localedata.
1635 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
1636 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
1637 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
1638 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
1639 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
1640 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
1641 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
1642 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
1643 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
1644 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
1645 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
1646 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
1647 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
1648 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
1649 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1650 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1651 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
1652 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
1653 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
1654 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
1655 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
1656 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
1658 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1660 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
1663 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1665 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
1666 to 64 for hppa 64-bit port.
1667 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
1669 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1671 * acinclude.m4 (enable_symvers): Quote $LD.
1672 * aclocal.m4: Regenerate.
1673 * configure: Likewise.
1675 2002-05-09 Jakub Jelinek <jakub@redhat.com>
1677 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
1678 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
1681 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
1683 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1684 script entry, and set LD to it when configuring multilibs.
1685 * configure: Rebuilt.
1687 2002-05-07 Mark Mitchell <mark@codesourcery.com>
1689 * configure.in: Add support for WindISS.
1690 * configure: Regenerated.
1691 * configure.target: Add support for WindISS.
1692 * config/os/windiss/bits/ctype_base.h: New file.
1693 * config/os/windiss/bits/ctype_inline.h: Likewise.
1694 * config/os/windiss/bits/ctype_noninline.h: Likewise.
1695 * config/os/windiss/bits/os_defines.h: Likewise.
1697 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
1699 Test all the facets for the temporary "C" locale switch issue.
1700 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
1701 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1702 * testsuite/22_locale/collate_members_char.cc: Add test04.
1703 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1704 * testsuite/22_locale/ctype_members_char.cc: Add test05.
1705 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
1706 * testsuite/22_locale/messages_members_char.cc: Add test03.
1707 * testsuite/22_locale/money_get_members_char.cc: Add test08.
1708 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1709 * testsuite/22_locale/money_put_members_char.cc: Add test07.
1710 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1711 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
1712 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1713 * testsuite/22_locale/num_get_members_char.cc: Add test06.
1714 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1715 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
1716 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1717 * testsuite/22_locale/time_get_members_char.cc: Add test08.
1718 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1719 * testsuite/22_locale/time_put_members_char.cc: Add test04.
1720 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1722 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1723 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1725 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1727 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
1728 __EXTENSIONS__): Ensure they are always defined.
1730 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
1732 * docs/html/documentation.html: Fix broken link.
1734 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
1735 Paolo Carlini <pcarlini@unitus.it>
1737 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
1738 testing for the locale_facets.tcc entry of the previous commit.
1739 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1741 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
1743 * config/locale/generic/c_locale.cc
1744 (__convert_to_v(float, double, long double)):
1745 Fix the temporary switch to the "C" locale, saving and
1746 restoring in the proper way the current locale.
1747 * config/locale/generic/time_members.cc
1748 (__timepunct<char, wchar_t>::_M_put): Likewise.
1749 * config/locale/gnu/messages_members.cc
1750 (messages<char>::do_get): Likewise.
1751 * config/locale/gnu/messages_members.h
1752 (messages<_CharT>::do_get): Likewise.
1753 * config/locale/gnu/time_members.cc
1754 (__timepunct<char, wchar_t>::_M_put): Likewise.
1755 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
1757 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1759 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
1760 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
1762 * Makefile.in, config.h.in, configure: Regenerate.
1764 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
1767 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
1768 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
1770 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1772 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
1774 (ctype:_M_table): Initialize to classic_table(), not __ctype.
1776 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1778 * configure.in: Update local install.html, configopts.html paths.
1779 * configure: Regenerate.
1781 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1783 * config/os/irix/irix5.2/bits/os_defines.h
1784 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
1786 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
1789 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
1791 * docs/html/faq/index.html: Update list in #4.1.
1792 * docs/html/faq/index.txt: Regenerated.
1794 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
1796 * docs/html/17_intro/RELEASE-NOTES (New): Update.
1798 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
1800 * include/std/std_bitset.h: Fix doxygen comments.
1801 * docs/html/documentation.html: Minor tweaks for 3.1.
1802 * docs/html/27_io/howto.html: Likewise.
1803 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
1804 * docs/html/faq/index.html: Likewise.
1805 * docs/html/faq/index.txt: Regenerated.
1807 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
1810 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
1811 (istreambuf_iterator::equal): Use it.
1812 (istreambuf_iterator::operator*): Use it.
1814 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
1817 * include/bits/stl_uninitialized.h
1818 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
1819 Fix typo in 2001-07-17 commit: typedef _ValueType to
1820 iterator_traits<_ForwardIter> not <_InputIter>.
1821 * testsuite/23_containers/vector_ctor.cc: Add test04.
1823 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
1826 * include/c_std/std_cctype.h: Include bits/c++config.h.
1827 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
1829 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
1831 * include/ext/stdio_filebuf.h: New file.
1832 * include/ext/enc_filebuf.h: New file.
1833 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
1834 * config/io/basic_file_stdio.cc: Same.
1835 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
1836 Remove _M_unbuf hacks.
1837 (filebuf::_M_destroy_internal_buffer): Same.
1838 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
1839 (filebuf::fd): Remove.
1840 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
1841 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
1842 (filebuf::fd): Remove.
1843 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
1845 (ios_base::_S_ios_destroy): Same.
1846 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
1847 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
1848 stdio_filebuf.h. * include/Makefile.in: Regenerate.
1850 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
1853 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
1855 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
1858 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1860 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
1861 (istreambuf_iterator::operator++): Invalidate on eof.
1862 (istreambuf_iterator::operator++(int)): Same.
1863 (istreambuf_iterator::operator*): Same.
1865 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1867 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
1868 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
1871 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
1874 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
1875 (__basic_file::sys_ungetc): Take int.
1876 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
1877 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1878 Use sys_getc for unbuffered input.
1879 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
1881 * src/ios.cc (_M_grow_words): Adjust error checking.
1882 * testsuite/27_io/ios_base_storage.cc: Same.
1884 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1886 * include/ext/stl_hashtable.h: Import __iterator_category
1888 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
1889 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1891 * testsuite/ext/hash_set.cc: New testfile.
1893 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
1895 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1897 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1898 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1900 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
1902 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
1903 Fix and tighten __throw_length_error check.
1904 * testsuite/21_strings/replace.cc (test05): New.
1905 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
1907 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
1909 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
1910 unconditional flush on lower-layer handle to here...
1911 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
1912 ...from here. Optimize remaining _M_file.sync() call pattern.
1913 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
1916 2002-04-23 Jason Merrill <jason@redhat.com>
1918 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
1919 output-only filebufs.
1920 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
1922 (basic_filebuf::_M_set_determinate): Likewise.
1925 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
1926 value properly in the trivial case.
1927 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
1928 tellg() returns the right value after a read.
1930 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
1932 * config/cpu/mmix/bits/cpu_limits.h: New file.
1933 * configure.target (CPULIMITSH): Use it.
1935 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
1937 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
1938 * docs/html/17_intro/porting.html: Rebuilt.
1940 2002-04-20 Jason Merrill <jason@redhat.com>
1943 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
1945 (basic_streambuf::_M_set_determinate): Likewise.
1946 (basic_streambuf::_M_is_indeterminate): Likewise.
1947 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
1948 non-static data member.
1949 (basic_filebuf::_M_underflow_common): New non-static member function.
1950 (basic_filebuf::_M_underflow, _M_uflow): Call it.
1951 (basic_filebuf::sync): Avoid useless seeking.
1952 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
1954 (basic_filebuf::_M_set_determinate): Likewise.
1955 (basic_filebuf::_M_is_indeterminate): Likewise.
1956 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
1957 back to _M_out_beg if necessary.
1958 (basic_filebuf::seekoff): Likewise.
1959 (basic_filebuf::_M_underflow_common): Generalization of old
1960 underflow(). Don't seek back to _M_in_beg.
1961 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
1962 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
1963 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
1964 * config/os/mingw32/bits/os_defines.h: Likewise.
1965 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
1968 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
1970 * include/bits/istream.tcc (istream::read): Fix.
1971 * testsuite/27_io/istream_unformatted.cc (main): Add.
1973 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
1976 * include/bits/istream.tcc (istream::ignore): Streamline, use
1978 * include/bits/streambuf.tcc: Use this->gptr.
1979 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
1981 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
1983 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
1984 as type safety is important, especially on solaris.
1985 * include/bits/istream.tcc (istream::read): Clean.
1986 (istream::readsome): Same.
1987 * locale.cc: Wrap lines.
1989 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
1990 * testsuite/27_io/instantiations.cc (test): Add bool variable...
1991 * testsuite/21_strings/capacity.cc: Clean.
1993 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
1995 * docs/doxygen/doxygroups.cc: New group on binary searching.
1996 * include/bits/stl_algo.h: Document binary searches and merges.
1997 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
1999 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2001 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
2002 * docs/doxygen/run_doxygen: Bump required version.
2003 * docs/doxygen/user.cfg.in: Revert accidental change.
2004 * docs/html/faq/index.html: Reindent a block of links.
2005 (4.4): New note on using dlsym.
2006 * docs/html/faq/index.txt: Regenerated.
2008 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2010 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
2012 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
2014 * config/linker-map.gnu (__malloc_alloc_template): Add.
2015 (__default_alloc_template): Same.
2016 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
2018 (__default_alloc_template): Same.
2020 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
2022 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
2024 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
2026 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
2027 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
2028 (__malloc_alloc_template): Conditionalize.
2030 * include/bits/istream.tcc: Remove sputbackc calls.
2032 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
2034 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
2036 * testsuite/24_iterators/rel_ops.cc: New test.
2038 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2040 * include/bits/type_traits.h (__normal_iterator): Declare in
2041 __gnu_cxx. Adjust use at global namespace.
2042 * include/bits/stl_iterator.h (__normal_iterator): Move definition
2043 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
2044 * include/bits/basic_string.h (basic_string): Adjust use of
2046 * include/bits/stl_vector.h (_Alloc>): Likewise.
2047 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
2048 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
2050 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
2054 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
2056 (__basic_file::close): Call fflush. Correct return if fclose ok.
2057 (__basic_file::is_open): Make const.
2058 Change __c_file_type to __c_file.
2059 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
2060 (__basic_file::is_open): Make const.
2061 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
2062 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
2063 (filebuf::_M_unbuf): Add.
2064 (filebuf::_M_file): Change to non-pointer.
2065 (filebuf::_M_allocate_pback_buffer): Remove.
2066 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
2067 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
2068 Change initialization list for _M_file change.
2069 (filebuf::_M_allocate_pback_buffer): Remove.
2070 Change _M_file usage to reflect non-pointer data member.
2072 * config/locale/generic/c_locale.cc
2073 (locale::facet::_S_create_c_locale): Add parameter.
2074 * config/locale/generic/collate_members.cc: Change
2075 _M_compare_helper to _M_compare.
2076 Change _M_transform_helper to _M_transform.
2077 * config/locale/generic/monetary_members.cc: Changeup data types.
2079 * config/locale/generic/numeric_members.cc: Add dtors.
2080 * config/locale/generic/time_members.cc: Add dtors.
2081 * config/locale/gnu/c_locale.cc: Add parameter.
2082 * config/locale/gnu/collate_members.cc:Change
2083 _M_compare_helper to _M_compare.
2084 Change _M_transform_helper to _M_transform.
2085 * config/locale/gnu/ctype_members.cc: Better error checking.
2086 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
2087 * config/locale/gnu/messages_members.cc: Tweak comment.
2088 * config/locale/gnu/monetary_members.cc: Change data types.
2090 * config/locale/gnu/numeric_members.cc: Add dtors, better error
2092 * config/locale/gnu/time_members.cc: Same.
2093 * config/locale/ieee_1003.1-2001/c_locale.cc
2094 (locale::facet::_S_create_c_locale): Add parameter.
2095 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
2096 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
2099 * include/bits/locale_facets.h (moneypunct): Use string literals.
2102 (__timepunct): Same.
2103 (locale::_Impl::_M_facets): Change from vector to array.
2104 (locale::_Impl::_M_names): Change from array of strings to array
2106 (locale::facet::_S_create_c_locale): Add parameter.
2107 (locale::locale::_S_num_facets): Move to...
2108 (locale::_Impl::_M_facets_size): Here.
2109 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
2111 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
2112 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
2113 (locale::_Impl::_Impl(string, size_t)): Change to
2114 (locale::_Impl::_Impl(const char*, size_t)): This.
2116 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
2117 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
2118 (streambuf::_S_pback_size): This.
2120 * src/globals.cc: Add pre-allocations for "C" facets.
2121 * src/locale-inst.cc: Remove vector instantiations.
2122 * src/locale.cc: Remove vector include. Fixups for _M_names,
2124 * src/localename.cc: Same.
2126 * include/bits/stl_vector.h: Fix odd formatting.
2128 * include/bits/basic_string.tcc: Tweak comment.
2130 * libsupc++/new: Make sure parameters are uglified.
2131 * libsupc++/typeinfo: Same.
2133 * testsuite/22_locale/num_get_members_char.cc: Fixup.
2134 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
2135 * testsuite/27_io/filebuf_members.cc: Same.
2137 2002-04-12 Steve Ellcey <sje@cup.hp.com>
2139 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
2140 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
2141 does not define strtoll or strtoull, but does define strtol
2142 and strtoul which are the same since in 64 bit mode
2143 sizeof(long) == sizeof(long long).
2145 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
2147 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
2148 trailing spaces, indentation, and macro names. Make exception
2149 messages more informative.
2151 2002-04-11 Richard Henderson <rth@redhat.com>
2153 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
2154 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
2155 (basic_ostream<>::operator<<(long long)): Same.
2157 2002-04-11 Richard Henderson <rth@redhat.com>
2159 * config/linker-map.gnu: Add __gxx_personality_sj0.
2161 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
2164 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
2166 Remove forward declaration of vector.
2168 * include/bits/locale_facets.tcc: Remove vector include.
2169 (use_locale): Adjust.
2170 (has_locale): Adjust.
2171 * src/locale.cc: Adjust.
2172 * src/localename.cc: Same.
2174 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
2175 Richard Henderson <rth@redhat.com>
2177 * include/bits/sstream.tcc: Clean up bit ops.
2178 * include/bits/fstream.tcc: Same.
2180 2002-04-09 Jakub Jelinek <jakub@redhat.com>
2182 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
2183 (__num_base::_S_scale_oct): Remove.
2184 * src/locale.cc (__num_base::_S_scale_hex): Remove.
2185 (__num_base::_S_scale_oct): Remove.
2187 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
2190 * testsuite/23_containers/bitset_members.cc: New test.
2191 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
2192 (_S_bit_count): Here.
2193 (_First_one::_S_first_one): Move...
2194 (_S_first_one): Here.
2196 * src/bitset.cc: Adjust.
2197 * config/linker-map.gnu: Export.
2199 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
2202 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
2203 * include/std/std_fstream.h: Clean.
2204 * include/bits/ostream.tcc: Remove extraneous variables.
2205 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
2206 open modes and which modes.
2207 (stringbuf::seekpos): Same.
2208 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
2210 2002-04-05 Jonathan Wakely <jw@kayari.org>
2212 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
2213 random_shuffle, partition, stable_partition, sort, stable_sort,
2214 partial_sort, partial_sort_copy, nth_element): Doxygenate.
2216 2002-04-05 David S. Miller <davem@redhat.com>
2218 * config/os/gnu-linux/bits/os_defines.h
2219 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
2221 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
2224 via gawrilow@math.tu-berlin.de
2225 * acinclude.m4 (version_specific_libs): Fix combo usage with
2226 --with-gxx-include-dir.
2227 * aclocal.m4: Regenerate.
2230 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
2232 As per DR 184, libstdc++/3139
2233 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
2234 (numeric_limits<bool>::is_iec559): False.
2235 (numeric_limits<bool>::is_modulo): False.
2237 * testsuite/27_io/ios_init.cc: Add instantiations.
2239 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
2242 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
2243 * testsuite/27_io/ios_init.cc (tests04): Add test.
2246 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
2247 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
2248 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
2249 * include/bits/istream.tcc: Use _M_fctype, make consistent with
2251 * testsuite/27_io/ios_init.cc (tests03): Add test.
2253 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
2255 * include/Makefile.am (install-data-local): Use mkinstalldirs.
2256 * include/Makefile.in: Regenerate.
2258 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
2259 Nathan Myers <ncm@cantrip.org>
2260 Philip Martin <philip@codematters.co.uk>
2262 * include/bits/basic_string.h
2263 (replace(i1, i2, _CharT* k1, _CharT* k2),
2264 replace(i2, i2, const _CharT* k1, const _CharT* k2),
2265 replace(i1, i2, iterator k1, iterator k2,
2266 replace(i1, i2, const_iterator k1, const_iterator k2):
2267 New specializations to optimize for the common cases of
2268 pointers and iterators.
2269 (replace(pos, n1, s, n2)): Tweak.
2270 * include/bits/basic_string.tcc: Tweak comments.
2271 * testsuite/21_strings/replace.cc (test04): New tests.
2273 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
2276 * acinclude: More extensive checks for msgfmt, --enable-nls.
2277 * aclocal.m4: Regenerate.
2278 * configure: Regenerate.
2280 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
2282 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
2283 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
2284 * docs/html/18_support/howto.html: Document the demangler.
2285 * docs/html/17_intro/howto.html: And link to it.
2287 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
2288 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
2290 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
2292 * config/linker-map.gnu: Export __verbose_terminate_handler.
2293 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
2294 Make new LTCOMPILE variable, use it in new special build rules.
2295 * libsupc++/Makefile.in: Rebuild.
2296 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
2297 runtime __cxa_demangle.
2299 * docs/html/install.html: Update prereqs and instructions.
2300 * docs/html/19_diagnostics/howto.html: Bring naming for
2301 verbose_terminate_handler into line with reality.
2303 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
2306 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
2307 (basic_ios::_M_streambuf_state): Move.
2308 * include/bits/ios_base (ios_base): To here.
2309 * include/bits/ios_base.h (ios_base::_S_local_words): To
2311 (ios_base::_M_word_array): To _M_local_word.
2312 (ios_base::_M_words_limit): To _M_word_size.
2313 (ios_base::_M_words): To _M_word.
2315 * include/bits/basic_ios.tcc: Adjust.
2316 * src/ios.cc (ios_base::_M_grow_words): Tweak.
2317 * testsuite/27_io/ios_base_storage.cc: Add tests.
2320 Kenny Simpson <theonetruekenny@yahoo.com>
2321 * include/bits/ios_base.h: Fix.
2323 Richard Henderson <rth@redhat.com>
2324 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
2327 * include/bits/basic_string.h: Tweak formatting.
2329 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
2331 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
2332 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
2333 By definition, sizeof(char) == 1.
2334 * include/bits/locale_facets.tcc (money_get::do_get,
2335 money_put::do_put): Ditto.
2336 * testsuite/21_strings/inserters_extractors.cc
2339 2002-03-30 Richard Henderson <rth@redhat.com>
2342 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
2343 data out of the exception struct before calling unexpectedHandler.
2345 2002-03-28 Roger Sayle <roger@eyesopen.com>
2347 * include/c_std/std_cmath.h: To prevent problems overloading
2348 g++ builtins, use the double variants from the global namespace
2349 before defining float and long double variants in std::.
2351 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
2353 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
2355 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
2357 * testsuite/24_iterators/istream_iterator.cc
2358 (test02): New tests.
2360 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2361 Paolo Carlini <pcarlini@unitus.it>
2363 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
2364 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
2365 fix i_lit_base e_lit_base arrays, making them independent
2366 from the endianness of the platform; tweak UCS4 to UCS-4BE.
2368 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
2370 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
2371 allocate at least a byte.
2373 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
2375 * testsuite/27_io/streambuf.cc (test07): Fix.
2378 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
2380 * docs/doxygen/Intro.3: Date tweak.
2381 * docs/doxygen/TODO: Update.
2382 * docs/doxygen/doxygroups.cc: Point to tables.html.
2383 * docs/doxygen/mainpage.html: Date tweak.
2384 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
2385 * docs/doxygen/tables.html: Fill in the blanks.
2387 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
2388 * include/bits/stl_algo.h: Likewise; use expanded form.
2389 * include/bits/stl_alloc.h: Likewise.
2390 * include/bits/stl_construct.h: Likewise.
2391 * include/bits/stl_deque.h: Likewise.
2392 * include/bits/stl_iterator_base_types.h: Likewise.
2393 * include/bits/stl_list.h: Likewise.
2394 * include/bits/stl_relops.h: Likewise.
2395 * include/bits/stl_tempbuf.h: Likewise.
2396 * include/bits/stl_vector.h: Likewise.
2397 * include/std/std_memory.h: Likewise.
2399 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
2400 * include/bits/stl_list.h: Likewise.
2401 * include/bits/stl_vector.h: Likewise.
2403 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
2405 * include/c/: Guard with _CPP_.
2406 * include/c_std/: Same.
2407 * include/Makefile.am: Fixup install, link routines for null
2408 c_base_headers_extra scenarios.
2409 * include/Makefile.in: Regerate.
2411 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
2412 Richard Henderson <rth@redhat.com>
2414 * testsuite/22_locale/codecvt_members_unicode_char.cc
2415 (test01, test02): make sure that the i_lit_base array
2416 is sufficiently aligned.
2418 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
2420 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
2423 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
2425 * testsuite/22_locale/collate_byname.cc
2426 (test01): compare the result of collate::compare with
2427 that of collate::transform + string::compare, not with
2428 that of collate::transform + collate::compare; values
2429 returned by collate::compare are normalized, therefore
2432 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
2433 Jakub Jelinek <jakub@redhat.com>
2435 * config/locale/gnu/messages_members.h: Correct conditional.
2436 * config/locale/gnu/messages_members.cc: Same.
2437 * config/locale/gnu/time_members.cc: Same.
2439 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2440 Paolo Carlini <pcarlini@unitus.it>
2442 * testsuite/22_locale/codecvt_members_unicode_char.cc
2443 (test01, test02): Fix i_lit_base arrays, making them
2444 independent from the endianness of the platform.
2446 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2448 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
2449 signbit and __signbit directly.
2450 * aclocal.m4: Regenerate.
2451 * configure: Regenerate.
2452 * config.h.in: Regenerate.
2453 * libmath/Makefile.am: Simplify.
2454 * libmath/Makefile.in: Regenerate.
2455 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
2457 * include/Makefile.am: Clean up handling of extra "C" header files.
2458 Add hooks for "C" compatibility headers.
2459 * include/Makefile.in: Regenerate.
2461 * include/c/*: Formatting tweaks, cleanups.
2462 * include/c_std/*: Same.
2464 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2466 * config/locale/gnu/messages_members.h: Add __uselocale bits.
2467 * config/locale/gnu/messages_members.cc: Same.
2468 * config/locale/gnu/time_members.cc: Same.
2470 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2472 * src/vterminate.cc: Format, -fno-exceptions cleanup.
2474 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2476 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
2477 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
2478 * aclocal.m4: Regenerate.
2479 * configure: Likewise.
2481 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
2482 Ulrich Drepper <drepper@redhat.com>
2484 * src/locale-inst.cc (__convert_from_v): Add an additional
2485 __size parameter in the declarations.
2486 * include/bits/locale_facets.tcc
2487 (__convert_from_v): When available (that is,
2488 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
2489 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
2490 being defined or not, call and use __convert_from_v in the
2492 (num_put::_M_convert_int): Same here.
2493 (money_put::do_put(long double)): Same here.
2495 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
2497 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
2498 * docs/html/faq/index.txt: Regenerate.
2500 2002-03-19 Steve Ellcey <sje@cup.hp.com>
2502 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
2503 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
2504 --enable-libunwind-exceptions is set.
2505 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
2506 macro to check for libunwind.
2507 * configure: Regenerate.
2508 * src/Makefile.am (libstdc___la_LDFLAGS): Add
2509 LIBUNWIND_FLAG to libstdc link line.
2510 * src/Makefile.in: Regenerate.
2512 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
2514 * docs/html/faq/index.html: Add OS X workaround.
2515 * docs/html/17_intro/TODO: Update.
2517 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
2519 * include/bits/locale_facets.tcc
2520 (money_put::do_put(long double)): Fix dimensioning of
2521 temporary buffers to avoid risk of overruns.
2522 (money_put::do_put(string)): Same for the buffer used to
2523 add the grouping chars.
2524 * testsuite/22_locale/money_put_members_char.cc: Add test06.
2525 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2527 * include/bits/locale_facets.tcc
2528 (collate::do_transform): Simplify.
2530 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
2532 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
2533 * configure.in: Add comments pointing the way for autoconf 2.5x.
2534 * aclocal.m4, config.h.in, configure: Regenerate.
2536 2002-03-18 Philipp Thomas <pthomas@suse.de>
2538 * include/backward/hash_map.h: hash, hashtable, hash_map and
2539 hash_multimap are in namespace __gnu_cxx.
2540 include/backward/hash_set.h: hash, hashtable, hash_set and
2541 hash_multiset are in namespace __gnu_cxx.
2542 include/backward/hashtable.h: hash and hashtable are in
2543 namespace __gnu_cxx.
2544 include/backward/rope.h: char_producer, sequence_buffer,
2545 rope, crope and wrope are in namespace __gnu_cxx.
2546 include/backward/slist.h: slist is in namespace __gnu_cxx.
2547 * testsuite/backward/header_hash_map_h.cc
2548 testsuite/backward/header_hash_set_h.cc
2549 testsuite/backward/header_hashtable_h.cc
2550 testsuite/backward/header_rope_h.cc
2551 testsuite/backward/header_slist_h.cc
2552 testsuite/backward/header_tempbuf_h.cc: New tests for
2553 checking that we're using the correct namespace.
2555 2002-03-17 Jason Merrill <jason@redhat.com>
2558 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
2559 (check_exception_spec): Call it. Take the thrown pointer.
2560 (__cxa_call_unexpected): Pass it.
2561 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
2563 2002-03-15 Anthony Green <green@redhat.com>
2565 * configure.in: Remove useless is_mingw32.
2566 * configure: Rebuilt.
2568 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
2570 * testsuite/22_locale/collate_members_char.cc
2571 (test01): compare the result of collate::compare with
2572 that of collate::transform + string::compare, not with
2573 that of collate::transform + collate::compare.
2574 (test01): values returned by collate::compare are
2575 normalized, therefore test against +-1.
2576 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
2578 2002-03-12 Loren Rittle <ljrittle@acm.org>
2580 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2581 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
2583 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2584 Per Liboriussen <liborius@stofanet.dk>
2586 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
2588 * config/os/gnu-linux/bits/ctype_inline.h: Same.
2590 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
2592 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
2593 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2595 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
2596 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2598 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
2599 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2601 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
2603 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2605 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
2606 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
2607 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
2608 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
2609 that memory limits are in place.
2610 (test03): Add tests.
2612 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2614 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
2615 * aclocal.m4: Regenerate.
2616 * config.h.in: Regenerate.
2617 * configure: Regenerate.
2618 * include/c_std/std_cwctype.h: Guard.
2620 2002-03-11 Chris Demetriou <cgd@broadcom.com>
2622 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
2623 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
2624 * aclocal.m4: Regenerate.
2625 * configure: Regenerate.
2627 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2629 * include/bits/stl_bvector.h: Fix warning.
2631 2002-03-11 Richard Henderson <rth@redhat.com>
2633 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
2635 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2637 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
2638 New function. Build the list of tests to run in testsuite_files.
2639 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
2641 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2643 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
2644 platforms with no weak support.
2645 * testsuite/27_io/ios_init.cc: Likewise.
2647 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
2649 * include/bits/locale_facets.tcc (time_put::do_put):
2650 Consider sizeof(char_type) in allocating the buffer.
2652 * include/bits/locale_facets.tcc (collate::do_tranform):
2653 Remove redundant variable.
2655 2002-03-10 Ulrich Drepper <drepper@redhat.com>
2656 Paolo Carlini <pcarlini@unitus.it>
2658 * config/locale/generic/collate_members.cc
2659 (collate<char,wchar_t>::_M_compare_helper): normalize
2660 values returned by strcoll and wcscoll.
2661 * config/locale/gnu/collate_members.cc
2662 (collate<char,wchar_t>::_M_compare_helper): ditto
2663 for __strcoll_l and __wcscoll_l.
2665 2002-03-10 Anthony Green <green@redhat.com>
2667 * configure.in: Support cross builds to mingw32 target.
2668 * configure: Rebuilt.
2670 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
2672 * include/bits/locale_facets.tcc (collate::do_transform):
2673 Rewrite to fix problems with long transformed strings.
2675 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2677 * c_locale_generic.cc: Move to...
2678 * generic/c_locale.cc
2679 * c_locale_generic.h: Move to...
2680 * generic/c_locale.h
2681 * codecvt_specializations_generic.h: Move to...
2682 * generic/codecvt_specializations.h
2683 * collate_members_generic.cc: Move to...
2684 * generic/collate_members.cc
2685 * ctype_members_generic.cc: Move to...
2686 * generic/ctype_members.cc
2687 * messages_members_generic.cc: Move to...
2688 * generic/messages_members.cc
2689 * messages_members_generic.h: Move to...
2690 * generic/messages_members.h
2691 * moneypunct_members_generic.cc: Move to...
2692 * generic/monetary_members.cc
2693 * numpunct_members_generic.cc: Move to...
2694 * generic/numeric_members.cc
2695 * time_members_generic.cc: Move to...
2696 * generic/time_members.cc
2697 * c_locale_gnu.cc: Move to...
2699 * c_locale_gnu.h: Move to...
2701 * collate_members_gnu.cc: Move to...
2702 * gnu/collate_members.cc
2703 * ctype_members_gnu.cc: Move to...
2704 * gnu/ctype_members.cc
2705 * messages_members_gnu.cc: Move to...
2706 * gnu/messages_members.cc
2707 * messages_members_gnu.h: Move to...
2708 * gnu/messages_members.h
2709 * moneypunct_members_gnu.cc: Move to...
2710 * gnu/monetary_members.cc
2711 * numpunct_members_gnu.cc: Move to...
2712 * gnu/numeric_members.cc
2713 * time_members_gnu.cc: Move to...
2714 * gnu/time_members.cc
2715 * c_locale_ieee_1003.1-200x.cc: Move to...
2716 * ieee_1003.1-2001/c_locale.cc
2717 * c_locale_ieee_1003.1-200x.h: Move to...
2718 * ieee_1003.1-2001/c_locale.h
2719 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
2720 * ieee_1003.1-2001/codecvt_specializations.h
2721 * messages_members_ieee_1003.1-200x.cc: Move to...
2722 * ieee_1003.1-2001/messages_members.cc
2723 * messages_members_ieee_1003.1-200x.h: Move to...
2724 * ieee_1003.1-2001/messages_members.h
2726 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
2727 * aclocal.m4: Regenerate.
2728 * configure: Regenerate.
2729 * src/Makefile.am (sources): Change to monetary and numeric.
2730 * src/Makefile.in: Regenerate.
2731 * docs/html/configopts.html: Update to ieee_1003.1-2001.
2733 2002-03-08 scott snyder <snyder@fnal.gov>
2736 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
2737 Allow one more digit of precision.
2738 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
2739 write a double and read back in the same value.
2741 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2743 * include/std/std_limits.h: Move static const data members out of
2744 generic template, into base class __numeric_limits_base.
2745 * src/limits.cc: Add definitions.
2746 * config/linker-map.gnu: Add __numeric_limits_base.
2747 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
2749 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
2751 * include/bits/stl_alloc.h: Add extern implicit allocator
2753 * include/bits/basic_string.tcc: Tweak.
2754 * include/bits/locale_facets.tcc: Remove default args. Add
2755 has_facet, use_facet extern instantiations.
2756 * src/stl-inst.cc: Add explicit instantiation.
2757 * src/locale-inst.cc: Clean. Remove locale member template
2760 * testsuite/22_locale/operators.cc (test02): Enable.
2762 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
2763 Stephen M. Webb <stephen.webb@bregmasoft.com>
2765 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
2766 (_S_rb_tree_black): Make enum.
2768 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
2769 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
2770 (__stl_threshold): _M_threshold, enum.
2771 * src/stl-inst.cc: Same.
2772 * config/linker-map.gnu: Remove.
2774 * testsuite/23_containers/vector_bool.cc: New.
2776 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2778 * docs/doxygen/user.cfg.in: Also document deprecated entries.
2779 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
2780 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
2781 referring to the collection as a whole. New section on which macros
2782 can be redefined by the user.
2783 * docs/html/19_diagnostics/howto.html: Update note for concepts.
2784 * docs/html/20_util/howto.html: Update link to SGI.
2785 * docs/html/faq/index.html: Update snapshot versions. New entry
2786 on why g++ (but not gcc) must currently predefine certain macros.
2787 * docs/html/faq/index.txt: Regenerated.
2789 * include/bits/basic_string.h (basic_string::_S_construct): Fix
2790 names in declaration.
2791 (basic_string::compare): These are no longer optional.
2792 * include/bits/ostream.tcc: Tweak closing brace placement.
2793 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
2794 * include/std/std_sstream.h: Fix typo in comment.
2795 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
2796 * src/locale.cc: Likewise.
2798 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2801 * include/bits/stl_vector.h (vector::push_back()): Guard with
2802 _GLIBCPP_DEPRECATED.
2804 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2806 * include/bits/c++config: Fix misplaced leading blanks on first line.
2808 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
2810 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
2811 * README (libmath): Make clear.
2813 2002-03-05 Jakub Jelinek <jakub@redhat.com>
2815 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
2816 script globbing in ld.
2817 * aclocal.m4: Rebuilt.
2818 * configure: Rebuilt.
2820 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
2822 * docs/html/17_intro/RELEASE-NOTES: Update.
2823 * README: Format subdirectories.
2825 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
2828 * include/bits/locale_facets.tcc
2829 (num_get::_M_extract_float): Fix the parsing of __dec, since
2830 the standard prescribes that if no grouping characters are
2831 seen, no grouping check is applied.
2832 * testsuite/22_locale/num_get_members_char.cc: Add test05
2833 distilled from the PR.
2834 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2836 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
2838 * docs/html/17_intro/porting-howto.xml: Refer to
2839 http://www.oasis-open.org for docbookx.dtd.
2840 * docs/html/17_intro/porting-howto.html: Regenerated.
2842 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
2845 * include/std/std_sstream.h: Remove trailing spaces.
2846 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
2847 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
2849 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
2851 * testsuite/22_locale/num_get_members_char.cc (test04):
2852 Use a named locale expecting grouping (de_DE).
2853 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
2855 * testsuite/27_io/ios_manip_basefield.cc (test01):
2856 Extend coverage, uniform treatment of hexs and octs.
2858 2002-02-28 Richard Henderson <rth@redhat.com>
2860 * config/linker-map.gnu: Export operator new with unsigned long,
2861 and with std::nothrow_t. Likewise operator delete.
2863 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
2865 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
2866 Admit grouping for octals and hexadecimals too.
2867 * testsuite/22_locale/num_get_members_char.cc: Add test04.
2868 (test01): Tweak "." -> "," in void* test.
2869 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2871 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
2872 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
2874 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
2876 * testsuite/27_io/ios_manip_basefield.cc (test01):
2877 Fix for 64 bit machines.
2879 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
2882 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
2884 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
2885 (basic_ios::_M_fill_init): New.
2886 (basic_ios::fill()): Delay dealing with _M_fill.
2888 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
2889 (ios_base::_M_call_callbacks): Adjust.
2890 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
2892 2002-02-26 Loren Rittle <ljrittle@acm.org>
2894 * include/Makefile.am (thread_target_headers): Unconditionally
2895 stage and install gthr-posix.h.
2896 (${target_builddir}/gthr-posix.h): New rule cloned off
2897 ${target_builddir}/gthr-default.h.
2898 (${target_builddir}/gthr-default.h): Support chained inclusion
2899 of gthr support headers.
2900 * include/Makefile.in: Rebuilt.
2902 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
2904 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
2905 Group all the integral types, not only decs.
2906 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
2907 tests, add a few more.
2909 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
2911 * src/ios.cc (ios_base::~ios_base): Tweak.
2912 (ios_base::_M_call_callbacks): Deal with null __p.
2913 (ios_base::ios_base): Set _M_callbacks.
2914 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
2915 * testsuite/27_io/ios_init.cc (test02): Fix.
2917 * mkcheck.in (static_fail): Failed links go to output file.
2919 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
2921 * docs/html/faq/index.html: Update.
2922 * docs/html/faq/index.txt: Regenerate.
2924 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
2926 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
2927 * aclocal.m4: Regenerate.
2928 * docs/html/configopts.html: Document --enable-symvers.
2929 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
2931 2002-02-22 Philipp Thomas <pthomas@suse.de>
2933 * include/backward/tempbuf.h: get_temporary_buffer and
2934 return_temporary_buffer are in namespace std, not in __gnu_cxx.
2936 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
2938 * configure.in (target_alias): Default to yes.
2939 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
2940 libgcc to default case.
2942 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
2944 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
2945 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
2946 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
2947 * aclocal.m4: Regenerate.
2948 * configure: Regenerate.
2949 * config/linker-map.dummy: New file. Contains nothing useful.
2951 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
2953 * testsuite/22_locale/money_put_members_char.cc: Fix.
2954 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
2956 * testsuite/27_io/standard_manipulators.cc: New file.
2958 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
2959 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
2961 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
2963 * config/os/mingw32/bits/ctype_noninline.h
2964 (ctype<char>::ctype): Remove default args from parm list.
2965 * config/os/djgpp/bits/ctype_noninline.h: Same.
2967 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
2969 * include/std/std_iomanip.h: Inline, tweaks.
2970 * config/linker-map.gnu: Remove hacks.
2972 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
2973 * testsuite/27_io/ios_init.cc: Same.
2974 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
2975 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
2977 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
2979 * config/linker-map.gnu: Export global vtable, typeinfo, guard
2980 variable, and thunk info as per CXXABI docs.
2982 2002-02-19 Loren Rittle <ljrittle@acm.org>
2984 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
2985 * include/Makefile.in: Rebuilt.
2987 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2989 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
2990 with size3 for the string collations of str5.
2992 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
2995 * include/bits/locale_facets.tcc (money_put::do_put):
2996 For the space field use __fill instead of ' ', uniformly.
2997 * testsuite/22_locale/money_put_members_char.cc:
2998 Add test05 distilled from PR.
2999 (test01-02-03): Trim some '*' to ' '.
3000 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
3002 2002-02-18 Loren Rittle <ljrittle@acm.org>
3005 * include/Makefile.am (thread_builddir): Remove (map all
3006 existing uses to target_builddir).
3007 (thread_headers): Rename to...
3008 (thread_target_headers): ...this.
3009 (stamp-thread): Remove.
3010 (stamp-target): Correctly state the position as built.
3011 Update all dependencies to match the new reality. Remove all
3012 dependency calculations on directories.
3013 * include/Makefile.in: Rebuilt.
3015 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
3017 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
3018 * include/bits/fstream.tcc: Same.
3019 * include/bits/sstream.tcc: Same.
3020 * include/bits/ostream.tcc: Same.
3021 * include/bits/istream.tcc: Same.
3022 * include/bits/streambuf.tcc: Same.
3023 * include/bits/basic_ios.tcc: Same.
3024 * include/bits/basic_string.tcc: Same.
3026 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3028 * include/std/std_iosfwd.h: Don't guard typedefs with
3029 _GLIBCPP_USE_WCHAR_T
3030 * include/bits/stringfwd.h: Same.
3032 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3034 * src/locale.cc (moneypunct_byname): Remove definitions.
3035 * include/std/std_streambuf.h (streambuf::operator=): Return.
3037 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3040 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
3041 explicit instantiation.
3042 (string::_Rep::_S_max_size): Same.
3043 * include/bits/basic_string.tcc: Add extern explicit
3044 instantiations for string, wstring.
3045 * include/bits/basic_ios.tcc: Add extern explicit instantiations
3047 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
3048 * include/bits/istream.tcc: Same, for istream, wistream.
3049 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
3051 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
3052 istringstream, wistringstream, ostringstream, wostringstream,
3053 stringstream, wstringstream.
3054 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
3055 wifstream, ofstream, wofstream, fstream, wfstream.
3056 * src/misc-inst.cc: Correct comments.
3057 Add iomanip instantiations for wide streams.
3058 * include/std/std_iomanip.h: Same.
3059 * include/bits/locale_facets.tcc: Same.
3061 * include/std/std_streambuf.h: Correct
3062 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
3063 * include/std/std_sstream.h: Same.
3064 * include/std/std_ostream.h: Same.
3065 * include/std/std_istream.h: Same.
3066 * include/std/std_fstream.h: Same.
3068 * include/std/std_streambuf.h: Add definitions for private copy
3069 ctor and assignment operator.
3070 * include/std/std_istream.h: Remove declared but undefined copy
3071 ctor and assignment operator. This is taken care of in ios_base,
3072 so adding it in the derived class as well is superfluous.
3073 * include/std/std_ostream.h: Same.
3075 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
3076 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
3078 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
3080 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
3081 Add typeinfo bits. Smooth.
3082 * aclocal.m4: Regenerate.
3084 * src/Makefile.in: Same.
3086 2001-02-14 Joel Sherrill <joel@OARcorp.com>
3088 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
3089 which do not have a CAS instruction.
3091 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
3093 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
3094 * configure.in: Call it.
3095 * config/linker-map.gnu: New file, initial incomplete revision.
3096 * src/Makefile.am: Optionally pass version script to the linker.
3097 * aclocal.m4: Regenerate.
3098 * configure: Regenerate.
3099 * src/Makefile.in: Regenerate.
3101 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
3103 * src/localename.cc: Remove stdexcept include.
3104 * src/locale-inst.cc: Same.
3105 * src/locale.cc: Same.
3106 * src/functexcept.cc: Remove string includes.
3107 * include/std/std_bitset.h: Remove stdexcept include.
3108 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
3109 * testsuite/23_containers/bitset_ctor.cc: Same.
3111 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
3113 * include/bits/stl_algo (__stl_threshold): Declare external.
3114 (__stl_chunk_size): Same.
3115 * include/bits/stl_bvector.h (__WORD_BIT): Same.
3116 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
3117 (_S_rb_tree_black): Same.
3118 * src/stl-inst.cc (__stl_threshold): Define.
3119 (__stl_chunk_size): Same.
3121 (_S_rb_tree_red): Same.
3122 (_S_rb_tree_black): Same.
3124 * config/io/basic_file_libio.h (__basic_file): Add declarations.
3125 * include/bits/basic_file.h: Remove.
3126 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
3127 Declare generic types, specialization.
3128 * config/io/basic_file_stdio.cc: Definitions.
3129 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
3130 Declare generic types.
3131 * include/Makefile.am (bits_headers): Remove basic_file.h.
3132 (extra_target_headers): Change basic_file_model.h to basic_file.h.
3133 (stamp-target): Same.
3135 * include/bits/stl_alloc.h: Tweaks.
3136 * include/bits/localefwd.h: Same.
3138 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
3140 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
3141 * testsuite/22_locale/collate_members_char.cc (test03): New test.
3142 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
3144 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
3146 * include/bits/stl_algo.h (transform (both signatures), generate_n):
3147 Use __typeof__ in concept checks.
3149 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
3151 * include/bits/stl_algo.h (__median, for_each, find, find_if,
3152 adjacent_find, count, count_if, search, search_n, swap_ranges,
3153 transform, replace, replace_if, replace_copy, replace_copy_if,
3154 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
3155 unique, unique_copy, reverse, reverse_copy): Doxygenate.
3157 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
3159 * include/bits/locale_facets.h
3160 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
3161 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
3162 (__timepunct<_CharT>::_M_put_helper): Same.
3163 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
3165 * include/bits/fstream.tcc (filebuf::underflow): Remove
3166 __codecvt_type typedef.
3167 (filebuf::_M_convert_to_external): Same.
3169 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
3171 * docs/doxygen/TODO: Update.
3172 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
3173 * docs/doxygen/mainpage.html: Add TODO list link.
3174 * docs/doxygen/user.cfg.in: Add @doctodo hook.
3175 * docs/doxygen/tables.html: New file, emoty structure only.
3177 * include/bits/stl_iterator.h: Doxygenate just about everything.
3178 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
3179 * include/bits/stl_iterator_base_types.h: Add notes.
3181 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
3183 * include/bits/stl_map.h: Tweak doxygen markup.
3184 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
3185 * include/bits/stl_vector.h: Likewise.
3187 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
3191 * include/std/std_fstream.h (filebuf::__file_type): Change to
3193 (filebuf::_M_convert_to_external): Declare.
3194 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
3195 codecvt bits for wide streams.
3196 (filebuf::_M_really_overflow): Use it.
3197 (filebuf::underflow): Use codecvt.
3198 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
3199 (codecvt<__enc_traits>::do_out): Deal with partial.
3200 (codecvt<__enc_traits>::do_encoding): Return something useful.
3201 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
3203 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
3204 Change expected encoding output.
3206 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
3209 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
3210 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
3212 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
3213 (basic_ios::widen): Same.
3215 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
3217 * testsuite/22_locale/money_get_members_char.cc:
3218 Add comment, tidy up.
3219 (test01): more "en_HK" tests (without showbase).
3220 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
3222 2002-02-06 Loren Rittle <ljrittle@acm.org>
3224 * config/locale/c_locale_generic.cc: Do not trust
3225 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
3228 2002-02-06 Loren Rittle <ljrittle@acm.org>
3230 * acinclude.m4: Add C++ linkage check for strtof.
3231 * aclocal.m4: Rebuilt.
3232 * config.h.in: Rebuilt.
3233 * configure: Rebuilt.
3234 * config/locale/c_locale_generic.cc: Conditionally include
3235 <ieeefp.h>. Improve handling and error checking of float
3236 and long double input for non-C99 configurations.
3238 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
3240 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3241 In case money_base::symbol deal properly with multi-char sign
3242 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
3243 * testsuite/22_locale/money_get_members_char.cc: Add test07.
3244 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
3246 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
3248 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3249 First construct a tentative returned string, then, only if the
3250 parsing succeeds, copy it into the string passed by reference.
3251 * testsuite/22_locale/money_get_members_char.cc: Add test06.
3252 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
3254 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
3256 * docs/doxygen/TODO: Impl-defined behavior now documented...
3257 * docs/html/17_intro/howto.html: ...here.
3258 * docs/doxygen/mainpage.doxy: Remove, rename...
3259 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
3260 * docs/doxygen/style.css: Add small text.
3261 * docs/doxygen/run_doxygen: Adjust for new mainpage.
3262 * docs/doxygen/user.cfg.in: Likewise.
3264 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
3266 * include/bits/stl_map.h: Initial doxygen markup.
3267 * include/std/std_fstream.h: Initial doxygen markup.
3269 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
3272 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3273 Deal correctly with !(__io.flags() & ios_base::showbase)
3274 for case money_base::symbol.
3275 * testsuite/22_locale/money_get_members_char.cc: Add test05.
3276 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
3278 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
3280 * testsuite/22_locale/operators.cc
3281 (gnu_collate::do_compare()): Add return statement to
3282 suppress "no return statement" warning.
3284 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
3286 * testsuite/27_io/ostream_manip.cc: Enable test02.
3288 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
3290 * docs/html/documentation.html: Update for 3.0.96.
3291 * docs/html/faq/index.html: Update for 3.0.96.
3292 * docs/html/faq/index.txt: Regenerated.
3293 * docs/doxygen/TODO: Update notes.
3294 * docs/html/17_intro/howto.html: Initial impl-specific listing.
3296 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
3298 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
3299 Initialize all data members in copy ctor. Make ctors explicit.
3300 (__enc_traits::__enc_traits()): Default ctor does nothing.
3301 (__enc_traits::_M_init): Guard against multiple iconv_opens.
3302 * include/std/std_sstream.h (basic_stringbuf): Make data members
3304 * include/std/std_fstream.h (basic_filebuf): Same.
3305 * include/std/std_streambuf.h: Tweak.
3306 * include/bits/streambuf.tcc: Same.
3307 * include/bits/sstream.tcc: Same.
3308 * include/bits/fstream.tcc: Same.
3310 2002-01-31 Loren Rittle <ljrittle@acm.org>
3312 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
3313 allow NULL argument to be passed to setenv().
3314 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
3315 * testsuite/22_locale/collate_members_char.cc: Likewise.
3316 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
3317 * testsuite/22_locale/ctype_members_char.cc: Likewise.
3318 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
3319 * testsuite/22_locale/messages_members_char.cc: Likewise.
3320 * testsuite/22_locale/money_get_members_char.cc: Likewise.
3321 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
3322 * testsuite/22_locale/money_put_members_char.cc: Likewise.
3323 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
3324 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
3325 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
3326 * testsuite/22_locale/num_get_members_char.cc: Likewise.
3327 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
3328 * testsuite/22_locale/num_put_members_char.cc: Likewise.
3329 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
3330 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
3331 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
3332 * testsuite/22_locale/time_get_members_char.cc: Likewise.
3333 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
3334 * testsuite/22_locale/time_put_members_char.cc: Likewise.
3335 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
3337 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
3339 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
3341 * ChangeLog-2001: Fix spelling errors...
3342 * docs/html/17_intro/RELEASE-NOTES: Update.
3343 * docs/html/17_intro/TODO: Update.
3344 * README (file): Update.
3346 2002-01-30 Loren Rittle <ljrittle@acm.org>
3348 * config/locale/c_locale_generic.cc: Check errno for ERANGE
3349 instead of non-zero to aid portability.
3351 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3353 * docs/html/22_locale/messages.html: Fix example code.
3355 2002-01-30 Richard Henderson <rth@redhat.com>
3357 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
3358 out from test03 and templatize.
3361 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
3363 * config/locale/numpunct_members_gnu.cc
3364 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
3365 Fix initialization of _M_grouping for locales which have
3366 _M_thousands_sep == '\0'(L'\0', respectively).
3367 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
3369 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
3371 * testsuite/27_io/ostream_inserter_arith.cc (test03):
3372 Better fix for 32/64 bit architectures, avoiding the
3373 implicit assumption that CHAR_BIT == 8.
3375 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
3377 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
3378 * Makefile.in: Regenerate.
3380 * docs/doxygen/run_doxygen: Update, mostly for man pages.
3381 * docs/doxygen/Intro.3: Update.
3382 * docs/doxygen/TODO: Update.
3383 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
3384 * docs/doxygen/mainpage.doxy: Update.
3385 * docs/doxygen/user.cfg.in: Update for header rename. Also
3386 regenerate comments and variables with 1.2.12.
3387 * docs/doxygen/maint.cfg.in: Remove file.
3389 * include/bits/stl_relops.h: Doxygenate.
3390 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
3392 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
3393 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
3394 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
3395 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
3396 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
3397 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
3398 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
3399 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
3400 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
3401 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
3402 include/ext/hash_set, include/ext/iterator, include/ext/memory,
3403 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
3404 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
3405 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
3406 include/std/std_algorithm.h, include/std/std_bitset.h,
3407 include/std/std_complex.h, include/std/std_deque.h,
3408 include/std/std_fstream.h, include/std/std_functional.h,
3409 include/std/std_iomanip.h, include/std/std_ios.h,
3410 include/std/std_iosfwd.h, include/std/std_iostream.h,
3411 include/std/std_istream.h, include/std/std_iterator.h,
3412 include/std/std_limits.h, include/std/std_list.h,
3413 include/std/std_locale.h, include/std/std_map.h,
3414 include/std/std_memory.h, include/std/std_numeric.h,
3415 include/std/std_ostream.h, include/std/std_queue.h,
3416 include/std/std_set.h, include/std/std_sstream.h,
3417 include/std/std_stack.h, include/std/std_stdexcept.h,
3418 include/std/std_streambuf.h, include/std/std_string.h,
3419 include/std/std_utility.h, include/std/std_valarray.h,
3420 include/std/std_vector.h: Add/correct @file doxygen hook.
3422 * include/ext/memory: Doxygenate most of rest of file.
3423 * libsupc++/exception: Doxygen output formatting.
3424 * libsupc++/new: Say which header it is.
3426 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
3427 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
3428 * docs/html/23_containers/howto.html: Describe O(n) list::size().
3429 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
3431 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
3432 Charles Leggett <CGLeggett@lbl.gov>
3434 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
3436 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
3438 * testsuite/27_io/ostream_inserter_arith.cc (test03):
3439 Fix to deal correctly with both 32 bit and 64 bit architectures
3441 2002-01-25 Loren Rittle <ljrittle@acm.org>
3443 * testsuite/thread/pthread1.cc: Use one condition variable
3444 per predicate instead of tricky use of one condition variable.
3446 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
3448 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
3450 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
3451 * testsuite/27_io/filebuf.cc: Compile only.
3452 * testsuite/27_io/filebuf_members.cc: Move tests to here.
3453 * testsuite/27_io/filebuf_virtuals.cc: And here.
3454 Revert sungetc, sync changes for expected values.
3455 * testsuite/27_io/filebuf-*: Move to...
3456 * testsuite/27_io/filebuf_virtuals-*: ...here.
3457 * testsuite/27_io/istream.cc: Compile only, activate.
3458 * testsuite/27_io/ostream.cc: Same.
3459 * testsuite/27_io/iostream.cc: New.
3460 * testsuite/27_io/iostream_members.cc: New.
3462 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
3464 * testsuite/thread/pthread1.cc: Enable on cygwin.
3465 * testsuite/thread/pthread2.cc: Likewise.
3466 * testsuite/thread/pthread3.cc: Likewise.
3467 * testsuite/thread/pthread4.cc: Likewise.
3468 * testsuite/thread/pthread5.cc: Likewise.
3469 * testsuite/thread/pthread6.cc: Likewise.
3471 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3473 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
3475 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3477 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
3479 (basic_ios::fill(char_type)): Use fill().
3480 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
3481 (basic_ios::narrow): Same.
3482 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
3483 if they are invalid.
3484 (basic_ios::init): Comment.
3485 * testsuite/27_io/ios_init.cc (test02): New.
3487 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
3489 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
3490 * include/bits/stl_algo.h: Include stl_tempbuf.h.
3491 * include/ext/memory: Do not include stl_tempbuf.h.
3492 (temporary_buffer): Add doxygen hook.
3493 (__get_temporary_buffer, get_temporary_buffer,
3494 return_temporary_buffer): Move back to std:: header...
3495 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
3496 * include/ext/rope: Do not include stl_tempbuf.h.
3497 * include/ext/stl_hashtable.h: Likewise.
3498 * include/std/std_algorithm.h: Likewise.
3499 * testsuite/20_util/temporary_buffer.cc: New file.
3501 2002-01-24 andrew@andypo.net
3502 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
3505 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
3506 * include/bits/localefwd.h: Likewise.
3507 Also use for std::locale::id::_S_highwater.
3508 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
3509 * src/locale.cc: Support new usage of _Atomic_word.
3510 (std::locale::classic): Guard entire function against reentry.
3511 * src/localename.cc: Support new usage of _Atomic_word.
3513 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3515 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
3516 _GLIBCPP_HAVE_SETENV.
3517 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
3518 * testsuite/22_locale/collate_members_char.cc (test02): Same.
3519 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
3520 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
3521 * testsuite/22_locale/messages_members_char.cc (test02): Same.
3522 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
3523 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
3524 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
3525 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
3526 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
3527 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
3528 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
3529 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
3530 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
3531 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
3532 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
3533 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
3534 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
3535 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
3536 * aclocal.m4: Regenerate.
3537 * configure: Regenerate.
3538 * config.h.in: Regenerate.
3540 2002-01-23 Loren Rittle <ljrittle@acm.org>
3542 * testsuite/thread/pthread1.cc: New test.
3543 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
3544 * testsuite/thread/pthread3.cc: Likewise.
3545 * testsuite/thread/pthread4.cc: New test adapted from
3546 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
3547 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
3548 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
3550 2002-01-23 Richard Henderson <rth@redhat.com>
3553 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
3554 CAS on the cpu variants that support it. Add versions that use
3555 TAS and that disable interrupts.
3556 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
3558 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
3560 * include/bits/locale_facets.tcc: Remove old comments.
3562 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
3564 * include/bits/locale_facets.tcc (__convert_to_v): Change template
3566 (__convert_from_v): Same.
3568 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
3570 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
3572 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
3573 __max_digits checks, adjust arguments.
3574 (num_get::do_get(*)): Changeup.
3576 2002-01-23 Loren Rittle <ljrittle@acm.org>
3578 * config/locale/c_locale_generic.cc: Fix typename usage.
3580 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3582 * config/locale/c_locale_generic.cc: Fix.
3584 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3586 * docs/html/22_locale/messages.html: Remove angle brackets.
3587 * docs/html/17_intro/TODO: Add.
3589 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
3591 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
3592 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
3593 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
3594 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
3596 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3598 Audit for LANG independence.
3599 * include/bits/localefwd.h: Tweaks.
3600 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
3602 (time_get::do_get_year): Same.
3603 (__convert_from_v): Add.
3604 (num_put::_M_convert_float): Use.
3605 (num_put::_M_convert_int): Same.
3606 (money_put::do_put): Same.
3608 * src/locale-inst.cc: Add instantiations for __convert_from_v.
3609 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
3610 * config/locale/time_members_generic.cc:
3611 * config/locale/messages_members_gnu.cc: Same.
3612 * config/locale/messages_members_gnu.h: Same.
3614 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
3615 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
3616 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
3617 * testsuite/22_locale/collate_members_char.cc (test02): New.
3618 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
3619 * testsuite/22_locale/ctype_members_char.cc (test03): New.
3620 * testsuite/22_locale/messages_members_char.cc (test02): New.
3621 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
3622 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
3623 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
3624 * testsuite/22_locale/money_get_members_char.cc (test04): New.
3625 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
3626 * testsuite/22_locale/money_put_members_char.cc (test04): New.
3627 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
3628 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
3629 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
3630 * testsuite/22_locale/time_put_members_char.cc (test03): New.
3631 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
3632 * testsuite/22_locale/time_get_members_char.cc (test07): New.
3633 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
3634 * testsuite/22_locale/num_get_members_char.cc (test03): New.
3635 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
3636 * testsuite/22_locale/num_put_members_char.cc (test03): New.
3638 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
3640 * testsuite/22_locale/time_get_members_char.cc: Same.
3642 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3645 * include/bits/localefwd.h: Tweak comments.
3646 * include/bits/locale_facets.h (__convert_to_v): Add.
3647 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
3648 (num_get::do_get(float)): Same.
3649 (num_get::do_get(long double)): Same.
3650 (num_get::do_get(bool)): Same.
3651 (num_get::do_get(long)): Same.
3652 (num_get::do_get(long long)): Same.
3653 (num_get::do_get(unsigned int)): Same.
3654 (num_get::do_get(unsigned short)): Same.
3655 (num_get::do_get(unsigned long)): Same.
3656 (num_get::do_get(unsigned long long)): Same.
3657 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
3658 * config/locale/c_locale_generic.cc: Same.
3660 2002-01-22 Loren Rittle <ljrittle@acm.org>
3662 * include/Makefile.am (c_base_builddir): Remove redundant slash.
3663 (std_builddir): Likewise.
3664 (std_headers_rename): Fix cut-n-paste typo.
3665 (install-data-local): Concat path per element instead of once to
3666 first element of list.
3667 * include/Makefile.in: Rebuilt.
3669 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3671 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
3672 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
3673 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
3675 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
3677 * include/bits/locale_facets.h (ctype<char>::classic_table):
3679 (ctype<char>::_S_ctable): Remove.
3680 * config/os/gnu-linux/bits/ctype_noninline.h
3681 (ctype<char>::_S_table): Remove definition.
3682 (ctype<char>::classic_table): Define.
3683 (ctype<char>::ctype): Replace _S_ctable with classic_table().
3684 * config/os/aix/bits/ctype_noninline.h: Same.
3685 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3686 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3687 * config/os/djgpp/bits/ctype_noninline.h: Same.
3688 * config/os/generic/bits/ctype_noninline.h: Same.
3689 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3690 * config/os/hpux/bits/ctype_noninline.h: Same.
3691 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3692 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3693 * config/os/mingw32/bits/ctype_noninline.h: Same.
3694 * config/os/newlib/bits/ctype_noninline.h: Same.
3695 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3696 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3697 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3699 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
3701 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
3702 of _pctype. Use to define _S_ctable. Add definition for alternate
3703 ctor. Initialise _M_ctable to _S_ctable in ctors.
3704 (do_toupper, do_tolower): Use inline code appropriate for C-locale
3705 rather than ::toupper, ::tolower.
3707 2002-01-18 Loren Rittle <ljrittle@acm.org>
3709 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
3710 Add specialization for FreeBSD systems only to avoid losing test
3711 only due to extra precision unmentioned in system headers.
3713 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
3715 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
3717 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
3719 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
3720 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
3722 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3724 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
3726 2002-01-17 David Edelsohn <edelsohn@gnu.org>
3728 * configure.target: Define OPT_LDFLAGS for AIX case.
3730 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3732 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
3733 __glibcpp_double_has_quiet_NaN): Correct mispelling.
3735 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
3737 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
3739 2002-01-16 David Edelsohn <dje@watson.ibm.com>
3741 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
3742 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
3743 * aclocal.m4: Regenerate.
3744 * configure: Regenerate.
3746 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3748 * include/Makefile.am (c_base_headers_rename): New.
3749 (c_base_headers_extra): New.
3750 (stamp-c_base): Modify.
3751 (install-data-local): Use both.
3752 * include/Makefile.in: Regenerate.
3753 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3754 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3755 cstdio ctime cwctype]: Move to..
3756 * include/c/std_*: Here.
3757 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3758 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3759 cstdio ctime cwctype]: Move to..
3760 * include/c_std/std_*: Here.
3762 Alexandre Oliva <aoliva@redhat.com>
3763 * include/Makefile.am (.PRECIOUS): Add rule.
3764 * include/Makefile.in: Regenerate.
3766 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3767 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3769 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
3770 Deuglify, should be current.
3771 (back_insert_iterator::_M_container): Deuglify, should be container.
3772 (front_insert_iterator::_M_container): Same.
3773 (insert_iterator::_M_container): Same.
3774 * testsuite/24_iterators/reverse_iterator.cc: Add check.
3775 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
3776 * testsuite/24_iterators/front_insert_iterator.cc: Same.
3777 * testsuite/24_iterators/insert_iterator.cc: Same.
3779 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3781 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
3783 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
3784 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
3785 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3786 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3787 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3788 * config/os/newlib/bits/ctype_noninline.h: Same.
3789 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3790 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3791 * config/os/hpux/bits/ctype_noninline.h: Same.
3792 * config/os/djgpp/bits/ctype_noninline.h: Same.
3793 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3794 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3795 * config/os/aix/bits/ctype_noninline.h: Same.
3797 Testcase by Dietmar Kühl via Peter Schmid
3798 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
3801 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3803 * libmath/signbitl.c: Copyright years as list, not range.
3804 * libmath/Makefile.am: Same.
3805 * libmath/Makefie.in: Regenerate.
3806 * libmath/signbit.c: Same.
3807 * libmath/nan.c: Same.
3808 * libmath/copysignf.c: Same.
3809 * libmath/signbitf.c: Same.
3810 * testsuite/22_locale/money_get_members_char.cc: Same.
3811 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3812 * testsuite/22_locale/money_put_members_char.cc: Same.
3813 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3814 * testsuite/22_locale/time_get_members_char.cc: Same.
3815 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
3816 * testsuite/22_locale/time_put_members_char.cc: Same.
3817 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
3818 * testsuite/21_strings/nonmember.cc: Same.
3819 * testsuite/21_strings/compare.cc: Same.
3820 * testsuite/27_io/stringstream.cc: Same.
3821 * testsuite/27_io/stringbuf.cc: Same.
3822 * testsuite/27_io/filebuf.cc: Same.
3823 * testsuite/27_io/ios_manip_basefield.cc: Same.
3824 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
3825 * include/bits/cpp_type_traits.h: Same.
3826 * include/bits/generic_shadow.h: Same.
3827 * include/bits/gslice_array.h: Same.
3828 * include/bits/gslice.h: Same.
3829 * include/bits/indirect_array.h: Same.
3830 * include/bits/slice_array.h: Same.
3831 * include/bits/sstream.tcc: Same.
3832 * include/bits/streambuf_iterator.h: Same.
3833 * include/bits/valarray_array.tcc: Same.
3834 * include/bits/valarray_meta.h: Same.
3835 * include/bits/valarray_array.h: Same.
3836 * config/os/mingw32/bits/ctype_noninline.h: Same.
3837 * config/os/mingw32/bits/ctype_base.h: Same.
3838 * config/os/hpux/bits/ctype_noninline.h: Same.
3839 * config/os/hpux/bits/ctype_base.h: Same.
3840 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3841 * config/os/gnu-linux/bits/ctype_base.h: Same.
3842 * config/os/generic/bits/ctype_noninline.h: Same.
3843 * config/os/generic/bits/ctype_base.h: Same.
3845 * libsupc++/tinfo.h: Tweaks.
3847 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3849 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
3850 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
3851 * testsuite/22_locale/ctype_members_char.cc: Tweak.
3853 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3855 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
3856 (num_put::do_put(void*)): Fix.
3857 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
3858 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
3859 * testsuite/22_locale/num_get_members_char.cc (test02): Add
3860 long double, void, bool types.
3861 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
3863 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3864 Alexandre Oliva <aoliva@redhat.com>
3866 * libmath/Makefile.am (LINK): Add --tag CC.
3867 * libmath/Makefile.in: Regenerate.
3869 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
3871 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
3872 of character to attribute mapping table.
3874 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
3876 * testsuite/26_numerics/c99_classification_macros_c.cc
3877 Remove dg-error and dg-excess-errors comments.
3879 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
3881 * include/bits/locale_facets.tcc (time_put::put): Correct output
3883 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
3884 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
3885 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
3886 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
3888 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
3890 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
3892 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
3893 Nathan Myers <ncm@cantrip.org>
3895 * include/bits/basic_string.h
3896 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
3897 temporaries (i.e., call _M_replace_safe) when possible.
3898 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
3899 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
3900 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
3901 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
3902 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
3903 * include/bits/basic_string.tcc
3904 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
3905 replace(__pos, __n1, __s, __n2).
3906 * testsuite/21_strings/replace.cc (test03): New testcases.
3908 * include/bits/basic_string.h (insert(__pos, __s, __n)):
3909 Adjust comparison wrt overflow.
3911 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
3913 * include/Makefile.am (std_headers_rename): New variable.
3914 (install-data-local): Use it.
3915 * include/Makefile.in: Regenerate.
3917 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
3919 * include/bits/locale_facets.tcc (money_put::do_put(string):
3920 Correct output iterator value.
3921 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
3922 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3924 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
3926 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
3929 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
3931 * include/Makefile.am (std_headers): Update list with new names.
3932 (stamp-std): Link to standardized name.
3933 * include/Makefile.in: Regenerate.
3935 * include/std/algorithm, include/std/bitset, include/std/complex,
3936 include/std/deque, include/std/fstream, include/std/functional,
3937 include/std/iomanip, include/std/ios, include/std/iosfwd,
3938 include/std/iostream, include/std/istream, include/std/iterator,
3939 include/std/limits, include/std/list, include/std/locale,
3940 include/std/map, include/std/memory, include/std/numeric,
3941 include/std/ostream, include/std/queue, include/std/set,
3942 include/std/sstream, include/std/stack, include/std/stdexcept,
3943 include/std/streambuf, include/std/string, include/std/utility,
3944 include/std/valarray, include/std/vector: Rename to...
3946 * include/std/std_algorithm.h, include/std/std_bitset.h,
3947 include/std/std_complex.h, include/std/std_deque.h,
3948 include/std/std_fstream.h, include/std/std_functional.h,
3949 include/std/std_iomanip.h, include/std/std_ios.h,
3950 include/std/std_iosfwd.h, include/std/std_iostream.h,
3951 include/std/std_istream.h, include/std/std_iterator.h,
3952 include/std/std_limits.h, include/std/std_list.h,
3953 include/std/std_locale.h, include/std/std_map.h,
3954 include/std/std_memory.h, include/std/std_numeric.h,
3955 include/std/std_ostream.h, include/std/std_queue.h,
3956 include/std/std_set.h, include/std/std_sstream.h,
3957 include/std/std_stack.h, include/std/std_stdexcept.h,
3958 include/std/std_streambuf.h, include/std/std_string.h,
3959 include/std/std_utility.h, include/std/std_valarray.h,
3960 include/std/std_vector.h: ...this.
3962 2002-01-11 Loren Rittle <ljrittle@acm.org>
3964 * include/Makefile.am (extra_target_headers): New list of all
3965 target files built with ad hoc naming rules.
3966 (stamp-*): Handle LN_S failure in manner portable across make
3968 (install-data-local): Install header files from human-maintained
3969 file lists and directory components instead of non-robust find.
3970 * include/Makefile.in: Rebuilt.
3972 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
3974 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3975 Check for zero-length negative sign before adding it to output
3977 (money_get::do_get(long double)): Return beg.
3978 * testsuite/22_locale/money_get_members_char.cc (test02): Add
3980 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3982 2002-01-10 David Seymour <seymour_dj@yahoo.com>
3985 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
3986 for _M_extract_float and _M_extract_int
3987 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
3988 (num_get<>::_M_extract_int): Likewise, all callers changed
3989 * testsuite/22_locale/num_get_members_char.cc: Testcase
3991 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
3993 * libsupc++/exception (bad_exception): Add comment.
3994 * libsupc++/new (bad_alloc): Same.
3995 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
3997 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
3999 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
4000 that the destructors should be removed from the descriptions
4001 in the standard: writing them explicitly allows the vtable
4002 heuristic to work. For additional information see:
4003 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
4004 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
4005 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
4006 * libsupc++/exception (bad_exception::~bad_exception()):
4007 Reintroduce declaration.
4008 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
4009 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
4010 (bad_typeid::~bad_typeid()): Same.
4011 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
4012 Reintroduce definition.
4013 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
4014 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
4015 (bad_typeid::~bad_typeid()): Same.
4017 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
4019 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
4020 * include/Makefile.in: Regenerate.
4022 2002-01-09 Bo Thorsen <bo@suse.co.uk>
4024 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
4027 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
4031 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
4032 return value of _M_file->sync().
4033 (filebuf::showmanyc): Check for is_open.
4034 * include/std/fstream (filebuf::sync): Tweak.
4035 * testsuite/27_io/filebuf.cc: Tweak.
4037 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
4038 Brad Garcia <garsh@attbi.com>
4040 * testsuite/27_io/filebuf_members.cc: Add test.
4042 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
4043 Craig Rodrigues <rodrigc@mediaone.net>
4046 * po/Makefile.am (mkinstalldirs): Add.
4047 * po/Makefile.in: Regenerate.
4049 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
4051 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
4052 testsuite/lib/prune.exp: Delete lines ":In function ..." from
4054 * testsuite/23_containers/map_operators.cc: Remove
4055 dg-excess-errors comment.
4056 * testsuite/23_containers/set_operators.cc: Likewise.
4058 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
4060 * include/bits/stl_function.h: Remove two lines of comments;
4061 adjust copyright years.
4063 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
4065 * include/Makefile.am (std_headers): Remove cXXX from list.
4066 (c_base_srcdir): No bits subdirectory.
4067 (c_base_builddir): Same.
4068 (c_base_headers): Adjust names, add ciso646.
4069 (bits_headers): Remove std_xxx.h headers.
4070 * include/Makefile.in: Regenerate.
4072 * include/ext/iterator: Adjust includes.
4073 * include/ext/ropeimpl.h: Same.
4074 * include/ext/stl_hash_fun.h: Same.
4075 * include/ext/algorithm: Same.
4077 * include/backward/bvector.h: Adjust includes.
4078 * include/backward/vector.h: Same.
4079 * include/backward/strstream: Same.
4080 * include/backward/streambuf.h: Same.
4081 * include/backward/stack.h: Same.
4082 * include/backward/set.h: Same.
4083 * include/backward/queue.h: Same.
4084 * include/backward/multiset.h: Same.
4085 * include/backward/multimap.h: Same.
4086 * include/backward/map.h: Same.
4087 * include/backward/list.h: Same.
4088 * include/backward/iterator.h: Same.
4089 * include/backward/iostream.h: Same.
4090 * include/backward/iomanip.h: Same.
4091 * include/backward/fstream.h: Same.
4092 * include/backward/deque.h: Same.
4093 * include/backward/complex.h: Same.
4095 * include/bits/std_algorithm.h: Move to...
4096 * include/std/algorithm: ...here.
4097 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
4098 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
4099 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
4100 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
4101 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
4102 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
4103 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
4106 * include/c_std/bits/std_cassert.h: Move to...
4107 * include/c_std/cassert: Here.
4108 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
4109 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
4110 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
4111 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
4112 std_cwctype.h: Same.
4113 * include/c_std/cmath: Adjust cmath.tcc include.
4114 * include/c_std/cstdlib: Adjust includes.
4115 * include/c_std/cwchar: Same.
4116 * include/c_std/ctime: Same.
4117 * include/c_std/cstring: Same.
4118 * include/c_std/cstdio: Same.
4119 * include/c_std/bits: Remove directory.
4121 * include/c/bits/std_cassert.h: Move to...
4122 * include/c/cassert: Here.
4123 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
4124 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
4125 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
4126 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
4127 std_cwctype.h: Same.
4128 * include/c/bits: Remove directory.
4130 * include/std/cwctype: Remove.
4131 * include/std/cwchar: Remove.
4132 * include/std/ctime: Remove.
4133 * include/std/cstring: Remove.
4134 * include/std/cstdlib: Remove.
4135 * include/std/cstdio: Remove.
4136 * include/std/cstddef: Remove.
4137 * include/std/cstdarg: Remove.
4138 * include/std/csignal: Remove.
4139 * include/std/csetjmp: Remove.
4140 * include/std/cmath: Remove.
4141 * include/std/clocale: Remove.
4142 * include/std/climits: Remove.
4143 * include/std/ciso646: Remove.
4144 * include/std/cfloat: Remove.
4145 * include/std/cerrno: Remove.
4146 * include/std/cctype: Remove.
4147 * include/std/cassert: Remove.
4149 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
4150 files and subsituting <xxx>.
4151 * include/bits/valarray_array.h: Same.
4152 * include/bits/stl_uninitialized.h: Same.
4153 * include/bits/stl_alloc.h: Same.
4154 * include/bits/stl_algobase.h: Same.
4155 * include/bits/sstream.tcc: Same.
4156 * include/bits/pthread_allocimpl.h: Same.
4157 * include/bits/ostream.tcc: Same.
4158 * include/bits/localefwd.h: Same.
4159 * include/bits/locale_facets.tcc: Same.
4160 * include/bits/locale_facets.h: Same.
4161 * include/bits/istream.tcc: Same.
4162 * include/bits/char_traits.h: Same.
4163 * include/bits/boost_concept_check.h: Same.
4164 * include/bits/basic_file.h: Same.
4165 * include/std/bitset: Same.
4166 * include/std/complex: Same.
4167 * include/std/fstream: Same.
4168 * include/std/functional: Same.
4169 * include/std/ios: Same.
4170 * include/std/iostream: Same.
4171 * include/std/ostream: Same.
4172 * include/std/sstream: Same.
4173 * include/std/streambuf: Same.
4174 * include/std/string: Same.
4175 * include/std/iterator: Same.
4176 * include/std/valarray: Same.
4178 * src/ios.cc: Adjust includes.
4179 * src/valarray-inst.cc: Same.
4180 * src/string-inst.cc: Same.
4181 * src/stl-inst.cc: Same.
4182 * src/stdexcept.cc: Same.
4183 * src/misc-inst.cc: Same.
4184 * src/localename.cc: Same.
4185 * src/locale-inst.cc: Same.
4186 * src/locale.cc: Same.
4187 * src/limits.cc: Same.
4188 * src/concept-inst.cc: Same.
4189 * src/complex_io.cc: Same.
4190 * src/codecvt.cc: Same.
4191 * src/bitset.cc: Same.
4192 * src/cmath.cc: Same.
4194 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
4196 * include/bits/stl_tree.h (rb_tree): Move to...
4197 * include/ext/rb_tree: ...here, new file.
4198 * include/Makefile.am (ext_headers): Add new file.
4199 * include/Makefile.in: Regenerate.
4200 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
4201 return_temporary_buffer, struct temporary_buffer): Move to...
4202 * include/ext/memory: ...here.
4203 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
4204 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
4205 * include/backward/tree.h: Include <ext/rb_tree), tweak.
4207 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
4209 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
4210 * include/ext/numeric: ...here, new file.
4211 * include/bits/stl_function.h (identity_element, unary_compose,
4212 binary_compose, compose1, compose2, identity, select1st,
4213 select2nd, project1st + helper, project2nd + helper,
4214 constant_void_fun + helper, constant_unary_fun + helper,
4215 costant_binary_fun + helper, constant0, constant1, constant2,
4216 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
4217 * include/ext/functional: ...here, new file.
4218 * include/Makefile.am (ext_headers): Add new files.
4219 * include/Makefile.in: Regenerate.
4220 * testsuite/ext/headers.cc: Include <ext/numeric> and
4222 * include/backward/algo.h: Include <ext/numeric>, tweak.
4223 * include/backward/function.h: Include <ext/functional>, tweak.
4224 * include/ext/ropeimpl.h: Include <ext/numeric>.
4226 2002-01-03 Jeffrey A Law <law@redhat.com>
4228 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
4229 __strtoull declarations with __extension__.
4231 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
4233 * testsuite/lib/prune.exp: Correct regular expression for
4236 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
4238 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
4239 Change concept checks, as with lower_bound and PR 2054.
4240 * testsuite/ext/concept_checks.cc: Expand test to include those.
4242 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
4244 * include/bits/boost_concept_check.h: Import some changes from
4245 upsteam (Boost) version.
4247 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
4249 * include/bits/stl_algobase.h (copy_n + helpers,
4250 lexicographical_compare_3way + helpers): Move to...
4251 * include/ext/algorithm: ...here.
4252 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
4253 helpers): Move to...
4254 * include/ext/memory: ...here, new file.
4255 * include/Makefile.am (ext_headers): Add new file.
4256 * include/Makefile.in: Regenerate.
4257 * testsuite/ext/headers.cc: Include <ext/memory>.
4258 * include/backward/algobase.h: Include <ext/memory> and
4259 <ext/algorithm>, tweak.
4260 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
4261 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
4263 2002-01-01 Roger Sayle <roger@eyesopen.com>
4265 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
4266 equivalent ___builtin__ versions.
4268 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
4269 are available in libstdc++ as the necessary stub implementations
4270 are provided by libmath/stubs.c.
4272 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
4274 * configure.in: Add support for NetBSD cross compiles.
4275 * configure: Regenerate.